Viewing File: /usr/local/cpanel/whostmgr/docroot/templates/wh-sql-config/vendor.bb0eeaac8784ed43.min.js

(self.webpackChunkwh_sql_config=self.webpackChunkwh_sql_config||[]).push([[502],{7343:(U,I,c)=>{"use strict";c.d(I,{o:()=>o});var o=function(m){return m[m.GET=0]="GET",m[m.HEAD=1]="HEAD",m[m.POST=2]="POST",m[m.PUT=3]="PUT",m[m.DELETE=4]="DELETE",m[m.CONNECT=5]="CONNECT",m[m.OPTIONS=6]="OPTIONS",m[m.TRACE=7]="TRACE",m[m.PATCH=8]="PATCH",m}(o||{})},6802:(U,I,c)=>{"use strict";c.d(I,{e:()=>m}),c(2584);class m{constructor(b,S){if(!b)throw new Error("You must provide a name when creating a name/value argument");this.name=b,this.value=S}}},6884:(U,I,c)=>{"use strict";c.d(I,{uM:()=>Fe,CY:()=>He});var o=c(9261),m=c.n(o),T=c(5972),P=c.n(T),b=c(3705),S=c.n(b),x=c(9336),L=c.n(x),j=c(8124),R=c.n(j),G=c(9812),oe=c.n(G),ve=c(9970),he=c.n(ve);function we(ct){if(m()(ct)||P()(ct)||S()(ct)||L()(ct)||R()(ct))return!0;if(!he()(ct)&&!oe()(ct))return!1;for(const Qe in ct)if(!we(ct[Qe]))return!1;return!0}class He{constructor(){this.contentType="application/x-www-form-urlencoded",this.separatorStart="",this.separatorEnd="",this.recordSeparator="&"}encode(Qe,Le,Oe){if(!Qe)throw new Error("Name must have a non-empty value");return`${Qe}=${encodeURIComponent(Le.toString())}`+(Oe?"":this.recordSeparator)}}class Fe{constructor(){this.contentType="application/json",this.separatorStart="{",this.separatorEnd="}",this.recordSeparator=","}encode(Qe,Le,Oe){if(!Qe)throw new Error("Name must have a non-empty value");if(!we(Le))throw new Error("The passed in value can not be serialized to JSON");return JSON.stringify(Qe)+":"+JSON.stringify(Le)+(Oe?"":this.recordSeparator)}}},2584:(U,I,c)=>{"use strict";function o(P){return P?"1":"0"}c.d(I,{x:()=>o})},949:(U,I,c)=>{"use strict";c.d(I,{m:()=>ie,R:()=>me});var o=c(193),m=c.n(o),T=c(2584),P=function(Z){return Z[Z.Ascending=0]="Ascending",Z[Z.Descending=1]="Descending",Z}(P||{}),b=function(Z){return Z[Z.Lexicographic=0]="Lexicographic",Z[Z.Ipv4=1]="Ipv4",Z[Z.Numeric=2]="Numeric",Z[Z.NumericZeroAsMax=3]="NumericZeroAsMax",Z}(b||{});class S{constructor(H,ue=P.Ascending,xe=b.Lexicographic){if(!H)throw new Error("You must provide a non-empty column name for a Sort rule.");this.column=H,this.direction=ue,this.type=xe}}var x=function(Z){return Z[Z.Contains=0]="Contains",Z[Z.Begins=1]="Begins",Z[Z.Ends=2]="Ends",Z[Z.Matches=3]="Matches",Z[Z.Equal=4]="Equal",Z[Z.NotEqual=5]="NotEqual",Z[Z.LessThan=6]="LessThan",Z[Z.LessThanUnlimited=7]="LessThanUnlimited",Z[Z.GreaterThan=8]="GreaterThan",Z[Z.GreaterThanUnlimited=9]="GreaterThanUnlimited",Z[Z.Defined=10]="Defined",Z[Z.Undefined=11]="Undefined",Z}(x||{});class L{constructor(H,ue,xe){if(!H)throw new Error("You must define a non-empty column name.");this.column=H,this.operator=ue,this.value=xe}}var j=c(6802);const G=Number.POSITIVE_INFINITY;class oe{constructor(H=1,ue=20){if(H<=0)throw new Error("The page must be 1 or greater. This is the logical page, not a programming index.");if(ue<=0)throw new Error("The pageSize must be set to 'ALL' or a number > 0");this.page=H,this.pageSize=ue}all(){return this.pageSize===G}}class ve{constructor(H=[]){this.headers=H}push(H){this.headers.push(H)}forEach(H,ue){this.headers.forEach(H,ue)}toArray(){const H=[];return this.headers.forEach((ue=>H.push({name:ue.name,value:ue.value}))),H}toObject(){return this.headers.reduce(((H,ue)=>(H[ue.name]=ue.value,H)),{})}}class he{constructor(H){this._header=H}get name(){return this._header.name}get value(){return this._header.value}}class we extends Error{constructor(H){super(H),this.name="CpanelApiTokenInvalidError",Object.setPrototypeOf(this,we.prototype)}}class be extends Error{constructor(H){super(H),this.name="CpanelApiTokenMismatchError",Object.setPrototypeOf(this,be.prototype)}}class He extends he{constructor(H,ue){if(!H)throw new we("You must pass a valid token to the constructor.");if(!ue&&!/^.+[:]/.test(H))throw new we("You must pass a cPanel username associated with the cPanel API token.");if(!ue&&!/[:].+$/.test(H))throw new we("You must pass a valid cPanel API token.");super({name:"Authorization",value:`cpanel ${ue?ue+":":""}${H}`})}}Error,Error;class Le{get usePager(){return this._usePager}constructor(H){this.namespace="",this.method="",this.arguments=[],this.sorts=[],this.filters=[],this.columns=[],this.pager=new oe,this.headers=new ve,this._usePager=!1,this.defaultConfig={analytics:!1,json:!1},this.config=this.defaultConfig,H&&(this.method=H.method,H.namespace&&(this.namespace=H.namespace),H.arguments&&H.arguments.forEach((ue=>{this.addArgument(ue)})),H.sorts&&H.sorts.forEach((ue=>{this.addSort(ue)})),H.filters&&H.filters.forEach((ue=>{this.addFilter(ue)})),H.columns&&H.columns.forEach((ue=>this.addColumn(ue))),H.pager&&this.paginate(H.pager),this.config=H.config?H.config:this.defaultConfig,H.headers&&H.headers.forEach((ue=>{this.addHeader(ue)})))}addArgument(H){return this.arguments.push(H instanceof j.e?H:new j.e(H.name,H.value)),this}addSort(H){return this.sorts.push(H instanceof S?H:new S(H.column,H.direction,H.type)),this}addFilter(H){return this.filters.push(H instanceof L?H:new L(H.column,H.operator,H.value)),this}addColumn(H){return this.columns.push(H),this}addHeader(H){return this.headers.push(H instanceof he?H:new he(H)),this}paginate(H){return this.pager=H instanceof oe?H:new oe(H.page,H.pageSize||20),this._usePager=!0,this}}var Oe=c(7343);const It=new class nt{constructor(){this.map={},this.map.DEFAULT={verb:"DEFAULT",dataInBody:!0},[Oe.o.GET,Oe.o.DELETE,Oe.o.HEAD].forEach((H=>{const ue=Oe.o[H].toString();this.map[ue]={verb:ue,dataInBody:!1}})),[Oe.o.POST,Oe.o.PUT,Oe.o.PATCH].forEach((H=>{const ue=Oe.o[H].toString();this.map[ue]={verb:ue,dataInBody:!0}}))}getRule(H){const ue="string"==typeof H?H:Oe.o[H].toString();let xe=this.map[ue];return xe||(xe=this.map.DEFAULT),xe}};var Je=c(6884),qe=c(2354),wt=c.n(qe),me=function(Z){return Z.JsonApi="json-api",Z.XmlApi="xml-api",Z}(me||{});class ie extends Le{addHeader(H){if(H instanceof He)throw new be("A CpanelApiTokenHeader cannot be used on a WhmApiRequest");return super.addHeader(H),this}_build(H,ue){let xe="";return H.forEach(((lt,We,Ve)=>{xe+=ue.encode(lt.name,lt.value,We===Ve.length-1)})),ue.separatorStart+xe+ue.separatorEnd}_make_whm_api_fieldspec_from_number(H){return wt()("",Math.floor(H/26),"z")+"abcdefghijklmnopqrstuvwxyz".charAt(H%26)}_generateArguments(H){H.push({name:"api.version",value:1}),this.arguments.forEach((xe=>H.push(xe)))}_generateSorts(H){this.sorts.forEach(((ue,xe)=>{0===xe&&H.push({name:"api.sort.enable",value:T.x(!0)});const lt=`api.sort.${this._make_whm_api_fieldspec_from_number(xe)}`;H.push({name:`${lt}.field`,value:ue.column}),H.push({name:`${lt}.reverse`,value:T.x(ue.direction!==P.Ascending)}),H.push({name:`${lt}.method`,value:m()(b[ue.type])})}))}_lookupFilterOperator(H){switch(H){case x.GreaterThanUnlimited:return"gt_handle_unlimited";case x.GreaterThan:return"gt";case x.LessThanUnlimited:return"lt_handle_unlimited";case x.LessThan:return"lt";case x.Equal:return"eq";case x.Begins:return"begins";case x.Contains:return"contains";default:throw new Error(`Unrecoginzed FilterOperator ${x[H]} for WHM API 1`)}}_generateFilters(H){this.filters.forEach(((ue,xe)=>{0===xe&&(H.push({name:"api.filter.enable",value:T.x(!0)}),H.push({name:"api.filter.verbose",value:T.x(!0)}));const lt=`api.filter.${this._make_whm_api_fieldspec_from_number(xe)}`;H.push({name:`${lt}.field`,value:ue.column}),H.push({name:`${lt}.type`,value:this._lookupFilterOperator(ue.operator)}),H.push({name:`${lt}.arg0`,value:ue.value})}))}_translatePageToStart(H){return(H.page-1)*H.pageSize+1}_generatePagination(H){if(!this.usePager)return;const ue=this.pager.all();H.push({name:"api.chunk.enable",value:T.x(!0)}),H.push({name:"api.chunk.verbose",value:T.x(!0)}),H.push({name:"api.chunk.start",value:ue?-1:this._translatePageToStart(this.pager)}),ue||H.push({name:"api.chunk.size",value:this.pager.pageSize})}constructor(H,ue){if(super(ue),this.apiType=me.JsonApi,H!=me.JsonApi&&H!=me.XmlApi)throw new Error("You must define the API type for the whmapi call before you generate a request.");if(this.apiType=H,!this.method)throw new Error("You must define a method for the WHM API call before you generate a request")}generate(H){H||(H={verb:Oe.o.POST,encoder:this.config.json?new Je.uM:new Je.CY}),H.encoder||(H.encoder=this.config.json?new Je.uM:new Je.CY);const ue=It.getRule(H.verb),xe={headers:new ve([{name:"Content-Type",value:H.encoder.contentType}]),url:["",this.apiType,this.method].map(encodeURIComponent).join("/"),body:""},lt=[];this._generateArguments(lt),this._generateSorts(lt),this._generateFilters(lt),this._generatePagination(lt);const We=this._build(lt,H.encoder);return ue.dataInBody?xe.body=We:xe.url+=H.verb===Oe.o.GET?`?${We}`:We,this.headers.forEach((Ve=>{xe.headers.push({name:Ve.name,value:Ve.value})})),xe}}},6381:(U,I,c)=>{"use strict";I.h=void 0;const m=c(2623);Object.defineProperty(I,"h",{enumerable:!0,get:function(){return m.Locale}})},7268:(U,I)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.CLDR=void 0,I.CLDR=class c{constructor(m){this.rawData=m,this.validateCLDR(this.rawData)}validateCLDR(m){if(!m)throw new Error("CLDR data cannot be null");if(!m.locale)throw new Error("CLDR data is missing locale information");if(!Object.prototype.hasOwnProperty.call(m,"functions")||Object.prototype.hasOwnProperty.call(m,"get_plural_form")||"function"!=typeof m.functions.get_plural_form)throw new Error("CLDR data is missing function get_plural_form");if(!Object.prototype.hasOwnProperty.call(m,"datetime_info"))throw new Error("CLDR data is missing datetime_info");if(!Object.prototype.hasOwnProperty.call(m,"misc_info"))throw new Error("CLDR data is missing misc_info");if(!Object.prototype.hasOwnProperty.call(m.misc_info,"cldr_formats"))throw new Error("CLDR data is missing cldr_formats");if(!Object.prototype.hasOwnProperty.call(m.misc_info,"orientation")||!Object.prototype.hasOwnProperty.call(m.misc_info.orientation,"characters"))throw new Error("CLDR data is missing orientation information");if(!Object.prototype.hasOwnProperty.call(m.misc_info,"delimiters"))throw new Error("CLDR data is missing delimiter information");return!0}getLocale(){return this.rawData.locale}getPluralForm(m,...T){return(0,this.rawData.functions.get_plural_form)(m,...T)}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:(U,I,c)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.Locale=void 0;const o=c(7367),m=c(5736),T=c(8994),P=c(3365),b=c(7268);I.Locale=class S{constructor(L,j={}){this.lexicon=j,this._cldr=new b.CLDR(L)}maketext(L,...j){return(0,o.maketext)({cldr:this._cldr,lexicon:this.lexicon,template:L,args:j})}localDatetime(L,j){return this._datetimeWrapper(m.local_datetime,L,j)}datetime(L,j){return this._datetimeWrapper(m.datetime,L,j)}_datetimeWrapper(L,j,R){return L({cldr:this._cldr,args:[j,R]})}getCurrentLocale(){return this._cldr.getLocale()}get isRtl(){return this._cldr.isRtl()}get isLtr(){return this._cldr.isLtr()}get cldr(){return this._cldr}numf(L,j){return this._formatNumber(T.numf,L,j)}format_bytes(L,j){return this._formatNumber(T.format_bytes,L,j)}_formatNumber(L,...j){return this._callCLDRFunc(L,j)}list_and(...L){return this._callCLDRFunc(P.list_and,L)}list_and_quoted(...L){return this._callCLDRFunc(P.list_and_quoted,L)}list_or(...L){return this._callCLDRFunc(P.list_or,L)}list_or_quoted(...L){return this._callCLDRFunc(P.list_or_quoted,L)}_callCLDRFunc(L,j){return L({cldr:this._cldr,args:j})}}},6049:(U,I,c)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.asis=void 0;const o=c(2500);I.asis=function m({args:[T,...P]}){if(!T||P.length>0||"string"!=typeof T)throw new Error("asis function accepts one non translatable string.");return(T=T.replace(/chr\((\d+)\)/g,(function(b,S){return o.functions.chr(Number(S))}))).replace(/amp\(\)/g,(function(){return o.functions.amp()}))}},6073:(U,I)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.boolean=void 0,I.boolean=function c({args:[o,m,T,P]}){if(null==m||0===m.length||null==T||0===T.length)throw new Error("boolean function needs a valid whenTrue, whenFalse arguments.");return String(typeof o<"u"&&o?m:P&&null==o?P:T)}},5496:(U,I)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.comment=void 0,I.comment=function c({args:[o]}){return""}},5736:(U,I,c)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.local_datetime=I.datetime=I.dateToLocalDayNum=void 0;const o=c(7268),m=function(R){const G=R.getUTCDay()-1;return G<0?6:G},T=[7,1,2,3,4,5,6];function P(R,G){return(T[R.getUTCDay()]+7-G)%7+1}I.dateToLocalDayNum=P;const b=function(R,G,oe){let ve="",he=0;return G=G||0,oe=String(void 0===oe?" ":oe),he=G-String(R).length,he>0&&(ve=[...Array(he)].map(String.prototype.valueOf,oe).join("")),ve+R};function S({cldr:R,args:[G=new Date,oe],tzString:ve="UTC"}){if("number"==typeof G&&/^-?\d+$/.test(G.toString())&&(G=new Date(1e3*G)),!(G instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(R instanceof o.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const he=R.getDateTimeInfo();return"string"==typeof oe&&/^(?:date|time|datetime|special)_format_/.test(oe)&&(oe=he[oe]),oe||(oe=he.date_format_long),oe.replace(/('[^']+')|(([a-zA-Z])\3*)/g,(function(we,be,He){return be?function x(R){return R.substr(1,R.length-2)}(be):function L(R,G,oe,ve){switch(oe){case"yy":return Math.abs(R.getUTCFullYear()).toString().slice(-2);case"y":case"yyy":case"yyyy":return String(Math.abs(R.getUTCFullYear()));case"MMMMM":return G.month_format_narrow[R.getUTCMonth()];case"LLLLL":return G.month_stand_alone_narrow[R.getUTCMonth()];case"MMMM":return G.month_format_wide[R.getUTCMonth()];case"LLLL":return G.month_stand_alone_wide[R.getUTCMonth()];case"MMM":return G.month_format_abbreviated[R.getUTCMonth()];case"LLL":return G.month_stand_alone_abbreviated[R.getUTCMonth()];case"MM":case"LL":return b((R.getUTCMonth()+1).toString(),2,"0");case"M":case"L":return String(R.getUTCMonth()+1);case"EEEE":return G.day_format_wide[m(R)];case"EEE":case"EE":case"E":return G.day_format_abbreviated[m(R)];case"EEEEE":return G.day_format_narrow[m(R)];case"cccc":return G.day_stand_alone_wide[m(R)];case"ccc":return G.day_stand_alone_abbreviated[m(R)];case"cc":case"c":return String(P(R,Number(G.first_day_of_week)));case"ccccc":return G.day_stand_alone_narrow[m(R)];case"dd":return b(R.getUTCDate().toString(),2,"0");case"d":return String(R.getUTCDate());case"h":case"hh":{let he=R.getUTCHours();he>12&&(he-=12),0===he&&(he=12);const we="hh"===oe?b(he.toString(),2,"0"):he;return String(we)}case"H":return String(R.getUTCHours());case"HH":return b(R.getUTCHours().toString(),2,"0");case"m":return String(R.getUTCMinutes());case"mm":return b(R.getUTCMinutes().toString(),2,"0");case"s":return String(R.getUTCSeconds());case"ss":return b(R.getUTCSeconds().toString(),2,"0");case"a":return R.getUTCHours()<12?G.am_pm_abbreviated[0]:G.am_pm_abbreviated[1];case"z":case"zzzz":case"v":case"vvvv":return ve;case"G":case"GG":case"GGG":return G.era_abbreviated[R.getUTCFullYear()<0?0:1];case"GGGGG":return G.era_narrow[R.getUTCFullYear()<0?0:1];case"GGGG":return G.era_wide[R.getUTCFullYear()<0?0:1]}return oe}(G,he,He,ve)}))}I.datetime=S,I.local_datetime=function j({cldr:R,args:[G=new Date,oe]}){if("number"==typeof G&&/^-?\d+$/.test(G.toString())&&(G=new Date(1e3*G)),!(G instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(R instanceof o.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const ve=G.getTimezoneOffset();(G=new Date(G)).setMinutes(G.getMinutes()-ve);const he=ve>0?"-":"+",we=Math.floor(Math.abs(ve)/60),be=Math.abs(ve%60);return S({cldr:R,args:[G,oe],tzString:"GMT"+he+b(we.toString(),2,"0")+b(be.toString(),2,"0")})}},6397:(U,I,c)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.functions=void 0;const o=c(6049),m=c(2500),T=c(5496),P=c(6073),b=c(8994),S=c(5736),x=c(3365);I.functions={asis:o.asis,output:m.output,comment:T.comment,boolean:P.boolean,numf:b.numf,numerate:b.numerate,quant:b.quant,format_bytes:b.format_bytes,datetime:S.datetime,local_datetime:S.local_datetime,list_and:x.list_and,list_or:x.list_or,list_or_quoted:x.list_or_quoted,list_and_quoted:x.list_and_quoted}},3365:(U,I)=>{"use strict";function o(x,L,...j){let R=j.slice();switch(1===R.length&&Array.isArray(R[0])&&(R=R[0].slice()),(typeof R>"u"||0===R.length)&&(R=[""]),R=R.map((G=>function c(x,L){const j=x.getDelimiters();return j&&Object.prototype.hasOwnProperty.call(j,"quotation_start")&&Object.prototype.hasOwnProperty.call(j,"quotation_end")?j.quotation_start+L+j.quotation_end:L}(x,G))),L){case"list_and":return b({cldr:x,args:R});case"list_or":return S({cldr:x,args:R});default:throw new Error("Did you mean list_and_quoted or list_or_quoted?")}}function P(x,L,...j){let R=j.slice();1===R.length&&Array.isArray(R[0])&&(R=R[0].slice());const G=R.length;let oe,ve,he,we;try{oe=x.getFormats()[L]}catch{throw new Error("CLDR Data is missing information related to formatting list.")}const be=function(He,Fe){switch(Fe){case"0":return he;case"1":return R[we++]}};switch(G){case 0:return"";case 1:return String(R[0]);default:if(he=2===G?oe[2]:oe.start,he=he.replace(/\{([01])\}/g,(function(He,Fe){return R[Fe]})),2===G)return he;for(we=2;we<G;)ve=oe[we===G-1?"end":"middle"],he=ve.replace(/\{([01])\}/g,be);return he}}function b({cldr:x,args:[...L]}){return P(x,"list",...L)}function S({cldr:x,args:[...L]}){return P(x,"list_or",...L)}Object.defineProperty(I,"__esModule",{value:!0}),I.list_or=I.list_and=I.list_or_quoted=I.list_and_quoted=void 0,I.list_and_quoted=function m({cldr:x,args:[...L]}){return o(x,"list_and",...L)},I.list_or_quoted=function T({cldr:x,args:[...L]}){return o(x,"list_or",...L)},I.list_and=b,I.list_or=S},2500:(U,I,c)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.functions=I.output=void 0;const o=c(9546),m=c(2353);I.output=function T({args:[P,...b]}){if(b&&"string"==typeof b[0]&&(b[0]=b[0].replace(/chr\((\d+)\)/g,(function(S,x){return I.functions.chr(Number(x))})),b[0]=b[0].replace(/amp\(\)/g,(function(){return I.functions.amp()}))),"function"==typeof I.functions[P])return I.functions[P](...b);throw new Error(`Locale output function '${P}' is not implemented.`)},I.functions={amp:()=>(0,o.htmlEscape)("&"),apos:()=>(0,o.htmlEscape)("'"),quot:()=>(0,o.htmlEscape)('"'),underline:P=>`<u>${P}</u>`,strong:P=>`<strong>${P}</strong>`,em:P=>`<em>${P}</em>`,abbr:(P,b)=>`<abbr title="${b}">${P}</abbr>`,acronym:(P,b)=>`<abbr title="${b}" class="initialism">${P}</abbr>`,class:(P,...b)=>`<span class="${b.join(" ")}">${P}</span>`,chr(P){if("string"==typeof P&&(P=Number(P)),"number"!=typeof P||isNaN(P))throw new Error("chr needs a number as argument");return(0,o.htmlEscape)(String.fromCharCode(P))},url(P,...b){let S,x;if("object"==typeof b[b.length-1])if(S=b[b.length-1],2===b.length){if(S.html)throw new Error("Cannot provide both text and configuration with html attribute");x=b[0]}else S&&S.html?(x=S.html,delete S.html):x=P;else b.length%2==0?(S=(0,m.listToObject)(...b),S&&"html"in S&&""!==S.html?(x=S.html,delete S.html):x=P):(x=b.shift(),S=(0,m.listToObject)(...b));"_type"in S&&"offsite"===S._type&&(S.class="offsite",S.target="_blank",delete S._type);let L=`<a href="${P}"`;if("object"==typeof S)for(const j in S)Object.prototype.hasOwnProperty.call(S,j)&&(L+=` ${j}="${S[j]}"`);return L+=`>${x}</a>`,L}}},8994:(U,I,c)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.format_bytes=I.numf=I.quant=I.numerate=void 0;const o=c(7268);function T({cldr:x,args:[L,...j]}){if(!(x instanceof o.CLDR))throw new Error("`quant` function requires a valid CLDR instance for the `cldr` parameter.");let R,G=3;L instanceof Array?(G=L[1],R=L[0]):R=L;const oe=x.getPluralForm(R,...j),ve=oe[0]?oe[0]:j[j.length-1];if(oe&&oe.length>=2&&oe[1])return ve;const we=b({cldr:x,args:[R,G]});return-1!==ve.indexOf("%s")?ve.replace(/%s/g,we):x.isRtl()?ve+" "+we:we+" "+ve}function b({cldr:x,args:[L,j=6]}){if(!(x instanceof o.CLDR))throw new Error("`numf` function requires a valid CLDR instance for the `cldr` parameter.");if(/e/.test(L.toString()))return String(L);const{decimalFormat:R,decimalGroup:G,decimalDecimal:oe}=function P(x){const L={},j=x.getFormats();return Object.prototype.hasOwnProperty.call(j,"decimal")&&(L.decimalFormat=j.decimal),Object.prototype.hasOwnProperty.call(j,"_decimal_format_group")&&(L.decimalGroup=j._decimal_format_group),Object.prototype.hasOwnProperty.call(j,"_decimal_format_decimal")&&(L.decimalDecimal=j._decimal_format_decimal),L}(x);if(!R||!G||!oe)throw new Error("CLDR Data is missing information related to formatting decimals.");const ve=L<0;L=Math.abs(L);let we,be,he=Math.floor(L);/(?!')\.(?!')/.test(L.toString())&&(we=String(L).replace(/^[^.]+/,"0"),we=Number(we).toFixed(j),/^1/.test(we)?(he++,L=he,we=void 0):we=we.replace(/^.*\./,"").replace(/0+$/,"")),be=/(?!');(?!')/.test(R)?R.split(/(?!');(?!')/)[ve?1:0]:(ve?"-":"")+R;const ct=be.match(/[0#].*[0#]/)[0].split(/(?!')\.(?!')/)[0].split("").reverse().join("").split(/(?!'),(?!')/);let Qe;1===ct.length?Qe="":(ct.pop(),Qe=G);const Le=String(he).split("").reverse(),Oe=[];let nt;const It=function(qe){switch(qe){case"#":return Le.shift()||"";case"0":return Le.shift()||"0"}};for(;Le.length;){ct.length&&(nt=ct.shift());const qe=nt.replace(/(?!')[0#]|[0#](?!')/g,It).replace(/'([.,0#;\xa4%E])'$/,"").replace(/'([.,0#;\xa4%E])'/,"$1");Oe.push(qe)}const Je=Oe.join(Qe).split("").reverse().join("")+(we?oe+we:"");return be.replace(/[0#].*[0#]/,Je)}I.numerate=function m({cldr:x,args:[L,...j]}){if(!(x instanceof o.CLDR))throw new Error("`numerate` function requires a valid CLDR instance for the `cldr` parameter.");const R=x.getPluralForm(L,...j);return R?R[0]:j[j.length-1]},I.quant=T,I.numf=b,I.format_bytes=function S({cldr:x,args:[L,j=2]}){if(!(x instanceof o.CLDR))throw new Error("`format_bytes` function requires a valid CLDR instance for the `cldr` parameter.");const R=["KB","MB","GB","TB","PB","EB","ZB","YB"],oe=L&&Math.min(Math.floor(Math.log(L)/Math.log(1024)),R.length);return oe?b({cldr:x,args:[L/Math.pow(1024,oe),j]})+" "+R[oe-1]:T({cldr:x,args:[L,"%s byte","%s bytes"]})}},7367:(U,I,c)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.maketext=I.functions=I.config=void 0;const o=c(6397);function b(S,x){const L=[];let j=!1,R=!1;return S.forEach((G=>{if("_"===G.charAt(0))if("_*"===G){if(R)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";L.push(...x),j=!0}else{const oe=G.match(I.config.underscoreDigitRe);if(oe){if(j)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";const[ve,he]=oe,we=Number(he)-1;if(!(we in x))throw`The "${ve}" substitution argument was not passed to the maketext function.`;L.push(x[we]),R=!0}}else L.push(G)})),L}I.config={bracketRe:/([^~\[\]]+|~.|\[|\]|~)/g,underscoreDigitRe:/^_(\d+)$/,fauxComma:"",fauxCommaRe:new RegExp("","g"),tildeChars:new Set(["[","]","~"])},I.functions={...o.functions},I.maketext=function T({cldr:S,lexicon:x,template:L,args:j}){if("string"!=typeof L)throw"You must pass a string template to the maketext function.";if(-1===(L=x&&x[L]||L).indexOf("["))return L;const R=L.match(I.config.bracketRe)||[],G=[];let oe=!1,ve="";if(R.forEach((he=>{if("["===he){if(oe)throw Error(`Invalid maketext string: ${L} \nThe string contains nested brackets.`);oe=!0}else if("]"===he){if(!oe)throw Error(`Invalid maketext string: ${L} \nThe string contains an unmatched closing bracket character (]).`);if(!ve)throw Error(`Invalid maketext string: ${L} \nThe string contains empty brackets. Use the escape character (~) if the bracket characters were meant to be printed literally.`);let we;oe=!1;try{we=function P(S,x,L){let j=x.split(",");if(j=j.map((oe=>oe.replace(I.config.fauxCommaRe,","))),1===j.length){if(!I.config.underscoreDigitRe.test(j[0]))throw"A bracket must contain more than one argument, unless it is a pure substition.\n Example: Number of accounts: [_1]";const[oe]=b(j,L);return String(oe)}const R=j.shift();if(!R||"function"!=typeof I.functions[R])throw`Invalid function "${R}" in maketext string.`;const G=b(j,L);return I.functions[R]({cldr:S,args:G})}(S,ve,j)}catch(be){throw Error(`Invalid maketext string: ${L} \n${be}`)}ve="",G.push(we)}else if("~"===he.charAt(0)){const we=he.charAt(1)||"~";oe?ve+=","===we?I.config.fauxComma:we:I.config.tildeChars.has(we)?G.push(we):G.push(he)}else oe?ve+=he:G.push(he)})),oe)throw Error(`Invalid maketext string: ${L} \nThe string contains an unmatched opening bracket character ([).`);return G.join("")}},9546:(U,I)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.htmlEscape=I.entityMap=void 0,I.entityMap={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"},I.htmlEscape=function c(o){return String(o).replace(/[&<>"'\/]/g,(m=>I.entityMap[m]))}},2353:(U,I)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.listToObject=void 0,I.listToObject=function m(...T){let P={};return function c(T){if(T.length%2>0)throw new Error("An associative list must have an even number of parts: {name1}, {value1}, {name2}, {value2} ...");for(let b=0,S=T.length;b<S;b+=2){const x=T[b];if("string"!=typeof x||""===x)throw new Error("An associative list must provide non-empty string names in the 1st, 3rd, ... positions.")}return!0}(T)&&(P=function o(T){const P=T.length,b={};let x,L,S=0;for(;S<P;)x=T[S],L=T[++S],b[x]=L,S++;return b}(T)),P}},7773:(U,I,c)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.commonValidators=void 0;const o=c(5839);I.commonValidators=new class m extends o.BaseValidator{constructor(){super(...arguments),this.prefix="common",this.STARTS_WITH_LETTER=/^[a-zA-Z]/,this.CONTAINS_SPACES=/^\S*$/}required(P){const b=P||this.locale.maketext("This field is required.");return S=>{let x={},L=S.value;return L&&(L=L.toString()),L&&L.length?null:(x=this.addError(x,"required",b),x)}}requiredTrue(P){const b=P||this.locale.maketext("This control's value should be true.");return S=>{let x={};return!0!==S.value?(x=this.addError(x,"requiredTrue",b),x):null}}startsWithLetter(P){return b=>{let S={};return b.value&&!this.STARTS_WITH_LETTER.test(b.value)?(S=this.addError(S,"doesNotStartWithLetter",P),S):null}}containsSpaces(P){return b=>{let S={};return b.value&&!this.CONTAINS_SPACES.test(b.value)?(S=this.addError(S,"containsSpace",P),S):null}}minLength(P,b){return S=>{let x={};return S.value&&S.value.length<b?(x=this.addError(x,"minLength",P),x):null}}maxLength(P,b){return S=>{let x={};return S.value&&S.value.length>b?(x=this.addError(x,"maxLength",P),x):null}}min(P,b){return S=>{let x={};return S.value&&S.value<b?(x=this.addError(x,"min",P),x):null}}max(P,b){return S=>{let x={};return S.value&&S.value>b?(x=this.addError(x,"max",P),x):null}}}},4304:(U,I,c)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.cPUserNoteValidators=void 0;const o=c(5839),m=c(2185),P=/[^ \n\P{White_Space}]|[^ \n\P{Control}]|[^ \P{Separator}]/u;I.cPUserNoteValidators=new class b extends o.BaseValidator{constructor(){super(...arguments),this.prefix="note"}validate(x=250,L=""){return j=>{let R=m.stringValidators.validUnicode()(j);if(!R){const G=this.locale.maketext("This note is too long.");R=m.stringValidators.maxCharacterLength(G)(x,j)}if(!R){const G=j.match(P);if(G){R={};const oe=G.index,ve=G[0].codePointAt(0);this.addError(R,"character",this.locale.maketext("[asis,Unicode] character [numf,_1] (position [numf,_2]) is forbidden.",ve,1+oe))}}return R}}}},3046:(U,I,c)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.cpanelUsernameValidators=void 0;const o=c(5839);I.cpanelUsernameValidators=new class m extends o.BaseValidator{constructor(){super(...arguments),this.prefix="cpanelUsername",this.VALID_USERNAME=/^(?![-.0-9])[a-z0-9]{1,16}$/}cpanelUsername(P){const b=P||this.locale.maketext("This is not a valid username.");return S=>{let x={};return S.value&&!this.VALID_USERNAME.test(S.value)?(x=this.addError(x,"invalidUsername",b),x):null}}}},3481:(U,I,c)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.databaseValidators=void 0;const o=c(5839),m=c(3322);I.databaseValidators=new class T extends o.BaseValidator{constructor(){super(...arguments),this.prefix="databases",this._dbPrefix="",this.DATABASE_NAME_LENGTH_LIMIT=64,this.ANYTHING_BUT_PRINTABLE_7_BIT_ASCII=/[^\u0020-\u007e]/,this.MYSQL_DB_NAME_INVALID_CHARACTERS=/[`'"\/\\]/,this.MYSQL_DB_NAME_INVALID_CHARACTERS_LIST=["'",'"',"`","/","\\"],this.MYSQL_DB_NAME_WILDCARDS=/(_|%|\\)/g,this.MYSQL_STARTED_ALLOWING_FILESYS_CHARACTERS=50116,this.MYSQL_STARTED_ALLOWING_LONG_USERNAMES=1e5}get dbPrefix(){return this._dbPrefix}validateDatabaseName(b,S,x){return L=>b===m.DatabaseType.MySQL?(this._dbPrefix=S||"",this.validateMySQLDatabaseName(L.value,x||"")):null}validateMySQLDatabaseName(b,S){const x=this._performMySqlDatabaseNameValidation(b,S);let L={};return x?(L=this.addError(L,"databaseName",x),L):null}_performMySqlDatabaseNameValidation(b,S){let x=null;return x=this._verifyNameLengthLimit(b),null!==x||(x=this._verifyDatabaseNameIgnoreLength(b),null!==x)||(x=this._verifyDatabaseName(b,S)),x}_verifyNameLengthLimit(b){let S=null,x=this.DATABASE_NAME_LENGTH_LIMIT;this._dbPrefix&&(x-=this._dbPrefix.length+1);const L=unescape(encodeURIComponent(b)).length-x;return L>0&&(S={message:this.locale.maketext("This value is too long by [quant,_1,character,characters]. The maximum length is [quant,_2,character,characters].",L,x)}),S}_verifyDatabaseNameIgnoreLength(b){return this.ANYTHING_BUT_PRINTABLE_7_BIT_ASCII.test(b)?{message:this.locale.maketext("This system allows only printable [asis,ASCII] characters in database names.")}:this.MYSQL_DB_NAME_INVALID_CHARACTERS.test(b)?{message:this.locale.maketext("This system prohibits the following [numerate,_1,character,characters] in database names: [list_or,_2]",3,this.MYSQL_DB_NAME_INVALID_CHARACTERS_LIST)}:null}_verifyDatabaseName(b,S){if(null!==b&&b.endsWith(" "))return{message:this.locale.maketext("A [asis,MariaDB]/[asis,MySQL] database name cannot end with a space character.")};const x=this._verifySpecialWildcardsInDatabaseNames(b);return null!==x?x:S&&this._convertVersionStringToNumber(S)<this.MYSQL_STARTED_ALLOWING_FILESYS_CHARACTERS&&/\./.test(b)?{message:this.locale.maketext("This system’s [asis,MySQL] version ([_1]) prohibits the character “[_2]” in database names. Ask your administrator to upgrade to a [asis,MariaDB] or to a newer [asis,MySQL] version.",S,".")}:null}_convertVersionStringToNumber(b){return b.match(/mariadb/i)&&(b=b.replace(/^[^-]+-/,"")),parseInt(b.replace(/-.*/,"").split(/\./).map((function(S){return S.padStart(2,"0")})).join(""),10)}_verifySpecialWildcardsInDatabaseNames(b){if(null===b)return null;const S=b.replace(this.MYSQL_DB_NAME_WILDCARDS,"\\$1").length;let x=this.DATABASE_NAME_LENGTH_LIMIT;this._dbPrefix&&(x-=this._dbPrefix.length+1);const L=S-x;return L>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.",["\\","_","%"],x,S,L)}:null}}},9044:function(U,I,c){"use strict";var o=this&&this.__importDefault||function(x){return x&&x.__esModule?x:{default:x}};Object.defineProperty(I,"__esModule",{value:!0}),I.domainValidators=void 0;const m=c(2706),T=o(c(9660)),P=o(c(9488)),b=c(5839);I.domainValidators=new class S extends b.BaseValidator{constructor(){super(...arguments),this.prefix="domains",this.VALID_TLD_REGEX=/^[.][a-zA-Z0-9]+$/,this.VALID_IDN_TLD_REGEX=/^[.]xn--[a-zA-Z0-9-]+$/,this.MAX_DOMAIN_BYTES=254,this.MAX_LABEL_BYTES=63,this.UNICODE_ASCII_CUTOFF=127,this.NONINITIAL_LABEL_REGEX=/^[a-zA-Z0-9]([a-zA-Z0-9-]*[a-zA-Z0-9])?$/,this.IPv4_REGEX=/^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$/,this.IPv6_REGEX=/((^\s*((([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))\s*$)|(^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$))/}_getNonASCII(L){const j=[],R=T.default.ucs2.decode(L);for(let G=0;G<R.length;G++)R[G]>this.UNICODE_ASCII_CUTOFF&&j.push(T.default.ucs2.encode([R[G]]));return(0,P.default)(j)}_validateLabelBasics(){return L=>{let j={};if(L.value&&0!==L.value.length){if(L.value.length>this.MAX_LABEL_BYTES)j=this.addError(j,"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("-"===L.value[0])j=this.addError(j,"charCondition",this.locale.maketext("A label must not begin with “[_1]”.","-"));else if("-"===L.value[L.value.length-1])j=this.addError(j,"charCondition",this.locale.maketext("A label must not end with “[_1]”.","-"));else if(T.default.toASCII(L.value).length>this.MAX_LABEL_BYTES){const R=this._getNonASCII(L.value);j=this.addError(j,"length",this.locale.maketext("The label’s [asis,Punycode] representation cannot exceed [quant,_1,byte,bytes]. (Non-[asis,ASCII] characters, like “[_2]”, require multiple characters to represent in [asis,Punycode].)",this.MAX_LABEL_BYTES,R[0]))}}else j=this.addError(j,"length",this.locale.maketext("A label must not be empty."));return j}}validDomainLength(){return L=>{let j={};if(L.value.length>this.MAX_DOMAIN_BYTES)return j=this.addError(j,"length",this.locale.maketext("The domain name cannot exceed [quant,_1,character,characters].",this.MAX_DOMAIN_BYTES)),j;if(T.default.toASCII(L.value).length>this.MAX_DOMAIN_BYTES){const G=this._getNonASCII(L.value);return j=this.addError(j,"length",this.locale.maketext("The domain name’s [asis,Punycode] representation cannot exceed [quant,_1,character,characters]. (Non-[asis,ASCII] characters, like “[_2]”, require multiple characters to represent in [asis,Punycode].)",this.MAX_DOMAIN_BYTES,G[0])),j}return null}}validateLabel(){return L=>(0,m.runValidationGroup)(L,[this._validateLabelBasics(),j=>{let R={};return this.NONINITIAL_LABEL_REGEX.test(j.value)||(R=this.addError(R,"charCondition",this.locale.maketext("The label must contain only the following characters: [list_and,_1].",["a-z","A-Z","0-9","-"]))),R}])}validateTLD(){return L=>{let j={};return!this.VALID_TLD_REGEX.test(L.value)&&!this.VALID_IDN_TLD_REGEX.test(L.value)&&(j=this.addError(j,"tld",this.locale.maketext("The domain name must include a valid [output,acronym,TLD,Top Level Domain]."))),j}}fqdn(){return L=>{const j=L.value.split("."),R=j[j.length-1],G=j[0],oe=L.value,ve=[()=>{let he={};const we=this.IPv4_REGEX.test(oe),be=this.IPv6_REGEX.test(oe);return we||be?he=this.addError(he,"ipAddr",this.locale.maketext("You [output,strong,must] enter a hostname.")):j.length<2?he=this.addError(he,"oneDomain",this.locale.maketext("The domain name must include at least two labels.")):null},this.validDomainLength(),this.validateLabel().bind(this,{value:G}),this.validateTLD().bind(this,{value:"."+R})];return j.forEach((he=>{ve.push(this.validateLabel().bind(this,{value:he}))})),(0,m.runValidationGroup)(L,ve)}}fqdnOrIP(){return L=>{const j=(0,m.runValidationGroup)(L,[this.anyIP()]),R=L.value.split("."),G=R[R.length-1],oe=R[0],ve=[we=>{let be={};return R.length<2&&(be=this.addError(be,"oneDomain",this.locale.maketext("The domain name must include at least two labels."))),be},this.validDomainLength(),this.validateLabel().bind(this,{value:oe}),this.validateTLD().bind(this,{value:"."+G})];R.forEach((we=>{ve.push(this.validateLabel().bind(this,{value:we}))}));const he=(0,m.runValidationGroup)(L,ve);return j&&he?{...j,...he}:null}}ipv4(){return L=>{let j={};return L.value&&!this.IPv4_REGEX.test(L.value)?(j=this.addError(j,"ipv4",this.locale.maketext("Invalid [asis,IPv4] compatible address.")),j):null}}ipv6(){return L=>{let j={};return L.value&&!this.IPv6_REGEX.test(L.value)?(j=this.addError(j,"ipv6",this.locale.maketext("Invalid [asis,IPv6] compatible address.")),j):null}}anyIP(){return L=>{let j={};return!L.value||this.IPv4_REGEX.test(L.value)||this.IPv6_REGEX.test(L.value)?null:(j=this.addError(j,"anyIP",this.locale.maketext("Invalid [asis,IPv4] or [asis,IPv6] compatible address.")),j)}}}},9978:(U,I,c)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.emailValidators=void 0;const o=c(5839);I.emailValidators=new class m extends o.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(P){const b=P||this.locale.maketext("Make sure to use a valid email format. For example, [asis,user@example.com].");return S=>{let x={};return S.value&&!this.VALID_EMAIL.test(S.value)?(x=this.addError(x,"invalidEmail",b),x):null}}}},7324:(U,I,c)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.equalityValidators=void 0;const o=c(5839);I.equalityValidators=new class m extends o.BaseValidator{constructor(){super(...arguments),this.prefix="equality"}equalTo(P,b,S){return x=>{const L=x.get(b).value;let R={};return L===x.get(S).value&&""!==L?(R=this.addError(R,"equalFields",P),R):null}}}},7410:(U,I,c)=>{"use strict";I.uv=void 0;c(7773),c(9044);const P=c(5839);Object.defineProperty(I,"uv",{enumerable:!0,get:function(){return P.BaseValidator}});c(3481),c(3322),c(3046),c(9978),c(7324),c(4304),c(2185)},5839:(U,I)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.BaseValidator=void 0;let c,o=!0;I.BaseValidator=class T{constructor(){this.prefix="",c={maketext:b=>{throw"DEVELOPER: You must specify a locale engine through the static variable BaseValidator.locale = myLocaleEngine"}}}static set locale(b){c=b}get locale(){return c}_buildKey(b){return o?`cpanel.${this.prefix}.${b}`:b}static disablePrefixing(){o=!1}static enablePrefixing(){o=!0}addError(b={},S,x){return"string"==typeof x&&(x={message:x}),b[this._buildKey(S)]=x,b}}},3322:(U,I)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.DatabaseType=void 0;var c=function(o){return o.MySQL="MySQL",o.PostgreSQL="PostgreSQL",o}(c||(I.DatabaseType=c={}))},7945:(U,I)=>{"use strict";function T(b){return"0x"+b.toString(16)}Object.defineProperty(I,"__esModule",{value:!0}),I.characterLength=void 0,I.characterLength=function P(b,S){let x=0;for(let L=0;L<b.length;L++){x++;const j=b.charCodeAt(L);if(55296==(64512&j)){if(L++,L===b.length)throw new Error(S.maketext("This string ends with an incomplete [asis,UTF-16] surrogate pair ([_1]).",T(j)));const R=b.charCodeAt(L);if(56320!=(64512&R))throw new Error(S.maketext("This string contains an invalid [asis,UTF-16] surrogate pair ([join,~, ,_1]) at position [numf,_2].",[j,R].map(T),L))}}return x}},2706:function(U,I,c){"use strict";var o=this&&this.__importDefault||function(P){return P&&P.__esModule?P:{default:P}};Object.defineProperty(I,"__esModule",{value:!0}),I.runValidationGroup=void 0;const m=o(c(1281));I.runValidationGroup=function T(P,b){const S={};return b.forEach((x=>{(0,m.default)(S,x(P))})),Object.keys(S).length?S:null}},2185:(U,I,c)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.stringValidators=void 0;const o=c(5839),m=c(7945);I.stringValidators=new class P extends o.BaseValidator{constructor(){super(...arguments),this.prefix="string"}validUnicode(){return S=>{try{(0,m.characterLength)(S,this.locale)}catch(x){const L={};return x instanceof Error&&this.addError(L,"unicode",x.message),L}return null}}maxCharacterLength(S){return(x,L)=>{if((0,m.characterLength)(L,this.locale)>x){const R={};return this.addError(R,"length",S),R}return null}}maxUTF8Length(S){return(x,L)=>{if(function T(b){return unescape(encodeURIComponent(b)).length}(L)>x){const j={};return this.addError(j,"length",S),j}return null}}}},3028:(U,I,c)=>{var o=c(6399),m=c(1483),T=c(3434),P=c(5230),b=c(3718);function S(x){var L=-1,j=null==x?0:x.length;for(this.clear();++L<j;){var R=x[L];this.set(R[0],R[1])}}S.prototype.clear=o,S.prototype.delete=m,S.prototype.get=T,S.prototype.has=P,S.prototype.set=b,U.exports=S},5752:(U,I,c)=>{var o=c(3643),m=c(7103),T=c(62),P=c(1610),b=c(1090);function S(x){var L=-1,j=null==x?0:x.length;for(this.clear();++L<j;){var R=x[L];this.set(R[0],R[1])}}S.prototype.clear=o,S.prototype.delete=m,S.prototype.get=T,S.prototype.has=P,S.prototype.set=b,U.exports=S},1012:(U,I,c)=>{var T=c(4385)(c(1464),"Map");U.exports=T},752:(U,I,c)=>{var o=c(1891),m=c(2759),T=c(7766),P=c(322),b=c(7258);function S(x){var L=-1,j=null==x?0:x.length;for(this.clear();++L<j;){var R=x[L];this.set(R[0],R[1])}}S.prototype.clear=o,S.prototype.delete=m,S.prototype.get=T,S.prototype.has=P,S.prototype.set=b,U.exports=S},7814:(U,I,c)=>{var T=c(4385)(c(1464),"Set");U.exports=T},342:(U,I,c)=>{var o=c(752),m=c(4643),T=c(2768);function P(b){var S=-1,x=null==b?0:b.length;for(this.__data__=new o;++S<x;)this.add(b[S])}P.prototype.add=P.prototype.push=m,P.prototype.has=T,U.exports=P},8516:(U,I,c)=>{var o=c(1464);U.exports=o.Symbol},1458:U=>{U.exports=function I(c,o,m){switch(m.length){case 0:return c.call(o);case 1:return c.call(o,m[0]);case 2:return c.call(o,m[0],m[1]);case 3:return c.call(o,m[0],m[1],m[2])}return c.apply(o,m)}},5306:(U,I,c)=>{var o=c(5300);U.exports=function m(T,P){return!(null==T||!T.length)&&o(T,P,0)>-1}},5878:U=>{U.exports=function I(c,o,m){for(var T=-1,P=null==c?0:c.length;++T<P;)if(m(o,c[T]))return!0;return!1}},8548:(U,I,c)=>{var o=c(9695),m=c(6265),T=c(9812),P=c(3151),b=c(8426),S=c(1028),L=Object.prototype.hasOwnProperty;U.exports=function j(R,G){var oe=T(R),ve=!oe&&m(R),he=!oe&&!ve&&P(R),we=!oe&&!ve&&!he&&S(R),be=oe||ve||he||we,He=be?o(R.length,String):[],Fe=He.length;for(var ct in R)(G||L.call(R,ct))&&(!be||!("length"==ct||he&&("offset"==ct||"parent"==ct)||we&&("buffer"==ct||"byteLength"==ct||"byteOffset"==ct)||b(ct,Fe)))&&He.push(ct);return He}},2757:U=>{U.exports=function I(c,o){for(var m=-1,T=null==c?0:c.length,P=Array(T);++m<T;)P[m]=o(c[m],m,c);return P}},7325:U=>{U.exports=function I(c,o,m,T){var P=-1,b=null==c?0:c.length;for(T&&b&&(m=c[++P]);++P<b;)m=o(m,c[P],P,c);return m}},8916:(U,I,c)=>{var m=c(1740)("length");U.exports=m},3167:U=>{U.exports=function I(c){return c.split("")}},2192:U=>{var I=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;U.exports=function c(o){return o.match(I)||[]}},9220:(U,I,c)=>{var o=c(4399),m=c(2651),P=Object.prototype.hasOwnProperty;U.exports=function b(S,x,L){var j=S[x];(!P.call(S,x)||!m(j,L)||void 0===L&&!(x in S))&&o(S,x,L)}},6316:(U,I,c)=>{var o=c(2651);U.exports=function m(T,P){for(var b=T.length;b--;)if(o(T[b][0],P))return b;return-1}},4399:(U,I,c)=>{var o=c(4678);U.exports=function m(T,P,b){"__proto__"==P&&o?o(T,P,{configurable:!0,enumerable:!0,value:b,writable:!0}):T[P]=b}},3355:U=>{U.exports=function I(c,o,m,T){for(var P=c.length,b=m+(T?1:-1);T?b--:++b<P;)if(o(c[b],b,c))return b;return-1}},1057:(U,I,c)=>{var o=c(8516),m=c(8488),T=c(3327),S=o?o.toStringTag:void 0;U.exports=function x(L){return null==L?void 0===L?"[object Undefined]":"[object Null]":S&&S in Object(L)?m(L):T(L)}},5300:(U,I,c)=>{var o=c(3355),m=c(9636),T=c(5220);U.exports=function P(b,S,x){return S==S?T(b,S,x):o(b,m,x)}},8313:(U,I,c)=>{var o=c(1057),m=c(7433);U.exports=function P(b){return m(b)&&"[object Arguments]"==o(b)}},9636:U=>{U.exports=function I(c){return c!=c}},298:(U,I,c)=>{var o=c(8653),m=c(8401),T=c(3278),P=c(8020),S=/^\[object .+?Constructor\]$/,G=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");U.exports=function oe(ve){return!(!T(ve)||m(ve))&&(o(ve)?G:S).test(P(ve))}},8068:(U,I,c)=>{var o=c(1057),m=c(8845),T=c(7433),me={};me["[object Float32Array]"]=me["[object Float64Array]"]=me["[object Int8Array]"]=me["[object Int16Array]"]=me["[object Int32Array]"]=me["[object Uint8Array]"]=me["[object Uint8ClampedArray]"]=me["[object Uint16Array]"]=me["[object Uint32Array]"]=!0,me["[object Arguments]"]=me["[object Array]"]=me["[object ArrayBuffer]"]=me["[object Boolean]"]=me["[object DataView]"]=me["[object Date]"]=me["[object Error]"]=me["[object Function]"]=me["[object Map]"]=me["[object Number]"]=me["[object Object]"]=me["[object RegExp]"]=me["[object Set]"]=me["[object String]"]=me["[object WeakMap]"]=!1,U.exports=function ie(Z){return T(Z)&&m(Z.length)&&!!me[o(Z)]}},1194:(U,I,c)=>{var o=c(3278),m=c(3164),T=c(908),b=Object.prototype.hasOwnProperty;U.exports=function S(x){if(!o(x))return T(x);var L=m(x),j=[];for(var R in x)"constructor"==R&&(L||!b.call(x,R))||j.push(R);return j}},1740:U=>{U.exports=function I(c){return function(o){return o?.[c]}}},965:U=>{U.exports=function I(c){return function(o){return c?.[o]}}},7926:U=>{var c=Math.floor;U.exports=function o(m,T){var P="";if(!m||T<1||T>9007199254740991)return P;do{T%2&&(P+=m),(T=c(T/2))&&(m+=m)}while(T);return P}},8591:(U,I,c)=>{var o=c(9631),m=c(8452),T=c(1230);U.exports=function P(b,S){return T(m(b,S,o),b+"")}},8565:(U,I,c)=>{var o=c(6205),m=c(4678),T=c(9631);U.exports=m?function(b,S){return m(b,"toString",{configurable:!0,enumerable:!1,value:o(S),writable:!0})}:T},5695:U=>{U.exports=function I(c,o,m){var T=-1,P=c.length;o<0&&(o=-o>P?0:P+o),(m=m>P?P:m)<0&&(m+=P),P=o>m?0:m-o>>>0,o>>>=0;for(var b=Array(P);++T<P;)b[T]=c[T+o];return b}},9695:U=>{U.exports=function I(c,o){for(var m=-1,T=Array(c);++m<c;)T[m]=o(m);return T}},7005:(U,I,c)=>{var o=c(8516),m=c(2757),T=c(9812),P=c(5153),b=1/0,S=o?o.prototype:void 0,x=S?S.toString:void 0;U.exports=function L(j){if("string"==typeof j)return j;if(T(j))return m(j,L)+"";if(P(j))return x?x.call(j):"";var R=j+"";return"0"==R&&1/j==-b?"-0":R}},5461:(U,I,c)=>{var o=c(7327),m=/^\s+/;U.exports=function T(P){return P&&P.slice(0,o(P)+1).replace(m,"")}},2502:U=>{U.exports=function I(c){return function(o){return c(o)}}},3136:(U,I,c)=>{var o=c(342),m=c(5306),T=c(5878),P=c(1890),b=c(7366),S=c(3578);U.exports=function L(j,R,G){var oe=-1,ve=m,he=j.length,we=!0,be=[],He=be;if(G)we=!1,ve=T;else if(he>=200){var Fe=R?null:b(j);if(Fe)return S(Fe);we=!1,ve=P,He=new o}else He=R?[]:be;e:for(;++oe<he;){var ct=j[oe],Qe=R?R(ct):ct;if(ct=G||0!==ct?ct:0,we&&Qe==Qe){for(var Le=He.length;Le--;)if(He[Le]===Qe)continue e;R&&He.push(Qe),be.push(ct)}else ve(He,Qe,G)||(He!==be&&He.push(Qe),be.push(ct))}return be}},1890:U=>{U.exports=function I(c,o){return c.has(o)}},8989:(U,I,c)=>{var o=c(5695);U.exports=function m(T,P,b){var S=T.length;return b=void 0===b?S:b,!P&&b>=S?T:o(T,P,b)}},3190:(U,I,c)=>{var o=c(9220),m=c(4399);U.exports=function T(P,b,S,x){var L=!S;S||(S={});for(var j=-1,R=b.length;++j<R;){var G=b[j],oe=x?x(S[G],P[G],G,S,P):void 0;void 0===oe&&(oe=P[G]),L?m(S,G,oe):o(S,G,oe)}return S}},336:(U,I,c)=>{var o=c(1464);U.exports=o["__core-js_shared__"]},7530:(U,I,c)=>{var o=c(8591),m=c(2721);U.exports=function T(P){return o((function(b,S){var x=-1,L=S.length,j=L>1?S[L-1]:void 0,R=L>2?S[2]:void 0;for(j=P.length>3&&"function"==typeof j?(L--,j):void 0,R&&m(S[0],S[1],R)&&(j=L<3?void 0:j,L=1),b=Object(b);++x<L;){var G=S[x];G&&P(b,G,x,j)}return b}))}},7666:(U,I,c)=>{var o=c(7325),m=c(5403),T=c(5788),b=RegExp("['’]","g");U.exports=function S(x){return function(L){return o(T(m(L).replace(b,"")),x,"")}}},6035:(U,I,c)=>{var o=c(7926),m=c(7005),T=c(8989),P=c(9191),b=c(8800),S=c(3195),x=Math.ceil;U.exports=function L(j,R){var G=(R=void 0===R?" ":m(R)).length;if(G<2)return G?o(R,j):R;var oe=o(R,x(j/b(R)));return P(R)?T(S(oe),0,j).join(""):oe.slice(0,j)}},7366:(U,I,c)=>{var o=c(7814),m=c(8145),T=c(3578),b=o&&1/T(new o([,-0]))[1]==1/0?function(S){return new o(S)}:m;U.exports=b},8318:(U,I,c)=>{var T=c(965)({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"});U.exports=T},4678:(U,I,c)=>{var o=c(4385),m=function(){try{var T=o(Object,"defineProperty");return T({},"",{}),T}catch{}}();U.exports=m},8657:U=>{var I="object"==typeof global&&global&&global.Object===Object&&global;U.exports=I},9038:(U,I,c)=>{var o=c(3329);U.exports=function m(T,P){var b=T.__data__;return o(P)?b["string"==typeof P?"string":"hash"]:b.map}},4385:(U,I,c)=>{var o=c(298),m=c(8737);U.exports=function T(P,b){var S=m(P,b);return o(S)?S:void 0}},6902:(U,I,c)=>{var m=c(2852)(Object.getPrototypeOf,Object);U.exports=m},8488:(U,I,c)=>{var o=c(8516),m=Object.prototype,T=m.hasOwnProperty,P=m.toString,b=o?o.toStringTag:void 0;U.exports=function S(x){var L=T.call(x,b),j=x[b];try{x[b]=void 0;var R=!0}catch{}var G=P.call(x);return R&&(L?x[b]=j:delete x[b]),G}},8737:U=>{U.exports=function I(c,o){return c?.[o]}},9191:U=>{var S=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");U.exports=function x(L){return S.test(L)}},5823:U=>{var I=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;U.exports=function c(o){return I.test(o)}},6399:(U,I,c)=>{var o=c(8247);U.exports=function m(){this.__data__=o?o(null):{},this.size=0}},1483:U=>{U.exports=function I(c){var o=this.has(c)&&delete this.__data__[c];return this.size-=o?1:0,o}},3434:(U,I,c)=>{var o=c(8247),P=Object.prototype.hasOwnProperty;U.exports=function b(S){var x=this.__data__;if(o){var L=x[S];return"__lodash_hash_undefined__"===L?void 0:L}return P.call(x,S)?x[S]:void 0}},5230:(U,I,c)=>{var o=c(8247),T=Object.prototype.hasOwnProperty;U.exports=function P(b){var S=this.__data__;return o?void 0!==S[b]:T.call(S,b)}},3718:(U,I,c)=>{var o=c(8247);U.exports=function T(P,b){var S=this.__data__;return this.size+=this.has(P)?0:1,S[P]=o&&void 0===b?"__lodash_hash_undefined__":b,this}},8426:U=>{var c=/^(?:0|[1-9]\d*)$/;U.exports=function o(m,T){var P=typeof m;return!!(T=T??9007199254740991)&&("number"==P||"symbol"!=P&&c.test(m))&&m>-1&&m%1==0&&m<T}},2721:(U,I,c)=>{var o=c(2651),m=c(7291),T=c(8426),P=c(3278);U.exports=function b(S,x,L){if(!P(L))return!1;var j=typeof x;return!!("number"==j?m(L)&&T(x,L.length):"string"==j&&x in L)&&o(L[x],S)}},3329:U=>{U.exports=function I(c){var o=typeof c;return"string"==o||"number"==o||"symbol"==o||"boolean"==o?"__proto__"!==c:null===c}},8401:(U,I,c)=>{var P,o=c(336),m=(P=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+P:"";U.exports=function T(P){return!!m&&m in P}},3164:U=>{var I=Object.prototype;U.exports=function c(o){var m=o&&o.constructor;return o===("function"==typeof m&&m.prototype||I)}},3643:U=>{U.exports=function I(){this.__data__=[],this.size=0}},7103:(U,I,c)=>{var o=c(6316),T=Array.prototype.splice;U.exports=function P(b){var S=this.__data__,x=o(S,b);return!(x<0||(x==S.length-1?S.pop():T.call(S,x,1),--this.size,0))}},62:(U,I,c)=>{var o=c(6316);U.exports=function m(T){var P=this.__data__,b=o(P,T);return b<0?void 0:P[b][1]}},1610:(U,I,c)=>{var o=c(6316);U.exports=function m(T){return o(this.__data__,T)>-1}},1090:(U,I,c)=>{var o=c(6316);U.exports=function m(T,P){var b=this.__data__,S=o(b,T);return S<0?(++this.size,b.push([T,P])):b[S][1]=P,this}},1891:(U,I,c)=>{var o=c(3028),m=c(5752),T=c(1012);U.exports=function P(){this.size=0,this.__data__={hash:new o,map:new(T||m),string:new o}}},2759:(U,I,c)=>{var o=c(9038);U.exports=function m(T){var P=o(this,T).delete(T);return this.size-=P?1:0,P}},7766:(U,I,c)=>{var o=c(9038);U.exports=function m(T){return o(this,T).get(T)}},322:(U,I,c)=>{var o=c(9038);U.exports=function m(T){return o(this,T).has(T)}},7258:(U,I,c)=>{var o=c(9038);U.exports=function m(T,P){var b=o(this,T),S=b.size;return b.set(T,P),this.size+=b.size==S?0:1,this}},8247:(U,I,c)=>{var m=c(4385)(Object,"create");U.exports=m},908:U=>{U.exports=function I(c){var o=[];if(null!=c)for(var m in Object(c))o.push(m);return o}},512:(U,I,c)=>{U=c.nmd(U);var o=c(8657),m=I&&!I.nodeType&&I,T=m&&U&&!U.nodeType&&U,b=T&&T.exports===m&&o.process,S=function(){try{return T&&T.require&&T.require("util").types||b&&b.binding&&b.binding("util")}catch{}}();U.exports=S},3327:U=>{var c=Object.prototype.toString;U.exports=function o(m){return c.call(m)}},2852:U=>{U.exports=function I(c,o){return function(m){return c(o(m))}}},8452:(U,I,c)=>{var o=c(1458),m=Math.max;U.exports=function T(P,b,S){return b=m(void 0===b?P.length-1:b,0),function(){for(var x=arguments,L=-1,j=m(x.length-b,0),R=Array(j);++L<j;)R[L]=x[b+L];L=-1;for(var G=Array(b+1);++L<b;)G[L]=x[L];return G[b]=S(R),o(P,this,G)}}},1464:(U,I,c)=>{var o=c(8657),m="object"==typeof self&&self&&self.Object===Object&&self,T=o||m||Function("return this")();U.exports=T},4643:U=>{U.exports=function c(o){return this.__data__.set(o,"__lodash_hash_undefined__"),this}},2768:U=>{U.exports=function I(c){return this.__data__.has(c)}},3578:U=>{U.exports=function I(c){var o=-1,m=Array(c.size);return c.forEach((function(T){m[++o]=T})),m}},1230:(U,I,c)=>{var o=c(8565),T=c(2770)(o);U.exports=T},2770:U=>{var o=Date.now;U.exports=function m(T){var P=0,b=0;return function(){var S=o(),x=16-(S-b);if(b=S,x>0){if(++P>=800)return arguments[0]}else P=0;return T.apply(void 0,arguments)}}},5220:U=>{U.exports=function I(c,o,m){for(var T=m-1,P=c.length;++T<P;)if(c[T]===o)return T;return-1}},8800:(U,I,c)=>{var o=c(8916),m=c(9191),T=c(2320);U.exports=function P(b){return m(b)?T(b):o(b)}},3195:(U,I,c)=>{var o=c(3167),m=c(9191),T=c(3163);U.exports=function P(b){return m(b)?T(b):o(b)}},8020:U=>{var c=Function.prototype.toString;U.exports=function o(m){if(null!=m){try{return c.call(m)}catch{}try{return m+""}catch{}}return""}},7327:U=>{var I=/\s/;U.exports=function c(o){for(var m=o.length;m--&&I.test(o.charAt(m)););return m}},2320:U=>{var I="\\ud800-\\udfff",b="["+I+"]",S="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",x="\\ud83c[\\udffb-\\udfff]",j="[^"+I+"]",R="(?:\\ud83c[\\udde6-\\uddff]){2}",G="[\\ud800-\\udbff][\\udc00-\\udfff]",ve="(?:"+S+"|"+x+")?",he="[\\ufe0e\\ufe0f]?",be=he+ve+"(?:\\u200d(?:"+[j,R,G].join("|")+")"+he+ve+")*",He="(?:"+[j+S+"?",S,R,G,b].join("|")+")",Fe=RegExp(x+"(?="+x+")|"+He+be,"g");U.exports=function ct(Qe){for(var Le=Fe.lastIndex=0;Fe.test(Qe);)++Le;return Le}},3163:U=>{var I="\\ud800-\\udfff",b="["+I+"]",S="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",x="\\ud83c[\\udffb-\\udfff]",j="[^"+I+"]",R="(?:\\ud83c[\\udde6-\\uddff]){2}",G="[\\ud800-\\udbff][\\udc00-\\udfff]",ve="(?:"+S+"|"+x+")?",he="[\\ufe0e\\ufe0f]?",be=he+ve+"(?:\\u200d(?:"+[j,R,G].join("|")+")"+he+ve+")*",He="(?:"+[j+S+"?",S,R,G,b].join("|")+")",Fe=RegExp(x+"(?="+x+")|"+He+be,"g");U.exports=function ct(Qe){return Qe.match(Fe)||[]}},7172:U=>{var I="\\ud800-\\udfff",P="\\u2700-\\u27bf",b="a-z\\xdf-\\xf6\\xf8-\\xff",R="A-Z\\xc0-\\xd6\\xd8-\\xde",oe="\\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",he="["+oe+"]",be="\\d+",He="["+P+"]",Fe="["+b+"]",ct="[^"+I+oe+be+P+b+R+"]",nt="(?:\\ud83c[\\udde6-\\uddff]){2}",It="[\\ud800-\\udbff][\\udc00-\\udfff]",Je="["+R+"]",wt="(?:"+Fe+"|"+ct+")",me="(?:"+Je+"|"+ct+")",ie="(?:['’](?:d|ll|m|re|s|t|ve))?",Z="(?:['’](?:D|LL|M|RE|S|T|VE))?",H="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",ue="[\\ufe0e\\ufe0f]?",Ve=ue+H+"(?:\\u200d(?:"+["[^"+I+"]",nt,It].join("|")+")"+ue+H+")*",Te="(?:"+[He,nt,It].join("|")+")"+Ve,it=RegExp([Je+"?"+Fe+"+"+ie+"(?="+[he,Je,"$"].join("|")+")",me+"+"+Z+"(?="+[he,Je+wt,"$"].join("|")+")",Je+"?"+wt+"+"+ie,Je+"+"+Z,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",be,Te].join("|"),"g");U.exports=function Ft(Bt){return Bt.match(it)||[]}},9708:(U,I,c)=>{var o=c(3190),m=c(7530),T=c(7674),P=m((function(b,S){o(S,T(S),b)}));U.exports=P},6205:U=>{U.exports=function I(c){return function(){return c}}},5403:(U,I,c)=>{var o=c(8318),m=c(4717),T=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,j=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");U.exports=function R(G){return(G=m(G))&&G.replace(T,o).replace(j,"")}},2651:U=>{U.exports=function I(c,o){return c===o||c!=c&&o!=o}},1281:(U,I,c)=>{U.exports=c(9708)},9631:U=>{U.exports=function I(c){return c}},6265:(U,I,c)=>{var o=c(8313),m=c(7433),T=Object.prototype,P=T.hasOwnProperty,b=T.propertyIsEnumerable,S=o(function(){return arguments}())?o:function(x){return m(x)&&P.call(x,"callee")&&!b.call(x,"callee")};U.exports=S},9812:U=>{U.exports=Array.isArray},7291:(U,I,c)=>{var o=c(8653),m=c(8845);U.exports=function T(P){return null!=P&&m(P.length)&&!o(P)}},3705:(U,I,c)=>{var o=c(1057),m=c(7433);U.exports=function P(b){return!0===b||!1===b||m(b)&&"[object Boolean]"==o(b)}},3151:(U,I,c)=>{U=c.nmd(U);var o=c(1464),m=c(5710),T=I&&!I.nodeType&&I,P=T&&U&&!U.nodeType&&U,S=P&&P.exports===T?o.Buffer:void 0;U.exports=(S?S.isBuffer:void 0)||m},8653:(U,I,c)=>{var o=c(1057),m=c(3278);U.exports=function x(L){if(!m(L))return!1;var j=o(L);return"[object Function]"==j||"[object GeneratorFunction]"==j||"[object AsyncFunction]"==j||"[object Proxy]"==j}},8845:U=>{U.exports=function c(o){return"number"==typeof o&&o>-1&&o%1==0&&o<=9007199254740991}},5972:U=>{U.exports=function I(c){return null===c}},9336:(U,I,c)=>{var o=c(1057),m=c(7433);U.exports=function P(b){return"number"==typeof b||m(b)&&"[object Number]"==o(b)}},3278:U=>{U.exports=function I(c){var o=typeof c;return null!=c&&("object"==o||"function"==o)}},7433:U=>{U.exports=function I(c){return null!=c&&"object"==typeof c}},9970:(U,I,c)=>{var o=c(1057),m=c(6902),T=c(7433),x=Function.prototype.toString,L=Object.prototype.hasOwnProperty,j=x.call(Object);U.exports=function R(G){if(!T(G)||"[object Object]"!=o(G))return!1;var oe=m(G);if(null===oe)return!0;var ve=L.call(oe,"constructor")&&oe.constructor;return"function"==typeof ve&&ve instanceof ve&&x.call(ve)==j}},8124:(U,I,c)=>{var o=c(1057),m=c(9812),T=c(7433);U.exports=function b(S){return"string"==typeof S||!m(S)&&T(S)&&"[object String]"==o(S)}},5153:(U,I,c)=>{var o=c(1057),m=c(7433);U.exports=function P(b){return"symbol"==typeof b||m(b)&&"[object Symbol]"==o(b)}},1028:(U,I,c)=>{var o=c(8068),m=c(2502),T=c(512),P=T&&T.isTypedArray,b=P?m(P):o;U.exports=b},9261:U=>{U.exports=function I(c){return void 0===c}},7674:(U,I,c)=>{var o=c(8548),m=c(1194),T=c(7291);U.exports=function P(b){return T(b)?o(b,!0):m(b)}},8145:U=>{U.exports=function I(){}},2354:(U,I,c)=>{var o=c(6035),m=c(8800),T=c(1284),P=c(4717);U.exports=function b(S,x,L){S=P(S);var j=(x=T(x))?m(S):0;return x&&j<x?o(x-j,L)+S:S}},193:(U,I,c)=>{var m=c(7666)((function(T,P,b){return T+(b?"_":"")+P.toLowerCase()}));U.exports=m},5710:U=>{U.exports=function I(){return!1}},8263:(U,I,c)=>{var o=c(3521),m=1/0;U.exports=function P(b){return b?(b=o(b))===m||b===-m?17976931348623157e292*(b<0?-1:1):b==b?b:0:0===b?b:0}},1284:(U,I,c)=>{var o=c(8263);U.exports=function m(T){var P=o(T),b=P%1;return P==P?b?P-b:P:0}},3521:(U,I,c)=>{var o=c(5461),m=c(3278),T=c(5153),b=/^[-+]0x[0-9a-f]+$/i,S=/^0b[01]+$/i,x=/^0o[0-7]+$/i,L=parseInt;U.exports=function j(R){if("number"==typeof R)return R;if(T(R))return NaN;if(m(R)){var G="function"==typeof R.valueOf?R.valueOf():R;R=m(G)?G+"":G}if("string"!=typeof R)return 0===R?R:+R;R=o(R);var oe=S.test(R);return oe||x.test(R)?L(R.slice(2),oe?2:8):b.test(R)?NaN:+R}},4717:(U,I,c)=>{var o=c(7005);U.exports=function m(T){return null==T?"":o(T)}},9488:(U,I,c)=>{var o=c(3136);U.exports=function m(T){return T&&T.length?o(T):[]}},5788:(U,I,c)=>{var o=c(2192),m=c(5823),T=c(4717),P=c(7172);U.exports=function b(S,x,L){return S=T(S),void 0===(x=L?void 0:x)?m(S)?P(S):o(S):S.match(x)||[]}},9660:(U,I,c)=>{"use strict";c.r(I),c.d(I,{decode:()=>Je,default:()=>Z,encode:()=>qe,toASCII:()=>me,toUnicode:()=>wt,ucs2decode:()=>Qe,ucs2encode:()=>Le});const o=2147483647,m=36,R=/^xn--/,G=/[^\0-\x7E]/,oe=/[\x2E\u3002\uFF0E\uFF61]/g,ve={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},we=Math.floor,be=String.fromCharCode;function He(H){throw new RangeError(ve[H])}function ct(H,ue){const xe=H.split("@");let lt="";xe.length>1&&(lt=xe[0]+"@",H=xe[1]);const Ve=function Fe(H,ue){const xe=[];let lt=H.length;for(;lt--;)xe[lt]=ue(H[lt]);return xe}((H=H.replace(oe,".")).split("."),ue).join(".");return lt+Ve}function Qe(H){const ue=[];let xe=0;const lt=H.length;for(;xe<lt;){const We=H.charCodeAt(xe++);if(We>=55296&&We<=56319&&xe<lt){const Ve=H.charCodeAt(xe++);56320==(64512&Ve)?ue.push(((1023&We)<<10)+(1023&Ve)+65536):(ue.push(We),xe--)}else ue.push(We)}return ue}const Le=H=>String.fromCodePoint(...H),Oe=function(H){return H-48<10?H-22:H-65<26?H-65:H-97<26?H-97:m},nt=function(H,ue){return H+22+75*(H<26)-((0!=ue)<<5)},It=function(H,ue,xe){let lt=0;for(H=xe?we(H/700):H>>1,H+=we(H/ue);H>455;lt+=m)H=we(H/35);return we(lt+36*H/(H+38))},Je=function(H){const ue=[],xe=H.length;let lt=0,We=128,Ve=72,Te=H.lastIndexOf("-");Te<0&&(Te=0);for(let it=0;it<Te;++it)H.charCodeAt(it)>=128&&He("not-basic"),ue.push(H.charCodeAt(it));for(let it=Te>0?Te+1:0;it<xe;){let Ft=lt;for(let en=1,pn=m;;pn+=m){it>=xe&&He("invalid-input");const Sn=Oe(H.charCodeAt(it++));(Sn>=m||Sn>we((o-lt)/en))&&He("overflow"),lt+=Sn*en;const Ln=pn<=Ve?1:pn>=Ve+26?26:pn-Ve;if(Sn<Ln)break;const Jn=m-Ln;en>we(o/Jn)&&He("overflow"),en*=Jn}const Bt=ue.length+1;Ve=It(lt-Ft,Bt,0==Ft),we(lt/Bt)>o-We&&He("overflow"),We+=we(lt/Bt),lt%=Bt,ue.splice(lt++,0,We)}return String.fromCodePoint(...ue)},qe=function(H){const ue=[];let xe=(H=Qe(H)).length,lt=128,We=0,Ve=72;for(const Ft of H)Ft<128&&ue.push(be(Ft));let Te=ue.length,it=Te;for(Te&&ue.push("-");it<xe;){let Ft=o;for(const en of H)en>=lt&&en<Ft&&(Ft=en);const Bt=it+1;Ft-lt>we((o-We)/Bt)&&He("overflow"),We+=(Ft-lt)*Bt,lt=Ft;for(const en of H)if(en<lt&&++We>o&&He("overflow"),en==lt){let pn=We;for(let Sn=m;;Sn+=m){const Ln=Sn<=Ve?1:Sn>=Ve+26?26:Sn-Ve;if(pn<Ln)break;const Jn=pn-Ln,Vn=m-Ln;ue.push(be(nt(Ln+Jn%Vn,0))),pn=we(Jn/Vn)}ue.push(be(nt(pn,0))),Ve=It(We,Bt,it==Te),We=0,++it}++We,++lt}return ue.join("")},wt=function(H){return ct(H,(function(ue){return R.test(ue)?Je(ue.slice(4).toLowerCase()):ue}))},me=function(H){return ct(H,(function(ue){return G.test(ue)?"xn--"+qe(ue):ue}))},Z={version:"2.1.0",ucs2:{decode:Qe,encode:Le},decode:Je,encode:qe,toASCII:me,toUnicode:wt}},4412:(U,I,c)=>{"use strict";c.d(I,{t:()=>m});var o=c(1413);class m extends o.B{constructor(P){super(),this._value=P}get value(){return this.getValue()}_subscribe(P){const b=super._subscribe(P);return!b.closed&&P.next(this._value),b}getValue(){const{hasError:P,thrownError:b,_value:S}=this;if(P)throw b;return this._throwIfClosed(),S}next(P){super.next(this._value=P)}}},1985:(U,I,c)=>{"use strict";c.d(I,{c:()=>L});var o=c(7707),m=c(8359),T=c(3494),P=c(1203),b=c(1026),S=c(8071),x=c(9786);let L=(()=>{class oe{constructor(he){he&&(this._subscribe=he)}lift(he){const we=new oe;return we.source=this,we.operator=he,we}subscribe(he,we,be){const He=function G(oe){return oe&&oe instanceof o.vU||function R(oe){return oe&&(0,S.T)(oe.next)&&(0,S.T)(oe.error)&&(0,S.T)(oe.complete)}(oe)&&(0,m.Uv)(oe)}(he)?he:new o.Ms(he,we,be);return(0,x.Y)((()=>{const{operator:Fe,source:ct}=this;He.add(Fe?Fe.call(He,ct):ct?this._subscribe(He):this._trySubscribe(He))})),He}_trySubscribe(he){try{return this._subscribe(he)}catch(we){he.error(we)}}forEach(he,we){return new(we=j(we))(((be,He)=>{const Fe=new o.Ms({next:ct=>{try{he(ct)}catch(Qe){He(Qe),Fe.unsubscribe()}},error:He,complete:be});this.subscribe(Fe)}))}_subscribe(he){var we;return null===(we=this.source)||void 0===we?void 0:we.subscribe(he)}[T.s](){return this}pipe(...he){return(0,P.m)(he)(this)}toPromise(he){return new(he=j(he))(((we,be)=>{let He;this.subscribe((Fe=>He=Fe),(Fe=>be(Fe)),(()=>we(He)))}))}}return oe.create=ve=>new oe(ve),oe})();function j(oe){var ve;return null!==(ve=oe??b.$.Promise)&&void 0!==ve?ve:Promise}},1413:(U,I,c)=>{"use strict";c.d(I,{B:()=>x});var o=c(1985),m=c(8359);const P=(0,c(1853).L)((j=>function(){j(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}));var b=c(7908),S=c(9786);let x=(()=>{class j extends o.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(G){const oe=new L(this,this);return oe.operator=G,oe}_throwIfClosed(){if(this.closed)throw new P}next(G){(0,S.Y)((()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const oe of this.currentObservers)oe.next(G)}}))}error(G){(0,S.Y)((()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=G;const{observers:oe}=this;for(;oe.length;)oe.shift().error(G)}}))}complete(){(0,S.Y)((()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:G}=this;for(;G.length;)G.shift().complete()}}))}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var G;return(null===(G=this.observers)||void 0===G?void 0:G.length)>0}_trySubscribe(G){return this._throwIfClosed(),super._trySubscribe(G)}_subscribe(G){return this._throwIfClosed(),this._checkFinalizedStatuses(G),this._innerSubscribe(G)}_innerSubscribe(G){const{hasError:oe,isStopped:ve,observers:he}=this;return oe||ve?m.Kn:(this.currentObservers=null,he.push(G),new m.yU((()=>{this.currentObservers=null,(0,b.o)(he,G)})))}_checkFinalizedStatuses(G){const{hasError:oe,thrownError:ve,isStopped:he}=this;oe?G.error(ve):he&&G.complete()}asObservable(){const G=new o.c;return G.source=this,G}}return j.create=(R,G)=>new L(R,G),j})();class L extends x{constructor(R,G){super(),this.destination=R,this.source=G}next(R){var G,oe;null===(oe=null===(G=this.destination)||void 0===G?void 0:G.next)||void 0===oe||oe.call(G,R)}error(R){var G,oe;null===(oe=null===(G=this.destination)||void 0===G?void 0:G.error)||void 0===oe||oe.call(G,R)}complete(){var R,G;null===(G=null===(R=this.destination)||void 0===R?void 0:R.complete)||void 0===G||G.call(R)}_subscribe(R){var G,oe;return null!==(oe=null===(G=this.source)||void 0===G?void 0:G.subscribe(R))&&void 0!==oe?oe:m.Kn}}},7707:(U,I,c)=>{"use strict";c.d(I,{Ms:()=>be,vU:()=>oe});var o=c(8071),m=c(8359),T=c(1026),P=c(5334),b=c(5343);const S=j("C",void 0,void 0);function j(Le,Oe,nt){return{kind:Le,value:Oe,error:nt}}var R=c(9270),G=c(9786);class oe extends m.yU{constructor(Oe){super(),this.isStopped=!1,Oe?(this.destination=Oe,(0,m.Uv)(Oe)&&Oe.add(this)):this.destination=Qe}static create(Oe,nt,It){return new be(Oe,nt,It)}next(Oe){this.isStopped?ct(function L(Le){return j("N",Le,void 0)}(Oe),this):this._next(Oe)}error(Oe){this.isStopped?ct(function x(Le){return j("E",void 0,Le)}(Oe),this):(this.isStopped=!0,this._error(Oe))}complete(){this.isStopped?ct(S,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(Oe){this.destination.next(Oe)}_error(Oe){try{this.destination.error(Oe)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const ve=Function.prototype.bind;function he(Le,Oe){return ve.call(Le,Oe)}class we{constructor(Oe){this.partialObserver=Oe}next(Oe){const{partialObserver:nt}=this;if(nt.next)try{nt.next(Oe)}catch(It){He(It)}}error(Oe){const{partialObserver:nt}=this;if(nt.error)try{nt.error(Oe)}catch(It){He(It)}else He(Oe)}complete(){const{partialObserver:Oe}=this;if(Oe.complete)try{Oe.complete()}catch(nt){He(nt)}}}class be extends oe{constructor(Oe,nt,It){let Je;if(super(),(0,o.T)(Oe)||!Oe)Je={next:Oe??void 0,error:nt??void 0,complete:It??void 0};else{let qe;this&&T.$.useDeprecatedNextContext?(qe=Object.create(Oe),qe.unsubscribe=()=>this.unsubscribe(),Je={next:Oe.next&&he(Oe.next,qe),error:Oe.error&&he(Oe.error,qe),complete:Oe.complete&&he(Oe.complete,qe)}):Je=Oe}this.destination=new we(Je)}}function He(Le){T.$.useDeprecatedSynchronousErrorHandling?(0,G.l)(Le):(0,P.m)(Le)}function ct(Le,Oe){const{onStoppedNotification:nt}=T.$;nt&&R.f.setTimeout((()=>nt(Le,Oe)))}const Qe={closed:!0,next:b.l,error:function Fe(Le){throw Le},complete:b.l}},8359:(U,I,c)=>{"use strict";c.d(I,{Kn:()=>S,yU:()=>b,Uv:()=>x});var o=c(8071);const T=(0,c(1853).L)((j=>function(G){j(this),this.message=G?`${G.length} errors occurred during unsubscription:\n${G.map(((oe,ve)=>`${ve+1}) ${oe.toString()}`)).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=G}));var P=c(7908);class b{constructor(R){this.initialTeardown=R,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let R;if(!this.closed){this.closed=!0;const{_parentage:G}=this;if(G)if(this._parentage=null,Array.isArray(G))for(const he of G)he.remove(this);else G.remove(this);const{initialTeardown:oe}=this;if((0,o.T)(oe))try{oe()}catch(he){R=he instanceof T?he.errors:[he]}const{_finalizers:ve}=this;if(ve){this._finalizers=null;for(const he of ve)try{L(he)}catch(we){R=R??[],we instanceof T?R=[...R,...we.errors]:R.push(we)}}if(R)throw new T(R)}}add(R){var G;if(R&&R!==this)if(this.closed)L(R);else{if(R instanceof b){if(R.closed||R._hasParent(this))return;R._addParent(this)}(this._finalizers=null!==(G=this._finalizers)&&void 0!==G?G:[]).push(R)}}_hasParent(R){const{_parentage:G}=this;return G===R||Array.isArray(G)&&G.includes(R)}_addParent(R){const{_parentage:G}=this;this._parentage=Array.isArray(G)?(G.push(R),G):G?[G,R]:R}_removeParent(R){const{_parentage:G}=this;G===R?this._parentage=null:Array.isArray(G)&&(0,P.o)(G,R)}remove(R){const{_finalizers:G}=this;G&&(0,P.o)(G,R),R instanceof b&&R._removeParent(this)}}b.EMPTY=(()=>{const j=new b;return j.closed=!0,j})();const S=b.EMPTY;function x(j){return j instanceof b||j&&"closed"in j&&(0,o.T)(j.remove)&&(0,o.T)(j.add)&&(0,o.T)(j.unsubscribe)}function L(j){(0,o.T)(j)?j():j.unsubscribe()}},1026:(U,I,c)=>{"use strict";c.d(I,{$:()=>o});const o={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},8793:(U,I,c)=>{"use strict";c.d(I,{x:()=>b});var o=c(6365),T=c(9326),P=c(6648);function b(...S){return function m(){return(0,o.U)(1)}()((0,P.H)(S,(0,T.lI)(S)))}},983:(U,I,c)=>{"use strict";c.d(I,{w:()=>m});const m=new(c(1985).c)((b=>b.complete()))},6648:(U,I,c)=>{"use strict";c.d(I,{H:()=>It});var o=c(8750),m=c(5225),T=c(9974),P=c(4360);function b(Je,qe=0){return(0,T.N)(((wt,me)=>{wt.subscribe((0,P._)(me,(ie=>(0,m.N)(me,Je,(()=>me.next(ie)),qe)),(()=>(0,m.N)(me,Je,(()=>me.complete()),qe)),(ie=>(0,m.N)(me,Je,(()=>me.error(ie)),qe))))}))}function S(Je,qe=0){return(0,T.N)(((wt,me)=>{me.add(Je.schedule((()=>wt.subscribe(me)),qe))}))}var j=c(1985),G=c(4761),oe=c(8071);function he(Je,qe){if(!Je)throw new Error("Iterable cannot be null");return new j.c((wt=>{(0,m.N)(wt,qe,(()=>{const me=Je[Symbol.asyncIterator]();(0,m.N)(wt,qe,(()=>{me.next().then((ie=>{ie.done?wt.complete():wt.next(ie.value)}))}),0,!0)}))}))}var we=c(5055),be=c(9858),He=c(7441),Fe=c(5397),ct=c(7953),Qe=c(591),Le=c(5196);function It(Je,qe){return qe?function nt(Je,qe){if(null!=Je){if((0,we.l)(Je))return function x(Je,qe){return(0,o.Tg)(Je).pipe(S(qe),b(qe))}(Je,qe);if((0,He.X)(Je))return function R(Je,qe){return new j.c((wt=>{let me=0;return qe.schedule((function(){me===Je.length?wt.complete():(wt.next(Je[me++]),wt.closed||this.schedule())}))}))}(Je,qe);if((0,be.y)(Je))return function L(Je,qe){return(0,o.Tg)(Je).pipe(S(qe),b(qe))}(Je,qe);if((0,ct.T)(Je))return he(Je,qe);if((0,Fe.x)(Je))return function ve(Je,qe){return new j.c((wt=>{let me;return(0,m.N)(wt,qe,(()=>{me=Je[G.l](),(0,m.N)(wt,qe,(()=>{let ie,Z;try{({value:ie,done:Z}=me.next())}catch(H){return void wt.error(H)}Z?wt.complete():wt.next(ie)}),0,!0)})),()=>(0,oe.T)(me?.return)&&me.return()}))}(Je,qe);if((0,Le.U)(Je))return function Oe(Je,qe){return he((0,Le.C)(Je),qe)}(Je,qe)}throw(0,Qe.L)(Je)}(Je,qe):(0,o.Tg)(Je)}},3726:(U,I,c)=>{"use strict";c.d(I,{R:()=>R});var o=c(8750),m=c(1985),T=c(1397),P=c(7441),b=c(8071),S=c(6450);const x=["addListener","removeListener"],L=["addEventListener","removeEventListener"],j=["on","off"];function R(we,be,He,Fe){if((0,b.T)(He)&&(Fe=He,He=void 0),Fe)return R(we,be,He).pipe((0,S.I)(Fe));const[ct,Qe]=function he(we){return(0,b.T)(we.addEventListener)&&(0,b.T)(we.removeEventListener)}(we)?L.map((Le=>Oe=>we[Le](be,Oe,He))):function oe(we){return(0,b.T)(we.addListener)&&(0,b.T)(we.removeListener)}(we)?x.map(G(we,be)):function ve(we){return(0,b.T)(we.on)&&(0,b.T)(we.off)}(we)?j.map(G(we,be)):[];if(!ct&&(0,P.X)(we))return(0,T.Z)((Le=>R(Le,be,He)))((0,o.Tg)(we));if(!ct)throw new TypeError("Invalid event target");return new m.c((Le=>{const Oe=(...nt)=>Le.next(1<nt.length?nt:nt[0]);return ct(Oe),()=>Qe(Oe)}))}function G(we,be){return He=>Fe=>we[He](be,Fe)}},8750:(U,I,c)=>{"use strict";c.d(I,{Tg:()=>ve});var o=c(5215),m=c(7441),T=c(9858),P=c(1985),b=c(5055),S=c(7953),x=c(591),L=c(5397),j=c(5196),R=c(8071),G=c(5334),oe=c(3494);function ve(Le){if(Le instanceof P.c)return Le;if(null!=Le){if((0,b.l)(Le))return function he(Le){return new P.c((Oe=>{const nt=Le[oe.s]();if((0,R.T)(nt.subscribe))return nt.subscribe(Oe);throw new TypeError("Provided object does not correctly implement Symbol.observable")}))}(Le);if((0,m.X)(Le))return function we(Le){return new P.c((Oe=>{for(let nt=0;nt<Le.length&&!Oe.closed;nt++)Oe.next(Le[nt]);Oe.complete()}))}(Le);if((0,T.y)(Le))return function be(Le){return new P.c((Oe=>{Le.then((nt=>{Oe.closed||(Oe.next(nt),Oe.complete())}),(nt=>Oe.error(nt))).then(null,G.m)}))}(Le);if((0,S.T)(Le))return Fe(Le);if((0,L.x)(Le))return function He(Le){return new P.c((Oe=>{for(const nt of Le)if(Oe.next(nt),Oe.closed)return;Oe.complete()}))}(Le);if((0,j.U)(Le))return function ct(Le){return Fe((0,j.C)(Le))}(Le)}throw(0,x.L)(Le)}function Fe(Le){return new P.c((Oe=>{(function Qe(Le,Oe){var nt,It,Je,qe;return(0,o.sH)(this,void 0,void 0,(function*(){try{for(nt=(0,o.xN)(Le);!(It=yield nt.next()).done;)if(Oe.next(It.value),Oe.closed)return}catch(wt){Je={error:wt}}finally{try{It&&!It.done&&(qe=nt.return)&&(yield qe.call(nt))}finally{if(Je)throw Je.error}}Oe.complete()}))})(Le,Oe).catch((nt=>Oe.error(nt)))}))}},7786:(U,I,c)=>{"use strict";c.d(I,{h:()=>S});var o=c(6365),m=c(8750),T=c(983),P=c(9326),b=c(6648);function S(...x){const L=(0,P.lI)(x),j=(0,P.R0)(x,1/0),R=x;return R.length?1===R.length?(0,m.Tg)(R[0]):(0,o.U)(j)((0,b.H)(R,L)):T.w}},7673:(U,I,c)=>{"use strict";c.d(I,{of:()=>T});var o=c(9326),m=c(6648);function T(...P){const b=(0,o.lI)(P);return(0,m.H)(P,b)}},1584:(U,I,c)=>{"use strict";c.d(I,{O:()=>b});var o=c(1985),m=c(3236),T=c(9470);function b(S=0,x,L=m.b){let j=-1;return null!=x&&((0,T.m)(x)?L=x:j=x),new o.c((R=>{let G=function P(S){return S instanceof Date&&!isNaN(S)}(S)?+S-L.now():S;G<0&&(G=0);let oe=0;return L.schedule((function(){R.closed||(R.next(oe++),0<=j?this.schedule(void 0,j):R.complete())}),G)}))}},4360:(U,I,c)=>{"use strict";c.d(I,{_:()=>m});var o=c(7707);function m(P,b,S,x,L){return new T(P,b,S,x,L)}class T extends o.vU{constructor(b,S,x,L,j,R){super(b),this.onFinalize=j,this.shouldUnsubscribe=R,this._next=S?function(G){try{S(G)}catch(oe){b.error(oe)}}:super._next,this._error=L?function(G){try{L(G)}catch(oe){b.error(oe)}finally{this.unsubscribe()}}:super._error,this._complete=x?function(){try{x()}catch(G){b.error(G)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var b;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:S}=this;super.unsubscribe(),!S&&(null===(b=this.onFinalize)||void 0===b||b.call(this))}}}},3798:(U,I,c)=>{"use strict";c.d(I,{Z:()=>x});var o=c(3236),m=c(9974),T=c(8750),P=c(4360),S=c(1584);function x(L,j=o.E){return function b(L){return(0,m.N)(((j,R)=>{let G=!1,oe=null,ve=null,he=!1;const we=()=>{if(ve?.unsubscribe(),ve=null,G){G=!1;const He=oe;oe=null,R.next(He)}he&&R.complete()},be=()=>{ve=null,he&&R.complete()};j.subscribe((0,P._)(R,(He=>{G=!0,oe=He,ve||(0,T.Tg)(L(He)).subscribe(ve=(0,P._)(R,we,be))}),(()=>{he=!0,(!G||!ve||ve.closed)&&R.complete()})))}))}((()=>(0,S.O)(L,j)))}},274:(U,I,c)=>{"use strict";c.d(I,{H:()=>T});var o=c(1397),m=c(8071);function T(P,b){return(0,m.T)(b)?(0,o.Z)(P,b,1):(0,o.Z)(P,1)}},9901:(U,I,c)=>{"use strict";c.d(I,{U:()=>T});var o=c(9974),m=c(4360);function T(P){return(0,o.N)(((b,S)=>{let x=!1;b.subscribe((0,m._)(S,(L=>{x=!0,S.next(L)}),(()=>{x||S.next(P),S.complete()})))}))}},5964:(U,I,c)=>{"use strict";c.d(I,{p:()=>T});var o=c(9974),m=c(4360);function T(P,b){return(0,o.N)(((S,x)=>{let L=0;S.subscribe((0,m._)(x,(j=>P.call(b,j,L++)&&x.next(j))))}))}},980:(U,I,c)=>{"use strict";c.d(I,{j:()=>m});var o=c(9974);function m(T){return(0,o.N)(((P,b)=>{try{P.subscribe(b)}finally{b.add(T)}}))}},1594:(U,I,c)=>{"use strict";c.d(I,{$:()=>x});var o=c(9350),m=c(5964),T=c(6697),P=c(9901),b=c(3774),S=c(3669);function x(L,j){const R=arguments.length>=2;return G=>G.pipe(L?(0,m.p)(((oe,ve)=>L(oe,ve,G))):S.D,(0,T.s)(1),R?(0,P.U)(j):(0,b.v)((()=>new o.G)))}},6354:(U,I,c)=>{"use strict";c.d(I,{T:()=>T});var o=c(9974),m=c(4360);function T(P,b){return(0,o.N)(((S,x)=>{let L=0;S.subscribe((0,m._)(x,(j=>{x.next(P.call(b,j,L++))})))}))}},6365:(U,I,c)=>{"use strict";c.d(I,{U:()=>T});var o=c(1397),m=c(3669);function T(P=1/0){return(0,o.Z)(m.D,P)}},1397:(U,I,c)=>{"use strict";c.d(I,{Z:()=>L});var o=c(6354),m=c(8750),T=c(9974),P=c(5225),b=c(4360),x=c(8071);function L(j,R,G=1/0){return(0,x.T)(R)?L(((oe,ve)=>(0,o.T)(((he,we)=>R(oe,he,ve,we)))((0,m.Tg)(j(oe,ve)))),G):("number"==typeof R&&(G=R),(0,T.N)(((oe,ve)=>function S(j,R,G,oe,ve,he,we,be){const He=[];let Fe=0,ct=0,Qe=!1;const Le=()=>{Qe&&!He.length&&!Fe&&R.complete()},Oe=It=>Fe<oe?nt(It):He.push(It),nt=It=>{he&&R.next(It),Fe++;let Je=!1;(0,m.Tg)(G(It,ct++)).subscribe((0,b._)(R,(qe=>{ve?.(qe),he?Oe(qe):R.next(qe)}),(()=>{Je=!0}),void 0,(()=>{if(Je)try{for(Fe--;He.length&&Fe<oe;){const qe=He.shift();we?(0,P.N)(R,we,(()=>nt(qe))):nt(qe)}Le()}catch(qe){R.error(qe)}})))};return j.subscribe((0,b._)(R,Oe,(()=>{Qe=!0,Le()}))),()=>{be?.()}}(oe,ve,j,G))))}},253:(U,I,c)=>{"use strict";c.d(I,{t:()=>j});var o=c(1413),m=c(6129);class T extends o.B{constructor(G=1/0,oe=1/0,ve=m.U){super(),this._bufferSize=G,this._windowTime=oe,this._timestampProvider=ve,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=oe===1/0,this._bufferSize=Math.max(1,G),this._windowTime=Math.max(1,oe)}next(G){const{isStopped:oe,_buffer:ve,_infiniteTimeWindow:he,_timestampProvider:we,_windowTime:be}=this;oe||(ve.push(G),!he&&ve.push(we.now()+be)),this._trimBuffer(),super.next(G)}_subscribe(G){this._throwIfClosed(),this._trimBuffer();const oe=this._innerSubscribe(G),{_infiniteTimeWindow:ve,_buffer:he}=this,we=he.slice();for(let be=0;be<we.length&&!G.closed;be+=ve?1:2)G.next(we[be]);return this._checkFinalizedStatuses(G),oe}_trimBuffer(){const{_bufferSize:G,_timestampProvider:oe,_buffer:ve,_infiniteTimeWindow:he}=this,we=(he?1:2)*G;if(G<1/0&&we<ve.length&&ve.splice(0,ve.length-we),!he){const be=oe.now();let He=0;for(let Fe=1;Fe<ve.length&&ve[Fe]<=be;Fe+=2)He=Fe;He&&ve.splice(0,He+1)}}}var P=c(8750),b=c(7707),S=c(9974);function L(R,G,...oe){if(!0===G)return void R();if(!1===G)return;const ve=new b.Ms({next:()=>{ve.unsubscribe(),R()}});return G(...oe).subscribe(ve)}function j(R,G,oe){let ve,he=!1;return R&&"object"==typeof R?({bufferSize:ve=1/0,windowTime:G=1/0,refCount:he=!1,scheduler:oe}=R):ve=R??1/0,function x(R={}){const{connector:G=()=>new o.B,resetOnError:oe=!0,resetOnComplete:ve=!0,resetOnRefCountZero:he=!0}=R;return we=>{let be,He,Fe,ct=0,Qe=!1,Le=!1;const Oe=()=>{He?.unsubscribe(),He=void 0},nt=()=>{Oe(),be=Fe=void 0,Qe=Le=!1},It=()=>{const Je=be;nt(),Je?.unsubscribe()};return(0,S.N)(((Je,qe)=>{ct++,!Le&&!Qe&&Oe();const wt=Fe=Fe??G();qe.add((()=>{ct--,0===ct&&!Le&&!Qe&&(He=L(It,he))})),wt.subscribe(qe),!be&&ct>0&&(be=new b.Ms({next:me=>wt.next(me),error:me=>{Le=!0,Oe(),He=L(nt,oe,me),wt.error(me)},complete:()=>{Qe=!0,Oe(),He=L(nt,ve),wt.complete()}}),(0,P.Tg)(Je).subscribe(be))}))(we)}}({connector:()=>new T(ve,G,oe),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:he})}},9172:(U,I,c)=>{"use strict";c.d(I,{Z:()=>P});var o=c(8793),m=c(9326),T=c(9974);function P(...b){const S=(0,m.lI)(b);return(0,T.N)(((x,L)=>{(S?(0,o.x)(b,x,S):(0,o.x)(b,x)).subscribe(L)}))}},5558:(U,I,c)=>{"use strict";c.d(I,{n:()=>P});var o=c(8750),m=c(9974),T=c(4360);function P(b,S){return(0,m.N)(((x,L)=>{let j=null,R=0,G=!1;const oe=()=>G&&!j&&L.complete();x.subscribe((0,T._)(L,(ve=>{j?.unsubscribe();let he=0;const we=R++;(0,o.Tg)(b(ve,we)).subscribe(j=(0,T._)(L,(be=>L.next(S?S(ve,be,we,he++):be)),(()=>{j=null,oe()})))}),(()=>{G=!0,oe()})))}))}},6697:(U,I,c)=>{"use strict";c.d(I,{s:()=>P});var o=c(983),m=c(9974),T=c(4360);function P(b){return b<=0?()=>o.w:(0,m.N)(((S,x)=>{let L=0;S.subscribe((0,T._)(x,(j=>{++L<=b&&(x.next(j),b<=L&&x.complete())})))}))}},6977:(U,I,c)=>{"use strict";c.d(I,{Q:()=>b});var o=c(9974),m=c(4360),T=c(8750),P=c(5343);function b(S){return(0,o.N)(((x,L)=>{(0,T.Tg)(S).subscribe((0,m._)(L,(()=>L.complete()),P.l)),!L.closed&&x.subscribe(L)}))}},3774:(U,I,c)=>{"use strict";c.d(I,{v:()=>P});var o=c(9350),m=c(9974),T=c(4360);function P(S=b){return(0,m.N)(((x,L)=>{let j=!1;x.subscribe((0,T._)(L,(R=>{j=!0,L.next(R)}),(()=>j?L.complete():L.error(S()))))}))}function b(){return new o.G}},6780:(U,I,c)=>{"use strict";c.d(I,{R:()=>b});var o=c(8359);class m extends o.yU{constructor(x,L){super()}schedule(x,L=0){return this}}const T={setInterval(S,x,...L){const{delegate:j}=T;return j?.setInterval?j.setInterval(S,x,...L):setInterval(S,x,...L)},clearInterval(S){const{delegate:x}=T;return(x?.clearInterval||clearInterval)(S)},delegate:void 0};var P=c(7908);class b extends m{constructor(x,L){super(x,L),this.scheduler=x,this.work=L,this.pending=!1}schedule(x,L=0){var j;if(this.closed)return this;this.state=x;const R=this.id,G=this.scheduler;return null!=R&&(this.id=this.recycleAsyncId(G,R,L)),this.pending=!0,this.delay=L,this.id=null!==(j=this.id)&&void 0!==j?j:this.requestAsyncId(G,this.id,L),this}requestAsyncId(x,L,j=0){return T.setInterval(x.flush.bind(x,this),j)}recycleAsyncId(x,L,j=0){if(null!=j&&this.delay===j&&!1===this.pending)return L;null!=L&&T.clearInterval(L)}execute(x,L){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const j=this._execute(x,L);if(j)return j;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(x,L){let R,j=!1;try{this.work(x)}catch(G){j=!0,R=G||new Error("Scheduled action threw falsy error")}if(j)return this.unsubscribe(),R}unsubscribe(){if(!this.closed){const{id:x,scheduler:L}=this,{actions:j}=L;this.work=this.state=this.scheduler=null,this.pending=!1,(0,P.o)(j,this),null!=x&&(this.id=this.recycleAsyncId(L,x,null)),this.delay=null,super.unsubscribe()}}}},9687:(U,I,c)=>{"use strict";c.d(I,{q:()=>T});var o=c(6129);class m{constructor(b,S=m.now){this.schedulerActionCtor=b,this.now=S}schedule(b,S=0,x){return new this.schedulerActionCtor(this,b).schedule(x,S)}}m.now=o.U.now;class T extends m{constructor(b,S=m.now){super(b,S),this.actions=[],this._active=!1}flush(b){const{actions:S}=this;if(this._active)return void S.push(b);let x;this._active=!0;do{if(x=b.execute(b.state,b.delay))break}while(b=S.shift());if(this._active=!1,x){for(;b=S.shift();)b.unsubscribe();throw x}}}},3236:(U,I,c)=>{"use strict";c.d(I,{E:()=>T,b:()=>P});var o=c(6780);const T=new(c(9687).q)(o.R),P=T},6129:(U,I,c)=>{"use strict";c.d(I,{U:()=>o});const o={now:()=>(o.delegate||Date).now(),delegate:void 0}},9270:(U,I,c)=>{"use strict";c.d(I,{f:()=>o});const o={setTimeout(m,T,...P){const{delegate:b}=o;return b?.setTimeout?b.setTimeout(m,T,...P):setTimeout(m,T,...P)},clearTimeout(m){const{delegate:T}=o;return(T?.clearTimeout||clearTimeout)(m)},delegate:void 0}},4761:(U,I,c)=>{"use strict";c.d(I,{l:()=>m});const m=function o(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3494:(U,I,c)=>{"use strict";c.d(I,{s:()=>o});const o="function"==typeof Symbol&&Symbol.observable||"@@observable"},9350:(U,I,c)=>{"use strict";c.d(I,{G:()=>m});const m=(0,c(1853).L)((T=>function(){T(this),this.name="EmptyError",this.message="no elements in sequence"}))},9326:(U,I,c)=>{"use strict";c.d(I,{R0:()=>S,lI:()=>b,ms:()=>P});var o=c(8071),m=c(9470);function T(x){return x[x.length-1]}function P(x){return(0,o.T)(T(x))?x.pop():void 0}function b(x){return(0,m.m)(T(x))?x.pop():void 0}function S(x,L){return"number"==typeof T(x)?x.pop():L}},3073:(U,I,c)=>{"use strict";c.d(I,{D:()=>b});const{isArray:o}=Array,{getPrototypeOf:m,prototype:T,keys:P}=Object;function b(x){if(1===x.length){const L=x[0];if(o(L))return{args:L,keys:null};if(function S(x){return x&&"object"==typeof x&&m(x)===T}(L)){const j=P(L);return{args:j.map((R=>L[R])),keys:j}}}return{args:x,keys:null}}},7908:(U,I,c)=>{"use strict";function o(m,T){if(m){const P=m.indexOf(T);0<=P&&m.splice(P,1)}}c.d(I,{o:()=>o})},1853:(U,I,c)=>{"use strict";function o(m){const P=m((b=>{Error.call(b),b.stack=(new Error).stack}));return P.prototype=Object.create(Error.prototype),P.prototype.constructor=P,P}c.d(I,{L:()=>o})},8496:(U,I,c)=>{"use strict";function o(m,T){return m.reduce(((P,b,S)=>(P[b]=T[S],P)),{})}c.d(I,{e:()=>o})},9786:(U,I,c)=>{"use strict";c.d(I,{Y:()=>T,l:()=>P});var o=c(1026);let m=null;function T(b){if(o.$.useDeprecatedSynchronousErrorHandling){const S=!m;if(S&&(m={errorThrown:!1,error:null}),b(),S){const{errorThrown:x,error:L}=m;if(m=null,x)throw L}}else b()}function P(b){o.$.useDeprecatedSynchronousErrorHandling&&m&&(m.errorThrown=!0,m.error=b)}},5225:(U,I,c)=>{"use strict";function o(m,T,P,b=0,S=!1){const x=T.schedule((function(){P(),S?m.add(this.schedule(null,b)):this.unsubscribe()}),b);if(m.add(x),!S)return x}c.d(I,{N:()=>o})},3669:(U,I,c)=>{"use strict";function o(m){return m}c.d(I,{D:()=>o})},7441:(U,I,c)=>{"use strict";c.d(I,{X:()=>o});const o=m=>m&&"number"==typeof m.length&&"function"!=typeof m},7953:(U,I,c)=>{"use strict";c.d(I,{T:()=>m});var o=c(8071);function m(T){return Symbol.asyncIterator&&(0,o.T)(T?.[Symbol.asyncIterator])}},8071:(U,I,c)=>{"use strict";function o(m){return"function"==typeof m}c.d(I,{T:()=>o})},5055:(U,I,c)=>{"use strict";c.d(I,{l:()=>T});var o=c(3494),m=c(8071);function T(P){return(0,m.T)(P[o.s])}},5397:(U,I,c)=>{"use strict";c.d(I,{x:()=>T});var o=c(4761),m=c(8071);function T(P){return(0,m.T)(P?.[o.l])}},9858:(U,I,c)=>{"use strict";c.d(I,{y:()=>m});var o=c(8071);function m(T){return(0,o.T)(T?.then)}},5196:(U,I,c)=>{"use strict";c.d(I,{C:()=>T,U:()=>P});var o=c(5215),m=c(8071);function T(b){return(0,o.AQ)(this,arguments,(function*(){const x=b.getReader();try{for(;;){const{value:L,done:j}=yield(0,o.N3)(x.read());if(j)return yield(0,o.N3)(void 0);yield yield(0,o.N3)(L)}}finally{x.releaseLock()}}))}function P(b){return(0,m.T)(b?.getReader)}},9470:(U,I,c)=>{"use strict";c.d(I,{m:()=>m});var o=c(8071);function m(T){return T&&(0,o.T)(T.schedule)}},9974:(U,I,c)=>{"use strict";c.d(I,{N:()=>T,S:()=>m});var o=c(8071);function m(P){return(0,o.T)(P?.lift)}function T(P){return b=>{if(m(b))return b.lift((function(S){try{return P(S,this)}catch(x){this.error(x)}}));throw new TypeError("Unable to lift unknown Observable type")}}},6450:(U,I,c)=>{"use strict";c.d(I,{I:()=>P});var o=c(6354);const{isArray:m}=Array;function P(b){return(0,o.T)((S=>function T(b,S){return m(S)?b(...S):b(S)}(b,S)))}},5343:(U,I,c)=>{"use strict";function o(){}c.d(I,{l:()=>o})},1203:(U,I,c)=>{"use strict";c.d(I,{F:()=>m,m:()=>T});var o=c(3669);function m(...P){return T(P)}function T(P){return 0===P.length?o.D:1===P.length?P[0]:function(S){return P.reduce(((x,L)=>L(x)),S)}}},5334:(U,I,c)=>{"use strict";c.d(I,{m:()=>T});var o=c(1026),m=c(9270);function T(P){m.f.setTimeout((()=>{const{onUnhandledError:b}=o.$;if(!b)throw P;b(P)}))}},591:(U,I,c)=>{"use strict";function o(m){return new TypeError(`You provided ${null!==m&&"object"==typeof m?"an invalid object":`'${m}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}c.d(I,{L:()=>o})},6935:()=>{"use strict";const U=globalThis;function I(re){return(U.__Zone_symbol_prefix||"__zone_symbol__")+re}const m=Object.getOwnPropertyDescriptor,T=Object.defineProperty,P=Object.getPrototypeOf,b=Object.create,S=Array.prototype.slice,x="addEventListener",L="removeEventListener",j=I(x),R=I(L),G="true",oe="false",ve=I("");function he(re,ae){return Zone.current.wrap(re,ae)}function we(re,ae,Se,_e,ze){return Zone.current.scheduleMacroTask(re,ae,Se,_e,ze)}const be=I,He=typeof window<"u",Fe=He?window:void 0,ct=He&&Fe||globalThis,Qe="removeAttribute";function Le(re,ae){for(let Se=re.length-1;Se>=0;Se--)"function"==typeof re[Se]&&(re[Se]=he(re[Se],ae+"_"+Se));return re}function nt(re){return!re||!1!==re.writable&&!("function"==typeof re.get&&typeof re.set>"u")}const It=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Je=!("nw"in ct)&&typeof ct.process<"u"&&"[object process]"===ct.process.toString(),qe=!Je&&!It&&!(!He||!Fe.HTMLElement),wt=typeof ct.process<"u"&&"[object process]"===ct.process.toString()&&!It&&!(!He||!Fe.HTMLElement),me={},ie=be("enable_beforeunload"),Z=function(re){if(!(re=re||ct.event))return;let ae=me[re.type];ae||(ae=me[re.type]=be("ON_PROPERTY"+re.type));const Se=this||re.target||ct,_e=Se[ae];let ze;return qe&&Se===Fe&&"error"===re.type?(ze=_e&&_e.call(this,re.message,re.filename,re.lineno,re.colno,re.error),!0===ze&&re.preventDefault()):(ze=_e&&_e.apply(this,arguments),"beforeunload"===re.type&&ct[ie]&&"string"==typeof ze?re.returnValue=ze:null!=ze&&!ze&&re.preventDefault()),ze};function H(re,ae,Se){let _e=m(re,ae);if(!_e&&Se&&m(Se,ae)&&(_e={enumerable:!0,configurable:!0}),!_e||!_e.configurable)return;const ze=be("on"+ae+"patched");if(re.hasOwnProperty(ze)&&re[ze])return;delete _e.writable,delete _e.value;const ut=_e.get,Lt=_e.set,Nt=ae.slice(2);let At=me[Nt];At||(At=me[Nt]=be("ON_PROPERTY"+Nt)),_e.set=function(Ee){let fe=this;!fe&&re===ct&&(fe=ct),fe&&("function"==typeof fe[At]&&fe.removeEventListener(Nt,Z),Lt&&Lt.call(fe,null),fe[At]=Ee,"function"==typeof Ee&&fe.addEventListener(Nt,Z,!1))},_e.get=function(){let Ee=this;if(!Ee&&re===ct&&(Ee=ct),!Ee)return null;const fe=Ee[At];if(fe)return fe;if(ut){let q=ut.call(this);if(q)return _e.set.call(this,q),"function"==typeof Ee[Qe]&&Ee.removeAttribute(ae),q}return null},T(re,ae,_e),re[ze]=!0}function ue(re,ae,Se){if(ae)for(let _e=0;_e<ae.length;_e++)H(re,"on"+ae[_e],Se);else{const _e=[];for(const ze in re)"on"==ze.slice(0,2)&&_e.push(ze);for(let ze=0;ze<_e.length;ze++)H(re,_e[ze],Se)}}const xe=be("originalInstance");function lt(re){const ae=ct[re];if(!ae)return;ct[be(re)]=ae,ct[re]=function(){const ze=Le(arguments,re);switch(ze.length){case 0:this[xe]=new ae;break;case 1:this[xe]=new ae(ze[0]);break;case 2:this[xe]=new ae(ze[0],ze[1]);break;case 3:this[xe]=new ae(ze[0],ze[1],ze[2]);break;case 4:this[xe]=new ae(ze[0],ze[1],ze[2],ze[3]);break;default:throw new Error("Arg list too long.")}},Te(ct[re],ae);const Se=new ae((function(){}));let _e;for(_e in Se)"XMLHttpRequest"===re&&"responseBlob"===_e||function(ze){"function"==typeof Se[ze]?ct[re].prototype[ze]=function(){return this[xe][ze].apply(this[xe],arguments)}:T(ct[re].prototype,ze,{set:function(ut){"function"==typeof ut?(this[xe][ze]=he(ut,re+"."+ze),Te(this[xe][ze],ut)):this[xe][ze]=ut},get:function(){return this[xe][ze]}})}(_e);for(_e in ae)"prototype"!==_e&&ae.hasOwnProperty(_e)&&(ct[re][_e]=ae[_e])}function We(re,ae,Se){let _e=re;for(;_e&&!_e.hasOwnProperty(ae);)_e=P(_e);!_e&&re[ae]&&(_e=re);const ze=be(ae);let ut=null;if(_e&&(!(ut=_e[ze])||!_e.hasOwnProperty(ze))&&(ut=_e[ze]=_e[ae],nt(_e&&m(_e,ae)))){const Nt=Se(ut,ze,ae);_e[ae]=function(){return Nt(this,arguments)},Te(_e[ae],ut)}return ut}function Ve(re,ae,Se){let _e=null;function ze(ut){const Lt=ut.data;return Lt.args[Lt.cbIdx]=function(){ut.invoke.apply(this,arguments)},_e.apply(Lt.target,Lt.args),ut}_e=We(re,ae,(ut=>function(Lt,Nt){const At=Se(Lt,Nt);return At.cbIdx>=0&&"function"==typeof Nt[At.cbIdx]?we(At.name,Nt[At.cbIdx],At,ze):ut.apply(Lt,Nt)}))}function Te(re,ae){re[be("OriginalDelegate")]=ae}let it=!1,Ft=!1;function en(){if(it)return Ft;it=!0;try{const re=Fe.navigator.userAgent;(-1!==re.indexOf("MSIE ")||-1!==re.indexOf("Trident/")||-1!==re.indexOf("Edge/"))&&(Ft=!0)}catch{}return Ft}function pn(re){return"function"==typeof re}function Sn(re){return"number"==typeof re}let Ln=!1;if(typeof window<"u")try{const re=Object.defineProperty({},"passive",{get:function(){Ln=!0}});window.addEventListener("test",re,re),window.removeEventListener("test",re,re)}catch{Ln=!1}const Jn={useG:!0},Vn={},Un={},et=new RegExp("^"+ve+"(\\w+)(true|false)$"),gt=be("propagationStopped");function Ie(re,ae){const Se=(ae?ae(re):re)+oe,_e=(ae?ae(re):re)+G,ze=ve+Se,ut=ve+_e;Vn[re]={},Vn[re][oe]=ze,Vn[re][G]=ut}function tt(re,ae,Se,_e){const ze=_e&&_e.add||x,ut=_e&&_e.rm||L,Lt=_e&&_e.listeners||"eventListeners",Nt=_e&&_e.rmAll||"removeAllListeners",At=be(ze),Ee="."+ze+":",fe="prependListener",q="."+fe+":",de=function(Rt,Ot,Zt){if(Rt.isRemoved)return;const xn=Rt.callback;let Qn;"object"==typeof xn&&xn.handleEvent&&(Rt.callback=Qt=>xn.handleEvent(Qt),Rt.originalDelegate=xn);try{Rt.invoke(Rt,Ot,[Zt])}catch(Qt){Qn=Qt}const _n=Rt.options;return _n&&"object"==typeof _n&&_n.once&&Ot[ut].call(Ot,Zt.type,Rt.originalDelegate?Rt.originalDelegate:Rt.callback,_n),Qn};function Be(Rt,Ot,Zt){if(!(Ot=Ot||re.event))return;const xn=Rt||Ot.target||re,Qn=xn[Vn[Ot.type][Zt?G:oe]];if(Qn){const _n=[];if(1===Qn.length){const Qt=de(Qn[0],xn,Ot);Qt&&_n.push(Qt)}else{const Qt=Qn.slice();for(let Wn=0;Wn<Qt.length&&(!Ot||!0!==Ot[gt]);Wn++){const vn=de(Qt[Wn],xn,Ot);vn&&_n.push(vn)}}if(1===_n.length)throw _n[0];for(let Qt=0;Qt<_n.length;Qt++){const Wn=_n[Qt];ae.nativeScheduleMicroTask((()=>{throw Wn}))}}}const mt=function(Rt){return Be(this,Rt,!1)},Gt=function(Rt){return Be(this,Rt,!0)};function tn(Rt,Ot){if(!Rt)return!1;let Zt=!0;Ot&&void 0!==Ot.useG&&(Zt=Ot.useG);const xn=Ot&&Ot.vh;let Qn=!0;Ot&&void 0!==Ot.chkDup&&(Qn=Ot.chkDup);let _n=!1;Ot&&void 0!==Ot.rt&&(_n=Ot.rt);let Qt=Rt;for(;Qt&&!Qt.hasOwnProperty(ze);)Qt=P(Qt);if(!Qt&&Rt[ze]&&(Qt=Rt),!Qt||Qt[At])return!1;const Wn=Ot&&Ot.eventNameToString,vn={},cn=Qt[At]=Qt[ze],qt=Qt[be(ut)]=Qt[ut],un=Qt[be(Lt)]=Qt[Lt],er=Qt[be(Nt)]=Qt[Nt];let Zn;Ot&&Ot.prepend&&(Zn=Qt[be(Ot.prepend)]=Qt[Ot.prepend]);const Fn=Zt?function($e){if(!vn.isExisting)return cn.call(vn.target,vn.eventName,vn.capture?Gt:mt,vn.options)}:function($e){return cn.call(vn.target,vn.eventName,$e.invoke,vn.options)},Dn=Zt?function($e){if(!$e.isRemoved){const yt=Vn[$e.eventName];let Wt;yt&&(Wt=yt[$e.capture?G:oe]);const rn=Wt&&$e.target[Wt];if(rn)for(let Kt=0;Kt<rn.length;Kt++)if(rn[Kt]===$e){rn.splice(Kt,1),$e.isRemoved=!0,$e.removeAbortListener&&($e.removeAbortListener(),$e.removeAbortListener=null),0===rn.length&&($e.allRemoved=!0,$e.target[Wt]=null);break}}if($e.allRemoved)return qt.call($e.target,$e.eventName,$e.capture?Gt:mt,$e.options)}:function($e){return qt.call($e.target,$e.eventName,$e.invoke,$e.options)},fr=Ot&&Ot.diff?Ot.diff:function($e,yt){const Wt=typeof yt;return"function"===Wt&&$e.callback===yt||"object"===Wt&&$e.originalDelegate===yt},Ir=Zone[be("UNPATCHED_EVENTS")],sr=re[be("PASSIVE_EVENTS")],bt=function($e,yt,Wt,rn,Kt=!1,on=!1){return function(){const K=this||re;let Ge=arguments[0];Ot&&Ot.transferEventName&&(Ge=Ot.transferEventName(Ge));let $=arguments[1];if(!$)return $e.apply(this,arguments);if(Je&&"uncaughtException"===Ge)return $e.apply(this,arguments);let ce=!1;if("function"!=typeof $){if(!$.handleEvent)return $e.apply(this,arguments);ce=!0}if(xn&&!xn($e,$,K,arguments))return;const ot=Ln&&!!sr&&-1!==sr.indexOf(Ge),dn=function Mt($e){if("object"==typeof $e&&null!==$e){const yt={...$e};return $e.signal&&(yt.signal=$e.signal),yt}return $e}(function bn($e,yt){return!Ln&&"object"==typeof $e&&$e?!!$e.capture:Ln&&yt?"boolean"==typeof $e?{capture:$e,passive:!0}:$e?"object"==typeof $e&&!1!==$e.passive?{...$e,passive:!0}:$e:{passive:!0}:$e}(arguments[2],ot)),nn=dn?.signal;if(nn?.aborted)return;if(Ir)for(let z=0;z<Ir.length;z++)if(Ge===Ir[z])return ot?$e.call(K,Ge,$,dn):$e.apply(this,arguments);const tr=!!dn&&("boolean"==typeof dn||dn.capture),Qr=!(!dn||"object"!=typeof dn)&&dn.once,Zr=Zone.current;let Lr=Vn[Ge];Lr||(Ie(Ge,Wn),Lr=Vn[Ge]);const br=Lr[tr?G:oe];let qr,ii=K[br],ai=!1;if(ii){if(ai=!0,Qn)for(let z=0;z<ii.length;z++)if(fr(ii[z],$))return}else ii=K[br]=[];const bo=K.constructor.name,to=Un[bo];to&&(qr=to[Ge]),qr||(qr=bo+yt+(Wn?Wn(Ge):Ge)),vn.options=dn,Qr&&(vn.options.once=!1),vn.target=K,vn.capture=tr,vn.eventName=Ge,vn.isExisting=ai;const Ci=Zt?Jn:void 0;Ci&&(Ci.taskData=vn),nn&&(vn.options.signal=void 0);const Vr=Zr.scheduleEventTask(qr,$,Ci,Wt,rn);if(nn){vn.options.signal=nn;const z=()=>Vr.zone.cancelTask(Vr);$e.call(nn,"abort",z,{once:!0}),Vr.removeAbortListener=()=>nn.removeEventListener("abort",z)}return vn.target=null,Ci&&(Ci.taskData=null),Qr&&(vn.options.once=!0),!Ln&&"boolean"==typeof Vr.options||(Vr.options=dn),Vr.target=K,Vr.capture=tr,Vr.eventName=Ge,ce&&(Vr.originalDelegate=$),on?ii.unshift(Vr):ii.push(Vr),Kt?K:void 0}};return Qt[ze]=bt(cn,Ee,Fn,Dn,_n),Zn&&(Qt[fe]=bt(Zn,q,(function($e){return Zn.call(vn.target,vn.eventName,$e.invoke,vn.options)}),Dn,_n,!0)),Qt[ut]=function(){const $e=this||re;let yt=arguments[0];Ot&&Ot.transferEventName&&(yt=Ot.transferEventName(yt));const Wt=arguments[2],rn=!!Wt&&("boolean"==typeof Wt||Wt.capture),Kt=arguments[1];if(!Kt)return qt.apply(this,arguments);if(xn&&!xn(qt,Kt,$e,arguments))return;const on=Vn[yt];let K;on&&(K=on[rn?G:oe]);const Ge=K&&$e[K];if(Ge)for(let $=0;$<Ge.length;$++){const ce=Ge[$];if(fr(ce,Kt))return Ge.splice($,1),ce.isRemoved=!0,0!==Ge.length||(ce.allRemoved=!0,$e[K]=null,rn||"string"!=typeof yt)||($e[ve+"ON_PROPERTY"+yt]=null),ce.zone.cancelTask(ce),_n?$e:void 0}return qt.apply(this,arguments)},Qt[Lt]=function(){const $e=this||re;let yt=arguments[0];Ot&&Ot.transferEventName&&(yt=Ot.transferEventName(yt));const Wt=[],rn=Ze($e,Wn?Wn(yt):yt);for(let Kt=0;Kt<rn.length;Kt++){const on=rn[Kt];Wt.push(on.originalDelegate?on.originalDelegate:on.callback)}return Wt},Qt[Nt]=function(){const $e=this||re;let yt=arguments[0];if(yt){Ot&&Ot.transferEventName&&(yt=Ot.transferEventName(yt));const Wt=Vn[yt];if(Wt){const on=$e[Wt[oe]],K=$e[Wt[G]];if(on){const Ge=on.slice();for(let $=0;$<Ge.length;$++){const ce=Ge[$];this[ut].call(this,yt,ce.originalDelegate?ce.originalDelegate:ce.callback,ce.options)}}if(K){const Ge=K.slice();for(let $=0;$<Ge.length;$++){const ce=Ge[$];this[ut].call(this,yt,ce.originalDelegate?ce.originalDelegate:ce.callback,ce.options)}}}}else{const Wt=Object.keys($e);for(let rn=0;rn<Wt.length;rn++){const on=et.exec(Wt[rn]);let K=on&&on[1];K&&"removeListener"!==K&&this[Nt].call(this,K)}this[Nt].call(this,"removeListener")}if(_n)return this},Te(Qt[ze],cn),Te(Qt[ut],qt),er&&Te(Qt[Nt],er),un&&Te(Qt[Lt],un),!0}let ln=[];for(let Rt=0;Rt<Se.length;Rt++)ln[Rt]=tn(Se[Rt],_e);return ln}function Ze(re,ae){if(!ae){const ut=[];for(let Lt in re){const Nt=et.exec(Lt);let At=Nt&&Nt[1];if(At&&(!ae||At===ae)){const Ee=re[Lt];if(Ee)for(let fe=0;fe<Ee.length;fe++)ut.push(Ee[fe])}}return ut}let Se=Vn[ae];Se||(Ie(ae),Se=Vn[ae]);const _e=re[Se[oe]],ze=re[Se[G]];return _e?ze?_e.concat(ze):_e.slice():ze?ze.slice():[]}function yn(re,ae){const Se=re.Event;Se&&Se.prototype&&ae.patchMethod(Se.prototype,"stopImmediatePropagation",(_e=>function(ze,ut){ze[gt]=!0,_e&&_e.apply(ze,ut)}))}const _r=be("zoneTask");function Gn(re,ae,Se,_e){let ze=null,ut=null;Se+=_e;const Lt={};function Nt(Ee){const fe=Ee.data;fe.args[0]=function(){return Ee.invoke.apply(this,arguments)};const q=ze.apply(re,fe.args);return Sn(q)?fe.handleId=q:(fe.handle=q,fe.isRefreshable=pn(q.refresh)),Ee}function At(Ee){const{handle:fe,handleId:q}=Ee.data;return ut.call(re,fe??q)}ze=We(re,ae+=_e,(Ee=>function(fe,q){if(pn(q[0])){const de={isRefreshable:!1,isPeriodic:"Interval"===_e,delay:"Timeout"===_e||"Interval"===_e?q[1]||0:void 0,args:q},Be=q[0];q[0]=function(){try{return Be.apply(this,arguments)}finally{const{handle:Zt,handleId:xn,isPeriodic:Qn,isRefreshable:_n}=de;!Qn&&!_n&&(xn?delete Lt[xn]:Zt&&(Zt[_r]=null))}};const mt=we(ae,q[0],de,Nt,At);if(!mt)return mt;const{handleId:Gt,handle:tn,isRefreshable:ln,isPeriodic:Rt}=mt.data;if(Gt)Lt[Gt]=mt;else if(tn&&(tn[_r]=mt,ln&&!Rt)){const Ot=tn.refresh;tn.refresh=function(){const{zone:Zt,state:xn}=mt;return"notScheduled"===xn?(mt._state="scheduled",Zt._updateTaskCount(mt,1)):"running"===xn&&(mt._state="scheduling"),Ot.call(this)}}return tn??Gt??mt}return Ee.apply(re,q)})),ut=We(re,Se,(Ee=>function(fe,q){const de=q[0];let Be;Sn(de)?(Be=Lt[de],delete Lt[de]):(Be=de?.[_r],Be?de[_r]=null:Be=de),Be?.type?Be.cancelFn&&Be.zone.cancelTask(Be):Ee.apply(re,q)}))}function On(re,ae,Se){if(!Se||0===Se.length)return ae;const _e=Se.filter((ut=>ut.target===re));if(!_e||0===_e.length)return ae;const ze=_e[0].ignoreProperties;return ae.filter((ut=>-1===ze.indexOf(ut)))}function gn(re,ae,Se,_e){re&&ue(re,On(re,ae,Se),_e)}function ft(re){return Object.getOwnPropertyNames(re).filter((ae=>ae.startsWith("on")&&ae.length>2)).map((ae=>ae.substring(2)))}function _t(re,ae,Se,_e,ze){const ut=Zone.__symbol__(_e);if(ae[ut])return;const Lt=ae[ut]=ae[_e];ae[_e]=function(Nt,At,Ee){return At&&At.prototype&&ze.forEach((function(fe){const q=`${Se}.${_e}::`+fe,de=At.prototype;try{if(de.hasOwnProperty(fe)){const Be=re.ObjectGetOwnPropertyDescriptor(de,fe);Be&&Be.value?(Be.value=re.wrapWithCurrentZone(Be.value,q),re._redefineProperty(At.prototype,fe,Be)):de[fe]&&(de[fe]=re.wrapWithCurrentZone(de[fe],q))}else de[fe]&&(de[fe]=re.wrapWithCurrentZone(de[fe],q))}catch{}})),Lt.call(ae,Nt,At,Ee)},re.attachOriginToPatched(ae[_e],Lt)}const jt=function o(){const re=globalThis,ae=!0===re[I("forceDuplicateZoneCheck")];if(re.Zone&&(ae||"function"!=typeof re.Zone.__symbol__))throw new Error("Zone already loaded.");return re.Zone??=function c(){const re=U.performance;function ae(bn){re&&re.mark&&re.mark(bn)}function Se(bn,Vt){re&&re.measure&&re.measure(bn,Vt)}ae("Zone");let _e=(()=>{class bn{static#e=this.__symbol__=I;static assertZonePatched(){if(U.Promise!==vn.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let Pe=bn.current;for(;Pe.parent;)Pe=Pe.parent;return Pe}static get current(){return qt.zone}static get currentTask(){return un}static __load_patch(Pe,Re,zt=!1){if(vn.hasOwnProperty(Pe)){const Yt=!0===U[I("forceDuplicateZoneCheck")];if(!zt&&Yt)throw Error("Already loaded patch: "+Pe)}else if(!U["__Zone_disable_"+Pe]){const Yt="Zone:"+Pe;ae(Yt),vn[Pe]=Re(U,bn,cn),Se(Yt,Yt)}}get parent(){return this._parent}get name(){return this._name}constructor(Pe,Re){this._parent=Pe,this._name=Re?Re.name||"unnamed":"<root>",this._properties=Re&&Re.properties||{},this._zoneDelegate=new ut(this,this._parent&&this._parent._zoneDelegate,Re)}get(Pe){const Re=this.getZoneWith(Pe);if(Re)return Re._properties[Pe]}getZoneWith(Pe){let Re=this;for(;Re;){if(Re._properties.hasOwnProperty(Pe))return Re;Re=Re._parent}return null}fork(Pe){if(!Pe)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,Pe)}wrap(Pe,Re){if("function"!=typeof Pe)throw new Error("Expecting function got: "+Pe);const zt=this._zoneDelegate.intercept(this,Pe,Re),Yt=this;return function(){return Yt.runGuarded(zt,this,arguments,Re)}}run(Pe,Re,zt,Yt){qt={parent:qt,zone:this};try{return this._zoneDelegate.invoke(this,Pe,Re,zt,Yt)}finally{qt=qt.parent}}runGuarded(Pe,Re=null,zt,Yt){qt={parent:qt,zone:this};try{try{return this._zoneDelegate.invoke(this,Pe,Re,zt,Yt)}catch(Fn){if(this._zoneDelegate.handleError(this,Fn))throw Fn}}finally{qt=qt.parent}}runTask(Pe,Re,zt){if(Pe.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(Pe.zone||tn).name+"; Execution: "+this.name+")");const Yt=Pe,{type:Fn,data:{isPeriodic:Dn=!1,isRefreshable:wr=!1}={}}=Pe;if(Pe.state===ln&&(Fn===Wn||Fn===Qt))return;const fr=Pe.state!=Zt;fr&&Yt._transitionTo(Zt,Ot);const Ir=un;un=Yt,qt={parent:qt,zone:this};try{Fn==Qt&&Pe.data&&!Dn&&!wr&&(Pe.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,Yt,Re,zt)}catch(sr){if(this._zoneDelegate.handleError(this,sr))throw sr}}finally{const sr=Pe.state;if(sr!==ln&&sr!==Qn)if(Fn==Wn||Dn||wr&&sr===Rt)fr&&Yt._transitionTo(Ot,Zt,Rt);else{const Mt=Yt._zoneDelegates;this._updateTaskCount(Yt,-1),fr&&Yt._transitionTo(ln,Zt,ln),wr&&(Yt._zoneDelegates=Mt)}qt=qt.parent,un=Ir}}scheduleTask(Pe){if(Pe.zone&&Pe.zone!==this){let zt=this;for(;zt;){if(zt===Pe.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${Pe.zone.name}`);zt=zt.parent}}Pe._transitionTo(Rt,ln);const Re=[];Pe._zoneDelegates=Re,Pe._zone=this;try{Pe=this._zoneDelegate.scheduleTask(this,Pe)}catch(zt){throw Pe._transitionTo(Qn,Rt,ln),this._zoneDelegate.handleError(this,zt),zt}return Pe._zoneDelegates===Re&&this._updateTaskCount(Pe,1),Pe.state==Rt&&Pe._transitionTo(Ot,Rt),Pe}scheduleMicroTask(Pe,Re,zt,Yt){return this.scheduleTask(new Lt(_n,Pe,Re,zt,Yt,void 0))}scheduleMacroTask(Pe,Re,zt,Yt,Fn){return this.scheduleTask(new Lt(Qt,Pe,Re,zt,Yt,Fn))}scheduleEventTask(Pe,Re,zt,Yt,Fn){return this.scheduleTask(new Lt(Wn,Pe,Re,zt,Yt,Fn))}cancelTask(Pe){if(Pe.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(Pe.zone||tn).name+"; Execution: "+this.name+")");if(Pe.state===Ot||Pe.state===Zt){Pe._transitionTo(xn,Ot,Zt);try{this._zoneDelegate.cancelTask(this,Pe)}catch(Re){throw Pe._transitionTo(Qn,xn),this._zoneDelegate.handleError(this,Re),Re}return this._updateTaskCount(Pe,-1),Pe._transitionTo(ln,xn),Pe.runCount=-1,Pe}}_updateTaskCount(Pe,Re){const zt=Pe._zoneDelegates;-1==Re&&(Pe._zoneDelegates=null);for(let Yt=0;Yt<zt.length;Yt++)zt[Yt]._updateTaskCount(Pe.type,Re)}}return bn})();const ze={name:"",onHasTask:(bn,Vt,Pe,Re)=>bn.hasTask(Pe,Re),onScheduleTask:(bn,Vt,Pe,Re)=>bn.scheduleTask(Pe,Re),onInvokeTask:(bn,Vt,Pe,Re,zt,Yt)=>bn.invokeTask(Pe,Re,zt,Yt),onCancelTask:(bn,Vt,Pe,Re)=>bn.cancelTask(Pe,Re)};class ut{get zone(){return this._zone}constructor(Vt,Pe,Re){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this._zone=Vt,this._parentDelegate=Pe,this._forkZS=Re&&(Re&&Re.onFork?Re:Pe._forkZS),this._forkDlgt=Re&&(Re.onFork?Pe:Pe._forkDlgt),this._forkCurrZone=Re&&(Re.onFork?this._zone:Pe._forkCurrZone),this._interceptZS=Re&&(Re.onIntercept?Re:Pe._interceptZS),this._interceptDlgt=Re&&(Re.onIntercept?Pe:Pe._interceptDlgt),this._interceptCurrZone=Re&&(Re.onIntercept?this._zone:Pe._interceptCurrZone),this._invokeZS=Re&&(Re.onInvoke?Re:Pe._invokeZS),this._invokeDlgt=Re&&(Re.onInvoke?Pe:Pe._invokeDlgt),this._invokeCurrZone=Re&&(Re.onInvoke?this._zone:Pe._invokeCurrZone),this._handleErrorZS=Re&&(Re.onHandleError?Re:Pe._handleErrorZS),this._handleErrorDlgt=Re&&(Re.onHandleError?Pe:Pe._handleErrorDlgt),this._handleErrorCurrZone=Re&&(Re.onHandleError?this._zone:Pe._handleErrorCurrZone),this._scheduleTaskZS=Re&&(Re.onScheduleTask?Re:Pe._scheduleTaskZS),this._scheduleTaskDlgt=Re&&(Re.onScheduleTask?Pe:Pe._scheduleTaskDlgt),this._scheduleTaskCurrZone=Re&&(Re.onScheduleTask?this._zone:Pe._scheduleTaskCurrZone),this._invokeTaskZS=Re&&(Re.onInvokeTask?Re:Pe._invokeTaskZS),this._invokeTaskDlgt=Re&&(Re.onInvokeTask?Pe:Pe._invokeTaskDlgt),this._invokeTaskCurrZone=Re&&(Re.onInvokeTask?this._zone:Pe._invokeTaskCurrZone),this._cancelTaskZS=Re&&(Re.onCancelTask?Re:Pe._cancelTaskZS),this._cancelTaskDlgt=Re&&(Re.onCancelTask?Pe:Pe._cancelTaskDlgt),this._cancelTaskCurrZone=Re&&(Re.onCancelTask?this._zone:Pe._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const zt=Re&&Re.onHasTask;(zt||Pe&&Pe._hasTaskZS)&&(this._hasTaskZS=zt?Re:ze,this._hasTaskDlgt=Pe,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,Re.onScheduleTask||(this._scheduleTaskZS=ze,this._scheduleTaskDlgt=Pe,this._scheduleTaskCurrZone=this._zone),Re.onInvokeTask||(this._invokeTaskZS=ze,this._invokeTaskDlgt=Pe,this._invokeTaskCurrZone=this._zone),Re.onCancelTask||(this._cancelTaskZS=ze,this._cancelTaskDlgt=Pe,this._cancelTaskCurrZone=this._zone))}fork(Vt,Pe){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,Vt,Pe):new _e(Vt,Pe)}intercept(Vt,Pe,Re){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,Vt,Pe,Re):Pe}invoke(Vt,Pe,Re,zt,Yt){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,Vt,Pe,Re,zt,Yt):Pe.apply(Re,zt)}handleError(Vt,Pe){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,Vt,Pe)}scheduleTask(Vt,Pe){let Re=Pe;if(this._scheduleTaskZS)this._hasTaskZS&&Re._zoneDelegates.push(this._hasTaskDlgtOwner),Re=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,Vt,Pe),Re||(Re=Pe);else if(Pe.scheduleFn)Pe.scheduleFn(Pe);else{if(Pe.type!=_n)throw new Error("Task is missing scheduleFn.");mt(Pe)}return Re}invokeTask(Vt,Pe,Re,zt){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,Vt,Pe,Re,zt):Pe.callback.apply(Re,zt)}cancelTask(Vt,Pe){let Re;if(this._cancelTaskZS)Re=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,Vt,Pe);else{if(!Pe.cancelFn)throw Error("Task is not cancelable");Re=Pe.cancelFn(Pe)}return Re}hasTask(Vt,Pe){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,Vt,Pe)}catch(Re){this.handleError(Vt,Re)}}_updateTaskCount(Vt,Pe){const Re=this._taskCounts,zt=Re[Vt],Yt=Re[Vt]=zt+Pe;if(Yt<0)throw new Error("More tasks executed then were scheduled.");0!=zt&&0!=Yt||this.hasTask(this._zone,{microTask:Re.microTask>0,macroTask:Re.macroTask>0,eventTask:Re.eventTask>0,change:Vt})}}class Lt{constructor(Vt,Pe,Re,zt,Yt,Fn){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=Vt,this.source=Pe,this.data=zt,this.scheduleFn=Yt,this.cancelFn=Fn,!Re)throw new Error("callback is not defined");this.callback=Re;const Dn=this;this.invoke=Vt===Wn&&zt&&zt.useG?Lt.invokeTask:function(){return Lt.invokeTask.call(U,Dn,this,arguments)}}static invokeTask(Vt,Pe,Re){Vt||(Vt=this),er++;try{return Vt.runCount++,Vt.zone.runTask(Vt,Pe,Re)}finally{1==er&&Gt(),er--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(ln,Rt)}_transitionTo(Vt,Pe,Re){if(this._state!==Pe&&this._state!==Re)throw new Error(`${this.type} '${this.source}': can not transition to '${Vt}', expecting state '${Pe}'${Re?" or '"+Re+"'":""}, was '${this._state}'.`);this._state=Vt,Vt==ln&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const Nt=I("setTimeout"),At=I("Promise"),Ee=I("then");let de,fe=[],q=!1;function Be(bn){if(de||U[At]&&(de=U[At].resolve(0)),de){let Vt=de[Ee];Vt||(Vt=de.then),Vt.call(de,bn)}else U[Nt](bn,0)}function mt(bn){0===er&&0===fe.length&&Be(Gt),bn&&fe.push(bn)}function Gt(){if(!q){for(q=!0;fe.length;){const bn=fe;fe=[];for(let Vt=0;Vt<bn.length;Vt++){const Pe=bn[Vt];try{Pe.zone.runTask(Pe,null,null)}catch(Re){cn.onUnhandledError(Re)}}}cn.microtaskDrainDone(),q=!1}}const tn={name:"NO ZONE"},ln="notScheduled",Rt="scheduling",Ot="scheduled",Zt="running",xn="canceling",Qn="unknown",_n="microTask",Qt="macroTask",Wn="eventTask",vn={},cn={symbol:I,currentZoneFrame:()=>qt,onUnhandledError:Zn,microtaskDrainDone:Zn,scheduleMicroTask:mt,showUncaughtError:()=>!_e[I("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:Zn,patchMethod:()=>Zn,bindArguments:()=>[],patchThen:()=>Zn,patchMacroTask:()=>Zn,patchEventPrototype:()=>Zn,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>Zn,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>Zn,wrapWithCurrentZone:()=>Zn,filterProperties:()=>[],attachOriginToPatched:()=>Zn,_redefineProperty:()=>Zn,patchCallbacks:()=>Zn,nativeScheduleMicroTask:Be};let qt={parent:null,zone:new _e(null,null)},un=null,er=0;function Zn(){}return Se("Zone","Zone"),_e}(),re.Zone}();(function vt(re){(function ke(re){re.__load_patch("ZoneAwarePromise",((ae,Se,_e)=>{const ze=Object.getOwnPropertyDescriptor,ut=Object.defineProperty,Nt=_e.symbol,At=[],Ee=!1!==ae[Nt("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],fe=Nt("Promise"),q=Nt("then"),de="__creationTrace__";_e.onUnhandledError=Mt=>{if(_e.showUncaughtError()){const bt=Mt&&Mt.rejection;bt?console.error("Unhandled Promise rejection:",bt instanceof Error?bt.message:bt,"; Zone:",Mt.zone.name,"; Task:",Mt.task&&Mt.task.source,"; Value:",bt,bt instanceof Error?bt.stack:void 0):console.error(Mt)}},_e.microtaskDrainDone=()=>{for(;At.length;){const Mt=At.shift();try{Mt.zone.runGuarded((()=>{throw Mt.throwOriginal?Mt.rejection:Mt}))}catch(bt){mt(bt)}}};const Be=Nt("unhandledPromiseRejectionHandler");function mt(Mt){_e.onUnhandledError(Mt);try{const bt=Se[Be];"function"==typeof bt&&bt.call(this,Mt)}catch{}}function Gt(Mt){return Mt&&Mt.then}function tn(Mt){return Mt}function ln(Mt){return Dn.reject(Mt)}const Rt=Nt("state"),Ot=Nt("value"),Zt=Nt("finally"),xn=Nt("parentPromiseValue"),Qn=Nt("parentPromiseState"),_n="Promise.then",Qt=null,Wn=!0,vn=!1,cn=0;function qt(Mt,bt){return $e=>{try{bn(Mt,bt,$e)}catch(yt){bn(Mt,!1,yt)}}}const un=function(){let Mt=!1;return function($e){return function(){Mt||(Mt=!0,$e.apply(null,arguments))}}},er="Promise resolved with itself",Zn=Nt("currentTaskTrace");function bn(Mt,bt,$e){const yt=un();if(Mt===$e)throw new TypeError(er);if(Mt[Rt]===Qt){let Wt=null;try{("object"==typeof $e||"function"==typeof $e)&&(Wt=$e&&$e.then)}catch(rn){return yt((()=>{bn(Mt,!1,rn)}))(),Mt}if(bt!==vn&&$e instanceof Dn&&$e.hasOwnProperty(Rt)&&$e.hasOwnProperty(Ot)&&$e[Rt]!==Qt)Pe($e),bn(Mt,$e[Rt],$e[Ot]);else if(bt!==vn&&"function"==typeof Wt)try{Wt.call($e,yt(qt(Mt,bt)),yt(qt(Mt,!1)))}catch(rn){yt((()=>{bn(Mt,!1,rn)}))()}else{Mt[Rt]=bt;const rn=Mt[Ot];if(Mt[Ot]=$e,Mt[Zt]===Zt&&bt===Wn&&(Mt[Rt]=Mt[Qn],Mt[Ot]=Mt[xn]),bt===vn&&$e instanceof Error){const Kt=Se.currentTask&&Se.currentTask.data&&Se.currentTask.data[de];Kt&&ut($e,Zn,{configurable:!0,enumerable:!1,writable:!0,value:Kt})}for(let Kt=0;Kt<rn.length;)Re(Mt,rn[Kt++],rn[Kt++],rn[Kt++],rn[Kt++]);if(0==rn.length&&bt==vn){Mt[Rt]=cn;let Kt=$e;try{throw new Error("Uncaught (in promise): "+function Lt(Mt){return Mt&&Mt.toString===Object.prototype.toString?(Mt.constructor&&Mt.constructor.name||"")+": "+JSON.stringify(Mt):Mt?Mt.toString():Object.prototype.toString.call(Mt)}($e)+($e&&$e.stack?"\n"+$e.stack:""))}catch(on){Kt=on}Ee&&(Kt.throwOriginal=!0),Kt.rejection=$e,Kt.promise=Mt,Kt.zone=Se.current,Kt.task=Se.currentTask,At.push(Kt),_e.scheduleMicroTask()}}}return Mt}const Vt=Nt("rejectionHandledHandler");function Pe(Mt){if(Mt[Rt]===cn){try{const bt=Se[Vt];bt&&"function"==typeof bt&&bt.call(this,{rejection:Mt[Ot],promise:Mt})}catch{}Mt[Rt]=vn;for(let bt=0;bt<At.length;bt++)Mt===At[bt].promise&&At.splice(bt,1)}}function Re(Mt,bt,$e,yt,Wt){Pe(Mt);const rn=Mt[Rt],Kt=rn?"function"==typeof yt?yt:tn:"function"==typeof Wt?Wt:ln;bt.scheduleMicroTask(_n,(()=>{try{const on=Mt[Ot],K=!!$e&&Zt===$e[Zt];K&&($e[xn]=on,$e[Qn]=rn);const Ge=bt.run(Kt,void 0,K&&Kt!==ln&&Kt!==tn?[]:[on]);bn($e,!0,Ge)}catch(on){bn($e,!1,on)}}),$e)}const Yt=function(){},Fn=ae.AggregateError;class Dn{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(bt){return bt instanceof Dn?bt:bn(new this(null),Wn,bt)}static reject(bt){return bn(new this(null),vn,bt)}static withResolvers(){const bt={};return bt.promise=new Dn((($e,yt)=>{bt.resolve=$e,bt.reject=yt})),bt}static any(bt){if(!bt||"function"!=typeof bt[Symbol.iterator])return Promise.reject(new Fn([],"All promises were rejected"));const $e=[];let yt=0;try{for(let Kt of bt)yt++,$e.push(Dn.resolve(Kt))}catch{return Promise.reject(new Fn([],"All promises were rejected"))}if(0===yt)return Promise.reject(new Fn([],"All promises were rejected"));let Wt=!1;const rn=[];return new Dn(((Kt,on)=>{for(let K=0;K<$e.length;K++)$e[K].then((Ge=>{Wt||(Wt=!0,Kt(Ge))}),(Ge=>{rn.push(Ge),yt--,0===yt&&(Wt=!0,on(new Fn(rn,"All promises were rejected")))}))}))}static race(bt){let $e,yt,Wt=new this(((on,K)=>{$e=on,yt=K}));function rn(on){$e(on)}function Kt(on){yt(on)}for(let on of bt)Gt(on)||(on=this.resolve(on)),on.then(rn,Kt);return Wt}static all(bt){return Dn.allWithCallback(bt)}static allSettled(bt){return(this&&this.prototype instanceof Dn?this:Dn).allWithCallback(bt,{thenCallback:yt=>({status:"fulfilled",value:yt}),errorCallback:yt=>({status:"rejected",reason:yt})})}static allWithCallback(bt,$e){let yt,Wt,rn=new this(((Ge,$)=>{yt=Ge,Wt=$})),Kt=2,on=0;const K=[];for(let Ge of bt){Gt(Ge)||(Ge=this.resolve(Ge));const $=on;try{Ge.then((ce=>{K[$]=$e?$e.thenCallback(ce):ce,Kt--,0===Kt&&yt(K)}),(ce=>{$e?(K[$]=$e.errorCallback(ce),Kt--,0===Kt&&yt(K)):Wt(ce)}))}catch(ce){Wt(ce)}Kt++,on++}return Kt-=2,0===Kt&&yt(K),rn}constructor(bt){const $e=this;if(!($e instanceof Dn))throw new Error("Must be an instanceof Promise.");$e[Rt]=Qt,$e[Ot]=[];try{const yt=un();bt&&bt(yt(qt($e,Wn)),yt(qt($e,vn)))}catch(yt){bn($e,!1,yt)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return Dn}then(bt,$e){let yt=this.constructor?.[Symbol.species];(!yt||"function"!=typeof yt)&&(yt=this.constructor||Dn);const Wt=new yt(Yt),rn=Se.current;return this[Rt]==Qt?this[Ot].push(rn,Wt,bt,$e):Re(this,rn,Wt,bt,$e),Wt}catch(bt){return this.then(null,bt)}finally(bt){let $e=this.constructor?.[Symbol.species];(!$e||"function"!=typeof $e)&&($e=Dn);const yt=new $e(Yt);yt[Zt]=Zt;const Wt=Se.current;return this[Rt]==Qt?this[Ot].push(Wt,yt,bt,bt):Re(this,Wt,yt,bt,bt),yt}}Dn.resolve=Dn.resolve,Dn.reject=Dn.reject,Dn.race=Dn.race,Dn.all=Dn.all;const wr=ae[fe]=ae.Promise;ae.Promise=Dn;const fr=Nt("thenPatched");function Ir(Mt){const bt=Mt.prototype,$e=ze(bt,"then");if($e&&(!1===$e.writable||!$e.configurable))return;const yt=bt.then;bt[q]=yt,Mt.prototype.then=function(Wt,rn){return new Dn(((on,K)=>{yt.call(this,on,K)})).then(Wt,rn)},Mt[fr]=!0}return _e.patchThen=Ir,wr&&(Ir(wr),We(ae,"fetch",(Mt=>function sr(Mt){return function(bt,$e){let yt=Mt.apply(bt,$e);if(yt instanceof Dn)return yt;let Wt=yt.constructor;return Wt[fr]||Ir(Wt),yt}}(Mt)))),Promise[Se.__symbol__("uncaughtPromiseErrors")]=At,Dn}))})(re),function Xe(re){re.__load_patch("toString",(ae=>{const Se=Function.prototype.toString,_e=be("OriginalDelegate"),ze=be("Promise"),ut=be("Error"),Lt=function(){if("function"==typeof this){const fe=this[_e];if(fe)return"function"==typeof fe?Se.call(fe):Object.prototype.toString.call(fe);if(this===Promise){const q=ae[ze];if(q)return Se.call(q)}if(this===Error){const q=ae[ut];if(q)return Se.call(q)}}return Se.call(this)};Lt[_e]=Se,Function.prototype.toString=Lt;const Nt=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":Nt.call(this)}}))}(re),function Pt(re){re.__load_patch("util",((ae,Se,_e)=>{const ze=ft(ae);_e.patchOnProperties=ue,_e.patchMethod=We,_e.bindArguments=Le,_e.patchMacroTask=Ve;const ut=Se.__symbol__("BLACK_LISTED_EVENTS"),Lt=Se.__symbol__("UNPATCHED_EVENTS");ae[Lt]&&(ae[ut]=ae[Lt]),ae[ut]&&(Se[ut]=Se[Lt]=ae[ut]),_e.patchEventPrototype=yn,_e.patchEventTarget=tt,_e.isIEOrEdge=en,_e.ObjectDefineProperty=T,_e.ObjectGetOwnPropertyDescriptor=m,_e.ObjectCreate=b,_e.ArraySlice=S,_e.patchClass=lt,_e.wrapWithCurrentZone=he,_e.filterProperties=On,_e.attachOriginToPatched=Te,_e._redefineProperty=Object.defineProperty,_e.patchCallbacks=_t,_e.getGlobalObjects=()=>({globalSources:Un,zoneSymbolEventNames:Vn,eventNames:ze,isBrowser:qe,isMix:wt,isNode:Je,TRUE_STR:G,FALSE_STR:oe,ZONE_SYMBOL_PREFIX:ve,ADD_EVENT_LISTENER_STR:x,REMOVE_EVENT_LISTENER_STR:L})}))}(re)})(jt),function De(re){re.__load_patch("legacy",(ae=>{const Se=ae[re.__symbol__("legacyPatch")];Se&&Se()})),re.__load_patch("timers",(ae=>{const _e="clear";Gn(ae,"set",_e,"Timeout"),Gn(ae,"set",_e,"Interval"),Gn(ae,"set",_e,"Immediate")})),re.__load_patch("requestAnimationFrame",(ae=>{Gn(ae,"request","cancel","AnimationFrame"),Gn(ae,"mozRequest","mozCancel","AnimationFrame"),Gn(ae,"webkitRequest","webkitCancel","AnimationFrame")})),re.__load_patch("blocking",((ae,Se)=>{const _e=["alert","prompt","confirm"];for(let ze=0;ze<_e.length;ze++)We(ae,_e[ze],((Lt,Nt,At)=>function(Ee,fe){return Se.current.run(Lt,ae,fe,At)}))})),re.__load_patch("EventTarget",((ae,Se,_e)=>{(function Sr(re,ae){ae.patchEventPrototype(re,ae)})(ae,_e),function rr(re,ae){if(Zone[ae.symbol("patchEventTarget")])return;const{eventNames:Se,zoneSymbolEventNames:_e,TRUE_STR:ze,FALSE_STR:ut,ZONE_SYMBOL_PREFIX:Lt}=ae.getGlobalObjects();for(let At=0;At<Se.length;At++){const Ee=Se[At],de=Lt+(Ee+ut),Be=Lt+(Ee+ze);_e[Ee]={},_e[Ee][ut]=de,_e[Ee][ze]=Be}const Nt=re.EventTarget;Nt&&Nt.prototype&&ae.patchEventTarget(re,ae,[Nt&&Nt.prototype])}(ae,_e);const ze=ae.XMLHttpRequestEventTarget;ze&&ze.prototype&&_e.patchEventTarget(ae,_e,[ze.prototype])})),re.__load_patch("MutationObserver",((ae,Se,_e)=>{lt("MutationObserver"),lt("WebKitMutationObserver")})),re.__load_patch("IntersectionObserver",((ae,Se,_e)=>{lt("IntersectionObserver")})),re.__load_patch("FileReader",((ae,Se,_e)=>{lt("FileReader")})),re.__load_patch("on_property",((ae,Se,_e)=>{!function Q(re,ae){if(Je&&!wt||Zone[re.symbol("patchEvents")])return;const Se=ae.__Zone_ignore_on_properties;let _e=[];if(qe){const ze=window;_e=_e.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const ut=function Bt(){try{const re=Fe.navigator.userAgent;if(-1!==re.indexOf("MSIE ")||-1!==re.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:ze,ignoreProperties:["error"]}]:[];gn(ze,ft(ze),Se&&Se.concat(ut),P(ze))}_e=_e.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let ze=0;ze<_e.length;ze++){const ut=ae[_e[ze]];ut&&ut.prototype&&gn(ut.prototype,ft(ut.prototype),Se)}}(_e,ae)})),re.__load_patch("customElements",((ae,Se,_e)=>{!function Mr(re,ae){const{isBrowser:Se,isMix:_e}=ae.getGlobalObjects();(Se||_e)&&re.customElements&&"customElements"in re&&ae.patchCallbacks(ae,re.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"])}(ae,_e)})),re.__load_patch("XHR",((ae,Se)=>{!function Ee(fe){const q=fe.XMLHttpRequest;if(!q)return;const de=q.prototype;let mt=de[j],Gt=de[R];if(!mt){const cn=fe.XMLHttpRequestEventTarget;if(cn){const qt=cn.prototype;mt=qt[j],Gt=qt[R]}}const tn="readystatechange",ln="scheduled";function Rt(cn){const qt=cn.data,un=qt.target;un[Lt]=!1,un[At]=!1;const er=un[ut];mt||(mt=un[j],Gt=un[R]),er&&Gt.call(un,tn,er);const Zn=un[ut]=()=>{if(un.readyState===un.DONE)if(!qt.aborted&&un[Lt]&&cn.state===ln){const Vt=un[Se.__symbol__("loadfalse")];if(0!==un.status&&Vt&&Vt.length>0){const Pe=cn.invoke;cn.invoke=function(){const Re=un[Se.__symbol__("loadfalse")];for(let zt=0;zt<Re.length;zt++)Re[zt]===cn&&Re.splice(zt,1);!qt.aborted&&cn.state===ln&&Pe.call(cn)},Vt.push(cn)}else cn.invoke()}else!qt.aborted&&!1===un[Lt]&&(un[At]=!0)};return mt.call(un,tn,Zn),un[_e]||(un[_e]=cn),Wn.apply(un,qt.args),un[Lt]=!0,cn}function Ot(){}function Zt(cn){const qt=cn.data;return qt.aborted=!0,vn.apply(qt.target,qt.args)}const xn=We(de,"open",(()=>function(cn,qt){return cn[ze]=0==qt[2],cn[Nt]=qt[1],xn.apply(cn,qt)})),_n=be("fetchTaskAborting"),Qt=be("fetchTaskScheduling"),Wn=We(de,"send",(()=>function(cn,qt){if(!0===Se.current[Qt]||cn[ze])return Wn.apply(cn,qt);{const un={target:cn,url:cn[Nt],isPeriodic:!1,args:qt,aborted:!1},er=we("XMLHttpRequest.send",Ot,un,Rt,Zt);cn&&!0===cn[At]&&!un.aborted&&er.state===ln&&er.invoke()}})),vn=We(de,"abort",(()=>function(cn,qt){const un=function Be(cn){return cn[_e]}(cn);if(un&&"string"==typeof un.type){if(null==un.cancelFn||un.data&&un.data.aborted)return;un.zone.cancelTask(un)}else if(!0===Se.current[_n])return vn.apply(cn,qt)}))}(ae);const _e=be("xhrTask"),ze=be("xhrSync"),ut=be("xhrListener"),Lt=be("xhrScheduled"),Nt=be("xhrURL"),At=be("xhrErrorBeforeScheduled")})),re.__load_patch("geolocation",(ae=>{ae.navigator&&ae.navigator.geolocation&&function Oe(re,ae){const Se=re.constructor.name;for(let _e=0;_e<ae.length;_e++){const ze=ae[_e],ut=re[ze];if(ut){if(!nt(m(re,ze)))continue;re[ze]=(Nt=>{const At=function(){return Nt.apply(this,Le(arguments,Se+"."+ze))};return Te(At,Nt),At})(ut)}}}(ae.navigator.geolocation,["getCurrentPosition","watchPosition"])})),re.__load_patch("PromiseRejectionEvent",((ae,Se)=>{function _e(ze){return function(ut){Ze(ae,ze).forEach((Nt=>{const At=ae.PromiseRejectionEvent;if(At){const Ee=new At(ze,{promise:ut.promise,reason:ut.rejection});Nt.invoke(Ee)}}))}}ae.PromiseRejectionEvent&&(Se[be("unhandledPromiseRejectionHandler")]=_e("unhandledrejection"),Se[be("rejectionHandledHandler")]=_e("rejectionhandled"))})),re.__load_patch("queueMicrotask",((ae,Se,_e)=>{!function zn(re,ae){ae.patchMethod(re,"queueMicrotask",(Se=>function(_e,ze){Zone.current.scheduleMicroTask("queueMicrotask",ze[0])}))}(ae,_e)}))}(jt)},5215:(U,I,c)=>{"use strict";function b(me,ie,Z,H){var lt,ue=arguments.length,xe=ue<3?ie:null===H?H=Object.getOwnPropertyDescriptor(ie,Z):H;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)xe=Reflect.decorate(me,ie,Z,H);else for(var We=me.length-1;We>=0;We--)(lt=me[We])&&(xe=(ue<3?lt(xe):ue>3?lt(ie,Z,xe):lt(ie,Z))||xe);return ue>3&&xe&&Object.defineProperty(ie,Z,xe),xe}function x(me,ie){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(me,ie)}function L(me,ie,Z,H){return new(Z||(Z=Promise))((function(xe,lt){function We(it){try{Te(H.next(it))}catch(Ft){lt(Ft)}}function Ve(it){try{Te(H.throw(it))}catch(Ft){lt(Ft)}}function Te(it){it.done?xe(it.value):function ue(xe){return xe instanceof Z?xe:new Z((function(lt){lt(xe)}))}(it.value).then(We,Ve)}Te((H=H.apply(me,ie||[])).next())}))}function He(me){return this instanceof He?(this.v=me,this):new He(me)}function Fe(me,ie,Z){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ue,H=Z.apply(me,ie||[]),xe=[];return ue={},lt("next"),lt("throw"),lt("return"),ue[Symbol.asyncIterator]=function(){return this},ue;function lt(Bt){H[Bt]&&(ue[Bt]=function(en){return new Promise((function(pn,Sn){xe.push([Bt,en,pn,Sn])>1||We(Bt,en)}))})}function We(Bt,en){try{!function Ve(Bt){Bt.value instanceof He?Promise.resolve(Bt.value.v).then(Te,it):Ft(xe[0][2],Bt)}(H[Bt](en))}catch(pn){Ft(xe[0][3],pn)}}function Te(Bt){We("next",Bt)}function it(Bt){We("throw",Bt)}function Ft(Bt,en){Bt(en),xe.shift(),xe.length&&We(xe[0][0],xe[0][1])}}function Qe(me){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Z,ie=me[Symbol.asyncIterator];return ie?ie.call(me):(me=function oe(me){var ie="function"==typeof Symbol&&Symbol.iterator,Z=ie&&me[ie],H=0;if(Z)return Z.call(me);if(me&&"number"==typeof me.length)return{next:function(){return me&&H>=me.length&&(me=void 0),{value:me&&me[H++],done:!me}}};throw new TypeError(ie?"Object is not iterable.":"Symbol.iterator is not defined.")}(me),Z={},H("next"),H("throw"),H("return"),Z[Symbol.asyncIterator]=function(){return this},Z);function H(xe){Z[xe]=me[xe]&&function(lt){return new Promise((function(We,Ve){!function ue(xe,lt,We,Ve){Promise.resolve(Ve).then((function(Te){xe({value:Te,done:We})}),lt)}(We,Ve,(lt=me[xe](lt)).done,lt.value)}))}}}c.d(I,{AQ:()=>Fe,Cg:()=>b,N3:()=>He,Sn:()=>x,sH:()=>L,xN:()=>Qe})},9969:(U,I,c)=>{"use strict";c.d(I,{FX:()=>me,If:()=>T,K2:()=>L,S6:()=>Fe,hZ:()=>b,i0:()=>S,iF:()=>j,kY:()=>oe,kp:()=>P,sf:()=>qe,ui:()=>wt,wk:()=>R});var o=c(177),m=c(3953),T=function(ie){return ie[ie.State=0]="State",ie[ie.Transition=1]="Transition",ie[ie.Sequence=2]="Sequence",ie[ie.Group=3]="Group",ie[ie.Animate=4]="Animate",ie[ie.Keyframes=5]="Keyframes",ie[ie.Style=6]="Style",ie[ie.Trigger=7]="Trigger",ie[ie.Reference=8]="Reference",ie[ie.AnimateChild=9]="AnimateChild",ie[ie.AnimateRef=10]="AnimateRef",ie[ie.Query=11]="Query",ie[ie.Stagger=12]="Stagger",ie}(T||{});const P="*";function b(ie,Z){return{type:T.Trigger,name:ie,definitions:Z,options:{}}}function S(ie,Z=null){return{type:T.Animate,styles:Z,timings:ie}}function L(ie,Z=null){return{type:T.Sequence,steps:ie,options:Z}}function j(ie){return{type:T.Style,styles:ie,offset:null}}function R(ie,Z,H){return{type:T.State,name:ie,styles:Z,options:H}}function oe(ie,Z,H=null){return{type:T.Transition,expr:ie,animation:Z,options:H}}let Fe=(()=>{class ie{static#e=this.ɵfac=function(ue){return new(ue||ie)};static#t=this.ɵprov=m.jDH({token:ie,factory:()=>(0,m.WQX)(Qe),providedIn:"root"})}return ie})();class ct{}let Qe=(()=>{class ie extends Fe{constructor(H,ue){if(super(),this.animationModuleType=(0,m.WQX)(m.bc$,{optional:!0}),this._nextAnimationId=0,this._renderer=H.createRenderer(ue.body,{id:"0",encapsulation:m.gXe.None,styles:[],data:{animation:[]}}),null===this.animationModuleType&&!function Je(ie){const Z=ie.ɵtype;return 0===Z||1===Z}(this._renderer))throw new m.wOt(3600,!1)}build(H){const ue=this._nextAnimationId;this._nextAnimationId++;const xe=Array.isArray(H)?L(H):H;return nt(this._renderer,null,ue,"register",[xe]),new Le(ue,this._renderer)}static#e=this.ɵfac=function(ue){return new(ue||ie)(m.KVO(m._9s),m.KVO(o.qQ))};static#t=this.ɵprov=m.jDH({token:ie,factory:ie.ɵfac,providedIn:"root"})}return ie})();class Le extends ct{constructor(Z,H){super(),this._id=Z,this._renderer=H}create(Z,H){return new Oe(this._id,Z,H||{},this._renderer)}}class Oe{constructor(Z,H,ue,xe){this.id=Z,this.element=H,this._renderer=xe,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",ue)}_listen(Z,H){return this._renderer.listen(this.element,`@@${this.id}:${Z}`,H)}_command(Z,...H){nt(this._renderer,this.element,this.id,Z,H)}onDone(Z){this._listen("done",Z)}onStart(Z){this._listen("start",Z)}onDestroy(Z){this._listen("destroy",Z)}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(Z){this._command("setPosition",Z)}getPosition(){return function It(ie){const Z=ie.ɵtype;return 0===Z?ie:1===Z?ie.animationRenderer:null}(this._renderer)?.engine?.players[this.id]?.getPosition()??0}}function nt(ie,Z,H,ue,xe){ie.setProperty(Z,`@@${H}:${ue}`,xe)}class qe{constructor(Z=0,H=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=Z+H}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach((Z=>Z())),this._onDoneFns=[])}onStart(Z){this._originalOnStartFns.push(Z),this._onStartFns.push(Z)}onDone(Z){this._originalOnDoneFns.push(Z),this._onDoneFns.push(Z)}onDestroy(Z){this._onDestroyFns.push(Z)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask((()=>this._onFinish()))}_onStart(){this._onStartFns.forEach((Z=>Z())),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach((Z=>Z())),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(Z){this._position=this.totalTime?Z*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(Z){const H="start"==Z?this._onStartFns:this._onDoneFns;H.forEach((ue=>ue())),H.length=0}}class wt{constructor(Z){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=Z;let H=0,ue=0,xe=0;const lt=this.players.length;0==lt?queueMicrotask((()=>this._onFinish())):this.players.forEach((We=>{We.onDone((()=>{++H==lt&&this._onFinish()})),We.onDestroy((()=>{++ue==lt&&this._onDestroy()})),We.onStart((()=>{++xe==lt&&this._onStart()}))})),this.totalTime=this.players.reduce(((We,Ve)=>Math.max(We,Ve.totalTime)),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach((Z=>Z())),this._onDoneFns=[])}init(){this.players.forEach((Z=>Z.init()))}onStart(Z){this._onStartFns.push(Z)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach((Z=>Z())),this._onStartFns=[])}onDone(Z){this._onDoneFns.push(Z)}onDestroy(Z){this._onDestroyFns.push(Z)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach((Z=>Z.play()))}pause(){this.players.forEach((Z=>Z.pause()))}restart(){this.players.forEach((Z=>Z.restart()))}finish(){this._onFinish(),this.players.forEach((Z=>Z.finish()))}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach((Z=>Z.destroy())),this._onDestroyFns.forEach((Z=>Z())),this._onDestroyFns=[])}reset(){this.players.forEach((Z=>Z.reset())),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(Z){const H=Z*this.totalTime;this.players.forEach((ue=>{const xe=ue.totalTime?Math.min(1,H/ue.totalTime):1;ue.setPosition(xe)}))}getPosition(){const Z=this.players.reduce(((H,ue)=>null===H||ue.totalTime>H.totalTime?ue:H),null);return null!=Z?Z.getPosition():0}beforeDestroy(){this.players.forEach((Z=>{Z.beforeDestroy&&Z.beforeDestroy()}))}triggerCallback(Z){const H="start"==Z?this._onStartFns:this._onDoneFns;H.forEach((ue=>ue())),H.length=0}}const me="!"},177:(U,I,c)=>{"use strict";c.d(I,{AJ:()=>Gr,Jj:()=>to,MD:()=>wi,N0:()=>di,QT:()=>T,Sm:()=>be,Sq:()=>$e,T3:()=>Zr,UE:()=>li,VF:()=>b,Vy:()=>ki,Xr:()=>Gi,YU:()=>Ir,ZD:()=>P,_b:()=>Dn,aZ:()=>Fe,bT:()=>rn,e1:()=>$,fG:()=>ce,fw:()=>He,hb:()=>he,hj:()=>j,kB:()=>we,qQ:()=>x,ux:()=>Ge});var o=c(3953);let m=null;function T(){return m}function P(p){m??=p}class b{}const x=new o.nKC("");let L=(()=>{class p{historyGo(E){throw new Error("")}static#e=this.ɵfac=function(N){return new(N||p)};static#t=this.ɵprov=o.jDH({token:p,factory:()=>(0,o.WQX)(R),providedIn:"platform"})}return p})();const j=new o.nKC("");let R=(()=>{class p extends L{constructor(){super(),this._doc=(0,o.WQX)(x),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return T().getBaseHref(this._doc)}onPopState(E){const N=T().getGlobalEventTarget(this._doc,"window");return N.addEventListener("popstate",E,!1),()=>N.removeEventListener("popstate",E)}onHashChange(E){const N=T().getGlobalEventTarget(this._doc,"window");return N.addEventListener("hashchange",E,!1),()=>N.removeEventListener("hashchange",E)}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(E){this._location.pathname=E}pushState(E,N,se){this._history.pushState(E,N,se)}replaceState(E,N,se){this._history.replaceState(E,N,se)}forward(){this._history.forward()}back(){this._history.back()}historyGo(E=0){this._history.go(E)}getState(){return this._history.state}static#e=this.ɵfac=function(N){return new(N||p)};static#t=this.ɵprov=o.jDH({token:p,factory:()=>new p,providedIn:"platform"})}return p})();function G(p,F){if(0==p.length)return F;if(0==F.length)return p;let E=0;return p.endsWith("/")&&E++,F.startsWith("/")&&E++,2==E?p+F.substring(1):1==E?p+F:p+"/"+F}function oe(p){const F=p.match(/#|\?|$/),E=F&&F.index||p.length;return p.slice(0,E-("/"===p[E-1]?1:0))+p.slice(E)}function ve(p){return p&&"?"!==p[0]?"?"+p:p}let he=(()=>{class p{historyGo(E){throw new Error("")}static#e=this.ɵfac=function(N){return new(N||p)};static#t=this.ɵprov=o.jDH({token:p,factory:()=>(0,o.WQX)(be),providedIn:"root"})}return p})();const we=new o.nKC("");let be=(()=>{class p extends he{constructor(E,N){super(),this._platformLocation=E,this._removeListenerFns=[],this._baseHref=N??this._platformLocation.getBaseHrefFromDOM()??(0,o.WQX)(x).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(E){this._removeListenerFns.push(this._platformLocation.onPopState(E),this._platformLocation.onHashChange(E))}getBaseHref(){return this._baseHref}prepareExternalUrl(E){return G(this._baseHref,E)}path(E=!1){const N=this._platformLocation.pathname+ve(this._platformLocation.search),se=this._platformLocation.hash;return se&&E?`${N}${se}`:N}pushState(E,N,se,je){const ht=this.prepareExternalUrl(se+ve(je));this._platformLocation.pushState(E,N,ht)}replaceState(E,N,se,je){const ht=this.prepareExternalUrl(se+ve(je));this._platformLocation.replaceState(E,N,ht)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(E=0){this._platformLocation.historyGo?.(E)}static#e=this.ɵfac=function(N){return new(N||p)(o.KVO(L),o.KVO(we,8))};static#t=this.ɵprov=o.jDH({token:p,factory:p.ɵfac,providedIn:"root"})}return p})(),He=(()=>{class p extends he{constructor(E,N){super(),this._platformLocation=E,this._baseHref="",this._removeListenerFns=[],null!=N&&(this._baseHref=N)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(E){this._removeListenerFns.push(this._platformLocation.onPopState(E),this._platformLocation.onHashChange(E))}getBaseHref(){return this._baseHref}path(E=!1){const N=this._platformLocation.hash??"#";return N.length>0?N.substring(1):N}prepareExternalUrl(E){const N=G(this._baseHref,E);return N.length>0?"#"+N:N}pushState(E,N,se,je){let ht=this.prepareExternalUrl(se+ve(je));0==ht.length&&(ht=this._platformLocation.pathname),this._platformLocation.pushState(E,N,ht)}replaceState(E,N,se,je){let ht=this.prepareExternalUrl(se+ve(je));0==ht.length&&(ht=this._platformLocation.pathname),this._platformLocation.replaceState(E,N,ht)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(E=0){this._platformLocation.historyGo?.(E)}static#e=this.ɵfac=function(N){return new(N||p)(o.KVO(L),o.KVO(we,8))};static#t=this.ɵprov=o.jDH({token:p,factory:p.ɵfac})}return p})(),Fe=(()=>{class p{constructor(E){this._subject=new o.bkB,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=E;const N=this._locationStrategy.getBaseHref();this._basePath=function Oe(p){if(new RegExp("^(https?:)?//").test(p)){const[,E]=p.split(/\/\/[^\/]+/);return E}return p}(oe(Le(N))),this._locationStrategy.onPopState((se=>{this._subject.emit({url:this.path(!0),pop:!0,state:se.state,type:se.type})}))}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(E=!1){return this.normalize(this._locationStrategy.path(E))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(E,N=""){return this.path()==this.normalize(E+ve(N))}normalize(E){return p.stripTrailingSlash(function Qe(p,F){if(!p||!F.startsWith(p))return F;const E=F.substring(p.length);return""===E||["/",";","?","#"].includes(E[0])?E:F}(this._basePath,Le(E)))}prepareExternalUrl(E){return E&&"/"!==E[0]&&(E="/"+E),this._locationStrategy.prepareExternalUrl(E)}go(E,N="",se=null){this._locationStrategy.pushState(se,"",E,N),this._notifyUrlChangeListeners(this.prepareExternalUrl(E+ve(N)),se)}replaceState(E,N="",se=null){this._locationStrategy.replaceState(se,"",E,N),this._notifyUrlChangeListeners(this.prepareExternalUrl(E+ve(N)),se)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(E=0){this._locationStrategy.historyGo?.(E)}onUrlChange(E){return this._urlChangeListeners.push(E),this._urlChangeSubscription??=this.subscribe((N=>{this._notifyUrlChangeListeners(N.url,N.state)})),()=>{const N=this._urlChangeListeners.indexOf(E);this._urlChangeListeners.splice(N,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(E="",N){this._urlChangeListeners.forEach((se=>se(E,N)))}subscribe(E,N,se){return this._subject.subscribe({next:E,error:N,complete:se})}static#e=this.normalizeQueryParams=ve;static#t=this.joinWithSlash=G;static#n=this.stripTrailingSlash=oe;static#r=this.ɵfac=function(N){return new(N||p)(o.KVO(he))};static#i=this.ɵprov=o.jDH({token:p,factory:()=>function ct(){return new Fe((0,o.KVO)(he))}(),providedIn:"root"})}return p})();function Le(p){return p.replace(/\/index.html$/,"")}function Dn(p,F){F=encodeURIComponent(F);for(const E of p.split(";")){const N=E.indexOf("="),[se,je]=-1==N?[E,""]:[E.slice(0,N),E.slice(N+1)];if(se.trim()===F)return decodeURIComponent(je)}return null}const wr=/\s+/,fr=[];let Ir=(()=>{class p{constructor(E,N){this._ngEl=E,this._renderer=N,this.initialClasses=fr,this.stateMap=new Map}set klass(E){this.initialClasses=null!=E?E.trim().split(wr):fr}set ngClass(E){this.rawClass="string"==typeof E?E.trim().split(wr):E}ngDoCheck(){for(const N of this.initialClasses)this._updateState(N,!0);const E=this.rawClass;if(Array.isArray(E)||E instanceof Set)for(const N of E)this._updateState(N,!0);else if(null!=E)for(const N of Object.keys(E))this._updateState(N,!!E[N]);this._applyStateDiff()}_updateState(E,N){const se=this.stateMap.get(E);void 0!==se?(se.enabled!==N&&(se.changed=!0,se.enabled=N),se.touched=!0):this.stateMap.set(E,{enabled:N,changed:!0,touched:!0})}_applyStateDiff(){for(const E of this.stateMap){const N=E[0],se=E[1];se.changed?(this._toggleClass(N,se.enabled),se.changed=!1):se.touched||(se.enabled&&this._toggleClass(N,!1),this.stateMap.delete(N)),se.touched=!1}}_toggleClass(E,N){(E=E.trim()).length>0&&E.split(wr).forEach((se=>{N?this._renderer.addClass(this._ngEl.nativeElement,se):this._renderer.removeClass(this._ngEl.nativeElement,se)}))}static#e=this.ɵfac=function(N){return new(N||p)(o.rXU(o.aKT),o.rXU(o.sFG))};static#t=this.ɵdir=o.FsC({type:p,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}return p})();class bt{constructor(F,E,N,se){this.$implicit=F,this.ngForOf=E,this.index=N,this.count=se}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 $e=(()=>{class p{set ngForOf(E){this._ngForOf=E,this._ngForOfDirty=!0}set ngForTrackBy(E){this._trackByFn=E}get ngForTrackBy(){return this._trackByFn}constructor(E,N,se){this._viewContainer=E,this._template=N,this._differs=se,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(E){E&&(this._template=E)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const E=this._ngForOf;!this._differ&&E&&(this._differ=this._differs.find(E).create(this.ngForTrackBy))}if(this._differ){const E=this._differ.diff(this._ngForOf);E&&this._applyChanges(E)}}_applyChanges(E){const N=this._viewContainer;E.forEachOperation(((se,je,ht)=>{if(null==se.previousIndex)N.createEmbeddedView(this._template,new bt(se.item,this._ngForOf,-1,-1),null===ht?void 0:ht);else if(null==ht)N.remove(null===je?void 0:je);else if(null!==je){const Ut=N.get(je);N.move(Ut,ht),yt(Ut,se)}}));for(let se=0,je=N.length;se<je;se++){const Ut=N.get(se).context;Ut.index=se,Ut.count=je,Ut.ngForOf=this._ngForOf}E.forEachIdentityChange((se=>{yt(N.get(se.currentIndex),se)}))}static ngTemplateContextGuard(E,N){return!0}static#e=this.ɵfac=function(N){return new(N||p)(o.rXU(o.c1b),o.rXU(o.C4Q),o.rXU(o._q3))};static#t=this.ɵdir=o.FsC({type:p,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return p})();function yt(p,F){p.context.$implicit=F.item}let rn=(()=>{class p{constructor(E,N){this._viewContainer=E,this._context=new Kt,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=N}set ngIf(E){this._context.$implicit=this._context.ngIf=E,this._updateView()}set ngIfThen(E){on("ngIfThen",E),this._thenTemplateRef=E,this._thenViewRef=null,this._updateView()}set ngIfElse(E){on("ngIfElse",E),this._elseTemplateRef=E,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(E,N){return!0}static#e=this.ɵfac=function(N){return new(N||p)(o.rXU(o.c1b),o.rXU(o.C4Q))};static#t=this.ɵdir=o.FsC({type:p,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return p})();class Kt{constructor(){this.$implicit=null,this.ngIf=null}}function on(p,F){if(F&&!F.createEmbeddedView)throw new Error(`${p} must be a TemplateRef, but received '${(0,o.Tbb)(F)}'.`)}class K{constructor(F,E){this._viewContainerRef=F,this._templateRef=E,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(F){F&&!this._created?this.create():!F&&this._created&&this.destroy()}}let Ge=(()=>{class p{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(E){this._ngSwitch=E,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(E){this._defaultViews.push(E)}_matchCase(E){const N=E===this._ngSwitch;return this._lastCasesMatched||=N,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),N}_updateDefaultCases(E){if(this._defaultViews.length>0&&E!==this._defaultUsed){this._defaultUsed=E;for(const N of this._defaultViews)N.enforceState(E)}}static#e=this.ɵfac=function(N){return new(N||p)};static#t=this.ɵdir=o.FsC({type:p,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return p})(),$=(()=>{class p{constructor(E,N,se){this.ngSwitch=se,se._addCase(),this._view=new K(E,N)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.ɵfac=function(N){return new(N||p)(o.rXU(o.c1b),o.rXU(o.C4Q),o.rXU(Ge,9))};static#t=this.ɵdir=o.FsC({type:p,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return p})(),ce=(()=>{class p{constructor(E,N,se){se._addDefault(new K(E,N))}static#e=this.ɵfac=function(N){return new(N||p)(o.rXU(o.c1b),o.rXU(o.C4Q),o.rXU(Ge,9))};static#t=this.ɵdir=o.FsC({type:p,selectors:[["","ngSwitchDefault",""]],standalone:!0})}return p})(),Zr=(()=>{class p{constructor(E){this._viewContainerRef=E,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(E){if(this._shouldRecreateView(E)){const N=this._viewContainerRef;if(this._viewRef&&N.remove(N.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const se=this._createContextForwardProxy();this._viewRef=N.createEmbeddedView(this.ngTemplateOutlet,se,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(E){return!!E.ngTemplateOutlet||!!E.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(E,N,se)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,N,se),get:(E,N,se)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,N,se)}})}static#e=this.ɵfac=function(N){return new(N||p)(o.rXU(o.c1b))};static#t=this.ɵdir=o.FsC({type:p,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[o.OA$]})}return p})();class ii{createSubscription(F,E){return(0,o.O8t)((()=>F.subscribe({next:E,error:N=>{throw N}})))}dispose(F){(0,o.O8t)((()=>F.unsubscribe()))}}class ai{createSubscription(F,E){return F.then(E,(N=>{throw N}))}dispose(F){}}const qr=new ai,bo=new ii;let to=(()=>{class p{constructor(E){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=E}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(E){if(!this._obj){if(E)try{this.markForCheckOnValueUpdate=!1,this._subscribe(E)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return E!==this._obj?(this._dispose(),this.transform(E)):this._latestValue}_subscribe(E){this._obj=E,this._strategy=this._selectStrategy(E),this._subscription=this._strategy.createSubscription(E,(N=>this._updateLatestValue(E,N)))}_selectStrategy(E){if((0,o.jNT)(E))return qr;if((0,o.zjR)(E))return bo;throw function br(p,F){return new o.wOt(2100,!1)}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(E,N){E===this._obj&&(this._latestValue=N,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static#e=this.ɵfac=function(N){return new(N||p)(o.rXU(o.gRc,16))};static#t=this.ɵpipe=o.EJ8({name:"async",type:p,pure:!1,standalone:!0})}return p})(),wi=(()=>{class p{static#e=this.ɵfac=function(N){return new(N||p)};static#t=this.ɵmod=o.$C({type:p});static#n=this.ɵinj=o.G2t({})}return p})();const Gr="browser",bi="server";function li(p){return p===Gr}function ki(p){return p===bi}let Gi=(()=>{class p{static#e=this.ɵprov=(0,o.jDH)({token:p,providedIn:"root",factory:()=>li((0,o.WQX)(o.Agw))?new qo((0,o.WQX)(x),window):new ui})}return p})();class qo{constructor(F,E){this.document=F,this.window=E,this.offset=()=>[0,0]}setOffset(F){this.offset=Array.isArray(F)?()=>F:F}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(F){this.window.scrollTo(F[0],F[1])}scrollToAnchor(F){const E=function Do(p,F){const E=p.getElementById(F)||p.getElementsByName(F)[0];if(E)return E;if("function"==typeof p.createTreeWalker&&p.body&&"function"==typeof p.body.attachShadow){const N=p.createTreeWalker(p.body,NodeFilter.SHOW_ELEMENT);let se=N.currentNode;for(;se;){const je=se.shadowRoot;if(je){const ht=je.getElementById(F)||je.querySelector(`[name="${F}"]`);if(ht)return ht}se=N.nextNode()}}return null}(this.document,F);E&&(this.scrollToElement(E),E.focus())}setHistoryScrollRestoration(F){this.window.history.scrollRestoration=F}scrollToElement(F){const E=F.getBoundingClientRect(),N=E.left+this.window.pageXOffset,se=E.top+this.window.pageYOffset,je=this.offset();this.window.scrollTo(N-je[0],se-je[1])}}class ui{setOffset(F){}getScrollPosition(){return[0,0]}scrollToPosition(F){}scrollToAnchor(F){}setHistoryScrollRestoration(F){}}class di{}},3953:(U,I,c)=>{"use strict";function o(e,t){return Object.is(e,t)}c.d(I,{bc$:()=>yD,iLQ:()=>Ed,sZ2:()=>mu,hnV:()=>Tw,Hbi:()=>Hx,o8S:()=>_s,BIS:()=>CD,gRc:()=>Hw,Ql9:()=>ux,OM3:()=>sc,Ocv:()=>_x,Z63:()=>xo,aKT:()=>Nl,uvJ:()=>Ro,zcH:()=>Os,bkB:()=>hs,$GK:()=>jn,nKC:()=>En,zZn:()=>Ri,_q3:()=>rg,MKu:()=>ig,xe9:()=>Zp,Co$:()=>Ey,Vns:()=>ua,SKi:()=>zr,Xx1:()=>Qi,Agw:()=>_u,PLl:()=>Wm,sFG:()=>cS,_9s:()=>Bf,czy:()=>Pu,kdw:()=>mo,C4Q:()=>ql,NYb:()=>rx,giA:()=>Dw,RxE:()=>mw,c1b:()=>Ku,gXe:()=>ss,mal:()=>td,L39:()=>yN,EWP:()=>EN,Ol2:()=>tp,w6W:()=>eI,oH4:()=>Vw,SmG:()=>Sx,Rfq:()=>Oi,WQX:()=>Et,naY:()=>Tx,QuC:()=>Ce,EmA:()=>ao,fpN:()=>jx,HJs:()=>IN,N4e:()=>Nb,vPA:()=>ry,O8t:()=>wN,H3F:()=>_w,zAP:()=>fb,H8p:()=>Kd,KH2:()=>fl,TgB:()=>na,wOt:()=>xt,WHO:()=>ww,e01:()=>bw,H5H:()=>Sp,Zy3:()=>Fi,mq5:()=>IC,JZv:()=>Tr,LfX:()=>Ki,plB:()=>Us,jNT:()=>Wp,zjR:()=>Mw,TL$:()=>_D,Tbb:()=>Fr,Vt3:()=>Yf,GFd:()=>Cy,OA$:()=>rh,Jv_:()=>VE,aNF:()=>BE,R7$:()=>z_,BMQ:()=>pp,HbH:()=>hC,ZvI:()=>yC,AVh:()=>Cp,wni:()=>cE,VBU:()=>zd,FsC:()=>v,jDH:()=>Jt,G2t:()=>nr,$C:()=>_,EJ8:()=>O,rXU:()=>Ha,nrm:()=>Mp,eu8:()=>Tp,bVm:()=>ud,qex:()=>cd,k0s:()=>ld,j41:()=>ad,RV6:()=>MC,xGo:()=>um,KVO:()=>Nn,kS0:()=>uu,QTQ:()=>W_,bIt:()=>Pp,lsd:()=>hE,qSk:()=>Qg,XpG:()=>JC,nI1:()=>qE,bMT:()=>YE,i5U:()=>JE,SdG:()=>tE,NAR:()=>eE,Y8G:()=>vp,FS9:()=>xp,Mz_:()=>gd,FCK:()=>Np,lJ4:()=>HE,eq3:()=>$E,l_i:()=>zE,sMw:()=>GE,mGM:()=>dE,sdS:()=>fE,Njj:()=>Fg,tSv:()=>D_,eBV:()=>kg,npT:()=>m_,n$t:()=>y_,DNE:()=>rp,C5r:()=>ew,EFF:()=>bE,JRh:()=>kp,SpI:()=>md,GBs:()=>uE});let m=null,T=!1,P=1;const b=Symbol("SIGNAL");function S(e){const t=m;return m=e,t}const R={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 G(e){if(T)throw new Error("");if(null===m)return;m.consumerOnSignalRead(e);const t=m.nextProducerIndex++;It(m),t<m.producerNode.length&&m.producerNode[t]!==e&&nt(m)&&Oe(m.producerNode[t],m.producerIndexOfThis[t]),m.producerNode[t]!==e&&(m.producerNode[t]=e,m.producerIndexOfThis[t]=nt(m)?Le(e,m,t):0),m.producerLastReadVersion[t]=e.version}function ve(e){if((!nt(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==P)){if(!e.producerMustRecompute(e)&&!ct(e))return e.dirty=!1,void(e.lastCleanEpoch=P);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=P}}function he(e){if(void 0===e.liveConsumerNode)return;const t=T;T=!0;try{for(const n of e.liveConsumerNode)n.dirty||be(n)}finally{T=t}}function we(){return!1!==m?.consumerAllowSignalWrites}function be(e){e.dirty=!0,he(e),e.consumerMarkedDirty?.(e)}function He(e){return e&&(e.nextProducerIndex=0),S(e)}function Fe(e,t){if(S(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(nt(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)Oe(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function ct(e){It(e);for(let t=0;t<e.producerNode.length;t++){const n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(ve(n),r!==n.version))return!0}return!1}function Qe(e){if(It(e),nt(e))for(let t=0;t<e.producerNode.length;t++)Oe(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 Le(e,t,n){if(Je(e),0===e.liveConsumerNode.length&&qe(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=Le(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function Oe(e,t){if(Je(e),1===e.liveConsumerNode.length&&qe(e))for(let r=0;r<e.producerNode.length;r++)Oe(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];It(i),i.producerIndexOfThis[r]=t}}function nt(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function It(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Je(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function qe(e){return void 0!==e.producerNode}const me=Symbol("UNSET"),ie=Symbol("COMPUTING"),Z=Symbol("ERRORED"),H={...R,value:me,dirty:!0,error:null,equal:o,producerMustRecompute:e=>e.value===me||e.value===ie,producerRecomputeValue(e){if(e.value===ie)throw new Error("Detected cycle in computations.");const t=e.value;e.value=ie;const n=He(e);let r;try{r=e.computation()}catch(i){r=Z,e.error=i}finally{Fe(e,n)}t!==me&&t!==Z&&r!==Z&&e.equal(t,r)?e.value=t:(e.value=r,e.version++)}};let xe=function ue(){throw new Error};function lt(){xe()}let Ve=null;function Bt(e,t){we()||lt(),e.equal(e.value,t)||(e.value=t,function Ln(e){e.version++,function oe(){P++}(),he(e),Ve?.()}(e))}const Sn={...R,equal:o,value:void 0};var gt=c(4412),Ie=c(1413),tt=c(8359),Ze=c(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 Wi="https://g.co/ng/security#xss";class xt extends Error{constructor(t,n){super(Fi(t,n)),this.code=t}}function Fi(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}function fi(e){return{toString:e}.toString()}const Wr="__parameters__";function Ii(e,t,n){return fi((()=>{const r=function io(e){return function(...n){if(e){const r=e(...n);for(const i in r)this[i]=r[i]}}}(t);function i(...s){if(this instanceof i)return r.apply(this,s),this;const a=new i(...s);return l.annotation=a,l;function l(f,D,A){const X=f.hasOwnProperty(Wr)?f[Wr]:Object.defineProperty(f,Wr,{value:[]})[Wr];for(;X.length<=A;)X.push(null);return(X[A]=X[A]||[]).push(a),f}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i}))}const Tr=globalThis;function qn(e){for(let t in e)if(e[t]===qn)return t;throw Error("Could not find renamed property on target object.")}function Bo(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Fr(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Fr).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 Uo(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const So=qn({__forward_ref__:qn});function Oi(e){return e.__forward_ref__=Oi,e.toString=function(){return Fr(this())},e}function hn(e){return Jo(e)?e():e}function Jo(e){return"function"==typeof e&&e.hasOwnProperty(So)&&e.__forward_ref__===Oi}function Jt(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function nr(e){return{providers:e.providers||[],imports:e.imports||[]}}function gr(e){return Yr(e,Di)||Yr(e,ts)}function Ki(e){return null!==gr(e)}function Yr(e,t){return e.hasOwnProperty(t)?e[t]:null}function Ur(e){return e&&(e.hasOwnProperty(Mi)||e.hasOwnProperty(oo))?e[Mi]:null}const Di=qn({"ɵprov":qn}),Mi=qn({"ɵinj":qn}),ts=qn({ngInjectableDef:qn}),oo=qn({ngInjectorDef:qn});class En{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.ɵprov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.ɵprov=Jt({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function cr(e){return e&&!!e.ɵproviders}const Oo=qn({"ɵcmp":qn}),Cs=qn({"ɵdir":qn}),jr=qn({"ɵpipe":qn}),po=qn({"ɵmod":qn}),Ar=qn({"ɵfac":qn}),go=qn({__NG_ELEMENT_ID__:qn}),rs=qn({__NG_ENV_ID__:qn});function In(e){return"string"==typeof e?e:null==e?"":String(e)}function ma(e,t){throw new xt(-201,!1)}var jn=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}(jn||{});let _a;function Gs(){return _a}function Ti(e){const t=_a;return _a=e,t}function Ns(e,t,n){const r=gr(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&jn.Optional?null:void 0!==t?t:void ma()}const is={},jo="__NG_DI_FLAG__",p="ngTempTokenPath",E=/\n/gm,se="__source";let je;function Ut(e){const t=je;return je=e,t}function yr(e,t=jn.Default){if(void 0===je)throw new xt(-203,!1);return null===je?Ns(e,void 0,t):je.get(e,t&jn.Optional?null:void 0,t)}function Nn(e,t=jn.Default){return(Gs()||yr)(hn(e),t)}function Et(e,t=jn.Default){return Nn(e,Cr(t))}function Cr(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function ir(e){const t=[];for(let n=0;n<e.length;n++){const r=hn(e[n]);if(Array.isArray(r)){if(0===r.length)throw new xt(900,!1);let i,s=jn.Default;for(let a=0;a<r.length;a++){const l=r[a],f=Po(l);"number"==typeof f?-1===f?i=l.token:s|=f:i=l}t.push(Nn(i,s))}else t.push(Nn(r))}return t}function xr(e,t){return e[jo]=t,e.prototype[jo]=t,e}function Po(e){return e[jo]}const Qi=xr(Ii("Optional"),8),mo=xr(Ii("SkipSelf"),4);function Si(e,t){return e.hasOwnProperty(Ar)?e[Ar]:null}function Ho(e,t){e.forEach((n=>Array.isArray(n)?Ho(n,t):t(n)))}function Nc(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function va(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Hi(e,t,n){let r=Es(e,t);return r>=0?e[1|r]=n:(r=~r,function kc(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 Lc(e,t){const n=Es(e,t);if(n>=0)return e[1|n]}function Es(e,t){return function Vc(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const s=r+(i-r>>1),a=e[s<<n];if(t===a)return s<<n;a>t?i=s:r=s+1}return~(i<<n)}(e,t,1)}const zo={},or=[],xo=new En(""),yl=new En("",-1),ya=new En("");class Fs{get(t,n=is){if(n===is){const r=new Error(`NullInjectorError: No provider for ${Fr(t)}!`);throw r.name="NullInjectorError",r}return n}}var Ca=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Ca||{}),ss=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(ss||{}),ws=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(ws||{});function Bc(e,t,n){let r=e.length;for(;;){const i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const s=t.length;if(i+s===r||e.charCodeAt(i+s)<=32)return i}n=i+1}}function Cl(e,t,n){let r=0;for(;r<n.length;){const i=n[r];if("number"==typeof i){if(0!==i)break;r++;const s=n[r++],a=n[r++],l=n[r++];e.setAttribute(t,a,l,s)}else{const s=i,a=n[++r];Fd(s)?e.setProperty(t,s,a):e.setAttribute(t,s,a),r++}}return r}function kd(e){return 3===e||4===e||6===e}function Fd(e){return 64===e.charCodeAt(0)}function Ea(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||Uc(e,n,i,null,-1===n||2===n?t[++r]:null)}}return e}function Uc(e,t,n,r,i){let s=0,a=e.length;if(-1===t)a=-1;else for(;s<e.length;){const l=e[s++];if("number"==typeof l){if(l===t){a=-1;break}if(l>t){a=s-1;break}}}for(;s<e.length;){const l=e[s];if("number"==typeof l)break;if(l===n){if(null===r)return void(null!==i&&(e[s+1]=i));if(r===e[s+1])return void(e[s+2]=i)}s++,null!==r&&s++,null!==i&&s++}-1!==a&&(e.splice(a,0,t),s=a+1),e.splice(s++,0,n),null!==r&&e.splice(s++,0,r),null!==i&&e.splice(s++,0,i)}const jc="ng-template";function lg(e,t,n,r){let i=0;if(r){for(;i<t.length&&"string"==typeof t[i];i+=2)if("class"===t[i]&&-1!==Bc(t[i+1].toLowerCase(),n,0))return!0}else if(wa(e))return!1;if(i=t.indexOf(1,i),i>-1){let s;for(;++i<t.length&&"string"==typeof(s=t[i]);)if(s.toLowerCase()===n)return!0}return!1}function wa(e){return 4===e.type&&e.value!==jc}function Ld(e,t,n){return t===(4!==e.type||n?e.value:jc)}function Vd(e,t,n){let r=4;const i=e.attrs,s=null!==i?function jd(e){for(let t=0;t<e.length;t++)if(kd(e[t]))return t;return e.length}(i):0;let a=!1;for(let l=0;l<t.length;l++){const f=t[l];if("number"!=typeof f){if(!a)if(4&r){if(r=2|1&r,""!==f&&!Ld(e,f,n)||""===f&&1===t.length){if(_o(r))return!1;a=!0}}else if(8&r){if(null===i||!lg(e,i,f,n)){if(_o(r))return!1;a=!0}}else{const D=t[++l],A=Bd(f,i,wa(e),n);if(-1===A){if(_o(r))return!1;a=!0;continue}if(""!==D){let X;if(X=A>s?"":i[A+1].toLowerCase(),2&r&&D!==X){if(_o(r))return!1;a=!0}}}}else{if(!a&&!_o(r)&&!_o(f))return!1;if(a&&_o(f))continue;a=!1,r=f|1&r}}return _o(r)||a}function _o(e){return!(1&e)}function Bd(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let s=!1;for(;i<t.length;){const a=t[i];if(a===e)return i;if(3===a||6===a)s=!0;else{if(1===a||2===a){let l=t[++i];for(;"string"==typeof l;)l=t[++i];continue}if(4===a)break;if(0===a){i+=4;continue}}i+=s?1:2}return-1}return function $c(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 Hc(e,t,n=!1){for(let r=0;r<t.length;r++)if(Vd(e,t[r],n))return!0;return!1}function Hd(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 $d(e,t){return e?":not("+t.trim()+")":t}function cg(e){let t=e[0],n=1,r=2,i="",s=!1;for(;n<e.length;){let a=e[n];if("string"==typeof a)if(2&r){const l=e[++n];i+="["+a+(l.length>0?'="'+l+'"':"")+"]"}else 8&r?i+="."+a:4&r&&(i+=" "+a);else""!==i&&!_o(a)&&(t+=$d(s,i),i=""),r=a,s=s||!_o(r);n++}return""!==i&&(t+=$d(s,i)),t}function zd(e){return fi((()=>{const t=fn(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ca.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||ss.Emulated,styles:e.styles||or,_:null,schemas:e.schemas||null,tView:null,id:""};Tn(n);const r=e.dependencies;return n.directiveDefs=mr(r,!1),n.pipeDefs=mr(r,!0),n.id=function Ai(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 hg(e){return V(e)||J(e)}function u(e){return null!==e}function _(e){return fi((()=>({type:e.type,bootstrap:e.bootstrap||or,declarations:e.declarations||or,imports:e.imports||or,exports:e.exports||or,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null})))}function d(e,t){if(null==e)return zo;const n={};for(const r in e)if(e.hasOwnProperty(r)){const i=e[r];let s,a,l=ws.None;Array.isArray(i)?(l=i[0],s=i[1],a=i[2]??s):(s=i,a=i),t?(n[s]=l!==ws.None?[r,l]:r,t[s]=a):n[s]=r}return n}function v(e){return fi((()=>{const t=fn(e);return Tn(t),t}))}function O(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 V(e){return e[Oo]||null}function J(e){return e[Cs]||null}function Ne(e){return e[jr]||null}function Ce(e){const t=V(e)||J(e)||Ne(e);return null!==t&&t.standalone}function pt(e,t){const n=e[po]||null;if(!n&&!0===t)throw new Error(`Type ${Fr(e)} does not have 'ɵmod' property.`);return n}function fn(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||zo,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||or,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:d(e.inputs,t),outputs:d(e.outputs),debugInfo:null}}function Tn(e){e.features?.forEach((t=>t(e)))}function mr(e,t){if(!e)return null;const n=t?Ne:hg;return()=>("function"==typeof e?e():e).map((r=>n(r))).filter(u)}function ao(e){return{"ɵproviders":e}}function vo(...e){return{"ɵproviders":bs(0,e),"ɵfromNgModule":!0}}function bs(e,...t){const n=[],r=new Set;let i;const s=a=>{n.push(a)};return Ho(t,(a=>{const l=a;Ds(l,s,[],r)&&(i||=[],i.push(l))})),void 0!==i&&zc(i,s),n}function zc(e,t){for(let n=0;n<e.length;n++){const{ngModule:r,providers:i}=e[n];Gd(i,(s=>{t(s,r)}))}}function Ds(e,t,n,r){if(!(e=hn(e)))return!1;let i=null,s=Ur(e);const a=!s&&V(e);if(s||a){if(a&&!a.standalone)return!1;i=e}else{const f=e.ngModule;if(s=Ur(f),!s)return!1;i=f}const l=r.has(i);if(a){if(l)return!1;if(r.add(i),a.dependencies){const f="function"==typeof a.dependencies?a.dependencies():a.dependencies;for(const D of f)Ds(D,t,n,r)}}else{if(!s)return!1;{if(null!=s.imports&&!l){let D;r.add(i);try{Ho(s.imports,(A=>{Ds(A,t,n,r)&&(D||=[],D.push(A))}))}finally{}void 0!==D&&zc(D,t)}if(!l){const D=Si(i)||(()=>new i);t({provide:i,useFactory:D,deps:or},i),t({provide:ya,useValue:i,multi:!0},i),t({provide:xo,useValue:()=>Nn(i),multi:!0},i)}const f=s.providers;if(null!=f&&!l){const D=e;Gd(f,(A=>{t(A,D)}))}}}return i!==e&&void 0!==e.providers}function Gd(e,t){for(let n of e)cr(n)&&(n=n.ɵproviders),Array.isArray(n)?Gd(n,t):t(n)}const Mb=qn({provide:String,useValue:qn});function Wd(e){return null!==e&&"object"==typeof e&&Mb in e}function Xs(e){return"function"==typeof e}const Kd=new En(""),Gc={},Sb={};let Xd;function Wc(){return void 0===Xd&&(Xd=new Fs),Xd}class Ro{}class ba extends Ro{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,Zd(t,(a=>this.processProvider(a))),this.records.set(yl,Da(void 0,this)),i.has("environment")&&this.records.set(Ro,Da(void 0,this));const s=this.records.get(Kd);null!=s&&"string"==typeof s.value&&this.scopes.add(s.value),this.injectorDefTypes=new Set(this.get(ya,or,jn.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const t=S(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(),S(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=Ut(this),r=Ti(void 0);try{return t()}finally{Ut(n),Ti(r)}}get(t,n=is,r=jn.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(rs))return t[rs](this);r=Cr(r);const s=Ut(this),a=Ti(void 0);try{if(!(r&jn.SkipSelf)){let f=this.records.get(t);if(void 0===f){const D=function xb(e){return"function"==typeof e||"object"==typeof e&&e instanceof En}(t)&&gr(t);f=D&&this.injectableDefInScope(D)?Da(Qd(t),Gc):null,this.records.set(t,f)}if(null!=f)return this.hydrate(t,f)}return(r&jn.Self?Wc():this.parent).get(t,n=r&jn.Optional&&n===is?null:n)}catch(l){if("NullInjectorError"===l.name){if((l[p]=l[p]||[]).unshift(Fr(t)),s)throw l;return function Xi(e,t,n,r){const i=e[p];throw t[se]&&i.unshift(t[se]),e.message=function os(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"ɵ"==e.charAt(1)?e.slice(2):e;let i=Fr(t);if(Array.isArray(t))i=t.map(Fr).join(" -> ");else if("object"==typeof t){let s=[];for(let a in t)if(t.hasOwnProperty(a)){let l=t[a];s.push(a+":"+("string"==typeof l?JSON.stringify(l):Fr(l)))}i=`{${s.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(E,"\n  ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[p]=null,e}(l,t,"R3InjectorError",this.source)}throw l}finally{Ti(a),Ut(s)}}resolveInjectorInitializers(){const t=S(null),n=Ut(this),r=Ti(void 0);try{const s=this.get(xo,or,jn.Self);for(const a of s)a()}finally{Ut(n),Ti(r),S(t)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(Fr(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new xt(205,!1)}processProvider(t){let n=Xs(t=hn(t))?t:hn(t&&t.provide);const r=function Ob(e){return Wd(e)?Da(void 0,e.useValue):Da(gg(e),Gc)}(t);if(!Xs(t)&&!0===t.multi){let i=this.records.get(n);i||(i=Da(void 0,Gc,!0),i.factory=()=>ir(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,r)}hydrate(t,n){const r=S(null);try{return n.value===Gc&&(n.value=Sb,n.value=n.factory()),"object"==typeof n.value&&n.value&&function Ab(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{S(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;const n=hn(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function Qd(e){const t=gr(e),n=null!==t?t.factory:Si(e);if(null!==n)return n;if(e instanceof En)throw new xt(204,!1);if(e instanceof Function)return function Ib(e){if(e.length>0)throw new xt(204,!1);const n=function Kr(e){return e&&(e[Di]||e[ts])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new xt(204,!1)}function gg(e,t,n){let r;if(Xs(e)){const i=hn(e);return Si(i)||Qd(i)}if(Wd(e))r=()=>hn(e.useValue);else if(function pg(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...ir(e.deps||[]));else if(function fg(e){return!(!e||!e.useExisting)}(e))r=()=>Nn(hn(e.useExisting));else{const i=hn(e&&(e.useClass||e.provide));if(!function Pb(e){return!!e.deps}(e))return Si(i)||Qd(i);r=()=>new i(...ir(e.deps))}return r}function Da(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Zd(e,t){for(const n of e)Array.isArray(n)?Zd(n,t):n&&cr(n)?Zd(n.ɵproviders,t):t(n)}function Nb(e,t){e instanceof ba&&e.assertNotDestroyed();const r=Ut(e),i=Ti(void 0);try{return t()}finally{Ut(r),Ti(i)}}function mg(){return void 0!==Gs()||null!=function ht(){return je}()}const Hr=0,Tt=1,Cn=2,oi=3,Go=4,xi=5,Zi=6,Ta=7,Nr=8,si=9,as=10,Pn=11,wl=12,vg=13,Sa=14,$r=15,Qs=16,Ia=17,Ms=18,Oa=19,yg=20,Ls=21,Xc=22,ko=23,an=25,Jd=1,ls=7,Pa=9,Jr=10;var Zc=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Zc||{});function mi(e){return Array.isArray(e)&&"object"==typeof e[Jd]}function $i(e){return Array.isArray(e)&&!0===e[Jd]}function eh(e){return!!(4&e.flags)}function Zs(e){return e.componentOffset>-1}function qc(e){return!(1&~e.flags)}function Wo(e){return!!e.template}function Dl(e){return!!(512&e[Cn])}class Gb{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Dg(e,t,n,r){null!==t?t.applyValueToInputSignal(t,r):e[n]=r}function rh(){return Mg}function Mg(e){return e.type.prototype.ngOnChanges&&(e.setInput=Kb),Wb}function Wb(){const e=Sg(this),t=e?.current;if(t){const n=e.previous;if(n===zo)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Kb(e,t,n,r,i){const s=this.declaredInputs[r],a=Sg(e)||function Xb(e,t){return e[Tg]=t}(e,{previous:zo,current:null}),l=a.current||(a.current={}),f=a.previous,D=f[s];l[s]=new Gb(D&&D.currentValue,n,f===zo),Dg(e,t,i,n)}rh.ngInherit=!0;const Tg="__ngSimpleChanges__";function Sg(e){return e[Tg]||null}const cs=function(e,t,n){},Ig="svg";function hr(e){for(;Array.isArray(e);)e=e[Hr];return e}function Ml(e,t){return hr(t[e])}function qi(e,t){return hr(t[e.index])}function Tl(e,t){return e.data[t]}function qs(e,t){return e[t]}function yo(e,t){const n=t[e];return mi(n)?n:n[Hr]}function sh(e){return!(128&~e[Cn])}function Fo(e,t){return null==t?null:e[t]}function Pg(e){e[Ia]=0}function Ag(e){1024&e[Cn]||(e[Cn]|=1024,sh(e)&&Jc(e))}function Yc(e){return!!(9216&e[Cn]||e[ko]?.dirty)}function ah(e){e[as].changeDetectionScheduler?.notify(8),64&e[Cn]&&(e[Cn]|=1024),Yc(e)&&Jc(e)}function Jc(e){e[as].changeDetectionScheduler?.notify(0);let t=Ts(e);for(;null!==t&&!(8192&t[Cn])&&(t[Cn]|=8192,sh(t));)t=Ts(t)}function eu(e,t){if(!(256&~e[Cn]))throw new xt(911,!1);null===e[Ls]&&(e[Ls]=[]),e[Ls].push(t)}function Ts(e){const t=e[oi];return $i(t)?t[oi]:t}const An={lFrame:Wg(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let Ng=!1;function Rg(){return An.bindingsEnabled}function Ys(){return null!==An.skipHydrationRootTNode}function rt(){return An.lFrame.lView}function Hn(){return An.lFrame.tView}function kg(e){return An.lFrame.contextLView=e,e[Nr]}function Fg(e){return An.lFrame.contextLView=null,e}function Er(){let e=Lg();for(;null!==e&&64===e.type;)e=e.parent;return e}function Lg(){return An.lFrame.currentTNode}function Ko(e,t){const n=An.lFrame;n.currentTNode=e,n.isParent=t}function uh(){return An.lFrame.isParent}function dh(){An.lFrame.isParent=!1}function Ug(){return Ng}function jg(e){Ng=e}function Yi(){const e=An.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Xo(){return An.lFrame.bindingIndex++}function Is(e){const t=An.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function c0(e,t){const n=An.lFrame;n.bindingIndex=n.bindingRootIndex=e,hh(t)}function hh(e){An.lFrame.currentDirectiveIndex=e}function ph(){return An.lFrame.currentQueryIndex}function nu(e){An.lFrame.currentQueryIndex=e}function d0(e){const t=e[Tt];return 2===t.type?t.declTNode:1===t.type?e[xi]:null}function zg(e,t,n){if(n&jn.SkipSelf){let i=t,s=e;for(;!(i=i.parent,null!==i||n&jn.Host||(i=d0(s),null===i||(s=s[Sa],10&i.type))););if(null===i)return!1;t=i,e=s}const r=An.lFrame=Gg();return r.currentTNode=t,r.lView=e,!0}function gh(e){const t=Gg(),n=e[Tt];An.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Gg(){const e=An.lFrame,t=null===e?null:e.child;return null===t?Wg(e):t}function Wg(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function Kg(){const e=An.lFrame;return An.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Xg=Kg;function mh(){const e=Kg();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Ni(){return An.lFrame.selectedIndex}function Js(e){An.lFrame.selectedIndex=e}function Rr(){const e=An.lFrame;return Tl(e.tView,e.selectedIndex)}function Qg(){An.lFrame.currentNamespace=Ig}let qg=!0;function Il(){return qg}function us(e){qg=e}function ru(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const s=e.data[n].type.prototype,{ngAfterContentInit:a,ngAfterContentChecked:l,ngAfterViewInit:f,ngAfterViewChecked:D,ngOnDestroy:A}=s;a&&(e.contentHooks??=[]).push(-n,a),l&&((e.contentHooks??=[]).push(n,l),(e.contentCheckHooks??=[]).push(n,l)),f&&(e.viewHooks??=[]).push(-n,f),D&&((e.viewHooks??=[]).push(n,D),(e.viewCheckHooks??=[]).push(n,D)),null!=A&&(e.destroyHooks??=[]).push(n,A)}}function iu(e,t,n){Yg(e,t,3,n)}function ou(e,t,n,r){(3&e[Cn])===n&&Yg(e,t,n,r)}function _h(e,t){let n=e[Cn];(3&n)===t&&(n&=16383,n+=1,e[Cn]=n)}function Yg(e,t,n,r){const s=r??-1,a=t.length-1;let l=0;for(let f=void 0!==r?65535&e[Ia]:0;f<a;f++)if("number"==typeof t[f+1]){if(l=t[f],null!=r&&l>=r)break}else t[f]<0&&(e[Ia]+=65536),(l<s||-1==s)&&(_0(e,n,t,f),e[Ia]=(4294901760&e[Ia])+f+2),f++}function Jg(e,t){cs(4,e,t);const n=S(null);try{t.call(e)}finally{S(n),cs(5,e,t)}}function _0(e,t,n,r){const i=n[r]<0,s=n[r+1],l=e[i?-n[r]:n[r]];i?e[Cn]>>14<e[Ia]>>16&&(3&e[Cn])===t&&(e[Cn]+=16384,Jg(l,s)):Jg(l,s)}const Aa=-1;class Ol{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}const yh={};class ea{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=Cr(r);const i=this.injector.get(t,yh,r);return i!==yh||n===yh?i:this.parentInjector.get(t,n,r)}}function Ch(e){return e!==Aa}function Pl(e){return 32767&e}function Al(e,t){let n=function w0(e){return e>>16}(e),r=t;for(;n>0;)r=r[Sa],n--;return r}let Eh=!0;function su(e){const t=Eh;return Eh=e,t}const tm=255,nm=5;let D0=0;const ds={};function au(e,t){const n=rm(e,t);if(-1!==n)return n;const r=t[Tt];r.firstCreatePass&&(e.injectorIndex=t.length,wh(r.data,e),wh(t,null),wh(r.blueprint,null));const i=lu(e,t),s=e.injectorIndex;if(Ch(i)){const a=Pl(i),l=Al(i,t),f=l[Tt].data;for(let D=0;D<8;D++)t[s+D]=l[a+D]|f[a+D]}return t[s+8]=i,s}function wh(e,t){e.push(0,0,0,0,0,0,0,0,t)}function rm(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function lu(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=dm(i),null===r)return Aa;if(n++,i=i[Sa],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return Aa}function bh(e,t,n){!function M0(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(go)&&(r=n[go]),null==r&&(r=n[go]=D0++);const i=r&tm;t.data[e+(i>>nm)]|=1<<i}(e,t,n)}function im(e,t,n){if(n&jn.Optional||void 0!==e)return e;ma()}function om(e,t,n,r){if(n&jn.Optional&&void 0===r&&(r=null),!(n&(jn.Self|jn.Host))){const i=e[si],s=Ti(void 0);try{return i?i.get(t,r,n&jn.Optional):Ns(t,r,n&jn.Optional)}finally{Ti(s)}}return im(r,0,n)}function sm(e,t,n,r=jn.Default,i){if(null!==e){if(2048&t[Cn]&&!(r&jn.Self)){const a=function P0(e,t,n,r,i){let s=e,a=t;for(;null!==s&&null!==a&&2048&a[Cn]&&!(512&a[Cn]);){const l=am(s,a,n,r|jn.Self,ds);if(l!==ds)return l;let f=s.parent;if(!f){const D=a[yg];if(D){const A=D.get(n,ds,r);if(A!==ds)return A}f=dm(a),a=a[Sa]}s=f}return i}(e,t,n,r,ds);if(a!==ds)return a}const s=am(e,t,n,r,ds);if(s!==ds)return s}return om(t,n,r,i)}function am(e,t,n,r,i){const s=function I0(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(go)?e[go]:void 0;return"number"==typeof t?t>=0?t&tm:O0:t}(n);if("function"==typeof s){if(!zg(t,e,r))return r&jn.Host?im(i,0,r):om(t,n,r,i);try{let a;if(a=s(r),null!=a||r&jn.Optional)return a;ma()}finally{Xg()}}else if("number"==typeof s){let a=null,l=rm(e,t),f=Aa,D=r&jn.Host?t[$r][xi]:null;for((-1===l||r&jn.SkipSelf)&&(f=-1===l?lu(e,t):t[l+8],f!==Aa&&cm(r,!1)?(a=t[Tt],l=Pl(f),t=Al(f,t)):l=-1);-1!==l;){const A=t[Tt];if(lm(s,l,A.data)){const X=S0(l,t,n,a,r,D);if(X!==ds)return X}f=t[l+8],f!==Aa&&cm(r,t[Tt].data[l+8]===D)&&lm(s,l,t)?(a=A,l=Pl(f),t=Al(f,t)):l=-1}}return i}function S0(e,t,n,r,i,s){const a=t[Tt],l=a.data[e+8],A=cu(l,a,n,null==r?Zs(l)&&Eh:r!=a&&!!(3&l.type),i&jn.Host&&s===l);return null!==A?ta(t,a,A,l):ds}function cu(e,t,n,r,i){const s=e.providerIndexes,a=t.data,l=1048575&s,f=e.directiveStart,A=s>>20,le=i?l+A:e.directiveEnd;for(let pe=r?l:l+A;pe<le;pe++){const Ae=a[pe];if(pe<f&&n===Ae||pe>=f&&Ae.type===n)return pe}if(i){const pe=a[f];if(pe&&Wo(pe)&&pe.type===n)return f}return null}function ta(e,t,n,r){let i=e[n];const s=t.data;if(function v0(e){return e instanceof Ol}(i)){const a=i;a.resolving&&function xc(e,t){throw t&&t.join(" > "),new xt(-200,e)}(function ur(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():In(e)}(s[n]));const l=su(a.canSeeViewProviders);a.resolving=!0;const D=a.injectImpl?Ti(a.injectImpl):null;zg(e,r,jn.Default);try{i=e[n]=a.factory(void 0,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&function m0(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:s}=t.type.prototype;if(r){const a=Mg(t);(n.preOrderHooks??=[]).push(e,a),(n.preOrderCheckHooks??=[]).push(e,a)}i&&(n.preOrderHooks??=[]).push(0-e,i),s&&((n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s))}(n,s[n],t)}finally{null!==D&&Ti(D),su(l),a.resolving=!1,Xg()}}return i}function lm(e,t,n){return!!(n[t+(e>>nm)]&1<<e)}function cm(e,t){return!(e&jn.Self||e&jn.Host&&t)}class _i{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return sm(this._tNode,this._lView,t,Cr(r),n)}}function O0(){return new _i(Er(),rt())}function um(e){return fi((()=>{const t=e.prototype.constructor,n=t[Ar]||Dh(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const s=i[Ar]||Dh(i);if(s&&s!==n)return s;i=Object.getPrototypeOf(i)}return s=>new s}))}function Dh(e){return Jo(e)?()=>{const t=Dh(hn(e));return t&&t()}:Si(e)}function dm(e){const t=e[Tt],n=t.type;return 2===n?t.declTNode:1===n?e[xi]:null}function uu(e){return function T0(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let i=0;for(;i<r;){const s=n[i];if(kd(s))break;if(0===s)i+=2;else if("number"==typeof s)for(i++;i<r&&"string"==typeof n[i];)i++;else{if(s===t)return n[i+1];i+=2}}}return null}(Er(),e)}function mm(e,t=null,n=null,r){const i=_m(e,t,n,r);return i.resolveInjectorInitializers(),i}function _m(e,t=null,n=null,r,i=new Set){const s=[n||or,vo(e)];return r=r||("object"==typeof e?void 0:Fr(e)),new ba(s,t||Wc(),r||null,i)}class Ri{static#e=this.THROW_IF_NOT_FOUND=is;static#t=this.NULL=new Fs;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#n=this.ɵprov=Jt({token:Ri,providedIn:"any",factory:()=>Nn(yl)});static#r=this.__NG_ELEMENT_ID__=-1}new En("").__NG_ELEMENT_ID__=e=>{const t=Er();if(null===t)throw new xt(204,!1);if(2&t.type)return t.value;if(e&jn.Optional)return null;throw new xt(204,!1)};function Th(e){return e.ngOriginalError}const ym=!0;let xl=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=U0;static#t=this.__NG_ENV_ID__=n=>n}return e})();class B0 extends xl{constructor(t){super(),this._lView=t}onDestroy(t){return eu(this._lView,t),()=>function lh(e,t){if(null===e[Ls])return;const n=e[Ls].indexOf(t);-1!==n&&e[Ls].splice(n,1)}(this._lView,t)}}function U0(){return new B0(rt())}let na=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new gt.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#e=this.ɵprov=Jt({token:e,providedIn:"root",factory:()=>new e})}return e})();const hs=class j0 extends Ie.B{constructor(t=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=t,mg()&&(this.destroyRef=Et(xl,{optional:!0})??void 0,this.pendingTasks=Et(na,{optional:!0})??void 0)}emit(t){const n=S(null);try{super.next(t)}finally{S(n)}}subscribe(t,n,r){let i=t,s=n||(()=>null),a=r;if(t&&"object"==typeof t){const f=t;i=f.next?.bind(f),s=f.error?.bind(f),a=f.complete?.bind(f)}this.__isAsync&&(s=this.wrapInTimeout(s),i&&(i=this.wrapInTimeout(i)),a&&(a=this.wrapInTimeout(a)));const l=super.subscribe({next:i,error:s,complete:a});return t instanceof tt.yU&&t.add(l),l}wrapInTimeout(t){return n=>{const r=this.pendingTasks?.add();setTimeout((()=>{t(n),void 0!==r&&this.pendingTasks?.remove(r)}))}}};function hu(...e){}function Cm(e){let t,n;function r(){e=hu;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 Em(e){return queueMicrotask((()=>e())),()=>{e=hu}}const Sh="isAngularZone",fu=Sh+"_ID";let H0=0;class zr{constructor(t){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new hs(!1),this.onMicrotaskEmpty=new hs(!1),this.onStable=new hs(!1),this.onError=new hs(!1);const{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:s=ym}=t;if(typeof Zone>"u")throw new xt(908,!1);Zone.assertZonePatched();const a=this;a._nesting=0,a._outer=a._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(a._inner=a._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(a._inner=a._inner.fork(Zone.longStackTraceZoneSpec)),a.shouldCoalesceEventChangeDetection=!i&&r,a.shouldCoalesceRunChangeDetection=i,a.callbackScheduled=!1,a.scheduleInRootZone=s,function G0(e){const t=()=>{!function z0(e){function t(){Cm((()=>{e.callbackScheduled=!1,Oh(e),e.isCheckStableRunning=!0,Ih(e),e.isCheckStableRunning=!1}))}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run((()=>{t()})):e._outer.run((()=>{t()})),Oh(e))}(e)},n=H0++;e._inner=e._inner.fork({name:"angular",properties:{[Sh]:!0,[fu]:n,[fu+n]:!0},onInvokeTask:(r,i,s,a,l,f)=>{if(function W0(e){return Dm(e,"__ignore_ng_zone__")}(f))return r.invokeTask(s,a,l,f);try{return wm(e),r.invokeTask(s,a,l,f)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===a.type||e.shouldCoalesceRunChangeDetection)&&t(),bm(e)}},onInvoke:(r,i,s,a,l,f,D)=>{try{return wm(e),r.invoke(s,a,l,f,D)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function K0(e){return Dm(e,"__scheduler_tick__")}(f)&&t(),bm(e)}},onHasTask:(r,i,s,a)=>{r.hasTask(s,a),i===s&&("microTask"==a.change?(e._hasPendingMicrotasks=a.microTask,Oh(e),Ih(e)):"macroTask"==a.change&&(e.hasPendingMacrotasks=a.macroTask))},onHandleError:(r,i,s,a)=>(r.handleError(s,a),e.runOutsideAngular((()=>e.onError.emit(a))),!1)})}(a)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(Sh)}static assertInAngularZone(){if(!zr.isInAngularZone())throw new xt(909,!1)}static assertNotInAngularZone(){if(zr.isInAngularZone())throw new xt(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const s=this._inner,a=s.scheduleEventTask("NgZoneEvent: "+i,t,$0,hu,hu);try{return s.runTask(a,n,r)}finally{s.cancelTask(a)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const $0={};function Ih(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 Oh(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function wm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function bm(e){e._nesting--,Ih(e)}class Ph{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new hs,this.onMicrotaskEmpty=new hs,this.onStable=new hs,this.onError=new hs}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,i){return t.apply(n,r)}}function Dm(e,t){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[t]}class Os{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&&Th(t);for(;n&&Th(n);)n=Th(n);return n||null}}const Q0=new En("",{providedIn:"root",factory:()=>{const e=Et(zr),t=Et(Os);return n=>e.runOutsideAngular((()=>t.handleError(n)))}});function Z0(){return Ra(Er(),rt())}function Ra(e,t){return new Nl(qi(e,t))}let Nl=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=Z0}return e})();function Tm(e){return e instanceof Nl?e.nativeElement:e}function q0(){return this._results[Symbol.iterator]()}class Ah{static#e=Symbol.iterator;get changes(){return this._changes??=new hs}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=Ah.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 ji(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function Rd(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let i=e[r],s=t[r];if(n&&(i=n(i),s=n(s)),s!==i)return!1}return!0}(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 kl(e){return!(128&~e.flags)}const Nh=new Map;let J0=0;function Rh(e){Nh.delete(e[Oa])}const pu="__ngContext__";function zi(e,t){mi(t)?(e[pu]=t[Oa],function tD(e){Nh.set(e[Oa],e)}(t)):e[pu]=t}function Fm(e){return Vm(e[wl])}function Lm(e){return Vm(e[Go])}function Vm(e){for(;null!==e&&!$i(e);)e=e[Go];return e}let Fh;function _D(e){Fh=e}function Vs(){if(void 0!==Fh)return Fh;if(typeof document<"u")return document;throw new xt(210,!1)}const mu=new En("",{providedIn:"root",factory:()=>vD}),vD="ng",Wm=new En(""),_u=new En("",{providedIn:"platform",factory:()=>"unknown"}),yD=new En(""),CD=new En("",{providedIn:"root",factory:()=>Vs().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Km=()=>null;function $h(e,t,n=!1){return Km(e,t,n)}const t_=new En("",{providedIn:"root",factory:()=>!1});let Mu,Tu;function Va(e){return function Xh(){if(void 0===Mu&&(Mu=null,Tr.trustedTypes))try{Mu=Tr.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Mu}()?.createHTML(e)||e}function Qh(){if(void 0===Tu&&(Tu=null,Tr.trustedTypes))try{Tu=Tr.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Tu}function i_(e){return Qh()?.createHTML(e)||e}function s_(e){return Qh()?.createScriptURL(e)||e}class a_{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Wi})`}}function Bs(e){return e instanceof a_?e.changingThisBreaksApplicationSecurity:e}function Hl(e,t){const n=function BD(e){return e instanceof a_&&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 ${Wi})`)}return n===t}class UD{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Va(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}}class jD{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=Va(t),n}}const $D=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Zh(e){return(e=String(e)).match($D)?e:"unsafe:"+e}function Ps(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function $l(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const c_=Ps("area,br,col,hr,img,wbr"),u_=Ps("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),d_=Ps("rp,rt"),qh=$l(c_,$l(u_,Ps("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),$l(d_,Ps("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),$l(d_,u_)),Yh=Ps("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),h_=$l(Yh,Ps("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Ps("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),zD=Ps("script,style,template");class GD{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=XD(n);else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let s=KD(n);if(s){n=s;break}n=i.pop()}return this.buf.join("")}startElement(t){const n=f_(t).toLowerCase();if(!qh.hasOwnProperty(n))return this.sanitizedSomething=!0,!zD.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let i=0;i<r.length;i++){const s=r.item(i),a=s.name,l=a.toLowerCase();if(!h_.hasOwnProperty(l)){this.sanitizedSomething=!0;continue}let f=s.value;Yh[l]&&(f=Zh(f)),this.buf.push(" ",a,'="',g_(f),'"')}return this.buf.push(">"),!0}endElement(t){const n=f_(t).toLowerCase();qh.hasOwnProperty(n)&&!c_.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(g_(t))}}function KD(e){const t=e.nextSibling;if(t&&e!==t.previousSibling)throw p_(t);return t}function XD(e){const t=e.firstChild;if(t&&function WD(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,t))throw p_(t);return t}function f_(e){const t=e.nodeName;return"string"==typeof t?t:"FORM"}function p_(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const QD=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ZD=/([^\#-~ |!])/g;function g_(e){return e.replace(/&/g,"&amp;").replace(QD,(function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"})).replace(ZD,(function(t){return"&#"+t.charCodeAt(0)+";"})).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let Su;function Jh(e){return"content"in e&&function YD(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Ba=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Ba||{});function m_(e){const t=zl();return t?i_(t.sanitize(Ba.HTML,e)||""):Hl(e,"HTML")?i_(Bs(e)):function qD(e,t){let n=null;try{Su=Su||function l_(e){const t=new jD(e);return function HD(){try{return!!(new window.DOMParser).parseFromString(Va(""),"text/html")}catch{return!1}}()?new UD(t):t}(e);let r=t?String(t):"";n=Su.getInertBodyElement(r);let i=5,s=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=s,s=n.innerHTML,n=Su.getInertBodyElement(r)}while(r!==s);return Va((new GD).sanitizeChildren(Jh(n)||n))}finally{if(n){const r=Jh(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}(Vs(),In(e))}function __(e){const t=zl();return t?t.sanitize(Ba.URL,e)||"":Hl(e,"URL")?Bs(e):Zh(In(e))}function v_(e){const t=zl();if(t)return s_(t.sanitize(Ba.RESOURCE_URL,e)||"");if(Hl(e,"ResourceURL"))return s_(Bs(e));throw new xt(904,!1)}function y_(e,t,n){return function rM(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?v_:__}(t,n)(e)}function zl(){const e=rt();return e&&e[as].sanitizer}const iM=/^>|^->|<!--|-->|--!>|<!-$/g,oM=/(<|>)/g,sM="​$1​";function D_(e){return e.ownerDocument.defaultView}function Co(e){return e instanceof Function?e():e}var Pu=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Pu||{});let nf;function rf(e,t){return nf(e,t)}function ja(e,t,n,r,i){if(null!=r){let s,a=!1;$i(r)?s=r:mi(r)&&(a=!0,r=r[Hr]);const l=hr(r);0===e&&null!==n?null==i?N_(t,n,l):ia(t,n,l,i||null,!0):1===e&&null!==n?ia(t,n,l,i||null,!0):2===e?function Wl(e,t,n){e.removeChild(null,t,n)}(t,l,a):3===e&&t.destroyNode(l),null!=s&&function MM(e,t,n,r,i){const s=n[ls];s!==hr(n)&&ja(t,e,r,s,i);for(let l=Jr;l<n.length;l++){const f=n[l];Ru(f[Tt],f,e,t,r,s)}}(t,e,s,n,i)}}function af(e,t){return e.createComment(function C_(e){return e.replace(iM,(t=>t.replace(oM,sM)))}(t))}function Au(e,t,n){return e.createElement(t,n)}function P_(e,t){t[as].changeDetectionScheduler?.notify(9),Ru(e,t,t[Pn],2,null,null)}function A_(e,t){const n=e[Pa],r=t[oi];(mi(r)||t[$r]!==r[oi][$r])&&(e[Cn]|=Zc.HasTransplantedViews),null===n?e[Pa]=[t]:n.push(t)}function lf(e,t){const n=e[Pa],r=n.indexOf(t);n.splice(r,1)}function Gl(e,t){if(e.length<=Jr)return;const n=Jr+t,r=e[n];if(r){const i=r[Qs];null!==i&&i!==e&&lf(i,r),t>0&&(e[n-1][Go]=r[Go]);const s=va(e,Jr+t);!function _M(e,t){P_(e,t),t[Hr]=null,t[xi]=null}(r[Tt],r);const a=s[Ms];null!==a&&a.detachView(s[Tt]),r[oi]=null,r[Go]=null,r[Cn]&=-129}return r}function xu(e,t){if(!(256&t[Cn])){const n=t[Pn];n.destroyNode&&Ru(e,t,n,3,null,null),function yM(e){let t=e[wl];if(!t)return cf(e[Tt],e);for(;t;){let n=null;if(mi(t))n=t[wl];else{const r=t[Jr];r&&(n=r)}if(!n){for(;t&&!t[Go]&&t!==e;)mi(t)&&cf(t[Tt],t),t=t[oi];null===t&&(t=e),mi(t)&&cf(t[Tt],t),n=t&&t[Go]}t=n}}(t)}}function cf(e,t){if(256&t[Cn])return;const n=S(null);try{t[Cn]&=-129,t[Cn]|=256,t[ko]&&Qe(t[ko]),function wM(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 Ol)){const s=n[r+1];if(Array.isArray(s))for(let a=0;a<s.length;a+=2){const l=i[s[a]],f=s[a+1];cs(4,l,f);try{f.call(l)}finally{cs(5,l,f)}}else{cs(4,i,s);try{s.call(i)}finally{cs(5,i,s)}}}}}(e,t),function EM(e,t){const n=e.cleanup,r=t[Ta];if(null!==n)for(let s=0;s<n.length-1;s+=2)if("string"==typeof n[s]){const a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else n[s].call(r[n[s+1]]);null!==r&&(t[Ta]=null);const i=t[Ls];if(null!==i){t[Ls]=null;for(let s=0;s<i.length;s++)(0,i[s])()}}(e,t),1===t[Tt].type&&t[Pn].destroy();const r=t[Qs];if(null!==r&&$i(t[oi])){r!==t[oi]&&lf(r,t);const i=t[Ms];null!==i&&i.detachView(e)}Rh(t)}finally{S(n)}}function uf(e,t,n){return function x_(e,t,n){let r=t;for(;null!==r&&168&r.type;)r=(t=r).parent;if(null===r)return n[Hr];{const{componentOffset:i}=r;if(i>-1){const{encapsulation:s}=e.data[r.directiveStart+i];if(s===ss.None||s===ss.Emulated)return null}return qi(r,n)}}(e,t.parent,n)}function ia(e,t,n,r,i){e.insertBefore(t,n,r,i)}function N_(e,t,n){e.appendChild(t,n)}function R_(e,t,n,r,i){null!==r?ia(e,t,n,r,i):N_(e,t,n)}function df(e,t){return e.parentNode(t)}function k_(e,t,n){return L_(e,t,n)}let hf,L_=function F_(e,t,n){return 40&e.type?qi(e,n):null};function Nu(e,t,n,r){const i=uf(e,r,t),s=t[Pn],l=k_(r.parent||t[xi],r,t);if(null!=i)if(Array.isArray(n))for(let f=0;f<n.length;f++)R_(s,i,n[f],l,!1);else R_(s,i,n,l,!1);void 0!==hf&&hf(s,r,t,n,i)}function oa(e,t){if(null!==t){const n=t.type;if(3&n)return qi(t,e);if(4&n)return ff(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return oa(e,r);{const i=e[t.index];return $i(i)?ff(-1,i):hr(i)}}if(128&n)return oa(e,t.next);if(32&n)return rf(t,e)()||hr(e[t.index]);{const r=B_(e,t);return null!==r?Array.isArray(r)?r[0]:oa(Ts(e[$r]),r):oa(e,t.next)}}return null}function B_(e,t){return null!==t?e[$r][xi].projection[t.projection]:null}function ff(e,t){const n=Jr+e+1;if(n<t.length){const r=t[n],i=r[Tt].firstChild;if(null!==i)return oa(r,i)}return t[ls]}function pf(e,t,n,r,i,s,a){for(;null!=n;){if(128===n.type){n=n.next;continue}const l=r[n.index],f=n.type;if(a&&0===t&&(l&&zi(hr(l),r),n.flags|=2),32&~n.flags)if(8&f)pf(e,t,n.child,r,i,s,!1),ja(t,e,i,l,s);else if(32&f){const D=rf(n,r);let A;for(;A=D();)ja(t,e,i,A,s);ja(t,e,i,l,s)}else 16&f?j_(e,t,r,n,i,s):ja(t,e,i,l,s);n=a?n.projectionNext:n.next}}function Ru(e,t,n,r,i,s){pf(n,r,e.firstChild,t,i,s,!1)}function j_(e,t,n,r,i,s){const a=n[$r],f=a[xi].projection[r.projection];if(Array.isArray(f))for(let D=0;D<f.length;D++)ja(t,e,i,f[D],s);else{let D=f;const A=a[oi];kl(r)&&(D.flags|=128),pf(e,t,D,A,i,s,!0)}}function H_(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function $_(e,t,n){const{mergedAttrs:r,classes:i,styles:s}=n;null!==r&&Cl(e,t,r),null!==i&&H_(e,t,i),null!==s&&function SM(e,t,n){e.setAttribute(t,"style",n)}(e,t,s)}const kn={};function z_(e=1){G_(Hn(),rt(),Ni()+e,!1)}function G_(e,t,n,r){if(!r)if(3&~t[Cn]){const s=e.preOrderHooks;null!==s&&ou(t,s,0,n)}else{const s=e.preOrderCheckHooks;null!==s&&iu(t,s,n)}Js(n)}function Ha(e,t=jn.Default){const n=rt();return null===n?Nn(e,t):sm(Er(),n,hn(e),t)}function W_(){throw new Error("invalid")}function K_(e,t,n,r,i,s){const a=S(null);try{let l=null;i&ws.SignalBased&&(l=t[r][b]),null!==l&&void 0!==l.transformFn&&(s=l.transformFn(s)),i&ws.HasDecoratorInputTransform&&(s=e.inputTransforms[r].call(t,s)),null!==e.setInput?e.setInput(t,l,s,n,r):Dg(t,l,r,s)}finally{S(a)}}function ku(e,t,n,r,i,s,a,l,f,D,A){const X=t.blueprint.slice();return X[Hr]=i,X[Cn]=204|r,(null!==D||e&&2048&e[Cn])&&(X[Cn]|=2048),Pg(X),X[oi]=X[Sa]=e,X[Nr]=n,X[as]=a||e&&e[as],X[Pn]=l||e&&e[Pn],X[si]=f||e&&e[si]||null,X[xi]=s,X[Oa]=function eD(){return J0++}(),X[Zi]=A,X[yg]=D,X[$r]=2==t.type?e[$r]:X,X}function sa(e,t,n,r,i){let s=e.data[t];if(null===s)s=function gf(e,t,n,r,i){const s=Lg(),a=uh(),f=e.data[t]=function kM(e,t,n,r,i,s){let a=t?t.injectorIndex:-1,l=0;return Ys()&&(l|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:a,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:l,providerIndexes:0,value:i,attrs:s,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,a?s:s&&s.parent,n,t,r,i);return null===e.firstChild&&(e.firstChild=f),null!==s&&(a?null==s.child&&null!==f.parent&&(s.child=f):null===s.next&&(s.next=f,f.prev=s)),f}(e,t,n,r,i),function l0(){return An.lFrame.inI18n}()&&(s.flags|=32);else if(64&s.type){s.type=n,s.value=r,s.attrs=i;const a=function Sl(){const e=An.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();s.injectorIndex=null===a?-1:a.injectorIndex}return Ko(s,!0),s}function Kl(e,t,n,r){if(0===n)return-1;const i=t.length;for(let s=0;s<n;s++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function X_(e,t,n,r,i){const s=Ni(),a=2&r;try{Js(-1),a&&t.length>an&&G_(e,t,an,!1),cs(a?2:0,i),n(r,i)}finally{Js(s),cs(a?3:1,i)}}function mf(e,t,n){if(eh(t)){const r=S(null);try{const s=t.directiveEnd;for(let a=t.directiveStart;a<s;a++){const l=e.data[a];l.contentQueries&&l.contentQueries(1,n[a],a)}}finally{S(r)}}}function _f(e,t,n){Rg()&&(function HM(e,t,n,r){const i=n.directiveStart,s=n.directiveEnd;Zs(n)&&function QM(e,t,n){const r=qi(t,e),i=Q_(n);let a=16;n.signals?a=4096:n.onPush&&(a=64);const l=Fu(e,ku(e,i,null,a,r,t,null,e[as].rendererFactory.createRenderer(r,n),null,null,null));e[t.index]=l}(t,n,e.data[i+n.componentOffset]),e.firstCreatePass||au(n,t),zi(r,t);const a=n.initialInputs;for(let l=i;l<s;l++){const f=e.data[l],D=ta(t,e,l,n);zi(D,t),null!==a&&ZM(0,l-i,D,f,0,a),Wo(f)&&(yo(n.index,t)[Nr]=ta(t,e,l,n))}}(e,t,n,qi(n,t)),!(64&~n.flags)&&ev(e,t,n))}function vf(e,t,n=qi){const r=t.localNames;if(null!==r){let i=t.index+1;for(let s=0;s<r.length;s+=2){const a=r[s+1],l=-1===a?n(t,e):e[a];e[i++]=l}}}function Q_(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=yf(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function yf(e,t,n,r,i,s,a,l,f,D,A){const X=an+r,le=X+i,pe=function OM(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:kn);return n}(X,le),Ae="function"==typeof D?D():D;return pe[Tt]={type:e,blueprint:pe,template:n,queries:null,viewQuery:l,declTNode:t,data:pe.slice().fill(null,X),bindingStartIndex:X,expandoStartIndex:le,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof s?s():s,pipeRegistry:"function"==typeof a?a():a,firstChild:null,schemas:f,consts:Ae,incompleteFirstPass:!1,ssrId:A}}let Z_=()=>null;function q_(e,t,n,r,i){for(let s in t){if(!t.hasOwnProperty(s))continue;const a=t[s];if(void 0===a)continue;r??={};let l,f=ws.None;Array.isArray(a)?(l=a[0],f=a[1]):l=a;let D=s;if(null!==i){if(!i.hasOwnProperty(s))continue;D=i[s]}0===e?Y_(r,n,D,l,f):Y_(r,n,D,l)}return r}function Y_(e,t,n,r,i){let s;e.hasOwnProperty(n)?(s=e[n]).push(t,r):s=e[n]=[t,r],void 0!==i&&s.push(i)}function co(e,t,n,r,i,s,a,l){const f=qi(t,n);let A,D=t.inputs;!l&&null!=D&&(A=D[r])?(Df(e,n,A,r,i),Zs(t)&&function VM(e,t){const n=yo(t,e);16&n[Cn]||(n[Cn]|=64)}(n,t.index)):3&t.type&&(r=function LM(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=a?a(i,t.value||"",r):i,s.setProperty(f,r,i))}function Cf(e,t,n,r){if(Rg()){const i=null===r?null:{"":-1},s=function zM(e,t){const n=e.directiveRegistry;let r=null,i=null;if(n)for(let s=0;s<n.length;s++){const a=n[s];if(Hc(t,a.selectors,!1))if(r||(r=[]),Wo(a))if(null!==a.findHostDirectiveDefs){const l=[];i=i||new Map,a.findHostDirectiveDefs(a,l,i),r.unshift(...l,a),Ef(e,t,l.length)}else r.unshift(a),Ef(e,t,0);else i=i||new Map,a.findHostDirectiveDefs?.(a,r,i),r.push(a)}return null===r?null:[r,i]}(e,n);let a,l;null===s?a=l=null:[a,l]=s,null!==a&&J_(e,t,n,a,i,l),i&&function GM(e,t,n){if(t){const r=e.localNames=[];for(let i=0;i<t.length;i+=2){const s=n[t[i+1]];if(null==s)throw new xt(-301,!1);r.push(t[i],s)}}}(n,r,i)}n.mergedAttrs=Ea(n.mergedAttrs,n.attrs)}function J_(e,t,n,r,i,s){for(let D=0;D<r.length;D++)bh(au(n,t),e,r[D].type);!function KM(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,r.length);for(let D=0;D<r.length;D++){const A=r[D];A.providersResolver&&A.providersResolver(A)}let a=!1,l=!1,f=Kl(e,t,r.length,null);for(let D=0;D<r.length;D++){const A=r[D];n.mergedAttrs=Ea(n.mergedAttrs,A.hostAttrs),XM(e,n,t,f,A),WM(f,A,i),null!==A.contentQueries&&(n.flags|=4),(null!==A.hostBindings||null!==A.hostAttrs||0!==A.hostVars)&&(n.flags|=64);const X=A.type.prototype;!a&&(X.ngOnChanges||X.ngOnInit||X.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),a=!0),!l&&(X.ngOnChanges||X.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),l=!0),f++}!function FM(e,t,n){const i=t.directiveEnd,s=e.data,a=t.attrs,l=[];let f=null,D=null;for(let A=t.directiveStart;A<i;A++){const X=s[A],le=n?n.get(X):null,Ae=le?le.outputs:null;f=q_(0,X.inputs,A,f,le?le.inputs:null),D=q_(1,X.outputs,A,D,Ae);const st=null===f||null===a||wa(t)?null:qM(f,A,a);l.push(st)}null!==f&&(f.hasOwnProperty("class")&&(t.flags|=8),f.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=l,t.inputs=f,t.outputs=D}(e,n,s)}function ev(e,t,n){const r=n.directiveStart,i=n.directiveEnd,s=n.index,a=function u0(){return An.lFrame.currentDirectiveIndex}();try{Js(s);for(let l=r;l<i;l++){const f=e.data[l],D=t[l];hh(l),(null!==f.hostBindings||0!==f.hostVars||null!==f.hostAttrs)&&$M(f,D)}}finally{Js(-1),hh(a)}}function $M(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Ef(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function WM(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Wo(t)&&(n[""]=e)}}function XM(e,t,n,r,i){e.data[r]=i;const s=i.factory||(i.factory=Si(i.type)),a=new Ol(s,Wo(i),Ha);e.blueprint[r]=a,n[r]=a,function UM(e,t,n,r,i){const s=i.hostBindings;if(s){let a=e.hostBindingOpCodes;null===a&&(a=e.hostBindingOpCodes=[]);const l=~t.index;(function jM(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(a)!=l&&a.push(l),a.push(n,r,s)}}(e,t,r,Kl(e,n,i.hostVars,kn),i)}function fs(e,t,n,r,i,s){const a=qi(e,t);!function wf(e,t,n,r,i,s,a){if(null==s)e.removeAttribute(t,i,n);else{const l=null==a?In(s):a(s,r||"",i);e.setAttribute(t,i,l,n)}}(t[Pn],a,s,e.value,n,r,i)}function ZM(e,t,n,r,i,s){const a=s[t];if(null!==a)for(let l=0;l<a.length;)K_(r,n,a[l++],a[l++],a[l++],a[l++])}function qM(e,t,n){let r=null,i=0;for(;i<n.length;){const s=n[i];if(0!==s)if(5!==s){if("number"==typeof s)break;if(e.hasOwnProperty(s)){null===r&&(r=[]);const a=e[s];for(let l=0;l<a.length;l+=3)if(a[l]===t){r.push(s,a[l+1],a[l+2],n[i+1]);break}}i+=2}else i+=2;else i+=4}return r}function tv(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function nv(e,t){const n=e.contentQueries;if(null!==n){const r=S(null);try{for(let i=0;i<n.length;i+=2){const a=n[i+1];if(-1!==a){const l=e.data[a];nu(n[i]),l.contentQueries(2,t[a],a)}}}finally{S(r)}}}function Fu(e,t){return e[wl]?e[vg][Go]=t:e[wl]=t,e[vg]=t,t}function bf(e,t,n){nu(0);const r=S(null);try{t(e,n)}finally{S(r)}}function rv(e){return e[Ta]??=[]}function iv(e){return e.cleanup??=[]}function Lu(e,t){const n=e[si],r=n?n.get(Os,null):null;r&&r.handleError(t)}function Df(e,t,n,r,i){for(let s=0;s<n.length;){const a=n[s++],l=n[s++],f=n[s++];K_(e.data[a],t[a],r,l,f,i)}}function YM(e,t){const n=yo(t,e),r=n[Tt];!function JM(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n);const i=n[Hr];null!==i&&null===n[Zi]&&(n[Zi]=$h(i,n[si])),Mf(r,n,n[Nr])}function Mf(e,t,n){gh(t);try{const r=e.viewQuery;null!==r&&bf(1,r,n);const i=e.template;null!==i&&X_(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Ms]?.finishViewCreation(e),e.staticContentQueries&&nv(e,t),e.staticViewQueries&&bf(2,e.viewQuery,n);const s=e.components;null!==s&&function eT(e,t){for(let n=0;n<t.length;n++)YM(e,t[n])}(t,s)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[Cn]&=-5,mh()}}function $a(e,t,n,r){const i=S(null);try{const s=t.tView,f=ku(e,s,n,4096&e[Cn]?4096:16,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null);f[Qs]=e[t.index];const A=e[Ms];return null!==A&&(f[Ms]=A.createEmbeddedView(s)),Mf(s,f,n),f}finally{S(i)}}function aa(e,t){return!t||null===t.firstChild||kl(e)}function za(e,t,n,r=!0){const i=t[Tt];if(function CM(e,t,n,r){const i=Jr+r,s=n.length;r>0&&(n[i-1][Go]=t),r<s-Jr?(t[Go]=n[i],Nc(n,Jr+r,t)):(n.push(t),t[Go]=null),t[oi]=n;const a=t[Qs];null!==a&&n!==a&&A_(a,t);const l=t[Ms];null!==l&&l.insertView(e),ah(t),t[Cn]|=128}(i,t,e,n),r){const a=ff(n,e),l=t[Pn],f=df(l,e[ls]);null!==f&&function vM(e,t,n,r,i,s){r[Hr]=i,r[xi]=t,Ru(e,r,n,1,i,s)}(i,e[xi],l,t,f,a)}const s=t[Zi];null!==s&&null!==s.firstChild&&(s.firstChild=null)}function Xl(e,t,n,r,i=!1){for(;null!==n;){if(128===n.type){n=i?n.projectionNext:n.next;continue}const s=t[n.index];null!==s&&r.push(hr(s)),$i(s)&&av(s,r);const a=n.type;if(8&a)Xl(e,t,n.child,r);else if(32&a){const l=rf(n,t);let f;for(;f=l();)r.push(f)}else if(16&a){const l=B_(t,n);if(Array.isArray(l))r.push(...l);else{const f=Ts(t[$r]);Xl(f[Tt],f,l,r,!0)}}n=i?n.projectionNext:n.next}return r}function av(e,t){for(let n=Jr;n<e.length;n++){const r=e[n],i=r[Tt].firstChild;null!==i&&Xl(r[Tt],r,i,t)}e[ls]!==e[Hr]&&t.push(e[ls])}let lv=[];const iT={...R,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Jc(e.lView)},consumerOnSignalRead(){this.lView[ko]=this}},sT={...R,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=Ts(e.lView);for(;t&&!cv(t[Tt]);)t=Ts(t);t&&Ag(t)},consumerOnSignalRead(){this.lView[ko]=this}};function cv(e){return 2!==e.type}const aT=100;function Vu(e,t=!0,n=0){const r=e[as],i=r.rendererFactory;i.begin?.();try{!function lT(e,t){const n=Ug();try{jg(!0),Sf(e,t);let r=0;for(;Yc(e);){if(r===aT)throw new xt(103,!1);r++,Sf(e,1)}}finally{jg(n)}}(e,n)}catch(a){throw t&&Lu(e,a),a}finally{i.end?.(),r.inlineEffectRunner?.flush()}}function cT(e,t,n,r){const i=t[Cn];if(!(256&~i))return;t[as].inlineEffectRunner?.flush(),gh(t);let l=!0,f=null,D=null;cv(e)?(D=function tT(e){return e[ko]??function nT(e){const t=lv.pop()??Object.create(iT);return t.lView=e,t}(e)}(t),f=He(D)):null===function x(){return m}()?(l=!1,D=function oT(e){const t=e[ko]??Object.create(sT);return t.lView=e,t}(t),f=He(D)):t[ko]&&(Qe(t[ko]),t[ko]=null);try{Pg(t),function Hg(e){return An.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&X_(e,t,n,2,r);const A=!(3&~i);if(A){const pe=e.preOrderCheckHooks;null!==pe&&iu(t,pe,null)}else{const pe=e.preOrderHooks;null!==pe&&ou(t,pe,0,null),_h(t,0)}if(function uT(e){for(let t=Fm(e);null!==t;t=Lm(t)){if(!(t[Cn]&Zc.HasTransplantedViews))continue;const n=t[Pa];for(let r=0;r<n.length;r++)Ag(n[r])}}(t),dv(t,0),null!==e.contentQueries&&nv(e,t),A){const pe=e.contentCheckHooks;null!==pe&&iu(t,pe)}else{const pe=e.contentHooks;null!==pe&&ou(t,pe,1),_h(t,1)}!function IM(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const i=n[r];if(i<0)Js(~i);else{const s=i,a=n[++r],l=n[++r];c0(a,s),l(2,t[s])}}}finally{Js(-1)}}(e,t);const X=e.components;null!==X&&fv(t,X,0);const le=e.viewQuery;if(null!==le&&bf(2,le,r),A){const pe=e.viewCheckHooks;null!==pe&&iu(t,pe)}else{const pe=e.viewHooks;null!==pe&&ou(t,pe,2),_h(t,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[Xc]){for(const pe of t[Xc])pe();t[Xc]=null}t[Cn]&=-73}catch(A){throw Jc(t),A}finally{null!==D&&(Fe(D,f),l&&function rT(e){e.lView[ko]!==e&&(e.lView=null,lv.push(e))}(D)),mh()}}function dv(e,t){for(let n=Fm(e);null!==n;n=Lm(n))for(let r=Jr;r<n.length;r++)hv(n[r],t)}function dT(e,t,n){hv(yo(t,e),n)}function hv(e,t){sh(e)&&Sf(e,t)}function Sf(e,t){const r=e[Tt],i=e[Cn],s=e[ko];let a=!!(0===t&&16&i);if(a||=!!(64&i&&0===t),a||=!!(1024&i),a||=!(!s?.dirty||!ct(s)),a||=!1,s&&(s.dirty=!1),e[Cn]&=-9217,a)cT(r,e,r.template,e[Nr]);else if(8192&i){dv(e,1);const l=r.components;null!==l&&fv(e,l,1)}}function fv(e,t,n){for(let r=0;r<t.length;r++)dT(e,t[r],n)}function Ql(e,t){const n=Ug()?64:1088;for(e[as].changeDetectionScheduler?.notify(t);e;){e[Cn]|=n;const r=Ts(e);if(Dl(e)&&!r)return e;e=r}return null}class Zl{get rootNodes(){const t=this._lView,n=t[Tt];return Xl(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[Nr]}set context(t){this._lView[Nr]=t}get destroyed(){return!(256&~this._lView[Cn])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[oi];if($i(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(Gl(t,r),va(n,r))}this._attachedToViewContainer=!1}xu(this._lView[Tt],this._lView)}onDestroy(t){eu(this._lView,t)}markForCheck(){Ql(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[Cn]&=-129}reattach(){ah(this._lView),this._lView[Cn]|=128}detectChanges(){this._lView[Cn]|=1024,Vu(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new xt(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const t=Dl(this._lView),n=this._lView[Qs];null!==n&&!t&&lf(n,this._lView),P_(this._lView[Tt],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new xt(902,!1);this._appRef=t;const n=Dl(this._lView),r=this._lView[Qs];null!==r&&!n&&A_(r,this._lView),ah(this._lView)}}let ql=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=pT}return e})();const hT=ql,fT=class extends hT{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=$a(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new Zl(i)}};function pT(){return Bu(Er(),rt())}function Bu(e,t){return 4&e.type?new fT(t,e,Ra(e,t)):null}let Rv=()=>null;function ca(e,t){return Rv(e,t)}class Wa{}const oc=new En("",{providedIn:"root",factory:()=>!1}),kv=new En(""),Vf=new En("");class sS{}class Fv{}class lS{resolveComponentFactory(t){throw function aS(e){const t=Error(`No component factory found for ${Fr(e)}.`);return t.ngComponent=e,t}(t)}}class sc{static#e=this.NULL=new lS}class Bf{}let cS=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function uS(){const e=rt(),n=yo(Er().index,e);return(mi(n)?n:e)[Pn]}()}return e})(),dS=(()=>{class e{static#e=this.ɵprov=Jt({token:e,providedIn:"root",factory:()=>null})}return e})();function Us(e){return!!pt(e)}function Wu(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,s=0;if(null!==t)for(let a=0;a<t.length;a++){const l=t[a];"number"==typeof l?s=l:1==s?i=Uo(i,l):2==s&&(r=Uo(r,l+": "+t[++a]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}class Uv extends sc{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=V(t);return new cc(n,this.ngModule)}}function jv(e,t){const n=[];for(const r in e){if(!e.hasOwnProperty(r))continue;const i=e[r];if(void 0===i)continue;const s=Array.isArray(i),a=s?i[0]:i;n.push(t?{propName:a,templateName:r,isSignal:!!((s?i[1]:ws.None)&ws.SignalBased)}:{propName:a,templateName:r})}return n}class cc extends Fv{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=jv(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 jv(this.componentDef.outputs,!1)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function ug(e){return e.map(cg).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,i){const s=S(null);try{let a=(i=i||this.ngModule)instanceof Ro?i:i?.injector;a&&null!==this.componentDef.getStandaloneInjector&&(a=this.componentDef.getStandaloneInjector(a)||a);const l=a?new ea(t,a):t,f=l.get(Bf,null);if(null===f)throw new xt(407,!1);const X={rendererFactory:f,sanitizer:l.get(dS,null),inlineEffectRunner:null,changeDetectionScheduler:l.get(Wa,null)},le=f.createRenderer(null,this.componentDef),pe=this.componentDef.selectors[0][0]||"div",Ae=r?function PM(e,t,n,r){const s=r.get(t_,!1)||n===ss.ShadowDom,a=e.selectRootElement(t,s);return function AM(e){Z_(e)}(a),a}(le,r,this.componentDef.encapsulation,l):Au(le,pe,function pS(e){const t=e.toLowerCase();return"svg"===t?Ig:"math"===t?"math":null}(pe));let st=512;this.componentDef.signals?st|=4096:this.componentDef.onPush||(st|=16);let St=null;null!==Ae&&(St=$h(Ae,l,!0));const kt=yf(0,null,null,1,0,null,null,null,null,null,null),at=ku(null,kt,null,st,null,null,X,le,l,null,St);gh(at);let Rn,Yn,Dr=null;try{const ri=this.componentDef;let ho,ml=null;ri.findHostDirectiveDefs?(ho=[],ml=new Map,ri.findHostDirectiveDefs(ri,ho,ml),ho.push(ri)):ho=[ri];const bb=function mS(e,t){const n=e[Tt],r=an;return e[r]=t,sa(n,r,2,"#host",null)}(at,Ae);Dr=function _S(e,t,n,r,i,s,a){const l=i[Tt];!function vS(e,t,n,r){for(const i of e)t.mergedAttrs=Ea(t.mergedAttrs,i.hostAttrs);null!==t.mergedAttrs&&(Wu(t,t.mergedAttrs,!0),null!==n&&$_(r,n,t))}(r,e,t,a);let f=null;null!==t&&(f=$h(t,i[si]));const D=s.rendererFactory.createRenderer(t,n);let A=16;n.signals?A=4096:n.onPush&&(A=64);const X=ku(i,Q_(n),null,A,i[e.index],e,s,D,null,null,f);return l.firstCreatePass&&Ef(l,e,r.length-1),Fu(i,X),i[e.index]=X}(bb,Ae,ri,ho,at,X,le),Yn=Tl(kt,an),Ae&&function CS(e,t,n,r){if(r)Cl(e,n,["ng-version","18.2.5"]);else{const{attrs:i,classes:s}=function dg(e){const t=[],n=[];let r=1,i=2;for(;r<e.length;){let s=e[r];if("string"==typeof s)2===i?""!==s&&t.push(s,e[++r]):8===i&&n.push(s);else{if(!_o(i))break;i=s}r++}return{attrs:t,classes:n}}(t.selectors[0]);i&&Cl(e,n,i),s&&s.length>0&&H_(e,n,s.join(" "))}}(le,ri,Ae,r),void 0!==n&&function ES(e,t,n){const r=e.projection=[];for(let i=0;i<t.length;i++){const s=n[i];r.push(null!=s?Array.from(s):null)}}(Yn,this.ngContentSelectors,n),Rn=function yS(e,t,n,r,i,s){const a=Er(),l=i[Tt],f=qi(a,i);J_(l,i,a,n,null,r);for(let A=0;A<n.length;A++)zi(ta(i,l,a.directiveStart+A,a),i);ev(l,i,a),f&&zi(f,i);const D=ta(i,l,a.directiveStart+a.componentOffset,a);if(e[Nr]=i[Nr]=D,null!==s)for(const A of s)A(D,t);return mf(l,a,i),D}(Dr,ri,ho,ml,at,[wS]),Mf(kt,at,null)}catch(ri){throw null!==Dr&&Rh(Dr),Rh(at),ri}finally{mh()}return new gS(this.componentType,Rn,Ra(Yn,at),at,Yn)}finally{S(s)}}}class gS extends sS{constructor(t,n,r,i,s){super(),this.location=r,this._rootLView=i,this._tNode=s,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new Zl(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 s=this._rootLView;Df(s[Tt],s,i,t,n),this.previousInputValues.set(t,n),Ql(yo(this._tNode.index,s),1)}}get injector(){return new _i(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function wS(){const e=Er();ru(rt()[Tt],e)}let Ku=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=bS}return e})();function bS(){return zv(Er(),rt())}const DS=Ku,Hv=class extends DS{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Ra(this._hostTNode,this._hostLView)}get injector(){return new _i(this._hostTNode,this._hostLView)}get parentInjector(){const t=lu(this._hostTNode,this._hostLView);if(Ch(t)){const n=Al(t,this._hostLView),r=Pl(t);return new _i(n[Tt].data[r+8],n)}return new _i(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=$v(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-Jr}createEmbeddedView(t,n,r){let i,s;"number"==typeof r?i=r:null!=r&&(i=r.index,s=r.injector);const a=ca(this._lContainer,t.ssrId),l=t.createEmbeddedViewImpl(n||{},s,a);return this.insertImpl(l,i,aa(this._hostTNode,a)),l}createComponent(t,n,r,i,s){const a=t&&!function El(e){return"function"==typeof e}(t);let l;if(a)l=n;else{const Ae=n||{};l=Ae.index,r=Ae.injector,i=Ae.projectableNodes,s=Ae.environmentInjector||Ae.ngModuleRef}const f=a?t:new cc(V(t)),D=r||this.parentInjector;if(!s&&null==f.ngModule){const st=(a?D:this.parentInjector).get(Ro,null);st&&(s=st)}const A=V(f.componentType??{}),X=ca(this._lContainer,A?.id??null),pe=f.create(D,i,X?.firstChild??null,s);return this.insertImpl(pe.hostView,l,aa(this._hostTNode,X)),pe}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){const i=t._lView;if(function Yb(e){return $i(e[oi])}(i)){const l=this.indexOf(t);if(-1!==l)this.detach(l);else{const f=i[oi],D=new Hv(f,f[xi],f[oi]);D.detach(D.indexOf(t))}}const s=this._adjustIndex(n),a=this._lContainer;return za(a,i,s,r),t.attachToViewContainerRef(),Nc(Hf(a),s,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=$v(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Gl(this._lContainer,n);r&&(va(Hf(this._lContainer),n),xu(r[Tt],r))}detach(t){const n=this._adjustIndex(t,-1),r=Gl(this._lContainer,n);return r&&null!=va(Hf(this._lContainer),n)?new Zl(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function $v(e){return e[8]}function Hf(e){return e[8]||(e[8]=[])}function zv(e,t){let n;const r=t[e.index];return $i(r)?n=r:(n=tv(r,t,null,e),t[e.index]=n,Fu(t,n)),Gv(n,t,e,r),new Hv(n,e,t)}let Gv=function Kv(e,t,n,r){if(e[ls])return;let i;i=8&n.type?hr(r):function MS(e,t){const n=e[Pn],r=n.createComment(""),i=qi(t,e);return ia(n,df(n,i),r,function bM(e,t){return e.nextSibling(t)}(n,i),!1),r}(t,n),e[ls]=i},$f=()=>!1;class zf{constructor(t){this.queryList=t,this.matches=null}clone(){return new zf(this.queryList)}setDirty(){this.queryList.setDirty()}}class Gf{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,i=[];for(let s=0;s<r;s++){const a=n.getByIndex(s);i.push(this.queries[a.indexInDeclarationView].clone())}return new Gf(i)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==Zf(t,n).matches&&this.queries[n].setDirty()}}class Xv{constructor(t,n,r=null){this.flags=n,this.read=r,this.predicate="string"==typeof t?function NS(e){return e.split(",").map((t=>t.trim()))}(t):t}}class Wf{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){const i=null!==n?n.length:0,s=this.getByIndex(r).embeddedTView(t,i);s&&(s.indexInDeclarationView=r,null!==n?n.push(s):n=[s])}return null!==n?new Wf(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 Kf{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 Kf(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 s=r[i];this.matchTNodeWithReadOption(t,n,OS(n,s)),this.matchTNodeWithReadOption(t,n,cu(n,t,s,!1,!1))}else r===ql?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,cu(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const i=this.metadata.read;if(null!==i)if(i===Nl||i===Ku||i===ql&&4&n.type)this.addMatch(n.index,-2);else{const s=cu(n,t,i,!1,!1);null!==s&&this.addMatch(n.index,s)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function OS(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 AS(e,t,n,r){return-1===n?function PS(e,t){return 11&e.type?Ra(e,t):4&e.type?Bu(e,t):null}(t,e):-2===n?function xS(e,t,n){return n===Nl?Ra(t,e):n===ql?Bu(t,e):n===Ku?zv(t,e):void 0}(e,t,r):ta(e,e[Tt],n,t)}function Qv(e,t,n,r){const i=t[Ms].queries[r];if(null===i.matches){const s=e.data,a=n.matches,l=[];for(let f=0;null!==a&&f<a.length;f+=2){const D=a[f];l.push(D<0?null:AS(t,s[D],a[f+1],n.metadata.read))}i.matches=l}return i.matches}function Xf(e,t,n,r){const i=e.queries.getByIndex(n),s=i.matches;if(null!==s){const a=Qv(e,t,i,n);for(let l=0;l<s.length;l+=2){const f=s[l];if(f>0)r.push(a[l/2]);else{const D=s[l+1],A=t[-f];for(let X=Jr;X<A.length;X++){const le=A[X];le[Qs]===le[oi]&&Xf(le[Tt],le,D,r)}if(null!==A[Pa]){const X=A[Pa];for(let le=0;le<X.length;le++){const pe=X[le];Xf(pe[Tt],pe,D,r)}}}}}return r}function Zv(e,t,n){const r=new Ah(!(4&~n));return function RM(e,t,n,r){const i=rv(t);i.push(n),e.firstCreatePass&&iv(e).push(r,i.length-1)}(e,t,r,r.destroy),(t[Ms]??=new Gf).queries.push(new zf(r))-1}function Jv(e,t,n){null===e.queries&&(e.queries=new Wf),e.queries.track(new Kf(t,n))}function Zf(e,t){return e.queries.getByIndex(t)}function ey(e,t){const n=e[Tt],r=Zf(n,t);return r.crossesNgTemplate?Xf(n,e,t,[]):Qv(n,e,r,t)}const ty=new Set;function Ji(e){ty.has(e)||(ty.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function ry(e,t){Ji("NgSignals");const n=function Te(e){const t=Object.create(Sn);t.value=e;const n=()=>(G(t),t.value);return n[b]=t,n}(e),r=n[b];return t?.equal&&(r.equal=t.equal),n.set=i=>Bt(r,i),n.update=i=>function en(e,t){we()||lt(),Bt(e,t(e.value))}(r,i),n.asReadonly=iy.bind(n),n}function iy(){const e=this[b];if(void 0===e.readonlyFn){const t=()=>this();t[b]=e,e.readonlyFn=t}return e.readonlyFn}function Yf(e){let t=function my(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let i;if(Wo(e))i=t.ɵcmp||t.ɵdir;else{if(t.ɵcmp)throw new xt(903,!1);i=t.ɵdir}if(i){if(n){r.push(i);const a=e;a.inputs=Qu(e.inputs),a.inputTransforms=Qu(e.inputTransforms),a.declaredInputs=Qu(e.declaredInputs),a.outputs=Qu(e.outputs);const l=i.hostBindings;l&&XS(e,l);const f=i.viewQuery,D=i.contentQueries;if(f&&WS(e,f),D&&KS(e,D),zS(e,i),Bo(e.outputs,i.outputs),Wo(i)&&i.data.animation){const A=e.data;A.animation=(A.animation||[]).concat(i.data.animation)}}const s=i.features;if(s)for(let a=0;a<s.length;a++){const l=s[a];l&&l.ngInherit&&l(e),l===Yf&&(n=!1)}}t=Object.getPrototypeOf(t)}!function GS(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=Ea(i.hostAttrs,n=Ea(n,i.hostAttrs))}}(r)}function zS(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 Qu(e){return e===zo?{}:e===or?[]:e}function WS(e,t){const n=e.viewQuery;e.viewQuery=n?(r,i)=>{t(r,i),n(r,i)}:t}function KS(e,t){const n=e.contentQueries;e.contentQueries=n?(r,i,s)=>{t(r,i,s),n(r,i,s)}:t}function XS(e,t){const n=e.hostBindings;e.hostBindings=n?(r,i)=>{t(r,i),n(r,i)}:t}function Cy(e){const t=e.inputConfig,n={};for(const r in t)if(t.hasOwnProperty(r)){const i=t[r];Array.isArray(i)&&i[3]&&(n[r]=i[3])}e.inputTransforms=n}class ua{}class Ey{}function eI(e,t){return new Jf(e,t??null,[])}class Jf extends ua{constructor(t,n,r,i=!0){super(),this.ngModuleType=t,this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Uv(this);const s=pt(t);this._bootstrapComponents=Co(s.bootstrap),this._r3Injector=_m(t,n,[{provide:ua,useValue:this},{provide:sc,useValue:this.componentFactoryResolver},...r],Fr(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 ep extends Ey{constructor(t){super(),this.moduleType=t}create(t){return new Jf(this.moduleType,t,[])}}class wy extends ua{constructor(t){super(),this.componentFactoryResolver=new Uv(this),this.instance=null;const n=new ba([...t.providers,{provide:ua,useValue:this},{provide:sc,useValue:this.componentFactoryResolver}],t.parent||Wc(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function tp(e,t,n=null){return new wy({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}function Zu(e){return!!np(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function np(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function ps(e,t,n){return e[t]=n}function ei(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function da(e,t,n,r){const i=ei(e,t,n);return ei(e,t+1,r)||i}function hc(e,t,n,r,i,s,a,l,f,D){const A=n+an,X=t.firstCreatePass?function sI(e,t,n,r,i,s,a,l,f){const D=t.consts,A=sa(t,e,4,a||null,l||null);Cf(t,n,A,Fo(D,f)),ru(t,A);const X=A.tView=yf(2,A,r,i,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,D,null);return null!==t.queries&&(t.queries.template(t,A),X.queries=t.queries.embeddedTView(A)),A}(A,t,e,r,i,s,a,l,f):t.data[A];Ko(X,!1);const le=by(t,e,X,n);Il()&&Nu(t,e,le,X),zi(le,e);const pe=tv(le,e,le,X);return e[A]=pe,Fu(e,pe),function Wv(e,t,n){return $f(e,t,n)}(pe,X,e),qc(X)&&_f(t,e,X),null!=f&&vf(e,X,D),X}function rp(e,t,n,r,i,s,a,l){const f=rt(),D=Hn();return hc(f,D,e,t,n,r,i,Fo(D.consts,s),a,l),rp}let by=function Dy(e,t,n,r){return us(!0),t[Pn].createComment("")};var Za=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Za||{});let Py=(()=>{class e{constructor(){this.impl=null}execute(){this.impl?.execute()}static#e=this.ɵprov=Jt({token:e,providedIn:"root",factory:()=>new e})}return e})();class gc{constructor(){this.ngZone=Et(zr),this.scheduler=Et(Wa),this.errorHandler=Et(Os,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static#e=this.PHASES=[Za.EarlyRead,Za.Write,Za.MixedReadWrite,Za.Read];execute(){this.executing=!0;for(const t of gc.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#t=this.ɵprov=Jt({token:gc,providedIn:"root",factory:()=>new gc})}class uI{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 qd(e){if(!mg())throw new xt(-203,!1)}();const n=t?.injector??Et(Ri);return function Eo(e){return"browser"===(e??Et(Ri)).get(_u)}(n)?(Ji("NgAfterNextRender"),function Ay(e,t,n,r){const i=t.get(Py);i.impl??=t.get(gc);const a=new uI(i.impl,function hI(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??Za.MixedReadWrite),r,t.get(xl));return i.impl.register(a),a}(e,n,t,!0)):xy}const xy={destroy(){}};function pp(e,t,n,r){const i=rt();return ei(i,Xo(),t)&&(Hn(),fs(Rr(),i,e,t,n,r)),pp}function rl(e,t,n,r){return ei(e,Xo(),n)?t+In(n)+r:kn}function il(e,t,n,r,i,s){const l=da(e,function Ss(){return An.lFrame.bindingIndex}(),n,i);return Is(2),l?t+In(n)+r+In(i)+s:kn}function id(e,t){return e<<17|t<<2}function $s(e){return e>>17&32767}function gp(e){return 2|e}function fa(e){return(131068&e)>>2}function mp(e,t){return-131069&e|t<<2}function _p(e){return 1|e}function iC(e,t,n,r){const i=e[n+1],s=null===t;let a=r?$s(i):fa(i),l=!1;for(;0!==a&&(!1===l||s);){const D=e[a+1];XI(e[a],t)&&(l=!0,e[a+1]=r?_p(D):gp(D)),a=r?$s(D):fa(D)}l&&(e[n+1]=r?gp(i):_p(i))}function XI(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Es(e,t)>=0}const vi={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function oC(e){return e.substring(vi.key,vi.keyEnd)}function sC(e,t){const n=vi.textEnd;return n===t?-1:(t=vi.keyEnd=function YI(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,vi.key=t,n),dl(e,t,n))}function dl(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function vp(e,t,n){const r=rt();return ei(r,Xo(),t)&&co(Hn(),Rr(),r,e,t,r[Pn],n,!1),vp}function yp(e,t,n,r,i){const a=i?"class":"style";Df(e,n,t.inputs[a],a,r)}function Cp(e,t){return function Qo(e,t,n,r){const i=rt(),s=Hn(),a=Is(2);s.firstUpdatePass&&pC(s,e,a,r),t!==kn&&ei(i,a,t)&&mC(s,s.data[Ni()],i,i[Pn],e,i[a+1]=function cO(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Fr(Bs(e)))),e}(t,n),r,a)}(e,t,null,!0),Cp}function hC(e){Zo(aO,ms,e,!0)}function ms(e,t){for(let n=function ZI(e){return function lC(e){vi.key=0,vi.keyEnd=0,vi.value=0,vi.valueEnd=0,vi.textEnd=e.length}(e),sC(e,dl(e,0,vi.textEnd))}(t);n>=0;n=sC(t,n))Hi(e,oC(t),!0)}function Zo(e,t,n,r){const i=Hn(),s=Is(2);i.firstUpdatePass&&pC(i,null,s,r);const a=rt();if(n!==kn&&ei(a,s,n)){const l=i.data[Ni()];if(vC(l,r)&&!fC(i,s)){let f=r?l.classesWithoutHost:l.stylesWithoutHost;null!==f&&(n=Uo(f,n||"")),yp(i,l,a,n,r)}else!function lO(e,t,n,r,i,s,a,l){i===kn&&(i=or);let f=0,D=0,A=0<i.length?i[0]:null,X=0<s.length?s[0]:null;for(;null!==A||null!==X;){const le=f<i.length?i[f+1]:void 0,pe=D<s.length?s[D+1]:void 0;let st,Ae=null;A===X?(f+=2,D+=2,le!==pe&&(Ae=X,st=pe)):null===X||null!==A&&A<X?(f+=2,Ae=A):(D+=2,Ae=X,st=pe),null!==Ae&&mC(e,t,n,r,Ae,st,a,l),A=f<i.length?i[f]:null,X=D<s.length?s[D]:null}}(i,l,a,a[Pn],a[s+1],a[s+1]=function sO(e,t,n){if(null==n||""===n)return or;const r=[],i=Bs(n);if(Array.isArray(i))for(let s=0;s<i.length;s++)e(r,i[s],!0);else if("object"==typeof i)for(const s in i)i.hasOwnProperty(s)&&e(r,s,i[s]);else"string"==typeof i&&t(r,i);return r}(e,t,n),r,s)}}function fC(e,t){return t>=e.expandoStartIndex}function pC(e,t,n,r){const i=e.data;if(null===i[n+1]){const s=i[Ni()],a=fC(e,n);vC(s,r)&&null===t&&!a&&(t=!1),t=function nO(e,t,n,r){const i=function fh(e){const t=An.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let s=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=_c(n=Ep(null,e,t,n,r),t.attrs,r),s=null);else{const a=t.directiveStylingLast;if(-1===a||e[a]!==i)if(n=Ep(i,e,t,n,r),null===s){let f=function rO(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==fa(r))return e[$s(r)]}(e,t,r);void 0!==f&&Array.isArray(f)&&(f=Ep(null,e,t,f[1],r),f=_c(f,t.attrs,r),function iO(e,t,n,r){e[$s(n?t.classBindings:t.styleBindings)]=r}(e,t,r,f))}else s=function oO(e,t,n){let r;const i=t.directiveEnd;for(let s=1+t.directiveStylingLast;s<i;s++)r=_c(r,e[s].hostAttrs,n);return _c(r,t.attrs,n)}(e,t,r)}return void 0!==s&&(r?t.residualClasses=s:t.residualStyles=s),n}(i,s,t,r),function WI(e,t,n,r,i,s){let a=s?t.classBindings:t.styleBindings,l=$s(a),f=fa(a);e[r]=n;let A,D=!1;if(Array.isArray(n)?(A=n[1],(null===A||Es(n,A)>0)&&(D=!0)):A=n,i)if(0!==f){const le=$s(e[l+1]);e[r+1]=id(le,l),0!==le&&(e[le+1]=mp(e[le+1],r)),e[l+1]=function zI(e,t){return 131071&e|t<<17}(e[l+1],r)}else e[r+1]=id(l,0),0!==l&&(e[l+1]=mp(e[l+1],r)),l=r;else e[r+1]=id(f,0),0===l?l=r:e[f+1]=mp(e[f+1],r),f=r;D&&(e[r+1]=gp(e[r+1])),iC(e,A,r,!0),iC(e,A,r,!1),function KI(e,t,n,r,i){const s=i?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof t&&Es(s,t)>=0&&(n[r+1]=_p(n[r+1]))}(t,A,e,r,s),a=id(l,f),s?t.classBindings=a:t.styleBindings=a}(i,s,t,n,a,r)}}function Ep(e,t,n,r,i){let s=null;const a=n.directiveEnd;let l=n.directiveStylingLast;for(-1===l?l=n.directiveStart:l++;l<a&&(s=t[l],r=_c(r,s.hostAttrs,i),s!==e);)l++;return null!==e&&(n.directiveStylingLast=l),r}function _c(e,t,n){const r=n?1:2;let i=-1;if(null!==t)for(let s=0;s<t.length;s++){const a=t[s];"number"==typeof a?i=a:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Hi(e,a,!!n||t[++s]))}return void 0===e?null:e}function aO(e,t,n){const r=String(t);""!==r&&!r.includes(" ")&&Hi(e,r,n)}function mC(e,t,n,r,i,s,a,l){if(!(3&t.type))return;const f=e.data,D=f[l+1],A=function GI(e){return!(1&~e)}(D)?_C(f,t,n,i,fa(D),a):void 0;od(A)||(od(s)||function $I(e){return!(2&~e)}(D)&&(s=_C(f,null,n,i,l,a)),function TM(e,t,n,r,i){if(t)i?e.addClass(n,r):e.removeClass(n,r);else{let s=-1===r.indexOf("-")?void 0:Pu.DashCase;null==i?e.removeStyle(n,r,s):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),s|=Pu.Important),e.setStyle(n,r,i,s))}}(r,a,Ml(Ni(),n),i,s))}function _C(e,t,n,r,i,s){const a=null===t;let l;for(;i>0;){const f=e[i],D=Array.isArray(f),A=D?f[1]:f,X=null===A;let le=n[i+1];le===kn&&(le=X?or:void 0);let pe=X?Lc(le,r):A===r?le:void 0;if(D&&!od(pe)&&(pe=Lc(f,r)),od(pe)&&(l=pe,a))return l;const Ae=e[i+1];i=a?$s(Ae):fa(Ae)}if(null!==t){let f=s?t.residualClasses:t.residualStyles;null!=f&&(l=Lc(f,r))}return l}function od(e){return void 0!==e}function vC(e,t){return!!(e.flags&(t?8:16))}function yC(e,t,n){Zo(Hi,ms,rl(rt(),e,t,n),!0)}function ad(e,t,n,r){const i=rt(),s=Hn(),a=an+e,l=i[Pn],f=s.firstCreatePass?function AO(e,t,n,r,i,s){const a=t.consts,f=sa(t,e,2,r,Fo(a,i));return Cf(t,n,f,Fo(a,s)),null!==f.attrs&&Wu(f,f.attrs,!1),null!==f.mergedAttrs&&Wu(f,f.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,f),f}(a,s,i,t,n,r):s.data[a],D=bC(s,i,f,l,t,e);i[a]=D;const A=qc(f);return Ko(f,!0),$_(l,D,f),!function Xa(e){return!(32&~e.flags)}(f)&&Il()&&Nu(s,i,D,f),0===function Jb(){return An.lFrame.elementDepthCount}()&&zi(D,i),function e0(){An.lFrame.elementDepthCount++}(),A&&(_f(s,i,f),mf(s,f,i)),null!==r&&vf(i,f),ad}function ld(){let e=Er();uh()?dh():(e=e.parent,Ko(e,!1));const t=e;(function n0(e){return An.skipHydrationRootTNode===e})(t)&&function a0(){An.skipHydrationRootTNode=null}(),function t0(){An.lFrame.elementDepthCount--}();const n=Hn();return n.firstCreatePass&&(ru(n,e),eh(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function C0(e){return!!(8&e.flags)}(t)&&yp(n,t,rt(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function E0(e){return!!(16&e.flags)}(t)&&yp(n,t,rt(),t.stylesWithoutHost,!1),ld}function Mp(e,t,n,r){return ad(e,t,n,r),ld(),Mp}let bC=(e,t,n,r,i,s)=>(us(!0),Au(r,i,function Zg(){return An.lFrame.currentNamespace}()));function cd(e,t,n){const r=rt(),i=Hn(),s=e+an,a=i.firstCreatePass?function RO(e,t,n,r,i){const s=t.consts,a=Fo(s,r),l=sa(t,e,8,"ng-container",a);return null!==a&&Wu(l,a,!0),Cf(t,n,l,Fo(s,i)),null!==t.queries&&t.queries.elementStart(t,l),l}(s,i,r,t,n):i.data[s];Ko(a,!0);const l=DC(i,r,a,e);return r[s]=l,Il()&&Nu(i,r,l,a),zi(l,r),qc(a)&&(_f(i,r,a),mf(i,a,r)),null!=n&&vf(r,a),cd}function ud(){let e=Er();const t=Hn();return uh()?dh():(e=e.parent,Ko(e,!1)),t.firstCreatePass&&(ru(t,e),eh(e)&&t.queries.elementEnd(e)),ud}function Tp(e,t,n){return cd(e,t,n),ud(),Tp}let DC=(e,t,n,r)=>(us(!0),af(t[Pn],""));function MC(){return rt()}const pa=void 0;var VO=["en",[["a","p"],["AM","PM"],pa],[["AM","PM"],pa,pa],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],pa,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],pa,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",pa,"{1} 'at' {0}",pa],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function LO(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let hl={};function Sp(e){const t=function BO(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=OC(t);if(n)return n;const r=t.split("-")[0];if(n=OC(r),n)return n;if("en"===r)return VO;throw new xt(701,!1)}function IC(e){return Sp(e)[fl.PluralCase]}function OC(e){return e in hl||(hl[e]=Tr.ng&&Tr.ng.common&&Tr.ng.common.locales&&Tr.ng.common.locales[e]),hl[e]}var fl=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}(fl||{});const dd="en-US";let PC=dd,XC=(e,t,n)=>{};function Pp(e,t,n,r){const i=rt(),s=Hn(),a=Er();return function Ap(e,t,n,r,i,s,a){const l=qc(r),D=e.firstCreatePass&&iv(e),A=t[Nr],X=rv(t);let le=!0;if(3&r.type||a){const st=qi(r,t),St=a?a(st):st,kt=X.length,at=a?Yn=>a(hr(Yn[r.index])):r.index;let Rn=null;if(!a&&l&&(Rn=function SP(e,t,n,r){const i=e.cleanup;if(null!=i)for(let s=0;s<i.length-1;s+=2){const a=i[s];if(a===n&&i[s+1]===r){const l=t[Ta],f=i[s+2];return l.length>f?l[f]:null}"string"==typeof a&&(s+=2)}return null}(e,t,i,r.index)),null!==Rn)(Rn.__ngLastListenerFn__||Rn).__ngNextListenerFn__=s,Rn.__ngLastListenerFn__=s,le=!1;else{s=YC(r,t,A,s),XC(st,i,s);const Yn=n.listen(St,i,s);X.push(s,Yn),D&&D.push(i,at,kt,kt+1)}}else s=YC(r,t,A,s);const pe=r.outputs;let Ae;if(le&&null!==pe&&(Ae=pe[i])){const st=Ae.length;if(st)for(let St=0;St<st;St+=2){const Dr=t[Ae[St]][Ae[St+1]].subscribe(s),ri=X.length;X.push(s,Dr),D&&D.push(i,r.index,ri,-(ri+1))}}}(s,i,i[Pn],a,e,t,r),Pp}function qC(e,t,n,r){const i=S(null);try{return cs(6,t,n),!1!==n(r)}catch(s){return Lu(e,s),!1}finally{cs(7,t,n),S(i)}}function YC(e,t,n,r){return function i(s){if(s===Function)return r;Ql(e.componentOffset>-1?yo(e.index,t):t,5);let l=qC(t,n,r,s),f=i.__ngNextListenerFn__;for(;f;)l=qC(t,n,f,s)&&l,f=f.__ngNextListenerFn__;return l}}function JC(e=1){return function h0(e){return(An.lFrame.contextLView=function xg(e,t){for(;e>0;)t=t[Sa],e--;return t}(e,An.lFrame.contextLView))[Nr]}(e)}function IP(e,t){let n=null;const r=function Ud(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let i=0;i<t.length;i++){const s=t[i];if("*"!==s){if(null===r?Hc(e,s,!0):Hd(r,s))return i}else n=i}return n}function eE(e){const t=rt()[$r][xi];if(!t.projection){const r=t.projection=function Ks(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 s=t.child;for(;null!==s;){if(128!==s.type){const a=e?IP(s,e):0;null!==a&&(i[a]?i[a].projectionNext=s:r[a]=s,i[a]=s)}s=s.next}}}function tE(e,t=0,n,r,i,s){const a=rt(),l=Hn(),f=r?e+1:null;null!==f&&hc(a,l,f,r,i,s,null,n);const D=sa(l,an+e,16,null,n||null);null===D.projection&&(D.projection=t),dh();const X=!a[Zi]||Ys();null===a[$r][xi].projection[D.projection]&&null!==f?function OP(e,t,n){const r=an+n,i=t.data[r],s=e[r],a=ca(s,i.tView.ssrId);za(s,$a(e,i,void 0,{dehydratedView:a}),0,aa(i,a))}(a,l,f):X&&32&~D.flags&&function DM(e,t,n){j_(t[Pn],0,t,n,uf(e,n,t),k_(n.parent||t[xi],n,t))}(l,a,D)}function xp(e,t,n){return gd(e,"",t,"",n),xp}function gd(e,t,n,r,i){const s=rt(),a=rl(s,t,n,r);return a!==kn&&co(Hn(),Rr(),s,e,a,s[Pn],i,!1),gd}function Np(e,t,n,r,i,s,a){const l=rt(),f=il(l,t,n,r,i,s);return f!==kn&&co(Hn(),Rr(),l,e,f,l[Pn],a,!1),Np}function cE(e,t,n,r){!function Yv(e,t,n,r){const i=Hn();if(i.firstCreatePass){const s=Er();Jv(i,new Xv(t,n,r),s.index),function RS(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 Zv(i,rt(),n)}(e,t,n,r)}function uE(e,t,n){!function qv(e,t,n){const r=Hn();return r.firstCreatePass&&(Jv(r,new Xv(e,t,n),-1),!(2&~t)&&(r.staticViewQueries=!0)),Zv(r,rt(),t)}(e,t,n)}function dE(e){const t=rt(),n=Hn(),r=ph();nu(r+1);const i=Zf(n,r);if(e.dirty&&function qb(e){return!(4&~e[Cn])}(t)===!(2&~i.metadata.flags)){if(null===i.matches)e.reset([]);else{const s=ey(t,r);e.reset(s,Tm),e.notifyOnChanges()}return!0}return!1}function hE(){return function Qf(e,t){return e[Ms].queries[t].queryList}(rt(),ph())}function fE(e){return qs(function Vg(){return An.lFrame.contextLView}(),an+e)}function bE(e,t=""){const n=rt(),r=Hn(),i=e+an,s=r.firstCreatePass?sa(r,i,1,t,null):r.data[i],a=DE(r,n,s,t,e);n[i]=a,Il()&&Nu(r,n,a,s),Ko(s,!1)}let DE=(e,t,n,r,i)=>(us(!0),function sf(e,t){return e.createText(t)}(t[Pn],r));function kp(e){return md("",e,""),kp}function md(e,t,n){const r=rt(),i=rl(r,e,t,n);return i!==kn&&function As(e,t,n){const r=Ml(t,e);!function O_(e,t,n){e.setValue(t,n)}(e[Pn],r,n)}(r,Ni(),i),md}function Fp(e,t,n,r,i){if(e=hn(e),Array.isArray(e))for(let s=0;s<e.length;s++)Fp(e[s],t,n,r,i);else{const s=Hn(),a=rt(),l=Er();let f=Xs(e)?e:hn(e.provide);const D=gg(e),A=1048575&l.providerIndexes,X=l.directiveStart,le=l.providerIndexes>>20;if(Xs(e)||!e.multi){const pe=new Ol(D,i,Ha),Ae=Vp(f,t,i?A:A+le,X);-1===Ae?(bh(au(l,a),s,f),Lp(s,e,t.length),t.push(f),l.directiveStart++,l.directiveEnd++,i&&(l.providerIndexes+=1048576),n.push(pe),a.push(pe)):(n[Ae]=pe,a[Ae]=pe)}else{const pe=Vp(f,t,A+le,X),Ae=Vp(f,t,A,A+le),St=Ae>=0&&n[Ae];if(i&&!St||!i&&!(pe>=0&&n[pe])){bh(au(l,a),s,f);const kt=function ZP(e,t,n,r,i){const s=new Ol(e,n,Ha);return s.multi=[],s.index=t,s.componentProviders=0,LE(s,i,r&&!n),s}(i?QP:XP,n.length,i,r,D);!i&&St&&(n[Ae].providerFactory=kt),Lp(s,e,t.length,0),t.push(f),l.directiveStart++,l.directiveEnd++,i&&(l.providerIndexes+=1048576),n.push(kt),a.push(kt)}else Lp(s,e,pe>-1?pe:Ae,LE(n[i?Ae:pe],D,!i&&r));!i&&r&&St&&n[Ae].componentProviders++}}}function Lp(e,t,n,r){const i=Xs(t),s=function Tb(e){return!!e.useClass}(t);if(i||s){const f=(s?hn(t.useClass):t).prototype.ngOnDestroy;if(f){const D=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const A=D.indexOf(n);-1===A?D.push(n,[r,f]):D[A+1].push(r,f)}else D.push(n,f)}}}function LE(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Vp(e,t,n,r){for(let i=n;i<r;i++)if(t[i]===e)return i;return-1}function XP(e,t,n,r){return Bp(this.multi,[])}function QP(e,t,n,r){const i=this.multi;let s;if(this.providerFactory){const a=this.providerFactory.componentProviders,l=ta(n,n[Tt],this.providerFactory.index,r);s=l.slice(0,a),Bp(i,s);for(let f=a;f<l.length;f++)s.push(l[f])}else s=[],Bp(i,s);return s}function Bp(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function VE(e,t=[]){return n=>{n.providersResolver=(r,i)=>function KP(e,t,n){const r=Hn();if(r.firstCreatePass){const i=Wo(e);Fp(n,r.data,r.blueprint,i,!0),Fp(t,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,t)}}let qP=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=bs(0,n.type),i=r.length>0?tp([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.ɵprov=Jt({token:e,providedIn:"environment",factory:()=>new e(Nn(Ro))})}return e})();function BE(e){Ji("NgStandalone"),e.getStandaloneInjector=t=>t.get(qP).getOrCreateStandaloneInjector(e)}function HE(e,t,n){const r=Yi()+e,i=rt();return i[r]===kn?ps(i,r,n?t.call(n):t()):function dc(e,t){return e[t]}(i,r)}function $E(e,t,n,r){return WE(rt(),Yi(),e,t,n,r)}function zE(e,t,n,r,i){return KE(rt(),Yi(),e,t,n,r,i)}function GE(e,t,n,r,i,s){return function XE(e,t,n,r,i,s,a,l){const f=t+n;return function qu(e,t,n,r,i){const s=da(e,t,n,r);return ei(e,t+2,i)||s}(e,f,i,s,a)?ps(e,f+3,l?r.call(l,i,s,a):r(i,s,a)):bc(e,f+3)}(rt(),Yi(),e,t,n,r,i,s)}function bc(e,t){const n=e[t];return n===kn?void 0:n}function WE(e,t,n,r,i,s){const a=t+n;return ei(e,a,i)?ps(e,a+1,s?r.call(s,i):r(i)):bc(e,a+1)}function KE(e,t,n,r,i,s,a){const l=t+n;return da(e,l,i,s)?ps(e,l+2,a?r.call(a,i,s):r(i,s)):bc(e,l+2)}function qE(e,t){const n=Hn();let r;const i=e+an;n.firstCreatePass?(r=function aA(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks??=[]).push(i,r.onDestroy)):r=n.data[i];const s=r.factory||(r.factory=Si(r.type)),l=Ti(Ha);try{const f=su(!1),D=s();return su(f),function Rp(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,rt(),i,D),D}finally{Ti(l)}}function YE(e,t,n){const r=e+an,i=rt(),s=qs(i,r);return Dc(i,r)?WE(i,Yi(),t,s.transform,n,s):s.transform(n)}function JE(e,t,n,r){const i=e+an,s=rt(),a=qs(s,i);return Dc(s,i)?KE(s,Yi(),t,a.transform,n,r,a):a.transform(n,r)}function Dc(e,t){return e[Tt].data[t].pure}function ew(e,t){return Bu(e,t)}class mw{constructor(t){this.full=t;const n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}}let _w=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static#e=this.ɵfac=function(r){return new(r||e)};static#t=this.ɵprov=Jt({token:e,factory:e.ɵfac,providedIn:"platform"})}return e})();const ww=new En(""),bw=new En("");let Gp,rx=(()=>{class e{constructor(n,r,i){this._ngZone=n,this.registry=r,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,Gp||(function ix(e){Gp=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:()=>{zr.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 s=-1;r&&r>0&&(s=setTimeout((()=>{this._callbacks=this._callbacks.filter((a=>a.timeoutId!==s)),n()}),r)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:i})}whenStable(n,r,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,i),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,i){return[]}static#e=this.ɵfac=function(r){return new(r||e)(Nn(zr),Nn(Dw),Nn(bw))};static#t=this.ɵprov=Jt({token:e,factory:e.ɵfac})}return e})(),Dw=(()=>{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 Gp?.findTestabilityInTree(this,n,r)??null}static#e=this.ɵfac=function(r){return new(r||e)};static#t=this.ɵprov=Jt({token:e,factory:e.ɵfac,providedIn:"platform"})}return e})();function Wp(e){return!!e&&"function"==typeof e.then}function Mw(e){return!!e&&"function"==typeof e.subscribe}const Tw=new En("");let Sw=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise(((n,r)=>{this.resolve=n,this.reject=r})),this.appInits=Et(Tw,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const i of this.appInits){const s=i();if(Wp(s))n.push(s);else if(Mw(s)){const a=new Promise(((l,f)=>{s.subscribe({complete:l,error:f})}));n.push(a)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then((()=>{r()})).catch((i=>{this.reject(i)})),0===n.length&&r(),this.initialized=!0}static#e=this.ɵfac=function(r){return new(r||e)};static#t=this.ɵprov=Jt({token:e,factory:e.ɵfac,providedIn:"root"})}return e})();const Ed=new En("");function Ow(e,t){return Array.isArray(t)?t.reduce(Ow,e):{...e,...t}}let _s=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=Et(Q0),this.afterRenderManager=Et(Py),this.zonelessEnabled=Et(oc),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new Ie.B,this.afterTick=new Ie.B,this.componentTypes=[],this.components=[],this.isStable=Et(na).hasPendingTasks.pipe((0,Ze.T)((n=>!n))),this._injector=Et(Ro)}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 Fv;if(!this._injector.get(Sw).done)throw!i&&Ce(n),new xt(405,!1);let a;a=i?n:this._injector.get(sc).resolveComponentFactory(n),this.componentTypes.push(a.componentType);const l=function ox(e){return e.isBoundToModule}(a)?void 0:this._injector.get(ua),D=a.create(Ri.NULL,[],r||a.selector,l),A=D.location.nativeElement,X=D.injector.get(ww,null);return X?.registerApplication(A),D.onDestroy((()=>{this.detachView(D.hostView),wd(this.components,D),X?.unregisterApplication(A)})),this._loadComponent(D),D}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new xt(101,!1);const n=S(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,S(n),this.afterTick.next()}}synchronize(){let n=null;this._injector.destroyed||(n=this._injector.get(Bf,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:s}of this._views)lx(i,s,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})=>Yc(n)))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;wd(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(Ed,[]);[...this._bootstrapListeners,...r].forEach((i=>i(n)))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach((n=>n())),this._views.slice().forEach((n=>n.destroy()))}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>wd(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new xt(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.ɵfac=function(r){return new(r||e)};static#t=this.ɵprov=Jt({token:e,factory:e.ɵfac,providedIn:"root"})}return e})();function wd(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function lx(e,t,n,r){(n||Yc(e))&&Vu(e,t,n&&!r?0:1)}class cx{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let ux=(()=>{class e{compileModuleSync(n){return new ep(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),s=Co(pt(n).declarations).reduce(((a,l)=>{const f=V(l);return f&&a.push(new cc(f)),a}),[]);return new cx(r,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static#e=this.ɵfac=function(r){return new(r||e)};static#t=this.ɵprov=Jt({token:e,factory:e.ɵfac,providedIn:"root"})}return e})(),fx=(()=>{class e{constructor(){this.zone=Et(zr),this.changeDetectionScheduler=Et(Wa),this.applicationRef=Et(_s)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run((()=>{this.applicationRef.tick()}))}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.ɵfac=function(r){return new(r||e)};static#t=this.ɵprov=Jt({token:e,factory:e.ɵfac,providedIn:"root"})}return e})();function Kp({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new zr({...Xp(),scheduleInRootZone:n}),[{provide:zr,useFactory:e},{provide:xo,multi:!0,useFactory:()=>{const r=Et(fx,{optional:!0});return()=>r.initialize()}},{provide:xo,multi:!0,useFactory:()=>{const r=Et(gx);return()=>{r.initialize()}}},!0===t?{provide:kv,useValue:!0}:[],{provide:Vf,useValue:n??ym}]}function Xp(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let gx=(()=>{class e{constructor(){this.subscription=new tt.yU,this.initialized=!1,this.zone=Et(zr),this.pendingTasks=Et(na)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular((()=>{this.subscription.add(this.zone.onStable.subscribe((()=>{zr.assertNotInAngularZone(),queueMicrotask((()=>{null!==n&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)}))})))})),this.subscription.add(this.zone.onUnstable.subscribe((()=>{zr.assertInAngularZone(),n??=this.pendingTasks.add()})))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.ɵfac=function(r){return new(r||e)};static#t=this.ɵprov=Jt({token:e,factory:e.ɵfac,providedIn:"root"})}return e})(),Sc=(()=>{class e{constructor(){this.appRef=Et(_s),this.taskService=Et(na),this.ngZone=Et(zr),this.zonelessEnabled=Et(oc),this.disableScheduling=Et(kv,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new tt.yU,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(fu):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(Et(Vf,{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 Ph||!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?Em:Cm;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(fu+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,Em((()=>{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#e=this.ɵfac=function(r){return new(r||e)};static#t=this.ɵprov=Jt({token:e,factory:e.ɵfac,providedIn:"root"})}return e})();const Zp=new En("",{providedIn:"root",factory:()=>Et(Zp,jn.Optional|jn.SkipSelf)||function mx(){return typeof $localize<"u"&&$localize.locale||dd}()}),_x=new En("",{providedIn:"root",factory:()=>"USD"}),qp=new En("");function Dd(e){return!!e.platformInjector}let Fw=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const i=r?.scheduleInRootZone,a=r?.ignoreChangesOutsideZone,l=[Kp({ngZoneFactory:()=>function X0(e="zone.js",t){return"noop"===e?new Ph:"zone.js"===e?new zr(t):e}(r?.ngZone,{...Xp({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}),scheduleInRootZone:i}),ignoreChangesOutsideZone:a}),{provide:Wa,useExisting:Sc}],f=function tI(e,t,n){return new Jf(e,t,n,!1)}(n.moduleType,this.injector,l);return function kw(e){const t=Dd(e)?e.r3Injector:e.moduleRef.injector,n=t.get(zr);return n.run((()=>{Dd(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();const r=t.get(Os,null);let i;if(n.runOutsideAngular((()=>{i=n.onError.subscribe({next:s=>{r.handleError(s)}})})),Dd(e)){const s=()=>t.destroy(),a=e.platformInjector.get(qp);a.add(s),t.onDestroy((()=>{i.unsubscribe(),a.delete(s)}))}else e.moduleRef.onDestroy((()=>{wd(e.allPlatformModules,e.moduleRef),i.unsubscribe()}));return function ax(e,t,n){try{const r=n();return Wp(r)?r.catch((i=>{throw t.runOutsideAngular((()=>e.handleError(i))),i})):r}catch(r){throw t.runOutsideAngular((()=>e.handleError(r))),r}}(r,n,(()=>{const s=t.get(Sw);return s.runInitializers(),s.donePromise.then((()=>{if(function $O(e){"string"==typeof e&&(PC=e.toLowerCase().replace(/_/g,"-"))}(t.get(Zp,dd)||dd),Dd(e)){const l=t.get(_s);return void 0!==e.rootComponent&&l.bootstrap(e.rootComponent),l}return function wx(e,t){const n=e.injector.get(_s);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach((r=>n.bootstrap(r)));else{if(!e.instance.ngDoBootstrap)throw new xt(-403,!1);e.instance.ngDoBootstrap(n)}t.push(e)}(e.moduleRef,e.allPlatformModules),e.moduleRef}))}))}))}({moduleRef:f,allPlatformModules:this._modules})}bootstrapModule(n,r=[]){const i=Ow({},r);return function hx(e,t,n){const r=new ep(n);return Promise.resolve(r)}(0,0,n).then((s=>this.bootstrapModuleFactory(s,i)))}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new xt(404,!1);this._modules.slice().forEach((r=>r.destroy())),this._destroyListeners.forEach((r=>r()));const n=this._injector.get(qp,null);n&&(n.forEach((r=>r())),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.ɵfac=function(r){return new(r||e)(Nn(Ri))};static#t=this.ɵprov=Jt({token:e,factory:e.ɵfac,providedIn:"platform"})}return e})(),zs=null;const Lw=new En("");function Vw(e,t,n=[]){const r=`Platform: ${t}`,i=new En(r);return(s=[])=>{let a=Yp();if(!a||a.injector.get(Lw,!1)){const l=[...n,...s,{provide:i,useValue:!0}];e?e(l):function bx(e){if(zs&&!zs.get(Lw,!1))throw new xt(400,!1);(function Iw(){!function We(e){xe=e}((()=>{throw new xt(600,!1)}))})(),zs=e;const t=e.get(Fw);(function Uw(e){e.get(Wm,null)?.forEach((n=>n()))})(e)}(function Bw(e=[],t){return Ri.create({name:t,providers:[{provide:Kd,useValue:"platform"},{provide:qp,useValue:new Set([()=>zs=null])},...e]})}(l,r))}return function Dx(){const t=Yp();if(!t)throw new xt(401,!1);return t}()}}function Yp(){return zs?.get(Fw)??null}function Tx(){return!1}function Sx(){}let Hw=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=Ix}return e})();function Ix(e){return function Ox(e,t,n){if(Zs(e)&&!n){const r=yo(e.index,t);return new Zl(r,r)}return 175&e.type?new Zl(t[$r],t):null}(Er(),rt(),!(16&~e))}class Ww{constructor(){}supports(t){return Zu(t)}create(t){return new Rx(t)}}const Nx=(e,t)=>t;class Rx{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||Nx}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,i=0,s=null;for(;n||r;){const a=!r||n&&n.currentIndex<Xw(r,i,s)?n:r,l=Xw(a,i,s),f=a.currentIndex;if(a===r)i--,r=r._nextRemoved;else if(n=n._next,null==a.previousIndex)i++;else{s||(s=[]);const D=l-i,A=f-i;if(D!=A){for(let le=0;le<D;le++){const pe=le<s.length?s[le]:s[le]=0,Ae=pe+le;A<=Ae&&Ae<D&&(s[le]=pe+1)}s[a.previousIndex]=A-D}}l!==f&&t(a,l,f)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!Zu(t))throw new xt(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let i,s,a,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let l=0;l<this.length;l++)s=t[l],a=this._trackByFn(l,s),null!==n&&Object.is(n.trackById,a)?(r&&(n=this._verifyReinsertion(n,s,a,l)),Object.is(n.item,s)||this._addIdentityChange(n,s)):(n=this._mismatch(n,s,a,l),r=!0),n=n._next}else i=0,function iI(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,(l=>{a=this._trackByFn(i,l),null!==n&&Object.is(n.trackById,a)?(r&&(n=this._verifyReinsertion(n,l,a,i)),Object.is(n.item,l)||this._addIdentityChange(n,l)):(n=this._mismatch(n,l,a,i),r=!0),n=n._next,i++})),this.length=i;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,i){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,s,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,s,i)):t=this._addAfter(new kx(n,r),s,i),t}_verifyReinsertion(t,n,r,i){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==s?t=this._reinsertAfter(s,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,s=t._nextRemoved;return null===i?this._removalsHead=s:i._nextRemoved=s,null===s?this._removalsTail=i:s._prevRemoved=i,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const i=null===n?this._itHead:n._next;return t._next=i,t._prev=n,null===i?this._itTail=t:i._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new Kw),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 Kw),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 kx{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 Fx{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 Kw{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new Fx,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 Xw(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 Qw{constructor(){}supports(t){return t instanceof Map||np(t)}create(){return new Lx}}class Lx{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||np(t)))throw new xt(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,((r,i)=>{if(n&&n.key===i)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const s=this._getOrCreateRecordForKey(i,r);n=this._insertBeforeOrAppend(n,s)}})),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const i=this._records.get(t);this._maybeAddToChanges(i,n);const s=i._prev,a=i._next;return s&&(s._next=a),a&&(a._prev=s),i._next=null,i._prev=null,i}const r=new Vx(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach((r=>n(t[r],r)))}}class Vx{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Zw(){return new rg([new Ww])}let rg=(()=>{class e{static#e=this.ɵprov=Jt({token:e,providedIn:"root",factory:Zw});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||Zw()),deps:[[e,new mo,new Qi]]}}find(n){const r=this.factories.find((i=>i.supports(n)));if(null!=r)return r;throw new xt(901,!1)}}return e})();function qw(){return new ig([new Qw])}let ig=(()=>{class e{static#e=this.ɵprov=Jt({token:e,providedIn:"root",factory:qw});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||qw()),deps:[[e,new mo,new Qi]]}}find(n){const r=this.factories.find((i=>i.supports(n)));if(r)return r;throw new xt(901,!1)}}return e})();const jx=Vw(null,"core",[]);let Hx=(()=>{class e{constructor(n){}static#e=this.ɵfac=function(r){return new(r||e)(Nn(_s))};static#t=this.ɵmod=_({type:e});static#n=this.ɵinj=nr({})}return e})();const fb=new En("");function yN(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function EN(e,t){Ji("NgSignals");const n=function wt(e){const t=Object.create(H);t.computation=e;const n=()=>{if(ve(t),G(t),t.value===Z)throw t.error;return t.value};return n[b]=t,n}(e);return t?.equal&&(n[b].equal=t.equal),n}function wN(e){const t=S(null);try{return e()}finally{S(t)}}function IN(e){const t=V(e);if(!t)return null;const n=new cc(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}}}},4341:(U,I,c)=>{"use strict";c.d(I,{me:()=>Oe,JD:()=>Do,j4:()=>Gr,YN:()=>Ue,zX:()=>ro,VZ:()=>Ii,kq:()=>be,BC:()=>gn,cb:()=>ft,vS:()=>mn,xH:()=>xt,Q0:()=>Or,X1:()=>Ye,wz:()=>Wi,ze:()=>ge,hs:()=>bo,k0:()=>me,qT:()=>Xt,y7:()=>Bi});var o=c(3953),m=c(177),T=c(6648),P=c(1985),b=c(3073),S=c(8750),x=c(9326),L=c(4360),j=c(6450),R=c(8496),oe=c(1413),ve=c(6354);let he=(()=>{class w{constructor(y,k){this._renderer=y,this._elementRef=k,this.onChange=te=>{},this.onTouched=()=>{}}setProperty(y,k){this._renderer.setProperty(this._elementRef.nativeElement,y,k)}registerOnTouched(y){this.onTouched=y}registerOnChange(y){this.onChange=y}setDisabledState(y){this.setProperty("disabled",y)}static#e=this.ɵfac=function(k){return new(k||w)(o.rXU(o.sFG),o.rXU(o.aKT))};static#t=this.ɵdir=o.FsC({type:w})}return w})(),we=(()=>{class w extends he{static#e=this.ɵfac=(()=>{let y;return function(te){return(y||(y=o.xGo(w)))(te||w)}})();static#t=this.ɵdir=o.FsC({type:w,features:[o.Vt3]})}return w})();const be=new o.nKC(""),ct={provide:be,useExisting:(0,o.Rfq)((()=>Oe)),multi:!0},Le=new o.nKC("");let Oe=(()=>{class w extends he{constructor(y,k,te){super(y,k),this._compositionMode=te,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function Qe(){const w=(0,m.QT)()?(0,m.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#e=this.ɵfac=function(k){return new(k||w)(o.rXU(o.sFG),o.rXU(o.aKT),o.rXU(Le,8))};static#t=this.ɵdir=o.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(k,te){1&k&&o.bIt("input",(function(Ht){return te._handleInput(Ht.target.value)}))("blur",(function(){return te.onTouched()}))("compositionstart",(function(){return te._compositionStart()}))("compositionend",(function(Ht){return te._compositionEnd(Ht.target.value)}))},features:[o.Jv_([ct]),o.Vt3]})}return w})();function nt(w){return null==w||("string"==typeof w||Array.isArray(w))&&0===w.length}function It(w){return null!=w&&"number"==typeof w.length}const Je=new o.nKC(""),qe=new o.nKC(""),wt=/^(?=.{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 me{static min(C){return ie(C)}static max(C){return Z(C)}static required(C){return function H(w){return nt(w.value)?{required:!0}:null}(C)}static requiredTrue(C){return function ue(w){return!0===w.value?null:{required:!0}}(C)}static email(C){return function xe(w){return nt(w.value)||wt.test(w.value)?null:{email:!0}}(C)}static minLength(C){return function lt(w){return C=>nt(C.value)||!It(C.value)?null:C.value.length<w?{minlength:{requiredLength:w,actualLength:C.value.length}}:null}(C)}static maxLength(C){return function We(w){return C=>It(C.value)&&C.value.length>w?{maxlength:{requiredLength:w,actualLength:C.value.length}}:null}(C)}static pattern(C){return function Ve(w){if(!w)return Te;let C,y;return"string"==typeof w?(y="","^"!==w.charAt(0)&&(y+="^"),y+=w,"$"!==w.charAt(w.length-1)&&(y+="$"),C=new RegExp(y)):(y=w.toString(),C=w),k=>{if(nt(k.value))return null;const te=k.value;return C.test(te)?null:{pattern:{requiredPattern:y,actualValue:te}}}}(C)}static nullValidator(C){return null}static compose(C){return Ln(C)}static composeAsync(C){return Vn(C)}}function ie(w){return C=>{if(nt(C.value)||nt(w))return null;const y=parseFloat(C.value);return!isNaN(y)&&y<w?{min:{min:w,actual:C.value}}:null}}function Z(w){return C=>{if(nt(C.value)||nt(w))return null;const y=parseFloat(C.value);return!isNaN(y)&&y>w?{max:{max:w,actual:C.value}}:null}}function Te(w){return null}function it(w){return null!=w}function Ft(w){return(0,o.jNT)(w)?(0,T.H)(w):w}function Bt(w){let C={};return w.forEach((y=>{C=null!=y?{...C,...y}:C})),0===Object.keys(C).length?null:C}function en(w,C){return C.map((y=>y(w)))}function Sn(w){return w.map((C=>function pn(w){return!w.validate}(C)?C:y=>C.validate(y)))}function Ln(w){if(!w)return null;const C=w.filter(it);return 0==C.length?null:function(y){return Bt(en(y,C))}}function Jn(w){return null!=w?Ln(Sn(w)):null}function Vn(w){if(!w)return null;const C=w.filter(it);return 0==C.length?null:function(y){return function G(...w){const C=(0,x.ms)(w),{args:y,keys:k}=(0,b.D)(w),te=new P.c((dt=>{const{length:Ht}=y;if(!Ht)return void dt.complete();const Jt=new Array(Ht);let lr=Ht,nr=Ht;for(let gr=0;gr<Ht;gr++){let Ki=!1;(0,S.Tg)(y[gr]).subscribe((0,L._)(dt,(Yr=>{Ki||(Ki=!0,nr--),Jt[gr]=Yr}),(()=>lr--),void 0,(()=>{(!lr||!Ki)&&(nr||dt.next(k?(0,R.e)(k,Jt):Jt),dt.complete())})))}}));return C?te.pipe((0,j.I)(C)):te}(en(y,C).map(Ft)).pipe((0,ve.T)(Bt))}}function Un(w){return null!=w?Vn(Sn(w)):null}function et(w,C){return null===w?[C]:Array.isArray(w)?[...w,C]:[w,C]}function gt(w){return w._rawValidators}function Ie(w){return w._rawAsyncValidators}function tt(w){return w?Array.isArray(w)?w:[w]:[]}function Ze(w,C){return Array.isArray(w)?w.includes(C):w===C}function yn(w,C){const y=tt(C);return tt(w).forEach((te=>{Ze(y,te)||y.push(te)})),y}function zn(w,C){return tt(C).filter((y=>!Ze(w,y)))}class _r{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(C){this._rawValidators=C||[],this._composedValidatorFn=Jn(this._rawValidators)}_setAsyncValidators(C){this._rawAsyncValidators=C||[],this._composedAsyncValidatorFn=Un(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(C){this._onDestroyCallbacks.push(C)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach((C=>C())),this._onDestroyCallbacks=[]}reset(C=void 0){this.control&&this.control.reset(C)}hasError(C,y){return!!this.control&&this.control.hasError(C,y)}getError(C,y){return this.control?this.control.getError(C,y):null}}class Gn extends _r{get formDirective(){return null}get path(){return null}}class Mr extends _r{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class rr{constructor(C){this._cd=C}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 gn=(()=>{class w extends rr{constructor(y){super(y)}static#e=this.ɵfac=function(k){return new(k||w)(o.rXU(Mr,2))};static#t=this.ɵdir=o.FsC({type:w,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(k,te){2&k&&o.AVh("ng-untouched",te.isUntouched)("ng-touched",te.isTouched)("ng-pristine",te.isPristine)("ng-dirty",te.isDirty)("ng-valid",te.isValid)("ng-invalid",te.isInvalid)("ng-pending",te.isPending)},features:[o.Vt3]})}return w})(),ft=(()=>{class w extends rr{constructor(y){super(y)}static#e=this.ɵfac=function(k){return new(k||w)(o.rXU(Gn,10))};static#t=this.ɵdir=o.FsC({type:w,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(k,te){2&k&&o.AVh("ng-untouched",te.isUntouched)("ng-touched",te.isTouched)("ng-pristine",te.isPristine)("ng-dirty",te.isDirty)("ng-valid",te.isValid)("ng-invalid",te.isInvalid)("ng-pending",te.isPending)("ng-submitted",te.isSubmitted)},features:[o.Vt3]})}return w})();const fe="VALID",q="INVALID",de="PENDING",Be="DISABLED";class mt{}class Gt extends mt{constructor(C,y){super(),this.value=C,this.source=y}}class tn extends mt{constructor(C,y){super(),this.pristine=C,this.source=y}}class ln extends mt{constructor(C,y){super(),this.touched=C,this.source=y}}class Rt extends mt{constructor(C,y){super(),this.status=C,this.source=y}}class Ot extends mt{constructor(C){super(),this.source=C}}class Zt extends mt{constructor(C){super(),this.source=C}}function xn(w){return(Wn(w)?w.validators:w)||null}function _n(w,C){return(Wn(C)?C.asyncValidators:w)||null}function Wn(w){return null!=w&&!Array.isArray(w)&&"object"==typeof w}function vn(w,C,y){const k=w.controls;if(!(C?Object.keys(k):k).length)throw new o.wOt(1e3,"");if(!k[y])throw new o.wOt(1001,"")}function cn(w,C,y){w._forEachChild(((k,te)=>{if(void 0===y[te])throw new o.wOt(1002,"")}))}class qt{constructor(C,y){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=(0,o.EWP)((()=>this.statusReactive())),this.statusReactive=(0,o.vPA)(void 0),this._pristine=(0,o.EWP)((()=>this.pristineReactive())),this.pristineReactive=(0,o.vPA)(!0),this._touched=(0,o.EWP)((()=>this.touchedReactive())),this.touchedReactive=(0,o.vPA)(!1),this._events=new oe.B,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(C),this._assignAsyncValidators(y)}get validator(){return this._composedValidatorFn}set validator(C){this._rawValidators=this._composedValidatorFn=C}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(C){this._rawAsyncValidators=this._composedAsyncValidatorFn=C}get parent(){return this._parent}get status(){return(0,o.O8t)(this.statusReactive)}set status(C){(0,o.O8t)((()=>this.statusReactive.set(C)))}get valid(){return this.status===fe}get invalid(){return this.status===q}get pending(){return this.status==de}get disabled(){return this.status===Be}get enabled(){return this.status!==Be}get pristine(){return(0,o.O8t)(this.pristineReactive)}set pristine(C){(0,o.O8t)((()=>this.pristineReactive.set(C)))}get dirty(){return!this.pristine}get touched(){return(0,o.O8t)(this.touchedReactive)}set touched(C){(0,o.O8t)((()=>this.touchedReactive.set(C)))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(C){this._assignValidators(C)}setAsyncValidators(C){this._assignAsyncValidators(C)}addValidators(C){this.setValidators(yn(C,this._rawValidators))}addAsyncValidators(C){this.setAsyncValidators(yn(C,this._rawAsyncValidators))}removeValidators(C){this.setValidators(zn(C,this._rawValidators))}removeAsyncValidators(C){this.setAsyncValidators(zn(C,this._rawAsyncValidators))}hasValidator(C){return Ze(this._rawValidators,C)}hasAsyncValidator(C){return Ze(this._rawAsyncValidators,C)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(C={}){const y=!1===this.touched;this.touched=!0;const k=C.sourceControl??this;this._parent&&!C.onlySelf&&this._parent.markAsTouched({...C,sourceControl:k}),y&&!1!==C.emitEvent&&this._events.next(new ln(!0,k))}markAllAsTouched(C={}){this.markAsTouched({onlySelf:!0,emitEvent:C.emitEvent,sourceControl:this}),this._forEachChild((y=>y.markAllAsTouched(C)))}markAsUntouched(C={}){const y=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const k=C.sourceControl??this;this._forEachChild((te=>{te.markAsUntouched({onlySelf:!0,emitEvent:C.emitEvent,sourceControl:k})})),this._parent&&!C.onlySelf&&this._parent._updateTouched(C,k),y&&!1!==C.emitEvent&&this._events.next(new ln(!1,k))}markAsDirty(C={}){const y=!0===this.pristine;this.pristine=!1;const k=C.sourceControl??this;this._parent&&!C.onlySelf&&this._parent.markAsDirty({...C,sourceControl:k}),y&&!1!==C.emitEvent&&this._events.next(new tn(!1,k))}markAsPristine(C={}){const y=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const k=C.sourceControl??this;this._forEachChild((te=>{te.markAsPristine({onlySelf:!0,emitEvent:C.emitEvent})})),this._parent&&!C.onlySelf&&this._parent._updatePristine(C,k),y&&!1!==C.emitEvent&&this._events.next(new tn(!0,k))}markAsPending(C={}){this.status=de;const y=C.sourceControl??this;!1!==C.emitEvent&&(this._events.next(new Rt(this.status,y)),this.statusChanges.emit(this.status)),this._parent&&!C.onlySelf&&this._parent.markAsPending({...C,sourceControl:y})}disable(C={}){const y=this._parentMarkedDirty(C.onlySelf);this.status=Be,this.errors=null,this._forEachChild((te=>{te.disable({...C,onlySelf:!0})})),this._updateValue();const k=C.sourceControl??this;!1!==C.emitEvent&&(this._events.next(new Gt(this.value,k)),this._events.next(new Rt(this.status,k)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...C,skipPristineCheck:y},this),this._onDisabledChange.forEach((te=>te(!0)))}enable(C={}){const y=this._parentMarkedDirty(C.onlySelf);this.status=fe,this._forEachChild((k=>{k.enable({...C,onlySelf:!0})})),this.updateValueAndValidity({onlySelf:!0,emitEvent:C.emitEvent}),this._updateAncestors({...C,skipPristineCheck:y},this),this._onDisabledChange.forEach((k=>k(!1)))}_updateAncestors(C,y){this._parent&&!C.onlySelf&&(this._parent.updateValueAndValidity(C),C.skipPristineCheck||this._parent._updatePristine({},y),this._parent._updateTouched({},y))}setParent(C){this._parent=C}getRawValue(){return this.value}updateValueAndValidity(C={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const k=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===fe||this.status===de)&&this._runAsyncValidator(k,C.emitEvent)}const y=C.sourceControl??this;!1!==C.emitEvent&&(this._events.next(new Gt(this.value,y)),this._events.next(new Rt(this.status,y)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!C.onlySelf&&this._parent.updateValueAndValidity({...C,sourceControl:y})}_updateTreeValidity(C={emitEvent:!0}){this._forEachChild((y=>y._updateTreeValidity(C))),this.updateValueAndValidity({onlySelf:!0,emitEvent:C.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Be:fe}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(C,y){if(this.asyncValidator){this.status=de,this._hasOwnPendingAsyncValidator={emitEvent:!1!==y};const k=Ft(this.asyncValidator(this));this._asyncValidationSubscription=k.subscribe((te=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(te,{emitEvent:y,shouldHaveEmitted:C})}))}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const C=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,C}return!1}setErrors(C,y={}){this.errors=C,this._updateControlsErrors(!1!==y.emitEvent,this,y.shouldHaveEmitted)}get(C){let y=C;return null==y||(Array.isArray(y)||(y=y.split(".")),0===y.length)?null:y.reduce(((k,te)=>k&&k._find(te)),this)}getError(C,y){const k=y?this.get(y):this;return k&&k.errors?k.errors[C]:null}hasError(C,y){return!!this.getError(C,y)}get root(){let C=this;for(;C._parent;)C=C._parent;return C}_updateControlsErrors(C,y,k){this.status=this._calculateStatus(),C&&this.statusChanges.emit(this.status),(C||k)&&this._events.next(new Rt(this.status,y)),this._parent&&this._parent._updateControlsErrors(C,y,k)}_initObservables(){this.valueChanges=new o.bkB,this.statusChanges=new o.bkB}_calculateStatus(){return this._allControlsDisabled()?Be:this.errors?q:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(de)?de:this._anyControlsHaveStatus(q)?q:fe}_anyControlsHaveStatus(C){return this._anyControls((y=>y.status===C))}_anyControlsDirty(){return this._anyControls((C=>C.dirty))}_anyControlsTouched(){return this._anyControls((C=>C.touched))}_updatePristine(C,y){const k=!this._anyControlsDirty(),te=this.pristine!==k;this.pristine=k,this._parent&&!C.onlySelf&&this._parent._updatePristine(C,y),te&&this._events.next(new tn(this.pristine,y))}_updateTouched(C={},y){this.touched=this._anyControlsTouched(),this._events.next(new ln(this.touched,y)),this._parent&&!C.onlySelf&&this._parent._updateTouched(C,y)}_registerOnCollectionChange(C){this._onCollectionChange=C}_setUpdateStrategy(C){Wn(C)&&null!=C.updateOn&&(this._updateOn=C.updateOn)}_parentMarkedDirty(C){return!C&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(C){return null}_assignValidators(C){this._rawValidators=Array.isArray(C)?C.slice():C,this._composedValidatorFn=function Qn(w){return Array.isArray(w)?Jn(w):w||null}(this._rawValidators)}_assignAsyncValidators(C){this._rawAsyncValidators=Array.isArray(C)?C.slice():C,this._composedAsyncValidatorFn=function Qt(w){return Array.isArray(w)?Un(w):w||null}(this._rawAsyncValidators)}}class un extends qt{constructor(C,y,k){super(xn(y),_n(k,y)),this.controls=C,this._initObservables(),this._setUpdateStrategy(y),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(C,y){return this.controls[C]?this.controls[C]:(this.controls[C]=y,y.setParent(this),y._registerOnCollectionChange(this._onCollectionChange),y)}addControl(C,y,k={}){this.registerControl(C,y),this.updateValueAndValidity({emitEvent:k.emitEvent}),this._onCollectionChange()}removeControl(C,y={}){this.controls[C]&&this.controls[C]._registerOnCollectionChange((()=>{})),delete this.controls[C],this.updateValueAndValidity({emitEvent:y.emitEvent}),this._onCollectionChange()}setControl(C,y,k={}){this.controls[C]&&this.controls[C]._registerOnCollectionChange((()=>{})),delete this.controls[C],y&&this.registerControl(C,y),this.updateValueAndValidity({emitEvent:k.emitEvent}),this._onCollectionChange()}contains(C){return this.controls.hasOwnProperty(C)&&this.controls[C].enabled}setValue(C,y={}){cn(this,0,C),Object.keys(C).forEach((k=>{vn(this,!0,k),this.controls[k].setValue(C[k],{onlySelf:!0,emitEvent:y.emitEvent})})),this.updateValueAndValidity(y)}patchValue(C,y={}){null!=C&&(Object.keys(C).forEach((k=>{const te=this.controls[k];te&&te.patchValue(C[k],{onlySelf:!0,emitEvent:y.emitEvent})})),this.updateValueAndValidity(y))}reset(C={},y={}){this._forEachChild(((k,te)=>{k.reset(C?C[te]:null,{onlySelf:!0,emitEvent:y.emitEvent})})),this._updatePristine(y,this),this._updateTouched(y,this),this.updateValueAndValidity(y)}getRawValue(){return this._reduceChildren({},((C,y,k)=>(C[k]=y.getRawValue(),C)))}_syncPendingControls(){let C=this._reduceChildren(!1,((y,k)=>!!k._syncPendingControls()||y));return C&&this.updateValueAndValidity({onlySelf:!0}),C}_forEachChild(C){Object.keys(this.controls).forEach((y=>{const k=this.controls[y];k&&C(k,y)}))}_setUpControls(){this._forEachChild((C=>{C.setParent(this),C._registerOnCollectionChange(this._onCollectionChange)}))}_updateValue(){this.value=this._reduceValue()}_anyControls(C){for(const[y,k]of Object.entries(this.controls))if(this.contains(y)&&C(k))return!0;return!1}_reduceValue(){return this._reduceChildren({},((y,k,te)=>((k.enabled||this.disabled)&&(y[te]=k.value),y)))}_reduceChildren(C,y){let k=C;return this._forEachChild(((te,dt)=>{k=y(k,te,dt)})),k}_allControlsDisabled(){for(const C of Object.keys(this.controls))if(this.controls[C].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(C){return this.controls.hasOwnProperty(C)?this.controls[C]:null}}class Vt extends un{}const Re=new o.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>zt}),zt="always";function Yt(w,C){return[...C.path,w]}function Fn(w,C,y=zt){Ir(w,C),C.valueAccessor.writeValue(w.value),(w.disabled||"always"===y)&&C.valueAccessor.setDisabledState?.(w.disabled),function Mt(w,C){C.valueAccessor.registerOnChange((y=>{w._pendingValue=y,w._pendingChange=!0,w._pendingDirty=!0,"change"===w.updateOn&&$e(w,C)}))}(w,C),function yt(w,C){const y=(k,te)=>{C.valueAccessor.writeValue(k),te&&C.viewToModelUpdate(k)};w.registerOnChange(y),C._registerOnDestroy((()=>{w._unregisterOnChange(y)}))}(w,C),function bt(w,C){C.valueAccessor.registerOnTouched((()=>{w._pendingTouched=!0,"blur"===w.updateOn&&w._pendingChange&&$e(w,C),"submit"!==w.updateOn&&w.markAsTouched()}))}(w,C),function fr(w,C){if(C.valueAccessor.setDisabledState){const y=k=>{C.valueAccessor.setDisabledState(k)};w.registerOnDisabledChange(y),C._registerOnDestroy((()=>{w._unregisterOnDisabledChange(y)}))}}(w,C)}function Dn(w,C,y=!0){const k=()=>{};C.valueAccessor&&(C.valueAccessor.registerOnChange(k),C.valueAccessor.registerOnTouched(k)),sr(w,C),w&&(C._invokeOnDestroyCallbacks(),w._registerOnCollectionChange((()=>{})))}function wr(w,C){w.forEach((y=>{y.registerOnValidatorChange&&y.registerOnValidatorChange(C)}))}function Ir(w,C){const y=gt(w);null!==C.validator?w.setValidators(et(y,C.validator)):"function"==typeof y&&w.setValidators([y]);const k=Ie(w);null!==C.asyncValidator?w.setAsyncValidators(et(k,C.asyncValidator)):"function"==typeof k&&w.setAsyncValidators([k]);const te=()=>w.updateValueAndValidity();wr(C._rawValidators,te),wr(C._rawAsyncValidators,te)}function sr(w,C){let y=!1;if(null!==w){if(null!==C.validator){const te=gt(w);if(Array.isArray(te)&&te.length>0){const dt=te.filter((Ht=>Ht!==C.validator));dt.length!==te.length&&(y=!0,w.setValidators(dt))}}if(null!==C.asyncValidator){const te=Ie(w);if(Array.isArray(te)&&te.length>0){const dt=te.filter((Ht=>Ht!==C.asyncValidator));dt.length!==te.length&&(y=!0,w.setAsyncValidators(dt))}}}const k=()=>{};return wr(C._rawValidators,k),wr(C._rawAsyncValidators,k),y}function $e(w,C){w._pendingDirty&&w.markAsDirty(),w.setValue(w._pendingValue,{emitModelToViewChange:!1}),C.viewToModelUpdate(w._pendingValue),w._pendingChange=!1}function ce(w,C){if(!w.hasOwnProperty("model"))return!1;const y=w.model;return!!y.isFirstChange()||!Object.is(C,y.currentValue)}function nn(w,C){if(!C)return null;let y,k,te;return Array.isArray(C),C.forEach((dt=>{dt.constructor===Oe?y=dt:function ot(w){return Object.getPrototypeOf(w.constructor)===we}(dt)?k=dt:te=dt})),te||k||y||null}function ii(w,C){const y=w.indexOf(C);y>-1&&w.splice(y,1)}function ai(w){return"object"==typeof w&&null!==w&&2===Object.keys(w).length&&"value"in w&&"disabled"in w}Promise.resolve();const qr=class extends qt{constructor(C=null,y,k){super(xn(y),_n(k,y)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(C),this._setUpdateStrategy(y),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Wn(y)&&(y.nonNullable||y.initialValueIsDefault)&&(this.defaultValue=ai(C)?C.value:C)}setValue(C,y={}){this.value=this._pendingValue=C,this._onChange.length&&!1!==y.emitModelToViewChange&&this._onChange.forEach((k=>k(this.value,!1!==y.emitViewToModelChange))),this.updateValueAndValidity(y)}patchValue(C,y={}){this.setValue(C,y)}reset(C=this.defaultValue,y={}){this._applyFormState(C),this.markAsPristine(y),this.markAsUntouched(y),this.setValue(this.value,y),this._pendingChange=!1}_updateValue(){}_anyControls(C){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(C){this._onChange.push(C)}_unregisterOnChange(C){ii(this._onChange,C)}registerOnDisabledChange(C){this._onDisabledChange.push(C)}_unregisterOnDisabledChange(C){ii(this._onDisabledChange,C)}_forEachChild(C){}_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(C){ai(C)?(this.value=this._pendingValue=C.value,C.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=C}},bo=qr,Ct={provide:Mr,useExisting:(0,o.Rfq)((()=>mn))},Dt=Promise.resolve();let mn=(()=>{class w extends Mr{constructor(y,k,te,dt,Ht,Jt){super(),this._changeDetectorRef=Ht,this.callSetDisabledState=Jt,this.control=new qr,this._registered=!1,this.name="",this.update=new o.bkB,this._parent=y,this._setValidators(k),this._setAsyncValidators(te),this.valueAccessor=nn(0,dt)}ngOnChanges(y){if(this._checkForErrors(),!this._registered||"name"in y){if(this._registered&&(this._checkName(),this.formDirective)){const k=y.name.previousValue;this.formDirective.removeControl({name:k,path:this._getPath(k)})}this._setUpControl()}"isDisabled"in y&&this._updateDisabled(y),ce(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(){Fn(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){Dt.then((()=>{this.control.setValue(y,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()}))}_updateDisabled(y){const k=y.isDisabled.currentValue,te=0!==k&&(0,o.L39)(k);Dt.then((()=>{te&&!this.control.disabled?this.control.disable():!te&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()}))}_getPath(y){return this._parent?Yt(y,this._parent):[y]}static#e=this.ɵfac=function(k){return new(k||w)(o.rXU(Gn,9),o.rXU(Je,10),o.rXU(qe,10),o.rXU(be,10),o.rXU(o.gRc,8),o.rXU(Re,8))};static#t=this.ɵdir=o.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:[o.Jv_([Ct]),o.Vt3,o.OA$]})}return w})(),Xt=(()=>{class w{static#e=this.ɵfac=function(k){return new(k||w)};static#t=this.ɵdir=o.FsC({type:w,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return w})();const ar={provide:be,useExisting:(0,o.Rfq)((()=>Or)),multi:!0};let Or=(()=>{class w extends we{writeValue(y){this.setProperty("value",y??"")}registerOnChange(y){this.onChange=k=>{y(""==k?null:parseFloat(k))}}static#e=this.ɵfac=(()=>{let y;return function(te){return(y||(y=o.xGo(w)))(te||w)}})();static#t=this.ɵdir=o.FsC({type:w,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(k,te){1&k&&o.bIt("input",(function(Ht){return te.onChange(Ht.target.value)}))("blur",(function(){return te.onTouched()}))},features:[o.Jv_([ar]),o.Vt3]})}return w})();const $n=new o.nKC(""),wi={provide:Gn,useExisting:(0,o.Rfq)((()=>Gr))};let Gr=(()=>{class w extends Gn{get submitted(){return(0,o.O8t)(this._submittedReactive)}set submitted(y){this._submittedReactive.set(y)}constructor(y,k,te){super(),this.callSetDisabledState=te,this._submitted=(0,o.EWP)((()=>this._submittedReactive())),this._submittedReactive=(0,o.vPA)(!1),this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new o.bkB,this._setValidators(y),this._setAsyncValidators(k)}ngOnChanges(y){this._checkFormPresent(),y.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(sr(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 k=this.form.get(y.path);return Fn(k,y,this.callSetDisabledState),k.updateValueAndValidity({emitEvent:!1}),this.directives.push(y),k}getControl(y){return this.form.get(y.path)}removeControl(y){Dn(y.control||null,y,!1),function tr(w,C){const y=w.indexOf(C);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,k){this.form.get(y.path).setValue(k)}onSubmit(y){return this._submittedReactive.set(!0),function dn(w,C){w._syncPendingControls(),C.forEach((y=>{const k=y.control;"submit"===k.updateOn&&k._pendingChange&&(y.viewToModelUpdate(k._pendingValue),k._pendingChange=!1)}))}(this.form,this.directives),this.ngSubmit.emit(y),this.form._events.next(new Ot(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 Zt(this.form))}_updateDomValue(){this.directives.forEach((y=>{const k=y.control,te=this.form.get(y.path);k!==te&&(Dn(k||null,y),(w=>w instanceof qr)(te)&&(Fn(te,y,this.callSetDisabledState),y.control=te))})),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(y){const k=this.form.get(y.path);(function Wt(w,C){Ir(w,C)})(k,y),k.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(y){if(this.form){const k=this.form.get(y.path);k&&function rn(w,C){return sr(w,C)}(k,y)&&k.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange((()=>{}))}_updateValidators(){Ir(this.form,this),this._oldForm&&sr(this._oldForm,this)}_checkFormPresent(){}static#e=this.ɵfac=function(k){return new(k||w)(o.rXU(Je,10),o.rXU(qe,10),o.rXU(Re,8))};static#t=this.ɵdir=o.FsC({type:w,selectors:[["","formGroup",""]],hostBindings:function(k,te){1&k&&o.bIt("submit",(function(Ht){return te.onSubmit(Ht)}))("reset",(function(){return te.onReset()}))},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[o.Jv_([wi]),o.Vt3,o.OA$]})}return w})();const qo={provide:Mr,useExisting:(0,o.Rfq)((()=>Do))};let Do=(()=>{class w extends Mr{set isDisabled(y){}static#e=this._ngModelWarningSentOnce=!1;constructor(y,k,te,dt,Ht){super(),this._ngModelWarningConfig=Ht,this._added=!1,this.name=null,this.update=new o.bkB,this._ngModelWarningSent=!1,this._parent=y,this._setValidators(k),this._setAsyncValidators(te),this.valueAccessor=nn(0,dt)}ngOnChanges(y){this._added||this._setUpControl(),ce(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 Yt(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#t=this.ɵfac=function(k){return new(k||w)(o.rXU(Gn,13),o.rXU(Je,10),o.rXU(qe,10),o.rXU(be,10),o.rXU($n,8))};static#n=this.ɵdir=o.FsC({type:w,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[o.Jv_([qo]),o.Vt3,o.OA$]})}return w})();const ui={provide:be,useExisting:(0,o.Rfq)((()=>Wi)),multi:!0};function di(w,C){return null==w?`${C}`:(C&&"object"==typeof C&&(C="Object"),`${w}: ${C}`.slice(0,50))}let Wi=(()=>{class w extends we{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(y){this._compareWith=y}writeValue(y){this.value=y;const te=di(this._getOptionId(y),y);this.setProperty("value",te)}registerOnChange(y){this.onChange=k=>{this.value=this._getOptionValue(k),y(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(y){for(const k of this._optionMap.keys())if(this._compareWith(this._optionMap.get(k),y))return k;return null}_getOptionValue(y){const k=function no(w){return w.split(":")[0]}(y);return this._optionMap.has(k)?this._optionMap.get(k):y}static#e=this.ɵfac=(()=>{let y;return function(te){return(y||(y=o.xGo(w)))(te||w)}})();static#t=this.ɵdir=o.FsC({type:w,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(k,te){1&k&&o.bIt("change",(function(Ht){return te.onChange(Ht.target.value)}))("blur",(function(){return te.onTouched()}))},inputs:{compareWith:"compareWith"},features:[o.Jv_([ui]),o.Vt3]})}return w})(),xt=(()=>{class w{constructor(y,k,te){this._element=y,this._renderer=k,this._select=te,this._select&&(this.id=this._select._registerOption())}set ngValue(y){null!=this._select&&(this._select._optionMap.set(this.id,y),this._setElementValue(di(this.id,y)),this._select.writeValue(this._select.value))}set value(y){this._setElementValue(y),this._select&&this._select.writeValue(this._select.value)}_setElementValue(y){this._renderer.setProperty(this._element.nativeElement,"value",y)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.ɵfac=function(k){return new(k||w)(o.rXU(o.aKT),o.rXU(o.sFG),o.rXU(Wi,9))};static#t=this.ɵdir=o.FsC({type:w,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return w})();const Fi={provide:be,useExisting:(0,o.Rfq)((()=>hi)),multi:!0};function Li(w,C){return null==w?`${C}`:("string"==typeof C&&(C=`'${C}'`),C&&"object"==typeof C&&(C="Object"),`${w}: ${C}`.slice(0,50))}let hi=(()=>{class w extends we{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(y){this._compareWith=y}writeValue(y){let k;if(this.value=y,Array.isArray(y)){const te=y.map((dt=>this._getOptionId(dt)));k=(dt,Ht)=>{dt._setSelected(te.indexOf(Ht.toString())>-1)}}else k=(te,dt)=>{te._setSelected(!1)};this._optionMap.forEach(k)}registerOnChange(y){this.onChange=k=>{const te=[],dt=k.selectedOptions;if(void 0!==dt){const Ht=dt;for(let Jt=0;Jt<Ht.length;Jt++){const nr=this._getOptionValue(Ht[Jt].value);te.push(nr)}}else{const Ht=k.options;for(let Jt=0;Jt<Ht.length;Jt++){const lr=Ht[Jt];if(lr.selected){const nr=this._getOptionValue(lr.value);te.push(nr)}}}this.value=te,y(te)}}_registerOption(y){const k=(this._idCounter++).toString();return this._optionMap.set(k,y),k}_getOptionId(y){for(const k of this._optionMap.keys())if(this._compareWith(this._optionMap.get(k)._value,y))return k;return null}_getOptionValue(y){const k=function Vi(w){return w.split(":")[0]}(y);return this._optionMap.has(k)?this._optionMap.get(k)._value:y}static#e=this.ɵfac=(()=>{let y;return function(te){return(y||(y=o.xGo(w)))(te||w)}})();static#t=this.ɵdir=o.FsC({type:w,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(k,te){1&k&&o.bIt("change",(function(Ht){return te.onChange(Ht.target)}))("blur",(function(){return te.onTouched()}))},inputs:{compareWith:"compareWith"},features:[o.Jv_([Fi]),o.Vt3]})}return w})(),Bi=(()=>{class w{constructor(y,k,te){this._element=y,this._renderer=k,this._select=te,this._select&&(this.id=this._select._registerOption(this))}set ngValue(y){null!=this._select&&(this._value=y,this._setElementValue(Li(this.id,y)),this._select.writeValue(this._select.value))}set value(y){this._select?(this._value=y,this._setElementValue(Li(this.id,y)),this._select.writeValue(this._select.value)):this._setElementValue(y)}_setElementValue(y){this._renderer.setProperty(this._element.nativeElement,"value",y)}_setSelected(y){this._renderer.setProperty(this._element.nativeElement,"selected",y)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.ɵfac=function(k){return new(k||w)(o.rXU(o.aKT),o.rXU(o.sFG),o.rXU(hi,9))};static#t=this.ɵdir=o.FsC({type:w,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return w})();function pi(w){return"number"==typeof w?w:parseFloat(w)}let Wr=(()=>{class w{constructor(){this._validator=Te}ngOnChanges(y){if(this.inputName in y){const k=this.normalizeInput(y[this.inputName].currentValue);this._enabled=this.enabled(k),this._validator=this._enabled?this.createValidator(k):Te,this._onChange&&this._onChange()}}validate(y){return this._validator(y)}registerOnValidatorChange(y){this._onChange=y}enabled(y){return null!=y}static#e=this.ɵfac=function(k){return new(k||w)};static#t=this.ɵdir=o.FsC({type:w,features:[o.OA$]})}return w})();const Mo={provide:Je,useExisting:(0,o.Rfq)((()=>ro)),multi:!0};let ro=(()=>{class w extends Wr{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=y=>pi(y),this.createValidator=y=>Z(y)}static#e=this.ɵfac=(()=>{let y;return function(te){return(y||(y=o.xGo(w)))(te||w)}})();static#t=this.ɵdir=o.FsC({type:w,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(k,te){2&k&&o.BMQ("max",te._enabled?te.max:null)},inputs:{max:"max"},features:[o.Jv_([Mo]),o.Vt3]})}return w})();const io={provide:Je,useExisting:(0,o.Rfq)((()=>Ii)),multi:!0};let Ii=(()=>{class w extends Wr{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=y=>pi(y),this.createValidator=y=>ie(y)}static#e=this.ɵfac=(()=>{let y;return function(te){return(y||(y=o.xGo(w)))(te||w)}})();static#t=this.ɵdir=o.FsC({type:w,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(k,te){2&k&&o.BMQ("min",te._enabled?te.min:null)},inputs:{min:"min"},features:[o.Jv_([io]),o.Vt3]})}return w})(),ys=(()=>{class w{static#e=this.ɵfac=function(k){return new(k||w)};static#t=this.ɵmod=o.$C({type:w});static#n=this.ɵinj=o.G2t({})}return w})();class W extends qt{constructor(C,y,k){super(xn(y),_n(k,y)),this.controls=C,this._initObservables(),this._setUpdateStrategy(y),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(C){return this.controls[this._adjustIndex(C)]}push(C,y={}){this.controls.push(C),this._registerControl(C),this.updateValueAndValidity({emitEvent:y.emitEvent}),this._onCollectionChange()}insert(C,y,k={}){this.controls.splice(C,0,y),this._registerControl(y),this.updateValueAndValidity({emitEvent:k.emitEvent})}removeAt(C,y={}){let k=this._adjustIndex(C);k<0&&(k=0),this.controls[k]&&this.controls[k]._registerOnCollectionChange((()=>{})),this.controls.splice(k,1),this.updateValueAndValidity({emitEvent:y.emitEvent})}setControl(C,y,k={}){let te=this._adjustIndex(C);te<0&&(te=0),this.controls[te]&&this.controls[te]._registerOnCollectionChange((()=>{})),this.controls.splice(te,1),y&&(this.controls.splice(te,0,y),this._registerControl(y)),this.updateValueAndValidity({emitEvent:k.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(C,y={}){cn(this,0,C),C.forEach(((k,te)=>{vn(this,!1,te),this.at(te).setValue(k,{onlySelf:!0,emitEvent:y.emitEvent})})),this.updateValueAndValidity(y)}patchValue(C,y={}){null!=C&&(C.forEach(((k,te)=>{this.at(te)&&this.at(te).patchValue(k,{onlySelf:!0,emitEvent:y.emitEvent})})),this.updateValueAndValidity(y))}reset(C=[],y={}){this._forEachChild(((k,te)=>{k.reset(C[te],{onlySelf:!0,emitEvent:y.emitEvent})})),this._updatePristine(y,this),this._updateTouched(y,this),this.updateValueAndValidity(y)}getRawValue(){return this.controls.map((C=>C.getRawValue()))}clear(C={}){this.controls.length<1||(this._forEachChild((y=>y._registerOnCollectionChange((()=>{})))),this.controls.splice(0),this.updateValueAndValidity({emitEvent:C.emitEvent}))}_adjustIndex(C){return C<0?C+this.length:C}_syncPendingControls(){let C=this.controls.reduce(((y,k)=>!!k._syncPendingControls()||y),!1);return C&&this.updateValueAndValidity({onlySelf:!0}),C}_forEachChild(C){this.controls.forEach(((y,k)=>{C(y,k)}))}_updateValue(){this.value=this.controls.filter((C=>C.enabled||this.disabled)).map((C=>C.value))}_anyControls(C){return this.controls.some((y=>y.enabled&&C(y)))}_setUpControls(){this._forEachChild((C=>this._registerControl(C)))}_allControlsDisabled(){for(const C of this.controls)if(C.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(C){C.setParent(this),C._registerOnCollectionChange(this._onCollectionChange)}_find(C){return this.at(C)??null}}function M(w){return!!w&&(void 0!==w.asyncValidators||void 0!==w.validators||void 0!==w.updateOn)}let B=(()=>{class w{constructor(){this.useNonNullable=!1}get nonNullable(){const y=new w;return y.useNonNullable=!0,y}group(y,k=null){const te=this._reduceControls(y);let dt={};return M(k)?dt=k:null!==k&&(dt.validators=k.validator,dt.asyncValidators=k.asyncValidator),new un(te,dt)}record(y,k=null){const te=this._reduceControls(y);return new Vt(te,k)}control(y,k,te){let dt={};return this.useNonNullable?(M(k)?dt=k:(dt.validators=k,dt.asyncValidators=te),new qr(y,{...dt,nonNullable:!0})):new qr(y,k,te)}array(y,k,te){const dt=y.map((Ht=>this._createControl(Ht)));return new W(dt,k,te)}_reduceControls(y){const k={};return Object.keys(y).forEach((te=>{k[te]=this._createControl(y[te])})),k}_createControl(y){return y instanceof qr||y instanceof qt?y:Array.isArray(y)?this.control(y[0],y.length>1?y[1]:null,y.length>2?y[2]:null):this.control(y)}static#e=this.ɵfac=function(k){return new(k||w)};static#t=this.ɵprov=o.jDH({token:w,factory:w.ɵfac,providedIn:"root"})}return w})(),ge=(()=>{class w extends B{group(y,k=null){return super.group(y,k)}control(y,k,te){return super.control(y,k,te)}array(y,k,te){return super.array(y,k,te)}static#e=this.ɵfac=(()=>{let y;return function(te){return(y||(y=o.xGo(w)))(te||w)}})();static#t=this.ɵprov=o.jDH({token:w,factory:w.ɵfac,providedIn:"root"})}return w})(),Ue=(()=>{class w{static withConfig(y){return{ngModule:w,providers:[{provide:Re,useValue:y.callSetDisabledState??zt}]}}static#e=this.ɵfac=function(k){return new(k||w)};static#t=this.ɵmod=o.$C({type:w});static#n=this.ɵinj=o.G2t({imports:[ys]})}return w})(),Ye=(()=>{class w{static withConfig(y){return{ngModule:w,providers:[{provide:$n,useValue:y.warnOnNgModelWithFormControl??"always"},{provide:Re,useValue:y.callSetDisabledState??zt}]}}static#e=this.ɵfac=function(k){return new(k||w)};static#t=this.ɵmod=o.$C({type:w});static#n=this.ɵinj=o.G2t({imports:[ys]})}return w})()},728:(U,I,c)=>{"use strict";c.d(I,{wb:()=>Jo});var o=c(3953),m=c(345),T=c(9969);function b(W){return new o.wOt(3e3,!1)}function pn(W){switch(W.length){case 0:return new T.sf;case 1:return W[0];default:return new T.ui(W)}}function Sn(W,h,g=new Map,M=new Map){const B=[],Y=[];let ge=-1,ye=null;if(h.forEach((Ue=>{const Ye=Ue.get("offset"),w=Ye==ge,C=w&&ye||new Map;Ue.forEach(((y,k)=>{let te=k,dt=y;if("offset"!==k)switch(te=W.normalizePropertyName(te,B),dt){case T.FX:dt=g.get(k);break;case T.kp:dt=M.get(k);break;default:dt=W.normalizeStyleValue(k,te,dt,B)}C.set(te,dt)})),w||Y.push(C),ye=C,ge=Ye})),B.length)throw function ie(){return new o.wOt(3502,!1)}();return Y}function Ln(W,h,g,M){switch(h){case"start":W.onStart((()=>M(g&&Jn(g,"start",W))));break;case"done":W.onDone((()=>M(g&&Jn(g,"done",W))));break;case"destroy":W.onDestroy((()=>M(g&&Jn(g,"destroy",W))))}}function Jn(W,h,g){const Y=Vn(W.element,W.triggerName,W.fromState,W.toState,h||W.phaseName,g.totalTime??W.totalTime,!!g.disabled),ge=W._data;return null!=ge&&(Y._data=ge),Y}function Vn(W,h,g,M,B="",Y=0,ge){return{element:W,triggerName:h,fromState:g,toState:M,phaseName:B,totalTime:Y,disabled:!!ge}}function Un(W,h,g){let M=W.get(h);return M||W.set(h,M=g),M}function et(W){const h=W.indexOf(":");return[W.substring(1,h),W.slice(h+1)]}const gt=typeof document>"u"?null:document.documentElement;function Ie(W){const h=W.parentNode||W.host||null;return h===gt?null:h}let Ze=null,yn=!1;function Mr(W,h){for(;h;){if(h===W)return!0;h=Ie(h)}return!1}function rr(W,h,g){if(g)return Array.from(W.querySelectorAll(h));const M=W.querySelector(h);return M?[M]:[]}let On=(()=>{class W{validateStyleProperty(g){return function zn(W){Ze||(Ze=function Gn(){return typeof document<"u"?document.body:null}()||{},yn=!!Ze.style&&"WebkitAppearance"in Ze.style);let h=!0;return Ze.style&&!function tt(W){return"ebkit"==W.substring(1,6)}(W)&&(h=W in Ze.style,!h&&yn&&(h="Webkit"+W.charAt(0).toUpperCase()+W.slice(1)in Ze.style)),h}(g)}containsElement(g,M){return Mr(g,M)}getParentElement(g){return Ie(g)}query(g,M,B){return rr(g,M,B)}computeStyle(g,M,B){return B||""}animate(g,M,B,Y,ge,ye=[],Ue){return new T.sf(B,Y)}static#e=this.ɵfac=function(M){return new(M||W)};static#t=this.ɵprov=o.jDH({token:W,factory:W.ɵfac})}return W})();class gn{static#e=this.NOOP=new On}class ft{}const De=1e3,_t="ng-enter",Pt="ng-leave",vt="ng-trigger",jt=".ng-trigger",re="ng-animating",ae=".ng-animating";function Se(W){if("number"==typeof W)return W;const h=W.match(/^(-?[\.\d]+)(m?s)/);return!h||h.length<2?0:_e(parseFloat(h[1]),h[2])}function _e(W,h){return"s"===h?W*De:W}function ze(W,h,g){return W.hasOwnProperty("duration")?W:function ut(W,h,g){let B,Y=0,ge="";if("string"==typeof W){const ye=W.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===ye)return h.push(b()),{duration:0,delay:0,easing:""};B=_e(parseFloat(ye[1]),ye[2]);const Ue=ye[3];null!=Ue&&(Y=_e(parseFloat(Ue),ye[4]));const Ye=ye[5];Ye&&(ge=Ye)}else B=W;if(!g){let ye=!1,Ue=h.length;B<0&&(h.push(function S(){return new o.wOt(3100,!1)}()),ye=!0),Y<0&&(h.push(function x(){return new o.wOt(3101,!1)}()),ye=!0),ye&&h.splice(Ue,0,b())}return{duration:B,delay:Y,easing:ge}}(W,h,g)}function At(W,h,g){h.forEach(((M,B)=>{const Y=tn(B);g&&!g.has(B)&&g.set(B,W.style[Y]),W.style[Y]=M}))}function Ee(W,h){h.forEach(((g,M)=>{const B=tn(M);W.style[B]=""}))}function fe(W){return Array.isArray(W)?1==W.length?W[0]:(0,T.K2)(W):W}const de=new RegExp("{{\\s*(.+?)\\s*}}","g");function Be(W){let h=[];if("string"==typeof W){let g;for(;g=de.exec(W);)h.push(g[1]);de.lastIndex=0}return h}function mt(W,h,g){const M=`${W}`,B=M.replace(de,((Y,ge)=>{let ye=h[ge];return null==ye&&(g.push(function j(){return new o.wOt(3003,!1)}()),ye=""),ye.toString()}));return B==M?W:B}const Gt=/-+([a-z0-9])/g;function tn(W){return W.replace(Gt,((...h)=>h[1].toUpperCase()))}function Zt(W,h,g){switch(h.type){case T.If.Trigger:return W.visitTrigger(h,g);case T.If.State:return W.visitState(h,g);case T.If.Transition:return W.visitTransition(h,g);case T.If.Sequence:return W.visitSequence(h,g);case T.If.Group:return W.visitGroup(h,g);case T.If.Animate:return W.visitAnimate(h,g);case T.If.Keyframes:return W.visitKeyframes(h,g);case T.If.Style:return W.visitStyle(h,g);case T.If.Reference:return W.visitReference(h,g);case T.If.AnimateChild:return W.visitAnimateChild(h,g);case T.If.AnimateRef:return W.visitAnimateRef(h,g);case T.If.Query:return W.visitQuery(h,g);case T.If.Stagger:return W.visitStagger(h,g);default:throw function R(){return new o.wOt(3004,!1)}()}}function xn(W,h){return window.getComputedStyle(W)[h]}const Qn=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 _n extends ft{normalizePropertyName(h,g){return tn(h)}normalizeStyleValue(h,g,M,B){let Y="";const ge=M.toString().trim();if(Qn.has(g)&&0!==M&&"0"!==M)if("number"==typeof M)Y="px";else{const ye=M.match(/^[+-]?[\d\.]+([a-z]*)$/);ye&&0==ye[1].length&&B.push(function G(){return new o.wOt(3005,!1)}())}return ge+Y}}const er="*";const Pe=new Set(["true","1"]),Re=new Set(["false","0"]);function zt(W,h){const g=Pe.has(W)||Re.has(W),M=Pe.has(h)||Re.has(h);return(B,Y)=>{let ge=W==er||W==B,ye=h==er||h==Y;return!ge&&g&&"boolean"==typeof B&&(ge=B?Pe.has(W):Re.has(W)),!ye&&M&&"boolean"==typeof Y&&(ye=Y?Pe.has(h):Re.has(h)),ge&&ye}}const Fn=new RegExp("s*:selfs*,?","g");function Dn(W,h,g,M){return new fr(W).build(h,g,M)}class fr{constructor(h){this._driver=h}build(h,g,M){const B=new Mt(g);return this._resetContextStyleTimingState(B),Zt(this,fe(h),B)}_resetContextStyleTimingState(h){h.currentQuerySelector="",h.collectedStyles=new Map,h.collectedStyles.set("",new Map),h.currentTime=0}visitTrigger(h,g){let M=g.queryCount=0,B=g.depCount=0;const Y=[],ge=[];return"@"==h.name.charAt(0)&&g.errors.push(function oe(){return new o.wOt(3006,!1)}()),h.definitions.forEach((ye=>{if(this._resetContextStyleTimingState(g),ye.type==T.If.State){const Ue=ye,Ye=Ue.name;Ye.toString().split(/\s*,\s*/).forEach((w=>{Ue.name=w,Y.push(this.visitState(Ue,g))})),Ue.name=Ye}else if(ye.type==T.If.Transition){const Ue=this.visitTransition(ye,g);M+=Ue.queryCount,B+=Ue.depCount,ge.push(Ue)}else g.errors.push(function ve(){return new o.wOt(3007,!1)}())})),{type:T.If.Trigger,name:h.name,states:Y,transitions:ge,queryCount:M,depCount:B,options:null}}visitState(h,g){const M=this.visitStyle(h.styles,g),B=h.options&&h.options.params||null;if(M.containsDynamicStyles){const Y=new Set,ge=B||{};M.styles.forEach((ye=>{ye instanceof Map&&ye.forEach((Ue=>{Be(Ue).forEach((Ye=>{ge.hasOwnProperty(Ye)||Y.add(Ye)}))}))})),Y.size&&g.errors.push(function he(){return new o.wOt(3008,!1)}(0,Y.values()))}return{type:T.If.State,name:h.name,style:M,options:B?{params:B}:null}}visitTransition(h,g){g.queryCount=0,g.depCount=0;const M=Zt(this,fe(h.animation),g),B=function Zn(W,h){const g=[];return"string"==typeof W?W.split(/\s*,\s*/).forEach((M=>function bn(W,h,g){if(":"==W[0]){const Ue=function Vt(W,h){switch(W){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(g,M)=>parseFloat(M)>parseFloat(g);case":decrement":return(g,M)=>parseFloat(M)<parseFloat(g);default:return h.push(function Je(){return new o.wOt(3016,!1)}()),"* => *"}}(W,g);if("function"==typeof Ue)return void h.push(Ue);W=Ue}const M=W.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==M||M.length<4)return g.push(function It(){return new o.wOt(3015,!1)}()),h;const B=M[1],Y=M[2],ge=M[3];h.push(zt(B,ge)),"<"==Y[0]&&(B!=er||ge!=er)&&h.push(zt(ge,B))}(M,g,h))):g.push(W),g}(h.expr,g.errors);return{type:T.If.Transition,matchers:B,animation:M,queryCount:g.queryCount,depCount:g.depCount,options:yt(h.options)}}visitSequence(h,g){return{type:T.If.Sequence,steps:h.steps.map((M=>Zt(this,M,g))),options:yt(h.options)}}visitGroup(h,g){const M=g.currentTime;let B=0;const Y=h.steps.map((ge=>{g.currentTime=M;const ye=Zt(this,ge,g);return B=Math.max(B,g.currentTime),ye}));return g.currentTime=B,{type:T.If.Group,steps:Y,options:yt(h.options)}}visitAnimate(h,g){const M=function $e(W,h){if(W.hasOwnProperty("duration"))return W;if("number"==typeof W)return Wt(ze(W,h).duration,0,"");const g=W;if(g.split(/\s+/).some((Y=>"{"==Y.charAt(0)&&"{"==Y.charAt(1)))){const Y=Wt(0,0,"");return Y.dynamic=!0,Y.strValue=g,Y}const B=ze(g,h);return Wt(B.duration,B.delay,B.easing)}(h.timings,g.errors);g.currentAnimateTimings=M;let B,Y=h.styles?h.styles:(0,T.iF)({});if(Y.type==T.If.Keyframes)B=this.visitKeyframes(Y,g);else{let ge=h.styles,ye=!1;if(!ge){ye=!0;const Ye={};M.easing&&(Ye.easing=M.easing),ge=(0,T.iF)(Ye)}g.currentTime+=M.duration+M.delay;const Ue=this.visitStyle(ge,g);Ue.isEmptyStep=ye,B=Ue}return g.currentAnimateTimings=null,{type:T.If.Animate,timings:M,style:B,options:null}}visitStyle(h,g){const M=this._makeStyleAst(h,g);return this._validateStyleAst(M,g),M}_makeStyleAst(h,g){const M=[],B=Array.isArray(h.styles)?h.styles:[h.styles];for(let ye of B)"string"==typeof ye?ye===T.kp?M.push(ye):g.errors.push(new o.wOt(3002,!1)):M.push(new Map(Object.entries(ye)));let Y=!1,ge=null;return M.forEach((ye=>{if(ye instanceof Map&&(ye.has("easing")&&(ge=ye.get("easing"),ye.delete("easing")),!Y))for(let Ue of ye.values())if(Ue.toString().indexOf("{{")>=0){Y=!0;break}})),{type:T.If.Style,styles:M,easing:ge,offset:h.offset,containsDynamicStyles:Y,options:null}}_validateStyleAst(h,g){const M=g.currentAnimateTimings;let B=g.currentTime,Y=g.currentTime;M&&Y>0&&(Y-=M.duration+M.delay),h.styles.forEach((ge=>{"string"!=typeof ge&&ge.forEach(((ye,Ue)=>{const Ye=g.collectedStyles.get(g.currentQuerySelector),w=Ye.get(Ue);let C=!0;w&&(Y!=B&&Y>=w.startTime&&B<=w.endTime&&(g.errors.push(function He(){return new o.wOt(3010,!1)}()),C=!1),Y=w.startTime),C&&Ye.set(Ue,{startTime:Y,endTime:B}),g.options&&function q(W,h,g){const M=h.params||{},B=Be(W);B.length&&B.forEach((Y=>{M.hasOwnProperty(Y)||g.push(function L(){return new o.wOt(3001,!1)}())}))}(ye,g.options,g.errors)}))}))}visitKeyframes(h,g){const M={type:T.If.Keyframes,styles:[],options:null};if(!g.currentAnimateTimings)return g.errors.push(function Fe(){return new o.wOt(3011,!1)}()),M;let Y=0;const ge=[];let ye=!1,Ue=!1,Ye=0;const w=h.steps.map((Jt=>{const lr=this._makeStyleAst(Jt,g);let nr=null!=lr.offset?lr.offset:function bt(W){if("string"==typeof W)return null;let h=null;if(Array.isArray(W))W.forEach((g=>{if(g instanceof Map&&g.has("offset")){const M=g;h=parseFloat(M.get("offset")),M.delete("offset")}}));else if(W instanceof Map&&W.has("offset")){const g=W;h=parseFloat(g.get("offset")),g.delete("offset")}return h}(lr.styles),gr=0;return null!=nr&&(Y++,gr=lr.offset=nr),Ue=Ue||gr<0||gr>1,ye=ye||gr<Ye,Ye=gr,ge.push(gr),lr}));Ue&&g.errors.push(function ct(){return new o.wOt(3012,!1)}()),ye&&g.errors.push(function Qe(){return new o.wOt(3200,!1)}());const C=h.steps.length;let y=0;Y>0&&Y<C?g.errors.push(function Le(){return new o.wOt(3202,!1)}()):0==Y&&(y=1/(C-1));const k=C-1,te=g.currentTime,dt=g.currentAnimateTimings,Ht=dt.duration;return w.forEach(((Jt,lr)=>{const nr=y>0?lr==k?1:y*lr:ge[lr],gr=nr*Ht;g.currentTime=te+dt.delay+gr,dt.duration=gr,this._validateStyleAst(Jt,g),Jt.offset=nr,M.styles.push(Jt)})),M}visitReference(h,g){return{type:T.If.Reference,animation:Zt(this,fe(h.animation),g),options:yt(h.options)}}visitAnimateChild(h,g){return g.depCount++,{type:T.If.AnimateChild,options:yt(h.options)}}visitAnimateRef(h,g){return{type:T.If.AnimateRef,animation:this.visitReference(h.animation,g),options:yt(h.options)}}visitQuery(h,g){const M=g.currentQuerySelector,B=h.options||{};g.queryCount++,g.currentQuery=h;const[Y,ge]=function Ir(W){const h=!!W.split(/\s*,\s*/).find((g=>":self"==g));return h&&(W=W.replace(Fn,"")),W=W.replace(/@\*/g,jt).replace(/@\w+/g,(g=>jt+"-"+g.slice(1))).replace(/:animating/g,ae),[W,h]}(h.selector);g.currentQuerySelector=M.length?M+" "+Y:Y,Un(g.collectedStyles,g.currentQuerySelector,new Map);const ye=Zt(this,fe(h.animation),g);return g.currentQuery=null,g.currentQuerySelector=M,{type:T.If.Query,selector:Y,limit:B.limit||0,optional:!!B.optional,includeSelf:ge,animation:ye,originalSelector:h.selector,options:yt(h.options)}}visitStagger(h,g){g.currentQuery||g.errors.push(function Oe(){return new o.wOt(3013,!1)}());const M="full"===h.timings?{duration:0,delay:0,easing:"full"}:ze(h.timings,g.errors,!0);return{type:T.If.Stagger,animation:Zt(this,fe(h.animation),g),timings:M,options:null}}}class Mt{constructor(h){this.errors=h,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 yt(W){return W?(W={...W}).params&&(W.params=function sr(W){return W?{...W}:null}(W.params)):W={},W}function Wt(W,h,g){return{duration:W,delay:h,easing:g}}function rn(W,h,g,M,B,Y,ge=null,ye=!1){return{type:1,element:W,keyframes:h,preStyleProps:g,postStyleProps:M,duration:B,delay:Y,totalTime:B+Y,easing:ge,subTimeline:ye}}class Kt{constructor(){this._map=new Map}get(h){return this._map.get(h)||[]}append(h,g){let M=this._map.get(h);M||this._map.set(h,M=[]),M.push(...g)}has(h){return this._map.has(h)}clear(){this._map.clear()}}const Ge=new RegExp(":enter","g"),ce=new RegExp(":leave","g");function ot(W,h,g,M,B,Y=new Map,ge=new Map,ye,Ue,Ye=[]){return(new dn).buildKeyframes(W,h,g,M,B,Y,ge,ye,Ue,Ye)}class dn{buildKeyframes(h,g,M,B,Y,ge,ye,Ue,Ye,w=[]){Ye=Ye||new Kt;const C=new tr(h,g,Ye,B,Y,w,[]);C.options=Ue;const y=Ue.delay?Se(Ue.delay):0;C.currentTimeline.delayNextStep(y),C.currentTimeline.setStyles([ge],null,C.errors,Ue),Zt(this,M,C);const k=C.timelines.filter((te=>te.containsAnimation()));if(k.length&&ye.size){let te;for(let dt=k.length-1;dt>=0;dt--){const Ht=k[dt];if(Ht.element===g){te=Ht;break}}te&&!te.allowOnlyTimelineStyles()&&te.setStyles([ye],null,C.errors,Ue)}return k.length?k.map((te=>te.buildKeyframes())):[rn(g,[],[],[],0,y,"",!1)]}visitTrigger(h,g){}visitState(h,g){}visitTransition(h,g){}visitAnimateChild(h,g){const M=g.subInstructions.get(g.element);if(M){const B=g.createSubContext(h.options),Y=g.currentTimeline.currentTime,ge=this._visitSubInstructions(M,B,B.options);Y!=ge&&g.transformIntoNewTimeline(ge)}g.previousNode=h}visitAnimateRef(h,g){const M=g.createSubContext(h.options);M.transformIntoNewTimeline(),this._applyAnimationRefDelays([h.options,h.animation.options],g,M),this.visitReference(h.animation,M),g.transformIntoNewTimeline(M.currentTimeline.currentTime),g.previousNode=h}_applyAnimationRefDelays(h,g,M){for(const B of h){const Y=B?.delay;if(Y){const ge="number"==typeof Y?Y:Se(mt(Y,B?.params??{},g.errors));M.delayNextStep(ge)}}}_visitSubInstructions(h,g,M){let Y=g.currentTimeline.currentTime;const ge=null!=M.duration?Se(M.duration):null,ye=null!=M.delay?Se(M.delay):null;return 0!==ge&&h.forEach((Ue=>{const Ye=g.appendInstructionToTimeline(Ue,ge,ye);Y=Math.max(Y,Ye.duration+Ye.delay)})),Y}visitReference(h,g){g.updateOptions(h.options,!0),Zt(this,h.animation,g),g.previousNode=h}visitSequence(h,g){const M=g.subContextCount;let B=g;const Y=h.options;if(Y&&(Y.params||Y.delay)&&(B=g.createSubContext(Y),B.transformIntoNewTimeline(),null!=Y.delay)){B.previousNode.type==T.If.Style&&(B.currentTimeline.snapshotCurrentStyles(),B.previousNode=nn);const ge=Se(Y.delay);B.delayNextStep(ge)}h.steps.length&&(h.steps.forEach((ge=>Zt(this,ge,B))),B.currentTimeline.applyStylesToKeyframe(),B.subContextCount>M&&B.transformIntoNewTimeline()),g.previousNode=h}visitGroup(h,g){const M=[];let B=g.currentTimeline.currentTime;const Y=h.options&&h.options.delay?Se(h.options.delay):0;h.steps.forEach((ge=>{const ye=g.createSubContext(h.options);Y&&ye.delayNextStep(Y),Zt(this,ge,ye),B=Math.max(B,ye.currentTimeline.currentTime),M.push(ye.currentTimeline)})),M.forEach((ge=>g.currentTimeline.mergeTimelineCollectedStyles(ge))),g.transformIntoNewTimeline(B),g.previousNode=h}_visitTiming(h,g){if(h.dynamic){const M=h.strValue;return ze(g.params?mt(M,g.params,g.errors):M,g.errors)}return{duration:h.duration,delay:h.delay,easing:h.easing}}visitAnimate(h,g){const M=g.currentAnimateTimings=this._visitTiming(h.timings,g),B=g.currentTimeline;M.delay&&(g.incrementTime(M.delay),B.snapshotCurrentStyles());const Y=h.style;Y.type==T.If.Keyframes?this.visitKeyframes(Y,g):(g.incrementTime(M.duration),this.visitStyle(Y,g),B.applyStylesToKeyframe()),g.currentAnimateTimings=null,g.previousNode=h}visitStyle(h,g){const M=g.currentTimeline,B=g.currentAnimateTimings;!B&&M.hasCurrentStyleProperties()&&M.forwardFrame();const Y=B&&B.easing||h.easing;h.isEmptyStep?M.applyEmptyStep(Y):M.setStyles(h.styles,Y,g.errors,g.options),g.previousNode=h}visitKeyframes(h,g){const M=g.currentAnimateTimings,B=g.currentTimeline.duration,Y=M.duration,ye=g.createSubContext().currentTimeline;ye.easing=M.easing,h.styles.forEach((Ue=>{ye.forwardTime((Ue.offset||0)*Y),ye.setStyles(Ue.styles,Ue.easing,g.errors,g.options),ye.applyStylesToKeyframe()})),g.currentTimeline.mergeTimelineCollectedStyles(ye),g.transformIntoNewTimeline(B+Y),g.previousNode=h}visitQuery(h,g){const M=g.currentTimeline.currentTime,B=h.options||{},Y=B.delay?Se(B.delay):0;Y&&(g.previousNode.type===T.If.Style||0==M&&g.currentTimeline.hasCurrentStyleProperties())&&(g.currentTimeline.snapshotCurrentStyles(),g.previousNode=nn);let ge=M;const ye=g.invokeQuery(h.selector,h.originalSelector,h.limit,h.includeSelf,!!B.optional,g.errors);g.currentQueryTotal=ye.length;let Ue=null;ye.forEach(((Ye,w)=>{g.currentQueryIndex=w;const C=g.createSubContext(h.options,Ye);Y&&C.delayNextStep(Y),Ye===g.element&&(Ue=C.currentTimeline),Zt(this,h.animation,C),C.currentTimeline.applyStylesToKeyframe(),ge=Math.max(ge,C.currentTimeline.currentTime)})),g.currentQueryIndex=0,g.currentQueryTotal=0,g.transformIntoNewTimeline(ge),Ue&&(g.currentTimeline.mergeTimelineCollectedStyles(Ue),g.currentTimeline.snapshotCurrentStyles()),g.previousNode=h}visitStagger(h,g){const M=g.parentContext,B=g.currentTimeline,Y=h.timings,ge=Math.abs(Y.duration),ye=ge*(g.currentQueryTotal-1);let Ue=ge*g.currentQueryIndex;switch(Y.duration<0?"reverse":Y.easing){case"reverse":Ue=ye-Ue;break;case"full":Ue=M.currentStaggerTime}const w=g.currentTimeline;Ue&&w.delayNextStep(Ue);const C=w.currentTime;Zt(this,h.animation,g),g.previousNode=h,M.currentStaggerTime=B.currentTime-C+(B.startTime-M.currentTimeline.startTime)}}const nn={};class tr{constructor(h,g,M,B,Y,ge,ye,Ue){this._driver=h,this.element=g,this.subInstructions=M,this._enterClassName=B,this._leaveClassName=Y,this.errors=ge,this.timelines=ye,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=nn,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Ue||new Qr(this._driver,g,0),ye.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(h,g){if(!h)return;const M=h;let B=this.options;null!=M.duration&&(B.duration=Se(M.duration)),null!=M.delay&&(B.delay=Se(M.delay));const Y=M.params;if(Y){let ge=B.params;ge||(ge=this.options.params={}),Object.keys(Y).forEach((ye=>{(!g||!ge.hasOwnProperty(ye))&&(ge[ye]=mt(Y[ye],ge,this.errors))}))}}_copyOptions(){const h={};if(this.options){const g=this.options.params;if(g){const M=h.params={};Object.keys(g).forEach((B=>{M[B]=g[B]}))}}return h}createSubContext(h=null,g,M){const B=g||this.element,Y=new tr(this._driver,B,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(B,M||0));return Y.previousNode=this.previousNode,Y.currentAnimateTimings=this.currentAnimateTimings,Y.options=this._copyOptions(),Y.updateOptions(h),Y.currentQueryIndex=this.currentQueryIndex,Y.currentQueryTotal=this.currentQueryTotal,Y.parentContext=this,this.subContextCount++,Y}transformIntoNewTimeline(h){return this.previousNode=nn,this.currentTimeline=this.currentTimeline.fork(this.element,h),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(h,g,M){const B={duration:g??h.duration,delay:this.currentTimeline.currentTime+(M??0)+h.delay,easing:""},Y=new Zr(this._driver,h.element,h.keyframes,h.preStyleProps,h.postStyleProps,B,h.stretchStartingKeyframe);return this.timelines.push(Y),B}incrementTime(h){this.currentTimeline.forwardTime(this.currentTimeline.duration+h)}delayNextStep(h){h>0&&this.currentTimeline.delayNextStep(h)}invokeQuery(h,g,M,B,Y,ge){let ye=[];if(B&&ye.push(this.element),h.length>0){h=(h=h.replace(Ge,"."+this._enterClassName)).replace(ce,"."+this._leaveClassName);let Ye=this._driver.query(this.element,h,1!=M);0!==M&&(Ye=M<0?Ye.slice(Ye.length+M,Ye.length):Ye.slice(0,M)),ye.push(...Ye)}return!Y&&0==ye.length&&ge.push(function nt(){return new o.wOt(3014,!1)}()),ye}}class Qr{constructor(h,g,M,B){this._driver=h,this.element=g,this.startTime=M,this._elementTimelineStylesLookup=B,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(g),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(g,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(h){const g=1===this._keyframes.size&&this._pendingStyles.size;this.duration||g?(this.forwardTime(this.currentTime+h),g&&this.snapshotCurrentStyles()):this.startTime+=h}fork(h,g){return this.applyStylesToKeyframe(),new Qr(this._driver,h,g||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(h){this.applyStylesToKeyframe(),this.duration=h,this._loadKeyframe()}_updateStyle(h,g){this._localTimelineStyles.set(h,g),this._globalTimelineStyles.set(h,g),this._styleSummary.set(h,{time:this.currentTime,value:g})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(h){h&&this._previousKeyframe.set("easing",h);for(let[g,M]of this._globalTimelineStyles)this._backFill.set(g,M||T.kp),this._currentKeyframe.set(g,T.kp);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(h,g,M,B){g&&this._previousKeyframe.set("easing",g);const Y=B&&B.params||{},ge=function br(W,h){const g=new Map;let M;return W.forEach((B=>{if("*"===B){M??=h.keys();for(let Y of M)g.set(Y,T.kp)}else for(let[Y,ge]of B)g.set(Y,ge)})),g}(h,this._globalTimelineStyles);for(let[ye,Ue]of ge){const Ye=mt(Ue,Y,M);this._pendingStyles.set(ye,Ye),this._localTimelineStyles.has(ye)||this._backFill.set(ye,this._globalTimelineStyles.get(ye)??T.kp),this._updateStyle(ye,Ye)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach(((h,g)=>{this._currentKeyframe.set(g,h)})),this._pendingStyles.clear(),this._localTimelineStyles.forEach(((h,g)=>{this._currentKeyframe.has(g)||this._currentKeyframe.set(g,h)})))}snapshotCurrentStyles(){for(let[h,g]of this._localTimelineStyles)this._pendingStyles.set(h,g),this._updateStyle(h,g)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const h=[];for(let g in this._currentKeyframe)h.push(g);return h}mergeTimelineCollectedStyles(h){h._styleSummary.forEach(((g,M)=>{const B=this._styleSummary.get(M);(!B||g.time>B.time)&&this._updateStyle(M,g.value)}))}buildKeyframes(){this.applyStylesToKeyframe();const h=new Set,g=new Set,M=1===this._keyframes.size&&0===this.duration;let B=[];this._keyframes.forEach(((ye,Ue)=>{const Ye=new Map([...this._backFill,...ye]);Ye.forEach(((w,C)=>{w===T.FX?h.add(C):w===T.kp&&g.add(C)})),M||Ye.set("offset",Ue/this.duration),B.push(Ye)}));const Y=[...h.values()],ge=[...g.values()];if(M){const ye=B[0],Ue=new Map(ye);ye.set("offset",0),Ue.set("offset",1),B=[ye,Ue]}return rn(this.element,B,Y,ge,this.duration,this.startTime,this.easing,!1)}}class Zr extends Qr{constructor(h,g,M,B,Y,ge,ye=!1){super(h,g,ge.delay),this.keyframes=M,this.preStyleProps=B,this.postStyleProps=Y,this._stretchStartingKeyframe=ye,this.timings={duration:ge.duration,delay:ge.delay,easing:ge.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let h=this.keyframes,{delay:g,duration:M,easing:B}=this.timings;if(this._stretchStartingKeyframe&&g){const Y=[],ge=M+g,ye=g/ge,Ue=new Map(h[0]);Ue.set("offset",0),Y.push(Ue);const Ye=new Map(h[0]);Ye.set("offset",Lr(ye)),Y.push(Ye);const w=h.length-1;for(let C=1;C<=w;C++){let y=new Map(h[C]);const k=y.get("offset");y.set("offset",Lr((g+k*M)/ge)),Y.push(y)}M=ge,g=0,B="",h=Y}return rn(this.element,h,this.preStyleProps,this.postStyleProps,M,g,B,!0)}}function Lr(W,h=3){const g=Math.pow(10,h-1);return Math.round(W*g)/g}function ii(W,h,g,M,B,Y,ge,ye,Ue,Ye,w,C,y){return{type:0,element:W,triggerName:h,isRemovalTransition:B,fromState:g,fromStyles:Y,toState:M,toStyles:ge,timelines:ye,queriedElements:Ue,preStyleProps:Ye,postStyleProps:w,totalTime:C,errors:y}}const ai={};class qr{constructor(h,g,M){this._triggerName=h,this.ast=g,this._stateStyles=M}match(h,g,M,B){return function to(W,h,g,M,B){return W.some((Y=>Y(h,g,M,B)))}(this.ast.matchers,h,g,M,B)}buildStyles(h,g,M){let B=this._stateStyles.get("*");return void 0!==h&&(B=this._stateStyles.get(h?.toString())||B),B?B.buildStyles(g,M):new Map}build(h,g,M,B,Y,ge,ye,Ue,Ye,w){const C=[],y=this.ast.options&&this.ast.options.params||ai,te=this.buildStyles(M,ye&&ye.params||ai,C),dt=Ue&&Ue.params||ai,Ht=this.buildStyles(B,dt,C),Jt=new Set,lr=new Map,nr=new Map,gr="void"===B,Ki={params:Ci(dt,y),delay:this.ast.options?.delay},Yr=w?[]:ot(h,g,this.ast.animation,Y,ge,te,Ht,Ki,Ye,C);let Kr=0;return Yr.forEach((Ur=>{Kr=Math.max(Ur.duration+Ur.delay,Kr)})),C.length?ii(g,this._triggerName,M,B,gr,te,Ht,[],[],lr,nr,Kr,C):(Yr.forEach((Ur=>{const Di=Ur.element,Mi=Un(lr,Di,new Set);Ur.preStyleProps.forEach((oo=>Mi.add(oo)));const ts=Un(nr,Di,new Set);Ur.postStyleProps.forEach((oo=>ts.add(oo))),Di!==g&&Jt.add(Di)})),ii(g,this._triggerName,M,B,gr,te,Ht,Yr,[...Jt.values()],lr,nr,Kr))}}function Ci(W,h){const g={...h};return Object.entries(W).forEach((([M,B])=>{null!=B&&(g[M]=B)})),g}class Vr{constructor(h,g,M){this.styles=h,this.defaultParams=g,this.normalizer=M}buildStyles(h,g){const M=new Map,B=Ci(h,this.defaultParams);return this.styles.styles.forEach((Y=>{"string"!=typeof Y&&Y.forEach(((ge,ye)=>{ge&&(ge=mt(ge,B,g));const Ue=this.normalizer.normalizePropertyName(ye,g);ge=this.normalizer.normalizeStyleValue(ye,Ue,ge,g),M.set(ye,ge)}))})),M}}class ne{constructor(h,g,M){this.name=h,this.ast=g,this._normalizer=M,this.transitionFactories=[],this.states=new Map,g.states.forEach((B=>{this.states.set(B.name,new Vr(B.style,B.options&&B.options.params||{},M))})),Me(this.states,"true","1"),Me(this.states,"false","0"),g.transitions.forEach((B=>{this.transitionFactories.push(new qr(h,B,this.states))})),this.fallbackTransition=function ee(W,h){return new qr(W,{type:T.If.Transition,animation:{type:T.If.Sequence,steps:[],options:null},matchers:[(ge,ye)=>!0],options:null,queryCount:0,depCount:0},h)}(h,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(h,g,M,B){return this.transitionFactories.find((ge=>ge.match(h,g,M,B)))||null}matchStyles(h,g,M){return this.fallbackTransition.buildStyles(h,g,M)}}function Me(W,h,g){W.has(h)?W.has(g)||W.set(g,W.get(h)):W.has(g)&&W.set(h,W.get(g))}const Ke=new Kt;class Ct{constructor(h,g,M){this.bodyNode=h,this._driver=g,this._normalizer=M,this._animations=new Map,this._playersById=new Map,this.players=[]}register(h,g){const M=[],Y=Dn(this._driver,g,M,[]);if(M.length)throw function Z(){return new o.wOt(3503,!1)}();this._animations.set(h,Y)}_buildPlayer(h,g,M){const B=h.element,Y=Sn(this._normalizer,h.keyframes,g,M);return this._driver.animate(B,Y,h.duration,h.delay,h.easing,[],!0)}create(h,g,M={}){const B=[],Y=this._animations.get(h);let ge;const ye=new Map;if(Y?(ge=ot(this._driver,g,Y,_t,Pt,new Map,new Map,M,Ke,B),ge.forEach((w=>{const C=Un(ye,w.element,new Map);w.postStyleProps.forEach((y=>C.set(y,null)))}))):(B.push(function H(){return new o.wOt(3300,!1)}()),ge=[]),B.length)throw function ue(){return new o.wOt(3504,!1)}();ye.forEach(((w,C)=>{w.forEach(((y,k)=>{w.set(k,this._driver.computeStyle(C,k,T.kp))}))}));const Ye=pn(ge.map((w=>{const C=ye.get(w.element);return this._buildPlayer(w,new Map,C)})));return this._playersById.set(h,Ye),Ye.onDestroy((()=>this.destroy(h))),this.players.push(Ye),Ye}destroy(h){const g=this._getPlayer(h);g.destroy(),this._playersById.delete(h);const M=this.players.indexOf(g);M>=0&&this.players.splice(M,1)}_getPlayer(h){const g=this._playersById.get(h);if(!g)throw function xe(){return new o.wOt(3301,!1)}();return g}listen(h,g,M,B){const Y=Vn(g,"","","");return Ln(this._getPlayer(h),M,Y,B),()=>{}}command(h,g,M,B){if("register"==M)return void this.register(h,B[0]);if("create"==M)return void this.create(h,g,B[0]||{});const Y=this._getPlayer(h);switch(M){case"play":Y.play();break;case"pause":Y.pause();break;case"reset":Y.reset();break;case"restart":Y.restart();break;case"finish":Y.finish();break;case"init":Y.init();break;case"setPosition":Y.setPosition(parseFloat(B[0]));break;case"destroy":this.destroy(h)}}}const Dt="ng-animate-queued",Xt="ng-animate-disabled",Pr=[],pr={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},kr={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Mn="__ng_removed";class Kn{get params(){return this.options.params}constructor(h,g=""){this.namespaceId=g;const M=h&&h.hasOwnProperty("value");if(this.value=function li(W){return W??null}(M?h.value:h),M){const{value:Y,...ge}=h;this.options=ge}else this.options={};this.options.params||(this.options.params={})}absorbOptions(h){const g=h.params;if(g){const M=this.options.params;Object.keys(g).forEach((B=>{null==M[B]&&(M[B]=g[B])}))}}}const $n="void",Ei=new Kn($n);class Xn{constructor(h,g,M){this.id=h,this.hostElement=g,this._engine=M,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+h,ui(g,this._hostClassName)}listen(h,g,M,B){if(!this._triggers.has(g))throw function lt(){return new o.wOt(3302,!1)}();if(null==M||0==M.length)throw function We(){return new o.wOt(3303,!1)}();if(!function ci(W){return"start"==W||"done"==W}(M))throw function Ve(){return new o.wOt(3400,!1)}();const Y=Un(this._elementListeners,h,[]),ge={name:g,phase:M,callback:B};Y.push(ge);const ye=Un(this._engine.statesByElement,h,new Map);return ye.has(g)||(ui(h,vt),ui(h,vt+"-"+g),ye.set(g,Ei)),()=>{this._engine.afterFlush((()=>{const Ue=Y.indexOf(ge);Ue>=0&&Y.splice(Ue,1),this._triggers.has(g)||ye.delete(g)}))}}register(h,g){return!this._triggers.has(h)&&(this._triggers.set(h,g),!0)}_getTrigger(h){const g=this._triggers.get(h);if(!g)throw function Te(){return new o.wOt(3401,!1)}();return g}trigger(h,g,M,B=!0){const Y=this._getTrigger(g),ge=new Gr(this.id,g,h);let ye=this._engine.statesByElement.get(h);ye||(ui(h,vt),ui(h,vt+"-"+g),this._engine.statesByElement.set(h,ye=new Map));let Ue=ye.get(g);const Ye=new Kn(M,this.id);if(!(M&&M.hasOwnProperty("value"))&&Ue&&Ye.absorbOptions(Ue.options),ye.set(g,Ye),Ue||(Ue=Ei),Ye.value!==$n&&Ue.value===Ye.value){if(!function Fi(W,h){const g=Object.keys(W),M=Object.keys(h);if(g.length!=M.length)return!1;for(let B=0;B<g.length;B++){const Y=g[B];if(!h.hasOwnProperty(Y)||W[Y]!==h[Y])return!1}return!0}(Ue.params,Ye.params)){const dt=[],Ht=Y.matchStyles(Ue.value,Ue.params,dt),Jt=Y.matchStyles(Ye.value,Ye.params,dt);dt.length?this._engine.reportError(dt):this._engine.afterFlush((()=>{Ee(h,Ht),At(h,Jt)}))}return}const y=Un(this._engine.playersByElement,h,[]);y.forEach((dt=>{dt.namespaceId==this.id&&dt.triggerName==g&&dt.queued&&dt.destroy()}));let k=Y.matchTransition(Ue.value,Ye.value,h,Ye.params),te=!1;if(!k){if(!B)return;k=Y.fallbackTransition,te=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:h,triggerName:g,transition:k,fromState:Ue,toState:Ye,player:ge,isFallbackTransition:te}),te||(ui(h,Dt),ge.onStart((()=>{di(h,Dt)}))),ge.onDone((()=>{let dt=this.players.indexOf(ge);dt>=0&&this.players.splice(dt,1);const Ht=this._engine.playersByElement.get(h);if(Ht){let Jt=Ht.indexOf(ge);Jt>=0&&Ht.splice(Jt,1)}})),this.players.push(ge),y.push(ge),ge}deregister(h){this._triggers.delete(h),this._engine.statesByElement.forEach((g=>g.delete(h))),this._elementListeners.forEach(((g,M)=>{this._elementListeners.set(M,g.filter((B=>B.name!=h)))}))}clearElementCache(h){this._engine.statesByElement.delete(h),this._elementListeners.delete(h);const g=this._engine.playersByElement.get(h);g&&(g.forEach((M=>M.destroy())),this._engine.playersByElement.delete(h))}_signalRemovalForInnerTriggers(h,g){const M=this._engine.driver.query(h,jt,!0);M.forEach((B=>{if(B[Mn])return;const Y=this._engine.fetchNamespacesByElement(B);Y.size?Y.forEach((ge=>ge.triggerLeaveAnimation(B,g,!1,!0))):this.clearElementCache(B)})),this._engine.afterFlushAnimationsDone((()=>M.forEach((B=>this.clearElementCache(B)))))}triggerLeaveAnimation(h,g,M,B){const Y=this._engine.statesByElement.get(h),ge=new Map;if(Y){const ye=[];if(Y.forEach(((Ue,Ye)=>{if(ge.set(Ye,Ue.value),this._triggers.has(Ye)){const w=this.trigger(h,Ye,$n,B);w&&ye.push(w)}})),ye.length)return this._engine.markElementAsRemoved(this.id,h,!0,g,ge),M&&pn(ye).onDone((()=>this._engine.processLeaveNode(h))),!0}return!1}prepareLeaveAnimationListeners(h){const g=this._elementListeners.get(h),M=this._engine.statesByElement.get(h);if(g&&M){const B=new Set;g.forEach((Y=>{const ge=Y.name;if(B.has(ge))return;B.add(ge);const Ue=this._triggers.get(ge).fallbackTransition,Ye=M.get(ge)||Ei,w=new Kn($n),C=new Gr(this.id,ge,h);this._engine.totalQueuedPlayers++,this._queue.push({element:h,triggerName:ge,transition:Ue,fromState:Ye,toState:w,player:C,isFallbackTransition:!0})}))}}removeNode(h,g){const M=this._engine;if(h.childElementCount&&this._signalRemovalForInnerTriggers(h,g),this.triggerLeaveAnimation(h,g,!0))return;let B=!1;if(M.totalAnimations){const Y=M.players.length?M.playersByQueriedElement.get(h):[];if(Y&&Y.length)B=!0;else{let ge=h;for(;ge=ge.parentNode;)if(M.statesByElement.get(ge)){B=!0;break}}}if(this.prepareLeaveAnimationListeners(h),B)M.markElementAsRemoved(this.id,h,!1,g);else{const Y=h[Mn];(!Y||Y===pr)&&(M.afterFlush((()=>this.clearElementCache(h))),M.destroyInnerAnimations(h),M._onRemovalComplete(h,g))}}insertNode(h,g){ui(h,this._hostClassName)}drainQueuedTransitions(h){const g=[];return this._queue.forEach((M=>{const B=M.player;if(B.destroyed)return;const Y=M.element,ge=this._elementListeners.get(Y);ge&&ge.forEach((ye=>{if(ye.name==M.triggerName){const Ue=Vn(Y,M.triggerName,M.fromState.value,M.toState.value);Ue._data=h,Ln(M.player,ye.phase,Ue,ye.callback)}})),B.markedForDestroy?this._engine.afterFlush((()=>{B.destroy()})):g.push(M)})),this._queue=[],g.sort(((M,B)=>{const Y=M.transition.ast.depCount,ge=B.transition.ast.depCount;return 0==Y||0==ge?Y-ge:this._engine.driver.containsElement(M.element,B.element)?1:-1}))}destroy(h){this.players.forEach((g=>g.destroy())),this._signalRemovalForInnerTriggers(this.hostElement,h)}}class wi{_onRemovalComplete(h,g){this.onRemovalComplete(h,g)}constructor(h,g,M){this.bodyNode=h,this.driver=g,this._normalizer=M,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=(B,Y)=>{}}get queuedPlayers(){const h=[];return this._namespaceList.forEach((g=>{g.players.forEach((M=>{M.queued&&h.push(M)}))})),h}createNamespace(h,g){const M=new Xn(h,g,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,g)?this._balanceNamespaceList(M,g):(this.newHostElements.set(g,M),this.collectEnterElement(g)),this._namespaceLookup[h]=M}_balanceNamespaceList(h,g){const M=this._namespaceList,B=this.namespacesByHostElement;if(M.length-1>=0){let ge=!1,ye=this.driver.getParentElement(g);for(;ye;){const Ue=B.get(ye);if(Ue){const Ye=M.indexOf(Ue);M.splice(Ye+1,0,h),ge=!0;break}ye=this.driver.getParentElement(ye)}ge||M.unshift(h)}else M.push(h);return B.set(g,h),h}register(h,g){let M=this._namespaceLookup[h];return M||(M=this.createNamespace(h,g)),M}registerTrigger(h,g,M){let B=this._namespaceLookup[h];B&&B.register(g,M)&&this.totalAnimations++}destroy(h,g){h&&(this.afterFlush((()=>{})),this.afterFlushAnimationsDone((()=>{const M=this._fetchNamespace(h);this.namespacesByHostElement.delete(M.hostElement);const B=this._namespaceList.indexOf(M);B>=0&&this._namespaceList.splice(B,1),M.destroy(g),delete this._namespaceLookup[h]})))}_fetchNamespace(h){return this._namespaceLookup[h]}fetchNamespacesByElement(h){const g=new Set,M=this.statesByElement.get(h);if(M)for(let B of M.values())if(B.namespaceId){const Y=this._fetchNamespace(B.namespaceId);Y&&g.add(Y)}return g}trigger(h,g,M,B){if(ki(g)){const Y=this._fetchNamespace(h);if(Y)return Y.trigger(g,M,B),!0}return!1}insertNode(h,g,M,B){if(!ki(g))return;const Y=g[Mn];if(Y&&Y.setForRemoval){Y.setForRemoval=!1,Y.setForMove=!0;const ge=this.collectedLeaveElements.indexOf(g);ge>=0&&this.collectedLeaveElements.splice(ge,1)}if(h){const ge=this._fetchNamespace(h);ge&&ge.insertNode(g,M)}B&&this.collectEnterElement(g)}collectEnterElement(h){this.collectedEnterElements.push(h)}markElementAsDisabled(h,g){g?this.disabledNodes.has(h)||(this.disabledNodes.add(h),ui(h,Xt)):this.disabledNodes.has(h)&&(this.disabledNodes.delete(h),di(h,Xt))}removeNode(h,g,M){if(ki(g)){const B=h?this._fetchNamespace(h):null;B?B.removeNode(g,M):this.markElementAsRemoved(h,g,!1,M);const Y=this.namespacesByHostElement.get(g);Y&&Y.id!==h&&Y.removeNode(g,M)}else this._onRemovalComplete(g,M)}markElementAsRemoved(h,g,M,B,Y){this.collectedLeaveElements.push(g),g[Mn]={namespaceId:h,setForRemoval:B,hasAnimation:M,removedBeforeQueried:!1,previousTriggersValues:Y}}listen(h,g,M,B,Y){return ki(g)?this._fetchNamespace(h).listen(g,M,B,Y):()=>{}}_buildInstruction(h,g,M,B,Y){return h.transition.build(this.driver,h.element,h.fromState.value,h.toState.value,M,B,h.fromState.options,h.toState.options,g,Y)}destroyInnerAnimations(h){let g=this.driver.query(h,jt,!0);g.forEach((M=>this.destroyActiveAnimationsForElement(M))),0!=this.playersByQueriedElement.size&&(g=this.driver.query(h,ae,!0),g.forEach((M=>this.finishActiveQueriedAnimationOnElement(M))))}destroyActiveAnimationsForElement(h){const g=this.playersByElement.get(h);g&&g.forEach((M=>{M.queued?M.markedForDestroy=!0:M.destroy()}))}finishActiveQueriedAnimationOnElement(h){const g=this.playersByQueriedElement.get(h);g&&g.forEach((M=>M.finish()))}whenRenderingDone(){return new Promise((h=>{if(this.players.length)return pn(this.players).onDone((()=>h()));h()}))}processLeaveNode(h){const g=h[Mn];if(g&&g.setForRemoval){if(h[Mn]=pr,g.namespaceId){this.destroyInnerAnimations(h);const M=this._fetchNamespace(g.namespaceId);M&&M.clearElementCache(h)}this._onRemovalComplete(h,g.setForRemoval)}h.classList?.contains(Xt)&&this.markElementAsDisabled(h,!1),this.driver.query(h,".ng-animate-disabled",!0).forEach((M=>{this.markElementAsDisabled(M,!1)}))}flush(h=-1){let g=[];if(this.newHostElements.size&&(this.newHostElements.forEach(((M,B)=>this._balanceNamespaceList(M,B))),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let M=0;M<this.collectedEnterElements.length;M++)ui(this.collectedEnterElements[M],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const M=[];try{g=this._flushAnimations(M,h)}finally{for(let B=0;B<M.length;B++)M[B]()}}else for(let M=0;M<this.collectedLeaveElements.length;M++)this.processLeaveNode(this.collectedLeaveElements[M]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach((M=>M())),this._flushFns=[],this._whenQuietFns.length){const M=this._whenQuietFns;this._whenQuietFns=[],g.length?pn(g).onDone((()=>{M.forEach((B=>B()))})):M.forEach((B=>B()))}}reportError(h){throw function it(){return new o.wOt(3402,!1)}()}_flushAnimations(h,g){const M=new Kt,B=[],Y=new Map,ge=[],ye=new Map,Ue=new Map,Ye=new Map,w=new Set;this.disabledNodes.forEach(($t=>{w.add($t);const sn=this.driver.query($t,".ng-animate-queued",!0);for(let wn=0;wn<sn.length;wn++)w.add(sn[wn])}));const C=this.bodyNode,y=Array.from(this.statesByElement.keys()),k=Do(y,this.collectedEnterElements),te=new Map;let dt=0;k.forEach((($t,sn)=>{const wn=_t+dt++;te.set(sn,wn),$t.forEach((Bn=>ui(Bn,wn)))}));const Ht=[],Jt=new Set,lr=new Set;for(let $t=0;$t<this.collectedLeaveElements.length;$t++){const sn=this.collectedLeaveElements[$t],wn=sn[Mn];wn&&wn.setForRemoval&&(Ht.push(sn),Jt.add(sn),wn.hasAnimation?this.driver.query(sn,".ng-star-inserted",!0).forEach((Bn=>Jt.add(Bn))):lr.add(sn))}const nr=new Map,gr=Do(y,Array.from(Jt));gr.forEach((($t,sn)=>{const wn=Pt+dt++;nr.set(sn,wn),$t.forEach((Bn=>ui(Bn,wn)))})),h.push((()=>{k.forEach((($t,sn)=>{const wn=te.get(sn);$t.forEach((Bn=>di(Bn,wn)))})),gr.forEach((($t,sn)=>{const wn=nr.get(sn);$t.forEach((Bn=>di(Bn,wn)))})),Ht.forEach(($t=>{this.processLeaveNode($t)}))}));const Ki=[],Yr=[];for(let $t=this._namespaceList.length-1;$t>=0;$t--)this._namespaceList[$t].drainQueuedTransitions(g).forEach((wn=>{const Bn=wn.player,Xr=wn.element;if(Ki.push(Bn),this.collectedEnterElements.length){const jr=Xr[Mn];if(jr&&jr.setForMove){if(jr.previousTriggersValues&&jr.previousTriggersValues.has(wn.triggerName)){const po=jr.previousTriggersValues.get(wn.triggerName),Ar=this.statesByElement.get(wn.element);if(Ar&&Ar.has(wn.triggerName)){const go=Ar.get(wn.triggerName);go.value=po,Ar.set(wn.triggerName,go)}}return void Bn.destroy()}}const so=!C||!this.driver.containsElement(C,Xr),Pi=nr.get(Xr),Io=te.get(Xr),cr=this._buildInstruction(wn,M,Io,Pi,so);if(cr.errors&&cr.errors.length)return void Yr.push(cr);if(so)return Bn.onStart((()=>Ee(Xr,cr.fromStyles))),Bn.onDestroy((()=>At(Xr,cr.toStyles))),void B.push(Bn);if(wn.isFallbackTransition)return Bn.onStart((()=>Ee(Xr,cr.fromStyles))),Bn.onDestroy((()=>At(Xr,cr.toStyles))),void B.push(Bn);const Oo=[];cr.timelines.forEach((jr=>{jr.stretchStartingKeyframe=!0,this.disabledNodes.has(jr.element)||Oo.push(jr)})),cr.timelines=Oo,M.append(Xr,cr.timelines),ge.push({instruction:cr,player:Bn,element:Xr}),cr.queriedElements.forEach((jr=>Un(ye,jr,[]).push(Bn))),cr.preStyleProps.forEach(((jr,po)=>{if(jr.size){let Ar=Ue.get(po);Ar||Ue.set(po,Ar=new Set),jr.forEach(((go,rs)=>Ar.add(rs)))}})),cr.postStyleProps.forEach(((jr,po)=>{let Ar=Ye.get(po);Ar||Ye.set(po,Ar=new Set),jr.forEach(((go,rs)=>Ar.add(rs)))}))}));if(Yr.length){const $t=[];Yr.forEach((sn=>{$t.push(function Bt(){return new o.wOt(3505,!1)}())})),Ki.forEach((sn=>sn.destroy())),this.reportError($t)}const Kr=new Map,Ur=new Map;ge.forEach(($t=>{const sn=$t.element;M.has(sn)&&(Ur.set(sn,sn),this._beforeAnimationBuild($t.player.namespaceId,$t.instruction,Kr))})),B.forEach(($t=>{const sn=$t.element;this._getPreviousPlayers(sn,!1,$t.namespaceId,$t.triggerName,null).forEach((Bn=>{Un(Kr,sn,[]).push(Bn),Bn.destroy()}))}));const Di=Ht.filter(($t=>Li($t,Ue,Ye))),Mi=new Map;qo(Mi,this.driver,lr,Ye,T.kp).forEach(($t=>{Li($t,Ue,Ye)&&Di.push($t)}));const oo=new Map;k.forEach((($t,sn)=>{qo(oo,this.driver,new Set($t),Ue,T.FX)})),Di.forEach(($t=>{const sn=Mi.get($t),wn=oo.get($t);Mi.set($t,new Map([...sn?.entries()??[],...wn?.entries()??[]]))}));const En=[],ns=[],fo={};ge.forEach(($t=>{const{element:sn,player:wn,instruction:Bn}=$t;if(M.has(sn)){if(w.has(sn))return wn.onDestroy((()=>At(sn,Bn.toStyles))),wn.disabled=!0,wn.overrideTotalTime(Bn.totalTime),void B.push(wn);let Xr=fo;if(Ur.size>1){let Pi=sn;const Io=[];for(;Pi=Pi.parentNode;){const cr=Ur.get(Pi);if(cr){Xr=cr;break}Io.push(Pi)}Io.forEach((cr=>Ur.set(cr,Xr)))}const so=this._buildAnimation(wn.namespaceId,Bn,Kr,Y,oo,Mi);if(wn.setRealPlayer(so),Xr===fo)En.push(wn);else{const Pi=this.playersByElement.get(Xr);Pi&&Pi.length&&(wn.parentPlayer=pn(Pi)),B.push(wn)}}else Ee(sn,Bn.fromStyles),wn.onDestroy((()=>At(sn,Bn.toStyles))),ns.push(wn),w.has(sn)&&B.push(wn)})),ns.forEach(($t=>{const sn=Y.get($t.element);if(sn&&sn.length){const wn=pn(sn);$t.setRealPlayer(wn)}})),B.forEach(($t=>{$t.parentPlayer?$t.syncPlayerEvents($t.parentPlayer):$t.destroy()}));for(let $t=0;$t<Ht.length;$t++){const sn=Ht[$t],wn=sn[Mn];if(di(sn,Pt),wn&&wn.hasAnimation)continue;let Bn=[];if(ye.size){let so=ye.get(sn);so&&so.length&&Bn.push(...so);let Pi=this.driver.query(sn,ae,!0);for(let Io=0;Io<Pi.length;Io++){let cr=ye.get(Pi[Io]);cr&&cr.length&&Bn.push(...cr)}}const Xr=Bn.filter((so=>!so.destroyed));Xr.length?no(this,sn,Xr):this.processLeaveNode(sn)}return Ht.length=0,En.forEach(($t=>{this.players.push($t),$t.onDone((()=>{$t.destroy();const sn=this.players.indexOf($t);this.players.splice(sn,1)})),$t.play()})),En}afterFlush(h){this._flushFns.push(h)}afterFlushAnimationsDone(h){this._whenQuietFns.push(h)}_getPreviousPlayers(h,g,M,B,Y){let ge=[];if(g){const ye=this.playersByQueriedElement.get(h);ye&&(ge=ye)}else{const ye=this.playersByElement.get(h);if(ye){const Ue=!Y||Y==$n;ye.forEach((Ye=>{Ye.queued||!Ue&&Ye.triggerName!=B||ge.push(Ye)}))}}return(M||B)&&(ge=ge.filter((ye=>!(M&&M!=ye.namespaceId||B&&B!=ye.triggerName)))),ge}_beforeAnimationBuild(h,g,M){const Y=g.element,ge=g.isRemovalTransition?void 0:h,ye=g.isRemovalTransition?void 0:g.triggerName;for(const Ue of g.timelines){const Ye=Ue.element,w=Ye!==Y,C=Un(M,Ye,[]);this._getPreviousPlayers(Ye,w,ge,ye,g.toState).forEach((k=>{const te=k.getRealPlayer();te.beforeDestroy&&te.beforeDestroy(),k.destroy(),C.push(k)}))}Ee(Y,g.fromStyles)}_buildAnimation(h,g,M,B,Y,ge){const ye=g.triggerName,Ue=g.element,Ye=[],w=new Set,C=new Set,y=g.timelines.map((te=>{const dt=te.element;w.add(dt);const Ht=dt[Mn];if(Ht&&Ht.removedBeforeQueried)return new T.sf(te.duration,te.delay);const Jt=dt!==Ue,lr=function Wi(W){const h=[];return xt(W,h),h}((M.get(dt)||Pr).map((Kr=>Kr.getRealPlayer()))).filter((Kr=>!!Kr.element&&Kr.element===dt)),nr=Y.get(dt),gr=ge.get(dt),Ki=Sn(this._normalizer,te.keyframes,nr,gr),Yr=this._buildPlayer(te,Ki,lr);if(te.subTimeline&&B&&C.add(dt),Jt){const Kr=new Gr(h,ye,dt);Kr.setRealPlayer(Yr),Ye.push(Kr)}return Yr}));Ye.forEach((te=>{Un(this.playersByQueriedElement,te.element,[]).push(te),te.onDone((()=>function bi(W,h,g){let M=W.get(h);if(M){if(M.length){const B=M.indexOf(g);M.splice(B,1)}0==M.length&&W.delete(h)}return M}(this.playersByQueriedElement,te.element,te)))})),w.forEach((te=>ui(te,re)));const k=pn(y);return k.onDestroy((()=>{w.forEach((te=>di(te,re))),At(Ue,g.toStyles)})),C.forEach((te=>{Un(B,te,[]).push(k)})),k}_buildPlayer(h,g,M){return g.length>0?this.driver.animate(h.element,g,h.duration,h.delay,h.easing,M):new T.sf(h.duration,h.delay)}}class Gr{constructor(h,g,M){this.namespaceId=h,this.triggerName=g,this.element=M,this._player=new T.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(h){this._containsRealPlayer||(this._player=h,this._queuedCallbacks.forEach(((g,M)=>{g.forEach((B=>Ln(h,M,void 0,B)))})),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(h.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(h){this.totalTime=h}syncPlayerEvents(h){const g=this._player;g.triggerCallback&&h.onStart((()=>g.triggerCallback("start"))),h.onDone((()=>this.finish())),h.onDestroy((()=>this.destroy()))}_queueEvent(h,g){Un(this._queuedCallbacks,h,[]).push(g)}onDone(h){this.queued&&this._queueEvent("done",h),this._player.onDone(h)}onStart(h){this.queued&&this._queueEvent("start",h),this._player.onStart(h)}onDestroy(h){this.queued&&this._queueEvent("destroy",h),this._player.onDestroy(h)}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(h){this.queued||this._player.setPosition(h)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(h){const g=this._player;g.triggerCallback&&g.triggerCallback(h)}}function ki(W){return W&&1===W.nodeType}function Gi(W,h){const g=W.style.display;return W.style.display=h??"none",g}function qo(W,h,g,M,B){const Y=[];g.forEach((Ue=>Y.push(Gi(Ue))));const ge=[];M.forEach(((Ue,Ye)=>{const w=new Map;Ue.forEach((C=>{const y=h.computeStyle(Ye,C,B);w.set(C,y),(!y||0==y.length)&&(Ye[Mn]=kr,ge.push(Ye))})),W.set(Ye,w)}));let ye=0;return g.forEach((Ue=>Gi(Ue,Y[ye++]))),ge}function Do(W,h){const g=new Map;if(W.forEach((ye=>g.set(ye,[]))),0==h.length)return g;const B=new Set(h),Y=new Map;function ge(ye){if(!ye)return 1;let Ue=Y.get(ye);if(Ue)return Ue;const Ye=ye.parentNode;return Ue=g.has(Ye)?Ye:B.has(Ye)?1:ge(Ye),Y.set(ye,Ue),Ue}return h.forEach((ye=>{const Ue=ge(ye);1!==Ue&&g.get(Ue).push(ye)})),g}function ui(W,h){W.classList?.add(h)}function di(W,h){W.classList?.remove(h)}function no(W,h,g){pn(g).onDone((()=>W.processLeaveNode(h)))}function xt(W,h){for(let g=0;g<W.length;g++){const M=W[g];M instanceof T.ui?xt(M.players,h):h.push(M)}}function Li(W,h,g){const M=g.get(W);if(!M)return!1;let B=h.get(W);return B?M.forEach((Y=>B.add(Y))):h.set(W,M),g.delete(W),!0}class Vi{constructor(h,g,M){this._driver=g,this._normalizer=M,this._triggerCache={},this.onRemovalComplete=(B,Y)=>{},this._transitionEngine=new wi(h.body,g,M),this._timelineEngine=new Ct(h.body,g,M),this._transitionEngine.onRemovalComplete=(B,Y)=>this.onRemovalComplete(B,Y)}registerTrigger(h,g,M,B,Y){const ge=h+"-"+B;let ye=this._triggerCache[ge];if(!ye){const Ue=[],w=Dn(this._driver,Y,Ue,[]);if(Ue.length)throw function me(){return new o.wOt(3404,!1)}();ye=function z(W,h,g){return new ne(W,h,g)}(B,w,this._normalizer),this._triggerCache[ge]=ye}this._transitionEngine.registerTrigger(g,B,ye)}register(h,g){this._transitionEngine.register(h,g)}destroy(h,g){this._transitionEngine.destroy(h,g)}onInsert(h,g,M,B){this._transitionEngine.insertNode(h,g,M,B)}onRemove(h,g,M){this._transitionEngine.removeNode(h,g,M)}disableAnimations(h,g){this._transitionEngine.markElementAsDisabled(h,g)}process(h,g,M,B){if("@"==M.charAt(0)){const[Y,ge]=et(M);this._timelineEngine.command(Y,g,ge,B)}else this._transitionEngine.trigger(h,g,M,B)}listen(h,g,M,B,Y){if("@"==M.charAt(0)){const[ge,ye]=et(M);return this._timelineEngine.listen(ge,g,ye,Y)}return this._transitionEngine.listen(h,g,M,B,Y)}flush(h=-1){this._transitionEngine.flush(h)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(h){this._transitionEngine.afterFlushAnimationsDone(h)}}class hi{static#e=this.initialStylesByElement=new WeakMap;constructor(h,g,M){this._element=h,this._startStyles=g,this._endStyles=M,this._state=0;let B=hi.initialStylesByElement.get(h);B||hi.initialStylesByElement.set(h,B=new Map),this._initialStyles=B}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&&(hi.initialStylesByElement.delete(this._element),this._startStyles&&(Ee(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Ee(this._element,this._endStyles),this._endStyles=null),At(this._element,this._initialStyles),this._state=3)}}function Bi(W){let h=null;return W.forEach(((g,M)=>{(function fi(W){return"display"===W||"position"===W})(M)&&(h=h||new Map,h.set(M,g))})),h}class pi{constructor(h,g,M,B){this.element=h,this.keyframes=g,this.options=M,this._specialStyles=B,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=M.duration,this._delay=M.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach((h=>h())),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const h=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,h,this.options),this._finalKeyframe=h.length?h[h.length-1]:new Map;const g=()=>this._onFinish();this.domPlayer.addEventListener("finish",g),this.onDestroy((()=>{this.domPlayer.removeEventListener("finish",g)}))}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(h){const g=[];return h.forEach((M=>{g.push(Object.fromEntries(M))})),g}_triggerWebAnimation(h,g,M){return h.animate(this._convertKeyframesToObject(g),M)}onStart(h){this._originalOnStartFns.push(h),this._onStartFns.push(h)}onDone(h){this._originalOnDoneFns.push(h),this._onDoneFns.push(h)}onDestroy(h){this._onDestroyFns.push(h)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach((h=>h())),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((h=>h())),this._onDestroyFns=[])}setPosition(h){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=h*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const h=new Map;this.hasStarted()&&this._finalKeyframe.forEach(((M,B)=>{"offset"!==B&&h.set(B,this._finished?M:xn(this.element,B))})),this.currentSnapshot=h}triggerCallback(h){const g="start"===h?this._onStartFns:this._onDoneFns;g.forEach((M=>M())),g.length=0}}class Wr{validateStyleProperty(h){return!0}validateAnimatableStyleProperty(h){return!0}containsElement(h,g){return Mr(h,g)}getParentElement(h){return Ie(h)}query(h,g,M){return rr(h,g,M)}computeStyle(h,g,M){return xn(h,g)}animate(h,g,M,B,Y,ge=[]){const Ue={duration:M,delay:B,fill:0==B?"both":"forwards"};Y&&(Ue.easing=Y);const Ye=new Map,w=ge.filter((k=>k instanceof pi));(function Rt(W,h){return 0===W||0===h})(M,B)&&w.forEach((k=>{k.currentSnapshot.forEach(((te,dt)=>Ye.set(dt,te)))}));let C=function Lt(W){return W.length?W[0]instanceof Map?W:W.map((h=>new Map(Object.entries(h)))):[]}(g).map((k=>new Map(k)));C=function Ot(W,h,g){if(g.size&&h.length){let M=h[0],B=[];if(g.forEach(((Y,ge)=>{M.has(ge)||B.push(ge),M.set(ge,Y)})),B.length)for(let Y=1;Y<h.length;Y++){let ge=h[Y];B.forEach((ye=>ge.set(ye,xn(W,ye))))}}return h}(h,C,Ye);const y=function vs(W,h){let g=null,M=null;return Array.isArray(h)&&h.length?(g=Bi(h[0]),h.length>1&&(M=Bi(h[h.length-1]))):h instanceof Map&&(g=Bi(h)),g||M?new hi(W,g,M):null}(h,C);return new pi(h,C,Ue,y)}}const Ii="@.disabled";class Vo{constructor(h,g,M,B){this.namespaceId=h,this.delegate=g,this.engine=M,this._onDestroy=B,this.ɵtype=0}get data(){return this.delegate.data}destroyNode(h){this.delegate.destroyNode?.(h)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone((()=>{queueMicrotask((()=>{this.delegate.destroy()}))})),this._onDestroy?.()}createElement(h,g){return this.delegate.createElement(h,g)}createComment(h){return this.delegate.createComment(h)}createText(h){return this.delegate.createText(h)}appendChild(h,g){this.delegate.appendChild(h,g),this.engine.onInsert(this.namespaceId,g,h,!1)}insertBefore(h,g,M,B=!0){this.delegate.insertBefore(h,g,M),this.engine.onInsert(this.namespaceId,g,h,B)}removeChild(h,g,M){this.parentNode(g)&&this.engine.onRemove(this.namespaceId,g,this.delegate)}selectRootElement(h,g){return this.delegate.selectRootElement(h,g)}parentNode(h){return this.delegate.parentNode(h)}nextSibling(h){return this.delegate.nextSibling(h)}setAttribute(h,g,M,B){this.delegate.setAttribute(h,g,M,B)}removeAttribute(h,g,M){this.delegate.removeAttribute(h,g,M)}addClass(h,g){this.delegate.addClass(h,g)}removeClass(h,g){this.delegate.removeClass(h,g)}setStyle(h,g,M,B){this.delegate.setStyle(h,g,M,B)}removeStyle(h,g,M){this.delegate.removeStyle(h,g,M)}setProperty(h,g,M){"@"==g.charAt(0)&&g==Ii?this.disableAnimations(h,!!M):this.delegate.setProperty(h,g,M)}setValue(h,g){this.delegate.setValue(h,g)}listen(h,g,M){return this.delegate.listen(h,g,M)}disableAnimations(h,g){this.engine.disableAnimations(h,g)}}class Tr extends Vo{constructor(h,g,M,B,Y){super(g,M,B,Y),this.factory=h,this.namespaceId=g}setProperty(h,g,M){"@"==g.charAt(0)?"."==g.charAt(1)&&g==Ii?this.disableAnimations(h,M=void 0===M||!!M):this.engine.process(this.namespaceId,h,g.slice(1),M):this.delegate.setProperty(h,g,M)}listen(h,g,M){if("@"==g.charAt(0)){const B=function To(W){switch(W){case"body":return document.body;case"document":return document;case"window":return window;default:return W}}(h);let Y=g.slice(1),ge="";return"@"!=Y.charAt(0)&&([Y,ge]=function Yo(W){const h=W.indexOf(".");return[W.substring(0,h),W.slice(h+1)]}(Y)),this.engine.listen(this.namespaceId,B,Y,ge,(ye=>{this.factory.scheduleListenerCallback(ye._data||-1,M,ye)}))}return this.delegate.listen(h,g,M)}}class qn{constructor(h,g,M){this.delegate=h,this.engine=g,this._zone=M,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,g.onRemovalComplete=(B,Y)=>{Y?.removeChild(null,B)}}createRenderer(h,g){const B=this.delegate.createRenderer(h,g);if(!h||!g?.data?.animation){const Ye=this._rendererCache;let w=Ye.get(B);return w||(w=new Vo("",B,this.engine,(()=>Ye.delete(B))),Ye.set(B,w)),w}const Y=g.id,ge=g.id+"-"+this._currentId;this._currentId++,this.engine.register(ge,h);const ye=Ye=>{Array.isArray(Ye)?Ye.forEach(ye):this.engine.registerTrigger(Y,ge,h,Ye.name,Ye)};return g.data.animation.forEach(ye),new Tr(this,ge,B,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask((()=>{this._microtaskId++}))}scheduleListenerCallback(h,g,M){if(h>=0&&h<this._microtaskId)return void this._zone.run((()=>g(M)));const B=this._animationCallbacksBuffer;0==B.length&&queueMicrotask((()=>{this._zone.run((()=>{B.forEach((Y=>{const[ge,ye]=Y;ge(ye)})),this._animationCallbacksBuffer=[]}))})),B.push([g,M])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular((()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)})),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}var Bo=c(177);const So=[{provide:ft,useFactory:function Uo(){return new _n}},{provide:Vi,useClass:(()=>{class W extends Vi{constructor(g,M,B){super(g,M,B)}ngOnDestroy(){this.flush()}static#e=this.ɵfac=function(M){return new(M||W)(o.KVO(Bo.qQ),o.KVO(gn),o.KVO(ft))};static#t=this.ɵprov=o.jDH({token:W,factory:W.ɵfac})}return W})()},{provide:o._9s,useFactory:function xs(W,h,g){return new qn(W,h,g)},deps:[m.B7,Vi,o.SKi]}],Oi=[{provide:gn,useFactory:()=>new Wr},{provide:o.bc$,useValue:"BrowserAnimations"},...So],hn=[{provide:gn,useClass:On},{provide:o.bc$,useValue:"NoopAnimations"},...So];let Jo=(()=>{class W{static withConfig(g){return{ngModule:W,providers:g.disableAnimations?hn:Oi}}static#e=this.ɵfac=function(M){return new(M||W)};static#t=this.ɵmod=o.$C({type:W});static#n=this.ɵinj=o.G2t({providers:Oi,imports:[m.Bb]})}return W})()},345:(U,I,c)=>{"use strict";c.d(I,{B7:()=>Je,Bb:()=>tt,hE:()=>zn,sG:()=>Un});var o=c(177),m=c(3953);class T extends o.VF{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class P extends T{static makeCurrent(){(0,o.ZD)(new P)}onAndCancel(fe,q,de){return fe.addEventListener(q,de),()=>{fe.removeEventListener(q,de)}}dispatchEvent(fe,q){fe.dispatchEvent(q)}remove(fe){fe.remove()}createElement(fe,q){return(q=q||this.getDefaultDocument()).createElement(fe)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(fe){return fe.nodeType===Node.ELEMENT_NODE}isShadowRoot(fe){return fe instanceof DocumentFragment}getGlobalEventTarget(fe,q){return"window"===q?window:"document"===q?fe:"body"===q?fe.body:null}getBaseHref(fe){const q=function S(){return b=b||document.querySelector("base"),b?b.getAttribute("href"):null}();return null==q?null:function x(Ee){return new URL(Ee,document.baseURI).pathname}(q)}resetBaseElement(){b=null}getUserAgent(){return window.navigator.userAgent}getCookie(fe){return(0,o._b)(document.cookie,fe)}}let b=null,j=(()=>{class Ee{build(){return new XMLHttpRequest}static#e=this.ɵfac=function(de){return new(de||Ee)};static#t=this.ɵprov=m.jDH({token:Ee,factory:Ee.ɵfac})}return Ee})();const R=new m.nKC("");let G=(()=>{class Ee{constructor(q,de){this._zone=de,this._eventNameToPlugin=new Map,q.forEach((Be=>{Be.manager=this})),this._plugins=q.slice().reverse()}addEventListener(q,de,Be){return this._findPluginFor(de).addEventListener(q,de,Be)}getZone(){return this._zone}_findPluginFor(q){let de=this._eventNameToPlugin.get(q);if(de)return de;if(de=this._plugins.find((mt=>mt.supports(q))),!de)throw new m.wOt(5101,!1);return this._eventNameToPlugin.set(q,de),de}static#e=this.ɵfac=function(de){return new(de||Ee)(m.KVO(R),m.KVO(m.SKi))};static#t=this.ɵprov=m.jDH({token:Ee,factory:Ee.ɵfac})}return Ee})();class oe{constructor(fe){this._doc=fe}}const ve="ng-app-id";let he=(()=>{class Ee{constructor(q,de,Be,mt={}){this.doc=q,this.appId=de,this.nonce=Be,this.platformId=mt,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,o.Vy)(mt),this.resetHostNodes()}addStyles(q){for(const de of q)1===this.changeUsageCount(de,1)&&this.onStyleAdded(de)}removeStyles(q){for(const de of q)this.changeUsageCount(de,-1)<=0&&this.onStyleRemoved(de)}ngOnDestroy(){const q=this.styleNodesInDOM;q&&(q.forEach((de=>de.remove())),q.clear());for(const de of this.getAllStyles())this.onStyleRemoved(de);this.resetHostNodes()}addHost(q){this.hostNodes.add(q);for(const de of this.getAllStyles())this.addStyleToHost(q,de)}removeHost(q){this.hostNodes.delete(q)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(q){for(const de of this.hostNodes)this.addStyleToHost(de,q)}onStyleRemoved(q){const de=this.styleRef;de.get(q)?.elements?.forEach((Be=>Be.remove())),de.delete(q)}collectServerRenderedStyles(){const q=this.doc.head?.querySelectorAll(`style[${ve}="${this.appId}"]`);if(q?.length){const de=new Map;return q.forEach((Be=>{null!=Be.textContent&&de.set(Be.textContent,Be)})),de}return null}changeUsageCount(q,de){const Be=this.styleRef;if(Be.has(q)){const mt=Be.get(q);return mt.usage+=de,mt.usage}return Be.set(q,{usage:de,elements:[]}),de}getStyleElement(q,de){const Be=this.styleNodesInDOM,mt=Be?.get(de);if(mt?.parentNode===q)return Be.delete(de),mt.removeAttribute(ve),mt;{const Gt=this.doc.createElement("style");return this.nonce&&Gt.setAttribute("nonce",this.nonce),Gt.textContent=de,this.platformIsServer&&Gt.setAttribute(ve,this.appId),q.appendChild(Gt),Gt}}addStyleToHost(q,de){const Be=this.getStyleElement(q,de),mt=this.styleRef,Gt=mt.get(de)?.elements;Gt?Gt.push(Be):mt.set(de,{elements:[Be],usage:1})}resetHostNodes(){const q=this.hostNodes;q.clear(),q.add(this.doc.head)}static#e=this.ɵfac=function(de){return new(de||Ee)(m.KVO(o.qQ),m.KVO(m.sZ2),m.KVO(m.BIS,8),m.KVO(m.Agw))};static#t=this.ɵprov=m.jDH({token:Ee,factory:Ee.ɵfac})}return Ee})();const we={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"},be=/%COMP%/g,Le=new m.nKC("",{providedIn:"root",factory:()=>!0});function It(Ee,fe){return fe.map((q=>q.replace(be,Ee)))}let Je=(()=>{class Ee{constructor(q,de,Be,mt,Gt,tn,ln,Rt=null){this.eventManager=q,this.sharedStylesHost=de,this.appId=Be,this.removeStylesOnCompDestroy=mt,this.doc=Gt,this.platformId=tn,this.ngZone=ln,this.nonce=Rt,this.rendererByCompId=new Map,this.platformIsServer=(0,o.Vy)(tn),this.defaultRenderer=new qe(q,Gt,ln,this.platformIsServer)}createRenderer(q,de){if(!q||!de)return this.defaultRenderer;this.platformIsServer&&de.encapsulation===m.gXe.ShadowDom&&(de={...de,encapsulation:m.gXe.Emulated});const Be=this.getOrCreateRenderer(q,de);return Be instanceof ue?Be.applyToHost(q):Be instanceof H&&Be.applyStyles(),Be}getOrCreateRenderer(q,de){const Be=this.rendererByCompId;let mt=Be.get(de.id);if(!mt){const Gt=this.doc,tn=this.ngZone,ln=this.eventManager,Rt=this.sharedStylesHost,Ot=this.removeStylesOnCompDestroy,Zt=this.platformIsServer;switch(de.encapsulation){case m.gXe.Emulated:mt=new ue(ln,Rt,de,this.appId,Ot,Gt,tn,Zt);break;case m.gXe.ShadowDom:return new Z(ln,Rt,q,de,Gt,tn,this.nonce,Zt);default:mt=new H(ln,Rt,de,Ot,Gt,tn,Zt)}Be.set(de.id,mt)}return mt}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.ɵfac=function(de){return new(de||Ee)(m.KVO(G),m.KVO(he),m.KVO(m.sZ2),m.KVO(Le),m.KVO(o.qQ),m.KVO(m.Agw),m.KVO(m.SKi),m.KVO(m.BIS))};static#t=this.ɵprov=m.jDH({token:Ee,factory:Ee.ɵfac})}return Ee})();class qe{constructor(fe,q,de,Be){this.eventManager=fe,this.doc=q,this.ngZone=de,this.platformIsServer=Be,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(fe,q){return q?this.doc.createElementNS(we[q]||q,fe):this.doc.createElement(fe)}createComment(fe){return this.doc.createComment(fe)}createText(fe){return this.doc.createTextNode(fe)}appendChild(fe,q){(ie(fe)?fe.content:fe).appendChild(q)}insertBefore(fe,q,de){fe&&(ie(fe)?fe.content:fe).insertBefore(q,de)}removeChild(fe,q){q.remove()}selectRootElement(fe,q){let de="string"==typeof fe?this.doc.querySelector(fe):fe;if(!de)throw new m.wOt(-5104,!1);return q||(de.textContent=""),de}parentNode(fe){return fe.parentNode}nextSibling(fe){return fe.nextSibling}setAttribute(fe,q,de,Be){if(Be){q=Be+":"+q;const mt=we[Be];mt?fe.setAttributeNS(mt,q,de):fe.setAttribute(q,de)}else fe.setAttribute(q,de)}removeAttribute(fe,q,de){if(de){const Be=we[de];Be?fe.removeAttributeNS(Be,q):fe.removeAttribute(`${de}:${q}`)}else fe.removeAttribute(q)}addClass(fe,q){fe.classList.add(q)}removeClass(fe,q){fe.classList.remove(q)}setStyle(fe,q,de,Be){Be&(m.czy.DashCase|m.czy.Important)?fe.style.setProperty(q,de,Be&m.czy.Important?"important":""):fe.style[q]=de}removeStyle(fe,q,de){de&m.czy.DashCase?fe.style.removeProperty(q):fe.style[q]=""}setProperty(fe,q,de){null!=fe&&(fe[q]=de)}setValue(fe,q){fe.nodeValue=q}listen(fe,q,de){if("string"==typeof fe&&!(fe=(0,o.QT)().getGlobalEventTarget(this.doc,fe)))throw new Error(`Unsupported event target ${fe} for event ${q}`);return this.eventManager.addEventListener(fe,q,this.decoratePreventDefault(de))}decoratePreventDefault(fe){return q=>{if("__ngUnwrap__"===q)return fe;!1===(this.platformIsServer?this.ngZone.runGuarded((()=>fe(q))):fe(q))&&q.preventDefault()}}}function ie(Ee){return"TEMPLATE"===Ee.tagName&&void 0!==Ee.content}class Z extends qe{constructor(fe,q,de,Be,mt,Gt,tn,ln){super(fe,mt,Gt,ln),this.sharedStylesHost=q,this.hostEl=de,this.shadowRoot=de.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Rt=It(Be.id,Be.styles);for(const Ot of Rt){const Zt=document.createElement("style");tn&&Zt.setAttribute("nonce",tn),Zt.textContent=Ot,this.shadowRoot.appendChild(Zt)}}nodeOrShadowRoot(fe){return fe===this.hostEl?this.shadowRoot:fe}appendChild(fe,q){return super.appendChild(this.nodeOrShadowRoot(fe),q)}insertBefore(fe,q,de){return super.insertBefore(this.nodeOrShadowRoot(fe),q,de)}removeChild(fe,q){return super.removeChild(null,q)}parentNode(fe){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(fe)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class H extends qe{constructor(fe,q,de,Be,mt,Gt,tn,ln){super(fe,mt,Gt,tn),this.sharedStylesHost=q,this.removeStylesOnCompDestroy=Be,this.styles=ln?It(ln,de.styles):de.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class ue extends H{constructor(fe,q,de,Be,mt,Gt,tn,ln){const Rt=Be+"-"+de.id;super(fe,q,de,mt,Gt,tn,ln,Rt),this.contentAttr=function Oe(Ee){return"_ngcontent-%COMP%".replace(be,Ee)}(Rt),this.hostAttr=function nt(Ee){return"_nghost-%COMP%".replace(be,Ee)}(Rt)}applyToHost(fe){this.applyStyles(),this.setAttribute(fe,this.hostAttr,"")}createElement(fe,q){const de=super.createElement(fe,q);return super.setAttribute(de,this.contentAttr,""),de}}let xe=(()=>{class Ee extends oe{constructor(q){super(q)}supports(q){return!0}addEventListener(q,de,Be){return q.addEventListener(de,Be,!1),()=>this.removeEventListener(q,de,Be)}removeEventListener(q,de,Be){return q.removeEventListener(de,Be)}static#e=this.ɵfac=function(de){return new(de||Ee)(m.KVO(o.qQ))};static#t=this.ɵprov=m.jDH({token:Ee,factory:Ee.ɵfac})}return Ee})(),lt=(()=>{class Ee extends oe{constructor(q){super(q),this.delegate=(0,m.WQX)(m.zAP,{optional:!0})}supports(q){return!!this.delegate&&this.delegate.supports(q)}addEventListener(q,de,Be){return this.delegate.addEventListener(q,de,Be)}removeEventListener(q,de,Be){return this.delegate.removeEventListener(q,de,Be)}static#e=this.ɵfac=function(de){return new(de||Ee)(m.KVO(o.qQ))};static#t=this.ɵprov=m.jDH({token:Ee,factory:Ee.ɵfac})}return Ee})();const We=["alt","control","meta","shift"],Ve={"\b":"Backspace","\t":"Tab","":"Delete","":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Te={alt:Ee=>Ee.altKey,control:Ee=>Ee.ctrlKey,meta:Ee=>Ee.metaKey,shift:Ee=>Ee.shiftKey};let it=(()=>{class Ee extends oe{constructor(q){super(q)}supports(q){return null!=Ee.parseEventName(q)}addEventListener(q,de,Be){const mt=Ee.parseEventName(de),Gt=Ee.eventCallback(mt.fullKey,Be,this.manager.getZone());return this.manager.getZone().runOutsideAngular((()=>(0,o.QT)().onAndCancel(q,mt.domEventName,Gt)))}static parseEventName(q){const de=q.toLowerCase().split("."),Be=de.shift();if(0===de.length||"keydown"!==Be&&"keyup"!==Be)return null;const mt=Ee._normalizeKey(de.pop());let Gt="",tn=de.indexOf("code");if(tn>-1&&(de.splice(tn,1),Gt="code."),We.forEach((Rt=>{const Ot=de.indexOf(Rt);Ot>-1&&(de.splice(Ot,1),Gt+=Rt+".")})),Gt+=mt,0!=de.length||0===mt.length)return null;const ln={};return ln.domEventName=Be,ln.fullKey=Gt,ln}static matchEventFullKeyCode(q,de){let Be=Ve[q.key]||q.key,mt="";return de.indexOf("code.")>-1&&(Be=q.code,mt="code."),!(null==Be||!Be)&&(Be=Be.toLowerCase()," "===Be?Be="space":"."===Be&&(Be="dot"),We.forEach((Gt=>{Gt!==Be&&(0,Te[Gt])(q)&&(mt+=Gt+".")})),mt+=Be,mt===de)}static eventCallback(q,de,Be){return mt=>{Ee.matchEventFullKeyCode(mt,q)&&Be.runGuarded((()=>de(mt)))}}static _normalizeKey(q){return"esc"===q?"escape":q}static#e=this.ɵfac=function(de){return new(de||Ee)(m.KVO(o.qQ))};static#t=this.ɵprov=m.jDH({token:Ee,factory:Ee.ɵfac})}return Ee})();const Un=(0,m.oH4)(m.fpN,"browser",[{provide:m.Agw,useValue:o.AJ},{provide:m.PLl,useValue:function Sn(){P.makeCurrent()},multi:!0},{provide:o.qQ,useFactory:function Jn(){return(0,m.TL$)(document),document},deps:[]}]),et=new m.nKC(""),gt=[{provide:m.e01,useClass:class L{addToWindow(fe){m.JZv.getAngularTestability=(de,Be=!0)=>{const mt=fe.findTestabilityInTree(de,Be);if(null==mt)throw new m.wOt(5103,!1);return mt},m.JZv.getAllAngularTestabilities=()=>fe.getAllTestabilities(),m.JZv.getAllAngularRootElements=()=>fe.getAllRootElements(),m.JZv.frameworkStabilizers||(m.JZv.frameworkStabilizers=[]),m.JZv.frameworkStabilizers.push((de=>{const Be=m.JZv.getAllAngularTestabilities();let mt=Be.length;const Gt=function(){mt--,0==mt&&de()};Be.forEach((tn=>{tn.whenStable(Gt)}))}))}findTestabilityInTree(fe,q,de){return null==q?null:fe.getTestability(q)??(de?(0,o.QT)().isShadowRoot(q)?this.findTestabilityInTree(fe,q.host,!0):this.findTestabilityInTree(fe,q.parentElement,!0):null)}},deps:[]},{provide:m.WHO,useClass:m.NYb,deps:[m.SKi,m.giA,m.e01]},{provide:m.NYb,useClass:m.NYb,deps:[m.SKi,m.giA,m.e01]}],Ie=[{provide:m.H8p,useValue:"root"},{provide:m.zcH,useFactory:function Ln(){return new m.zcH},deps:[]},{provide:R,useClass:xe,multi:!0,deps:[o.qQ,m.SKi,m.Agw]},{provide:R,useClass:it,multi:!0,deps:[o.qQ]},{provide:R,useClass:lt,multi:!0},Je,he,G,{provide:m._9s,useExisting:Je},{provide:o.N0,useClass:j,deps:[]},[]];let tt=(()=>{class Ee{constructor(q){}static withServerTransition(q){return{ngModule:Ee,providers:[{provide:m.sZ2,useValue:q.appId}]}}static#e=this.ɵfac=function(de){return new(de||Ee)(m.KVO(et,12))};static#t=this.ɵmod=m.$C({type:Ee});static#n=this.ɵinj=m.G2t({providers:[...Ie,...gt],imports:[o.MD,m.Hbi]})}return Ee})(),zn=(()=>{class Ee{constructor(q){this._doc=q}getTitle(){return this._doc.title}setTitle(q){this._doc.title=q||""}static#e=this.ɵfac=function(de){return new(de||Ee)(m.KVO(o.qQ))};static#t=this.ɵprov=m.jDH({token:Ee,factory:Ee.ɵfac,providedIn:"root"})}return Ee})()},4104:(U,I,c)=>{"use strict";c.d(I,{Wk:()=>Ho,iI:()=>Vd,n3:()=>Bi});var o=c(3953),m=c(1985),T=c(8071),b=c(6648),S=c(7673),x=c(4412),L=c(3073),j=c(3669),R=c(6450),G=c(9326),oe=c(8496),ve=c(4360),he=c(5225);function we(...u){const _=(0,G.lI)(u),d=(0,G.ms)(u),{args:v,keys:O}=(0,L.D)(u);if(0===v.length)return(0,b.H)([],_);const V=new m.c(function be(u,_,d=j.D){return v=>{He(_,(()=>{const{length:O}=u,V=new Array(O);let J=O,Ne=O;for(let Ce=0;Ce<O;Ce++)He(_,(()=>{const pt=(0,b.H)(u[Ce],_);let fn=!1;pt.subscribe((0,ve._)(v,(Tn=>{V[Ce]=Tn,fn||(fn=!0,Ne--),Ne||v.next(d(V.slice()))}),(()=>{--J||v.complete()})))}),v)}),v)}}(v,_,O?J=>(0,oe.e)(O,J):j.D));return d?V.pipe((0,R.I)(d)):V}function He(u,_,d){u?(0,he.N)(d,u,_):_()}var Fe=c(9350),ct=c(8793),Qe=c(8750);function Le(u){return new m.c((_=>{(0,Qe.Tg)(u()).subscribe(_)}))}var Oe=c(1203);function nt(u,_){const d=(0,T.T)(u)?u:()=>u,v=O=>O.error(d());return new m.c(_?O=>_.schedule(v,0,O):v)}var It=c(983),Je=c(8359),qe=c(9974);function wt(){return(0,qe.N)(((u,_)=>{let d=null;u._refCount++;const v=(0,ve._)(_,void 0,void 0,void 0,(()=>{if(!u||u._refCount<=0||0<--u._refCount)return void(d=null);const O=u._connection,V=d;d=null,O&&(!V||O===V)&&O.unsubscribe(),_.unsubscribe()}));u.subscribe(v),v.closed||(d=u.connect())}))}class me extends m.c{constructor(_,d){super(),this.source=_,this.subjectFactory=d,this._subject=null,this._refCount=0,this._connection=null,(0,qe.S)(_)&&(this.lift=_.lift)}_subscribe(_){return this.getSubject().subscribe(_)}getSubject(){const _=this._subject;return(!_||_.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:_}=this;this._subject=this._connection=null,_?.unsubscribe()}connect(){let _=this._connection;if(!_){_=this._connection=new Je.yU;const d=this.getSubject();_.add(this.source.subscribe((0,ve._)(d,void 0,(()=>{this._teardown(),d.complete()}),(v=>{this._teardown(),d.error(v)}),(()=>this._teardown())))),_.closed&&(this._connection=null,_=Je.yU.EMPTY)}return _}refCount(){return wt()(this)}}var ie=c(1413),Z=c(177),H=c(6354),ue=c(5558),xe=c(6697),lt=c(9172),We=c(5964),Ve=c(1397),Te=c(1594),it=c(274);function Ft(u,_,d){const v=(0,T.T)(u)||_||d?{next:u,error:_,complete:d}:u;return v?(0,qe.N)(((O,V)=>{var J;null===(J=v.subscribe)||void 0===J||J.call(v);let Ne=!0;O.subscribe((0,ve._)(V,(Ce=>{var pt;null===(pt=v.next)||void 0===pt||pt.call(v,Ce),V.next(Ce)}),(()=>{var Ce;Ne=!1,null===(Ce=v.complete)||void 0===Ce||Ce.call(v),V.complete()}),(Ce=>{var pt;Ne=!1,null===(pt=v.error)||void 0===pt||pt.call(v,Ce),V.error(Ce)}),(()=>{var Ce,pt;Ne&&(null===(Ce=v.unsubscribe)||void 0===Ce||Ce.call(v)),null===(pt=v.finalize)||void 0===pt||pt.call(v)})))})):j.D}function Bt(u){return(0,qe.N)(((_,d)=>{let V,v=null,O=!1;v=_.subscribe((0,ve._)(d,void 0,void 0,(J=>{V=(0,Qe.Tg)(u(J,Bt(u)(_))),v?(v.unsubscribe(),v=null,V.subscribe(d)):O=!0}))),O&&(v.unsubscribe(),v=null,V.subscribe(d))}))}var Sn=c(9901);function Ln(u){return u<=0?()=>It.w:(0,qe.N)(((_,d)=>{let v=[];_.subscribe((0,ve._)(d,(O=>{v.push(O),u<v.length&&v.shift()}),(()=>{for(const O of v)d.next(O);d.complete()}),void 0,(()=>{v=null})))}))}var Jn=c(3774),et=c(980),gt=c(6977),Ie=c(6365),tt=c(345);const Ze="primary",yn=Symbol("RouteTitle");class zn{constructor(_){this.params=_||{}}has(_){return Object.prototype.hasOwnProperty.call(this.params,_)}get(_){if(this.has(_)){const d=this.params[_];return Array.isArray(d)?d[0]:d}return null}getAll(_){if(this.has(_)){const d=this.params[_];return Array.isArray(d)?d:[d]}return[]}get keys(){return Object.keys(this.params)}}function _r(u){return new zn(u)}function Gn(u,_,d){const v=d.path.split("/");if(v.length>u.length||"full"===d.pathMatch&&(_.hasChildren()||v.length<u.length))return null;const O={};for(let V=0;V<v.length;V++){const J=v[V],Ne=u[V];if(":"===J[0])O[J.substring(1)]=Ne;else if(J!==Ne.path)return null}return{consumed:u.slice(0,v.length),posParams:O}}function rr(u,_){const d=u?Sr(u):void 0,v=_?Sr(_):void 0;if(!d||!v||d.length!=v.length)return!1;let O;for(let V=0;V<d.length;V++)if(O=d[V],!On(u[O],_[O]))return!1;return!0}function Sr(u){return[...Object.keys(u),...Object.getOwnPropertySymbols(u)]}function On(u,_){if(Array.isArray(u)&&Array.isArray(_)){if(u.length!==_.length)return!1;const d=[...u].sort(),v=[..._].sort();return d.every(((O,V)=>v[V]===O))}return u===_}function gn(u){return u.length>0?u[u.length-1]:null}function ft(u){return function P(u){return!!u&&(u instanceof m.c||(0,T.T)(u.lift)&&(0,T.T)(u.subscribe))}(u)?u:(0,o.jNT)(u)?(0,b.H)(Promise.resolve(u)):(0,S.of)(u)}const Q={exact:function _t(u,_,d){if(!ut(u.segments,_.segments)||!re(u.segments,_.segments,d)||u.numberOfChildren!==_.numberOfChildren)return!1;for(const v in _.children)if(!u.children[v]||!_t(u.children[v],_.children[v],d))return!1;return!0},subset:vt},De={exact:function Xe(u,_){return rr(u,_)},subset:function Pt(u,_){return Object.keys(_).length<=Object.keys(u).length&&Object.keys(_).every((d=>On(u[d],_[d])))},ignored:()=>!0};function ke(u,_,d){return Q[d.paths](u.root,_.root,d.matrixParams)&&De[d.queryParams](u.queryParams,_.queryParams)&&!("exact"===d.fragment&&u.fragment!==_.fragment)}function vt(u,_,d){return jt(u,_,_.segments,d)}function jt(u,_,d,v){if(u.segments.length>d.length){const O=u.segments.slice(0,d.length);return!(!ut(O,d)||_.hasChildren()||!re(O,d,v))}if(u.segments.length===d.length){if(!ut(u.segments,d)||!re(u.segments,d,v))return!1;for(const O in _.children)if(!u.children[O]||!vt(u.children[O],_.children[O],v))return!1;return!0}{const O=d.slice(0,u.segments.length),V=d.slice(u.segments.length);return!!(ut(u.segments,O)&&re(u.segments,O,v)&&u.children[Ze])&&jt(u.children[Ze],_,V,v)}}function re(u,_,d){return _.every(((v,O)=>De[d](u[O].parameters,v.parameters)))}class ae{constructor(_=new Se([],{}),d={},v=null){this.root=_,this.queryParams=d,this.fragment=v}get queryParamMap(){return this._queryParamMap??=_r(this.queryParams),this._queryParamMap}toString(){return Ee.serialize(this)}}class Se{constructor(_,d){this.segments=_,this.children=d,this.parent=null,Object.values(d).forEach((v=>v.parent=this))}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return fe(this)}}class _e{constructor(_,d){this.path=_,this.parameters=d}get parameterMap(){return this._parameterMap??=_r(this.parameters),this._parameterMap}toString(){return Rt(this)}}function ut(u,_){return u.length===_.length&&u.every(((d,v)=>d.path===_[v].path))}let Nt=(()=>{class u{static#e=this.ɵfac=function(v){return new(v||u)};static#t=this.ɵprov=o.jDH({token:u,factory:()=>new At,providedIn:"root"})}return u})();class At{parse(_){const d=new un(_);return new ae(d.parseRootSegment(),d.parseQueryParams(),d.parseFragment())}serialize(_){const d=`/${q(_.root,!0)}`,v=function Zt(u){const _=Object.entries(u).map((([d,v])=>Array.isArray(v)?v.map((O=>`${Be(d)}=${Be(O)}`)).join("&"):`${Be(d)}=${Be(v)}`)).filter((d=>d));return _.length?`?${_.join("&")}`:""}(_.queryParams);return`${d}${v}${"string"==typeof _.fragment?`#${function mt(u){return encodeURI(u)}(_.fragment)}`:""}`}}const Ee=new At;function fe(u){return u.segments.map((_=>Rt(_))).join("/")}function q(u,_){if(!u.hasChildren())return fe(u);if(_){const d=u.children[Ze]?q(u.children[Ze],!1):"",v=[];return Object.entries(u.children).forEach((([O,V])=>{O!==Ze&&v.push(`${O}:${q(V,!1)}`)})),v.length>0?`${d}(${v.join("//")})`:d}{const d=function Lt(u,_){let d=[];return Object.entries(u.children).forEach((([v,O])=>{v===Ze&&(d=d.concat(_(O,v)))})),Object.entries(u.children).forEach((([v,O])=>{v!==Ze&&(d=d.concat(_(O,v)))})),d}(u,((v,O)=>O===Ze?[q(u.children[Ze],!1)]:[`${O}:${q(v,!1)}`]));return 1===Object.keys(u.children).length&&null!=u.children[Ze]?`${fe(u)}/${d[0]}`:`${fe(u)}/(${d.join("//")})`}}function de(u){return encodeURIComponent(u).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Be(u){return de(u).replace(/%3B/gi,";")}function Gt(u){return de(u).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function tn(u){return decodeURIComponent(u)}function ln(u){return tn(u.replace(/\+/g,"%20"))}function Rt(u){return`${Gt(u.path)}${function Ot(u){return Object.entries(u).map((([_,d])=>`;${Gt(_)}=${Gt(d)}`)).join("")}(u.parameters)}`}const xn=/^[^\/()?;#]+/;function Qn(u){const _=u.match(xn);return _?_[0]:""}const _n=/^[^\/()?;=#]+/,Wn=/^[^=?&#]+/,cn=/^[^&#]+/;class un{constructor(_){this.url=_,this.remaining=_}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Se([],{}):new Se([],this.parseChildren())}parseQueryParams(){const _={};if(this.consumeOptional("?"))do{this.parseQueryParam(_)}while(this.consumeOptional("&"));return _}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const _=[];for(this.peekStartsWith("(")||_.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),_.push(this.parseSegment());let d={};this.peekStartsWith("/(")&&(this.capture("/"),d=this.parseParens(!0));let v={};return this.peekStartsWith("(")&&(v=this.parseParens(!1)),(_.length>0||Object.keys(d).length>0)&&(v[Ze]=new Se(_,d)),v}parseSegment(){const _=Qn(this.remaining);if(""===_&&this.peekStartsWith(";"))throw new o.wOt(4009,!1);return this.capture(_),new _e(tn(_),this.parseMatrixParams())}parseMatrixParams(){const _={};for(;this.consumeOptional(";");)this.parseParam(_);return _}parseParam(_){const d=function Qt(u){const _=u.match(_n);return _?_[0]:""}(this.remaining);if(!d)return;this.capture(d);let v="";if(this.consumeOptional("=")){const O=Qn(this.remaining);O&&(v=O,this.capture(v))}_[tn(d)]=tn(v)}parseQueryParam(_){const d=function vn(u){const _=u.match(Wn);return _?_[0]:""}(this.remaining);if(!d)return;this.capture(d);let v="";if(this.consumeOptional("=")){const J=function qt(u){const _=u.match(cn);return _?_[0]:""}(this.remaining);J&&(v=J,this.capture(v))}const O=ln(d),V=ln(v);if(_.hasOwnProperty(O)){let J=_[O];Array.isArray(J)||(J=[J],_[O]=J),J.push(V)}else _[O]=V}parseParens(_){const d={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const v=Qn(this.remaining),O=this.remaining[v.length];if("/"!==O&&")"!==O&&";"!==O)throw new o.wOt(4010,!1);let V;v.indexOf(":")>-1?(V=v.slice(0,v.indexOf(":")),this.capture(V),this.capture(":")):_&&(V=Ze);const J=this.parseChildren();d[V]=1===Object.keys(J).length?J[Ze]:new Se([],J),this.consumeOptional("//")}return d}peekStartsWith(_){return this.remaining.startsWith(_)}consumeOptional(_){return!!this.peekStartsWith(_)&&(this.remaining=this.remaining.substring(_.length),!0)}capture(_){if(!this.consumeOptional(_))throw new o.wOt(4011,!1)}}function er(u){return u.segments.length>0?new Se([],{[Ze]:u}):u}function Zn(u){const _={};for(const[v,O]of Object.entries(u.children)){const V=Zn(O);if(v===Ze&&0===V.segments.length&&V.hasChildren())for(const[J,Ne]of Object.entries(V.children))_[J]=Ne;else(V.segments.length>0||V.hasChildren())&&(_[v]=V)}return function bn(u){if(1===u.numberOfChildren&&u.children[Ze]){const _=u.children[Ze];return new Se(u.segments.concat(_.segments),_.children)}return u}(new Se(u.segments,_))}function Vt(u){return u instanceof ae}function Re(u){let _;const O=er(function d(V){const J={};for(const Ce of V.children){const pt=d(Ce);J[Ce.outlet]=pt}const Ne=new Se(V.url,J);return V===u&&(_=Ne),Ne}(u.root));return _??O}function zt(u,_,d,v){let O=u;for(;O.parent;)O=O.parent;if(0===_.length)return Dn(O,O,O,d,v);const V=function Ir(u){if("string"==typeof u[0]&&1===u.length&&"/"===u[0])return new fr(!0,0,u);let _=0,d=!1;const v=u.reduce(((O,V,J)=>{if("object"==typeof V&&null!=V){if(V.outlets){const Ne={};return Object.entries(V.outlets).forEach((([Ce,pt])=>{Ne[Ce]="string"==typeof pt?pt.split("/"):pt})),[...O,{outlets:Ne}]}if(V.segmentPath)return[...O,V.segmentPath]}return"string"!=typeof V?[...O,V]:0===J?(V.split("/").forEach(((Ne,Ce)=>{0==Ce&&"."===Ne||(0==Ce&&""===Ne?d=!0:".."===Ne?_++:""!=Ne&&O.push(Ne))})),O):[...O,V]}),[]);return new fr(d,_,v)}(_);if(V.toRoot())return Dn(O,O,new Se([],{}),d,v);const J=function Mt(u,_,d){if(u.isAbsolute)return new sr(_,!0,0);if(!d)return new sr(_,!1,NaN);if(null===d.parent)return new sr(d,!0,0);const v=Yt(u.commands[0])?0:1;return function bt(u,_,d){let v=u,O=_,V=d;for(;V>O;){if(V-=O,v=v.parent,!v)throw new o.wOt(4005,!1);O=v.segments.length}return new sr(v,!1,O-V)}(d,d.segments.length-1+v,u.numberOfDoubleDots)}(V,O,u),Ne=J.processChildren?Wt(J.segmentGroup,J.index,V.commands):yt(J.segmentGroup,J.index,V.commands);return Dn(O,J.segmentGroup,Ne,d,v)}function Yt(u){return"object"==typeof u&&null!=u&&!u.outlets&&!u.segmentPath}function Fn(u){return"object"==typeof u&&null!=u&&u.outlets}function Dn(u,_,d,v,O){let J,V={};v&&Object.entries(v).forEach((([Ce,pt])=>{V[Ce]=Array.isArray(pt)?pt.map((fn=>`${fn}`)):`${pt}`})),J=u===_?d:wr(u,_,d);const Ne=er(Zn(J));return new ae(Ne,V,O)}function wr(u,_,d){const v={};return Object.entries(u.children).forEach((([O,V])=>{v[O]=V===_?d:wr(V,_,d)})),new Se(u.segments,v)}class fr{constructor(_,d,v){if(this.isAbsolute=_,this.numberOfDoubleDots=d,this.commands=v,_&&v.length>0&&Yt(v[0]))throw new o.wOt(4003,!1);const O=v.find(Fn);if(O&&O!==gn(v))throw new o.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class sr{constructor(_,d,v){this.segmentGroup=_,this.processChildren=d,this.index=v}}function yt(u,_,d){if(u??=new Se([],{}),0===u.segments.length&&u.hasChildren())return Wt(u,_,d);const v=function rn(u,_,d){let v=0,O=_;const V={match:!1,pathIndex:0,commandIndex:0};for(;O<u.segments.length;){if(v>=d.length)return V;const J=u.segments[O],Ne=d[v];if(Fn(Ne))break;const Ce=`${Ne}`,pt=v<d.length-1?d[v+1]:null;if(O>0&&void 0===Ce)break;if(Ce&&pt&&"object"==typeof pt&&void 0===pt.outlets){if(!Ge(Ce,pt,J))return V;v+=2}else{if(!Ge(Ce,{},J))return V;v++}O++}return{match:!0,pathIndex:O,commandIndex:v}}(u,_,d),O=d.slice(v.commandIndex);if(v.match&&v.pathIndex<u.segments.length){const V=new Se(u.segments.slice(0,v.pathIndex),{});return V.children[Ze]=new Se(u.segments.slice(v.pathIndex),u.children),Wt(V,0,O)}return v.match&&0===O.length?new Se(u.segments,{}):v.match&&!u.hasChildren()?Kt(u,_,d):v.match?Wt(u,0,O):Kt(u,_,d)}function Wt(u,_,d){if(0===d.length)return new Se(u.segments,{});{const v=function $e(u){return Fn(u[0])?u[0].outlets:{[Ze]:u}}(d),O={};if(Object.keys(v).some((V=>V!==Ze))&&u.children[Ze]&&1===u.numberOfChildren&&0===u.children[Ze].segments.length){const V=Wt(u.children[Ze],_,d);return new Se(u.segments,V.children)}return Object.entries(v).forEach((([V,J])=>{"string"==typeof J&&(J=[J]),null!==J&&(O[V]=yt(u.children[V],_,J))})),Object.entries(u.children).forEach((([V,J])=>{void 0===v[V]&&(O[V]=J)})),new Se(u.segments,O)}}function Kt(u,_,d){const v=u.segments.slice(0,_);let O=0;for(;O<d.length;){const V=d[O];if(Fn(V)){const Ce=on(V.outlets);return new Se(v,Ce)}if(0===O&&Yt(d[0])){v.push(new _e(u.segments[_].path,K(d[0]))),O++;continue}const J=Fn(V)?V.outlets[Ze]:`${V}`,Ne=O<d.length-1?d[O+1]:null;J&&Ne&&Yt(Ne)?(v.push(new _e(J,K(Ne))),O+=2):(v.push(new _e(J,{})),O++)}return new Se(v,{})}function on(u){const _={};return Object.entries(u).forEach((([d,v])=>{"string"==typeof v&&(v=[v]),null!==v&&(_[d]=Kt(new Se([],{}),0,v))})),_}function K(u){const _={};return Object.entries(u).forEach((([d,v])=>_[d]=`${v}`)),_}function Ge(u,_,d){return u==d.path&&rr(_,d.parameters)}const $="imperative";var ce=function(u){return u[u.NavigationStart=0]="NavigationStart",u[u.NavigationEnd=1]="NavigationEnd",u[u.NavigationCancel=2]="NavigationCancel",u[u.NavigationError=3]="NavigationError",u[u.RoutesRecognized=4]="RoutesRecognized",u[u.ResolveStart=5]="ResolveStart",u[u.ResolveEnd=6]="ResolveEnd",u[u.GuardsCheckStart=7]="GuardsCheckStart",u[u.GuardsCheckEnd=8]="GuardsCheckEnd",u[u.RouteConfigLoadStart=9]="RouteConfigLoadStart",u[u.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",u[u.ChildActivationStart=11]="ChildActivationStart",u[u.ChildActivationEnd=12]="ChildActivationEnd",u[u.ActivationStart=13]="ActivationStart",u[u.ActivationEnd=14]="ActivationEnd",u[u.Scroll=15]="Scroll",u[u.NavigationSkipped=16]="NavigationSkipped",u}(ce||{});class ot{constructor(_,d){this.id=_,this.url=d}}class dn extends ot{constructor(_,d,v="imperative",O=null){super(_,d),this.type=ce.NavigationStart,this.navigationTrigger=v,this.restoredState=O}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class nn extends ot{constructor(_,d,v){super(_,d),this.urlAfterRedirects=v,this.type=ce.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var tr=function(u){return u[u.Redirect=0]="Redirect",u[u.SupersededByNewNavigation=1]="SupersededByNewNavigation",u[u.NoDataFromResolver=2]="NoDataFromResolver",u[u.GuardRejected=3]="GuardRejected",u}(tr||{}),Qr=function(u){return u[u.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",u[u.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",u}(Qr||{});class Zr extends ot{constructor(_,d,v,O){super(_,d),this.reason=v,this.code=O,this.type=ce.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Lr extends ot{constructor(_,d,v,O){super(_,d),this.reason=v,this.code=O,this.type=ce.NavigationSkipped}}class br extends ot{constructor(_,d,v,O){super(_,d),this.error=v,this.target=O,this.type=ce.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class ii extends ot{constructor(_,d,v,O){super(_,d),this.urlAfterRedirects=v,this.state=O,this.type=ce.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ai extends ot{constructor(_,d,v,O){super(_,d),this.urlAfterRedirects=v,this.state=O,this.type=ce.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class qr extends ot{constructor(_,d,v,O,V){super(_,d),this.urlAfterRedirects=v,this.state=O,this.shouldActivate=V,this.type=ce.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class bo extends ot{constructor(_,d,v,O){super(_,d),this.urlAfterRedirects=v,this.state=O,this.type=ce.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class to extends ot{constructor(_,d,v,O){super(_,d),this.urlAfterRedirects=v,this.state=O,this.type=ce.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ci{constructor(_){this.route=_,this.type=ce.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Vr{constructor(_){this.route=_,this.type=ce.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class z{constructor(_){this.snapshot=_,this.type=ce.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ne{constructor(_){this.snapshot=_,this.type=ce.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ee{constructor(_){this.snapshot=_,this.type=ce.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Me{constructor(_){this.snapshot=_,this.type=ce.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ke{constructor(_,d,v){this.routerEvent=_,this.position=d,this.anchor=v,this.type=ce.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Ct{}class Dt{constructor(_,d){this.url=_,this.navigationBehaviorOptions=d}}function $n(u){return u.outlet||Ze}function Xn(u){if(!u)return null;if(u.routeConfig?._injector)return u.routeConfig._injector;for(let _=u.parent;_;_=_.parent){const d=_.routeConfig;if(d?._loadedInjector)return d._loadedInjector;if(d?._injector)return d._injector}return null}class wi{get injector(){return Xn(this.route?.snapshot)??this.rootInjector}set injector(_){}constructor(_){this.rootInjector=_,this.outlet=null,this.route=null,this.children=new Gr(this.rootInjector),this.attachRef=null}}let Gr=(()=>{class u{constructor(d){this.rootInjector=d,this.contexts=new Map}onChildOutletCreated(d,v){const O=this.getOrCreateContext(d);O.outlet=v,this.contexts.set(d,O)}onChildOutletDestroyed(d){const v=this.getContext(d);v&&(v.outlet=null,v.attachRef=null)}onOutletDeactivated(){const d=this.contexts;return this.contexts=new Map,d}onOutletReAttached(d){this.contexts=d}getOrCreateContext(d){let v=this.getContext(d);return v||(v=new wi(this.rootInjector),this.contexts.set(d,v)),v}getContext(d){return this.contexts.get(d)||null}static#e=this.ɵfac=function(v){return new(v||u)(o.KVO(o.uvJ))};static#t=this.ɵprov=o.jDH({token:u,factory:u.ɵfac,providedIn:"root"})}return u})();class bi{constructor(_){this._root=_}get root(){return this._root.value}parent(_){const d=this.pathFromRoot(_);return d.length>1?d[d.length-2]:null}children(_){const d=li(_,this._root);return d?d.children.map((v=>v.value)):[]}firstChild(_){const d=li(_,this._root);return d&&d.children.length>0?d.children[0].value:null}siblings(_){const d=ki(_,this._root);return d.length<2?[]:d[d.length-2].children.map((O=>O.value)).filter((O=>O!==_))}pathFromRoot(_){return ki(_,this._root).map((d=>d.value))}}function li(u,_){if(u===_.value)return _;for(const d of _.children){const v=li(u,d);if(v)return v}return null}function ki(u,_){if(u===_.value)return[_];for(const d of _.children){const v=ki(u,d);if(v.length)return v.unshift(_),v}return[]}class ci{constructor(_,d){this.value=_,this.children=d}toString(){return`TreeNode(${this.value})`}}function Gi(u){const _={};return u&&u.children.forEach((d=>_[d.value.outlet]=d)),_}class qo extends bi{constructor(_,d){super(_),this.snapshot=d,Fi(this,_)}toString(){return this.snapshot.toString()}}function Do(u){const _=function ui(u){const V=new Wi([],{},{},"",{},Ze,u,null,{});return new xt("",new ci(V,[]))}(u),d=new x.t([new _e("",{})]),v=new x.t({}),O=new x.t({}),V=new x.t({}),J=new x.t(""),Ne=new di(d,v,V,J,O,Ze,u,_.root);return Ne.snapshot=_.root,new qo(new ci(Ne,[]),_)}class di{constructor(_,d,v,O,V,J,Ne,Ce){this.urlSubject=_,this.paramsSubject=d,this.queryParamsSubject=v,this.fragmentSubject=O,this.dataSubject=V,this.outlet=J,this.component=Ne,this._futureSnapshot=Ce,this.title=this.dataSubject?.pipe((0,H.T)((pt=>pt[yn])))??(0,S.of)(void 0),this.url=_,this.params=d,this.queryParams=v,this.fragment=O,this.data=V}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,H.T)((_=>_r(_)))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,H.T)((_=>_r(_)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function no(u,_,d="emptyOnly"){let v;const{routeConfig:O}=u;return v=null===_||"always"!==d&&""!==O?.path&&(_.component||_.routeConfig?.loadComponent)?{params:{...u.params},data:{...u.data},resolve:{...u.data,...u._resolvedData??{}}}:{params:{..._.params,...u.params},data:{..._.data,...u.data},resolve:{...u.data,..._.data,...O?.data,...u._resolvedData}},O&&hi(O)&&(v.resolve[yn]=O.title),v}class Wi{get title(){return this.data?.[yn]}constructor(_,d,v,O,V,J,Ne,Ce,pt){this.url=_,this.params=d,this.queryParams=v,this.fragment=O,this.data=V,this.outlet=J,this.component=Ne,this.routeConfig=Ce,this._resolve=pt}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??=_r(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=_r(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map((v=>v.toString())).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class xt extends bi{constructor(_,d){super(d),this.url=_,Fi(this,d)}toString(){return Li(this._root)}}function Fi(u,_){_.value._routerState=u,_.children.forEach((d=>Fi(u,d)))}function Li(u){const _=u.children.length>0?` { ${u.children.map(Li).join(", ")} } `:"";return`${u.value}${_}`}function Vi(u){if(u.snapshot){const _=u.snapshot,d=u._futureSnapshot;u.snapshot=d,rr(_.queryParams,d.queryParams)||u.queryParamsSubject.next(d.queryParams),_.fragment!==d.fragment&&u.fragmentSubject.next(d.fragment),rr(_.params,d.params)||u.paramsSubject.next(d.params),function Mr(u,_){if(u.length!==_.length)return!1;for(let d=0;d<u.length;++d)if(!rr(u[d],_[d]))return!1;return!0}(_.url,d.url)||u.urlSubject.next(d.url),rr(_.data,d.data)||u.dataSubject.next(d.data)}else u.snapshot=u._futureSnapshot,u.dataSubject.next(u._futureSnapshot.data)}function vs(u,_){const d=rr(u.params,_.params)&&function ze(u,_){return ut(u,_)&&u.every(((d,v)=>rr(d.parameters,_[v].parameters)))}(u.url,_.url);return d&&!(!u.parent!=!_.parent)&&(!u.parent||vs(u.parent,_.parent))}function hi(u){return"string"==typeof u.title||null===u.title}let Bi=(()=>{class u{constructor(){this.activated=null,this._activatedRoute=null,this.name=Ze,this.activateEvents=new o.bkB,this.deactivateEvents=new o.bkB,this.attachEvents=new o.bkB,this.detachEvents=new o.bkB,this.parentContexts=(0,o.WQX)(Gr),this.location=(0,o.WQX)(o.c1b),this.changeDetector=(0,o.WQX)(o.gRc),this.inputBinder=(0,o.WQX)(pi,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(d){if(d.name){const{firstChange:v,previousValue:O}=d.name;if(v)return;this.isTrackedInParentContexts(O)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(O)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(d){return this.parentContexts.getContext(d)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const d=this.parentContexts.getContext(this.name);d?.route&&(d.attachRef?this.attach(d.attachRef,d.route):this.activateWith(d.route,d.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new o.wOt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new o.wOt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new o.wOt(4012,!1);this.location.detach();const d=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(d.instance),d}attach(d,v){this.activated=d,this._activatedRoute=v,this.location.insert(d.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(d.instance)}deactivate(){if(this.activated){const d=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(d)}}activateWith(d,v){if(this.isActivated)throw new o.wOt(4013,!1);this._activatedRoute=d;const O=this.location,J=d.snapshot.component,Ne=this.parentContexts.getOrCreateContext(this.name).children,Ce=new fi(d,Ne,O.injector);this.activated=O.createComponent(J,{index:O.length,injector:Ce,environmentInjector:v}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.ɵfac=function(v){return new(v||u)};static#t=this.ɵdir=o.FsC({type:u,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[o.OA$]})}return u})();class fi{__ngOutletInjector(_){return new fi(this.route,this.childContexts,_)}constructor(_,d,v){this.route=_,this.childContexts=d,this.parent=v}get(_,d){return _===di?this.route:_===Gr?this.childContexts:this.parent.get(_,d)}}const pi=new o.nKC("");let Wr=(()=>{class u{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(d){this.unsubscribeFromRouteData(d),this.subscribeToRouteData(d)}unsubscribeFromRouteData(d){this.outletDataSubscriptions.get(d)?.unsubscribe(),this.outletDataSubscriptions.delete(d)}subscribeToRouteData(d){const{activatedRoute:v}=d,O=we([v.queryParams,v.params,v.data]).pipe((0,ue.n)((([V,J,Ne],Ce)=>(Ne={...V,...J,...Ne},0===Ce?(0,S.of)(Ne):Promise.resolve(Ne))))).subscribe((V=>{if(!d.isActivated||!d.activatedComponentRef||d.activatedRoute!==v||null===v.component)return void this.unsubscribeFromRouteData(d);const J=(0,o.HJs)(v.component);if(J)for(const{templateName:Ne}of J.inputs)d.activatedComponentRef.setInput(Ne,V[Ne]);else this.unsubscribeFromRouteData(d)}));this.outletDataSubscriptions.set(d,O)}static#e=this.ɵfac=function(v){return new(v||u)};static#t=this.ɵprov=o.jDH({token:u,factory:u.ɵfac})}return u})();function ro(u,_,d){if(d&&u.shouldReuseRoute(_.value,d.value.snapshot)){const v=d.value;v._futureSnapshot=_.value;const O=function io(u,_,d){return _.children.map((v=>{for(const O of d.children)if(u.shouldReuseRoute(v.value,O.value.snapshot))return ro(u,v,O);return ro(u,v)}))}(u,_,d);return new ci(v,O)}{if(u.shouldAttach(_.value)){const V=u.retrieve(_.value);if(null!==V){const J=V.route;return J.value._futureSnapshot=_.value,J.children=_.children.map((Ne=>ro(u,Ne))),J}}const v=function Ii(u){return new di(new x.t(u.url),new x.t(u.params),new x.t(u.queryParams),new x.t(u.fragment),new x.t(u.data),u.outlet,u.component,u)}(_.value),O=_.children.map((V=>ro(u,V)));return new ci(v,O)}}class Vo{constructor(_,d){this.redirectTo=_,this.navigationBehaviorOptions=d}}const Tr="ngNavigationCancelingError";function To(u,_){const{redirectTo:d,navigationBehaviorOptions:v}=Vt(_)?{redirectTo:_,navigationBehaviorOptions:void 0}:_,O=Yo(!1,tr.Redirect);return O.url=d,O.navigationBehaviorOptions=v,O}function Yo(u,_){const d=new Error(`NavigationCancelingError: ${u||""}`);return d[Tr]=!0,d.cancellationCode=_,d}function Bo(u){return!!u&&u[Tr]}class xs{constructor(_,d,v,O,V){this.routeReuseStrategy=_,this.futureState=d,this.currState=v,this.forwardEvent=O,this.inputBindingEnabled=V}activate(_){const d=this.futureState._root,v=this.currState?this.currState._root:null;this.deactivateChildRoutes(d,v,_),Vi(this.futureState.root),this.activateChildRoutes(d,v,_)}deactivateChildRoutes(_,d,v){const O=Gi(d);_.children.forEach((V=>{const J=V.value.outlet;this.deactivateRoutes(V,O[J],v),delete O[J]})),Object.values(O).forEach((V=>{this.deactivateRouteAndItsChildren(V,v)}))}deactivateRoutes(_,d,v){const O=_.value,V=d?d.value:null;if(O===V)if(O.component){const J=v.getContext(O.outlet);J&&this.deactivateChildRoutes(_,d,J.children)}else this.deactivateChildRoutes(_,d,v);else V&&this.deactivateRouteAndItsChildren(d,v)}deactivateRouteAndItsChildren(_,d){_.value.component&&this.routeReuseStrategy.shouldDetach(_.value.snapshot)?this.detachAndStoreRouteSubtree(_,d):this.deactivateRouteAndOutlet(_,d)}detachAndStoreRouteSubtree(_,d){const v=d.getContext(_.value.outlet),O=v&&_.value.component?v.children:d,V=Gi(_);for(const J of Object.values(V))this.deactivateRouteAndItsChildren(J,O);if(v&&v.outlet){const J=v.outlet.detach(),Ne=v.children.onOutletDeactivated();this.routeReuseStrategy.store(_.value.snapshot,{componentRef:J,route:_,contexts:Ne})}}deactivateRouteAndOutlet(_,d){const v=d.getContext(_.value.outlet),O=v&&_.value.component?v.children:d,V=Gi(_);for(const J of Object.values(V))this.deactivateRouteAndItsChildren(J,O);v&&(v.outlet&&(v.outlet.deactivate(),v.children.onOutletDeactivated()),v.attachRef=null,v.route=null)}activateChildRoutes(_,d,v){const O=Gi(d);_.children.forEach((V=>{this.activateRoutes(V,O[V.value.outlet],v),this.forwardEvent(new Me(V.value.snapshot))})),_.children.length&&this.forwardEvent(new ne(_.value.snapshot))}activateRoutes(_,d,v){const O=_.value,V=d?d.value:null;if(Vi(O),O===V)if(O.component){const J=v.getOrCreateContext(O.outlet);this.activateChildRoutes(_,d,J.children)}else this.activateChildRoutes(_,d,v);else if(O.component){const J=v.getOrCreateContext(O.outlet);if(this.routeReuseStrategy.shouldAttach(O.snapshot)){const Ne=this.routeReuseStrategy.retrieve(O.snapshot);this.routeReuseStrategy.store(O.snapshot,null),J.children.onOutletReAttached(Ne.contexts),J.attachRef=Ne.componentRef,J.route=Ne.route.value,J.outlet&&J.outlet.attach(Ne.componentRef,Ne.route.value),Vi(Ne.route.value),this.activateChildRoutes(_,null,J.children)}else J.attachRef=null,J.route=O,J.outlet&&J.outlet.activateWith(O,J.injector),this.activateChildRoutes(_,null,J.children)}else this.activateChildRoutes(_,null,v)}}class So{constructor(_){this.path=_,this.route=this.path[this.path.length-1]}}class Oi{constructor(_,d){this.component=_,this.route=d}}function hn(u,_,d){const v=u._root;return es(v,_?_._root:null,d,[v.value])}function Br(u,_){const d=Symbol(),v=_.get(u,d);return v===d?"function"!=typeof u||(0,o.LfX)(u)?_.get(u):u:v}function es(u,_,d,v,O={canDeactivateChecks:[],canActivateChecks:[]}){const V=Gi(_);return u.children.forEach((J=>{(function ys(u,_,d,v,O={canDeactivateChecks:[],canActivateChecks:[]}){const V=u.value,J=_?_.value:null,Ne=d?d.getContext(u.value.outlet):null;if(J&&V.routeConfig===J.routeConfig){const Ce=function W(u,_,d){if("function"==typeof d)return d(u,_);switch(d){case"pathParamsChange":return!ut(u.url,_.url);case"pathParamsOrQueryParamsChange":return!ut(u.url,_.url)||!rr(u.queryParams,_.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!vs(u,_)||!rr(u.queryParams,_.queryParams);default:return!vs(u,_)}}(J,V,V.routeConfig.runGuardsAndResolvers);Ce?O.canActivateChecks.push(new So(v)):(V.data=J.data,V._resolvedData=J._resolvedData),es(u,_,V.component?Ne?Ne.children:null:d,v,O),Ce&&Ne&&Ne.outlet&&Ne.outlet.isActivated&&O.canDeactivateChecks.push(new Oi(Ne.outlet.component,J))}else J&&h(_,Ne,O),O.canActivateChecks.push(new So(v)),es(u,null,V.component?Ne?Ne.children:null:d,v,O)})(J,V[J.value.outlet],d,v.concat([J.value]),O),delete V[J.value.outlet]})),Object.entries(V).forEach((([J,Ne])=>h(Ne,d.getContext(J),O))),O}function h(u,_,d){const v=Gi(u),O=u.value;Object.entries(v).forEach((([V,J])=>{h(J,O.component?_?_.children.getContext(V):null:_,d)})),d.canDeactivateChecks.push(new Oi(O.component&&_&&_.outlet&&_.outlet.isActivated?_.outlet.component:null,O))}function g(u){return"function"==typeof u}function Ye(u){return u instanceof Fe.G||"EmptyError"===u?.name}const w=Symbol("INITIAL_VALUE");function C(){return(0,ue.n)((u=>we(u.map((_=>_.pipe((0,xe.s)(1),(0,lt.Z)(w))))).pipe((0,H.T)((_=>{for(const d of _)if(!0!==d){if(d===w)return w;if(!1===d||y(d))return d}return!0})),(0,We.p)((_=>_!==w)),(0,xe.s)(1))))}function y(u){return Vt(u)||u instanceof Vo}function Yr(u){return(0,Oe.F)(Ft((_=>{if("boolean"!=typeof _)throw To(0,_)})),(0,H.T)((_=>!0===_)))}class Ur{constructor(_){this.segmentGroup=_||null}}class Di extends Error{constructor(_){super(),this.urlTree=_}}function Mi(u){return nt(new Ur(u))}class ns{constructor(_,d){this.urlSerializer=_,this.urlTree=d}lineralizeSegments(_,d){let v=[],O=d.root;for(;;){if(v=v.concat(O.segments),0===O.numberOfChildren)return(0,S.of)(v);if(O.numberOfChildren>1||!O.children[Ze])return nt(new o.wOt(4e3,!1));O=O.children[Ze]}}applyRedirectCommands(_,d,v,O,V){if("string"!=typeof d){const Ne=d,{queryParams:Ce,fragment:pt,routeConfig:fn,url:Tn,outlet:mr,params:No,data:Ai,title:ao}=O,vo=(0,o.N4e)(V,(()=>Ne({params:No,data:Ai,queryParams:Ce,fragment:pt,routeConfig:fn,url:Tn,outlet:mr,title:ao})));if(vo instanceof ae)throw new Di(vo);d=vo}const J=this.applyRedirectCreateUrlTree(d,this.urlSerializer.parse(d),_,v);if("/"===d[0])throw new Di(J);return J}applyRedirectCreateUrlTree(_,d,v,O){const V=this.createSegmentGroup(_,d.root,v,O);return new ae(V,this.createQueryParams(d.queryParams,this.urlTree.queryParams),d.fragment)}createQueryParams(_,d){const v={};return Object.entries(_).forEach((([O,V])=>{if("string"==typeof V&&":"===V[0]){const Ne=V.substring(1);v[O]=d[Ne]}else v[O]=V})),v}createSegmentGroup(_,d,v,O){const V=this.createSegments(_,d.segments,v,O);let J={};return Object.entries(d.children).forEach((([Ne,Ce])=>{J[Ne]=this.createSegmentGroup(_,Ce,v,O)})),new Se(V,J)}createSegments(_,d,v,O){return d.map((V=>":"===V.path[0]?this.findPosParam(_,V,O):this.findOrReturn(V,v)))}findPosParam(_,d,v){const O=v[d.path.substring(1)];if(!O)throw new o.wOt(4001,!1);return O}findOrReturn(_,d){let v=0;for(const O of d){if(O.path===_.path)return d.splice(v),O;v++}return _}}const fo={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function $t(u,_,d,v,O){const V=sn(u,_,d);return V.matched?(v=function Xt(u,_){return u.providers&&!u._injector&&(u._injector=(0,o.Ol2)(u.providers,_,`Route: ${u.path}`)),u._injector??_}(_,v),function Kr(u,_,d,v){const O=_.canMatch;if(!O||0===O.length)return(0,S.of)(!0);const V=O.map((J=>{const Ne=Br(J,u);return ft(function Ue(u){return u&&g(u.canMatch)}(Ne)?Ne.canMatch(_,d):(0,o.N4e)(u,(()=>Ne(_,d))))}));return(0,S.of)(V).pipe(C(),Yr())}(v,_,d).pipe((0,H.T)((J=>!0===J?V:{...fo})))):(0,S.of)(V)}function sn(u,_,d){if("**"===_.path)return function wn(u){return{matched:!0,parameters:u.length>0?gn(u).parameters:{},consumedSegments:u,remainingSegments:[],positionalParamSegments:{}}}(d);if(""===_.path)return"full"===_.pathMatch&&(u.hasChildren()||d.length>0)?{...fo}:{matched:!0,consumedSegments:[],remainingSegments:d,parameters:{},positionalParamSegments:{}};const O=(_.matcher||Gn)(d,u,_);if(!O)return{...fo};const V={};Object.entries(O.posParams??{}).forEach((([Ne,Ce])=>{V[Ne]=Ce.path}));const J=O.consumed.length>0?{...V,...O.consumed[O.consumed.length-1].parameters}:V;return{matched:!0,consumedSegments:O.consumed,remainingSegments:d.slice(O.consumed.length),parameters:J,positionalParamSegments:O.posParams??{}}}function Bn(u,_,d,v){return d.length>0&&function Pi(u,_,d){return d.some((v=>cr(u,_,v)&&$n(v)!==Ze))}(u,d,v)?{segmentGroup:new Se(_,so(v,new Se(d,u.children))),slicedSegments:[]}:0===d.length&&function Io(u,_,d){return d.some((v=>cr(u,_,v)))}(u,d,v)?{segmentGroup:new Se(u.segments,Xr(u,d,v,u.children)),slicedSegments:d}:{segmentGroup:new Se(u.segments,u.children),slicedSegments:d}}function Xr(u,_,d,v){const O={};for(const V of d)if(cr(u,_,V)&&!v[$n(V)]){const J=new Se([],{});O[$n(V)]=J}return{...v,...O}}function so(u,_){const d={};d[Ze]=_;for(const v of u)if(""===v.path&&$n(v)!==Ze){const O=new Se([],{});d[$n(v)]=O}return d}function cr(u,_,d){return(!(u.hasChildren()||_.length>0)||"full"!==d.pathMatch)&&""===d.path}class Cs{}class Ar{constructor(_,d,v,O,V,J,Ne){this.injector=_,this.configLoader=d,this.rootComponentType=v,this.config=O,this.urlTree=V,this.paramsInheritanceStrategy=J,this.urlSerializer=Ne,this.applyRedirects=new ns(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(_){return new o.wOt(4002,`'${_.segmentGroup}'`)}recognize(){const _=Bn(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(_).pipe((0,H.T)((({children:d,rootSnapshot:v})=>{const O=new ci(v,d),V=new xt("",O),J=function Pe(u,_,d=null,v=null){return zt(Re(u),_,d,v)}(v,[],this.urlTree.queryParams,this.urlTree.fragment);return J.queryParams=this.urlTree.queryParams,V.url=this.urlSerializer.serialize(J),{state:V,tree:J}})))}match(_){const d=new Wi([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),Ze,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,_,Ze,d).pipe((0,H.T)((v=>({children:v,rootSnapshot:d}))),Bt((v=>{if(v instanceof Di)return this.urlTree=v.urlTree,this.match(v.urlTree.root);throw v instanceof Ur?this.noMatchError(v):v})))}processSegmentGroup(_,d,v,O,V){return 0===v.segments.length&&v.hasChildren()?this.processChildren(_,d,v,V):this.processSegment(_,d,v,v.segments,O,!0,V).pipe((0,H.T)((J=>J instanceof ci?[J]:[])))}processChildren(_,d,v,O){const V=[];for(const J of Object.keys(v.children))"primary"===J?V.unshift(J):V.push(J);return(0,b.H)(V).pipe((0,it.H)((J=>{const Ne=v.children[J],Ce=function Ei(u,_){const d=u.filter((v=>$n(v)===_));return d.push(...u.filter((v=>$n(v)!==_))),d}(d,J);return this.processSegmentGroup(_,Ce,Ne,J,O)})),function pn(u,_){return(0,qe.N)(function en(u,_,d,v,O){return(V,J)=>{let Ne=d,Ce=_,pt=0;V.subscribe((0,ve._)(J,(fn=>{const Tn=pt++;Ce=Ne?u(Ce,fn,Tn):(Ne=!0,fn),v&&J.next(Ce)}),O&&(()=>{Ne&&J.next(Ce),J.complete()})))}}(u,_,arguments.length>=2,!0))}(((J,Ne)=>(J.push(...Ne),J))),(0,Sn.U)(null),function Vn(u,_){const d=arguments.length>=2;return v=>v.pipe(u?(0,We.p)(((O,V)=>u(O,V,v))):j.D,Ln(1),d?(0,Sn.U)(_):(0,Jn.v)((()=>new Fe.G)))}(),(0,Ve.Z)((J=>{if(null===J)return Mi(v);const Ne=In(J);return function go(u){u.sort(((_,d)=>_.value.outlet===Ze?-1:d.value.outlet===Ze?1:_.value.outlet.localeCompare(d.value.outlet)))}(Ne),(0,S.of)(Ne)})))}processSegment(_,d,v,O,V,J,Ne){return(0,b.H)(d).pipe((0,it.H)((Ce=>this.processSegmentAgainstRoute(Ce._injector??_,d,Ce,v,O,V,J,Ne).pipe(Bt((pt=>{if(pt instanceof Ur)return(0,S.of)(null);throw pt}))))),(0,Te.$)((Ce=>!!Ce)),Bt((Ce=>{if(Ye(Ce))return function Oo(u,_,d){return 0===_.length&&!u.children[d]}(v,O,V)?(0,S.of)(new Cs):Mi(v);throw Ce})))}processSegmentAgainstRoute(_,d,v,O,V,J,Ne,Ce){return $n(v)===J||J!==Ze&&cr(O,V,v)?void 0===v.redirectTo?this.matchSegmentAgainstRoute(_,O,v,V,J,Ce):this.allowRedirects&&Ne?this.expandSegmentAgainstRouteUsingRedirect(_,O,d,v,V,J,Ce):Mi(O):Mi(O)}expandSegmentAgainstRouteUsingRedirect(_,d,v,O,V,J,Ne){const{matched:Ce,parameters:pt,consumedSegments:fn,positionalParamSegments:Tn,remainingSegments:mr}=sn(d,O,V);if(!Ce)return Mi(d);"string"==typeof O.redirectTo&&"/"===O.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const No=new Wi(V,pt,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Ac(O),$n(O),O.component??O._loadedComponent??null,O,_l(O)),Ai=no(No,Ne,this.paramsInheritanceStrategy);No.params=Object.freeze(Ai.params),No.data=Object.freeze(Ai.data);const ao=this.applyRedirects.applyRedirectCommands(fn,O.redirectTo,Tn,No,_);return this.applyRedirects.lineralizeSegments(O,ao).pipe((0,Ve.Z)((vo=>this.processSegment(_,v,d,vo.concat(mr),J,!1,Ne))))}matchSegmentAgainstRoute(_,d,v,O,V,J){const Ne=$t(d,v,O,_);return"**"===v.path&&(d.children={}),Ne.pipe((0,ue.n)((Ce=>Ce.matched?this.getChildConfig(_=v._injector??_,v,O).pipe((0,ue.n)((({routes:pt})=>{const fn=v._loadedInjector??_,{parameters:Tn,consumedSegments:mr,remainingSegments:No}=Ce,Ai=new Wi(mr,Tn,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Ac(v),$n(v),v.component??v._loadedComponent??null,v,_l(v)),ao=no(Ai,J,this.paramsInheritanceStrategy);Ai.params=Object.freeze(ao.params),Ai.data=Object.freeze(ao.data);const{segmentGroup:vo,slicedSegments:bs}=Bn(d,mr,No,pt);if(0===bs.length&&vo.hasChildren())return this.processChildren(fn,pt,vo,Ai).pipe((0,H.T)((Ds=>new ci(Ai,Ds))));if(0===pt.length&&0===bs.length)return(0,S.of)(new ci(Ai,[]));const zc=$n(v)===V;return this.processSegment(fn,pt,vo,bs,zc?Ze:V,!0,Ai).pipe((0,H.T)((Ds=>new ci(Ai,Ds instanceof ci?[Ds]:[]))))}))):Mi(d))))}getChildConfig(_,d,v){return d.children?(0,S.of)({routes:d.children,injector:_}):d.loadChildren?void 0!==d._loadedRoutes?(0,S.of)({routes:d._loadedRoutes,injector:d._loadedInjector}):function Ki(u,_,d,v){const O=_.canLoad;if(void 0===O||0===O.length)return(0,S.of)(!0);const V=O.map((J=>{const Ne=Br(J,u);return ft(function B(u){return u&&g(u.canLoad)}(Ne)?Ne.canLoad(_,d):(0,o.N4e)(u,(()=>Ne(_,d))))}));return(0,S.of)(V).pipe(C(),Yr())}(_,d,v).pipe((0,Ve.Z)((O=>O?this.configLoader.loadChildren(_,d).pipe(Ft((V=>{d._loadedRoutes=V.routes,d._loadedInjector=V.injector}))):function En(){return nt(Yo(!1,tr.GuardRejected))}()))):(0,S.of)({routes:[],injector:_})}}function rs(u){const _=u.value.routeConfig;return _&&""===_.path}function In(u){const _=[],d=new Set;for(const v of u){if(!rs(v)){_.push(v);continue}const O=_.find((V=>v.value.routeConfig===V.value.routeConfig));void 0!==O?(O.children.push(...v.children),d.add(O)):_.push(v)}for(const v of d){const O=In(v.children);_.push(new ci(v.value,O))}return _.filter((v=>!d.has(v)))}function Ac(u){return u.data||{}}function _l(u){return u.resolve||{}}function vl(u){const _=u.children.map((d=>vl(d))).flat();return[u,..._]}function Gs(u){return(0,ue.n)((_=>{const d=u(_);return d?(0,b.H)(d).pipe((0,H.T)((()=>_))):(0,S.of)(_)}))}let Ti=(()=>{class u{buildTitle(d){let v,O=d.root;for(;void 0!==O;)v=this.getResolvedTitleForRoute(O)??v,O=O.children.find((V=>V.outlet===Ze));return v}getResolvedTitleForRoute(d){return d.data[yn]}static#e=this.ɵfac=function(v){return new(v||u)};static#t=this.ɵprov=o.jDH({token:u,factory:()=>(0,o.WQX)(Ns),providedIn:"root"})}return u})(),Ns=(()=>{class u extends Ti{constructor(d){super(),this.title=d}updateTitle(d){const v=this.buildTitle(d);void 0!==v&&this.title.setTitle(v)}static#e=this.ɵfac=function(v){return new(v||u)(o.KVO(tt.hE))};static#t=this.ɵprov=o.jDH({token:u,factory:u.ɵfac,providedIn:"root"})}return u})();const Rs=new o.nKC("",{providedIn:"root",factory:()=>({})});let ks=(()=>{class u{static#e=this.ɵfac=function(v){return new(v||u)};static#t=this.ɵcmp=o.VBU({type:u,selectors:[["ng-component"]],standalone:!0,features:[o.aNF],decls:1,vars:0,template:function(v,O){1&v&&o.nrm(0,"router-outlet")},dependencies:[Bi],encapsulation:2})}return u})();function is(u){const _=u.children&&u.children.map(is),d=_?{...u,children:_}:{...u};return!d.component&&!d.loadComponent&&(_||d.loadChildren)&&d.outlet&&d.outlet!==Ze&&(d.component=ks),d}const jo=new o.nKC("");let p=(()=>{class u{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,o.WQX)(o.Ql9)}loadComponent(d){if(this.componentLoaders.get(d))return this.componentLoaders.get(d);if(d._loadedComponent)return(0,S.of)(d._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(d);const v=ft(d.loadComponent()).pipe((0,H.T)(N),Ft((V=>{this.onLoadEndListener&&this.onLoadEndListener(d),d._loadedComponent=V})),(0,et.j)((()=>{this.componentLoaders.delete(d)}))),O=new me(v,(()=>new ie.B)).pipe(wt());return this.componentLoaders.set(d,O),O}loadChildren(d,v){if(this.childrenLoaders.get(v))return this.childrenLoaders.get(v);if(v._loadedRoutes)return(0,S.of)({routes:v._loadedRoutes,injector:v._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(v);const V=function F(u,_,d,v){return ft(u.loadChildren()).pipe((0,H.T)(N),(0,Ve.Z)((O=>O instanceof o.Co$||Array.isArray(O)?(0,S.of)(O):(0,b.H)(_.compileModuleAsync(O)))),(0,H.T)((O=>{v&&v(u);let V,J,Ne=!1;return Array.isArray(O)?(J=O,!0):(V=O.create(d).injector,J=V.get(jo,[],{optional:!0,self:!0}).flat()),{routes:J.map(is),injector:V}})))}(v,this.compiler,d,this.onLoadEndListener).pipe((0,et.j)((()=>{this.childrenLoaders.delete(v)}))),J=new me(V,(()=>new ie.B)).pipe(wt());return this.childrenLoaders.set(v,J),J}static#e=this.ɵfac=function(v){return new(v||u)};static#t=this.ɵprov=o.jDH({token:u,factory:u.ɵfac,providedIn:"root"})}return u})();function N(u){return function E(u){return u&&"object"==typeof u&&"default"in u}(u)?u.default:u}let se=(()=>{class u{static#e=this.ɵfac=function(v){return new(v||u)};static#t=this.ɵprov=o.jDH({token:u,factory:()=>(0,o.WQX)(je),providedIn:"root"})}return u})(),je=(()=>{class u{shouldProcessUrl(d){return!0}extract(d){return d}merge(d,v){return d}static#e=this.ɵfac=function(v){return new(v||u)};static#t=this.ɵprov=o.jDH({token:u,factory:u.ɵfac,providedIn:"root"})}return u})();const ht=new o.nKC(""),Ut=new o.nKC("");function yr(u,_,d){const v=u.get(Ut),O=u.get(Z.qQ);return u.get(o.SKi).runOutsideAngular((()=>{if(!O.startViewTransition||v.skipNextTransition)return v.skipNextTransition=!1,new Promise((pt=>setTimeout(pt)));let V;const J=new Promise((pt=>{V=pt})),Ne=O.startViewTransition((()=>(V(),function Nn(u){return new Promise((_=>{(0,o.mal)({read:()=>setTimeout(_)},{injector:u})}))}(u)))),{onViewTransitionCreated:Ce}=v;return Ce&&(0,o.N4e)(u,(()=>Ce({transition:Ne,from:_,to:d}))),J}))}const dr=new o.nKC("");let Et=(()=>{class u{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new ie.B,this.transitionAbortSubject=new ie.B,this.configLoader=(0,o.WQX)(p),this.environmentInjector=(0,o.WQX)(o.uvJ),this.urlSerializer=(0,o.WQX)(Nt),this.rootContexts=(0,o.WQX)(Gr),this.location=(0,o.WQX)(Z.aZ),this.inputBindingEnabled=null!==(0,o.WQX)(pi,{optional:!0}),this.titleStrategy=(0,o.WQX)(Ti),this.options=(0,o.WQX)(Rs,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,o.WQX)(se),this.createViewTransition=(0,o.WQX)(ht,{optional:!0}),this.navigationErrorHandler=(0,o.WQX)(dr,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,S.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=O=>this.events.next(new Vr(O)),this.configLoader.onLoadStartListener=O=>this.events.next(new Ci(O))}complete(){this.transitions?.complete()}handleNavigationRequest(d){const v=++this.navigationId;this.transitions?.next({...this.transitions.value,...d,id:v})}setupNavigations(d,v,O){return this.transitions=new x.t({id:0,currentUrlTree:v,currentRawUrl:v,extractedUrl:this.urlHandlingStrategy.extract(v),urlAfterRedirects:this.urlHandlingStrategy.extract(v),rawUrl:v,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:$,restoredState:null,currentSnapshot:O.snapshot,targetSnapshot:null,currentRouterState:O,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,We.p)((V=>0!==V.id)),(0,H.T)((V=>({...V,extractedUrl:this.urlHandlingStrategy.extract(V.rawUrl)}))),(0,ue.n)((V=>{let J=!1,Ne=!1;return(0,S.of)(V).pipe((0,ue.n)((Ce=>{if(this.navigationId>V.id)return this.cancelNavigationTransition(V,"",tr.SupersededByNewNavigation),It.w;this.currentTransition=V,this.currentNavigation={id:Ce.id,initialUrl:Ce.rawUrl,extractedUrl:Ce.extractedUrl,targetBrowserUrl:"string"==typeof Ce.extras.browserUrl?this.urlSerializer.parse(Ce.extras.browserUrl):Ce.extras.browserUrl,trigger:Ce.source,extras:Ce.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const pt=!d.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!pt&&"reload"!==(Ce.extras.onSameUrlNavigation??d.onSameUrlNavigation)){const Tn="";return this.events.next(new Lr(Ce.id,this.urlSerializer.serialize(Ce.rawUrl),Tn,Qr.IgnoredSameUrlNavigation)),Ce.resolve(!1),It.w}if(this.urlHandlingStrategy.shouldProcessUrl(Ce.rawUrl))return(0,S.of)(Ce).pipe((0,ue.n)((Tn=>{const mr=this.transitions?.getValue();return this.events.next(new dn(Tn.id,this.urlSerializer.serialize(Tn.extractedUrl),Tn.source,Tn.restoredState)),mr!==this.transitions?.getValue()?It.w:Promise.resolve(Tn)})),function xc(u,_,d,v,O,V){return(0,Ve.Z)((J=>function jr(u,_,d,v,O,V,J="emptyOnly"){return new Ar(u,_,d,v,O,J,V).recognize()}(u,_,d,v,J.extractedUrl,O,V).pipe((0,H.T)((({state:Ne,tree:Ce})=>({...J,targetSnapshot:Ne,urlAfterRedirects:Ce}))))))}(this.environmentInjector,this.configLoader,this.rootComponentType,d.config,this.urlSerializer,this.paramsInheritanceStrategy),Ft((Tn=>{V.targetSnapshot=Tn.targetSnapshot,V.urlAfterRedirects=Tn.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:Tn.urlAfterRedirects};const mr=new ii(Tn.id,this.urlSerializer.serialize(Tn.extractedUrl),this.urlSerializer.serialize(Tn.urlAfterRedirects),Tn.targetSnapshot);this.events.next(mr)})));if(pt&&this.urlHandlingStrategy.shouldProcessUrl(Ce.currentRawUrl)){const{id:Tn,extractedUrl:mr,source:No,restoredState:Ai,extras:ao}=Ce,vo=new dn(Tn,this.urlSerializer.serialize(mr),No,Ai);this.events.next(vo);const bs=Do(this.rootComponentType).snapshot;return this.currentTransition=V={...Ce,targetSnapshot:bs,urlAfterRedirects:mr,extras:{...ao,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=mr,(0,S.of)(V)}{const Tn="";return this.events.next(new Lr(Ce.id,this.urlSerializer.serialize(Ce.extractedUrl),Tn,Qr.IgnoredByUrlHandlingStrategy)),Ce.resolve(!1),It.w}})),Ft((Ce=>{const pt=new ai(Ce.id,this.urlSerializer.serialize(Ce.extractedUrl),this.urlSerializer.serialize(Ce.urlAfterRedirects),Ce.targetSnapshot);this.events.next(pt)})),(0,H.T)((Ce=>(this.currentTransition=V={...Ce,guards:hn(Ce.targetSnapshot,Ce.currentSnapshot,this.rootContexts)},V))),function k(u,_){return(0,Ve.Z)((d=>{const{targetSnapshot:v,currentSnapshot:O,guards:{canActivateChecks:V,canDeactivateChecks:J}}=d;return 0===J.length&&0===V.length?(0,S.of)({...d,guardsResult:!0}):function te(u,_,d,v){return(0,b.H)(u).pipe((0,Ve.Z)((O=>function gr(u,_,d,v,O){const V=_&&_.routeConfig?_.routeConfig.canDeactivate:null;if(!V||0===V.length)return(0,S.of)(!0);const J=V.map((Ne=>{const Ce=Xn(_)??O,pt=Br(Ne,Ce);return ft(function ye(u){return u&&g(u.canDeactivate)}(pt)?pt.canDeactivate(u,_,d,v):(0,o.N4e)(Ce,(()=>pt(u,_,d,v)))).pipe((0,Te.$)())}));return(0,S.of)(J).pipe(C())}(O.component,O.route,d,_,v))),(0,Te.$)((O=>!0!==O),!0))}(J,v,O,u).pipe((0,Ve.Z)((Ne=>Ne&&function M(u){return"boolean"==typeof u}(Ne)?function dt(u,_,d,v){return(0,b.H)(_).pipe((0,it.H)((O=>(0,ct.x)(function Jt(u,_){return null!==u&&_&&_(new z(u)),(0,S.of)(!0)}(O.route.parent,v),function Ht(u,_){return null!==u&&_&&_(new ee(u)),(0,S.of)(!0)}(O.route,v),function nr(u,_,d){const v=_[_.length-1],V=_.slice(0,_.length-1).reverse().map((J=>function Jo(u){const _=u.routeConfig?u.routeConfig.canActivateChild:null;return _&&0!==_.length?{node:u,guards:_}:null}(J))).filter((J=>null!==J)).map((J=>Le((()=>{const Ne=J.guards.map((Ce=>{const pt=Xn(J.node)??d,fn=Br(Ce,pt);return ft(function ge(u){return u&&g(u.canActivateChild)}(fn)?fn.canActivateChild(v,u):(0,o.N4e)(pt,(()=>fn(v,u)))).pipe((0,Te.$)())}));return(0,S.of)(Ne).pipe(C())}))));return(0,S.of)(V).pipe(C())}(u,O.path,d),function lr(u,_,d){const v=_.routeConfig?_.routeConfig.canActivate:null;if(!v||0===v.length)return(0,S.of)(!0);const O=v.map((V=>Le((()=>{const J=Xn(_)??d,Ne=Br(V,J);return ft(function Y(u){return u&&g(u.canActivate)}(Ne)?Ne.canActivate(_,u):(0,o.N4e)(J,(()=>Ne(_,u)))).pipe((0,Te.$)())}))));return(0,S.of)(O).pipe(C())}(u,O.route,d)))),(0,Te.$)((O=>!0!==O),!0))}(v,V,u,_):(0,S.of)(Ne))),(0,H.T)((Ne=>({...d,guardsResult:Ne}))))}))}(this.environmentInjector,(Ce=>this.events.next(Ce))),Ft((Ce=>{if(V.guardsResult=Ce.guardsResult,Ce.guardsResult&&"boolean"!=typeof Ce.guardsResult)throw To(0,Ce.guardsResult);const pt=new qr(Ce.id,this.urlSerializer.serialize(Ce.extractedUrl),this.urlSerializer.serialize(Ce.urlAfterRedirects),Ce.targetSnapshot,!!Ce.guardsResult);this.events.next(pt)})),(0,We.p)((Ce=>!!Ce.guardsResult||(this.cancelNavigationTransition(Ce,"",tr.GuardRejected),!1))),Gs((Ce=>{if(Ce.guards.canActivateChecks.length)return(0,S.of)(Ce).pipe(Ft((pt=>{const fn=new bo(pt.id,this.urlSerializer.serialize(pt.extractedUrl),this.urlSerializer.serialize(pt.urlAfterRedirects),pt.targetSnapshot);this.events.next(fn)})),(0,ue.n)((pt=>{let fn=!1;return(0,S.of)(pt).pipe(function Nd(u,_){return(0,Ve.Z)((d=>{const{targetSnapshot:v,guards:{canActivateChecks:O}}=d;if(!O.length)return(0,S.of)(d);const V=new Set(O.map((Ce=>Ce.route))),J=new Set;for(const Ce of V)if(!J.has(Ce))for(const pt of vl(Ce))J.add(pt);let Ne=0;return(0,b.H)(J).pipe((0,it.H)((Ce=>V.has(Ce)?function ma(u,_,d,v){const O=u.routeConfig,V=u._resolve;return void 0!==O?.title&&!hi(O)&&(V[yn]=O.title),function jn(u,_,d,v){const O=Sr(u);if(0===O.length)return(0,S.of)({});const V={};return(0,b.H)(O).pipe((0,Ve.Z)((J=>function _a(u,_,d,v){const O=Xn(_)??v,V=Br(u,O);return ft(V.resolve?V.resolve(_,d):(0,o.N4e)(O,(()=>V(_,d))))}(u[J],_,d,v).pipe((0,Te.$)(),Ft((Ne=>{if(Ne instanceof Vo)throw To(new At,Ne);V[J]=Ne}))))),Ln(1),function Un(u){return(0,H.T)((()=>u))}(V),Bt((J=>Ye(J)?It.w:nt(J))))}(V,u,_,v).pipe((0,H.T)((J=>(u._resolvedData=J,u.data=no(u,u.parent,d).resolve,null))))}(Ce,v,u,_):(Ce.data=no(Ce,Ce.parent,u).resolve,(0,S.of)(void 0)))),Ft((()=>Ne++)),Ln(1),(0,Ve.Z)((Ce=>Ne===J.size?(0,S.of)(d):It.w)))}))}(this.paramsInheritanceStrategy,this.environmentInjector),Ft({next:()=>fn=!0,complete:()=>{fn||this.cancelNavigationTransition(pt,"",tr.NoDataFromResolver)}}))})),Ft((pt=>{const fn=new to(pt.id,this.urlSerializer.serialize(pt.extractedUrl),this.urlSerializer.serialize(pt.urlAfterRedirects),pt.targetSnapshot);this.events.next(fn)})))})),Gs((Ce=>{const pt=fn=>{const Tn=[];fn.routeConfig?.loadComponent&&!fn.routeConfig._loadedComponent&&Tn.push(this.configLoader.loadComponent(fn.routeConfig).pipe(Ft((mr=>{fn.component=mr})),(0,H.T)((()=>{}))));for(const mr of fn.children)Tn.push(...pt(mr));return Tn};return we(pt(Ce.targetSnapshot.root)).pipe((0,Sn.U)(null),(0,xe.s)(1))})),Gs((()=>this.afterPreactivation())),(0,ue.n)((()=>{const{currentSnapshot:Ce,targetSnapshot:pt}=V,fn=this.createViewTransition?.(this.environmentInjector,Ce.root,pt.root);return fn?(0,b.H)(fn).pipe((0,H.T)((()=>V))):(0,S.of)(V)})),(0,H.T)((Ce=>{const pt=function Mo(u,_,d){const v=ro(u,_._root,d?d._root:void 0);return new qo(v,_)}(d.routeReuseStrategy,Ce.targetSnapshot,Ce.currentRouterState);return this.currentTransition=V={...Ce,targetRouterState:pt},this.currentNavigation.targetRouterState=pt,V})),Ft((()=>{this.events.next(new Ct)})),((u,_,d,v)=>(0,H.T)((O=>(new xs(_,O.targetRouterState,O.currentRouterState,d,v).activate(u),O))))(this.rootContexts,d.routeReuseStrategy,(Ce=>this.events.next(Ce)),this.inputBindingEnabled),(0,xe.s)(1),Ft({next:Ce=>{J=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new nn(Ce.id,this.urlSerializer.serialize(Ce.extractedUrl),this.urlSerializer.serialize(Ce.urlAfterRedirects))),this.titleStrategy?.updateTitle(Ce.targetRouterState.snapshot),Ce.resolve(!0)},complete:()=>{J=!0}}),(0,gt.Q)(this.transitionAbortSubject.pipe(Ft((Ce=>{throw Ce})))),(0,et.j)((()=>{!J&&!Ne&&this.cancelNavigationTransition(V,"",tr.SupersededByNewNavigation),this.currentTransition?.id===V.id&&(this.currentNavigation=null,this.currentTransition=null)})),Bt((Ce=>{if(Ne=!0,Bo(Ce))this.events.next(new Zr(V.id,this.urlSerializer.serialize(V.extractedUrl),Ce.message,Ce.cancellationCode)),function qn(u){return Bo(u)&&Vt(u.url)}(Ce)?this.events.next(new Dt(Ce.url,Ce.navigationBehaviorOptions)):V.resolve(!1);else{const pt=new br(V.id,this.urlSerializer.serialize(V.extractedUrl),Ce,V.targetSnapshot??void 0);try{const fn=(0,o.N4e)(this.environmentInjector,(()=>this.navigationErrorHandler?.(pt)));if(fn instanceof Vo){const{message:Tn,cancellationCode:mr}=To(0,fn);this.events.next(new Zr(V.id,this.urlSerializer.serialize(V.extractedUrl),Tn,mr)),this.events.next(new Dt(fn.redirectTo,fn.navigationBehaviorOptions))}else{this.events.next(pt);const Tn=d.errorHandler(Ce);V.resolve(!!Tn)}}catch(fn){this.options.resolveNavigationPromiseOnError?V.resolve(!1):V.reject(fn)}}return It.w})))})))}cancelNavigationTransition(d,v,O){const V=new Zr(d.id,this.urlSerializer.serialize(d.extractedUrl),v,O);this.events.next(V),d.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){const d=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),v=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return d.toString()!==v?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static#e=this.ɵfac=function(v){return new(v||u)};static#t=this.ɵprov=o.jDH({token:u,factory:u.ɵfac,providedIn:"root"})}return u})();function Cr(u){return u!==$}let ir=(()=>{class u{static#e=this.ɵfac=function(v){return new(v||u)};static#t=this.ɵprov=o.jDH({token:u,factory:()=>(0,o.WQX)(Po),providedIn:"root"})}return u})();class xr{shouldDetach(_){return!1}store(_,d){}shouldAttach(_){return!1}retrieve(_){return null}shouldReuseRoute(_,d){return _.routeConfig===d.routeConfig}}let Po=(()=>{class u extends xr{static#e=this.ɵfac=(()=>{let d;return function(O){return(d||(d=o.xGo(u)))(O||u)}})();static#t=this.ɵprov=o.jDH({token:u,factory:u.ɵfac,providedIn:"root"})}return u})(),Xi=(()=>{class u{static#e=this.ɵfac=function(v){return new(v||u)};static#t=this.ɵprov=o.jDH({token:u,factory:()=>(0,o.WQX)(os),providedIn:"root"})}return u})(),os=(()=>{class u extends Xi{constructor(){super(...arguments),this.location=(0,o.WQX)(Z.aZ),this.urlSerializer=(0,o.WQX)(Nt),this.options=(0,o.WQX)(Rs,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,o.WQX)(se),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new ae,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Do(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()?.ɵrouterPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(d){return this.location.subscribe((v=>{"popstate"===v.type&&d(v.url,v.state)}))}handleRouterEvent(d,v){if(d instanceof dn)this.stateMemento=this.createStateMemento();else if(d instanceof Lr)this.rawUrlTree=v.initialUrl;else if(d instanceof ii){if("eager"===this.urlUpdateStrategy&&!v.extras.skipLocationChange){const O=this.urlHandlingStrategy.merge(v.finalUrl,v.initialUrl);this.setBrowserUrl(v.targetBrowserUrl??O,v)}}else d instanceof Ct?(this.currentUrlTree=v.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(v.finalUrl,v.initialUrl),this.routerState=v.targetRouterState,"deferred"===this.urlUpdateStrategy&&!v.extras.skipLocationChange&&this.setBrowserUrl(v.targetBrowserUrl??this.rawUrlTree,v)):d instanceof Zr&&(d.code===tr.GuardRejected||d.code===tr.NoDataFromResolver)?this.restoreHistory(v):d instanceof br?this.restoreHistory(v,!0):d instanceof nn&&(this.lastSuccessfulId=d.id,this.currentPageId=this.browserPageId)}setBrowserUrl(d,v){const O=d instanceof ae?this.urlSerializer.serialize(d):d;if(this.location.isCurrentPathEqualTo(O)||v.extras.replaceUrl){const J={...v.extras.state,...this.generateNgRouterState(v.id,this.browserPageId)};this.location.replaceState(O,"",J)}else{const V={...v.extras.state,...this.generateNgRouterState(v.id,this.browserPageId+1)};this.location.go(O,"",V)}}restoreHistory(d,v=!1){if("computed"===this.canceledNavigationResolution){const V=this.currentPageId-this.browserPageId;0!==V?this.location.historyGo(V):this.currentUrlTree===d.finalUrl&&0===V&&(this.resetState(d),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(v&&this.resetState(d),this.resetUrlToCurrentUrlTree())}resetState(d){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,d.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(d,v){return"computed"===this.canceledNavigationResolution?{navigationId:d,"ɵrouterPageId":v}:{navigationId:d}}static#e=this.ɵfac=(()=>{let d;return function(O){return(d||(d=o.xGo(u)))(O||u)}})();static#t=this.ɵprov=o.jDH({token:u,factory:u.ɵfac,providedIn:"root"})}return u})();var Ui=function(u){return u[u.COMPLETE=0]="COMPLETE",u[u.FAILED=1]="FAILED",u[u.REDIRECTING=2]="REDIRECTING",u}(Ui||{});function Qi(u,_){u.events.pipe((0,We.p)((d=>d instanceof nn||d instanceof Zr||d instanceof br||d instanceof Lr)),(0,H.T)((d=>d instanceof nn||d instanceof Lr?Ui.COMPLETE:d instanceof Zr&&(d.code===tr.Redirect||d.code===tr.SupersededByNewNavigation)?Ui.REDIRECTING:Ui.FAILED)),(0,We.p)((d=>d!==Ui.REDIRECTING)),(0,xe.s)(1)).subscribe((()=>{_()}))}function Ao(u){throw u}const mo={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ws={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Si=(()=>{class u{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=(0,o.WQX)(o.H3F),this.stateManager=(0,o.WQX)(Xi),this.options=(0,o.WQX)(Rs,{optional:!0})||{},this.pendingTasks=(0,o.WQX)(o.TgB),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,o.WQX)(Et),this.urlSerializer=(0,o.WQX)(Nt),this.location=(0,o.WQX)(Z.aZ),this.urlHandlingStrategy=(0,o.WQX)(se),this._events=new ie.B,this.errorHandler=this.options.errorHandler||Ao,this.navigated=!1,this.routeReuseStrategy=(0,o.WQX)(ir),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,o.WQX)(jo,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,o.WQX)(pi,{optional:!0}),this.eventsSubscription=new Je.yU,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:d=>{this.console.warn(d)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const d=this.navigationTransitions.events.subscribe((v=>{try{const O=this.navigationTransitions.currentTransition,V=this.navigationTransitions.currentNavigation;if(null!==O&&null!==V)if(this.stateManager.handleRouterEvent(v,V),v instanceof Zr&&v.code!==tr.Redirect&&v.code!==tr.SupersededByNewNavigation)this.navigated=!0;else if(v instanceof nn)this.navigated=!0;else if(v instanceof Dt){const J=v.navigationBehaviorOptions,Ne=this.urlHandlingStrategy.merge(v.url,O.currentRawUrl),Ce={browserUrl:O.extras.browserUrl,info:O.extras.info,skipLocationChange:O.extras.skipLocationChange,replaceUrl:O.extras.replaceUrl||"eager"===this.urlUpdateStrategy||Cr(O.source),...J};this.scheduleNavigation(Ne,$,null,Ce,{resolve:O.resolve,reject:O.reject,promise:O.promise})}(function ji(u){return!(u instanceof Ct||u instanceof Dt)})(v)&&this._events.next(v)}catch(O){this.navigationTransitions.transitionAbortSubject.next(O)}}));this.eventsSubscription.add(d)}resetRootComponentType(d){this.routerState.root.component=d,this.navigationTransitions.rootComponentType=d}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),$,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener(((d,v)=>{setTimeout((()=>{this.navigateToSyncWithBrowser(d,"popstate",v)}),0)}))}navigateToSyncWithBrowser(d,v,O){const V={replaceUrl:!0},J=O?.navigationId?O:null;if(O){const Ce={...O};delete Ce.navigationId,delete Ce.ɵrouterPageId,0!==Object.keys(Ce).length&&(V.state=Ce)}const Ne=this.parseUrl(d);this.scheduleNavigation(Ne,v,J,V)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(d){this.config=d.map(is),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(d,v={}){const{relativeTo:O,queryParams:V,fragment:J,queryParamsHandling:Ne,preserveFragment:Ce}=v,pt=Ce?this.currentUrlTree.fragment:J;let Tn,fn=null;switch(Ne??this.options.defaultQueryParamsHandling){case"merge":fn={...this.currentUrlTree.queryParams,...V};break;case"preserve":fn=this.currentUrlTree.queryParams;break;default:fn=V||null}null!==fn&&(fn=this.removeEmptyProps(fn));try{Tn=Re(O?O.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof d[0]||"/"!==d[0][0])&&(d=[]),Tn=this.currentUrlTree.root}return zt(Tn,d,fn,pt??null)}navigateByUrl(d,v={skipLocationChange:!1}){const O=Vt(d)?d:this.parseUrl(d),V=this.urlHandlingStrategy.merge(O,this.rawUrlTree);return this.scheduleNavigation(V,$,null,v)}navigate(d,v={skipLocationChange:!1}){return function Rd(u){for(let _=0;_<u.length;_++)if(null==u[_])throw new o.wOt(4008,!1)}(d),this.navigateByUrl(this.createUrlTree(d,v),v)}serializeUrl(d){return this.urlSerializer.serialize(d)}parseUrl(d){try{return this.urlSerializer.parse(d)}catch{return this.urlSerializer.parse("/")}}isActive(d,v){let O;if(O=!0===v?{...mo}:!1===v?{...Ws}:v,Vt(d))return ke(this.currentUrlTree,d,O);const V=this.parseUrl(d);return ke(this.currentUrlTree,V,O)}removeEmptyProps(d){return Object.entries(d).reduce(((v,[O,V])=>(null!=V&&(v[O]=V),v)),{})}scheduleNavigation(d,v,O,V,J){if(this.disposed)return Promise.resolve(!1);let Ne,Ce,pt;J?(Ne=J.resolve,Ce=J.reject,pt=J.promise):pt=new Promise(((Tn,mr)=>{Ne=Tn,Ce=mr}));const fn=this.pendingTasks.add();return Qi(this,(()=>{queueMicrotask((()=>this.pendingTasks.remove(fn)))})),this.navigationTransitions.handleNavigationRequest({source:v,restoredState:O,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:d,extras:V,resolve:Ne,reject:Ce,promise:pt,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),pt.catch((Tn=>Promise.reject(Tn)))}static#e=this.ɵfac=function(v){return new(v||u)};static#t=this.ɵprov=o.jDH({token:u,factory:u.ɵfac,providedIn:"root"})}return u})(),Ho=(()=>{class u{constructor(d,v,O,V,J,Ne){this.router=d,this.route=v,this.tabIndexAttribute=O,this.renderer=V,this.el=J,this.locationStrategy=Ne,this.href=null,this.onChanges=new ie.B,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;const Ce=J.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===Ce||"area"===Ce,this.isAnchorElement?this.subscription=d.events.subscribe((pt=>{pt instanceof nn&&this.updateHref()})):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(d){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",d)}ngOnChanges(d){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(d){null==d?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(this.routerLinkInput=Vt(d)||Array.isArray(d)?d:[d],this.setTabIndexIfNotOnNativeEl("0"))}onClick(d,v,O,V,J){const Ne=this.urlTree;return!!(null===Ne||this.isAnchorElement&&(0!==d||v||O||V||J||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(Ne,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const d=this.urlTree;this.href=null!==d&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(d)):null;const v=null===this.href?null:(0,o.n$t)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",v)}applyAttributeValue(d,v){const O=this.renderer,V=this.el.nativeElement;null!==v?O.setAttribute(V,d,v):O.removeAttribute(V,d)}get urlTree(){return null===this.routerLinkInput?null:Vt(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#e=this.ɵfac=function(v){return new(v||u)(o.rXU(Si),o.rXU(di),o.kS0("tabindex"),o.rXU(o.sFG),o.rXU(o.aKT),o.rXU(Z.hb))};static#t=this.ɵdir=o.FsC({type:u,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(v,O){1&v&&o.bIt("click",(function(J){return O.onClick(J.button,J.ctrlKey,J.shiftKey,J.altKey,J.metaKey)})),2&v&&o.BMQ("target",O.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",o.L39],skipLocationChange:[2,"skipLocationChange","skipLocationChange",o.L39],replaceUrl:[2,"replaceUrl","replaceUrl",o.L39],routerLink:"routerLink"},standalone:!0,features:[o.GFd,o.OA$]})}return u})();class Ks{}let kc=(()=>{class u{constructor(d,v,O,V,J){this.router=d,this.injector=O,this.preloadingStrategy=V,this.loader=J}setUpPreloading(){this.subscription=this.router.events.pipe((0,We.p)((d=>d instanceof nn)),(0,it.H)((()=>this.preload()))).subscribe((()=>{}))}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(d,v){const O=[];for(const V of v){V.providers&&!V._injector&&(V._injector=(0,o.Ol2)(V.providers,d,`Route: ${V.path}`));const J=V._injector??d,Ne=V._loadedInjector??J;(V.loadChildren&&!V._loadedRoutes&&void 0===V.canLoad||V.loadComponent&&!V._loadedComponent)&&O.push(this.preloadConfig(J,V)),(V.children||V._loadedRoutes)&&O.push(this.processRoutes(Ne,V.children??V._loadedRoutes))}return(0,b.H)(O).pipe((0,Ie.U)())}preloadConfig(d,v){return this.preloadingStrategy.preload(v,(()=>{let O;O=v.loadChildren&&void 0===v.canLoad?this.loader.loadChildren(d,v):(0,S.of)(null);const V=O.pipe((0,Ve.Z)((J=>null===J?(0,S.of)(void 0):(v._loadedRoutes=J.routes,v._loadedInjector=J.injector,this.processRoutes(J.injector??d,J.routes)))));if(v.loadComponent&&!v._loadedComponent){const J=this.loader.loadComponent(v);return(0,b.H)([V,J]).pipe((0,Ie.U)())}return V}))}static#e=this.ɵfac=function(v){return new(v||u)(o.KVO(Si),o.KVO(o.Ql9),o.KVO(o.uvJ),o.KVO(Ks),o.KVO(p))};static#t=this.ɵprov=o.jDH({token:u,factory:u.ɵfac,providedIn:"root"})}return u})();const Fc=new o.nKC("");let Hi=(()=>{class u{constructor(d,v,O,V,J={}){this.urlSerializer=d,this.transitions=v,this.viewportScroller=O,this.zone=V,this.options=J,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},J.scrollPositionRestoration||="disabled",J.anchorScrolling||="disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe((d=>{d instanceof dn?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=d.navigationTrigger,this.restoredId=d.restoredState?d.restoredState.navigationId:0):d instanceof nn?(this.lastId=d.id,this.scheduleScrollEvent(d,this.urlSerializer.parse(d.urlAfterRedirects).fragment)):d instanceof Lr&&d.code===Qr.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(d,this.urlSerializer.parse(d.url).fragment))}))}consumeScrollEvents(){return this.transitions.events.subscribe((d=>{d instanceof Ke&&(d.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(d.position):d.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(d.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))}))}scheduleScrollEvent(d,v){this.zone.runOutsideAngular((()=>{setTimeout((()=>{this.zone.run((()=>{this.transitions.events.next(new Ke(d,"popstate"===this.lastSource?this.store[this.restoredId]:null,v))}))}),0)}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.ɵfac=function(v){o.QTQ()};static#t=this.ɵprov=o.jDH({token:u,factory:u.ɵfac})}return u})();function $o(u,_){return{"ɵkind":u,"ɵproviders":_}}function yl(){const u=(0,o.WQX)(o.zZn);return _=>{const d=u.get(o.o8S);if(_!==d.components[0])return;const v=u.get(Si),O=u.get(ya);1===u.get(Fs)&&v.initialNavigation(),u.get(Bc,null,o.$GK.Optional)?.setUpPreloading(),u.get(Fc,null,o.$GK.Optional)?.init(),v.resetRootComponentType(d.componentTypes[0]),O.closed||(O.next(),O.complete(),O.unsubscribe())}}const ya=new o.nKC("",{factory:()=>new ie.B}),Fs=new o.nKC("",{providedIn:"root",factory:()=>1}),Bc=new o.nKC("");function Cl(u){return $o(0,[{provide:Bc,useExisting:kc},{provide:Ks,useExisting:u}])}function jc(u){return $o(9,[{provide:ht,useValue:yr},{provide:Ut,useValue:{skipNextTransition:!!u?.skipInitialTransition,...u}}])}const wa=new o.nKC("ROUTER_FORROOT_GUARD"),Ld=[Z.aZ,{provide:Nt,useClass:At},Si,Gr,{provide:di,useFactory:function Es(u){return u.routerState.root},deps:[Si]},p,[]];let Vd=(()=>{class u{constructor(d){}static forRoot(d,v){return{ngModule:u,providers:[Ld,[],{provide:jo,multi:!0,useValue:d},{provide:wa,useFactory:Ud,deps:[[Si,new o.Xx1,new o.kdw]]},{provide:Rs,useValue:v||{}},v?.useHash?{provide:Z.hb,useClass:Z.fw}:{provide:Z.hb,useClass:Z.Sm},{provide:Fc,useFactory:()=>{const u=(0,o.WQX)(Z.Xr),_=(0,o.WQX)(o.SKi),d=(0,o.WQX)(Rs),v=(0,o.WQX)(Et),O=(0,o.WQX)(Nt);return d.scrollOffset&&u.setOffset(d.scrollOffset),new Hi(O,v,u,_,d)}},v?.preloadingStrategy?Cl(v.preloadingStrategy).ɵproviders:[],v?.initialNavigation?jd(v):[],v?.bindToComponentInputs?$o(8,[Wr,{provide:pi,useExisting:Wr}]).ɵproviders:[],v?.enableViewTransitions?jc().ɵproviders:[],[{provide:$c,useFactory:yl},{provide:o.iLQ,multi:!0,useExisting:$c}]]}}static forChild(d){return{ngModule:u,providers:[{provide:jo,multi:!0,useValue:d}]}}static#e=this.ɵfac=function(v){return new(v||u)(o.KVO(wa,8))};static#t=this.ɵmod=o.$C({type:u});static#n=this.ɵinj=o.G2t({})}return u})();function Ud(u){return"guarded"}function jd(u){return["disabled"===u.initialNavigation?$o(3,[{provide:o.hnV,multi:!0,useFactory:()=>{const _=(0,o.WQX)(Si);return()=>{_.setUpLocationChangeListener()}}},{provide:Fs,useValue:2}]).ɵproviders:[],"enabledBlocking"===u.initialNavigation?$o(2,[{provide:Fs,useValue:0},{provide:o.hnV,multi:!0,deps:[o.zZn],useFactory:_=>{const d=_.get(Z.hj,Promise.resolve());return()=>d.then((()=>new Promise((v=>{const O=_.get(Si),V=_.get(ya);Qi(O,(()=>{v(!0)})),_.get(Et).afterPreactivation=()=>(v(!0),V.closed?(0,S.of)(void 0):V),O.initialNavigation()}))))}}]).ɵproviders:[]]}const $c=new o.nKC("")},5260:(U,I,c)=>{"use strict";c.d(I,{fg:()=>ii,gB:()=>Vr});var o=c(3953);function m(z,ne,ee,Me,Ke,Ct,Dt){try{var mn=z[Ct](Dt),Xt=mn.value}catch(ar){return void ee(ar)}mn.done?ne(Xt):Promise.resolve(Xt).then(Me,Ke)}function T(z){return function(){var ne=this,ee=arguments;return new Promise((function(Me,Ke){var Ct=z.apply(ne,ee);function Dt(Xt){m(Ct,Me,Ke,Dt,mn,"next",Xt)}function mn(Xt){m(Ct,Me,Ke,Dt,mn,"throw",Xt)}Dt(void 0)}))}}var P=c(7673),b=c(1985),S=c(6648),x=c(274),L=c(5964),j=c(6354),R=c(980),G=c(5558),oe=c(177);class ve{}class he{}class we{constructor(ne){this.normalizedNames=new Map,this.lazyUpdate=null,ne?"string"==typeof ne?this.lazyInit=()=>{this.headers=new Map,ne.split("\n").forEach((ee=>{const Me=ee.indexOf(":");if(Me>0){const Ke=ee.slice(0,Me),Ct=Ke.toLowerCase(),Dt=ee.slice(Me+1).trim();this.maybeSetNormalizedName(Ke,Ct),this.headers.has(Ct)?this.headers.get(Ct).push(Dt):this.headers.set(Ct,[Dt])}}))}:typeof Headers<"u"&&ne instanceof Headers?(this.headers=new Map,ne.forEach(((ee,Me)=>{this.setHeaderEntries(Me,ee)}))):this.lazyInit=()=>{this.headers=new Map,Object.entries(ne).forEach((([ee,Me])=>{this.setHeaderEntries(ee,Me)}))}:this.headers=new Map}has(ne){return this.init(),this.headers.has(ne.toLowerCase())}get(ne){this.init();const ee=this.headers.get(ne.toLowerCase());return ee&&ee.length>0?ee[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(ne){return this.init(),this.headers.get(ne.toLowerCase())||null}append(ne,ee){return this.clone({name:ne,value:ee,op:"a"})}set(ne,ee){return this.clone({name:ne,value:ee,op:"s"})}delete(ne,ee){return this.clone({name:ne,value:ee,op:"d"})}maybeSetNormalizedName(ne,ee){this.normalizedNames.has(ee)||this.normalizedNames.set(ee,ne)}init(){this.lazyInit&&(this.lazyInit instanceof we?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach((ne=>this.applyUpdate(ne))),this.lazyUpdate=null))}copyFrom(ne){ne.init(),Array.from(ne.headers.keys()).forEach((ee=>{this.headers.set(ee,ne.headers.get(ee)),this.normalizedNames.set(ee,ne.normalizedNames.get(ee))}))}clone(ne){const ee=new we;return ee.lazyInit=this.lazyInit&&this.lazyInit instanceof we?this.lazyInit:this,ee.lazyUpdate=(this.lazyUpdate||[]).concat([ne]),ee}applyUpdate(ne){const ee=ne.name.toLowerCase();switch(ne.op){case"a":case"s":let Me=ne.value;if("string"==typeof Me&&(Me=[Me]),0===Me.length)return;this.maybeSetNormalizedName(ne.name,ee);const Ke=("a"===ne.op?this.headers.get(ee):void 0)||[];Ke.push(...Me),this.headers.set(ee,Ke);break;case"d":const Ct=ne.value;if(Ct){let Dt=this.headers.get(ee);if(!Dt)return;Dt=Dt.filter((mn=>-1===Ct.indexOf(mn))),0===Dt.length?(this.headers.delete(ee),this.normalizedNames.delete(ee)):this.headers.set(ee,Dt)}else this.headers.delete(ee),this.normalizedNames.delete(ee)}}setHeaderEntries(ne,ee){const Me=(Array.isArray(ee)?ee:[ee]).map((Ct=>Ct.toString())),Ke=ne.toLowerCase();this.headers.set(Ke,Me),this.maybeSetNormalizedName(ne,Ke)}forEach(ne){this.init(),Array.from(this.normalizedNames.keys()).forEach((ee=>ne(this.normalizedNames.get(ee),this.headers.get(ee))))}}class He{encodeKey(ne){return Le(ne)}encodeValue(ne){return Le(ne)}decodeKey(ne){return decodeURIComponent(ne)}decodeValue(ne){return decodeURIComponent(ne)}}const ct=/%(\d[a-f0-9])/gi,Qe={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Le(z){return encodeURIComponent(z).replace(ct,((ne,ee)=>Qe[ee]??ne))}function Oe(z){return`${z}`}class nt{constructor(ne={}){if(this.updates=null,this.cloneFrom=null,this.encoder=ne.encoder||new He,ne.fromString){if(ne.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Fe(z,ne){const ee=new Map;return z.length>0&&z.replace(/^\?/,"").split("&").forEach((Ke=>{const Ct=Ke.indexOf("="),[Dt,mn]=-1==Ct?[ne.decodeKey(Ke),""]:[ne.decodeKey(Ke.slice(0,Ct)),ne.decodeValue(Ke.slice(Ct+1))],Xt=ee.get(Dt)||[];Xt.push(mn),ee.set(Dt,Xt)})),ee}(ne.fromString,this.encoder)}else ne.fromObject?(this.map=new Map,Object.keys(ne.fromObject).forEach((ee=>{const Me=ne.fromObject[ee],Ke=Array.isArray(Me)?Me.map(Oe):[Oe(Me)];this.map.set(ee,Ke)}))):this.map=null}has(ne){return this.init(),this.map.has(ne)}get(ne){this.init();const ee=this.map.get(ne);return ee?ee[0]:null}getAll(ne){return this.init(),this.map.get(ne)||null}keys(){return this.init(),Array.from(this.map.keys())}append(ne,ee){return this.clone({param:ne,value:ee,op:"a"})}appendAll(ne){const ee=[];return Object.keys(ne).forEach((Me=>{const Ke=ne[Me];Array.isArray(Ke)?Ke.forEach((Ct=>{ee.push({param:Me,value:Ct,op:"a"})})):ee.push({param:Me,value:Ke,op:"a"})})),this.clone(ee)}set(ne,ee){return this.clone({param:ne,value:ee,op:"s"})}delete(ne,ee){return this.clone({param:ne,value:ee,op:"d"})}toString(){return this.init(),this.keys().map((ne=>{const ee=this.encoder.encodeKey(ne);return this.map.get(ne).map((Me=>ee+"="+this.encoder.encodeValue(Me))).join("&")})).filter((ne=>""!==ne)).join("&")}clone(ne){const ee=new nt({encoder:this.encoder});return ee.cloneFrom=this.cloneFrom||this,ee.updates=(this.updates||[]).concat(ne),ee}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach((ne=>this.map.set(ne,this.cloneFrom.map.get(ne)))),this.updates.forEach((ne=>{switch(ne.op){case"a":case"s":const ee=("a"===ne.op?this.map.get(ne.param):void 0)||[];ee.push(Oe(ne.value)),this.map.set(ne.param,ee);break;case"d":if(void 0===ne.value){this.map.delete(ne.param);break}{let Me=this.map.get(ne.param)||[];const Ke=Me.indexOf(Oe(ne.value));-1!==Ke&&Me.splice(Ke,1),Me.length>0?this.map.set(ne.param,Me):this.map.delete(ne.param)}}})),this.cloneFrom=this.updates=null)}}class Je{constructor(){this.map=new Map}set(ne,ee){return this.map.set(ne,ee),this}get(ne){return this.map.has(ne)||this.map.set(ne,ne.defaultValue()),this.map.get(ne)}delete(ne){return this.map.delete(ne),this}has(ne){return this.map.has(ne)}keys(){return this.map.keys()}}function wt(z){return typeof ArrayBuffer<"u"&&z instanceof ArrayBuffer}function me(z){return typeof Blob<"u"&&z instanceof Blob}function ie(z){return typeof FormData<"u"&&z instanceof FormData}class H{constructor(ne,ee,Me,Ke){let Ct;if(this.url=ee,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=ne.toUpperCase(),function qe(z){switch(z){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Ke?(this.body=void 0!==Me?Me:null,Ct=Ke):Ct=Me,Ct&&(this.reportProgress=!!Ct.reportProgress,this.withCredentials=!!Ct.withCredentials,Ct.responseType&&(this.responseType=Ct.responseType),Ct.headers&&(this.headers=Ct.headers),Ct.context&&(this.context=Ct.context),Ct.params&&(this.params=Ct.params),this.transferCache=Ct.transferCache),this.headers??=new we,this.context??=new Je,this.params){const Dt=this.params.toString();if(0===Dt.length)this.urlWithParams=ee;else{const mn=ee.indexOf("?");this.urlWithParams=ee+(-1===mn?"?":mn<ee.length-1?"&":"")+Dt}}else this.params=new nt,this.urlWithParams=ee}serializeBody(){return null===this.body?null:"string"==typeof this.body||wt(this.body)||me(this.body)||ie(this.body)||function Z(z){return typeof URLSearchParams<"u"&&z instanceof URLSearchParams}(this.body)?this.body:this.body instanceof nt?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||ie(this.body)?null:me(this.body)?this.body.type||null:wt(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof nt?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(ne={}){const ee=ne.method||this.method,Me=ne.url||this.url,Ke=ne.responseType||this.responseType,Ct=ne.transferCache??this.transferCache,Dt=void 0!==ne.body?ne.body:this.body,mn=ne.withCredentials??this.withCredentials,Xt=ne.reportProgress??this.reportProgress;let ar=ne.headers||this.headers,Or=ne.params||this.params;const vr=ne.context??this.context;return void 0!==ne.setHeaders&&(ar=Object.keys(ne.setHeaders).reduce(((Pr,pr)=>Pr.set(pr,ne.setHeaders[pr])),ar)),ne.setParams&&(Or=Object.keys(ne.setParams).reduce(((Pr,pr)=>Pr.set(pr,ne.setParams[pr])),Or)),new H(ee,Me,Dt,{params:Or,headers:ar,context:vr,reportProgress:Xt,responseType:Ke,withCredentials:mn,transferCache:Ct})}}var ue=function(z){return z[z.Sent=0]="Sent",z[z.UploadProgress=1]="UploadProgress",z[z.ResponseHeader=2]="ResponseHeader",z[z.DownloadProgress=3]="DownloadProgress",z[z.Response=4]="Response",z[z.User=5]="User",z}(ue||{});class xe{constructor(ne,ee=200,Me="OK"){this.headers=ne.headers||new we,this.status=void 0!==ne.status?ne.status:ee,this.statusText=ne.statusText||Me,this.url=ne.url||null,this.ok=this.status>=200&&this.status<300}}class lt extends xe{constructor(ne={}){super(ne),this.type=ue.ResponseHeader}clone(ne={}){return new lt({headers:ne.headers||this.headers,status:void 0!==ne.status?ne.status:this.status,statusText:ne.statusText||this.statusText,url:ne.url||this.url||void 0})}}class We extends xe{constructor(ne={}){super(ne),this.type=ue.Response,this.body=void 0!==ne.body?ne.body:null}clone(ne={}){return new We({body:void 0!==ne.body?ne.body:this.body,headers:ne.headers||this.headers,status:void 0!==ne.status?ne.status:this.status,statusText:ne.statusText||this.statusText,url:ne.url||this.url||void 0})}}class Ve extends xe{constructor(ne){super(ne,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${ne.url||"(unknown url)"}`:`Http failure response for ${ne.url||"(unknown url)"}: ${ne.status} ${ne.statusText}`,this.error=ne.error||null}}function Bt(z,ne){return{body:ne,headers:z.headers,context:z.context,observe:z.observe,params:z.params,reportProgress:z.reportProgress,responseType:z.responseType,withCredentials:z.withCredentials,transferCache:z.transferCache}}let en=(()=>{class z{constructor(ee){this.handler=ee}request(ee,Me,Ke={}){let Ct;if(ee instanceof H)Ct=ee;else{let Xt,ar;Xt=Ke.headers instanceof we?Ke.headers:new we(Ke.headers),Ke.params&&(ar=Ke.params instanceof nt?Ke.params:new nt({fromObject:Ke.params})),Ct=new H(ee,Me,void 0!==Ke.body?Ke.body:null,{headers:Xt,context:Ke.context,params:ar,reportProgress:Ke.reportProgress,responseType:Ke.responseType||"json",withCredentials:Ke.withCredentials,transferCache:Ke.transferCache})}const Dt=(0,P.of)(Ct).pipe((0,x.H)((Xt=>this.handler.handle(Xt))));if(ee instanceof H||"events"===Ke.observe)return Dt;const mn=Dt.pipe((0,L.p)((Xt=>Xt instanceof We)));switch(Ke.observe||"body"){case"body":switch(Ct.responseType){case"arraybuffer":return mn.pipe((0,j.T)((Xt=>{if(null!==Xt.body&&!(Xt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Xt.body})));case"blob":return mn.pipe((0,j.T)((Xt=>{if(null!==Xt.body&&!(Xt.body instanceof Blob))throw new Error("Response is not a Blob.");return Xt.body})));case"text":return mn.pipe((0,j.T)((Xt=>{if(null!==Xt.body&&"string"!=typeof Xt.body)throw new Error("Response is not a string.");return Xt.body})));default:return mn.pipe((0,j.T)((Xt=>Xt.body)))}case"response":return mn;default:throw new Error(`Unreachable: unhandled observe type ${Ke.observe}}`)}}delete(ee,Me={}){return this.request("DELETE",ee,Me)}get(ee,Me={}){return this.request("GET",ee,Me)}head(ee,Me={}){return this.request("HEAD",ee,Me)}jsonp(ee,Me){return this.request("JSONP",ee,{params:(new nt).append(Me,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(ee,Me={}){return this.request("OPTIONS",ee,Me)}patch(ee,Me,Ke={}){return this.request("PATCH",ee,Bt(Ke,Me))}post(ee,Me,Ke={}){return this.request("POST",ee,Bt(Ke,Me))}put(ee,Me,Ke={}){return this.request("PUT",ee,Bt(Ke,Me))}static#e=this.ɵfac=function(Me){return new(Me||z)(o.KVO(ve))};static#t=this.ɵprov=o.jDH({token:z,factory:z.ɵfac})}return z})();const pn=/^\)\]\}',?\n/;function Ln(z){if(z.url)return z.url;const ne="X-Request-URL".toLocaleLowerCase();return z.headers.get(ne)}let Jn=(()=>{class z{constructor(){this.fetchImpl=(0,o.WQX)(Vn,{optional:!0})?.fetch??((...ee)=>globalThis.fetch(...ee)),this.ngZone=(0,o.WQX)(o.SKi)}handle(ee){return new b.c((Me=>{const Ke=new AbortController;return this.doRequest(ee,Ke.signal,Me).then(Un,(Ct=>Me.error(new Ve({error:Ct})))),()=>Ke.abort()}))}doRequest(ee,Me,Ke){var Ct=this;return T((function*(){const Dt=Ct.createRequestInit(ee);let mn;try{const kr=Ct.ngZone.runOutsideAngular((()=>Ct.fetchImpl(ee.urlWithParams,{signal:Me,...Dt})));(function et(z){z.then(Un,Un)})(kr),Ke.next({type:ue.Sent}),mn=yield kr}catch(kr){return void Ke.error(new Ve({error:kr,status:kr.status??0,statusText:kr.statusText,url:ee.urlWithParams,headers:kr.headers}))}const Xt=new we(mn.headers),ar=mn.statusText,Or=Ln(mn)??ee.urlWithParams;let vr=mn.status,Pr=null;if(ee.reportProgress&&Ke.next(new lt({headers:Xt,status:vr,statusText:ar,url:Or})),mn.body){const kr=mn.headers.get("content-length"),Mn=[],Kn=mn.body.getReader();let Ei,Xn,$n=0;const wi=typeof Zone<"u"&&Zone.current;yield Ct.ngZone.runOutsideAngular(T((function*(){for(;;){const{done:bi,value:li}=yield Kn.read();if(bi)break;if(Mn.push(li),$n+=li.length,ee.reportProgress){Xn="text"===ee.responseType?(Xn??"")+(Ei??=new TextDecoder).decode(li,{stream:!0}):void 0;const ki=()=>Ke.next({type:ue.DownloadProgress,total:kr?+kr:void 0,loaded:$n,partialText:Xn});wi?wi.run(ki):ki()}}})));const Gr=Ct.concatChunks(Mn,$n);try{const bi=mn.headers.get("Content-Type")??"";Pr=Ct.parseBody(ee,Gr,bi)}catch(bi){return void Ke.error(new Ve({error:bi,headers:new we(mn.headers),status:mn.status,statusText:mn.statusText,url:Ln(mn)??ee.urlWithParams}))}}0===vr&&(vr=Pr?200:0),vr>=200&&vr<300?(Ke.next(new We({body:Pr,headers:Xt,status:vr,statusText:ar,url:Or})),Ke.complete()):Ke.error(new Ve({error:Pr,headers:Xt,status:vr,statusText:ar,url:Or}))}))()}parseBody(ee,Me,Ke){switch(ee.responseType){case"json":const Ct=(new TextDecoder).decode(Me).replace(pn,"");return""===Ct?null:JSON.parse(Ct);case"text":return(new TextDecoder).decode(Me);case"blob":return new Blob([Me],{type:Ke});case"arraybuffer":return Me.buffer}}createRequestInit(ee){const Me={},Ke=ee.withCredentials?"include":void 0;if(ee.headers.forEach(((Ct,Dt)=>Me[Ct]=Dt.join(","))),ee.headers.has("Accept")||(Me.Accept="application/json, text/plain, */*"),!ee.headers.has("Content-Type")){const Ct=ee.detectContentTypeHeader();null!==Ct&&(Me["Content-Type"]=Ct)}return{body:ee.serializeBody(),method:ee.method,headers:Me,credentials:Ke}}concatChunks(ee,Me){const Ke=new Uint8Array(Me);let Ct=0;for(const Dt of ee)Ke.set(Dt,Ct),Ct+=Dt.length;return Ke}static#e=this.ɵfac=function(Me){return new(Me||z)};static#t=this.ɵprov=o.jDH({token:z,factory:z.ɵfac})}return z})();class Vn{}function Un(){}function gt(z,ne){return ne(z)}function Ie(z,ne){return(ee,Me)=>ne.intercept(ee,{handle:Ke=>z(Ke,Me)})}const Ze=new o.nKC(""),yn=new o.nKC(""),zn=new o.nKC(""),_r=new o.nKC("",{providedIn:"root",factory:()=>!0});function Gn(){let z=null;return(ne,ee)=>{null===z&&(z=((0,o.WQX)(Ze,{optional:!0})??[]).reduceRight(Ie,gt));const Me=(0,o.WQX)(o.TgB);if((0,o.WQX)(_r)){const Ct=Me.add();return z(ne,ee).pipe((0,R.j)((()=>Me.remove(Ct))))}return z(ne,ee)}}let Sr=(()=>{class z extends ve{constructor(ee,Me){super(),this.backend=ee,this.injector=Me,this.chain=null,this.pendingTasks=(0,o.WQX)(o.TgB),this.contributeToStability=(0,o.WQX)(_r)}handle(ee){if(null===this.chain){const Me=Array.from(new Set([...this.injector.get(yn),...this.injector.get(zn,[])]));this.chain=Me.reduceRight(((Ke,Ct)=>function tt(z,ne,ee){return(Me,Ke)=>(0,o.N4e)(ee,(()=>ne(Me,(Ct=>z(Ct,Ke)))))}(Ke,Ct,this.injector)),gt)}if(this.contributeToStability){const Me=this.pendingTasks.add();return this.chain(ee,(Ke=>this.backend.handle(Ke))).pipe((0,R.j)((()=>this.pendingTasks.remove(Me))))}return this.chain(ee,(Me=>this.backend.handle(Me)))}static#e=this.ɵfac=function(Me){return new(Me||z)(o.KVO(he),o.KVO(o.uvJ))};static#t=this.ɵprov=o.jDH({token:z,factory:z.ɵfac})}return z})();const re=/^\)\]\}',?\n/;let Se=(()=>{class z{constructor(ee){this.xhrFactory=ee}handle(ee){if("JSONP"===ee.method)throw new o.wOt(-2800,!1);const Me=this.xhrFactory;return(Me.ɵloadImpl?(0,S.H)(Me.ɵloadImpl()):(0,P.of)(null)).pipe((0,G.n)((()=>new b.c((Ct=>{const Dt=Me.build();if(Dt.open(ee.method,ee.urlWithParams),ee.withCredentials&&(Dt.withCredentials=!0),ee.headers.forEach(((Mn,Kn)=>Dt.setRequestHeader(Mn,Kn.join(",")))),ee.headers.has("Accept")||Dt.setRequestHeader("Accept","application/json, text/plain, */*"),!ee.headers.has("Content-Type")){const Mn=ee.detectContentTypeHeader();null!==Mn&&Dt.setRequestHeader("Content-Type",Mn)}if(ee.responseType){const Mn=ee.responseType.toLowerCase();Dt.responseType="json"!==Mn?Mn:"text"}const mn=ee.serializeBody();let Xt=null;const ar=()=>{if(null!==Xt)return Xt;const Mn=Dt.statusText||"OK",Kn=new we(Dt.getAllResponseHeaders()),$n=function ae(z){return"responseURL"in z&&z.responseURL?z.responseURL:/^X-Request-URL:/m.test(z.getAllResponseHeaders())?z.getResponseHeader("X-Request-URL"):null}(Dt)||ee.url;return Xt=new lt({headers:Kn,status:Dt.status,statusText:Mn,url:$n}),Xt},Or=()=>{let{headers:Mn,status:Kn,statusText:$n,url:Ei}=ar(),Xn=null;204!==Kn&&(Xn=typeof Dt.response>"u"?Dt.responseText:Dt.response),0===Kn&&(Kn=Xn?200:0);let wi=Kn>=200&&Kn<300;if("json"===ee.responseType&&"string"==typeof Xn){const Gr=Xn;Xn=Xn.replace(re,"");try{Xn=""!==Xn?JSON.parse(Xn):null}catch(bi){Xn=Gr,wi&&(wi=!1,Xn={error:bi,text:Xn})}}wi?(Ct.next(new We({body:Xn,headers:Mn,status:Kn,statusText:$n,url:Ei||void 0})),Ct.complete()):Ct.error(new Ve({error:Xn,headers:Mn,status:Kn,statusText:$n,url:Ei||void 0}))},vr=Mn=>{const{url:Kn}=ar(),$n=new Ve({error:Mn,status:Dt.status||0,statusText:Dt.statusText||"Unknown Error",url:Kn||void 0});Ct.error($n)};let Pr=!1;const pr=Mn=>{Pr||(Ct.next(ar()),Pr=!0);let Kn={type:ue.DownloadProgress,loaded:Mn.loaded};Mn.lengthComputable&&(Kn.total=Mn.total),"text"===ee.responseType&&Dt.responseText&&(Kn.partialText=Dt.responseText),Ct.next(Kn)},kr=Mn=>{let Kn={type:ue.UploadProgress,loaded:Mn.loaded};Mn.lengthComputable&&(Kn.total=Mn.total),Ct.next(Kn)};return Dt.addEventListener("load",Or),Dt.addEventListener("error",vr),Dt.addEventListener("timeout",vr),Dt.addEventListener("abort",vr),ee.reportProgress&&(Dt.addEventListener("progress",pr),null!==mn&&Dt.upload&&Dt.upload.addEventListener("progress",kr)),Dt.send(mn),Ct.next({type:ue.Sent}),()=>{Dt.removeEventListener("error",vr),Dt.removeEventListener("abort",vr),Dt.removeEventListener("load",Or),Dt.removeEventListener("timeout",vr),ee.reportProgress&&(Dt.removeEventListener("progress",pr),null!==mn&&Dt.upload&&Dt.upload.removeEventListener("progress",kr)),Dt.readyState!==Dt.DONE&&Dt.abort()}})))))}static#e=this.ɵfac=function(Me){return new(Me||z)(o.KVO(oe.N0))};static#t=this.ɵprov=o.jDH({token:z,factory:z.ɵfac})}return z})();const _e=new o.nKC(""),ut=new o.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Nt=new o.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class At{}let Ee=(()=>{class z{constructor(ee,Me,Ke){this.doc=ee,this.platform=Me,this.cookieName=Ke,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const ee=this.doc.cookie||"";return ee!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,oe._b)(ee,this.cookieName),this.lastCookieString=ee),this.lastToken}static#e=this.ɵfac=function(Me){return new(Me||z)(o.KVO(oe.qQ),o.KVO(o.Agw),o.KVO(ut))};static#t=this.ɵprov=o.jDH({token:z,factory:z.ɵfac})}return z})();function fe(z,ne){const ee=z.url.toLowerCase();if(!(0,o.WQX)(_e)||"GET"===z.method||"HEAD"===z.method||ee.startsWith("http://")||ee.startsWith("https://"))return ne(z);const Me=(0,o.WQX)(At).getToken(),Ke=(0,o.WQX)(Nt);return null!=Me&&!z.headers.has(Ke)&&(z=z.clone({headers:z.headers.set(Ke,Me)})),ne(z)}var de=function(z){return z[z.Interceptors=0]="Interceptors",z[z.LegacyInterceptors=1]="LegacyInterceptors",z[z.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",z[z.NoXsrfProtection=3]="NoXsrfProtection",z[z.JsonpSupport=4]="JsonpSupport",z[z.RequestsMadeViaParent=5]="RequestsMadeViaParent",z[z.Fetch=6]="Fetch",z}(de||{});function mt(...z){const ne=[en,Se,Sr,{provide:ve,useExisting:Sr},{provide:he,useFactory:()=>(0,o.WQX)(Jn,{optional:!0})??(0,o.WQX)(Se)},{provide:yn,useValue:fe,multi:!0},{provide:_e,useValue:!0},{provide:At,useClass:Ee}];for(const ee of z)ne.push(...ee.ɵproviders);return(0,o.EmA)(ne)}const tn=new o.nKC("");function ln(){return function Be(z,ne){return{"ɵkind":z,"ɵproviders":ne}}(de.LegacyInterceptors,[{provide:tn,useFactory:Gn},{provide:yn,useExisting:tn,multi:!0}])}var bt=c(7343),$e=c(6884);const on={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 K{constructor(ne){this.unprotectedPaths=["/resetpass","/invitation"],this.protocol=ne.protocol;let ee=ne.port;ee||(function yt(z){return/^https:$/i.test(z)}(this.protocol)?ee="443":function Wt(z){return/^http:$/i.test(z)}(this.protocol)&&(ee="80")),this.domain=ne.hostname,this.port=parseInt(ee,10),this.path=ne.pathname;const Me=this.path.match(/((?:\/cpsess\d+)?)(?:\/([^\/]+))?/)||[];if(this.applicationName=/^whm\./.test(this.domain)?on[2087]:/^cpanel\./.test(this.domain)?on[2083]:/^webmail\./.test(this.domain)?on[2095]:on[ee.toString()]||on[Me[2]]||"whostmgr",this.securityToken=Me[1]||"",this.applicationPath=this.securityToken?this.path.replace(this.securityToken,""):this.path,this.theme="",!this.isUnprotected&&(this.isCpanel||this.isWebmail)){const Ct=this.path.split("/");this.theme=Ct[3]}this.themePath="";let Ke=this.securityToken+"/";this.isUnprotected?Ke="/":this.isCpanel?Ke+="frontend/"+this.theme+"/":this.isWebmail?Ke+="webmail/"+this.theme+"/":this.isOther&&(Ke="/"),this.themePath=Ke,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 rn(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(ne){return this.themePath+ne}buildFullPath(ne){return this.protocol+"//"+this.domain+":"+this.port+this.buildPath(ne)}buildTokenPath(ne){return this.protocol+"//"+this.domain+":"+this.port+this.securityToken+ne}}class Ge{get pathname(){return window.location.pathname}get port(){return window.location.port}get hostname(){return window.location.hostname}get protocol(){return window.location.protocol}}var $=c(9261),ce=c.n($),ot=c(5972),dn=c.n(ot),nn=function(z){return z[z.Error=0]="Error",z[z.Warning=1]="Warning",z[z.Information=2]="Information",z[z.Unknown=3]="Unknown",z}(nn||{});const tr={isPaged:!1,isFiltered:!1,record:0,page:0,pageSize:0,totalRecords:0,totalPages:0,recordsBeforeFilter:0,batch:!1,properties:{}};class Zr{constructor(ne,ee){if(this.status=0,this.messages=[],this.meta=function Qr(z){return JSON.parse(JSON.stringify(z))}(tr),this.options={keepUnprocessedResponse:!1},ce()(ne)||dn()(ne))throw new Error("The response was unexpectedly undefined or null");ee&&(this.options=ee),this.options.keepUnprocessedResponse&&(this.raw=JSON.parse(JSON.stringify(ne)))}get success(){return this.status>0}get failed(){return 0===this.status}_getMessages(ne){return this.messages.filter((ee=>ee.type===ne))}get errors(){return this._getMessages(nn.Error)}get warnings(){return this._getMessages(nn.Warning)}get infoMessages(){return this._getMessages(nn.Information)}_hasMessages(ne){return this.messages.filter((ee=>ee.type===ne)).length>0}get hasErrors(){return this._hasMessages(nn.Error)}get hasWarnings(){return this._hasMessages(nn.Warning)}get hasInfoMessages(){return this._hasMessages(nn.Information)}get isPaged(){return this.meta.isPaged}get isFiltered(){return this.meta.isFiltered}}class Lr{constructor(ne){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={},ne.chunk&&(this.isPaged=!0,this.record=parseInt(ne.chunk.start,10)||0,this.page=parseInt(ne.chunk.current,10)||0,this.pageSize=parseInt(ne.chunk.size,10)||0,this.totalPages=parseInt(ne.chunk.chunks,10)||0,this.totalRecords=parseInt(ne.chunk.records,10)||0),ne.filter&&(this.isFiltered=!0,this.recordsBeforeFilter=parseInt(ne.filter.filtered,10)||0);const ee=new Set(["paginate","filter"]);Object.keys(ne).filter((Me=>!ee.has(Me))).forEach((Me=>{this.properties[Me]=ne[Me]}))}}class br extends Zr{_parseStatus(ne){if(this.status=0,typeof ne.result>"u")throw new Error("The response should have a numeric status property indicating the API succeeded (>0) or failed (=0)");this.status=parseInt(ne.result,10)}_parseMessages(ne){if(!ne.result){const ee=[ne.reason];ee&&ee.length&&ee.forEach((Me=>{this.messages.push({type:nn.Error,message:Me})}))}}_reduce_list_data(ne){if("object"==typeof ne&&!(ne instanceof Array)){const ee=Object.keys(ne);if(1===ee.length){const Me=ne[ee[0]];Me?Me instanceof Array&&(ne=Me):ne=[]}}return ne}constructor(ne,ee){if(super(ne,ee),!ne)throw new Error("Response object should be defined.");ne.metadata&&(this._parseStatus(ne.metadata),this._parseMessages(ne.metadata),this.meta=new Lr(ne.metadata)),this.data=this._reduce_list_data(ne.data)}}let ii=(()=>{class z{static#e=this.ɵfac=function(Me){return new(Me||z)};static#t=this.ɵmod=o.$C({type:z});static#n=this.ɵinj=o.G2t({providers:[mt(ln())]})}return z})(),Vr=(()=>{class z{constructor(ee){this.http=ee}get(ee){const Me=ee.generate({verb:bt.o.GET,encoder:new $e.CY}),Ke=this.packageUrl(Me);return this.http.get(Ke,{headers:this.packageHeaders(Me)}).pipe((0,j.T)(this.packageResponseHandler(Ke)))}post(ee){const Me=ee.generate(),Ke=this.packageUrl(Me);return this.http.post(Ke,Me.body,{headers:this.packageHeaders(Me)}).pipe((0,j.T)(this.packageResponseHandler(Ke)))}packageHeaders(ee){const Me={};return ee.headers.forEach((Ke=>{Me[Ke.name]=Ke.value})),new we(Me)}packageUrl(ee){return new K(new Ge).buildTokenPath(ee.url)}packageResponseHandler(ee){return Me=>{const Ke=new br(Me);return Ke.meta.properties.url=ee,Ke}}static#e=this.ɵfac=function(Me){return new(Me||z)(o.KVO(en))};static#t=this.ɵprov=o.jDH({token:z,factory:z.ɵfac,providedIn:"root"})}return z})()},8658:(U,I,c)=>{"use strict";c.d(I,{B:()=>b});var o=c(3953),m=c(6381);const T=new o.nKC("window"),P=S=>new m.h(S.CLDR,S.LEXICON);let b=(()=>{class S{static#e=this.ɵfac=function(j){return new(j||S)};static#t=this.ɵmod=o.$C({type:S});static#n=this.ɵinj=o.G2t({providers:[{provide:T,useValue:window},{provide:m.h,useFactory:P,deps:[T]}]})}return S})()},9490:(U,I,c)=>{"use strict";c.d(I,{Ab:()=>cn,CK:()=>Ot,GV:()=>fe,Jr:()=>Rt,ho:()=>Zt,jM:()=>q,pv:()=>ln,sb:()=>qt,uE:()=>ft});var o=c(3953),m=c(177),T=c(1413),P=c(5964),b=c(8658),S=c(6381),x=c(9969),L=c(728);const he=["header"],we=[[["","callout-heading",""]],"*"],be=["[callout-heading]","*"];function He(K,Ge){if(1&K){const $=o.RV6();o.j41(0,"button",4),o.bIt("click",(function(){o.eBV($);const ot=o.XpG();return o.Njj(ot.closeClicked())})),o.nrm(1,"i",5),o.k0s()}if(2&K){const $=o.XpG();o.BMQ("id",$.buttonID)}}const Le=(K,Ge,$)=>({"switch-on":K,"switch-off":Ge,disabled:$}),Oe=K=>({disabled:K}),nt=(K,Ge)=>({"switch-on":K,"switch-off":Ge});function It(K,Ge){if(1&K&&(o.j41(0,"label",10)(1,"span",11),o.EFF(2),o.k0s()()),2&K){const $=o.XpG();o.FS9("for",$.toggleID),o.BMQ("aria-label",$.labelValue),o.R7$(),o.BMQ("id",$.onTextID),o.R7$(),o.SpI(" ",$.isToggleOff?$.offText:$.onText," ")}}function Je(K,Ge){if(1&K&&o.nrm(0,"i",12),2&K){const $=o.XpG();o.BMQ("id",$.leftSpinnerID)}}function qe(K,Ge){if(1&K&&(o.j41(0,"label",13)(1,"span",14),o.EFF(2),o.k0s()()),2&K){const $=o.XpG();o.FS9("for",$.toggleID),o.BMQ("aria-label",$.labelValue),o.R7$(),o.BMQ("id",$.offTextID),o.R7$(),o.SpI(" ",$.isToggleOff?$.offText:$.onText," ")}}function wt(K,Ge){if(1&K&&o.nrm(0,"i",15),2&K){const $=o.XpG();o.BMQ("id",$.rightSpinnerID)}}function me(K,Ge){if(1&K){const $=o.RV6();o.j41(0,"button",9),o.bIt("click",(function(){o.eBV($);const ot=o.XpG(2);return o.Njj(ot.fireClose())})),o.j41(1,"span"),o.EFF(2,"×"),o.k0s()()}if(2&K){const $=o.XpG(2);o.Y8G("id",$.closeButtonID)("title",$.closeLabel),o.BMQ("aria-label",$.closeLabel),o.R7$(),o.BMQ("aria-hidden",!0)}}function ie(K,Ge){if(1&K){const $=o.RV6();o.j41(0,"button",10),o.bIt("click",(function(){o.eBV($);const ot=o.XpG(2);return o.Njj(ot.fireToggleMore())})),o.EFF(1),o.k0s()}if(2&K){const $=o.XpG(2);o.Y8G("id",$.moreButtonID),o.R7$(),o.SpI(" ",$.moreLabel," ")}}function Z(K,Ge){if(1&K&&(o.j41(0,"strong",11),o.EFF(1),o.k0s()),2&K){const $=o.XpG(2);o.R7$(),o.JRh($.label)}}function H(K,Ge){if(1&K&&(o.j41(0,"span",12),o.EFF(1),o.k0s()),2&K){const $=o.XpG(2);o.Y8G("id",$.textMessageID),o.R7$(),o.SpI(" ",$.message," ")}}function ue(K,Ge){if(1&K&&(o.j41(0,"li")(1,"span",12),o.EFF(2),o.k0s()()),2&K){const $=Ge.$implicit,ce=Ge.index,ot=o.XpG(3);o.R7$(),o.FS9("id",ot.textListID+"_"+ce),o.R7$(),o.SpI(" ",$," ")}}function xe(K,Ge){if(1&K&&(o.j41(0,"ul",13),o.DNE(1,ue,3,2,"li",14),o.k0s()),2&K){const $=o.XpG(2);o.R7$(),o.Y8G("ngForOf",$.alert.list)}}function lt(K,Ge){if(1&K&&(o.j41(0,"div",1),o.DNE(1,me,3,4,"button",2)(2,ie,2,2,"button",3),o.nrm(3,"span"),o.j41(4,"div",4),o.DNE(5,Z,2,1,"strong",5),o.j41(6,"span",6),o.DNE(7,H,2,2,"span",7),o.k0s(),o.DNE(8,xe,2,1,"ul",8),o.k0s()()),2&K){const $=o.XpG();o.ZvI("alert alert-",$.type," ng-hide"),o.Y8G("@openClose",$.animationClass),o.R7$(),o.Y8G("ngIf",$.showCloseButton),o.R7$(),o.Y8G("ngIf",$.showMoreButton),o.R7$(),o.HbH($.icon),o.BMQ("aria-hidden",!0),o.R7$(2),o.Y8G("ngIf",$.hasLabel),o.R7$(2),o.Y8G("ngIf",$.message),o.R7$(),o.Y8G("ngIf",$.alert&&$.alert.list&&$.alert.list.length)}}function We(K,Ge){if(1&K){const $=o.RV6();o.j41(0,"div",6)(1,"cp-alert",7),o.bIt("close",(function(){const ot=o.eBV($).$implicit,dn=o.XpG();return o.Njj(dn.alertClosed(ot))})),o.k0s()()}if(2&K){const $=Ge.$implicit;o.R7$(),o.Y8G("alert",$)}}function Ve(K,Ge){if(1&K&&o.nrm(0,"div",8),2&K){const $=o.XpG();o.Y8G("ngClass",$.positionClasses)}}class Sr{static#e=this.defaultShowMore=!1;static#t=this.defaultAutoClosePeriod=0;static#n=this.defaultOptions={autoClosePeriod:Sr.defaultAutoClosePeriod,list:[]};constructor(Ge,$,ce=Sr.defaultOptions){this._message=Ge,this._type=$;const ot=ce.id?ce.id:Math.random().toString(36).substr(2,9);this._id=ot,this._closable=null==ce.isCloseable||ce.isCloseable,this._autoClosePeriod=ce.autoClosePeriod,this._list=ce.list,this._showMore=ce.showMore||Sr.defaultShowMore,this._ts=null==ce.createdOn?Date.now():ce.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(Ge){const{message:$,type:ce,...ot}=Ge;return new Sr($,ce,ot)}}var On=function(K){return K[K.error=0]="error",K[K.success=1]="success",K[K.warning=2]="warning",K[K.information=3]="information",K}(On||{}),gn=function(K){return K.add="add",K.remove="remove",K.clear="clear",K}(gn||{});let ft=(()=>{class K{static#e=this.defaultGroup="__DEFAULT__";static#t=this.defaultSuccessOptions={autoClosePeriod:1e4};constructor(){this._alertEventsSource=new T.B,this._alerts={},this.alertEvents=this._alertEventsSource.asObservable()}add($,ce=K.defaultGroup){this._alerts[ce]||(this._alerts[ce]=[]);const ot=$ instanceof Sr?$:Sr.makeAlert($);if(this.list(ce).push(ot),this._alertEventsSource.next({type:gn.add,group:ce,alert:ot}),(0,o.naY)())switch(ot.type){case On.error:console.error(ot.message,ot);break;case On.warning:console.warn(ot.message,ot);break;default:console.log(ot.message,ot)}return ot}success($,ce=K.defaultGroup){return this.add(new Sr($,On.success,K.defaultSuccessOptions),ce)}error($,ce=K.defaultGroup){return this.add({message:$,type:On.error},ce)}info($,ce=K.defaultGroup){return this.add({message:$,type:On.information},ce)}warn($,ce=K.defaultGroup){return this.add({message:$,type:On.warning},ce)}removeById($,ce=K.defaultGroup){const ot=this.list(ce),dn=ot.findIndex((nn=>nn.id===$),0);if(-1!==dn){const nn=ot[dn];ot.splice(dn,1),this._alertEventsSource.next({type:gn.remove,group:ce,alert:nn})}}clear($=K.defaultGroup){this._alerts[$]=[],this._alertEventsSource.next({type:gn.clear,group:$})}list($=K.defaultGroup){return null==this._alerts[$]&&(this._alerts[$]=[]),this._alerts[$]}static#n=this.ɵfac=function(ce){return new(ce||K)};static#r=this.ɵprov=o.jDH({token:K,factory:K.ɵfac,providedIn:"root"})}return K})();var De=function(K){return K.inline="inline",K.topLeft="top-left",K.topMiddle="top-middle",K.topRight="top-right",K.bottomLeft="bottom-left",K.bottomMiddle="bottom-middle",K.bottomRight="bottom-right",K.middleLeft="middle-left",K.middleMiddle="middle-middle",K.middleRight="middle-right",K}(De||{});const Xe=De.topRight,_t=De.topLeft;var Ee=function(K){return K.warnings="warnings",K.danger="danger",K.info="info",K.default="info",K}(Ee||{});let fe=(()=>{class K{constructor(){this.calloutType=Ee.default,this.closeable=!1,this.close=new o.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#e=this.ɵfac=function(ce){return new(ce||K)};static#t=this.ɵcmp=o.VBU({type:K,selectors:[["cp-callout"]],viewQuery:function(ce,ot){if(1&ce&&o.GBs(he,5),2&ce){let dn;o.mGM(dn=o.lsd())&&(ot.header=dn.first)}},inputs:{id:"id",calloutType:"calloutType",closeable:"closeable"},outputs:{close:"close"},ngContentSelectors:be,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(ce,ot){1&ce&&(o.NAR(we),o.j41(0,"div",1),o.DNE(1,He,2,1,"button",2),o.j41(2,"div",3,0),o.SdG(4),o.k0s(),o.j41(5,"div"),o.SdG(6,1),o.k0s()()),2&ce&&(o.ZvI("callout callout-",ot.calloutType,""),o.BMQ("aria-label",ot.calloutType),o.R7$(),o.Y8G("ngIf",ot.closeable),o.R7$(),o.BMQ("id",ot.headingID),o.R7$(3),o.BMQ("id",ot.contentID))},dependencies:[m.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 K})(),q=(()=>{class K{static#e=this.ɵfac=function(ce){return new(ce||K)};static#t=this.ɵmod=o.$C({type:K});static#n=this.ɵinj=o.G2t({imports:[m.MD]})}return K})();var ln=function(K){return K.toggleOn="toggleSwitchOn",K.toggleOff="toggleSwitchOff",K.toggleUpdating="toggleSwitchUpdating",K}(ln||{}),Rt=function(K){return K.left="left",K.right="right",K}(Rt||{});let Ot=(()=>{class K{constructor($){this.locale=$,this.onText="",this.offText="",this.isDisabled=!1,this.toggleStatus=new o.bkB,this._isToggleUpdating=!1,this._hasSpinner=!1}get isToggleOff(){return this._isToggleOffStatus}get hasSpinner(){return this._hasSpinner}get isToggleUpdating(){return this._isToggleUpdating}get labelValue(){return this.isDisabled?"disabled":this.isToggleOff?this.offText:this.onText}get leftLabelPosition(){return Rt.left}get rightLabelPosition(){return Rt.right}get isLTR(){return this.locale.isLtr}set toggleState($){switch(this._toggleState=$,$){case ln.toggleOn:this._isToggleOffStatus=!1,this._isToggleUpdating=!1;break;case ln.toggleOff:this._isToggleOffStatus=!0,this._isToggleUpdating=!1;break;case ln.toggleUpdating:this._isToggleUpdating=!0,this._hasSpinner=!0}}checkToggle($){this.isDisabled||this._isToggleUpdating||("click"===$.type?this.toggleStatus.emit($):"keyup"===$.type&&((13===$.keyCode||32===$.keyCode)&&this.toggleStatus.emit($),this.isLTR?37!==$.keyCode||this._isToggleOffStatus?39===$.keyCode&&this._isToggleOffStatus&&this.toggleStatus.emit($):this.toggleStatus.emit($):(37===$.keyCode&&this._isToggleOffStatus||39===$.keyCode&&!this._isToggleOffStatus)&&this.toggleStatus.emit($)))}isLabelVisible($){return!(!this.labelPosition||this._isToggleUpdating)&&(!(!this.labelPosition||$!==this.labelPosition)||void 0)}isSpinnerVisible($){return!(!(this.hasSpinner&&this.labelPosition&&this.isToggleUpdating)||this.isDisabled||$!==this.labelPosition)}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-toggle-switch`");this.toggleID=`${this.id}_toggle`,this.onTextID=`${this.id}_on_text`,this.offTextID=`${this.id}_off_text`,this.leftSpinnerID=`${this.id}_left_spinner`,this.rightSpinnerID=`${this.id}_right_spinner`}static#e=this.ɵfac=function(ce){return new(ce||K)(o.rXU(S.h))};static#t=this.ɵcmp=o.VBU({type:K,selectors:[["cp-toggle-switch"]],inputs:{id:"id",onText:"onText",offText:"offText",labelPosition:"labelPosition",isDisabled:"isDisabled",toggleState:"toggleState"},outputs:{toggleStatus:"toggleStatus"},decls:10,vars:19,consts:[["role","switch","tabindex","0",1,"toggle-switch-wrapper",3,"click","keyup","ngClass"],["class","toggle-switch-label-left",3,"for",4,"ngIf"],["class","fas fa-sync fa-spin spinner toggle-switch-updating-indicator toggle-switch-updating-indicator-left",4,"ngIf"],["attr.aria-label","toggle",1,"toggle-switch",3,"ngClass"],[1,"toggle-switch-animate",3,"ngClass"],[1,"switch-left"],[1,"knob"],[1,"switch-right"],["class","toggle-switch-label-right",3,"for",4,"ngIf"],["class","fas fa-sync fa-spin spinner toggle-switch-updating-indicator toggle-switch-updating-indicator-right",4,"ngIf"],[1,"toggle-switch-label-left",3,"for"],[1,"toggle-switch-text","toggle-switch-text-left"],[1,"fas","fa-sync","fa-spin","spinner","toggle-switch-updating-indicator","toggle-switch-updating-indicator-left"],[1,"toggle-switch-label-right",3,"for"],[1,"toggle-switch-text","toggle-switch-text-right"],[1,"fas","fa-sync","fa-spin","spinner","toggle-switch-updating-indicator","toggle-switch-updating-indicator-right"]],template:function(ce,ot){1&ce&&(o.j41(0,"div",0),o.bIt("click",(function(nn){return ot.checkToggle(nn)}))("keyup",(function(nn){return ot.checkToggle(nn)})),o.DNE(1,It,3,4,"label",1)(2,Je,1,1,"i",2),o.j41(3,"div",3)(4,"div",4),o.nrm(5,"span",5)(6,"span",6)(7,"span",7),o.k0s()(),o.DNE(8,qe,3,4,"label",8)(9,wt,1,1,"i",9),o.k0s()),2&ce&&(o.Y8G("ngClass",o.sMw(10,Le,!ot.isToggleOff,ot.isToggleOff,ot.isDisabled||ot.isToggleUpdating)),o.BMQ("id",ot.toggleID)("value",ot.labelValue)("aria-checked",!ot.isToggleOff),o.R7$(),o.Y8G("ngIf",ot.isLabelVisible(ot.leftLabelPosition)),o.R7$(),o.Y8G("ngIf",ot.isSpinnerVisible(ot.leftLabelPosition)),o.R7$(),o.Y8G("ngClass",o.eq3(14,Oe,ot.isDisabled||ot.isToggleUpdating)),o.R7$(),o.Y8G("ngClass",o.l_i(16,nt,!ot.isToggleOff,ot.isToggleOff)),o.R7$(4),o.Y8G("ngIf",ot.isLabelVisible(ot.rightLabelPosition)),o.R7$(),o.Y8G("ngIf",ot.isSpinnerVisible(ot.rightLabelPosition)))},dependencies:[m.YU,m.bT],styles:['.toggle-switch-wrapper[_ngcontent-%COMP%]{height:28px;cursor:pointer;border-radius:5px;padding:4px 4px 4px 20px;display:inline-block;margin-left:-20px}.toggle-switch-wrapper[_ngcontent-%COMP%]   .toggle-switch[_ngcontent-%COMP%]{min-width:35px;vertical-align:middle;height:12px;display:inline-block;overflow:visible;border-radius:6px;box-shadow:inset 0 0 2px #00000080}.toggle-switch-wrapper[_ngcontent-%COMP%]   .toggle-switch[_ngcontent-%COMP%]   .toggle-switch-animate[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:inline-block;transition:left .5s;-o-transition:left .5s;-moz-transition:left .5s;-webkit-transition:left .5s}.toggle-switch-wrapper[_ngcontent-%COMP%]   .toggle-switch[_ngcontent-%COMP%]   .toggle-switch-animate[_ngcontent-%COMP%]   .knob[_ngcontent-%COMP%]{width:20px;height:20px;margin-top:-5px;border-radius:50%;display:inline-block;position:relative;box-shadow:inset 0 0 2px #00000080}.toggle-switch-wrapper[_ngcontent-%COMP%]   .toggle-switch-label-left[_ngcontent-%COMP%], .toggle-switch-wrapper[_ngcontent-%COMP%]   .toggle-switch-updating-indicator-left[_ngcontent-%COMP%]{margin-right:4px}.toggle-switch-wrapper[_ngcontent-%COMP%]   .toggle-switch-label-right[_ngcontent-%COMP%], .toggle-switch-wrapper[_ngcontent-%COMP%]   .toggle-switch-updating-indicator-right[_ngcontent-%COMP%]{margin-left:4px}.toggle-switch-wrapper.switch-on[_ngcontent-%COMP%]   .toggle-switch[_ngcontent-%COMP%]{background-color:#428bca}.toggle-switch-wrapper.switch-on[_ngcontent-%COMP%]   .knob[_ngcontent-%COMP%]{background-color:#428bca;left:50%;z-index:99}.toggle-switch-wrapper.switch-off[_ngcontent-%COMP%]   .toggle-switch[_ngcontent-%COMP%]{background-color:#ccc}.toggle-switch-wrapper.switch-off[_ngcontent-%COMP%]   .knob[_ngcontent-%COMP%]{left:0%;background-color:#ccc}.toggle-switch-wrapper.disabled[_ngcontent-%COMP%]{cursor:not-allowed}.toggle-switch-wrapper.disabled[_ngcontent-%COMP%]   .toggle-switch-text[_ngcontent-%COMP%]{opacity:.75;font-style:italic}.toggle-switch-wrapper.disabled[_ngcontent-%COMP%]   .toggle-switch.disabled[_ngcontent-%COMP%]{cursor:not-allowed;background-color:#aaa}.toggle-switch-wrapper.disabled[_ngcontent-%COMP%]   .toggle-switch.disabled[_ngcontent-%COMP%]   .knob[_ngcontent-%COMP%]{background-color:#aaa}html[dir="rtl"][_nghost-%COMP%]   .toggle-switch-wrapper[_ngcontent-%COMP%]   .toggle-switch-label-left[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .toggle-switch-wrapper[_ngcontent-%COMP%]   .toggle-switch-label-left[_ngcontent-%COMP%]{margin-left:4px}html[dir="rtl"][_nghost-%COMP%]   .toggle-switch-wrapper[_ngcontent-%COMP%]   .toggle-switch-updating-indicator-left[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .toggle-switch-wrapper[_ngcontent-%COMP%]   .toggle-switch-updating-indicator-left[_ngcontent-%COMP%]{margin-left:4px}html[dir="rtl"][_nghost-%COMP%]   .toggle-switch-wrapper[_ngcontent-%COMP%]   .toggle-switch-label-right[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .toggle-switch-wrapper[_ngcontent-%COMP%]   .toggle-switch-label-right[_ngcontent-%COMP%]{margin-right:4px}html[dir="rtl"][_nghost-%COMP%]   .toggle-switch-wrapper[_ngcontent-%COMP%]   .toggle-switch-updating-indicator-right[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .toggle-switch-wrapper[_ngcontent-%COMP%]   .toggle-switch-updating-indicator-right[_ngcontent-%COMP%]{margin-right:4px}html[dir="rtl"][_nghost-%COMP%]   .toggle-switch-wrapper.switch-on[_ngcontent-%COMP%]   .knob[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .toggle-switch-wrapper.switch-on[_ngcontent-%COMP%]   .knob[_ngcontent-%COMP%]{background-color:#428bca;left:-50%;z-index:99}']})}return K})(),Zt=(()=>{class K{static#e=this.ɵfac=function(ce){return new(ce||K)};static#t=this.ɵmod=o.$C({type:K});static#n=this.ɵinj=o.G2t({imports:[m.MD,b.B]})}return K})();var _n=function(K){return K.new="new",K.closed="closed",K.open="open",K}(_n||{});let Qt=(()=>{class K{constructor($){this.locale=$,this.close=new o.bkB,this.toggleMore=new o.bkB,this.animationClass=_n.new}get icon(){switch(this.alert.type){case On.error:return"type-icon fas fa-times-circle";case On.warning:return"type-icon fas fa-exclamation-triangle";case On.information:return"type-icon fas fa-info-circle";case On.success:return"type-icon fas fa-check-circle"}}get type(){switch(this.alert.type){case On.error:return"danger";case On.warning:return"warning";case On.information:return"info";case On.success:return"success"}}get hasLabel(){const $=this.label;return null!==$&&""!==$}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 On.success:this.label=this.locale.maketext("Success:");break;case On.error:this.label=this.locale.maketext("Error:");break;case On.information:this.label=this.locale.maketext("Information:");break;case On.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=_n.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=_n.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(...$){return $.join("_")}static#e=this.ɵfac=function(ce){return new(ce||K)(o.rXU(S.h))};static#t=this.ɵcmp=o.VBU({type:K,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(ce,ot){1&ce&&o.DNE(0,lt,9,13,"div",0),2&ce&&o.Y8G("ngIf",!ot.isClosed)},dependencies:[m.Sq,m.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,x.hZ)("openClose",[(0,x.wk)(_n.new,(0,x.iF)({opacity:0})),(0,x.wk)(_n.open,(0,x.iF)({opacity:1})),(0,x.wk)(_n.closed,(0,x.iF)({opacity:0,transform:"translateX(25%)"})),(0,x.kY)(`${_n.open} => ${_n.closed}`,[(0,x.i0)("0.25s")]),(0,x.kY)(`${_n.new} => ${_n.open}`,[(0,x.i0)("0.25s")]),(0,x.kY)(`${_n.closed} => ${_n.open}`,[(0,x.i0)("0.25s")])])]}})}return K})(),Wn=(()=>{class K{static#e=this.ɵfac=function(ce){return new(ce||K)};static#t=this.ɵmod=o.$C({type:K});static#n=this.ɵinj=o.G2t({imports:[m.MD,L.wb,b.B]})}return K})(),vn=(()=>{class K{constructor($){this.locale=$}get position(){return this.locale.isLtr?Xe:_t}static#e=this.ɵfac=function(ce){return new(ce||K)(o.KVO(S.h))};static#t=this.ɵprov=o.jDH({token:K,factory:K.ɵfac,providedIn:"root"})}return K})(),cn=(()=>{class K{static#e=this.positionPrefix="position-";constructor($,ce){this._alertService=$,this._positionService=ce,this.alerts=this.alerts?this.alerts:[]}get hasAlerts(){return this.alerts.length>0}get positionClasses(){return this.inline?K.positionPrefix+De.inline.toString():K.positionPrefix+this.position.toString()}get position(){return this._position.toString()}set position($){this._position=((K,Ge=De.topRight)=>{if(K){const $=(K=>{const Ge=Object.keys(De),ce=Object.values(De).indexOf(K);return-1!==ce?Ge[ce]:(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)})(K);if($)return De[$]}return Ge})($)}alertClosed($){this._alertService.removeById($.id,this.group)}ngOnInit(){this.group||(this.group=ft.defaultGroup),this._position||(this._position=this._positionService.position),this._alertService.list(this.group).forEach((ce=>this._addAlert(ce))),this._groupEvents=this._alertService.alertEvents.pipe((0,P.p)((ce=>ce.group===this.group))),this._eventSubscription=this._groupEvents.subscribe({next:this._onAlertEvent.bind(this),error:console.error})}ngOnDestroy(){this._eventSubscription.unsubscribe()}_findAlertIndexById($){return this.alerts.findIndex((ce=>ce.id===$))}_addAlert($){return this.alerts.push($),this.alerts}_removeAlert($){const ce=this._findAlertIndexById($.id);return ce>-1&&(this.alerts.splice(ce,1),!0)}_clearAlerts(){this.alerts.splice(0,this.alerts.length)}_onAlertEvent($){switch($.type){case gn.add:this._addAlert($.alert);break;case gn.clear:this._clearAlerts();break;case gn.remove:this._removeAlert($.alert)}}static#t=this.ɵfac=function(ce){return new(ce||K)(o.rXU(ft),o.rXU(vn))};static#n=this.ɵcmp=o.VBU({type:K,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(ce,ot){1&ce&&(o.j41(0,"div")(1,"div",2,0)(3,"div",3,1),o.DNE(5,We,2,1,"div",4),o.k0s()(),o.DNE(6,Ve,1,1,"div",5),o.k0s()),2&ce&&(o.R7$(),o.Y8G("ngClass",ot.positionClasses),o.R7$(4),o.Y8G("ngForOf",ot.alerts),o.R7$(),o.Y8G("ngIf",ot.hasAlerts))},dependencies:[m.YU,m.Sq,m.bT,Qt],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 K})(),qt=(()=>{class K{static#e=this.ɵfac=function(ce){return new(ce||K)};static#t=this.ɵmod=o.$C({type:K});static#n=this.ɵinj=o.G2t({imports:[m.MD,Wn]})}return K})()},6932:(U,I,c)=>{"use strict";c.d(I,{Li:()=>L});var o=c(3953),m=c(2806),T=c(2865),P=c(177);class S{constructor(R,G,oe){this.nodes=R,this.viewRef=G,this.componentRef=oe}}class x{constructor(R,G,oe,ve,he,we,be,He,Fe){this._viewContainerRef=R,this._renderer=G,this._elementRef=oe,this._injector=ve,this._componentFactoryResolver=he,this._ngZone=we,this._applicationRef=be,this._posService=He,this._document=Fe,this.onBeforeShow=new o.bkB,this.onShown=new o.bkB,this.onBeforeHide=new o.bkB,this.onHidden=new o.bkB,this._providers=[],this._isHiding=!1,this.containerDefaultSelector="body",this._listenOpts={},this._globalListener=Function.prototype}get isShown(){return!this._isHiding&&!!this._componentRef}attach(R){return this._componentFactory=this._componentFactoryResolver.resolveComponentFactory(R),this}to(R){return this.container=R||this.container,this}position(R){return R?(this.attachment=R.attachment||this.attachment,this._elementRef=R.target||this._elementRef,this):this}provide(R){return this._providers.push(R),this}show(R={}){if(this._subscribePositioning(),this._innerComponent=void 0,!this._componentRef){this.onBeforeShow.emit(),this._contentRef=this._getContentRef(R.content,R.context,R.initialState);const G=o.zZn.create({providers:this._providers,parent:this._injector});if(!this._componentFactory)return;if(this._componentRef=this._componentFactory.create(G,this._contentRef.nodes),this._applicationRef.attachView(this._componentRef.hostView),this.instance=this._componentRef.instance,Object.assign(this._componentRef.instance,R),this.container instanceof o.aKT&&this.container.nativeElement.appendChild(this._componentRef.location.nativeElement),"string"==typeof this.container&&typeof this._document<"u"){const oe=this._document.querySelector(this.container)||this._document.querySelector(this.containerDefaultSelector);if(!oe)return;oe.appendChild(this._componentRef.location.nativeElement)}!this.container&&this._elementRef&&this._elementRef.nativeElement.parentElement&&this._elementRef.nativeElement.parentElement.appendChild(this._componentRef.location.nativeElement),this._contentRef.componentRef&&(this._innerComponent=this._contentRef.componentRef.instance,this._contentRef.componentRef.changeDetectorRef.markForCheck(),this._contentRef.componentRef.changeDetectorRef.detectChanges()),this._componentRef.changeDetectorRef.markForCheck(),this._componentRef.changeDetectorRef.detectChanges(),this.onShown.emit(R.id?{id:R.id}:this._componentRef.instance)}return this._registerOutsideClick(),this._componentRef}hide(R){if(!this._componentRef)return this;this._posService.deletePositionElement(this._componentRef.location),this.onBeforeHide.emit(this._componentRef.instance);const G=this._componentRef.location.nativeElement;return G.parentNode?.removeChild(G),this._contentRef?.componentRef?.destroy(),this._viewContainerRef&&this._contentRef?.viewRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._contentRef.viewRef)),this._contentRef?.viewRef?.destroy(),this._componentRef?.destroy(),this._contentRef=void 0,this._componentRef=void 0,this._removeGlobalListener(),this.onHidden.emit(R?{id:R}:null),this}toggle(){this.isShown?this.hide():this.show()}dispose(){this.isShown&&this.hide(),this._unsubscribePositioning(),this._unregisterListenersFn&&this._unregisterListenersFn()}listen(R){this.triggers=R.triggers||this.triggers,this._listenOpts.outsideClick=R.outsideClick,this._listenOpts.outsideEsc=R.outsideEsc,R.target=R.target||this._elementRef?.nativeElement;const G=this._listenOpts.hide=()=>R.hide?R.hide():void this.hide(),oe=this._listenOpts.show=he=>{R.show?R.show(he):this.show(he),he()};return this._renderer&&(this._unregisterListenersFn=(0,m.GL)(this._renderer,{target:R.target,triggers:R.triggers,show:oe,hide:G,toggle:he=>{this.isShown?G():oe(he)}})),this}_removeGlobalListener(){this._globalListener&&(this._globalListener(),this._globalListener=Function.prototype)}attachInline(R,G){return R&&G&&(this._inlineViewRef=R.createEmbeddedView(G)),this}_registerOutsideClick(){if(!this._componentRef||!this._componentRef.location)return;let R=Function.prototype,G=Function.prototype;if(this._listenOpts.outsideClick){const oe=this._componentRef.location.nativeElement;setTimeout((()=>{this._renderer&&this._elementRef&&(R=(0,m.Xt)(this._renderer,{targets:[oe,this._elementRef.nativeElement],outsideClick:this._listenOpts.outsideClick,hide:()=>this._listenOpts.hide&&this._listenOpts.hide()}))}))}this._listenOpts.outsideEsc&&this._renderer&&this._elementRef&&(G=(0,m.Fv)(this._renderer,{targets:[this._componentRef.location.nativeElement,this._elementRef.nativeElement],outsideEsc:this._listenOpts.outsideEsc,hide:()=>this._listenOpts.hide&&this._listenOpts.hide()})),this._globalListener=()=>{R(),G()}}getInnerComponent(){return this._innerComponent}_subscribePositioning(){this._zoneSubscription||!this.attachment||(this.onShown.subscribe((()=>{this._posService.position({element:this._componentRef?.location,target:this._elementRef,attachment:this.attachment,appendToBody:"body"===this.container})})),this._zoneSubscription=this._ngZone.onStable.subscribe((()=>{this._componentRef&&this._posService.calcPosition()})))}_unsubscribePositioning(){this._zoneSubscription&&(this._zoneSubscription.unsubscribe(),this._zoneSubscription=void 0)}_getContentRef(R,G,oe){if(!R)return new S([]);if(R instanceof o.C4Q){if(this._viewContainerRef){const we=this._viewContainerRef.createEmbeddedView(R,G);return we.markForCheck(),new S([we.rootNodes],we)}const he=R.createEmbeddedView({});return this._applicationRef.attachView(he),new S([he.rootNodes],he)}if("function"==typeof R){const he=this._componentFactoryResolver.resolveComponentFactory(R),we=o.zZn.create({providers:this._providers,parent:this._injector}),be=he.create(we);return Object.assign(be.instance,oe),this._applicationRef.attachView(be.hostView),new S([[be.location.nativeElement]],be.hostView,be)}const ve=this._renderer?[this._renderer.createText(`${R}`)]:[];return new S([ve])}}let L=(()=>{class j{constructor(G,oe,ve,he,we,be){this._componentFactoryResolver=G,this._ngZone=oe,this._injector=ve,this._posService=he,this._applicationRef=we,this._document=be}createLoader(G,oe,ve){return new x(oe,ve,G,this._injector,this._componentFactoryResolver,this._ngZone,this._applicationRef,this._posService,this._document)}static#e=this.ɵfac=function(oe){return new(oe||j)(o.KVO(o.OM3),o.KVO(o.SKi),o.KVO(o.zZn),o.KVO(T.DF),o.KVO(o.o8S),o.KVO(P.qQ))};static#t=this.ɵprov=o.jDH({token:j,factory:j.ɵfac,providedIn:"root"})}return j})()},8580:(U,I,c)=>{"use strict";c.d(I,{Kk:()=>he,UL:()=>be,hs:()=>we,zE:()=>He});var o=c(3953),m=c(5964),T=c(6932),P=c(9969),b=c(177),S=c(2865);const x=["*"],L=Fe=>({dropdown:Fe});let j=(()=>{class Fe{constructor(){this.autoClose=!0,this.insideClick=!1,this.isAnimated=!1,this.stopOnClickPropagation=!1}static#e=this.ɵfac=function(Le){return new(Le||Fe)};static#t=this.ɵprov=o.jDH({token:Fe,factory:Fe.ɵfac,providedIn:"root"})}return Fe})(),R=(()=>{class Fe{constructor(){this.direction="down",this.autoClose=!0,this.insideClick=!1,this.isAnimated=!1,this.stopOnClickPropagation=!1,this.isOpenChange=new o.bkB,this.isDisabledChange=new o.bkB,this.toggleClick=new o.bkB,this.counts=0,this.dropdownMenu=new Promise((Qe=>{this.resolveDropdownMenu=Qe}))}static#e=this.ɵfac=function(Le){return new(Le||Fe)};static#t=this.ɵprov=o.jDH({token:Fe,factory:Fe.ɵfac,providedIn:"platform"})}return Fe})();const oe=[(0,P.iF)({height:0,overflow:"hidden"}),(0,P.i0)("220ms cubic-bezier(0, 0, 0.2, 1)",(0,P.iF)({height:"*",overflow:"hidden"}))];let ve=(()=>{class Fe{get direction(){return this._state.direction}constructor(Qe,Le,Oe,nt,It){this._state=Qe,this.cd=Le,this._renderer=Oe,this._element=nt,this.isOpen=!1,this._factoryDropDownAnimation=It.build(oe),this._subscription=Qe.isOpenChange.subscribe((Je=>{this.isOpen=Je;const qe=this._element.nativeElement.querySelector(".dropdown-menu");this._renderer.addClass(this._element.nativeElement.querySelector("div"),"open"),qe&&(this._renderer.addClass(qe,"show"),(qe.classList.contains("dropdown-menu-right")||qe.classList.contains("dropdown-menu-end"))&&(this._renderer.setStyle(qe,"left","auto"),this._renderer.setStyle(qe,"right","0")),"up"===this.direction&&(this._renderer.setStyle(qe,"top","auto"),this._renderer.setStyle(qe,"transform","translateY(-101%)"))),qe&&this._state.isAnimated&&this._factoryDropDownAnimation.create(qe).play(),this.cd.markForCheck(),this.cd.detectChanges()}))}_contains(Qe){return this._element.nativeElement.contains(Qe)}ngOnDestroy(){this._subscription.unsubscribe()}static#e=this.ɵfac=function(Le){return new(Le||Fe)(o.rXU(R),o.rXU(o.gRc),o.rXU(o.sFG),o.rXU(o.aKT),o.rXU(P.S6))};static#t=this.ɵcmp=o.VBU({type:Fe,selectors:[["bs-dropdown-container"]],hostAttrs:[2,"display","block","position","absolute","z-index","1040"],ngContentSelectors:x,decls:2,vars:9,consts:[[3,"ngClass"]],template:function(Le,Oe){1&Le&&(o.NAR(),o.j41(0,"div",0),o.SdG(1),o.k0s()),2&Le&&(o.AVh("dropup","up"===Oe.direction)("show",Oe.isOpen)("open",Oe.isOpen),o.Y8G("ngClass",o.eq3(7,L,"down"===Oe.direction)))},dependencies:[b.YU],encapsulation:2,changeDetection:0})}return Fe})(),he=(()=>{class Fe{set autoClose(Qe){this._state.autoClose=Qe}get autoClose(){return this._state.autoClose}set isAnimated(Qe){this._state.isAnimated=Qe}get isAnimated(){return this._state.isAnimated}set insideClick(Qe){this._state.insideClick=Qe}get insideClick(){return this._state.insideClick}set isDisabled(Qe){this._isDisabled=Qe,this._state.isDisabledChange.emit(Qe),Qe&&this.hide()}get isDisabled(){return this._isDisabled}get isOpen(){return this._showInline?this._isInlineOpen:this._dropdown.isShown}set isOpen(Qe){Qe?this.show():this.hide()}get _showInline(){return!this.container}constructor(Qe,Le,Oe,nt,It,Je,qe){this._elementRef=Qe,this._renderer=Le,this._viewContainerRef=Oe,this._cis=nt,this._state=It,this._config=Je,this.dropup=!1,this._isInlineOpen=!1,this._isDisabled=!1,this._subscriptions=[],this._isInited=!1,this._state.autoClose=this._config.autoClose,this._state.insideClick=this._config.insideClick,this._state.isAnimated=this._config.isAnimated,this._state.stopOnClickPropagation=this._config.stopOnClickPropagation,this._factoryDropDownAnimation=qe.build(oe),this._dropdown=this._cis.createLoader(this._elementRef,this._viewContainerRef,this._renderer).provide({provide:R,useValue:this._state}),this.onShown=this._dropdown.onShown,this.onHidden=this._dropdown.onHidden,this.isOpenChange=this._state.isOpenChange}ngOnInit(){this._isInited||(this._isInited=!0,this._dropdown.listen({outsideClick:!1,triggers:this.triggers,show:()=>this.show()}),this._subscriptions.push(this._state.toggleClick.subscribe((Qe=>this.toggle(Qe)))),this._subscriptions.push(this._state.isDisabledChange.pipe((0,m.p)((Qe=>Qe))).subscribe((()=>this.hide()))))}show(){if(!this.isOpen&&!this.isDisabled){if(this._showInline)return this._inlinedMenu||this._state.dropdownMenu.then((Qe=>{this._dropdown.attachInline(Qe.viewContainer,Qe.templateRef),this._inlinedMenu=this._dropdown._inlineViewRef,this.addBs4Polyfills(),this._inlinedMenu&&this._renderer.addClass(this._inlinedMenu.rootNodes[0].parentNode,"open"),this.playAnimation()})).catch(),this.addBs4Polyfills(),this._isInlineOpen=!0,this.onShown.emit(!0),this._state.isOpenChange.emit(!0),void this.playAnimation();this._state.dropdownMenu.then((Qe=>{const Le=this.dropup||typeof this.dropup<"u"&&this.dropup;this._state.direction=Le?"up":"down";const Oe=this.placement||(Le?"top start":"bottom start");this._dropdown.attach(ve).to(this.container).position({attachment:Oe}).show({content:Qe.templateRef,placement:Oe}),this._state.isOpenChange.emit(!0)})).catch()}}hide(){this.isOpen&&(this._showInline?(this.removeShowClass(),this.removeDropupStyles(),this._isInlineOpen=!1,this.onHidden.emit(!0)):this._dropdown.hide(),this._state.isOpenChange.emit(!1))}toggle(Qe){return this.isOpen||!Qe?this.hide():this.show()}_contains(Qe){return this._elementRef.nativeElement.contains(Qe.target)||this._dropdown.instance&&this._dropdown.instance._contains(Qe.target)}navigationClick(Qe){const Le=this._elementRef.nativeElement.querySelector(".dropdown-menu");if(!Le)return;const Oe=this._elementRef.nativeElement.ownerDocument.activeElement,nt=Le.querySelectorAll(".dropdown-item");switch(Qe.keyCode){case 38:this._state.counts>0&&nt[--this._state.counts].focus();break;case 40:this._state.counts+1<nt.length&&(Oe.classList!==nt[this._state.counts].classList?nt[this._state.counts].focus():nt[++this._state.counts].focus())}Qe.preventDefault()}ngOnDestroy(){for(const Qe of this._subscriptions)Qe.unsubscribe();this._dropdown.dispose()}addBs4Polyfills(){this.addShowClass(),this.checkRightAlignment(),this.addDropupStyles()}playAnimation(){this._state.isAnimated&&this._inlinedMenu&&setTimeout((()=>{this._inlinedMenu&&this._factoryDropDownAnimation.create(this._inlinedMenu.rootNodes[0]).play()}))}addShowClass(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&this._renderer.addClass(this._inlinedMenu.rootNodes[0],"show")}removeShowClass(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&this._renderer.removeClass(this._inlinedMenu.rootNodes[0],"show")}checkRightAlignment(){if(this._inlinedMenu&&this._inlinedMenu.rootNodes[0]){const Qe=this._inlinedMenu.rootNodes[0].classList.contains("dropdown-menu-right")||this._inlinedMenu.rootNodes[0].classList.contains("dropdown-menu-end");this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"left",Qe?"auto":"0"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"right",Qe?"0":"auto")}}addDropupStyles(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&(this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"top",this.dropup?"auto":"100%"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"transform",this.dropup?"translateY(-101%)":"translateY(0)"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"bottom","auto"))}removeDropupStyles(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&(this._renderer.removeStyle(this._inlinedMenu.rootNodes[0],"top"),this._renderer.removeStyle(this._inlinedMenu.rootNodes[0],"transform"),this._renderer.removeStyle(this._inlinedMenu.rootNodes[0],"bottom"))}static#e=this.ɵfac=function(Le){return new(Le||Fe)(o.rXU(o.aKT),o.rXU(o.sFG),o.rXU(o.c1b),o.rXU(T.Li),o.rXU(R),o.rXU(j),o.rXU(P.S6))};static#t=this.ɵdir=o.FsC({type:Fe,selectors:[["","bsDropdown",""],["","dropdown",""]],hostVars:6,hostBindings:function(Le,Oe){1&Le&&o.bIt("keydown.arrowDown",(function(It){return Oe.navigationClick(It)}))("keydown.arrowUp",(function(It){return Oe.navigationClick(It)})),2&Le&&o.AVh("dropup",Oe.dropup)("open",Oe.isOpen)("show",Oe.isOpen)},inputs:{placement:"placement",triggers:"triggers",container:"container",dropup:"dropup",autoClose:"autoClose",isAnimated:"isAnimated",insideClick:"insideClick",isDisabled:"isDisabled",isOpen:"isOpen"},outputs:{isOpenChange:"isOpenChange",onShown:"onShown",onHidden:"onHidden"},exportAs:["bs-dropdown"],features:[o.Jv_([R])]})}return Fe})(),we=(()=>{class Fe{constructor(Qe,Le,Oe){Qe.resolveDropdownMenu({templateRef:Oe,viewContainer:Le})}static#e=this.ɵfac=function(Le){return new(Le||Fe)(o.rXU(R),o.rXU(o.c1b),o.rXU(o.C4Q))};static#t=this.ɵdir=o.FsC({type:Fe,selectors:[["","bsDropdownMenu",""],["","dropdownMenu",""]],exportAs:["bs-dropdown-menu"]})}return Fe})(),be=(()=>{class Fe{constructor(Qe,Le,Oe,nt,It){this._changeDetectorRef=Qe,this._dropdown=Le,this._element=Oe,this._renderer=nt,this._state=It,this.isOpen=!1,this._subscriptions=[],this._subscriptions.push(this._state.isOpenChange.subscribe((Je=>{this.isOpen=Je,Je?(this._documentClickListener=this._renderer.listen("document","click",(qe=>{this._state.autoClose&&2!==qe.button&&!this._element.nativeElement.contains(qe.target)&&(!this._state.insideClick||!this._dropdown._contains(qe))&&(this._state.toggleClick.emit(!1),this._changeDetectorRef.detectChanges())})),this._escKeyUpListener=this._renderer.listen(this._element.nativeElement,"keyup.esc",(()=>{this._state.autoClose&&(this._state.toggleClick.emit(!1),this._changeDetectorRef.detectChanges())}))):(this._documentClickListener&&this._documentClickListener(),this._escKeyUpListener&&this._escKeyUpListener())}))),this._subscriptions.push(this._state.isDisabledChange.subscribe((Je=>this.isDisabled=Je||void 0)))}onClick(Qe){this._state.stopOnClickPropagation&&Qe.stopPropagation(),!this.isDisabled&&this._state.toggleClick.emit(!0)}ngOnDestroy(){this._documentClickListener&&this._documentClickListener(),this._escKeyUpListener&&this._escKeyUpListener();for(const Qe of this._subscriptions)Qe.unsubscribe()}static#e=this.ɵfac=function(Le){return new(Le||Fe)(o.rXU(o.gRc),o.rXU(he),o.rXU(o.aKT),o.rXU(o.sFG),o.rXU(R))};static#t=this.ɵdir=o.FsC({type:Fe,selectors:[["","bsDropdownToggle",""],["","dropdownToggle",""]],hostVars:3,hostBindings:function(Le,Oe){1&Le&&o.bIt("click",(function(It){return Oe.onClick(It)})),2&Le&&o.BMQ("aria-haspopup",!0)("disabled",Oe.isDisabled)("aria-expanded",Oe.isOpen)},exportAs:["bs-dropdown-toggle"]})}return Fe})(),He=(()=>{class Fe{static forRoot(){return{ngModule:Fe,providers:[T.Li,S.DF,R]}}static#e=this.ɵfac=function(Le){return new(Le||Fe)};static#t=this.ɵmod=o.$C({type:Fe});static#n=this.ɵinj=o.G2t({imports:[b.MD]})}return Fe})()},779:(U,I,c)=>{"use strict";c.d(I,{I8:()=>Jn,Q_:()=>Un});var o=c(3953),m=c(2806),T=c(177),P=c(6697);let S,b=(()=>{class et{constructor(){this._focusTrapStack=[]}register(Ie){this._focusTrapStack=this._focusTrapStack.filter((Ze=>Ze!==Ie));let tt=this._focusTrapStack;tt.length&&tt[tt.length-1]._disable(),tt.push(Ie),Ie._enable()}deregister(Ie){Ie._disable();const tt=this._focusTrapStack,Ze=tt.indexOf(Ie);-1!==Ze&&(tt.splice(Ze,1),tt.length&&tt[tt.length-1]._enable())}static#e=this.ɵfac=function(tt){return new(tt||et)};static#t=this.ɵprov=o.jDH({token:et,factory:et.ɵfac,providedIn:"root"})}return et})();try{S=typeof Intl<"u"&&Intl.v8BreakIterator}catch{S=!1}let x=(()=>{class et{constructor(Ie){this._platformId=Ie,this.isBrowser=this._platformId?(0,T.UE)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!S)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static#e=this.ɵfac=function(tt){return new(tt||et)(o.KVO(o.Agw))};static#t=this.ɵprov=o.jDH({token:et,factory:et.ɵfac,providedIn:"root"})}return et})(),j=(()=>{class et{constructor(Ie){this._platform=Ie}isDisabled(Ie){return Ie.hasAttribute("disabled")}isVisible(Ie){return function G(et){return!!(et.offsetWidth||et.offsetHeight||"function"==typeof et.getClientRects&&et.getClientRects().length)}(Ie)&&"visible"===getComputedStyle(Ie).visibility}isTabbable(Ie){if(!this._platform.isBrowser)return!1;const tt=function R(et){try{return et.frameElement}catch{return null}}(function Le(et){return et.ownerDocument&&et.ownerDocument.defaultView||window}(Ie));if(tt&&(-1===Fe(tt)||!this.isVisible(tt)))return!1;let Ze=Ie.nodeName.toLowerCase(),yn=Fe(Ie);return Ie.hasAttribute("contenteditable")?-1!==yn:!("iframe"===Ze||"object"===Ze||this._platform.WEBKIT&&this._platform.IOS&&!function ct(et){let gt=et.nodeName.toLowerCase(),Ie="input"===gt&&et.type;return"text"===Ie||"password"===Ie||"select"===gt||"textarea"===gt}(Ie))&&("audio"===Ze?!!Ie.hasAttribute("controls")&&-1!==yn:"video"===Ze?-1!==yn&&(null!==yn||this._platform.FIREFOX||Ie.hasAttribute("controls")):Ie.tabIndex>=0)}isFocusable(Ie,tt){return function Qe(et){return!function ve(et){return function we(et){return"input"==et.nodeName.toLowerCase()}(et)&&"hidden"==et.type}(et)&&(function oe(et){let gt=et.nodeName.toLowerCase();return"input"===gt||"select"===gt||"button"===gt||"textarea"===gt}(et)||function he(et){return function be(et){return"a"==et.nodeName.toLowerCase()}(et)&&et.hasAttribute("href")}(et)||et.hasAttribute("contenteditable")||He(et))}(Ie)&&!this.isDisabled(Ie)&&(tt?.ignoreVisibility||this.isVisible(Ie))}static#e=this.ɵfac=function(tt){return new(tt||et)(o.KVO(x))};static#t=this.ɵprov=o.jDH({token:et,factory:et.ɵfac,providedIn:"root"})}return et})();function He(et){if(!et.hasAttribute("tabindex")||void 0===et.tabIndex)return!1;let gt=et.getAttribute("tabindex");return"-32768"!=gt&&!(!gt||isNaN(parseInt(gt,10)))}function Fe(et){if(!He(et))return null;const gt=parseInt(et.getAttribute("tabindex")||"",10);return isNaN(gt)?-1:gt}function Oe(et){return null!=et&&"false"!=`${et}`}class nt{get enabled(){return this._enabled}set enabled(gt){this._enabled=gt,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(gt,this._startAnchor),this._toggleAnchorTabIndex(gt,this._endAnchor))}constructor(gt,Ie,tt,Ze,yn=!1){this._element=gt,this._checker=Ie,this._ngZone=tt,this._document=Ze,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,yn||this.attachAnchors()}destroy(){const gt=this._startAnchor,Ie=this._endAnchor;gt&&(gt.removeEventListener("focus",this.startAnchorListener),gt.parentNode&&gt.parentNode.removeChild(gt)),Ie&&(Ie.removeEventListener("focus",this.endAnchorListener),Ie.parentNode&&Ie.parentNode.removeChild(Ie)),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular((()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))})),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(){return new Promise((gt=>{this._executeOnStable((()=>gt(this.focusInitialElement())))}))}focusFirstTabbableElementWhenReady(){return new Promise((gt=>{this._executeOnStable((()=>gt(this.focusFirstTabbableElement())))}))}focusLastTabbableElementWhenReady(){return new Promise((gt=>{this._executeOnStable((()=>gt(this.focusLastTabbableElement())))}))}_getRegionBoundary(gt){let Ie=this._element.querySelectorAll(`[cdk-focus-region-${gt}], [cdkFocusRegion${gt}], [cdk-focus-${gt}]`);for(let tt=0;tt<Ie.length;tt++)Ie[tt].hasAttribute(`cdk-focus-${gt}`)?console.warn(`Found use of deprecated attribute 'cdk-focus-${gt}', use 'cdkFocusRegion${gt}' instead. The deprecated attribute will be removed in 8.0.0.`,Ie[tt]):Ie[tt].hasAttribute(`cdk-focus-region-${gt}`)&&console.warn(`Found use of deprecated attribute 'cdk-focus-region-${gt}', use 'cdkFocusRegion${gt}' instead. The deprecated attribute will be removed in 8.0.0.`,Ie[tt]);return"start"==gt?Ie.length?Ie[0]:this._getFirstTabbableElement(this._element):Ie.length?Ie[Ie.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(){const gt=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(gt){if(gt.hasAttribute("cdk-focus-initial")&&console.warn("Found use of deprecated attribute 'cdk-focus-initial', use 'cdkFocusInitial' instead. The deprecated attribute will be removed in 8.0.0",gt),!this._checker.isFocusable(gt)){const Ie=this._getFirstTabbableElement(gt);return Ie?.focus(),!!Ie}return gt.focus(),!0}return this.focusFirstTabbableElement()}focusFirstTabbableElement(){const gt=this._getRegionBoundary("start");return gt&&gt.focus(),!!gt}focusLastTabbableElement(){const gt=this._getRegionBoundary("end");return gt&&gt.focus(),!!gt}hasAttached(){return this._hasAttached}_getFirstTabbableElement(gt){if(this._checker.isFocusable(gt)&&this._checker.isTabbable(gt))return gt;let Ie=gt.children||gt.childNodes;for(let tt=0;tt<Ie.length;tt++){let Ze=Ie[tt].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(Ie[tt]):null;if(Ze)return Ze}return null}_getLastTabbableElement(gt){if(this._checker.isFocusable(gt)&&this._checker.isTabbable(gt))return gt;let Ie=gt.children||gt.childNodes;for(let tt=Ie.length-1;tt>=0;tt--){let Ze=Ie[tt].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(Ie[tt]):null;if(Ze)return Ze}return null}_createAnchor(){const gt=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,gt),gt.classList.add("cdk-visually-hidden"),gt.classList.add("cdk-focus-trap-anchor"),gt.setAttribute("aria-hidden","true"),gt}_toggleAnchorTabIndex(gt,Ie){gt?Ie.setAttribute("tabindex","0"):Ie.removeAttribute("tabindex")}toggleAnchors(gt){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(gt,this._startAnchor),this._toggleAnchorTabIndex(gt,this._endAnchor))}_executeOnStable(gt){this._ngZone.isStable?gt():this._ngZone.onStable.pipe((0,P.s)(1)).subscribe(gt)}}let It=(()=>{class et{constructor(Ie,tt,Ze){this._checker=Ie,this._ngZone=tt,this._document=Ze}create(Ie,tt=!1){return new nt(Ie,this._checker,this._ngZone,this._document,tt)}static#e=this.ɵfac=function(tt){return new(tt||et)(o.KVO(j),o.KVO(o.SKi),o.KVO(T.qQ))};static#t=this.ɵprov=o.jDH({token:et,factory:et.ɵfac,providedIn:"root"})}return et})(),Je=(()=>{class et{get enabled(){return this.focusTrap.enabled}set enabled(Ie){this.focusTrap.enabled=Oe(Ie)}get autoCapture(){return this._autoCapture}set autoCapture(Ie){this._autoCapture=Oe(Ie)}constructor(Ie,tt,Ze){this._elementRef=Ie,this._focusTrapFactory=tt,this._previouslyFocusedElement=null,this._autoCapture=!1,this._document=Ze,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(Ie){const tt=Ie.autoCapture;tt&&!tt.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=this._document.activeElement,this.focusTrap.focusInitialElementWhenReady()}static#e=this.ɵfac=function(tt){return new(tt||et)(o.rXU(o.aKT),o.rXU(It),o.rXU(T.qQ))};static#t=this.ɵdir=o.FsC({type:et,selectors:[["","focusTrap",""]],inputs:{enabled:[0,"cdkTrapFocus","enabled"],autoCapture:[0,"cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["focusTrap"],features:[o.OA$]})}return et})(),qe=(()=>{class et{static forRoot(){return{ngModule:et,providers:[b,x,j]}}static#e=this.ɵfac=function(tt){return new(tt||et)};static#t=this.ɵmod=o.$C({type:et});static#n=this.ɵinj=o.G2t({imports:[T.MD]})}return et})();var wt=c(6932),me=c(2865);const ie=["*"];let Z=(()=>{class et{constructor(){this.hide=()=>{},this.setClass=()=>{}}static#e=this.ɵfac=function(tt){return new(tt||et)};static#t=this.ɵprov=o.jDH({token:et,factory:et.ɵfac,providedIn:"platform"})}return et})(),ue=(()=>{class et{static#e=this.ɵfac=function(tt){return new(tt||et)};static#t=this.ɵprov=o.jDH({token:et,factory:et.ɵfac,providedIn:"platform"})}return et})();const xe={backdrop:!0,keyboard:!0,focus:!0,show:!1,ignoreBackdropClick:!1,class:"",animated:!0,initialState:{},closeInterceptor:void 0},lt=new o.nKC("override-default-config");let Ft=(()=>{class et{constructor(Ie,tt,Ze){this._element=tt,this._renderer=Ze,this.isShown=!1,this.isAnimated=!1,this._focusEl=null,this.isModalHiding=!1,this.clickStartedInContent=!1,this.config=Object.assign({},Ie)}ngOnInit(){this._focusEl=m.Al.activeElement,this.isAnimated&&this._renderer.addClass(this._element.nativeElement,"fade"),this._renderer.setStyle(this._element.nativeElement,"display","block"),setTimeout((()=>{this.isShown=!0,this._renderer.addClass(this._element.nativeElement,"show")}),this.isAnimated?150:0),m.Al&&m.Al.body&&(this.bsModalService&&1===this.bsModalService.getModalsCount()&&(this.bsModalService.checkScrollbar(),this.bsModalService.setScrollbar()),this._renderer.addClass(m.Al.body,"modal-open"),this._renderer.setStyle(m.Al.body,"overflow-y","hidden")),this._element.nativeElement&&this._element.nativeElement.focus()}onClickStarted(Ie){this.clickStartedInContent=Ie.target!==this._element.nativeElement}onClickStop(Ie){this.config.ignoreBackdropClick||"static"===this.config.backdrop||Ie.target!==this._element.nativeElement||this.clickStartedInContent?this.clickStartedInContent=!1:(this.bsModalService?.setDismissReason("backdrop-click"),this.hide())}onPopState(){this.bsModalService?.setDismissReason("browser-back-navigation-clicked"),this.hide()}onEsc(Ie){this.isShown&&((27===Ie.keyCode||"Escape"===Ie.key)&&Ie.preventDefault(),this.config.keyboard&&this.level===this.bsModalService?.getModalsCount()&&(this.bsModalService?.setDismissReason("esc"),this.hide()))}ngOnDestroy(){this.isShown&&this._hide()}hide(){if(!this.isModalHiding){if(this.config.closeInterceptor)return void this.config.closeInterceptor().then((()=>this._hide()),(()=>{}));this._hide()}}_hide(){this.isModalHiding=!0,this._renderer.removeClass(this._element.nativeElement,"show"),setTimeout((()=>{this.isShown=!1,m.Al&&m.Al.body&&1===this.bsModalService?.getModalsCount()&&(this._renderer.removeClass(m.Al.body,"modal-open"),this._renderer.setStyle(m.Al.body,"overflow-y","")),this.bsModalService?.hide(this.config.id),this.isModalHiding=!1,this._focusEl&&this._focusEl.focus()}),this.isAnimated?300:0)}static#e=this.ɵfac=function(tt){return new(tt||et)(o.rXU(ue),o.rXU(o.aKT),o.rXU(o.sFG))};static#t=this.ɵcmp=o.VBU({type:et,selectors:[["modal-container"]],hostAttrs:["role","dialog","tabindex","-1",1,"modal"],hostVars:3,hostBindings:function(tt,Ze){1&tt&&o.bIt("mousedown",(function(zn){return Ze.onClickStarted(zn)}))("click",(function(zn){return Ze.onClickStop(zn)}))("popstate",(function(){return Ze.onPopState()}),!1,o.tSv)("keydown.esc",(function(zn){return Ze.onEsc(zn)}),!1,o.tSv),2&tt&&o.BMQ("aria-modal",!0)("aria-labelledby",Ze.config.ariaLabelledBy)("aria-describedby",Ze.config.ariaDescribedby)},ngContentSelectors:ie,decls:3,vars:2,consts:[["role","document","focusTrap",""],[1,"modal-content"]],template:function(tt,Ze){1&tt&&(o.NAR(),o.j41(0,"div",0)(1,"div",1),o.SdG(2),o.k0s()()),2&tt&&o.HbH("modal-dialog"+(Ze.config.class?" "+Ze.config.class:""))},dependencies:[Je],encapsulation:2})}return et})(),Bt=(()=>{class et{get isAnimated(){return this._isAnimated}set isAnimated(Ie){this._isAnimated=Ie}get isShown(){return this._isShown}set isShown(Ie){this._isShown=Ie,Ie?this.renderer.addClass(this.element.nativeElement,"show"):this.renderer.removeClass(this.element.nativeElement,"show")}constructor(Ie,tt){this._isAnimated=!1,this._isShown=!1,this.element=Ie,this.renderer=tt}ngOnInit(){this.isAnimated&&(this.renderer.addClass(this.element.nativeElement,"fade"),m.Aq.reflow(this.element.nativeElement)),this.isShown=!0}static#e=this.ɵfac=function(tt){return new(tt||et)(o.rXU(o.aKT),o.rXU(o.sFG))};static#t=this.ɵcmp=o.VBU({type:et,selectors:[["bs-modal-backdrop"]],hostAttrs:[1,"modal-backdrop"],decls:0,vars:0,template:function(tt,Ze){},encapsulation:2})}return et})(),Ln=1,Jn=(()=>{class et{constructor(Ie,tt,Ze){this.clf=tt,this.modalDefaultOption=Ze,this.onShow=new o.bkB,this.onShown=new o.bkB,this.onHide=new o.bkB,this.onHidden=new o.bkB,this.isBodyOverflowing=!1,this.originalBodyPadding=0,this.scrollbarWidth=0,this.modalsCount=0,this.loaders=[],this._focusEl=null,this._backdropLoader=this.clf.createLoader(),this._renderer=Ie.createRenderer(null,null),this.config=Ze?Object.assign({},xe,Ze):xe}show(Ie,tt){this._focusEl=m.Al.activeElement,this.modalsCount++,this._createLoaders();const Ze=tt?.id||Ln++;return this.config=this.modalDefaultOption?Object.assign({},xe,this.modalDefaultOption,tt):Object.assign({},xe,tt),this.config.id=Ze,this._showBackdrop(),this.lastDismissReason=void 0,this._showModal(Ie)}hide(Ie){(1===this.modalsCount||null==Ie)&&(this._hideBackdrop(),this.resetScrollbar()),this.modalsCount=this.modalsCount>=1&&null!=Ie?this.modalsCount-1:0,setTimeout((()=>{this._hideModal(Ie),this.removeLoaders(Ie)}),this.config.animated?150:0),this._focusEl&&this._focusEl.focus()}_showBackdrop(){const Ie=!0===this.config.backdrop||"static"===this.config.backdrop,tt=!this.backdropRef||!this.backdropRef.instance.isShown;1===this.modalsCount&&(this.removeBackdrop(),Ie&&tt&&(this._backdropLoader.attach(Bt).to("body").show({isAnimated:this.config.animated}),this.backdropRef=this._backdropLoader._componentRef))}_hideBackdrop(){this.backdropRef&&(this.backdropRef.instance.isShown=!1,setTimeout((()=>this.removeBackdrop()),this.config.animated?150:0))}_showModal(Ie){const tt=this.loaders[this.loaders.length-1];if(this.config&&this.config.providers)for(const zn of this.config.providers)tt.provide(zn);const Ze=new Z,yn=tt.provide({provide:ue,useValue:this.config}).provide({provide:Z,useValue:Ze}).attach(Ft).to("body");return Ze.hide=()=>this.hide(Ze.id),Ze.setClass=zn=>{yn.instance&&(yn.instance.config.class=zn)},Ze.onHidden=new o.bkB,Ze.onHide=new o.bkB,this.copyEvent(tt.onBeforeHide,Ze.onHide),this.copyEvent(tt.onHidden,Ze.onHidden),yn.show({content:Ie,isAnimated:this.config.animated,initialState:this.config.initialState,bsModalService:this,id:this.config.id}),yn.instance&&(yn.instance.level=this.getModalsCount(),Ze.content=tt.getInnerComponent(),Ze.id=yn.instance.config?.id),Ze}_hideModal(Ie){if(null!=Ie){const tt=this.loaders.findIndex((yn=>yn.instance?.config.id===Ie)),Ze=this.loaders[tt];Ze&&Ze.hide(Ie)}else this.loaders.forEach((tt=>{tt.instance&&tt.hide(tt.instance.config.id)}))}getModalsCount(){return this.modalsCount}setDismissReason(Ie){this.lastDismissReason=Ie}removeBackdrop(){this._renderer.removeClass(m.Al.body,"modal-open"),this._renderer.setStyle(m.Al.body,"overflow-y",""),this._backdropLoader.hide(),this.backdropRef=void 0}checkScrollbar(){this.isBodyOverflowing=m.Al.body.clientWidth<window.innerWidth,this.scrollbarWidth=this.getScrollbarWidth()}setScrollbar(){m.Al&&(this.originalBodyPadding=parseInt(window.getComputedStyle(m.Al.body).getPropertyValue("padding-right")||"0",10),this.isBodyOverflowing&&(m.Al.body.style.paddingRight=`${this.originalBodyPadding+this.scrollbarWidth}px`))}resetScrollbar(){m.Al.body.style.paddingRight=`${this.originalBodyPadding}px`}getScrollbarWidth(){const Ie=this._renderer.createElement("div");this._renderer.addClass(Ie,"modal-scrollbar-measure"),this._renderer.appendChild(m.Al.body,Ie);const tt=Ie.offsetWidth-Ie.clientWidth;return this._renderer.removeChild(m.Al.body,Ie),tt}_createLoaders(){const Ie=this.clf.createLoader();this.copyEvent(Ie.onBeforeShow,this.onShow),this.copyEvent(Ie.onShown,this.onShown),this.copyEvent(Ie.onBeforeHide,this.onHide),this.copyEvent(Ie.onHidden,this.onHidden),this.loaders.push(Ie)}removeLoaders(Ie){if(null!=Ie){const tt=this.loaders.findIndex((Ze=>Ze.instance?.config.id===Ie));tt>=0&&(this.loaders.splice(tt,1),this.loaders.forEach(((Ze,yn)=>{Ze.instance&&(Ze.instance.level=yn+1)})))}else this.loaders.splice(0,this.loaders.length)}copyEvent(Ie,tt){Ie.subscribe((Ze=>{tt.emit(this.lastDismissReason||Ze)}))}static#e=this.ɵfac=function(tt){return new(tt||et)(o.KVO(o._9s),o.KVO(wt.Li),o.KVO(lt,8))};static#t=this.ɵprov=o.jDH({token:et,factory:et.ɵfac,providedIn:"platform"})}return et})();qe.forRoot();let Un=(()=>{class et{static forRoot(){return{ngModule:et,providers:[Jn,wt.Li,me.DF]}}static forChild(){return{ngModule:et,providers:[Jn,wt.Li,me.DF]}}static#e=this.ɵfac=function(tt){return new(tt||et)};static#t=this.ɵmod=o.$C({type:et});static#n=this.ɵinj=o.G2t({imports:[qe]})}return et})()},2865:(U,I,c)=>{"use strict";c.d(I,{Rz:()=>He,DF:()=>gn});var o=c(2806),m=c(3953),T=c(177),P=c(1413),b=c(7786),S=c(3726),x=c(7673),L=c(6780),j=c(8359);const R={schedule(Q){let De=requestAnimationFrame,ke=cancelAnimationFrame;const{delegate:Xe}=R;Xe&&(De=Xe.requestAnimationFrame,ke=Xe.cancelAnimationFrame);const _t=De((Pt=>{ke=void 0,Q(Pt)}));return new j.yU((()=>ke?.(_t)))},requestAnimationFrame(...Q){const{delegate:De}=R;return(De?.requestAnimationFrame||requestAnimationFrame)(...Q)},cancelAnimationFrame(...Q){const{delegate:De}=R;return(De?.cancelAnimationFrame||cancelAnimationFrame)(...Q)},delegate:void 0};var oe=c(9687);const he=new class ve extends oe.q{flush(De){this._active=!0;const ke=this._scheduled;this._scheduled=void 0;const{actions:Xe}=this;let _t;De=De||Xe.shift();do{if(_t=De.execute(De.state,De.delay))break}while((De=Xe[0])&&De.id===ke&&Xe.shift());if(this._active=!1,_t){for(;(De=Xe[0])&&De.id===ke&&Xe.shift();)De.unsubscribe();throw _t}}}(class G extends L.R{constructor(De,ke){super(De,ke),this.scheduler=De,this.work=ke}requestAsyncId(De,ke,Xe=0){return null!==Xe&&Xe>0?super.requestAsyncId(De,ke,Xe):(De.actions.push(this),De._scheduled||(De._scheduled=R.requestAnimationFrame((()=>De.flush(void 0)))))}recycleAsyncId(De,ke,Xe=0){var _t;if(null!=Xe?Xe>0:this.delay>0)return super.recycleAsyncId(De,ke,Xe);const{actions:Pt}=De;null!=ke&&(null===(_t=Pt[Pt.length-1])||void 0===_t?void 0:_t.id)!==ke&&(R.cancelAnimationFrame(ke),De._scheduled=void 0)}});var be=function(Q){return Q.top="top",Q.bottom="bottom",Q.left="left",Q.right="right",Q.auto="auto",Q.end="right",Q.start="left",Q["top left"]="top left",Q["top right"]="top right",Q["right top"]="right top",Q["right bottom"]="right bottom",Q["bottom right"]="bottom right",Q["bottom left"]="bottom left",Q["left bottom"]="left bottom",Q["left top"]="left top",Q["top start"]="top left",Q["top end"]="top right",Q["end top"]="right top",Q["end bottom"]="right bottom",Q["bottom end"]="bottom right",Q["bottom start"]="bottom left",Q["start bottom"]="start bottom",Q["start top"]="left top",Q}(be||{}),He=function(Q){return Q.top="top",Q.bottom="bottom",Q.left="start",Q.right="end",Q.auto="auto",Q.end="end",Q.start="start",Q["top left"]="top start",Q["top right"]="top end",Q["right top"]="end top",Q["right bottom"]="end bottom",Q["bottom right"]="bottom end",Q["bottom left"]="bottom start",Q["left bottom"]="start bottom",Q["left top"]="start top",Q["top start"]="top start",Q["top end"]="top end",Q["end top"]="end top",Q["end bottom"]="end bottom",Q["bottom end"]="bottom end",Q["bottom start"]="bottom start",Q["start bottom"]="start bottom",Q["start top"]="start top",Q}(He||{});function Fe(Q,De){if(1!==Q.nodeType)return[];const Xe=Q.ownerDocument.defaultView?.getComputedStyle(Q,null);return De?Xe&&Xe[De]:Xe}function ct(Q){if(!Q)return document.documentElement;let Xe,ke=Q?.offsetParent;for(;null===ke&&Q.nextElementSibling&&Xe!==Q.nextElementSibling;)Xe=Q.nextElementSibling,ke=Xe.offsetParent;const _t=ke&&ke.nodeName;return _t&&"BODY"!==_t&&"HTML"!==_t?ke&&-1!==["TH","TD","TABLE"].indexOf(ke.nodeName)&&"static"===Fe(ke,"position")?ct(ke):ke:Xe?Xe.ownerDocument.documentElement:document.documentElement}function Le(Q){return null!==Q.parentNode?Le(Q.parentNode):Q}function Oe(Q,De){if(!(Q&&Q.nodeType&&De&&De.nodeType))return document.documentElement;const ke=Q.compareDocumentPosition(De)&Node.DOCUMENT_POSITION_FOLLOWING,Xe=ke?Q:De,_t=ke?De:Q,Pt=document.createRange();Pt.setStart(Xe,0),Pt.setEnd(_t,0);const vt=Pt.commonAncestorContainer;if(Q!==vt&&De!==vt||Xe.contains(_t))return function Qe(Q){const{nodeName:De}=Q;return"BODY"!==De&&("HTML"===De||ct(Q.firstElementChild)===Q)}(vt)?vt:ct(vt);const jt=Le(Q);return jt.host?Oe(jt.host,De):Oe(Q,Le(De).host)}function nt(Q){if(!Q||!Q.parentElement)return document.documentElement;let De=Q.parentElement;for(;De?.parentElement&&"none"===Fe(De,"transform");)De=De.parentElement;return De||document.documentElement}function It(Q,De){const ke="x"===De?"Left":"Top",Xe="Left"===ke?"Right":"Bottom";return parseFloat(Q[`border${ke}Width`])+parseFloat(Q[`border${Xe}Width`])}function Je(Q,De,ke){return Math.max(De[`offset${Q}`],De[`scroll${Q}`],ke[`client${Q}`],ke[`offset${Q}`],ke[`scroll${Q}`],0)}function qe(Q){const De=Q.body,ke=Q.documentElement;return{height:Je("Height",De,ke),width:Je("Width",De,ke)}}function wt(Q){return{...Q,right:(Q.left||0)+Q.width,bottom:(Q.top||0)+Q.height}}function ie(Q){return"number"==typeof Q||"[object Number]"===Object.prototype.toString.call(Q)}function Z(Q){const De=Q.getBoundingClientRect();if(!(De&&ie(De.top)&&ie(De.left)&&ie(De.bottom)&&ie(De.right)))return De;const ke={left:De.left,top:De.top,width:De.right-De.left,height:De.bottom-De.top},Xe="HTML"===Q.nodeName?qe(Q.ownerDocument):void 0,_t=Xe?.width||Q.clientWidth||ie(De.right)&&ie(ke.left)&&De.right-ke.left||0,Pt=Xe?.height||Q.clientHeight||ie(De.bottom)&&ie(ke.top)&&De.bottom-ke.top||0;let vt=Q.offsetWidth-_t,jt=Q.offsetHeight-Pt;if(vt||jt){const re=Fe(Q);vt-=It(re,"x"),jt-=It(re,"y"),ke.width-=vt,ke.height-=jt}return wt(ke)}function H(Q,De,ke=!1){const Xe="HTML"===De.nodeName,_t=Z(Q),Pt=Z(De),vt=Fe(De),jt=parseFloat(vt.borderTopWidth),re=parseFloat(vt.borderLeftWidth);ke&&Xe&&(Pt.top=Math.max(Pt.top??0,0),Pt.left=Math.max(Pt.left??0,0));const ae=wt({top:(_t.top??0)-(Pt.top??0)-jt,left:(_t.left??0)-(Pt.left??0)-re,width:_t.width,height:_t.height});if(ae.marginTop=0,ae.marginLeft=0,Xe){const Se=parseFloat(vt.marginTop),_e=parseFloat(vt.marginLeft);ie(ae.top)&&(ae.top-=jt-Se),ie(ae.bottom)&&(ae.bottom-=jt-Se),ie(ae.left)&&(ae.left-=re-_e),ie(ae.right)&&(ae.right-=re-_e),ae.marginTop=Se,ae.marginLeft=_e}return ae}function ue(Q){return"HTML"===Q.nodeName?Q:Q.parentNode||Q.host}function xe(Q){if(!Q)return document.body;switch(Q.nodeName){case"HTML":case"BODY":return Q.ownerDocument.body;case"#document":return Q.body}const{overflow:De,overflowX:ke,overflowY:Xe}=Fe(Q);return/(auto|scroll|overlay)/.test(String(De)+String(Xe)+String(ke))?Q:xe(ue(Q))}function lt(Q,De="top"){const ke="top"===De?"scrollTop":"scrollLeft",Xe=Q.nodeName;return"BODY"===Xe||"HTML"===Xe?(Q.ownerDocument.scrollingElement||Q.ownerDocument.documentElement)[ke]:Q[ke]}function Ve(Q){const De=Q.nodeName;return"BODY"!==De&&"HTML"!==De&&("fixed"===Fe(Q,"position")||Ve(ue(Q)))}function Te(Q,De,ke=0,Xe,_t=!1){let Pt={top:0,left:0};const vt=_t?nt(Q):Oe(Q,De);if("viewport"===Xe)Pt=function We(Q,De=!1){const ke=Q.ownerDocument.documentElement,Xe=H(Q,ke),_t=Math.max(ke.clientWidth,window.innerWidth||0),Pt=Math.max(ke.clientHeight,window.innerHeight||0),vt=De?0:lt(ke),jt=De?0:lt(ke,"left");return wt({top:vt-Number(Xe?.top)+Number(Xe?.marginTop),left:jt-Number(Xe?.left)+Number(Xe?.marginLeft),width:_t,height:Pt})}(vt,_t);else{let jt;"scrollParent"===Xe?(jt=xe(ue(De)),"BODY"===jt.nodeName&&(jt=Q.ownerDocument.documentElement)):jt="window"===Xe?Q.ownerDocument.documentElement:Xe;const re=H(jt,vt,_t);if(re&&"HTML"===jt.nodeName&&!Ve(vt)){const{height:ae,width:Se}=qe(Q.ownerDocument);ie(Pt.top)&&ie(re.top)&&ie(re.marginTop)&&(Pt.top+=re.top-re.marginTop),ie(Pt.top)&&(Pt.bottom=Number(ae)+Number(re.top)),ie(Pt.left)&&ie(re.left)&&ie(re.marginLeft)&&(Pt.left+=re.left-re.marginLeft),ie(Pt.top)&&(Pt.right=Number(Se)+Number(re.left))}else re&&(Pt=re)}return ie(Pt.left)&&(Pt.left+=ke),ie(Pt.top)&&(Pt.top+=ke),ie(Pt.right)&&(Pt.right-=ke),ie(Pt.bottom)&&(Pt.bottom-=ke),Pt}function it({width:Q,height:De}){return Q*De}function Ft(Q,De,ke,Xe,_t=["top","bottom","right","left"],Pt="viewport",vt=0){if(-1===Q.indexOf("auto"))return Q;const jt=Te(ke,Xe,vt,Pt),re={top:{width:jt?.width??0,height:(De?.top??0)-(jt?.top??0)},right:{width:(jt?.right??0)-(De?.right??0),height:jt?.height??0},bottom:{width:jt?.width??0,height:(jt?.bottom??0)-(De?.bottom??0)},left:{width:(De.left??0)-(jt?.left??0),height:jt?.height??0}},ae=Object.keys(re).map((ut=>({position:ut,...re[ut],area:it(re[ut])}))).sort(((ut,Lt)=>Lt.area-ut.area));let Se=ae.filter((({width:ut,height:Lt})=>ut>=ke.clientWidth&&Lt>=ke.clientHeight));Se=Se.filter((({position:ut})=>_t.some((Lt=>Lt===ut))));const _e=Se.length>0?Se[0].position:ae[0].position,ze=Q.split(" ")[1];return ke.className=ke.className.replace(/bs-tooltip-auto/g,`bs-tooltip-${(0,o.Bu)().isBs5?He[_e]:_e}`),_e+(ze?`-${ze}`:"")}const Sn=(Q,De=0)=>Q?parseFloat(Q):De;function Ln(Q){const ke=Q.ownerDocument.defaultView?.getComputedStyle(Q),Xe=Sn(ke?.marginTop)+Sn(ke?.marginBottom),_t=Sn(ke?.marginLeft)+Sn(ke?.marginRight);return{width:Number(Q.offsetWidth)+_t,height:Number(Q.offsetHeight)+Xe}}function Jn(Q,De,ke){return H(De,ke?nt(Q):Oe(Q,De),ke)}function Vn(Q,De,ke){const Xe=ke.split(" ")[0],_t=Ln(Q),Pt={width:_t.width,height:_t.height},vt=-1!==["right","left"].indexOf(Xe),jt=vt?"top":"left",re=vt?"left":"top",ae=vt?"height":"width",Se=vt?"width":"height";return Pt[jt]=(De[jt]??0)+De[ae]/2-_t[ae]/2,Pt[re]=Xe===re?(De[re]??0)-_t[Se]:De[function en(Q){const De={left:"right",right:"left",bottom:"top",top:"bottom"};return Q.replace(/left|right|bottom|top/g,(ke=>De[ke]))}(re)]??0,Pt}function Un(Q,De){return!!Q.modifiers[De]?.enabled}const et={top:["top","top start","top end"],bottom:["bottom","bottom start","bottom end"],start:["start","start top","start bottom"],end:["end","end top","end bottom"]};function gt(Q,De){return!!(0,o.Bu)().isBs5&&et[De].includes(Q)}function Ze(Q,De,ke){!Q||!De||Object.keys(De).forEach((Xe=>{let _t="";-1!==["width","height","top","right","bottom","left"].indexOf(Xe)&&function me(Q){return""!==Q&&!isNaN(parseFloat(Q))&&isFinite(Number(Q))}(De[Xe])&&(_t="px"),ke?ke.setStyle(Q,Xe,`${String(De[Xe])}${_t}`):Q.style[Xe]=String(De[Xe])+_t}))}function yn(Q){let De=Q.offsets.target;const ke=Q.instance.target.querySelector(".arrow");if(!ke)return Q;const Xe=-1!==["left","right"].indexOf(Q.placement.split(" ")[0]),_t=Xe?"height":"width",Pt=Xe?"Top":"Left",vt=Pt.toLowerCase(),jt=Xe?"left":"top",re=Xe?"bottom":"right",ae=Ln(ke)[_t],Se=Q.placement.split(" ")[1];(Q.offsets.host[re]??0)-ae<(De[vt]??0)&&(De[vt]-=(De[vt]??0)-((Q.offsets.host[re]??0)-ae)),Number(Q.offsets.host[vt])+Number(ae)>(De[re]??0)&&(De[vt]+=Number(Q.offsets.host[vt])+Number(ae)-Number(De[re])),De=wt(De);const _e=Fe(Q.instance.target),ze=parseFloat(_e[`margin${Pt}`])||0,ut=parseFloat(_e[`border${Pt}Width`])||0;let Lt;if(Se){const At=parseFloat(_e.borderRadius)||0,Ee=Number(ze+ut+At);Lt=vt===Se?Number(Q.offsets.host[vt])+Ee:Number(Q.offsets.host[vt])+Number(Q.offsets.host[_t]-Ee)}else Lt=Number(Q.offsets.host[vt])+Number(Q.offsets.host[_t]/2-ae/2);let Nt=Lt-(De[vt]??0)-ze-ut;return Nt=Math.max(Math.min(De[_t]-(ae+5),Nt),0),Q.offsets.arrow={[vt]:Math.round(Nt),[jt]:""},Q.instance.arrow=ke,Q}function zn(Q){if(Q.offsets.target=wt(Q.offsets.target),!Un(Q.options,"flip"))return Q.offsets.target={...Q.offsets.target,...Vn(Q.instance.target,Q.offsets.host,Q.placement)},Q;const De=Te(Q.instance.target,Q.instance.host,0,"viewport",!1);let ke=Q.placement.split(" ")[0],Xe=Q.placement.split(" ")[1]||"";const jt=Ft("auto",Q.offsets.host,Q.instance.target,Q.instance.host,Q.options.allowedPositions),re=[ke,jt];return re.forEach(((ae,Se)=>{if(ke!==ae||re.length===Se+1)return;ke=Q.placement.split(" ")[0];const _e="left"===ke&&Math.floor(Q.offsets.target.right??0)>Math.floor(Q.offsets.host.left??0)||"right"===ke&&Math.floor(Q.offsets.target.left??0)<Math.floor(Q.offsets.host.right??0)||"top"===ke&&Math.floor(Q.offsets.target.bottom??0)>Math.floor(Q.offsets.host.top??0)||"bottom"===ke&&Math.floor(Q.offsets.target.top??0)<Math.floor(Q.offsets.host.bottom??0),ze=Math.floor(Q.offsets.target.left??0)<Math.floor(De.left??0),ut=Math.floor(Q.offsets.target.right??0)>Math.floor(De.right??0),Lt=Math.floor(Q.offsets.target.top??0)<Math.floor(De.top??0),Nt=Math.floor(Q.offsets.target.bottom??0)>Math.floor(De.bottom??0),At="left"===ke&&ze||"right"===ke&&ut||"top"===ke&&Lt||"bottom"===ke&&Nt,Ee=-1!==["top","bottom"].indexOf(ke),fe=Ee&&"left"===Xe&&ze||Ee&&"right"===Xe&&ut||!Ee&&"left"===Xe&&Lt||!Ee&&"right"===Xe&&Nt;(_e||At||fe)&&((_e||At)&&(ke=re[Se+1]),fe&&(Xe=function pn(Q){return"right"===Q?"left":"left"===Q?"right":Q}(Xe)),Q.placement=ke+(Xe?` ${Xe}`:""),Q.offsets.target={...Q.offsets.target,...Vn(Q.instance.target,Q.offsets.host,Q.placement)})})),Q}function Gn(Q){if(!Un(Q.options,"preventOverflow"))return Q;const De="transform",ke=Q.instance.target.style,{top:Xe,left:_t,[De]:Pt}=ke;ke.top="",ke.left="",ke[De]="";const vt=Te(Q.instance.target,Q.instance.host,0,Q.options.modifiers.preventOverflow?.boundariesElement||"scrollParent",!1);ke.top=Xe,ke.left=_t,ke[De]=Pt;const re={primary(ae){let Se=Q.offsets.target[ae];return(Q.offsets.target[ae]??0)<(vt[ae]??0)&&(Se=Math.max(Q.offsets.target[ae]??0,vt[ae]??0)),{[ae]:Se}},secondary(ae){const Se="right"===ae,_e=Se?"left":"top";let ut=Q.offsets.target[_e];return(Q.offsets.target[ae]??0)>(vt[ae]??0)&&(ut=Math.min(Q.offsets.target[_e]??0,(vt[ae]??0)-Q.offsets.target[Se?"width":"height"])),{[_e]:ut}}};return["left","right","top","bottom"].forEach((ae=>{const Se=-1!==["left","top","start"].indexOf(ae)?re.primary:re.secondary;Q.offsets.target={...Q.offsets.target,...Se(ae)}})),Q}function Mr(Q){const De=Q.placement,ke=De.split(" ")[0],Xe=De.split(" ")[1];if(Xe){const{host:_t,target:Pt}=Q.offsets,vt=-1!==["bottom","top"].indexOf(ke),jt=vt?"left":"top",re=vt?"width":"height",ae={start:{[jt]:_t[jt]},end:{[jt]:(_t[jt]??0)+_t[re]-Pt[re]}};Q.offsets.target={...Pt,[jt]:jt===Xe?ae.start[jt]:ae.end[jt]}}return Q}const Sr=new class rr{position(De,ke){return this.offset(De,ke)}offset(De,ke){return Jn(ke,De)}positionElements(De,ke,Xe,_t,Pt){const vt=[zn,Mr,Gn,yn],re=function _r(Q,De,ke,Xe){if(!Q||!De)return;const _t=Jn(Q,De);!ke.match(/^(auto)*\s*(left|right|top|bottom|start|end)*$/)&&!ke.match(/^(left|right|top|bottom|start|end)*(?: (left|right|top|bottom|start|end))*$/)&&(ke="auto");const Pt=!!ke.match(/auto/g);let vt=ke.match(/auto\s(left|right|top|bottom|start|end)/)?ke.split(" ")[1]||"auto":ke;const jt=vt.match(/^(left|right|top|bottom|start|end)* ?(?!\1)(left|right|top|bottom|start|end)?/);return jt&&(vt=jt[1]+(jt[2]?` ${jt[2]}`:"")),-1!==["left right","right left","top bottom","bottom top"].indexOf(vt)&&(vt="auto"),vt=Ft(vt,_t,Q,De,Xe?Xe.allowedPositions:void 0),{options:Xe||{modifiers:{}},instance:{target:Q,host:De,arrow:void 0},offsets:{target:Vn(Q,_t,vt),host:_t,arrow:void 0},positionFixed:!1,placement:vt,placementAuto:Pt}}(ke,De,be[Xe],Pt);if(re)return vt.reduce(((ae,Se)=>Se(ae)),re)}};function On(Q,De,ke,Xe,_t,Pt){const vt=Sr.positionElements(Q,De,ke,Xe,_t);if(!vt)return;const jt=function Bt(Q){return{width:Q.offsets.target.width,height:Q.offsets.target.height,left:Math.floor(Q.offsets.target.left??0),top:Math.round(Q.offsets.target.top??0),bottom:Math.round(Q.offsets.target.bottom??0),right:Math.floor(Q.offsets.target.right??0)}}(vt);Ze(De,{"will-change":"transform",top:"0px",left:"0px",transform:`translate3d(${jt.left}px, ${jt.top}px, 0px)`},Pt),vt.instance.arrow&&Ze(vt.instance.arrow,vt.offsets.arrow,Pt),function tt(Q,De){const ke=Q.instance.target;let Xe=ke.className;const _t=(0,o.Bu)().isBs5?He[Q.placement]:Q.placement;Q.placementAuto&&(Xe=Xe.replace(/bs-popover-auto/g,`bs-popover-${_t}`),Xe=Xe.replace(/ms-2|me-2|mb-2|mt-2/g,""),Xe=Xe.replace(/bs-tooltip-auto/g,`bs-tooltip-${_t}`),Xe=Xe.replace(/\sauto/g,` ${_t}`),-1!==Xe.indexOf("popover")&&(Xe=Xe+" "+function Ie(Q){return(0,o.Bu)().isBs5?gt(Q,"end")?"ms-2":gt(Q,"start")?"me-2":gt(Q,"top")?"mb-2":gt(Q,"bottom")?"mt-2":"":""}(_t)),-1!==Xe.indexOf("popover")&&-1===Xe.indexOf("popover-auto")&&(Xe+=" popover-auto"),-1!==Xe.indexOf("tooltip")&&-1===Xe.indexOf("tooltip-auto")&&(Xe+=" tooltip-auto")),Xe=Xe.replace(/left|right|top|bottom|end|start/g,`${_t.split(" ")[0]}`),De?De.setAttribute(ke,"class",Xe):ke.className=Xe}(vt,Pt)}let gn=(()=>{class Q{constructor(ke,Xe,_t){this.update$$=new P.B,this.positionElements=new Map,this.isDisabled=!1,(0,T.UE)(_t)&&ke.runOutsideAngular((()=>{this.triggerEvent$=(0,b.h)((0,S.R)(window,"scroll",{passive:!0}),(0,S.R)(window,"resize",{passive:!0}),(0,x.of)(0,he),this.update$$),this.triggerEvent$.subscribe((()=>{this.isDisabled||this.positionElements.forEach((Pt=>{On(ft(Pt.target),ft(Pt.element),Pt.attachment,Pt.appendToBody,this.options,Xe.createRenderer(null,null))}))}))}))}position(ke){this.addPositionElement(ke)}get event$(){return this.triggerEvent$}disable(){this.isDisabled=!0}enable(){this.isDisabled=!1}addPositionElement(ke){this.positionElements.set(ft(ke.element),ke)}calcPosition(){this.update$$.next(null)}deletePositionElement(ke){this.positionElements.delete(ft(ke))}setOptions(ke){this.options=ke}static#e=this.ɵfac=function(Xe){return new(Xe||Q)(m.KVO(m.SKi),m.KVO(m._9s),m.KVO(m.Agw))};static#t=this.ɵprov=m.jDH({token:Q,factory:Q.ɵfac,providedIn:"root"})}return Q})();function ft(Q){return"string"==typeof Q?document.querySelector(Q):Q instanceof m.aKT?Q.nativeElement:Q??null}},534:(U,I,c)=>{"use strict";c.d(I,{Ss:()=>ve,dg:()=>oe});var o=c(3953),m=c(2806),T=c(2865),P=c(5215),b=c(6932),S=c(1584),x=c(177);const L=["*"];let j=(()=>{class he{constructor(){this.adaptivePosition=!0,this.placement="top",this.triggers="hover focus",this.delay=0}static#e=this.ɵfac=function(He){return new(He||he)};static#t=this.ɵprov=o.jDH({token:he,factory:he.ɵfac,providedIn:"root"})}return he})(),R=(()=>{class he{get _bsVersions(){return(0,m.Bu)()}constructor(be){Object.assign(this,be)}ngAfterViewInit(){this.classMap={in:!1,fade:!1},this.placement&&(this._bsVersions.isBs5&&(this.placement=T.Rz[this.placement]),this.classMap[this.placement]=!0),this.classMap[`tooltip-${this.placement}`]=!0,this.classMap.in=!0,this.animation&&(this.classMap.fade=!0),this.containerClass&&(this.classMap[this.containerClass]=!0)}static#e=this.ɵfac=function(He){return new(He||he)(o.rXU(j))};static#t=this.ɵcmp=o.VBU({type:he,selectors:[["bs-tooltip-container"]],hostAttrs:["role","tooltip"],hostVars:3,hostBindings:function(He,Fe){2&He&&(o.BMQ("id",Fe.id),o.HbH("show tooltip in tooltip-"+Fe.placement+" bs-tooltip-"+Fe.placement+" "+Fe.placement+" "+Fe.containerClass))},ngContentSelectors:L,decls:3,vars:0,consts:[[1,"tooltip-arrow","arrow"],[1,"tooltip-inner"]],template:function(He,Fe){1&He&&(o.NAR(),o.nrm(0,"div",0),o.j41(1,"div",1),o.SdG(2),o.k0s())},styles:[".tooltip[_nghost-%COMP%]{display:block;pointer-events:none;position:absolute}.tooltip[_nghost-%COMP%]   .tooltip-arrow[_ngcontent-%COMP%]{position:absolute}"],changeDetection:0})}return he})(),G=0,oe=(()=>{class he{get isOpen(){return this._tooltip.isShown}set isOpen(be){be?this.show():this.hide()}set htmlContent(be){(0,m.mc)("tooltipHtml was deprecated, please use `tooltip` instead"),this.tooltip=be}set _placement(be){(0,m.mc)("tooltipPlacement was deprecated, please use `placement` instead"),this.placement=be}set _isOpen(be){(0,m.mc)("tooltipIsOpen was deprecated, please use `isOpen` instead"),this.isOpen=be}get _isOpen(){return(0,m.mc)("tooltipIsOpen was deprecated, please use `isOpen` instead"),this.isOpen}set _enable(be){(0,m.mc)("tooltipEnable was deprecated, please use `isDisabled` instead"),this.isDisabled=!be}get _enable(){return(0,m.mc)("tooltipEnable was deprecated, please use `isDisabled` instead"),this.isDisabled}set _appendToBody(be){(0,m.mc)('tooltipAppendToBody was deprecated, please use `container="body"` instead'),this.container=be?"body":this.container}get _appendToBody(){return(0,m.mc)('tooltipAppendToBody was deprecated, please use `container="body"` instead'),"body"===this.container}set _popupClass(be){(0,m.mc)("tooltipClass deprecated")}set _tooltipContext(be){(0,m.mc)("tooltipContext deprecated")}set _tooltipPopupDelay(be){(0,m.mc)("tooltipPopupDelay is deprecated, use `delay` instead"),this.delay=be}get _tooltipTrigger(){return(0,m.mc)("tooltipTrigger was deprecated, please use `triggers` instead"),this.triggers}set _tooltipTrigger(be){(0,m.mc)("tooltipTrigger was deprecated, please use `triggers` instead"),this.triggers=(be||"").toString()}constructor(be,He,Fe,ct,Qe,Le){this._elementRef=ct,this._renderer=Qe,this._positionService=Le,this.tooltipId=G++,this.adaptivePosition=!0,this.tooltipChange=new o.bkB,this.placement="top",this.triggers="hover focus",this.containerClass="",this.isDisabled=!1,this.delay=0,this.tooltipAnimation=!0,this.tooltipFadeDuration=150,this.tooltipStateChanged=new o.bkB,this._tooltip=He.createLoader(this._elementRef,be,this._renderer).provide({provide:j,useValue:Fe}),Object.assign(this,Fe),this.onShown=this._tooltip.onShown,this.onHidden=this._tooltip.onHidden}ngOnInit(){this._tooltip.listen({triggers:this.triggers,show:()=>this.show()}),this.tooltipChange.subscribe((be=>{be||this._tooltip.hide()})),this.onShown.subscribe((()=>{this.setAriaDescribedBy()})),this.onHidden.subscribe((()=>{this.setAriaDescribedBy()}))}setAriaDescribedBy(){this._ariaDescribedby=this.isOpen?`tooltip-${this.tooltipId}`:void 0,this._ariaDescribedby?this._renderer.setAttribute(this._elementRef.nativeElement,"aria-describedby",this._ariaDescribedby):this._renderer.removeAttribute(this._elementRef.nativeElement,"aria-describedby")}toggle(){if(this.isOpen)return this.hide();this.show()}show(){if(this._positionService.setOptions({modifiers:{flip:{enabled:this.adaptivePosition},preventOverflow:{enabled:this.adaptivePosition,boundariesElement:this.boundariesElement||"scrollParent"}}}),this.isOpen||this.isDisabled||this._delayTimeoutId||!this.tooltip)return;const be=()=>{this._delayTimeoutId&&(this._delayTimeoutId=void 0),this._tooltip.attach(R).to(this.container).position({attachment:this.placement}).show({content:this.tooltip,placement:this.placement,containerClass:this.containerClass,id:`tooltip-${this.tooltipId}`})},He=()=>{this._tooltipCancelShowFn&&this._tooltipCancelShowFn()};this.delay?(this._delaySubscription&&this._delaySubscription.unsubscribe(),this._delaySubscription=(0,S.O)(this.delay).subscribe((()=>{be(),He()})),this.triggers&&(0,m.Zu)(this.triggers).forEach((Fe=>{Fe.close&&(this._tooltipCancelShowFn=this._renderer.listen(this._elementRef.nativeElement,Fe.close,(()=>{this._delaySubscription?.unsubscribe(),He()})))}))):be()}hide(){this._delayTimeoutId&&(clearTimeout(this._delayTimeoutId),this._delayTimeoutId=void 0),this._tooltip.isShown&&(this._tooltip.instance?.classMap&&(this._tooltip.instance.classMap.in=!1),setTimeout((()=>{this._tooltip.hide()}),this.tooltipFadeDuration))}ngOnDestroy(){this._tooltip.dispose(),this.tooltipChange.unsubscribe(),this._delaySubscription&&this._delaySubscription.unsubscribe(),this.onShown.unsubscribe(),this.onHidden.unsubscribe()}static#e=this.ɵfac=function(He){return new(He||he)(o.rXU(o.c1b),o.rXU(b.Li),o.rXU(j),o.rXU(o.aKT),o.rXU(o.sFG),o.rXU(T.DF))};static#t=this.ɵdir=o.FsC({type:he,selectors:[["","tooltip",""],["","tooltipHtml",""]],inputs:{adaptivePosition:"adaptivePosition",tooltip:"tooltip",placement:"placement",triggers:"triggers",container:"container",containerClass:"containerClass",boundariesElement:"boundariesElement",isOpen:"isOpen",isDisabled:"isDisabled",delay:"delay",htmlContent:[0,"tooltipHtml","htmlContent"],_placement:[0,"tooltipPlacement","_placement"],_isOpen:[0,"tooltipIsOpen","_isOpen"],_enable:[0,"tooltipEnable","_enable"],_appendToBody:[0,"tooltipAppendToBody","_appendToBody"],tooltipAnimation:"tooltipAnimation",_popupClass:[0,"tooltipClass","_popupClass"],_tooltipContext:[0,"tooltipContext","_tooltipContext"],_tooltipPopupDelay:[0,"tooltipPopupDelay","_tooltipPopupDelay"],tooltipFadeDuration:"tooltipFadeDuration",_tooltipTrigger:[0,"tooltipTrigger","_tooltipTrigger"]},outputs:{tooltipChange:"tooltipChange",onShown:"onShown",onHidden:"onHidden",tooltipStateChanged:"tooltipStateChanged"},exportAs:["bs-tooltip"]})}return(0,P.Cg)([(0,m.Yr)(),(0,P.Sn)("design:type",Object)],he.prototype,"tooltip",void 0),he})(),ve=(()=>{class he{static forRoot(){return{ngModule:he,providers:[b.Li,T.DF]}}static#e=this.ɵfac=function(He){return new(He||he)};static#t=this.ɵmod=o.$C({type:he});static#n=this.ɵinj=o.G2t({imports:[x.MD]})}return he})()},2806:(U,I,c)=>{"use strict";c.d(I,{Al:()=>R,Aq:()=>H,Bu:()=>wt,Fv:()=>L,GL:()=>S,Xt:()=>x,Yl:()=>It,Yr:()=>Z,Zu:()=>P,mc:()=>lt});var o=c(3953);class m{constructor(Ve,Te){this.open=Ve,this.close=Te||Ve}isManual(){return"manual"===this.open||"manual"===this.close}}const T={hover:["mouseover","mouseout"],focus:["focusin","focusout"]};function P(We,Ve=T){const Te=(We||"").trim();if(0===Te.length)return[];const it=Te.split(/\s+/).map((Bt=>Bt.split(":"))).map((Bt=>{const en=Ve[Bt[0]]||Bt;return new m(en[0],en[1])})),Ft=it.filter((Bt=>Bt.isManual()));if(Ft.length>1)throw new Error("Triggers parse error: only one manual trigger is allowed");if(1===Ft.length&&it.length>1)throw new Error("Triggers parse error: manual trigger can't be mixed with other triggers");return it}function S(We,Ve){const Te=P(Ve.triggers),it=Ve.target;if(1===Te.length&&Te[0].isManual())return Function.prototype;const Ft=[],Bt=[],en=()=>{Bt.forEach((pn=>Ft.push(pn()))),Bt.length=0};return Te.forEach((pn=>{const Sn=pn.open===pn.close,Ln=Sn?Ve.toggle:Ve.show;if(!Sn&&pn.close&&Ve.hide){const Jn=pn.close,Vn=Ve.hide;Bt.push((()=>We.listen(it,Jn,Vn)))}Ln&&Ft.push(We.listen(it,pn.open,(()=>Ln(en))))})),()=>{Ft.forEach((pn=>pn()))}}function x(We,Ve){return Ve.outsideClick?We.listen("document","click",(Te=>{Ve.target&&Ve.target.contains(Te.target)||Ve.targets&&Ve.targets.some((it=>it.contains(Te.target)))||Ve.hide&&Ve.hide()})):Function.prototype}function L(We,Ve){return Ve.outsideEsc?We.listen("document","keyup.esc",(Te=>{Ve.target&&Ve.target.contains(Te.target)||Ve.targets&&Ve.targets.some((it=>it.contains(Te.target)))||Ve.hide&&Ve.hide()})):Function.prototype}const j=typeof window<"u"&&window||{},R=j.document;var Le=function(We){return We.isBs4="bs4",We.isBs5="bs5",We}(Le||{});let Oe;function nt(){const We=j.document.createElement("span");We.innerText="testing bs version",We.classList.add("d-none"),We.classList.add("pl-1"),j.document.head.appendChild(We);const Ve=j.getComputedStyle(We).paddingLeft;return Ve&&parseFloat(Ve)?(j.document.head.removeChild(We),"bs4"):(j.document.head.removeChild(We),"bs5")}function It(We){Oe=We}function wt(){return{isBs4:(Oe||(Oe=nt()),"bs4"===Oe),isBs5:(Oe||(Oe=nt()),"bs5"===Oe)}}function Z(){return function(Te,it){const Ft=` __${it}Value`;Object.defineProperty(Te,it,{get(){return this[Ft]},set(Bt){const en=this[Ft];this[Ft]=Bt,en!==Bt&&this[it+"Change"]&&this[it+"Change"].emit(Bt)}})}}class H{static reflow(Ve){}static getStyles(Ve){let Te=Ve.ownerDocument.defaultView;return(!Te||!Te.opener)&&(Te=j),Te.getComputedStyle(Ve)}static stackOverflowConfig(){const Ve=function me(){const We=wt(),Ve=Object.keys(We).find((Te=>We[Te]));return Le[Ve]}();return{crossorigin:"anonymous",integrity:"bs5"===Ve?"sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65":"sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2",cdnLink:"bs5"===Ve?"https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css":"https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css"}}}const ue={},xe=typeof console>"u"||!("warn"in console);function lt(We){!(0,o.naY)()||xe||We in ue||(ue[We]=!0,console.warn(We))}}}]);
Back to Directory File Manager