Viewing File: /usr/local/cpanel/base/frontend/jupiter/dynamic-dns/vendor-c0d76f48.js
(self.webpackChunkdynamic_dns=self.webpackChunkdynamic_dns||[]).push([[128],{7343:(H,k,D)=>{"use strict";D.d(k,{o:()=>s});var s=function(b){return b[b.GET=0]="GET",b[b.HEAD=1]="HEAD",b[b.POST=2]="POST",b[b.PUT=3]="PUT",b[b.DELETE=4]="DELETE",b[b.CONNECT=5]="CONNECT",b[b.OPTIONS=6]="OPTIONS",b[b.TRACE=7]="TRACE",b[b.PATCH=8]="PATCH",b}(s||{})},2940:(H,k,D)=>{"use strict";D.d(k,{V:()=>ut});var s=D(193),b=D.n(s),O=D(2584),R=D(6153),N=function($e){return $e[$e.Contains=0]="Contains",$e[$e.Begins=1]="Begins",$e[$e.Ends=2]="Ends",$e[$e.Matches=3]="Matches",$e[$e.Equal=4]="Equal",$e[$e.NotEqual=5]="NotEqual",$e[$e.LessThan=6]="LessThan",$e[$e.LessThanUnlimited=7]="LessThanUnlimited",$e[$e.GreaterThan=8]="GreaterThan",$e[$e.GreaterThanUnlimited=9]="GreaterThanUnlimited",$e[$e.Defined=10]="Defined",$e[$e.Undefined=11]="Undefined",$e}(N||{});class j{constructor(se,pe,Ie){if(!se)throw new Error("You must define a non-empty column name.");this.column=se,this.operator=pe,this.value=Ie}}var $=D(6802),B=D(686);class X{constructor(se=[]){this.headers=se}push(se){this.headers.push(se)}forEach(se,pe){this.headers.forEach(se,pe)}toArray(){const se=[];return this.headers.forEach(pe=>se.push({name:pe.name,value:pe.value})),se}toObject(){return this.headers.reduce((se,pe)=>(se[pe.name]=pe.value,se),{})}}class J{constructor(se){this._header=se}get name(){return this._header.name}get value(){return this._header.value}}Error,Error;class Oe extends Error{constructor(se){super(se),this.name="WhmApiTokenInvalidError",Object.setPrototypeOf(this,Oe.prototype)}}class Fe extends Error{constructor(se){super(se),this.name="WhmApiTokenMismatchError",Object.setPrototypeOf(this,Fe.prototype)}}class Ge extends J{constructor(se,pe){if(!se)throw new Oe("You must pass a valid token to the constructor.");if(!pe&&!/^.+:/.test(se))throw new Oe("You must pass a WHM username associated with the WHM API token.");if(!pe&&!/:.+$/.test(se))throw new Oe("You must pass a valid WHM API token.");super({name:"Authorization",value:`whm ${pe?pe+":":""}${se}`})}}class ze{get usePager(){return this._usePager}constructor(se){this.namespace="",this.method="",this.arguments=[],this.sorts=[],this.filters=[],this.columns=[],this.pager=new B.is,this.headers=new X,this._usePager=!1,this.defaultConfig={analytics:!1,json:!1},this.config=this.defaultConfig,se&&(this.method=se.method,se.namespace&&(this.namespace=se.namespace),se.arguments&&se.arguments.forEach(pe=>{this.addArgument(pe)}),se.sorts&&se.sorts.forEach(pe=>{this.addSort(pe)}),se.filters&&se.filters.forEach(pe=>{this.addFilter(pe)}),se.columns&&se.columns.forEach(pe=>this.addColumn(pe)),se.pager&&this.paginate(se.pager),this.config=se.config?se.config:this.defaultConfig,se.headers&&se.headers.forEach(pe=>{this.addHeader(pe)}))}addArgument(se){return this.arguments.push(se instanceof $.e?se:new $.e(se.name,se.value)),this}addSort(se){return this.sorts.push(se instanceof R.FU?se:new R.FU(se.column,se.direction,se.type)),this}addFilter(se){return this.filters.push(se instanceof j?se:new j(se.column,se.operator,se.value)),this}addColumn(se){return this.columns.push(se),this}addHeader(se){return this.headers.push(se instanceof J?se:new J(se)),this}paginate(se){return this.pager=se instanceof B.is?se:new B.is(se.page,se.pageSize||20),this._usePager=!0,this}}var We=D(7343);const vt=new class Ke{constructor(){this.map={},this.map.DEFAULT={verb:"DEFAULT",dataInBody:!0},[We.o.GET,We.o.DELETE,We.o.HEAD].forEach(se=>{const pe=We.o[se].toString();this.map[pe]={verb:pe,dataInBody:!1}}),[We.o.POST,We.o.PUT,We.o.PATCH].forEach(se=>{const pe=We.o[se].toString();this.map[pe]={verb:pe,dataInBody:!0}})}getRule(se){const pe="string"==typeof se?se:We.o[se].toString();let Ie=this.map[pe];return Ie||(Ie=this.map.DEFAULT),Ie}};var _t=D(6884);class ut extends ze{addHeader(se){if(se instanceof Ge)throw new Fe("A WhmApiTokenHeader cannot be used on a CpanelApiRequest");return super.addHeader(se),this}_build(se,pe){let Ie="";return se.forEach((Te,Se,de)=>{Ie+=pe.encode(Te.name,Te.value,Se===de.length-1)}),pe.separatorStart+Ie+pe.separatorEnd}_generateArguments(se){this.arguments.forEach(pe=>se.push(pe))}_generateSorts(se){this.sorts.forEach((pe,Ie)=>{0===Ie&&se.push({name:"api.sort",value:O.x(!0)}),se.push({name:"api.sort_column_"+Ie,value:pe.column}),se.push({name:"api.sort_reverse_"+Ie,value:O.x(pe.direction!==R.UE.Ascending)}),se.push({name:"api.sort_method_"+Ie,value:b()(R.r3[pe.type])})})}_lookupFilterOperator(se){switch(se){case N.GreaterThanUnlimited:return"gt_handle_unlimited";case N.GreaterThan:return"gt";case N.LessThanUnlimited:return"lt_handle_unlimited";case N.LessThan:return"lt";case N.NotEqual:return"ne";case N.Equal:return"eq";case N.Defined:return"defined";case N.Undefined:return"undefined";case N.Matches:return"matches";case N.Ends:return"ends";case N.Begins:return"begins";case N.Contains:return"contains";default:throw new Error(`Unrecognized FilterOperator ${N[se]} for UAPI`)}}_generateFilters(se){this.filters.forEach((pe,Ie)=>{se.push({name:"api.filter_column_"+Ie,value:pe.column}),se.push({name:"api.filter_type_"+Ie,value:this._lookupFilterOperator(pe.operator)}),se.push({name:"api.filter_term_"+Ie,value:pe.value})})}_traslatePageToStart(se){return(se.page-1)*se.pageSize+1}_generatePagination(se){if(!this.usePager)return;const pe=this.pager.all();se.push({name:"api.paginate",value:O.x(!0)}),se.push({name:"api.paginate_start",value:pe?-1:this._traslatePageToStart(this.pager)}),pe||se.push({name:"api.paginate_size",value:this.pager.pageSize})}_generateConfiguration(se){this.config&&this.config.analytics&&se.push({name:"api.analytics",value:O.x(this.config.analytics)})}constructor(se){super(se)}generate(se){if(!this.namespace)throw new Error("You must define a namespace for the UAPI call before you generate a request");if(!this.method)throw new Error("You must define a method for the UAPI call before you generate a request");se||(se={verb:We.o.POST,encoder:this.config.json?new _t.uM:new _t.CY}),se.encoder||(se.encoder=this.config.json?new _t.uM:new _t.CY);const pe=vt.getRule(se.verb),Ie={headers:new X([{name:"Content-Type",value:se.encoder.contentType}]),url:["","execute",this.namespace,this.method].map(encodeURIComponent).join("/"),body:""},Te=[];this._generateArguments(Te),this._generateSorts(Te),this._generateFilters(Te),this._generatePagination(Te),this._generateConfiguration(Te);const Se=this._build(Te,se.encoder);return pe.dataInBody?Ie.body=Se:Ie.url+=se.verb===We.o.GET?`?${Se}`:Se,this.headers.forEach(de=>{Ie.headers.push({name:de.name,value:de.value})}),Ie}}},6802:(H,k,D)=>{"use strict";D.d(k,{e:()=>b}),D(2584);class b{constructor(N,j){if(!N)throw new Error("You must provide a name when creating a name/value argument");this.name=N,this.value=j}}},6884:(H,k,D)=>{"use strict";D.d(k,{uM:()=>We,CY:()=>ze});var s=D(9261),b=D.n(s),O=D(5972),R=D.n(O),N=D(3705),j=D.n(N),$=D(9336),B=D.n($),X=D(8124),J=D.n(X),oe=D(9812),ge=D.n(oe),be=D(9970),Oe=D.n(be);function Fe(Ke){if(b()(Ke)||R()(Ke)||j()(Ke)||B()(Ke)||J()(Ke))return!0;if(!Oe()(Ke)&&!ge()(Ke))return!1;for(const vt in Ke)if(!Fe(Ke[vt]))return!1;return!0}class ze{constructor(){this.contentType="application/x-www-form-urlencoded",this.separatorStart="",this.separatorEnd="",this.recordSeparator="&"}encode(vt,_t,ut){if(!vt)throw new Error("Name must have a non-empty value");return`${vt}=${encodeURIComponent(_t.toString())}`+(ut?"":this.recordSeparator)}}class We{constructor(){this.contentType="application/json",this.separatorStart="{",this.separatorEnd="}",this.recordSeparator=","}encode(vt,_t,ut){if(!vt)throw new Error("Name must have a non-empty value");if(!Fe(_t))throw new Error("The passed in value can not be serialized to JSON");return JSON.stringify(vt)+":"+JSON.stringify(_t)+(ut?"":this.recordSeparator)}}},1960:(H,k,D)=>{"use strict";D.d(k,{N:()=>s});class s{get pathname(){return window.location.pathname}get port(){return window.location.port}get hostname(){return window.location.hostname}get protocol(){return window.location.protocol}}},686:(H,k,D)=>{"use strict";D.d(k,{is:()=>O});const b=Number.POSITIVE_INFINITY;class O{constructor(N=1,j=20){if(N<=0)throw new Error("The page must be 1 or greater. This is the logical page, not a programming index.");if(j<=0)throw new Error("The pageSize must be set to 'ALL' or a number > 0");this.page=N,this.pageSize=j}all(){return this.pageSize===b}}},9390:(H,k,D)=>{"use strict";D.d(k,{KL:()=>j});const N={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 j{constructor(B){this.unprotectedPaths=["/resetpass","/invitation"],this.protocol=B.protocol;let X=B.port;X||(function s($){return/^https:$/i.test($)}(this.protocol)?X="443":function b($){return/^http:$/i.test($)}(this.protocol)&&(X="80")),this.domain=B.hostname,this.port=parseInt(X,10),this.path=B.pathname;const J=this.path.match(/((?:\/cpsess\d+)?)(?:\/([^\/]+))?/)||[];if(this.applicationName=/^whm\./.test(this.domain)?N[2087]:/^cpanel\./.test(this.domain)?N[2083]:/^webmail\./.test(this.domain)?N[2095]:N[X.toString()]||N[J[2]]||"whostmgr",this.securityToken=J[1]||"",this.applicationPath=this.securityToken?this.path.replace(this.securityToken,""):this.path,this.theme="",!this.isUnprotected&&(this.isCpanel||this.isWebmail)){const ge=this.path.split("/");this.theme=ge[3]}this.themePath="";let oe=this.securityToken+"/";this.isUnprotected?oe="/":this.isCpanel?oe+="frontend/"+this.theme+"/":this.isWebmail?oe+="webmail/"+this.theme+"/":this.isOther&&(oe="/"),this.themePath=oe,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 O($){return $&&$.replace(/\/?$/,"")}(this.applicationPath))}get isCpanel(){return/cpanel/i.test(this.applicationName)}get isWhm(){return/whostmgr/i.test(this.applicationName)}get isWebmail(){return/webmail/i.test(this.applicationName)}buildPath(B){return this.themePath+B}buildFullPath(B){return this.protocol+"//"+this.domain+":"+this.port+this.buildPath(B)}buildTokenPath(B){return this.protocol+"//"+this.domain+":"+this.port+this.securityToken+B}}},2584:(H,k,D)=>{"use strict";function s(R){return R?"1":"0"}D.d(k,{G:()=>O,x:()=>s});const b=new Set(["","0",0]);function O(R){return!b.has(R)}},6153:(H,k,D)=>{"use strict";D.d(k,{FU:()=>O,UE:()=>s,r3:()=>b});var s=function(R){return R[R.Ascending=0]="Ascending",R[R.Descending=1]="Descending",R}(s||{}),b=function(R){return R[R.Lexicographic=0]="Lexicographic",R[R.Ipv4=1]="Ipv4",R[R.Numeric=2]="Numeric",R[R.NumericZeroAsMax=3]="NumericZeroAsMax",R}(b||{});class O{constructor(N,j=s.Ascending,$=b.Lexicographic){if(!N)throw new Error("You must provide a non-empty column name for a Sort rule.");this.column=N,this.direction=j,this.type=$}}},6381:(H,k,D)=>{"use strict";k.h=void 0;const b=D(2623);Object.defineProperty(k,"h",{enumerable:!0,get:function(){return b.Locale}})},7268:(H,k)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.CLDR=void 0,k.CLDR=class D{constructor(b){this.rawData=b,this.validateCLDR(this.rawData)}validateCLDR(b){if(!b)throw new Error("CLDR data cannot be null");if(!b.locale)throw new Error("CLDR data is missing locale information");if(!Object.prototype.hasOwnProperty.call(b,"functions")||Object.prototype.hasOwnProperty.call(b,"get_plural_form")||"function"!=typeof b.functions.get_plural_form)throw new Error("CLDR data is missing function get_plural_form");if(!Object.prototype.hasOwnProperty.call(b,"datetime_info"))throw new Error("CLDR data is missing datetime_info");if(!Object.prototype.hasOwnProperty.call(b,"misc_info"))throw new Error("CLDR data is missing misc_info");if(!Object.prototype.hasOwnProperty.call(b.misc_info,"cldr_formats"))throw new Error("CLDR data is missing cldr_formats");if(!Object.prototype.hasOwnProperty.call(b.misc_info,"orientation")||!Object.prototype.hasOwnProperty.call(b.misc_info.orientation,"characters"))throw new Error("CLDR data is missing orientation information");if(!Object.prototype.hasOwnProperty.call(b.misc_info,"delimiters"))throw new Error("CLDR data is missing delimiter information");return!0}getLocale(){return this.rawData.locale}getPluralForm(b,...O){return(0,this.rawData.functions.get_plural_form)(b,...O)}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:(H,k,D)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.Locale=void 0;const s=D(7367),b=D(5736),O=D(8994),R=D(3365),N=D(7268);k.Locale=class j{constructor(B,X={}){this.lexicon=X,this._cldr=new N.CLDR(B)}maketext(B,...X){return(0,s.maketext)({cldr:this._cldr,lexicon:this.lexicon,template:B,args:X})}localDatetime(B,X){return this._datetimeWrapper(b.local_datetime,B,X)}datetime(B,X){return this._datetimeWrapper(b.datetime,B,X)}_datetimeWrapper(B,X,J){return B({cldr:this._cldr,args:[X,J]})}getCurrentLocale(){return this._cldr.getLocale()}get isRtl(){return this._cldr.isRtl()}get isLtr(){return this._cldr.isLtr()}get cldr(){return this._cldr}numf(B,X){return this._formatNumber(O.numf,B,X)}format_bytes(B,X){return this._formatNumber(O.format_bytes,B,X)}_formatNumber(B,...X){return this._callCLDRFunc(B,X)}list_and(...B){return this._callCLDRFunc(R.list_and,B)}list_and_quoted(...B){return this._callCLDRFunc(R.list_and_quoted,B)}list_or(...B){return this._callCLDRFunc(R.list_or,B)}list_or_quoted(...B){return this._callCLDRFunc(R.list_or_quoted,B)}_callCLDRFunc(B,X){return B({cldr:this._cldr,args:X})}}},6049:(H,k,D)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.asis=void 0;const s=D(2500);k.asis=function b({args:[O,...R]}){if(!O||R.length>0||"string"!=typeof O)throw new Error("asis function accepts one non translatable string.");return(O=O.replace(/chr\((\d+)\)/g,function(N,j){return s.functions.chr(Number(j))})).replace(/amp\(\)/g,function(){return s.functions.amp()})}},6073:(H,k)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.boolean=void 0,k.boolean=function D({args:[s,b,O,R]}){if(null==b||0===b.length||null==O||0===O.length)throw new Error("boolean function needs a valid whenTrue, whenFalse arguments.");return String(typeof s<"u"&&s?b:R&&null==s?R:O)}},5496:(H,k)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.comment=void 0,k.comment=function D({args:[s]}){return""}},5736:(H,k,D)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.local_datetime=k.datetime=k.dateToLocalDayNum=void 0;const s=D(7268),b=function(J){const oe=J.getUTCDay()-1;return oe<0?6:oe},O=[7,1,2,3,4,5,6];function R(J,oe){return(O[J.getUTCDay()]+7-oe)%7+1}k.dateToLocalDayNum=R;const N=function(J,oe,ge){let be="",Oe=0;return oe=oe||0,ge=String(void 0===ge?" ":ge),Oe=oe-String(J).length,Oe>0&&(be=[...Array(Oe)].map(String.prototype.valueOf,ge).join("")),be+J};function j({cldr:J,args:[oe=new Date,ge],tzString:be="UTC"}){if("number"==typeof oe&&/^-?\d+$/.test(oe.toString())&&(oe=new Date(1e3*oe)),!(oe instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(J instanceof s.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const Oe=J.getDateTimeInfo();return"string"==typeof ge&&/^(?:date|time|datetime|special)_format_/.test(ge)&&(ge=Oe[ge]),ge||(ge=Oe.date_format_long),ge.replace(/('[^']+')|(([a-zA-Z])\3*)/g,function(Fe,Ge,ze){return Ge?function $(J){return J.substr(1,J.length-2)}(Ge):function B(J,oe,ge,be){switch(ge){case"yy":return Math.abs(J.getUTCFullYear()).toString().slice(-2);case"y":case"yyy":case"yyyy":return String(Math.abs(J.getUTCFullYear()));case"MMMMM":return oe.month_format_narrow[J.getUTCMonth()];case"LLLLL":return oe.month_stand_alone_narrow[J.getUTCMonth()];case"MMMM":return oe.month_format_wide[J.getUTCMonth()];case"LLLL":return oe.month_stand_alone_wide[J.getUTCMonth()];case"MMM":return oe.month_format_abbreviated[J.getUTCMonth()];case"LLL":return oe.month_stand_alone_abbreviated[J.getUTCMonth()];case"MM":case"LL":return N((J.getUTCMonth()+1).toString(),2,"0");case"M":case"L":return String(J.getUTCMonth()+1);case"EEEE":return oe.day_format_wide[b(J)];case"EEE":case"EE":case"E":return oe.day_format_abbreviated[b(J)];case"EEEEE":return oe.day_format_narrow[b(J)];case"cccc":return oe.day_stand_alone_wide[b(J)];case"ccc":return oe.day_stand_alone_abbreviated[b(J)];case"cc":case"c":return String(R(J,Number(oe.first_day_of_week)));case"ccccc":return oe.day_stand_alone_narrow[b(J)];case"dd":return N(J.getUTCDate().toString(),2,"0");case"d":return String(J.getUTCDate());case"h":case"hh":{let Oe=J.getUTCHours();Oe>12&&(Oe-=12),0===Oe&&(Oe=12);const Fe="hh"===ge?N(Oe.toString(),2,"0"):Oe;return String(Fe)}case"H":return String(J.getUTCHours());case"HH":return N(J.getUTCHours().toString(),2,"0");case"m":return String(J.getUTCMinutes());case"mm":return N(J.getUTCMinutes().toString(),2,"0");case"s":return String(J.getUTCSeconds());case"ss":return N(J.getUTCSeconds().toString(),2,"0");case"a":return J.getUTCHours()<12?oe.am_pm_abbreviated[0]:oe.am_pm_abbreviated[1];case"z":case"zzzz":case"v":case"vvvv":return be;case"G":case"GG":case"GGG":return oe.era_abbreviated[J.getUTCFullYear()<0?0:1];case"GGGGG":return oe.era_narrow[J.getUTCFullYear()<0?0:1];case"GGGG":return oe.era_wide[J.getUTCFullYear()<0?0:1]}return ge}(oe,Oe,ze,be)})}k.datetime=j,k.local_datetime=function X({cldr:J,args:[oe=new Date,ge]}){if("number"==typeof oe&&/^-?\d+$/.test(oe.toString())&&(oe=new Date(1e3*oe)),!(oe instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(J instanceof s.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const be=oe.getTimezoneOffset();(oe=new Date(oe)).setMinutes(oe.getMinutes()-be);const Oe=be>0?"-":"+",Fe=Math.floor(Math.abs(be)/60),Ge=Math.abs(be%60);return j({cldr:J,args:[oe,ge],tzString:"GMT"+Oe+N(Fe.toString(),2,"0")+N(Ge.toString(),2,"0")})}},6397:(H,k,D)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.functions=void 0;const s=D(6049),b=D(2500),O=D(5496),R=D(6073),N=D(8994),j=D(5736),$=D(3365);k.functions={asis:s.asis,output:b.output,comment:O.comment,boolean:R.boolean,numf:N.numf,numerate:N.numerate,quant:N.quant,format_bytes:N.format_bytes,datetime:j.datetime,local_datetime:j.local_datetime,list_and:$.list_and,list_or:$.list_or,list_or_quoted:$.list_or_quoted,list_and_quoted:$.list_and_quoted}},3365:(H,k)=>{"use strict";function s($,B,...X){let J=X.slice();switch(1===J.length&&Array.isArray(J[0])&&(J=J[0].slice()),(typeof J>"u"||0===J.length)&&(J=[""]),J=J.map(oe=>function D($,B){const X=$.getDelimiters();return X&&Object.prototype.hasOwnProperty.call(X,"quotation_start")&&Object.prototype.hasOwnProperty.call(X,"quotation_end")?X.quotation_start+B+X.quotation_end:B}($,oe)),B){case"list_and":return N({cldr:$,args:J});case"list_or":return j({cldr:$,args:J});default:throw new Error("Did you mean list_and_quoted or list_or_quoted?")}}function R($,B,...X){let J=X.slice();1===J.length&&Array.isArray(J[0])&&(J=J[0].slice());const oe=J.length;let ge,be,Oe,Fe;try{ge=$.getFormats()[B]}catch{throw new Error("CLDR Data is missing information related to formatting list.")}const Ge=function(ze,We){switch(We){case"0":return Oe;case"1":return J[Fe++]}};switch(oe){case 0:return"";case 1:return String(J[0]);default:if(Oe=2===oe?ge[2]:ge.start,Oe=Oe.replace(/\{([01])\}/g,function(ze,We){return J[We]}),2===oe)return Oe;for(Fe=2;Fe<oe;)be=ge[Fe===oe-1?"end":"middle"],Oe=be.replace(/\{([01])\}/g,Ge);return Oe}}function N({cldr:$,args:[...B]}){return R($,"list",...B)}function j({cldr:$,args:[...B]}){return R($,"list_or",...B)}Object.defineProperty(k,"__esModule",{value:!0}),k.list_or=k.list_and=k.list_or_quoted=k.list_and_quoted=void 0,k.list_and_quoted=function b({cldr:$,args:[...B]}){return s($,"list_and",...B)},k.list_or_quoted=function O({cldr:$,args:[...B]}){return s($,"list_or",...B)},k.list_and=N,k.list_or=j},2500:(H,k,D)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.functions=k.output=void 0;const s=D(9546),b=D(2353);k.output=function O({args:[R,...N]}){if(N&&"string"==typeof N[0]&&(N[0]=N[0].replace(/chr\((\d+)\)/g,function(j,$){return k.functions.chr(Number($))}),N[0]=N[0].replace(/amp\(\)/g,function(){return k.functions.amp()})),"function"==typeof k.functions[R])return k.functions[R](...N);throw new Error(`Locale output function '${R}' is not implemented.`)},k.functions={amp:()=>(0,s.htmlEscape)("&"),apos:()=>(0,s.htmlEscape)("'"),quot:()=>(0,s.htmlEscape)('"'),underline:R=>`<u>${R}</u>`,strong:R=>`<strong>${R}</strong>`,em:R=>`<em>${R}</em>`,abbr:(R,N)=>`<abbr title="${N}">${R}</abbr>`,acronym:(R,N)=>`<abbr title="${N}" class="initialism">${R}</abbr>`,class:(R,...N)=>`<span class="${N.join(" ")}">${R}</span>`,chr(R){if("string"==typeof R&&(R=Number(R)),"number"!=typeof R||isNaN(R))throw new Error("chr needs a number as argument");return(0,s.htmlEscape)(String.fromCharCode(R))},url(R,...N){let j,$;if("object"==typeof N[N.length-1])if(j=N[N.length-1],2===N.length){if(j.html)throw new Error("Cannot provide both text and configuration with html attribute");$=N[0]}else j&&j.html?($=j.html,delete j.html):$=R;else N.length%2==0?(j=(0,b.listToObject)(...N),j&&"html"in j&&""!==j.html?($=j.html,delete j.html):$=R):($=N.shift(),j=(0,b.listToObject)(...N));"_type"in j&&"offsite"===j._type&&(j.class="offsite",j.target="_blank",delete j._type);let B=`<a href="${R}"`;if("object"==typeof j)for(const X in j)Object.prototype.hasOwnProperty.call(j,X)&&(B+=` ${X}="${j[X]}"`);return B+=`>${$}</a>`,B}}},8994:(H,k,D)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.format_bytes=k.numf=k.quant=k.numerate=void 0;const s=D(7268);function O({cldr:$,args:[B,...X]}){if(!($ instanceof s.CLDR))throw new Error("`quant` function requires a valid CLDR instance for the `cldr` parameter.");let J,oe=3;B instanceof Array?(oe=B[1],J=B[0]):J=B;const ge=$.getPluralForm(J,...X),be=ge[0]?ge[0]:X[X.length-1];if(ge&&ge.length>=2&&ge[1])return be;const Fe=N({cldr:$,args:[J,oe]});return-1!==be.indexOf("%s")?be.replace(/%s/g,Fe):$.isRtl()?be+" "+Fe:Fe+" "+be}function N({cldr:$,args:[B,X=6]}){if(!($ instanceof s.CLDR))throw new Error("`numf` function requires a valid CLDR instance for the `cldr` parameter.");if(/e/.test(B.toString()))return String(B);const{decimalFormat:J,decimalGroup:oe,decimalDecimal:ge}=function R($){const B={},X=$.getFormats();return Object.prototype.hasOwnProperty.call(X,"decimal")&&(B.decimalFormat=X.decimal),Object.prototype.hasOwnProperty.call(X,"_decimal_format_group")&&(B.decimalGroup=X._decimal_format_group),Object.prototype.hasOwnProperty.call(X,"_decimal_format_decimal")&&(B.decimalDecimal=X._decimal_format_decimal),B}($);if(!J||!oe||!ge)throw new Error("CLDR Data is missing information related to formatting decimals.");const be=B<0;B=Math.abs(B);let Fe,Ge,Oe=Math.floor(B);/(?!')\.(?!')/.test(B.toString())&&(Fe=String(B).replace(/^[^.]+/,"0"),Fe=Number(Fe).toFixed(X),/^1/.test(Fe)?(Oe++,B=Oe,Fe=void 0):Fe=Fe.replace(/^.*\./,"").replace(/0+$/,"")),Ge=/(?!');(?!')/.test(J)?J.split(/(?!');(?!')/)[be?1:0]:(be?"-":"")+J;const Ke=Ge.match(/[0#].*[0#]/)[0].split(/(?!')\.(?!')/)[0].split("").reverse().join("").split(/(?!'),(?!')/);let vt;1===Ke.length?vt="":(Ke.pop(),vt=oe);const _t=String(Oe).split("").reverse(),ut=[];let $e;const se=function(Ie){switch(Ie){case"#":return _t.shift()||"";case"0":return _t.shift()||"0"}};for(;_t.length;){Ke.length&&($e=Ke.shift());const Ie=$e.replace(/(?!')[0#]|[0#](?!')/g,se).replace(/'([.,0#;\xa4%E])'$/,"").replace(/'([.,0#;\xa4%E])'/,"$1");ut.push(Ie)}const pe=ut.join(vt).split("").reverse().join("")+(Fe?ge+Fe:"");return Ge.replace(/[0#].*[0#]/,pe)}k.numerate=function b({cldr:$,args:[B,...X]}){if(!($ instanceof s.CLDR))throw new Error("`numerate` function requires a valid CLDR instance for the `cldr` parameter.");const J=$.getPluralForm(B,...X);return J?J[0]:X[X.length-1]},k.quant=O,k.numf=N,k.format_bytes=function j({cldr:$,args:[B,X=2]}){if(!($ instanceof s.CLDR))throw new Error("`format_bytes` function requires a valid CLDR instance for the `cldr` parameter.");const J=["KB","MB","GB","TB","PB","EB","ZB","YB"],ge=B&&Math.min(Math.floor(Math.log(B)/Math.log(1024)),J.length);return ge?N({cldr:$,args:[B/Math.pow(1024,ge),X]})+"\xa0"+J[ge-1]:O({cldr:$,args:[B,"%s\xa0byte","%s\xa0bytes"]})}},7367:(H,k,D)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.maketext=k.functions=k.config=void 0;const s=D(6397);function N(j,$){const B=[];let X=!1,J=!1;return j.forEach(oe=>{if("_"===oe.charAt(0))if("_*"===oe){if(J)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";B.push(...$),X=!0}else{const ge=oe.match(k.config.underscoreDigitRe);if(ge){if(X)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";const[be,Oe]=ge,Fe=Number(Oe)-1;if(!(Fe in $))throw`The "${be}" substitution argument was not passed to the maketext function.`;B.push($[Fe]),J=!0}}else B.push(oe)}),B}k.config={bracketRe:/([^~\[\]]+|~.|\[|\]|~)/g,underscoreDigitRe:/^_(\d+)$/,fauxComma:"\x07",fauxCommaRe:new RegExp("\x07","g"),tildeChars:new Set(["[","]","~"])},k.functions={...s.functions},k.maketext=function O({cldr:j,lexicon:$,template:B,args:X}){if("string"!=typeof B)throw"You must pass a string template to the maketext function.";if(-1===(B=$&&$[B]||B).indexOf("["))return B;const J=B.match(k.config.bracketRe)||[],oe=[];let ge=!1,be="";if(J.forEach(Oe=>{if("["===Oe){if(ge)throw Error(`Invalid maketext string: ${B} \nThe string contains nested brackets.`);ge=!0}else if("]"===Oe){if(!ge)throw Error(`Invalid maketext string: ${B} \nThe string contains an unmatched closing bracket character (]).`);if(!be)throw Error(`Invalid maketext string: ${B} \nThe string contains empty brackets. Use the escape character (~) if the bracket characters were meant to be printed literally.`);let Fe;ge=!1;try{Fe=function R(j,$,B){let X=$.split(",");if(X=X.map(ge=>ge.replace(k.config.fauxCommaRe,",")),1===X.length){if(!k.config.underscoreDigitRe.test(X[0]))throw"A bracket must contain more than one argument, unless it is a pure substition.\n Example: Number of accounts: [_1]";const[ge]=N(X,B);return String(ge)}const J=X.shift();if(!J||"function"!=typeof k.functions[J])throw`Invalid function "${J}" in maketext string.`;const oe=N(X,B);return k.functions[J]({cldr:j,args:oe})}(j,be,X)}catch(Ge){throw Error(`Invalid maketext string: ${B} \n${Ge}`)}be="",oe.push(Fe)}else if("~"===Oe.charAt(0)){const Fe=Oe.charAt(1)||"~";ge?be+=","===Fe?k.config.fauxComma:Fe:k.config.tildeChars.has(Fe)?oe.push(Fe):oe.push(Oe)}else ge?be+=Oe:oe.push(Oe)}),ge)throw Error(`Invalid maketext string: ${B} \nThe string contains an unmatched opening bracket character ([).`);return oe.join("")}},9546:(H,k)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.htmlEscape=k.entityMap=void 0,k.entityMap={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},k.htmlEscape=function D(s){return String(s).replace(/[&<>"'\/]/g,b=>k.entityMap[b])}},2353:(H,k)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.listToObject=void 0,k.listToObject=function b(...O){let R={};return function D(O){if(O.length%2>0)throw new Error("An associative list must have an even number of parts: {name1}, {value1}, {name2}, {value2} ...");for(let N=0,j=O.length;N<j;N+=2){const $=O[N];if("string"!=typeof $||""===$)throw new Error("An associative list must provide non-empty string names in the 1st, 3rd, ... positions.")}return!0}(O)&&(R=function s(O){const R=O.length,N={};let $,B,j=0;for(;j<R;)$=O[j],B=O[++j],N[$]=B,j++;return N}(O)),R}},7773:(H,k,D)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.commonValidators=void 0;const s=D(5839);k.commonValidators=new class b extends s.BaseValidator{constructor(){super(...arguments),this.prefix="common",this.STARTS_WITH_LETTER=/^[a-zA-Z]/,this.CONTAINS_SPACES=/^\S*$/}required(R){const N=R||this.locale.maketext("This field is required.");return j=>{let $={},B=j.value;return B&&(B=B.toString()),B&&B.length?null:($=this.addError($,"required",N),$)}}requiredTrue(R){const N=R||this.locale.maketext("This control's value should be true.");return j=>{let $={};return!0!==j.value?($=this.addError($,"requiredTrue",N),$):null}}startsWithLetter(R){return N=>{let j={};return N.value&&!this.STARTS_WITH_LETTER.test(N.value)?(j=this.addError(j,"doesNotStartWithLetter",R),j):null}}containsSpaces(R){return N=>{let j={};return N.value&&!this.CONTAINS_SPACES.test(N.value)?(j=this.addError(j,"containsSpace",R),j):null}}minLength(R,N){return j=>{let $={};return j.value&&j.value.length<N?($=this.addError($,"minLength",R),$):null}}maxLength(R,N){return j=>{let $={};return j.value&&j.value.length>N?($=this.addError($,"maxLength",R),$):null}}min(R,N){return j=>{let $={};return j.value&&j.value<N?($=this.addError($,"min",R),$):null}}max(R,N){return j=>{let $={};return j.value&&j.value>N?($=this.addError($,"max",R),$):null}}}},4304:(H,k,D)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.cPUserNoteValidators=void 0;const s=D(5839),b=D(2185),R=/[^ \n\P{White_Space}]|[^ \n\P{Control}]|[^ \P{Separator}]/u;k.cPUserNoteValidators=new class N extends s.BaseValidator{constructor(){super(...arguments),this.prefix="note"}validate($=250,B=""){return X=>{let J=b.stringValidators.validUnicode()(X);if(!J){const oe=this.locale.maketext("This note is too long.");J=b.stringValidators.maxCharacterLength(oe)($,X)}if(!J){const oe=X.match(R);if(oe){J={};const ge=oe.index,be=oe[0].codePointAt(0);this.addError(J,"character",this.locale.maketext("[asis,Unicode] character [numf,_1] (position [numf,_2]) is forbidden.",be,1+ge))}}return J}}}},3046:(H,k,D)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.cpanelUsernameValidators=void 0;const s=D(5839);k.cpanelUsernameValidators=new class b extends s.BaseValidator{constructor(){super(...arguments),this.prefix="cpanelUsername",this.VALID_USERNAME=/^(?![-.0-9])[a-z0-9]{1,16}$/}cpanelUsername(R){const N=R||this.locale.maketext("This is not a valid username.");return j=>{let $={};return j.value&&!this.VALID_USERNAME.test(j.value)?($=this.addError($,"invalidUsername",N),$):null}}}},3481:(H,k,D)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.databaseValidators=void 0;const s=D(5839),b=D(3322);k.databaseValidators=new class O extends s.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(N,j,$){return B=>N===b.DatabaseType.MySQL?(this._dbPrefix=j||"",this.validateMySQLDatabaseName(B.value,$||"")):null}validateMySQLDatabaseName(N,j){const $=this._performMySqlDatabaseNameValidation(N,j);let B={};return $?(B=this.addError(B,"databaseName",$),B):null}_performMySqlDatabaseNameValidation(N,j){let $=null;return $=this._verifyNameLengthLimit(N),null!==$||($=this._verifyDatabaseNameIgnoreLength(N),null!==$)||($=this._verifyDatabaseName(N,j)),$}_verifyNameLengthLimit(N){let j=null,$=this.DATABASE_NAME_LENGTH_LIMIT;this._dbPrefix&&($-=this._dbPrefix.length+1);const B=unescape(encodeURIComponent(N)).length-$;return B>0&&(j={message:this.locale.maketext("This value is too long by [quant,_1,character,characters]. The maximum length is [quant,_2,character,characters].",B,$)}),j}_verifyDatabaseNameIgnoreLength(N){return this.ANYTHING_BUT_PRINTABLE_7_BIT_ASCII.test(N)?{message:this.locale.maketext("This system allows only printable [asis,ASCII] characters in database names.")}:this.MYSQL_DB_NAME_INVALID_CHARACTERS.test(N)?{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(N,j){if(null!==N&&N.endsWith(" "))return{message:this.locale.maketext("A [asis,MariaDB]/[asis,MySQL] database name cannot end with a space character.")};const $=this._verifySpecialWildcardsInDatabaseNames(N);return null!==$?$:j&&this._convertVersionStringToNumber(j)<this.MYSQL_STARTED_ALLOWING_FILESYS_CHARACTERS&&/\./.test(N)?{message:this.locale.maketext("This system\u2019s [asis,MySQL] version ([_1]) prohibits the character \u201c[_2]\u201d in database names. Ask your administrator to upgrade to a [asis,MariaDB] or to a newer [asis,MySQL] version.",j,".")}:null}_convertVersionStringToNumber(N){return N.match(/mariadb/i)&&(N=N.replace(/^[^-]+-/,"")),parseInt(N.replace(/-.*/,"").split(/\./).map(function(j){return j.padStart(2,"0")}).join(""),10)}_verifySpecialWildcardsInDatabaseNames(N){if(null===N)return null;const j=N.replace(this.MYSQL_DB_NAME_WILDCARDS,"\\$1").length;let $=this.DATABASE_NAME_LENGTH_LIMIT;this._dbPrefix&&($-=this._dbPrefix.length+1);const B=j-$;return B>0?{message:this.locale.maketext("This database name has too many wildcard-sensitive characters ([list_and_quoted,_1]). The system stores each of these as two characters internally, up to a limit of [quant,_2,character,characters]. This name would take up [quant,_3,character,characters] of internal storage, which is [numf,_4] too many.",["\\","_","%"],$,j,B)}:null}}},9044:function(H,k,D){"use strict";var s=this&&this.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(k,"__esModule",{value:!0}),k.domainValidators=void 0;const b=D(2706),O=s(D(9660)),R=s(D(9488)),N=D(5839);k.domainValidators=new class j extends N.BaseValidator{constructor(){super(...arguments),this.prefix="domains",this.VALID_TLD_REGEX=/^[.][a-zA-Z0-9]+$/,this.VALID_IDN_TLD_REGEX=/^[.]xn--[a-zA-Z0-9-]+$/,this.MAX_DOMAIN_BYTES=254,this.MAX_LABEL_BYTES=63,this.UNICODE_ASCII_CUTOFF=127,this.NONINITIAL_LABEL_REGEX=/^[a-zA-Z0-9]([a-zA-Z0-9-]*[a-zA-Z0-9])?$/,this.IPv4_REGEX=/^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$/,this.IPv6_REGEX=/((^\s*((([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))\s*$)|(^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$))/}_getNonASCII(B){const X=[],J=O.default.ucs2.decode(B);for(let oe=0;oe<J.length;oe++)J[oe]>this.UNICODE_ASCII_CUTOFF&&X.push(O.default.ucs2.encode([J[oe]]));return(0,R.default)(X)}_validateLabelBasics(){return B=>{let X={};if(B.value&&0!==B.value.length){if(B.value.length>this.MAX_LABEL_BYTES)X=this.addError(X,"length",{message:this.locale.maketext("A label must not exceed [quant,_1,character,characters].",this.MAX_LABEL_BYTES),MAX_LABEL_BYTES:this.MAX_LABEL_BYTES});else if("-"===B.value[0])X=this.addError(X,"charCondition",this.locale.maketext("A label must not begin with \u201c[_1]\u201d.","-"));else if("-"===B.value[B.value.length-1])X=this.addError(X,"charCondition",this.locale.maketext("A label must not end with \u201c[_1]\u201d.","-"));else if(O.default.toASCII(B.value).length>this.MAX_LABEL_BYTES){const J=this._getNonASCII(B.value);X=this.addError(X,"length",this.locale.maketext("The label\u2019s [asis,Punycode] representation cannot exceed [quant,_1,byte,bytes]. (Non-[asis,ASCII] characters, like \u201c[_2]\u201d, require multiple characters to represent in [asis,Punycode].)",this.MAX_LABEL_BYTES,J[0]))}}else X=this.addError(X,"length",this.locale.maketext("A label must not be empty."));return X}}validDomainLength(){return B=>{let X={};if(B.value.length>this.MAX_DOMAIN_BYTES)return X=this.addError(X,"length",this.locale.maketext("The domain name cannot exceed [quant,_1,character,characters].",this.MAX_DOMAIN_BYTES)),X;if(O.default.toASCII(B.value).length>this.MAX_DOMAIN_BYTES){const oe=this._getNonASCII(B.value);return X=this.addError(X,"length",this.locale.maketext("The domain name\u2019s [asis,Punycode] representation cannot exceed [quant,_1,character,characters]. (Non-[asis,ASCII] characters, like \u201c[_2]\u201d, require multiple characters to represent in [asis,Punycode].)",this.MAX_DOMAIN_BYTES,oe[0])),X}return null}}validateLabel(){return B=>(0,b.runValidationGroup)(B,[this._validateLabelBasics(),X=>{let J={};return this.NONINITIAL_LABEL_REGEX.test(X.value)||(J=this.addError(J,"charCondition",this.locale.maketext("The label must contain only the following characters: [list_and,_1].",["a-z","A-Z","0-9","-"]))),J}])}validateTLD(){return B=>{let X={};return!this.VALID_TLD_REGEX.test(B.value)&&!this.VALID_IDN_TLD_REGEX.test(B.value)&&(X=this.addError(X,"tld",this.locale.maketext("The domain name must include a valid [output,acronym,TLD,Top Level Domain]."))),X}}fqdn(){return B=>{const X=B.value.split("."),J=X[X.length-1],oe=X[0],ge=B.value,be=[()=>{let Oe={};const Fe=this.IPv4_REGEX.test(ge),Ge=this.IPv6_REGEX.test(ge);return Fe||Ge?Oe=this.addError(Oe,"ipAddr",this.locale.maketext("You [output,strong,must] enter a hostname.")):X.length<2?Oe=this.addError(Oe,"oneDomain",this.locale.maketext("The domain name must include at least two labels.")):null},this.validDomainLength(),this.validateLabel().bind(this,{value:oe}),this.validateTLD().bind(this,{value:"."+J})];return X.forEach(Oe=>{be.push(this.validateLabel().bind(this,{value:Oe}))}),(0,b.runValidationGroup)(B,be)}}fqdnOrIP(){return B=>{const X=(0,b.runValidationGroup)(B,[this.anyIP()]),J=B.value.split("."),oe=J[J.length-1],ge=J[0],be=[Fe=>{let Ge={};return J.length<2&&(Ge=this.addError(Ge,"oneDomain",this.locale.maketext("The domain name must include at least two labels."))),Ge},this.validDomainLength(),this.validateLabel().bind(this,{value:ge}),this.validateTLD().bind(this,{value:"."+oe})];J.forEach(Fe=>{be.push(this.validateLabel().bind(this,{value:Fe}))});const Oe=(0,b.runValidationGroup)(B,be);return X&&Oe?{...X,...Oe}:null}}ipv4(){return B=>{let X={};return B.value&&!this.IPv4_REGEX.test(B.value)?(X=this.addError(X,"ipv4",this.locale.maketext("Invalid [asis,IPv4] compatible address.")),X):null}}ipv6(){return B=>{let X={};return B.value&&!this.IPv6_REGEX.test(B.value)?(X=this.addError(X,"ipv6",this.locale.maketext("Invalid [asis,IPv6] compatible address.")),X):null}}anyIP(){return B=>{let X={};return!B.value||this.IPv4_REGEX.test(B.value)||this.IPv6_REGEX.test(B.value)?null:(X=this.addError(X,"anyIP",this.locale.maketext("Invalid [asis,IPv4] or [asis,IPv6] compatible address.")),X)}}}},9978:(H,k,D)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.emailValidators=void 0;const s=D(5839);k.emailValidators=new class b extends s.BaseValidator{constructor(){super(...arguments),this.prefix="email",this.VALID_EMAIL=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/}validateEmail(R){const N=R||this.locale.maketext("Make sure to use a valid email format. For example, [asis,user@example.com].");return j=>{let $={};return j.value&&!this.VALID_EMAIL.test(j.value)?($=this.addError($,"invalidEmail",N),$):null}}}},7324:(H,k,D)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.equalityValidators=void 0;const s=D(5839);k.equalityValidators=new class b extends s.BaseValidator{constructor(){super(...arguments),this.prefix="equality"}equalTo(R,N,j){return $=>{const B=$.get(N).value;let J={};return B===$.get(j).value&&""!==B?(J=this.addError(J,"equalFields",R),J):null}}}},7410:(H,k,D)=>{"use strict";k.uv=k.ln=k.md=void 0;const b=D(7773);Object.defineProperty(k,"ln",{enumerable:!0,get:function(){return b.commonValidators}});const O=D(9044);Object.defineProperty(k,"md",{enumerable:!0,get:function(){return O.domainValidators}});const R=D(5839);Object.defineProperty(k,"uv",{enumerable:!0,get:function(){return R.BaseValidator}});D(3481),D(3322),D(3046),D(9978),D(7324),D(4304),D(2185)},5839:(H,k)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.BaseValidator=void 0;let D,s=!0;k.BaseValidator=class O{constructor(){this.prefix="",D={maketext:N=>{throw"DEVELOPER: You must specify a locale engine through the static variable BaseValidator.locale = myLocaleEngine"}}}static set locale(N){D=N}get locale(){return D}_buildKey(N){return s?`cpanel.${this.prefix}.${N}`:N}static disablePrefixing(){s=!1}static enablePrefixing(){s=!0}addError(N={},j,$){return"string"==typeof $&&($={message:$}),N[this._buildKey(j)]=$,N}}},3322:(H,k)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.DatabaseType=void 0;var D=function(s){return s.MySQL="MySQL",s.PostgreSQL="PostgreSQL",s}(D||(k.DatabaseType=D={}))},7945:(H,k)=>{"use strict";function O(N){return"0x"+N.toString(16)}Object.defineProperty(k,"__esModule",{value:!0}),k.characterLength=void 0,k.characterLength=function R(N,j){let $=0;for(let B=0;B<N.length;B++){$++;const X=N.charCodeAt(B);if(55296==(64512&X)){if(B++,B===N.length)throw new Error(j.maketext("This string ends with an incomplete [asis,UTF-16] surrogate pair ([_1]).",O(X)));const J=N.charCodeAt(B);if(56320!=(64512&J))throw new Error(j.maketext("This string contains an invalid [asis,UTF-16] surrogate pair ([join,~, ,_1]) at position [numf,_2].",[X,J].map(O),B))}}return $}},2706:function(H,k,D){"use strict";var s=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(k,"__esModule",{value:!0}),k.runValidationGroup=void 0;const b=s(D(1281));k.runValidationGroup=function O(R,N){const j={};return N.forEach($=>{(0,b.default)(j,$(R))}),Object.keys(j).length?j:null}},2185:(H,k,D)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.stringValidators=void 0;const s=D(5839),b=D(7945);k.stringValidators=new class R extends s.BaseValidator{constructor(){super(...arguments),this.prefix="string"}validUnicode(){return j=>{try{(0,b.characterLength)(j,this.locale)}catch($){const B={};return $ instanceof Error&&this.addError(B,"unicode",$.message),B}return null}}maxCharacterLength(j){return($,B)=>{if((0,b.characterLength)(B,this.locale)>$){const J={};return this.addError(J,"length",j),J}return null}}maxUTF8Length(j){return($,B)=>{if(function O(N){return unescape(encodeURIComponent(N)).length}(B)>$){const X={};return this.addError(X,"length",j),X}return null}}}},3028:(H,k,D)=>{var s=D(6399),b=D(1483),O=D(3434),R=D(5230),N=D(3718);function j($){var B=-1,X=null==$?0:$.length;for(this.clear();++B<X;){var J=$[B];this.set(J[0],J[1])}}j.prototype.clear=s,j.prototype.delete=b,j.prototype.get=O,j.prototype.has=R,j.prototype.set=N,H.exports=j},5752:(H,k,D)=>{var s=D(3643),b=D(7103),O=D(62),R=D(1610),N=D(1090);function j($){var B=-1,X=null==$?0:$.length;for(this.clear();++B<X;){var J=$[B];this.set(J[0],J[1])}}j.prototype.clear=s,j.prototype.delete=b,j.prototype.get=O,j.prototype.has=R,j.prototype.set=N,H.exports=j},1012:(H,k,D)=>{var O=D(4385)(D(1464),"Map");H.exports=O},752:(H,k,D)=>{var s=D(1891),b=D(2759),O=D(7766),R=D(322),N=D(7258);function j($){var B=-1,X=null==$?0:$.length;for(this.clear();++B<X;){var J=$[B];this.set(J[0],J[1])}}j.prototype.clear=s,j.prototype.delete=b,j.prototype.get=O,j.prototype.has=R,j.prototype.set=N,H.exports=j},7814:(H,k,D)=>{var O=D(4385)(D(1464),"Set");H.exports=O},342:(H,k,D)=>{var s=D(752),b=D(4643),O=D(2768);function R(N){var j=-1,$=null==N?0:N.length;for(this.__data__=new s;++j<$;)this.add(N[j])}R.prototype.add=R.prototype.push=b,R.prototype.has=O,H.exports=R},8516:(H,k,D)=>{var s=D(1464);H.exports=s.Symbol},1458:H=>{H.exports=function k(D,s,b){switch(b.length){case 0:return D.call(s);case 1:return D.call(s,b[0]);case 2:return D.call(s,b[0],b[1]);case 3:return D.call(s,b[0],b[1],b[2])}return D.apply(s,b)}},5306:(H,k,D)=>{var s=D(5300);H.exports=function b(O,R){return!(null==O||!O.length)&&s(O,R,0)>-1}},5878:H=>{H.exports=function k(D,s,b){for(var O=-1,R=null==D?0:D.length;++O<R;)if(b(s,D[O]))return!0;return!1}},8548:(H,k,D)=>{var s=D(9695),b=D(6265),O=D(9812),R=D(3151),N=D(8426),j=D(1028),B=Object.prototype.hasOwnProperty;H.exports=function X(J,oe){var ge=O(J),be=!ge&&b(J),Oe=!ge&&!be&&R(J),Fe=!ge&&!be&&!Oe&&j(J),Ge=ge||be||Oe||Fe,ze=Ge?s(J.length,String):[],We=ze.length;for(var Ke in J)(oe||B.call(J,Ke))&&(!Ge||!("length"==Ke||Oe&&("offset"==Ke||"parent"==Ke)||Fe&&("buffer"==Ke||"byteLength"==Ke||"byteOffset"==Ke)||N(Ke,We)))&&ze.push(Ke);return ze}},2757:H=>{H.exports=function k(D,s){for(var b=-1,O=null==D?0:D.length,R=Array(O);++b<O;)R[b]=s(D[b],b,D);return R}},7325:H=>{H.exports=function k(D,s,b,O){var R=-1,N=null==D?0:D.length;for(O&&N&&(b=D[++R]);++R<N;)b=s(b,D[R],R,D);return b}},2192:H=>{var k=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;H.exports=function D(s){return s.match(k)||[]}},9220:(H,k,D)=>{var s=D(4399),b=D(2651),R=Object.prototype.hasOwnProperty;H.exports=function N(j,$,B){var X=j[$];(!R.call(j,$)||!b(X,B)||void 0===B&&!($ in j))&&s(j,$,B)}},6316:(H,k,D)=>{var s=D(2651);H.exports=function b(O,R){for(var N=O.length;N--;)if(s(O[N][0],R))return N;return-1}},4399:(H,k,D)=>{var s=D(4678);H.exports=function b(O,R,N){"__proto__"==R&&s?s(O,R,{configurable:!0,enumerable:!0,value:N,writable:!0}):O[R]=N}},3355:H=>{H.exports=function k(D,s,b,O){for(var R=D.length,N=b+(O?1:-1);O?N--:++N<R;)if(s(D[N],N,D))return N;return-1}},1057:(H,k,D)=>{var s=D(8516),b=D(8488),O=D(3327),j=s?s.toStringTag:void 0;H.exports=function $(B){return null==B?void 0===B?"[object Undefined]":"[object Null]":j&&j in Object(B)?b(B):O(B)}},5300:(H,k,D)=>{var s=D(3355),b=D(9636),O=D(5220);H.exports=function R(N,j,$){return j==j?O(N,j,$):s(N,b,$)}},8313:(H,k,D)=>{var s=D(1057),b=D(7433);H.exports=function R(N){return b(N)&&"[object Arguments]"==s(N)}},9636:H=>{H.exports=function k(D){return D!=D}},298:(H,k,D)=>{var s=D(8653),b=D(8401),O=D(3278),R=D(8020),j=/^\[object .+?Constructor\]$/,oe=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");H.exports=function ge(be){return!(!O(be)||b(be))&&(s(be)?oe:j).test(R(be))}},8068:(H,k,D)=>{var s=D(1057),b=D(8845),O=D(7433),Se={};Se["[object Float32Array]"]=Se["[object Float64Array]"]=Se["[object Int8Array]"]=Se["[object Int16Array]"]=Se["[object Int32Array]"]=Se["[object Uint8Array]"]=Se["[object Uint8ClampedArray]"]=Se["[object Uint16Array]"]=Se["[object Uint32Array]"]=!0,Se["[object Arguments]"]=Se["[object Array]"]=Se["[object ArrayBuffer]"]=Se["[object Boolean]"]=Se["[object DataView]"]=Se["[object Date]"]=Se["[object Error]"]=Se["[object Function]"]=Se["[object Map]"]=Se["[object Number]"]=Se["[object Object]"]=Se["[object RegExp]"]=Se["[object Set]"]=Se["[object String]"]=Se["[object WeakMap]"]=!1,H.exports=function de(me){return O(me)&&b(me.length)&&!!Se[s(me)]}},1194:(H,k,D)=>{var s=D(3278),b=D(3164),O=D(908),N=Object.prototype.hasOwnProperty;H.exports=function j($){if(!s($))return O($);var B=b($),X=[];for(var J in $)"constructor"==J&&(B||!N.call($,J))||X.push(J);return X}},965:H=>{H.exports=function k(D){return function(s){return D?.[s]}}},8591:(H,k,D)=>{var s=D(9631),b=D(8452),O=D(1230);H.exports=function R(N,j){return O(b(N,j,s),N+"")}},8565:(H,k,D)=>{var s=D(6205),b=D(4678),O=D(9631);H.exports=b?function(N,j){return b(N,"toString",{configurable:!0,enumerable:!1,value:s(j),writable:!0})}:O},9695:H=>{H.exports=function k(D,s){for(var b=-1,O=Array(D);++b<D;)O[b]=s(b);return O}},7005:(H,k,D)=>{var s=D(8516),b=D(2757),O=D(9812),R=D(5153),N=1/0,j=s?s.prototype:void 0,$=j?j.toString:void 0;H.exports=function B(X){if("string"==typeof X)return X;if(O(X))return b(X,B)+"";if(R(X))return $?$.call(X):"";var J=X+"";return"0"==J&&1/X==-N?"-0":J}},2502:H=>{H.exports=function k(D){return function(s){return D(s)}}},3136:(H,k,D)=>{var s=D(342),b=D(5306),O=D(5878),R=D(1890),N=D(7366),j=D(3578);H.exports=function B(X,J,oe){var ge=-1,be=b,Oe=X.length,Fe=!0,Ge=[],ze=Ge;if(oe)Fe=!1,be=O;else if(Oe>=200){var We=J?null:N(X);if(We)return j(We);Fe=!1,be=R,ze=new s}else ze=J?[]:Ge;e:for(;++ge<Oe;){var Ke=X[ge],vt=J?J(Ke):Ke;if(Ke=oe||0!==Ke?Ke:0,Fe&&vt==vt){for(var _t=ze.length;_t--;)if(ze[_t]===vt)continue e;J&&ze.push(vt),Ge.push(Ke)}else be(ze,vt,oe)||(ze!==Ge&&ze.push(vt),Ge.push(Ke))}return Ge}},1890:H=>{H.exports=function k(D,s){return D.has(s)}},3190:(H,k,D)=>{var s=D(9220),b=D(4399);H.exports=function O(R,N,j,$){var B=!j;j||(j={});for(var X=-1,J=N.length;++X<J;){var oe=N[X],ge=$?$(j[oe],R[oe],oe,j,R):void 0;void 0===ge&&(ge=R[oe]),B?b(j,oe,ge):s(j,oe,ge)}return j}},336:(H,k,D)=>{var s=D(1464);H.exports=s["__core-js_shared__"]},7530:(H,k,D)=>{var s=D(8591),b=D(2721);H.exports=function O(R){return s(function(N,j){var $=-1,B=j.length,X=B>1?j[B-1]:void 0,J=B>2?j[2]:void 0;for(X=R.length>3&&"function"==typeof X?(B--,X):void 0,J&&b(j[0],j[1],J)&&(X=B<3?void 0:X,B=1),N=Object(N);++$<B;){var oe=j[$];oe&&R(N,oe,$,X)}return N})}},7666:(H,k,D)=>{var s=D(7325),b=D(5403),O=D(5788),N=RegExp("['\u2019]","g");H.exports=function j($){return function(B){return s(O(b(B).replace(N,"")),$,"")}}},7366:(H,k,D)=>{var s=D(7814),b=D(8145),O=D(3578),N=s&&1/O(new s([,-0]))[1]==1/0?function(j){return new s(j)}:b;H.exports=N},8318:(H,k,D)=>{var O=D(965)({\u00c0:"A",\u00c1:"A",\u00c2:"A",\u00c3:"A",\u00c4:"A",\u00c5:"A",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u00e3:"a",\u00e4:"a",\u00e5:"a",\u00c7:"C",\u00e7:"c",\u00d0:"D",\u00f0:"d",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u00cb:"E",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u00eb:"e",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u00cf:"I",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u00ef:"i",\u00d1:"N",\u00f1:"n",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u00d5:"O",\u00d6:"O",\u00d8:"O",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u00f5:"o",\u00f6:"o",\u00f8:"o",\u00d9:"U",\u00da:"U",\u00db:"U",\u00dc:"U",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u00fc:"u",\u00dd:"Y",\u00fd:"y",\u00ff:"y",\u00c6:"Ae",\u00e6:"ae",\u00de:"Th",\u00fe:"th",\u00df:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u010e:"D",\u0110:"D",\u010f:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011a:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011b:"e",\u011c:"G",\u011e:"G",\u0120:"G",\u0122:"G",\u011d:"g",\u011f:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012a:"I",\u012c:"I",\u012e:"I",\u0130:"I",\u0129:"i",\u012b:"i",\u012d:"i",\u012f:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013b:"L",\u013d:"L",\u013f:"L",\u0141:"L",\u013a:"l",\u013c:"l",\u013e:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014a:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014b:"n",\u014c:"O",\u014e:"O",\u0150:"O",\u014d:"o",\u014f:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015a:"S",\u015c:"S",\u015e:"S",\u0160:"S",\u015b:"s",\u015d:"s",\u015f:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016a:"U",\u016c:"U",\u016e:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016b:"u",\u016d:"u",\u016f:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017b:"Z",\u017d:"Z",\u017a:"z",\u017c:"z",\u017e:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017f:"s"});H.exports=O},4678:(H,k,D)=>{var s=D(4385),b=function(){try{var O=s(Object,"defineProperty");return O({},"",{}),O}catch{}}();H.exports=b},8657:H=>{var k="object"==typeof global&&global&&global.Object===Object&&global;H.exports=k},9038:(H,k,D)=>{var s=D(3329);H.exports=function b(O,R){var N=O.__data__;return s(R)?N["string"==typeof R?"string":"hash"]:N.map}},4385:(H,k,D)=>{var s=D(298),b=D(8737);H.exports=function O(R,N){var j=b(R,N);return s(j)?j:void 0}},6902:(H,k,D)=>{var b=D(2852)(Object.getPrototypeOf,Object);H.exports=b},8488:(H,k,D)=>{var s=D(8516),b=Object.prototype,O=b.hasOwnProperty,R=b.toString,N=s?s.toStringTag:void 0;H.exports=function j($){var B=O.call($,N),X=$[N];try{$[N]=void 0;var J=!0}catch{}var oe=R.call($);return J&&(B?$[N]=X:delete $[N]),oe}},8737:H=>{H.exports=function k(D,s){return D?.[s]}},5823:H=>{var k=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;H.exports=function D(s){return k.test(s)}},6399:(H,k,D)=>{var s=D(8247);H.exports=function b(){this.__data__=s?s(null):{},this.size=0}},1483:H=>{H.exports=function k(D){var s=this.has(D)&&delete this.__data__[D];return this.size-=s?1:0,s}},3434:(H,k,D)=>{var s=D(8247),R=Object.prototype.hasOwnProperty;H.exports=function N(j){var $=this.__data__;if(s){var B=$[j];return"__lodash_hash_undefined__"===B?void 0:B}return R.call($,j)?$[j]:void 0}},5230:(H,k,D)=>{var s=D(8247),O=Object.prototype.hasOwnProperty;H.exports=function R(N){var j=this.__data__;return s?void 0!==j[N]:O.call(j,N)}},3718:(H,k,D)=>{var s=D(8247);H.exports=function O(R,N){var j=this.__data__;return this.size+=this.has(R)?0:1,j[R]=s&&void 0===N?"__lodash_hash_undefined__":N,this}},8426:H=>{var D=/^(?:0|[1-9]\d*)$/;H.exports=function s(b,O){var R=typeof b;return!!(O=O??9007199254740991)&&("number"==R||"symbol"!=R&&D.test(b))&&b>-1&&b%1==0&&b<O}},2721:(H,k,D)=>{var s=D(2651),b=D(7291),O=D(8426),R=D(3278);H.exports=function N(j,$,B){if(!R(B))return!1;var X=typeof $;return!!("number"==X?b(B)&&O($,B.length):"string"==X&&$ in B)&&s(B[$],j)}},3329:H=>{H.exports=function k(D){var s=typeof D;return"string"==s||"number"==s||"symbol"==s||"boolean"==s?"__proto__"!==D:null===D}},8401:(H,k,D)=>{var R,s=D(336),b=(R=/[^.]+$/.exec(s&&s.keys&&s.keys.IE_PROTO||""))?"Symbol(src)_1."+R:"";H.exports=function O(R){return!!b&&b in R}},3164:H=>{var k=Object.prototype;H.exports=function D(s){var b=s&&s.constructor;return s===("function"==typeof b&&b.prototype||k)}},3643:H=>{H.exports=function k(){this.__data__=[],this.size=0}},7103:(H,k,D)=>{var s=D(6316),O=Array.prototype.splice;H.exports=function R(N){var j=this.__data__,$=s(j,N);return!($<0||($==j.length-1?j.pop():O.call(j,$,1),--this.size,0))}},62:(H,k,D)=>{var s=D(6316);H.exports=function b(O){var R=this.__data__,N=s(R,O);return N<0?void 0:R[N][1]}},1610:(H,k,D)=>{var s=D(6316);H.exports=function b(O){return s(this.__data__,O)>-1}},1090:(H,k,D)=>{var s=D(6316);H.exports=function b(O,R){var N=this.__data__,j=s(N,O);return j<0?(++this.size,N.push([O,R])):N[j][1]=R,this}},1891:(H,k,D)=>{var s=D(3028),b=D(5752),O=D(1012);H.exports=function R(){this.size=0,this.__data__={hash:new s,map:new(O||b),string:new s}}},2759:(H,k,D)=>{var s=D(9038);H.exports=function b(O){var R=s(this,O).delete(O);return this.size-=R?1:0,R}},7766:(H,k,D)=>{var s=D(9038);H.exports=function b(O){return s(this,O).get(O)}},322:(H,k,D)=>{var s=D(9038);H.exports=function b(O){return s(this,O).has(O)}},7258:(H,k,D)=>{var s=D(9038);H.exports=function b(O,R){var N=s(this,O),j=N.size;return N.set(O,R),this.size+=N.size==j?0:1,this}},8247:(H,k,D)=>{var b=D(4385)(Object,"create");H.exports=b},908:H=>{H.exports=function k(D){var s=[];if(null!=D)for(var b in Object(D))s.push(b);return s}},512:(H,k,D)=>{H=D.nmd(H);var s=D(8657),b=k&&!k.nodeType&&k,O=b&&H&&!H.nodeType&&H,N=O&&O.exports===b&&s.process,j=function(){try{return O&&O.require&&O.require("util").types||N&&N.binding&&N.binding("util")}catch{}}();H.exports=j},3327:H=>{var D=Object.prototype.toString;H.exports=function s(b){return D.call(b)}},2852:H=>{H.exports=function k(D,s){return function(b){return D(s(b))}}},8452:(H,k,D)=>{var s=D(1458),b=Math.max;H.exports=function O(R,N,j){return N=b(void 0===N?R.length-1:N,0),function(){for(var $=arguments,B=-1,X=b($.length-N,0),J=Array(X);++B<X;)J[B]=$[N+B];B=-1;for(var oe=Array(N+1);++B<N;)oe[B]=$[B];return oe[N]=j(J),s(R,this,oe)}}},1464:(H,k,D)=>{var s=D(8657),b="object"==typeof self&&self&&self.Object===Object&&self,O=s||b||Function("return this")();H.exports=O},4643:H=>{H.exports=function D(s){return this.__data__.set(s,"__lodash_hash_undefined__"),this}},2768:H=>{H.exports=function k(D){return this.__data__.has(D)}},3578:H=>{H.exports=function k(D){var s=-1,b=Array(D.size);return D.forEach(function(O){b[++s]=O}),b}},1230:(H,k,D)=>{var s=D(8565),O=D(2770)(s);H.exports=O},2770:H=>{var s=Date.now;H.exports=function b(O){var R=0,N=0;return function(){var j=s(),$=16-(j-N);if(N=j,$>0){if(++R>=800)return arguments[0]}else R=0;return O.apply(void 0,arguments)}}},5220:H=>{H.exports=function k(D,s,b){for(var O=b-1,R=D.length;++O<R;)if(D[O]===s)return O;return-1}},8020:H=>{var D=Function.prototype.toString;H.exports=function s(b){if(null!=b){try{return D.call(b)}catch{}try{return b+""}catch{}}return""}},7172:H=>{var k="\\ud800-\\udfff",R="\\u2700-\\u27bf",N="a-z\\xdf-\\xf6\\xf8-\\xff",J="A-Z\\xc0-\\xd6\\xd8-\\xde",ge="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Oe="["+ge+"]",Ge="\\d+",ze="["+R+"]",We="["+N+"]",Ke="[^"+k+ge+Ge+R+N+J+"]",$e="(?:\\ud83c[\\udde6-\\uddff]){2}",se="[\\ud800-\\udbff][\\udc00-\\udfff]",pe="["+J+"]",Te="(?:"+We+"|"+Ke+")",Se="(?:"+pe+"|"+Ke+")",de="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",me="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",Ye="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",ot="[\\ufe0e\\ufe0f]?",vn=ot+Ye+"(?:\\u200d(?:"+["[^"+k+"]",$e,se].join("|")+")"+ot+Ye+")*",nt="(?:"+[ze,$e,se].join("|")+")"+vn,Nn=RegExp([pe+"?"+We+"+"+de+"(?="+[Oe,pe,"$"].join("|")+")",Se+"+"+me+"(?="+[Oe,pe+Te,"$"].join("|")+")",pe+"?"+Te+"+"+de,pe+"+"+me,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ge,nt].join("|"),"g");H.exports=function Nr(ln){return ln.match(Nn)||[]}},7327:(H,k,D)=>{var s=D(3190),b=D(7530),O=D(7674),R=b(function(N,j){s(j,O(j),N)});H.exports=R},6205:H=>{H.exports=function k(D){return function(){return D}}},5403:(H,k,D)=>{var s=D(8318),b=D(4717),O=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,X=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");H.exports=function J(oe){return(oe=b(oe))&&oe.replace(O,s).replace(X,"")}},2651:H=>{H.exports=function k(D,s){return D===s||D!=D&&s!=s}},1281:(H,k,D)=>{H.exports=D(7327)},9631:H=>{H.exports=function k(D){return D}},6265:(H,k,D)=>{var s=D(8313),b=D(7433),O=Object.prototype,R=O.hasOwnProperty,N=O.propertyIsEnumerable,j=s(function(){return arguments}())?s:function($){return b($)&&R.call($,"callee")&&!N.call($,"callee")};H.exports=j},9812:H=>{H.exports=Array.isArray},7291:(H,k,D)=>{var s=D(8653),b=D(8845);H.exports=function O(R){return null!=R&&b(R.length)&&!s(R)}},3705:(H,k,D)=>{var s=D(1057),b=D(7433);H.exports=function R(N){return!0===N||!1===N||b(N)&&"[object Boolean]"==s(N)}},3151:(H,k,D)=>{H=D.nmd(H);var s=D(1464),b=D(5710),O=k&&!k.nodeType&&k,R=O&&H&&!H.nodeType&&H,j=R&&R.exports===O?s.Buffer:void 0;H.exports=(j?j.isBuffer:void 0)||b},8653:(H,k,D)=>{var s=D(1057),b=D(3278);H.exports=function $(B){if(!b(B))return!1;var X=s(B);return"[object Function]"==X||"[object GeneratorFunction]"==X||"[object AsyncFunction]"==X||"[object Proxy]"==X}},8845:H=>{H.exports=function D(s){return"number"==typeof s&&s>-1&&s%1==0&&s<=9007199254740991}},5972:H=>{H.exports=function k(D){return null===D}},9336:(H,k,D)=>{var s=D(1057),b=D(7433);H.exports=function R(N){return"number"==typeof N||b(N)&&"[object Number]"==s(N)}},3278:H=>{H.exports=function k(D){var s=typeof D;return null!=D&&("object"==s||"function"==s)}},7433:H=>{H.exports=function k(D){return null!=D&&"object"==typeof D}},9970:(H,k,D)=>{var s=D(1057),b=D(6902),O=D(7433),$=Function.prototype.toString,B=Object.prototype.hasOwnProperty,X=$.call(Object);H.exports=function J(oe){if(!O(oe)||"[object Object]"!=s(oe))return!1;var ge=b(oe);if(null===ge)return!0;var be=B.call(ge,"constructor")&&ge.constructor;return"function"==typeof be&&be instanceof be&&$.call(be)==X}},8124:(H,k,D)=>{var s=D(1057),b=D(9812),O=D(7433);H.exports=function N(j){return"string"==typeof j||!b(j)&&O(j)&&"[object String]"==s(j)}},5153:(H,k,D)=>{var s=D(1057),b=D(7433);H.exports=function R(N){return"symbol"==typeof N||b(N)&&"[object Symbol]"==s(N)}},1028:(H,k,D)=>{var s=D(8068),b=D(2502),O=D(512),R=O&&O.isTypedArray,N=R?b(R):s;H.exports=N},9261:H=>{H.exports=function k(D){return void 0===D}},7674:(H,k,D)=>{var s=D(8548),b=D(1194),O=D(7291);H.exports=function R(N){return O(N)?s(N,!0):b(N)}},8145:H=>{H.exports=function k(){}},193:(H,k,D)=>{var b=D(7666)(function(O,R,N){return O+(N?"_":"")+R.toLowerCase()});H.exports=b},5710:H=>{H.exports=function k(){return!1}},4717:(H,k,D)=>{var s=D(7005);H.exports=function b(O){return null==O?"":s(O)}},9488:(H,k,D)=>{var s=D(3136);H.exports=function b(O){return O&&O.length?s(O):[]}},5788:(H,k,D)=>{var s=D(2192),b=D(5823),O=D(4717),R=D(7172);H.exports=function N(j,$,B){return j=O(j),void 0===($=B?void 0:$)?b(j)?R(j):s(j):j.match($)||[]}},9969:(H,k,D)=>{"use strict";D.d(k,{FX:()=>Se,If:()=>O,K2:()=>B,S6:()=>We,hZ:()=>N,i0:()=>j,iF:()=>X,kY:()=>ge,kp:()=>R,sf:()=>Ie,ui:()=>Te,wk:()=>J});var s=D(177),b=D(3953),O=function(de){return de[de.State=0]="State",de[de.Transition=1]="Transition",de[de.Sequence=2]="Sequence",de[de.Group=3]="Group",de[de.Animate=4]="Animate",de[de.Keyframes=5]="Keyframes",de[de.Style=6]="Style",de[de.Trigger=7]="Trigger",de[de.Reference=8]="Reference",de[de.AnimateChild=9]="AnimateChild",de[de.AnimateRef=10]="AnimateRef",de[de.Query=11]="Query",de[de.Stagger=12]="Stagger",de}(O||{});const R="*";function N(de,me){return{type:O.Trigger,name:de,definitions:me,options:{}}}function j(de,me=null){return{type:O.Animate,styles:me,timings:de}}function B(de,me=null){return{type:O.Sequence,steps:de,options:me}}function X(de){return{type:O.Style,styles:de,offset:null}}function J(de,me,Ye){return{type:O.State,name:de,styles:me,options:Ye}}function ge(de,me,Ye=null){return{type:O.Transition,expr:de,animation:me,options:Ye}}let We=(()=>{class de{static#e=this.\u0275fac=function(ot){return new(ot||de)};static#t=this.\u0275prov=b.jDH({token:de,factory:()=>(0,b.WQX)(vt),providedIn:"root"})}return de})();class Ke{}let vt=(()=>{class de extends We{constructor(Ye,ot){if(super(),this.animationModuleType=(0,b.WQX)(b.bc$,{optional:!0}),this._nextAnimationId=0,this._renderer=Ye.createRenderer(ot.body,{id:"0",encapsulation:b.gXe.None,styles:[],data:{animation:[]}}),null===this.animationModuleType&&!function pe(de){const me=de.\u0275type;return 0===me||1===me}(this._renderer))throw new b.wOt(3600,!1)}build(Ye){const ot=this._nextAnimationId;this._nextAnimationId++;const qt=Array.isArray(Ye)?B(Ye):Ye;return $e(this._renderer,null,ot,"register",[qt]),new _t(ot,this._renderer)}static#e=this.\u0275fac=function(ot){return new(ot||de)(b.KVO(b._9s),b.KVO(s.qQ))};static#t=this.\u0275prov=b.jDH({token:de,factory:de.\u0275fac,providedIn:"root"})}return de})();class _t extends Ke{constructor(me,Ye){super(),this._id=me,this._renderer=Ye}create(me,Ye){return new ut(this._id,me,Ye||{},this._renderer)}}class ut{constructor(me,Ye,ot,qt){this.id=me,this.element=Ye,this._renderer=qt,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",ot)}_listen(me,Ye){return this._renderer.listen(this.element,`@@${this.id}:${me}`,Ye)}_command(me,...Ye){$e(this._renderer,this.element,this.id,me,Ye)}onDone(me){this._listen("done",me)}onStart(me){this._listen("start",me)}onDestroy(me){this._listen("destroy",me)}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(me){this._command("setPosition",me)}getPosition(){return function se(de){const me=de.\u0275type;return 0===me?de:1===me?de.animationRenderer:null}(this._renderer)?.engine?.players[this.id]?.getPosition()??0}}function $e(de,me,Ye,ot,qt){de.setProperty(me,`@@${Ye}:${ot}`,qt)}class Ie{constructor(me=0,Ye=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=me+Ye}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(me=>me()),this._onDoneFns=[])}onStart(me){this._originalOnStartFns.push(me),this._onStartFns.push(me)}onDone(me){this._originalOnDoneFns.push(me),this._onDoneFns.push(me)}onDestroy(me){this._onDestroyFns.push(me)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(me=>me()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(me=>me()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(me){this._position=this.totalTime?me*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(me){const Ye="start"==me?this._onStartFns:this._onDoneFns;Ye.forEach(ot=>ot()),Ye.length=0}}class Te{constructor(me){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=me;let Ye=0,ot=0,qt=0;const Dn=this.players.length;0==Dn?queueMicrotask(()=>this._onFinish()):this.players.forEach(Zt=>{Zt.onDone(()=>{++Ye==Dn&&this._onFinish()}),Zt.onDestroy(()=>{++ot==Dn&&this._onDestroy()}),Zt.onStart(()=>{++qt==Dn&&this._onStart()})}),this.totalTime=this.players.reduce((Zt,vn)=>Math.max(Zt,vn.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(me=>me()),this._onDoneFns=[])}init(){this.players.forEach(me=>me.init())}onStart(me){this._onStartFns.push(me)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(me=>me()),this._onStartFns=[])}onDone(me){this._onDoneFns.push(me)}onDestroy(me){this._onDestroyFns.push(me)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(me=>me.play())}pause(){this.players.forEach(me=>me.pause())}restart(){this.players.forEach(me=>me.restart())}finish(){this._onFinish(),this.players.forEach(me=>me.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(me=>me.destroy()),this._onDestroyFns.forEach(me=>me()),this._onDestroyFns=[])}reset(){this.players.forEach(me=>me.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(me){const Ye=me*this.totalTime;this.players.forEach(ot=>{const qt=ot.totalTime?Math.min(1,Ye/ot.totalTime):1;ot.setPosition(qt)})}getPosition(){const me=this.players.reduce((Ye,ot)=>null===Ye||ot.totalTime>Ye.totalTime?ot:Ye,null);return null!=me?me.getPosition():0}beforeDestroy(){this.players.forEach(me=>{me.beforeDestroy&&me.beforeDestroy()})}triggerCallback(me){const Ye="start"==me?this._onStartFns:this._onDoneFns;Ye.forEach(ot=>ot()),Ye.length=0}}const Se="!"},177:(H,k,D)=>{"use strict";D.d(k,{AJ:()=>li,B3:()=>De,MD:()=>Wo,N0:()=>po,QT:()=>O,Sm:()=>Ge,Sq:()=>Q,T3:()=>A,UE:()=>Xi,VF:()=>N,Vy:()=>Yi,Xr:()=>fo,YU:()=>ai,ZD:()=>R,_b:()=>$r,aZ:()=>We,bT:()=>Ce,fw:()=>ze,hb:()=>Oe,hj:()=>X,qQ:()=>$});var s=D(3953);let b=null;function O(){return b}function R(m){b??=m}class N{}const $=new s.nKC("");let B=(()=>{class m{historyGo(w){throw new Error("")}static#e=this.\u0275fac=function(T){return new(T||m)};static#t=this.\u0275prov=s.jDH({token:m,factory:()=>(0,s.WQX)(J),providedIn:"platform"})}return m})();const X=new s.nKC("");let J=(()=>{class m extends B{constructor(){super(),this._doc=(0,s.WQX)($),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return O().getBaseHref(this._doc)}onPopState(w){const T=O().getGlobalEventTarget(this._doc,"window");return T.addEventListener("popstate",w,!1),()=>T.removeEventListener("popstate",w)}onHashChange(w){const T=O().getGlobalEventTarget(this._doc,"window");return T.addEventListener("hashchange",w,!1),()=>T.removeEventListener("hashchange",w)}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(w){this._location.pathname=w}pushState(w,T,G){this._history.pushState(w,T,G)}replaceState(w,T,G){this._history.replaceState(w,T,G)}forward(){this._history.forward()}back(){this._history.back()}historyGo(w=0){this._history.go(w)}getState(){return this._history.state}static#e=this.\u0275fac=function(T){return new(T||m)};static#t=this.\u0275prov=s.jDH({token:m,factory:()=>new m,providedIn:"platform"})}return m})();function oe(m,P){if(0==m.length)return P;if(0==P.length)return m;let w=0;return m.endsWith("/")&&w++,P.startsWith("/")&&w++,2==w?m+P.substring(1):1==w?m+P:m+"/"+P}function ge(m){const P=m.match(/#|\?|$/),w=P&&P.index||m.length;return m.slice(0,w-("/"===m[w-1]?1:0))+m.slice(w)}function be(m){return m&&"?"!==m[0]?"?"+m:m}let Oe=(()=>{class m{historyGo(w){throw new Error("")}static#e=this.\u0275fac=function(T){return new(T||m)};static#t=this.\u0275prov=s.jDH({token:m,factory:()=>(0,s.WQX)(Ge),providedIn:"root"})}return m})();const Fe=new s.nKC("");let Ge=(()=>{class m extends Oe{constructor(w,T){super(),this._platformLocation=w,this._removeListenerFns=[],this._baseHref=T??this._platformLocation.getBaseHrefFromDOM()??(0,s.WQX)($).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(w){this._removeListenerFns.push(this._platformLocation.onPopState(w),this._platformLocation.onHashChange(w))}getBaseHref(){return this._baseHref}prepareExternalUrl(w){return oe(this._baseHref,w)}path(w=!1){const T=this._platformLocation.pathname+be(this._platformLocation.search),G=this._platformLocation.hash;return G&&w?`${T}${G}`:T}pushState(w,T,G,ue){const Me=this.prepareExternalUrl(G+be(ue));this._platformLocation.pushState(w,T,Me)}replaceState(w,T,G,ue){const Me=this.prepareExternalUrl(G+be(ue));this._platformLocation.replaceState(w,T,Me)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(w=0){this._platformLocation.historyGo?.(w)}static#e=this.\u0275fac=function(T){return new(T||m)(s.KVO(B),s.KVO(Fe,8))};static#t=this.\u0275prov=s.jDH({token:m,factory:m.\u0275fac,providedIn:"root"})}return m})(),ze=(()=>{class m extends Oe{constructor(w,T){super(),this._platformLocation=w,this._baseHref="",this._removeListenerFns=[],null!=T&&(this._baseHref=T)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(w){this._removeListenerFns.push(this._platformLocation.onPopState(w),this._platformLocation.onHashChange(w))}getBaseHref(){return this._baseHref}path(w=!1){const T=this._platformLocation.hash??"#";return T.length>0?T.substring(1):T}prepareExternalUrl(w){const T=oe(this._baseHref,w);return T.length>0?"#"+T:T}pushState(w,T,G,ue){let Me=this.prepareExternalUrl(G+be(ue));0==Me.length&&(Me=this._platformLocation.pathname),this._platformLocation.pushState(w,T,Me)}replaceState(w,T,G,ue){let Me=this.prepareExternalUrl(G+be(ue));0==Me.length&&(Me=this._platformLocation.pathname),this._platformLocation.replaceState(w,T,Me)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(w=0){this._platformLocation.historyGo?.(w)}static#e=this.\u0275fac=function(T){return new(T||m)(s.KVO(B),s.KVO(Fe,8))};static#t=this.\u0275prov=s.jDH({token:m,factory:m.\u0275fac})}return m})(),We=(()=>{class m{constructor(w){this._subject=new s.bkB,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=w;const T=this._locationStrategy.getBaseHref();this._basePath=function ut(m){if(new RegExp("^(https?:)?//").test(m)){const[,w]=m.split(/\/\/[^\/]+/);return w}return m}(ge(_t(T))),this._locationStrategy.onPopState(G=>{this._subject.emit({url:this.path(!0),pop:!0,state:G.state,type:G.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(w=!1){return this.normalize(this._locationStrategy.path(w))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(w,T=""){return this.path()==this.normalize(w+be(T))}normalize(w){return m.stripTrailingSlash(function vt(m,P){if(!m||!P.startsWith(m))return P;const w=P.substring(m.length);return""===w||["/",";","?","#"].includes(w[0])?w:P}(this._basePath,_t(w)))}prepareExternalUrl(w){return w&&"/"!==w[0]&&(w="/"+w),this._locationStrategy.prepareExternalUrl(w)}go(w,T="",G=null){this._locationStrategy.pushState(G,"",w,T),this._notifyUrlChangeListeners(this.prepareExternalUrl(w+be(T)),G)}replaceState(w,T="",G=null){this._locationStrategy.replaceState(G,"",w,T),this._notifyUrlChangeListeners(this.prepareExternalUrl(w+be(T)),G)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(w=0){this._locationStrategy.historyGo?.(w)}onUrlChange(w){return this._urlChangeListeners.push(w),this._urlChangeSubscription??=this.subscribe(T=>{this._notifyUrlChangeListeners(T.url,T.state)}),()=>{const T=this._urlChangeListeners.indexOf(w);this._urlChangeListeners.splice(T,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(w="",T){this._urlChangeListeners.forEach(G=>G(w,T))}subscribe(w,T,G){return this._subject.subscribe({next:w,error:T,complete:G})}static#e=this.normalizeQueryParams=be;static#t=this.joinWithSlash=oe;static#n=this.stripTrailingSlash=ge;static#r=this.\u0275fac=function(T){return new(T||m)(s.KVO(Oe))};static#i=this.\u0275prov=s.jDH({token:m,factory:()=>function Ke(){return new We((0,s.KVO)(Oe))}(),providedIn:"root"})}return m})();function _t(m){return m.replace(/\/index.html$/,"")}function $r(m,P){P=encodeURIComponent(P);for(const w of m.split(";")){const T=w.indexOf("="),[G,ue]=-1==T?[w,""]:[w.slice(0,T),w.slice(T+1)];if(G.trim()===P)return decodeURIComponent(ue)}return null}const yt=/\s+/,dn=[];let ai=(()=>{class m{constructor(w,T){this._ngEl=w,this._renderer=T,this.initialClasses=dn,this.stateMap=new Map}set klass(w){this.initialClasses=null!=w?w.trim().split(yt):dn}set ngClass(w){this.rawClass="string"==typeof w?w.trim().split(yt):w}ngDoCheck(){for(const T of this.initialClasses)this._updateState(T,!0);const w=this.rawClass;if(Array.isArray(w)||w instanceof Set)for(const T of w)this._updateState(T,!0);else if(null!=w)for(const T of Object.keys(w))this._updateState(T,!!w[T]);this._applyStateDiff()}_updateState(w,T){const G=this.stateMap.get(w);void 0!==G?(G.enabled!==T&&(G.changed=!0,G.enabled=T),G.touched=!0):this.stateMap.set(w,{enabled:T,changed:!0,touched:!0})}_applyStateDiff(){for(const w of this.stateMap){const T=w[0],G=w[1];G.changed?(this._toggleClass(T,G.enabled),G.changed=!1):G.touched||(G.enabled&&this._toggleClass(T,!1),this.stateMap.delete(T)),G.touched=!1}}_toggleClass(w,T){(w=w.trim()).length>0&&w.split(yt).forEach(G=>{T?this._renderer.addClass(this._ngEl.nativeElement,G):this._renderer.removeClass(this._ngEl.nativeElement,G)})}static#e=this.\u0275fac=function(T){return new(T||m)(s.rXU(s.aKT),s.rXU(s.sFG))};static#t=this.\u0275dir=s.FsC({type:m,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}return m})();class V{constructor(P,w,T,G){this.$implicit=P,this.ngForOf=w,this.index=T,this.count=G}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 Q=(()=>{class m{set ngForOf(w){this._ngForOf=w,this._ngForOfDirty=!0}set ngForTrackBy(w){this._trackByFn=w}get ngForTrackBy(){return this._trackByFn}constructor(w,T,G){this._viewContainer=w,this._template=T,this._differs=G,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(w){w&&(this._template=w)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const w=this._ngForOf;!this._differ&&w&&(this._differ=this._differs.find(w).create(this.ngForTrackBy))}if(this._differ){const w=this._differ.diff(this._ngForOf);w&&this._applyChanges(w)}}_applyChanges(w){const T=this._viewContainer;w.forEachOperation((G,ue,Me)=>{if(null==G.previousIndex)T.createEmbeddedView(this._template,new V(G.item,this._ngForOf,-1,-1),null===Me?void 0:Me);else if(null==Me)T.remove(null===ue?void 0:ue);else if(null!==ue){const He=T.get(ue);T.move(He,Me),K(He,G)}});for(let G=0,ue=T.length;G<ue;G++){const He=T.get(G).context;He.index=G,He.count=ue,He.ngForOf=this._ngForOf}w.forEachIdentityChange(G=>{K(T.get(G.currentIndex),G)})}static ngTemplateContextGuard(w,T){return!0}static#e=this.\u0275fac=function(T){return new(T||m)(s.rXU(s.c1b),s.rXU(s.C4Q),s.rXU(s._q3))};static#t=this.\u0275dir=s.FsC({type:m,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return m})();function K(m,P){m.context.$implicit=P.item}let Ce=(()=>{class m{constructor(w,T){this._viewContainer=w,this._context=new Pe,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=T}set ngIf(w){this._context.$implicit=this._context.ngIf=w,this._updateView()}set ngIfThen(w){xe("ngIfThen",w),this._thenTemplateRef=w,this._thenViewRef=null,this._updateView()}set ngIfElse(w){xe("ngIfElse",w),this._elseTemplateRef=w,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(w,T){return!0}static#e=this.\u0275fac=function(T){return new(T||m)(s.rXU(s.c1b),s.rXU(s.C4Q))};static#t=this.\u0275dir=s.FsC({type:m,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return m})();class Pe{constructor(){this.$implicit=null,this.ngIf=null}}function xe(m,P){if(P&&!P.createEmbeddedView)throw new Error(`${m} must be a TemplateRef, but received '${(0,s.Tbb)(P)}'.`)}let De=(()=>{class m{constructor(w,T,G){this._ngEl=w,this._differs=T,this._renderer=G,this._ngStyle=null,this._differ=null}set ngStyle(w){this._ngStyle=w,!this._differ&&w&&(this._differ=this._differs.find(w).create())}ngDoCheck(){if(this._differ){const w=this._differ.diff(this._ngStyle);w&&this._applyChanges(w)}}_setStyle(w,T){const[G,ue]=w.split("."),Me=-1===G.indexOf("-")?void 0:s.czy.DashCase;null!=T?this._renderer.setStyle(this._ngEl.nativeElement,G,ue?`${T}${ue}`:T,Me):this._renderer.removeStyle(this._ngEl.nativeElement,G,Me)}_applyChanges(w){w.forEachRemovedItem(T=>this._setStyle(T.key,null)),w.forEachAddedItem(T=>this._setStyle(T.key,T.currentValue)),w.forEachChangedItem(T=>this._setStyle(T.key,T.currentValue))}static#e=this.\u0275fac=function(T){return new(T||m)(s.rXU(s.aKT),s.rXU(s.MKu),s.rXU(s.sFG))};static#t=this.\u0275dir=s.FsC({type:m,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return m})(),A=(()=>{class m{constructor(w){this._viewContainerRef=w,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(w){if(this._shouldRecreateView(w)){const T=this._viewContainerRef;if(this._viewRef&&T.remove(T.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const G=this._createContextForwardProxy();this._viewRef=T.createEmbeddedView(this.ngTemplateOutlet,G,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(w){return!!w.ngTemplateOutlet||!!w.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(w,T,G)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,T,G),get:(w,T,G)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,T,G)}})}static#e=this.\u0275fac=function(T){return new(T||m)(s.rXU(s.c1b))};static#t=this.\u0275dir=s.FsC({type:m,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[s.OA$]})}return m})(),Wo=(()=>{class m{static#e=this.\u0275fac=function(T){return new(T||m)};static#t=this.\u0275mod=s.$C({type:m});static#n=this.\u0275inj=s.G2t({})}return m})();const li="browser",Io="server";function Xi(m){return m===li}function Yi(m){return m===Io}let fo=(()=>{class m{static#e=this.\u0275prov=(0,s.jDH)({token:m,providedIn:"root",factory:()=>Xi((0,s.WQX)(s.Agw))?new Ko((0,s.WQX)($),window):new qn})}return m})();class Ko{constructor(P,w){this.document=P,this.window=w,this.offset=()=>[0,0]}setOffset(P){this.offset=Array.isArray(P)?()=>P:P}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(P){this.window.scrollTo(P[0],P[1])}scrollToAnchor(P){const w=function qo(m,P){const w=m.getElementById(P)||m.getElementsByName(P)[0];if(w)return w;if("function"==typeof m.createTreeWalker&&m.body&&"function"==typeof m.body.attachShadow){const T=m.createTreeWalker(m.body,NodeFilter.SHOW_ELEMENT);let G=T.currentNode;for(;G;){const ue=G.shadowRoot;if(ue){const Me=ue.getElementById(P)||ue.querySelector(`[name="${P}"]`);if(Me)return Me}G=T.nextNode()}}return null}(this.document,P);w&&(this.scrollToElement(w),w.focus())}setHistoryScrollRestoration(P){this.window.history.scrollRestoration=P}scrollToElement(P){const w=P.getBoundingClientRect(),T=w.left+this.window.pageXOffset,G=w.top+this.window.pageYOffset,ue=this.offset();this.window.scrollTo(T-ue[0],G-ue[1])}}class qn{setOffset(P){}getScrollPosition(){return[0,0]}scrollToPosition(P){}scrollToAnchor(P){}setHistoryScrollRestoration(P){}}class po{}},1562:(H,k,D)=>{"use strict";function s(V,Q,K,ce,Ce,Pe,xe){try{var Ze=V[Pe](xe),Xe=Ze.value}catch(zt){return void K(zt)}Ze.done?Q(Xe):Promise.resolve(Xe).then(ce,Ce)}function b(V){return function(){var Q=this,K=arguments;return new Promise(function(ce,Ce){var Pe=V.apply(Q,K);function xe(Xe){s(Pe,ce,Ce,xe,Ze,"next",Xe)}function Ze(Xe){s(Pe,ce,Ce,xe,Ze,"throw",Xe)}xe(void 0)})}}D.d(k,{Qq:()=>cn,q1:()=>Ti,Lr:()=>Fe,$R:()=>Be,Sx:()=>tn});var O=D(3953),R=D(7673),N=D(1985),j=D(6648),$=D(274),B=D(5964),X=D(6354),J=D(980),oe=D(5558),ge=D(177);class be{}class Oe{}class Fe{constructor(Q){this.normalizedNames=new Map,this.lazyUpdate=null,Q?"string"==typeof Q?this.lazyInit=()=>{this.headers=new Map,Q.split("\n").forEach(K=>{const ce=K.indexOf(":");if(ce>0){const Ce=K.slice(0,ce),Pe=Ce.toLowerCase(),xe=K.slice(ce+1).trim();this.maybeSetNormalizedName(Ce,Pe),this.headers.has(Pe)?this.headers.get(Pe).push(xe):this.headers.set(Pe,[xe])}})}:typeof Headers<"u"&&Q instanceof Headers?(this.headers=new Map,Q.forEach((K,ce)=>{this.setHeaderEntries(ce,K)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(Q).forEach(([K,ce])=>{this.setHeaderEntries(K,ce)})}:this.headers=new Map}has(Q){return this.init(),this.headers.has(Q.toLowerCase())}get(Q){this.init();const K=this.headers.get(Q.toLowerCase());return K&&K.length>0?K[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(Q){return this.init(),this.headers.get(Q.toLowerCase())||null}append(Q,K){return this.clone({name:Q,value:K,op:"a"})}set(Q,K){return this.clone({name:Q,value:K,op:"s"})}delete(Q,K){return this.clone({name:Q,value:K,op:"d"})}maybeSetNormalizedName(Q,K){this.normalizedNames.has(K)||this.normalizedNames.set(K,Q)}init(){this.lazyInit&&(this.lazyInit instanceof Fe?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(Q=>this.applyUpdate(Q)),this.lazyUpdate=null))}copyFrom(Q){Q.init(),Array.from(Q.headers.keys()).forEach(K=>{this.headers.set(K,Q.headers.get(K)),this.normalizedNames.set(K,Q.normalizedNames.get(K))})}clone(Q){const K=new Fe;return K.lazyInit=this.lazyInit&&this.lazyInit instanceof Fe?this.lazyInit:this,K.lazyUpdate=(this.lazyUpdate||[]).concat([Q]),K}applyUpdate(Q){const K=Q.name.toLowerCase();switch(Q.op){case"a":case"s":let ce=Q.value;if("string"==typeof ce&&(ce=[ce]),0===ce.length)return;this.maybeSetNormalizedName(Q.name,K);const Ce=("a"===Q.op?this.headers.get(K):void 0)||[];Ce.push(...ce),this.headers.set(K,Ce);break;case"d":const Pe=Q.value;if(Pe){let xe=this.headers.get(K);if(!xe)return;xe=xe.filter(Ze=>-1===Pe.indexOf(Ze)),0===xe.length?(this.headers.delete(K),this.normalizedNames.delete(K)):this.headers.set(K,xe)}else this.headers.delete(K),this.normalizedNames.delete(K)}}setHeaderEntries(Q,K){const ce=(Array.isArray(K)?K:[K]).map(Pe=>Pe.toString()),Ce=Q.toLowerCase();this.headers.set(Ce,ce),this.maybeSetNormalizedName(Q,Ce)}forEach(Q){this.init(),Array.from(this.normalizedNames.keys()).forEach(K=>Q(this.normalizedNames.get(K),this.headers.get(K)))}}class ze{encodeKey(Q){return _t(Q)}encodeValue(Q){return _t(Q)}decodeKey(Q){return decodeURIComponent(Q)}decodeValue(Q){return decodeURIComponent(Q)}}const Ke=/%(\d[a-f0-9])/gi,vt={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function _t(V){return encodeURIComponent(V).replace(Ke,(Q,K)=>vt[K]??Q)}function ut(V){return`${V}`}class $e{constructor(Q={}){if(this.updates=null,this.cloneFrom=null,this.encoder=Q.encoder||new ze,Q.fromString){if(Q.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function We(V,Q){const K=new Map;return V.length>0&&V.replace(/^\?/,"").split("&").forEach(Ce=>{const Pe=Ce.indexOf("="),[xe,Ze]=-1==Pe?[Q.decodeKey(Ce),""]:[Q.decodeKey(Ce.slice(0,Pe)),Q.decodeValue(Ce.slice(Pe+1))],Xe=K.get(xe)||[];Xe.push(Ze),K.set(xe,Xe)}),K}(Q.fromString,this.encoder)}else Q.fromObject?(this.map=new Map,Object.keys(Q.fromObject).forEach(K=>{const ce=Q.fromObject[K],Ce=Array.isArray(ce)?ce.map(ut):[ut(ce)];this.map.set(K,Ce)})):this.map=null}has(Q){return this.init(),this.map.has(Q)}get(Q){this.init();const K=this.map.get(Q);return K?K[0]:null}getAll(Q){return this.init(),this.map.get(Q)||null}keys(){return this.init(),Array.from(this.map.keys())}append(Q,K){return this.clone({param:Q,value:K,op:"a"})}appendAll(Q){const K=[];return Object.keys(Q).forEach(ce=>{const Ce=Q[ce];Array.isArray(Ce)?Ce.forEach(Pe=>{K.push({param:ce,value:Pe,op:"a"})}):K.push({param:ce,value:Ce,op:"a"})}),this.clone(K)}set(Q,K){return this.clone({param:Q,value:K,op:"s"})}delete(Q,K){return this.clone({param:Q,value:K,op:"d"})}toString(){return this.init(),this.keys().map(Q=>{const K=this.encoder.encodeKey(Q);return this.map.get(Q).map(ce=>K+"="+this.encoder.encodeValue(ce)).join("&")}).filter(Q=>""!==Q).join("&")}clone(Q){const K=new $e({encoder:this.encoder});return K.cloneFrom=this.cloneFrom||this,K.updates=(this.updates||[]).concat(Q),K}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(Q=>this.map.set(Q,this.cloneFrom.map.get(Q))),this.updates.forEach(Q=>{switch(Q.op){case"a":case"s":const K=("a"===Q.op?this.map.get(Q.param):void 0)||[];K.push(ut(Q.value)),this.map.set(Q.param,K);break;case"d":if(void 0===Q.value){this.map.delete(Q.param);break}{let ce=this.map.get(Q.param)||[];const Ce=ce.indexOf(ut(Q.value));-1!==Ce&&ce.splice(Ce,1),ce.length>0?this.map.set(Q.param,ce):this.map.delete(Q.param)}}}),this.cloneFrom=this.updates=null)}}class pe{constructor(){this.map=new Map}set(Q,K){return this.map.set(Q,K),this}get(Q){return this.map.has(Q)||this.map.set(Q,Q.defaultValue()),this.map.get(Q)}delete(Q){return this.map.delete(Q),this}has(Q){return this.map.has(Q)}keys(){return this.map.keys()}}function Te(V){return typeof ArrayBuffer<"u"&&V instanceof ArrayBuffer}function Se(V){return typeof Blob<"u"&&V instanceof Blob}function de(V){return typeof FormData<"u"&&V instanceof FormData}class Ye{constructor(Q,K,ce,Ce){let Pe;if(this.url=K,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=Q.toUpperCase(),function Ie(V){switch(V){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Ce?(this.body=void 0!==ce?ce:null,Pe=Ce):Pe=ce,Pe&&(this.reportProgress=!!Pe.reportProgress,this.withCredentials=!!Pe.withCredentials,Pe.responseType&&(this.responseType=Pe.responseType),Pe.headers&&(this.headers=Pe.headers),Pe.context&&(this.context=Pe.context),Pe.params&&(this.params=Pe.params),this.transferCache=Pe.transferCache),this.headers??=new Fe,this.context??=new pe,this.params){const xe=this.params.toString();if(0===xe.length)this.urlWithParams=K;else{const Ze=K.indexOf("?");this.urlWithParams=K+(-1===Ze?"?":Ze<K.length-1?"&":"")+xe}}else this.params=new $e,this.urlWithParams=K}serializeBody(){return null===this.body?null:"string"==typeof this.body||Te(this.body)||Se(this.body)||de(this.body)||function me(V){return typeof URLSearchParams<"u"&&V instanceof URLSearchParams}(this.body)?this.body:this.body instanceof $e?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||de(this.body)?null:Se(this.body)?this.body.type||null:Te(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof $e?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(Q={}){const K=Q.method||this.method,ce=Q.url||this.url,Ce=Q.responseType||this.responseType,Pe=Q.transferCache??this.transferCache,xe=void 0!==Q.body?Q.body:this.body,Ze=Q.withCredentials??this.withCredentials,Xe=Q.reportProgress??this.reportProgress;let zt=Q.headers||this.headers,Wt=Q.params||this.params;const Kt=Q.context??this.context;return void 0!==Q.setHeaders&&(zt=Object.keys(Q.setHeaders).reduce((pn,Qt)=>pn.set(Qt,Q.setHeaders[Qt]),zt)),Q.setParams&&(Wt=Object.keys(Q.setParams).reduce((pn,Qt)=>pn.set(Qt,Q.setParams[Qt]),Wt)),new Ye(K,ce,xe,{params:Wt,headers:zt,context:Kt,reportProgress:Xe,responseType:Ce,withCredentials:Ze,transferCache:Pe})}}var ot=function(V){return V[V.Sent=0]="Sent",V[V.UploadProgress=1]="UploadProgress",V[V.ResponseHeader=2]="ResponseHeader",V[V.DownloadProgress=3]="DownloadProgress",V[V.Response=4]="Response",V[V.User=5]="User",V}(ot||{});class qt{constructor(Q,K=200,ce="OK"){this.headers=Q.headers||new Fe,this.status=void 0!==Q.status?Q.status:K,this.statusText=Q.statusText||ce,this.url=Q.url||null,this.ok=this.status>=200&&this.status<300}}class Dn extends qt{constructor(Q={}){super(Q),this.type=ot.ResponseHeader}clone(Q={}){return new Dn({headers:Q.headers||this.headers,status:void 0!==Q.status?Q.status:this.status,statusText:Q.statusText||this.statusText,url:Q.url||this.url||void 0})}}class Zt extends qt{constructor(Q={}){super(Q),this.type=ot.Response,this.body=void 0!==Q.body?Q.body:null}clone(Q={}){return new Zt({body:void 0!==Q.body?Q.body:this.body,headers:Q.headers||this.headers,status:void 0!==Q.status?Q.status:this.status,statusText:Q.statusText||this.statusText,url:Q.url||this.url||void 0})}}class vn extends qt{constructor(Q){super(Q,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${Q.url||"(unknown url)"}`:`Http failure response for ${Q.url||"(unknown url)"}: ${Q.status} ${Q.statusText}`,this.error=Q.error||null}}function ln(V,Q){return{body:Q,headers:V.headers,context:V.context,observe:V.observe,params:V.params,reportProgress:V.reportProgress,responseType:V.responseType,withCredentials:V.withCredentials,transferCache:V.transferCache}}let cn=(()=>{class V{constructor(K){this.handler=K}request(K,ce,Ce={}){let Pe;if(K instanceof Ye)Pe=K;else{let Xe,zt;Xe=Ce.headers instanceof Fe?Ce.headers:new Fe(Ce.headers),Ce.params&&(zt=Ce.params instanceof $e?Ce.params:new $e({fromObject:Ce.params})),Pe=new Ye(K,ce,void 0!==Ce.body?Ce.body:null,{headers:Xe,context:Ce.context,params:zt,reportProgress:Ce.reportProgress,responseType:Ce.responseType||"json",withCredentials:Ce.withCredentials,transferCache:Ce.transferCache})}const xe=(0,R.of)(Pe).pipe((0,$.H)(Xe=>this.handler.handle(Xe)));if(K instanceof Ye||"events"===Ce.observe)return xe;const Ze=xe.pipe((0,B.p)(Xe=>Xe instanceof Zt));switch(Ce.observe||"body"){case"body":switch(Pe.responseType){case"arraybuffer":return Ze.pipe((0,X.T)(Xe=>{if(null!==Xe.body&&!(Xe.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Xe.body}));case"blob":return Ze.pipe((0,X.T)(Xe=>{if(null!==Xe.body&&!(Xe.body instanceof Blob))throw new Error("Response is not a Blob.");return Xe.body}));case"text":return Ze.pipe((0,X.T)(Xe=>{if(null!==Xe.body&&"string"!=typeof Xe.body)throw new Error("Response is not a string.");return Xe.body}));default:return Ze.pipe((0,X.T)(Xe=>Xe.body))}case"response":return Ze;default:throw new Error(`Unreachable: unhandled observe type ${Ce.observe}}`)}}delete(K,ce={}){return this.request("DELETE",K,ce)}get(K,ce={}){return this.request("GET",K,ce)}head(K,ce={}){return this.request("HEAD",K,ce)}jsonp(K,ce){return this.request("JSONP",K,{params:(new $e).append(ce,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(K,ce={}){return this.request("OPTIONS",K,ce)}patch(K,ce,Ce={}){return this.request("PATCH",K,ln(Ce,ce))}post(K,ce,Ce={}){return this.request("POST",K,ln(Ce,ce))}put(K,ce,Ce={}){return this.request("PUT",K,ln(Ce,ce))}static#e=this.\u0275fac=function(ce){return new(ce||V)(O.KVO(be))};static#t=this.\u0275prov=O.jDH({token:V,factory:V.\u0275fac})}return V})();const Gn=/^\)\]\}',?\n/;function nr(V){if(V.url)return V.url;const Q="X-Request-URL".toLocaleLowerCase();return V.headers.get(Q)}let rr=(()=>{class V{constructor(){this.fetchImpl=(0,O.WQX)(fr,{optional:!0})?.fetch??((...K)=>globalThis.fetch(...K)),this.ngZone=(0,O.WQX)(O.SKi)}handle(K){return new N.c(ce=>{const Ce=new AbortController;return this.doRequest(K,Ce.signal,ce).then($t,Pe=>ce.error(new vn({error:Pe}))),()=>Ce.abort()})}doRequest(K,ce,Ce){var Pe=this;return b(function*(){const xe=Pe.createRequestInit(K);let Ze;try{const x=Pe.ngZone.runOutsideAngular(()=>Pe.fetchImpl(K.urlWithParams,{signal:ce,...xe}));(function Kr(V){V.then($t,$t)})(x),Ce.next({type:ot.Sent}),Ze=yield x}catch(x){return void Ce.error(new vn({error:x,status:x.status??0,statusText:x.statusText,url:K.urlWithParams,headers:x.headers}))}const Xe=new Fe(Ze.headers),zt=Ze.statusText,Wt=nr(Ze)??K.urlWithParams;let Kt=Ze.status,pn=null;if(K.reportProgress&&Ce.next(new Dn({headers:Xe,status:Kt,statusText:zt,url:Wt})),Ze.body){const x=Ze.headers.get("content-length"),De=[],A=Ze.body.getReader();let le,qe,Y=0;const It=typeof Zone<"u"&&Zone.current;yield Pe.ngZone.runOutsideAngular(b(function*(){for(;;){const{done:qr,value:Wi}=yield A.read();if(qr)break;if(De.push(Wi),Y+=Wi.length,K.reportProgress){qe="text"===K.responseType?(qe??"")+(le??=new TextDecoder).decode(Wi,{stream:!0}):void 0;const Ki=()=>Ce.next({type:ot.DownloadProgress,total:x?+x:void 0,loaded:Y,partialText:qe});It?It.run(Ki):Ki()}}}));const gn=Pe.concatChunks(De,Y);try{const qr=Ze.headers.get("Content-Type")??"";pn=Pe.parseBody(K,gn,qr)}catch(qr){return void Ce.error(new vn({error:qr,headers:new Fe(Ze.headers),status:Ze.status,statusText:Ze.statusText,url:nr(Ze)??K.urlWithParams}))}}0===Kt&&(Kt=pn?200:0),Kt>=200&&Kt<300?(Ce.next(new Zt({body:pn,headers:Xe,status:Kt,statusText:zt,url:Wt})),Ce.complete()):Ce.error(new vn({error:pn,headers:Xe,status:Kt,statusText:zt,url:Wt}))})()}parseBody(K,ce,Ce){switch(K.responseType){case"json":const Pe=(new TextDecoder).decode(ce).replace(Gn,"");return""===Pe?null:JSON.parse(Pe);case"text":return(new TextDecoder).decode(ce);case"blob":return new Blob([ce],{type:Ce});case"arraybuffer":return ce.buffer}}createRequestInit(K){const ce={},Ce=K.withCredentials?"include":void 0;if(K.headers.forEach((Pe,xe)=>ce[Pe]=xe.join(",")),K.headers.has("Accept")||(ce.Accept="application/json, text/plain, */*"),!K.headers.has("Content-Type")){const Pe=K.detectContentTypeHeader();null!==Pe&&(ce["Content-Type"]=Pe)}return{body:K.serializeBody(),method:K.method,headers:ce,credentials:Ce}}concatChunks(K,ce){const Ce=new Uint8Array(ce);let Pe=0;for(const xe of K)Ce.set(xe,Pe),Pe+=xe.length;return Ce}static#e=this.\u0275fac=function(ce){return new(ce||V)};static#t=this.\u0275prov=O.jDH({token:V,factory:V.\u0275fac})}return V})();class fr{}function $t(){}function en(V,Q){return Q(V)}function _n(V,Q){return(K,ce)=>Q.intercept(K,{handle:Ce=>V(Ce,ce)})}const sn=new O.nKC(""),Cr=new O.nKC(""),ir=new O.nKC(""),Rr=new O.nKC("",{providedIn:"root",factory:()=>!0});function or(){let V=null;return(Q,K)=>{null===V&&(V=((0,O.WQX)(sn,{optional:!0})??[]).reduceRight(_n,en));const ce=(0,O.WQX)(O.TgB);if((0,O.WQX)(Rr)){const Pe=ce.add();return V(Q,K).pipe((0,J.j)(()=>ce.remove(Pe)))}return V(Q,K)}}let wr=(()=>{class V extends be{constructor(K,ce){super(),this.backend=K,this.injector=ce,this.chain=null,this.pendingTasks=(0,O.WQX)(O.TgB),this.contributeToStability=(0,O.WQX)(Rr)}handle(K){if(null===this.chain){const ce=Array.from(new Set([...this.injector.get(Cr),...this.injector.get(ir,[])]));this.chain=ce.reduceRight((Ce,Pe)=>function oi(V,Q,K){return(ce,Ce)=>(0,O.N4e)(K,()=>Q(ce,Pe=>V(Pe,Ce)))}(Ce,Pe,this.injector),en)}if(this.contributeToStability){const ce=this.pendingTasks.add();return this.chain(K,Ce=>this.backend.handle(Ce)).pipe((0,J.j)(()=>this.pendingTasks.remove(ce)))}return this.chain(K,ce=>this.backend.handle(ce))}static#e=this.\u0275fac=function(ce){return new(ce||V)(O.KVO(Oe),O.KVO(O.uvJ))};static#t=this.\u0275prov=O.jDH({token:V,factory:V.\u0275fac})}return V})();const st=/^\)\]\}',?\n/;let kn=(()=>{class V{constructor(K){this.xhrFactory=K}handle(K){if("JSONP"===K.method)throw new O.wOt(-2800,!1);const ce=this.xhrFactory;return(ce.\u0275loadImpl?(0,j.H)(ce.\u0275loadImpl()):(0,R.of)(null)).pipe((0,oe.n)(()=>new N.c(Pe=>{const xe=ce.build();if(xe.open(K.method,K.urlWithParams),K.withCredentials&&(xe.withCredentials=!0),K.headers.forEach((De,A)=>xe.setRequestHeader(De,A.join(","))),K.headers.has("Accept")||xe.setRequestHeader("Accept","application/json, text/plain, */*"),!K.headers.has("Content-Type")){const De=K.detectContentTypeHeader();null!==De&&xe.setRequestHeader("Content-Type",De)}if(K.responseType){const De=K.responseType.toLowerCase();xe.responseType="json"!==De?De:"text"}const Ze=K.serializeBody();let Xe=null;const zt=()=>{if(null!==Xe)return Xe;const De=xe.statusText||"OK",A=new Fe(xe.getAllResponseHeaders()),Y=function At(V){return"responseURL"in V&&V.responseURL?V.responseURL:/^X-Request-URL:/m.test(V.getAllResponseHeaders())?V.getResponseHeader("X-Request-URL"):null}(xe)||K.url;return Xe=new Dn({headers:A,status:xe.status,statusText:De,url:Y}),Xe},Wt=()=>{let{headers:De,status:A,statusText:Y,url:le}=zt(),qe=null;204!==A&&(qe=typeof xe.response>"u"?xe.responseText:xe.response),0===A&&(A=qe?200:0);let It=A>=200&&A<300;if("json"===K.responseType&&"string"==typeof qe){const gn=qe;qe=qe.replace(st,"");try{qe=""!==qe?JSON.parse(qe):null}catch(qr){qe=gn,It&&(It=!1,qe={error:qr,text:qe})}}It?(Pe.next(new Zt({body:qe,headers:De,status:A,statusText:Y,url:le||void 0})),Pe.complete()):Pe.error(new vn({error:qe,headers:De,status:A,statusText:Y,url:le||void 0}))},Kt=De=>{const{url:A}=zt(),Y=new vn({error:De,status:xe.status||0,statusText:xe.statusText||"Unknown Error",url:A||void 0});Pe.error(Y)};let pn=!1;const Qt=De=>{pn||(Pe.next(zt()),pn=!0);let A={type:ot.DownloadProgress,loaded:De.loaded};De.lengthComputable&&(A.total=De.total),"text"===K.responseType&&xe.responseText&&(A.partialText=xe.responseText),Pe.next(A)},x=De=>{let A={type:ot.UploadProgress,loaded:De.loaded};De.lengthComputable&&(A.total=De.total),Pe.next(A)};return xe.addEventListener("load",Wt),xe.addEventListener("error",Kt),xe.addEventListener("timeout",Kt),xe.addEventListener("abort",Kt),K.reportProgress&&(xe.addEventListener("progress",Qt),null!==Ze&&xe.upload&&xe.upload.addEventListener("progress",x)),xe.send(Ze),Pe.next({type:ot.Sent}),()=>{xe.removeEventListener("error",Kt),xe.removeEventListener("abort",Kt),xe.removeEventListener("load",Wt),xe.removeEventListener("timeout",Kt),K.reportProgress&&(xe.removeEventListener("progress",Qt),null!==Ze&&xe.upload&&xe.upload.removeEventListener("progress",x)),xe.readyState!==xe.DONE&&xe.abort()}})))}static#e=this.\u0275fac=function(ce){return new(ce||V)(O.KVO(ge.N0))};static#t=this.\u0275prov=O.jDH({token:V,factory:V.\u0275fac})}return V})();const zn=new O.nKC(""),kr=new O.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Mn=new O.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class un{}let he=(()=>{class V{constructor(K,ce,Ce){this.doc=K,this.platform=ce,this.cookieName=Ce,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const K=this.doc.cookie||"";return K!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,ge._b)(K,this.cookieName),this.lastCookieString=K),this.lastToken}static#e=this.\u0275fac=function(ce){return new(ce||V)(O.KVO(ge.qQ),O.KVO(O.Agw),O.KVO(kr))};static#t=this.\u0275prov=O.jDH({token:V,factory:V.\u0275fac})}return V})();function ae(V,Q){const K=V.url.toLowerCase();if(!(0,O.WQX)(zn)||"GET"===V.method||"HEAD"===V.method||K.startsWith("http://")||K.startsWith("https://"))return Q(V);const ce=(0,O.WQX)(un).getToken(),Ce=(0,O.WQX)(Mn);return null!=ce&&!V.headers.has(Ce)&&(V=V.clone({headers:V.headers.set(Ce,ce)})),Q(V)}var te=function(V){return V[V.Interceptors=0]="Interceptors",V[V.LegacyInterceptors=1]="LegacyInterceptors",V[V.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",V[V.NoXsrfProtection=3]="NoXsrfProtection",V[V.JsonpSupport=4]="JsonpSupport",V[V.RequestsMadeViaParent=5]="RequestsMadeViaParent",V[V.Fetch=6]="Fetch",V}(te||{});function Be(...V){const Q=[cn,kn,wr,{provide:be,useExisting:wr},{provide:Oe,useFactory:()=>(0,O.WQX)(rr,{optional:!0})??(0,O.WQX)(kn)},{provide:Cr,useValue:ae,multi:!0},{provide:zn,useValue:!0},{provide:un,useClass:he}];for(const K of V)Q.push(...K.\u0275providers);return(0,O.EmA)(Q)}const Dt=new O.nKC("");function tn(){return function _e(V,Q){return{\u0275kind:V,\u0275providers:Q}}(te.LegacyInterceptors,[{provide:Dt,useFactory:or},{provide:Cr,useExisting:Dt,multi:!0}])}let Ti=(()=>{class V{static#e=this.\u0275fac=function(ce){return new(ce||V)};static#t=this.\u0275mod=O.$C({type:V});static#n=this.\u0275inj=O.G2t({providers:[Be(tn())]})}return V})()},3953:(H,k,D)=>{"use strict";function s(e,t){return Object.is(e,t)}D.d(k,{bc$:()=>wM,iLQ:()=>Ed,sZ2:()=>yu,hnV:()=>ME,Hbi:()=>$x,o8S:()=>hs,BIS:()=>EM,gRc:()=>jE,Ql9:()=>ux,OM3:()=>uc,Ocv:()=>yx,Z63:()=>ji,aKT:()=>Ll,uvJ:()=>_o,zcH:()=>Ds,bkB:()=>as,$GK:()=>Nt,nKC:()=>at,zZn:()=>ii,_q3:()=>ng,MKu:()=>rg,xe9:()=>Qp,Co$:()=>v_,Vns:()=>ua,SKi:()=>Hn,Xx1:()=>vi,Agw:()=>vu,PLl:()=>zm,sFG:()=>hT,_9s:()=>kf,czy:()=>Au,kdw:()=>Ui,C4Q:()=>tc,NYb:()=>rx,giA:()=>EE,RxE:()=>pE,c1b:()=>qu,gXe:()=>Jo,mal:()=>nd,L39:()=>_N,EWP:()=>EN,Ol2:()=>Zf,w6W:()=>rI,oH4:()=>kE,SmG:()=>Tx,Rfq:()=>Ri,WQX:()=>Ae,naY:()=>Sx,QuC:()=>Ns,EmA:()=>Ml,Udg:()=>CN,fpN:()=>Bx,HJs:()=>ON,N4e:()=>RD,vPA:()=>e_,O8t:()=>DN,H3F:()=>gE,zAP:()=>dD,H8p:()=>Hd,KH2:()=>gl,TgB:()=>na,wOt:()=>Ve,WHO:()=>CE,e01:()=>wE,H5H:()=>bp,Zy3:()=>Hr,mq5:()=>IC,JZv:()=>Sn,LfX:()=>xo,plB:()=>Ls,jNT:()=>zp,zjR:()=>DE,TL$:()=>_M,Tbb:()=>Ln,Vt3:()=>Qf,GFd:()=>y_,OA$:()=>Jd,Jv_:()=>Vw,aNF:()=>Uw,R7$:()=>By,BMQ:()=>dp,HbH:()=>cC,ZvI:()=>mC,AVh:()=>yp,BUC:()=>yC,vxM:()=>wC,wni:()=>uw,VBU:()=>ro,FsC:()=>Hc,jDH:()=>dt,G2t:()=>mn,$C:()=>wi,EJ8:()=>Ks,rXU:()=>Ga,nrm:()=>Ep,eu8:()=>Dp,bVm:()=>dd,qex:()=>ud,k0s:()=>cd,j41:()=>ld,RV6:()=>SC,xGo:()=>cm,Mr5:()=>Mp,KVO:()=>bt,kS0:()=>du,QTQ:()=>Hy,bIt:()=>Ip,lsd:()=>fw,XpG:()=>JC,SdG:()=>tw,NAR:()=>ew,Y8G:()=>gp,FS9:()=>Pp,Mz_:()=>md,lJ4:()=>$w,eq3:()=>Hw,l_i:()=>Gw,sMw:()=>zw,ziG:()=>Ww,mGM:()=>hw,sdS:()=>pw,Dyx:()=>DC,Z7z:()=>EC,Njj:()=>kg,eBV:()=>Fg,npT:()=>gy,B4B:()=>Xh,n$t:()=>yy,DNE:()=>ep,C5r:()=>Zw,EFF:()=>Mw,JRh:()=>xp,SpI:()=>yd,DH7:()=>Rw,mxI:()=>Rp,R50:()=>Np,GBs:()=>dw});let b=null,O=!1,R=1;const N=Symbol("SIGNAL");function j(e){const t=b;return b=e,t}const J={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 oe(e){if(O)throw new Error("");if(null===b)return;b.consumerOnSignalRead(e);const t=b.nextProducerIndex++;se(b),t<b.producerNode.length&&b.producerNode[t]!==e&&$e(b)&&ut(b.producerNode[t],b.producerIndexOfThis[t]),b.producerNode[t]!==e&&(b.producerNode[t]=e,b.producerIndexOfThis[t]=$e(b)?_t(e,b,t):0),b.producerLastReadVersion[t]=e.version}function be(e){if((!$e(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==R)){if(!e.producerMustRecompute(e)&&!Ke(e))return e.dirty=!1,void(e.lastCleanEpoch=R);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=R}}function Oe(e){if(void 0===e.liveConsumerNode)return;const t=O;O=!0;try{for(const n of e.liveConsumerNode)n.dirty||Ge(n)}finally{O=t}}function Fe(){return!1!==b?.consumerAllowSignalWrites}function Ge(e){e.dirty=!0,Oe(e),e.consumerMarkedDirty?.(e)}function ze(e){return e&&(e.nextProducerIndex=0),j(e)}function We(e,t){if(j(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if($e(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)ut(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Ke(e){se(e);for(let t=0;t<e.producerNode.length;t++){const n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(be(n),r!==n.version))return!0}return!1}function vt(e){if(se(e),$e(e))for(let t=0;t<e.producerNode.length;t++)ut(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 _t(e,t,n){if(pe(e),0===e.liveConsumerNode.length&&Ie(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=_t(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function ut(e,t){if(pe(e),1===e.liveConsumerNode.length&&Ie(e))for(let r=0;r<e.producerNode.length;r++)ut(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];se(i),i.producerIndexOfThis[r]=t}}function $e(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function se(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function pe(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function Ie(e){return void 0!==e.producerNode}const Se=Symbol("UNSET"),de=Symbol("COMPUTING"),me=Symbol("ERRORED"),Ye={...J,value:Se,dirty:!0,error:null,equal:s,producerMustRecompute:e=>e.value===Se||e.value===de,producerRecomputeValue(e){if(e.value===de)throw new Error("Detected cycle in computations.");const t=e.value;e.value=de;const n=ze(e);let r;try{r=e.computation()}catch(i){r=me,e.error=i}finally{We(e,n)}t!==Se&&t!==me&&r!==me&&e.equal(t,r)?e.value=t:(e.value=r,e.version++)}};let qt=function ot(){throw new Error};function Dn(){qt()}let vn=null;function ln(e,t){Fe()||Dn(),e.equal(e.value,t)||(e.value=t,function nr(e){e.version++,function ge(){R++}(),Oe(e),vn?.()}(e))}const Rn={...J,equal:s,value:void 0};var en=D(4412),_n=D(1413),oi=D(8359),sn=D(6354);typeof navigator<"u"&&navigator,typeof navigator<"u"&&!/Opera/.test(navigator.userAgent)&&navigator,typeof navigator<"u"&&(/MSIE/.test(navigator.userAgent)||navigator),typeof navigator<"u"&&!/Opera|WebKit/.test(navigator.userAgent)&&navigator,typeof navigator<"u"&&navigator;const Po="https://g.co/ng/security#xss";class Ve extends Error{constructor(t,n){super(Hr(t,n)),this.code=t}}function Hr(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}function ci(e){return{toString:e}.toString()}const gr="__parameters__";function Sr(e,t,n){return ci(()=>{const r=function mr(e){return function(...n){if(e){const r=e(...n);for(const i in r)this[i]=r[i]}}}(t);function i(...o){if(this instanceof i)return r.apply(this,o),this;const a=new i(...o);return u.annotation=a,u;function u(g,E,M){const U=g.hasOwnProperty(gr)?g[gr]:Object.defineProperty(g,gr,{value:[]})[gr];for(;U.length<=M;)U.push(null);return(U[M]=U[M]||[]).push(a),g}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}const Sn=globalThis;function jt(e){for(let t in e)if(e[t]===jt)return t;throw Error("Could not find renamed property on target object.")}function Is(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Ln(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Ln).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function ps(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Ao=jt({__forward_ref__:jt});function Ri(e){return e.__forward_ref__=Ri,e.toString=function(){return Ln(this())},e}function tt(e){return Yr(e)?e():e}function Yr(e){return"function"==typeof e&&e.hasOwnProperty(Ao)&&e.__forward_ref__===Ri}function dt(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function mn(e){return{providers:e.providers||[],imports:e.imports||[]}}function In(e){return Gr(e,zr)||Gr(e,No)}function xo(e){return null!==In(e)}function Gr(e,t){return e.hasOwnProperty(t)?e[t]:null}function tr(e){return e&&(e.hasOwnProperty(eo)||e.hasOwnProperty(Fi))?e[eo]:null}const zr=jt({\u0275prov:jt}),eo=jt({\u0275inj:jt}),No=jt({ngInjectableDef:jt}),Fi=jt({ngInjectorDef:jt});class at{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=dt({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function an(e){return e&&!!e.\u0275providers}const yo=jt({\u0275cmp:jt}),ms=jt({\u0275dir:jt}),On=jt({\u0275pipe:jt}),Li=jt({\u0275mod:jt}),Pn=jt({\u0275fac:jt}),Wr=jt({__NG_ELEMENT_ID__:jt}),Fo=jt({__NG_ENV_ID__:jt});function ft(e){return"string"==typeof e?e:null==e?"":String(e)}function va(e,t){throw new Ve(-201,!1)}var Nt=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}(Nt||{});let $s;function Cl(){return $s}function Jr(e){const t=$s;return $s=e,t}function ys(e,t,n){const r=In(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&Nt.Optional?null:void 0!==t?t:void va()}const Ps={},Ca="__NG_DI_FLAG__",m="ngTempTokenPath",w=/\n/gm,G="__source";let ue;function He(e){const t=ue;return ue=e,t}function Lt(e,t=Nt.Default){if(void 0===ue)throw new Ve(-203,!1);return null===ue?ys(e,void 0,t):ue.get(e,t&Nt.Optional?null:void 0,t)}function bt(e,t=Nt.Default){return(Cl()||Lt)(tt(e),t)}function Ae(e,t=Nt.Default){return bt(e,hn(t))}function hn(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Xt(e){const t=[];for(let n=0;n<e.length;n++){const r=tt(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Ve(900,!1);let i,o=Nt.Default;for(let a=0;a<r.length;a++){const u=r[a],g=ko(u);"number"==typeof g?-1===g?i=u.token:o|=g:i=u}t.push(bt(i,o))}else t.push(bt(r))}return t}function wn(e,t){return e[Ca]=t,e.prototype[Ca]=t,e}function ko(e){return e[Ca]}const vi=wn(Sr("Optional"),8),Ui=wn(Sr("SkipSelf"),4);function vs(e,t){return e.hasOwnProperty(Pn)?e[Pn]:null}function Gs(e,t){e.forEach(n=>Array.isArray(n)?Gs(n,t):t(n))}function wl(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function zs(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Ci(e,t,n){let r=Ws(e,t);return r>=0?e[1|r]=n:(r=~r,function Rd(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function Vc(e,t){const n=Ws(e,t);if(n>=0)return e[1|n]}function Ws(e,t){return function Uc(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const o=r+(i-r>>1),a=e[o<<n];if(t===a)return o<<n;a>t?i=o:r=o+1}return~(i<<n)}(e,t,1)}const vo={},Yt=[],ji=new at(""),jc=new at("",-1),Dl=new at("");class wa{get(t,n=Ps){if(n===Ps){const r=new Error(`NullInjectorError: No provider for ${Ln(t)}!`);throw r.name="NullInjectorError",r}return n}}var Ea=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Ea||{}),Jo=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Jo||{}),es=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(es||{});function kd(e,t,n){let r=e.length;for(;;){const i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const o=t.length;if(i+o===r||e.charCodeAt(i+o)<=32)return i}n=i+1}}function Da(e,t,n){let r=0;for(;r<n.length;){const i=n[r];if("number"==typeof i){if(0!==i)break;r++;const o=n[r++],a=n[r++],u=n[r++];e.setAttribute(t,a,u,o)}else{const o=i,a=n[++r];Ld(o)?e.setProperty(t,o,a):e.setAttribute(t,o,a),r++}}return r}function Bc(e){return 3===e||4===e||6===e}function Ld(e){return 64===e.charCodeAt(0)}function Ma(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const i=t[r];"number"==typeof i?n=i:0===n||Vd(e,n,i,null,-1===n||2===n?t[++r]:null)}}return e}function Vd(e,t,n,r,i){let o=0,a=e.length;if(-1===t)a=-1;else for(;o<e.length;){const u=e[o++];if("number"==typeof u){if(u===t){a=-1;break}if(u>t){a=o-1;break}}}for(;o<e.length;){const u=e[o];if("number"==typeof u)break;if(u===n){if(null===r)return void(null!==i&&(e[o+1]=i));if(r===e[o+1])return void(e[o+2]=i)}o++,null!==r&&o++,null!==i&&o++}-1!==a&&(e.splice(a,0,t),o=a+1),e.splice(o++,0,n),null!==r&&e.splice(o++,0,r),null!==i&&e.splice(o++,0,i)}const Ud="ng-template";function cg(e,t,n,r){let i=0;if(r){for(;i<t.length&&"string"==typeof t[i];i+=2)if("class"===t[i]&&-1!==kd(t[i+1].toLowerCase(),n,0))return!0}else if($c(e))return!1;if(i=t.indexOf(1,i),i>-1){let o;for(;++i<t.length&&"string"==typeof(o=t[i]);)if(o.toLowerCase()===n)return!0}return!1}function $c(e){return 4===e.type&&e.value!==Ud}function h(e,t,n){return t===(4!==e.type||n?e.value:Ud)}function v(e,t,n){let r=4;const i=e.attrs,o=null!==i?function z(e){for(let t=0;t<e.length;t++)if(Bc(e[t]))return t;return e.length}(i):0;let a=!1;for(let u=0;u<t.length;u++){const g=t[u];if("number"!=typeof g){if(!a)if(4&r){if(r=2|1&r,""!==g&&!h(e,g,n)||""===g&&1===t.length){if(p(r))return!1;a=!0}}else if(8&r){if(null===i||!cg(e,i,g,n)){if(p(r))return!1;a=!0}}else{const E=t[++u],M=_(g,i,$c(e),n);if(-1===M){if(p(r))return!1;a=!0;continue}if(""!==E){let U;if(U=M>o?"":i[M+1].toLowerCase(),2&r&&E!==U){if(p(r))return!1;a=!0}}}}else{if(!a&&!p(r)&&!p(g))return!1;if(a&&p(g))continue;a=!1,r=g|1&r}}return p(r)||a}function p(e){return!(1&e)}function _(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let o=!1;for(;i<t.length;){const a=t[i];if(a===e)return i;if(3===a||6===a)o=!0;else{if(1===a||2===a){let u=t[++i];for(;"string"==typeof u;)u=t[++i];continue}if(4===a)break;if(0===a){i+=4;continue}}i+=o?1:2}return-1}return function fe(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 S(e,t,n=!1){for(let r=0;r<t.length;r++)if(v(e,t[r],n))return!0;return!1}function ie(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 je(e,t){return e?":not("+t.trim()+")":t}function pt(e){let t=e[0],n=1,r=2,i="",o=!1;for(;n<e.length;){let a=e[n];if("string"==typeof a)if(2&r){const u=e[++n];i+="["+a+(u.length>0?'="'+u+'"':"")+"]"}else 8&r?i+="."+a:4&r&&(i+=" "+a);else""!==i&&!p(a)&&(t+=je(o,i),i=""),r=a,o=o||!p(r);n++}return""!==i&&(t+=je(o,i)),t}function ro(e){return ci(()=>{const t=ug(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ea.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Jo.Emulated,styles:e.styles||Yt,_:null,schemas:e.schemas||null,tView:null,id:""};dg(n);const r=e.dependencies;return n.directiveDefs=Gc(r,!1),n.pipeDefs=Gc(r,!0),n.id=function MD(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 ei(e){return Vt(e)||Tr(e)}function ts(e){return null!==e}function wi(e){return ci(()=>({type:e.type,bootstrap:e.bootstrap||Yt,declarations:e.declarations||Yt,imports:e.imports||Yt,exports:e.exports||Yt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function xs(e,t){if(null==e)return vo;const n={};for(const r in e)if(e.hasOwnProperty(r)){const i=e[r];let o,a,u=es.None;Array.isArray(i)?(u=i[0],o=i[1],a=i[2]??o):(o=i,a=i),t?(n[o]=u!==es.None?[r,u]:r,t[o]=a):n[o]=r}return n}function Hc(e){return ci(()=>{const t=ug(e);return dg(t),t})}function Ks(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function Vt(e){return e[yo]||null}function Tr(e){return e[ms]||null}function ti(e){return e[On]||null}function Ns(e){const t=Vt(e)||Tr(e)||ti(e);return null!==t&&t.standalone}function hi(e,t){const n=e[Li]||null;if(!n&&!0===t)throw new Error(`Type ${Ln(e)} does not have '\u0275mod' property.`);return n}function ug(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||vo,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||Yt,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:xs(e.inputs,t),outputs:xs(e.outputs),debugInfo:null}}function dg(e){e.features?.forEach(t=>t(e))}function Gc(e,t){if(!e)return null;const n=t?ti:ei;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(ts)}function Ml(e){return{\u0275providers:e}}function bD(...e){return{\u0275providers:jd(0,e),\u0275fromNgModule:!0}}function jd(e,...t){const n=[],r=new Set;let i;const o=a=>{n.push(a)};return Gs(t,a=>{const u=a;zc(u,o,[],r)&&(i||=[],i.push(u))}),void 0!==i&&hg(i,o),n}function hg(e,t){for(let n=0;n<e.length;n++){const{ngModule:r,providers:i}=e[n];Bd(i,o=>{t(o,r)})}}function zc(e,t,n,r){if(!(e=tt(e)))return!1;let i=null,o=tr(e);const a=!o&&Vt(e);if(o||a){if(a&&!a.standalone)return!1;i=e}else{const g=e.ngModule;if(o=tr(g),!o)return!1;i=g}const u=r.has(i);if(a){if(u)return!1;if(r.add(i),a.dependencies){const g="function"==typeof a.dependencies?a.dependencies():a.dependencies;for(const E of g)zc(E,t,n,r)}}else{if(!o)return!1;{if(null!=o.imports&&!u){let E;r.add(i);try{Gs(o.imports,M=>{zc(M,t,n,r)&&(E||=[],E.push(M))})}finally{}void 0!==E&&hg(E,t)}if(!u){const E=vs(i)||(()=>new i);t({provide:i,useFactory:E,deps:Yt},i),t({provide:Dl,useValue:i,multi:!0},i),t({provide:ji,useValue:()=>bt(i),multi:!0},i)}const g=o.providers;if(null!=g&&!u){const E=e;Bd(g,M=>{t(M,E)})}}}return i!==e&&void 0!==e.providers}function Bd(e,t){for(let n of e)an(n)&&(n=n.\u0275providers),Array.isArray(n)?Bd(n,t):t(n)}const SD=jt({provide:String,useValue:jt});function $d(e){return null!==e&&"object"==typeof e&&SD in e}function qs(e){return"function"==typeof e}const Hd=new at(""),Wc={},ID={};let Gd;function Kc(){return void 0===Gd&&(Gd=new wa),Gd}class _o{}class ba extends _o{get destroyed(){return this._destroyed}constructor(t,n,r,i){super(),this.parent=n,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Wd(t,a=>this.processProvider(a)),this.records.set(jc,Sa(void 0,this)),i.has("environment")&&this.records.set(_o,Sa(void 0,this));const o=this.records.get(Hd);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Dl,Yt,Nt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const t=j(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(),j(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=He(this),r=Jr(void 0);try{return t()}finally{He(n),Jr(r)}}get(t,n=Ps,r=Nt.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Fo))return t[Fo](this);r=hn(r);const o=He(this),a=Jr(void 0);try{if(!(r&Nt.SkipSelf)){let g=this.records.get(t);if(void 0===g){const E=function ND(e){return"function"==typeof e||"object"==typeof e&&e instanceof at}(t)&&In(t);g=E&&this.injectableDefInScope(E)?Sa(zd(t),Wc):null,this.records.set(t,g)}if(null!=g)return this.hydrate(t,g)}return(r&Nt.Self?Kc():this.parent).get(t,n=r&Nt.Optional&&n===Ps?null:n)}catch(u){if("NullInjectorError"===u.name){if((u[m]=u[m]||[]).unshift(Ln(t)),o)throw u;return function no(e,t,n,r){const i=e[m];throw t[G]&&i.unshift(t[G]),e.message=function Zo(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=Ln(t);if(Array.isArray(t))i=t.map(Ln).join(" -> ");else if("object"==typeof t){let o=[];for(let a in t)if(t.hasOwnProperty(a)){let u=t[a];o.push(a+":"+("string"==typeof u?JSON.stringify(u):Ln(u)))}i=`{${o.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(w,"\n ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[m]=null,e}(u,t,"R3InjectorError",this.source)}throw u}finally{Jr(a),He(o)}}resolveInjectorInitializers(){const t=j(null),n=He(this),r=Jr(void 0);try{const o=this.get(ji,Yt,Nt.Self);for(const a of o)a()}finally{He(n),Jr(r),j(t)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(Ln(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Ve(205,!1)}processProvider(t){let n=qs(t=tt(t))?t:tt(t&&t.provide);const r=function PD(e){return $d(e)?Sa(void 0,e.useValue):Sa(gg(e),Wc)}(t);if(!qs(t)&&!0===t.multi){let i=this.records.get(n);i||(i=Sa(void 0,Wc,!0),i.factory=()=>Xt(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,r)}hydrate(t,n){const r=j(null);try{return n.value===Wc&&(n.value=ID,n.value=n.factory()),"object"==typeof n.value&&n.value&&function xD(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{j(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;const n=tt(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function zd(e){const t=In(e),n=null!==t?t.factory:vs(e);if(null!==n)return n;if(e instanceof at)throw new Ve(204,!1);if(e instanceof Function)return function OD(e){if(e.length>0)throw new Ve(204,!1);const n=function er(e){return e&&(e[zr]||e[No])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Ve(204,!1)}function gg(e,t,n){let r;if(qs(e)){const i=tt(e);return vs(i)||zd(i)}if($d(e))r=()=>tt(e.useValue);else if(function pg(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Xt(e.deps||[]));else if(function fg(e){return!(!e||!e.useExisting)}(e))r=()=>bt(tt(e.useExisting));else{const i=tt(e&&(e.useClass||e.provide));if(!function AD(e){return!!e.deps}(e))return vs(i)||zd(i);r=()=>new i(...Xt(e.deps))}return r}function Sa(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Wd(e,t){for(const n of e)Array.isArray(n)?Wd(n,t):n&&an(n)?Wd(n.\u0275providers,t):t(n)}function RD(e,t){e instanceof ba&&e.assertNotDestroyed();const r=He(e),i=Jr(void 0);try{return t()}finally{He(r),Jr(i)}}function mg(){return void 0!==Cl()||null!=function Me(){return ue}()}const Bn=0,ke=1,it=2,vr=3,Vo=4,ni=5,Ei=6,Ia=7,An=8,_r=9,ns=10,Ct=11,Sl=12,vg=13,Oa=14,$n=15,Qs=16,Pa=17,_s=18,Aa=19,_g=20,Rs=21,Qc=22,Co=23,et=25,Qd=1,rs=7,xa=9,lr=10;var Yc=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Yc||{});function Or(e){return Array.isArray(e)&&"object"==typeof e[Qd]}function fi(e){return Array.isArray(e)&&!0===e[Qd]}function Xd(e){return!!(4&e.flags)}function Xs(e){return e.componentOffset>-1}function Zc(e){return!(1&~e.flags)}function Uo(e){return!!e.template}function Il(e){return!!(512&e[it])}class WD{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Mg(e,t,n,r){null!==t?t.applyValueToInputSignal(t,r):e[n]=r}function Jd(){return bg}function bg(e){return e.type.prototype.ngOnChanges&&(e.setInput=qD),KD}function KD(){const e=Tg(this),t=e?.current;if(t){const n=e.previous;if(n===vo)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function qD(e,t,n,r,i){const o=this.declaredInputs[r],a=Tg(e)||function QD(e,t){return e[Sg]=t}(e,{previous:vo,current:null}),u=a.current||(a.current={}),g=a.previous,E=g[o];u[o]=new WD(E&&E.currentValue,n,g===vo),Mg(e,t,i,n)}Jd.ngInherit=!0;const Sg="__ngSimpleChanges__";function Tg(e){return e[Sg]||null}const is=function(e,t,n){};function Jt(e){for(;Array.isArray(e);)e=e[Bn];return e}function Ol(e,t){return Jt(t[e])}function Di(e,t){return Jt(t[e.index])}function Pl(e,t){return e.data[t]}function io(e,t){const n=t[e];return Or(n)?n:n[Bn]}function nh(e){return!(128&~e[it])}function wo(e,t){return null==t?null:e[t]}function Pg(e){e[Pa]=0}function Ag(e){1024&e[it]||(e[it]|=1024,nh(e)&&eu(e))}function Jc(e){return!!(9216&e[it]||e[Co]?.dirty)}function rh(e){e[ns].changeDetectionScheduler?.notify(8),64&e[it]&&(e[it]|=1024),Jc(e)&&eu(e)}function eu(e){e[ns].changeDetectionScheduler?.notify(0);let t=Cs(e);for(;null!==t&&!(8192&t[it])&&(t[it]|=8192,nh(t));)t=Cs(t)}function tu(e,t){if(!(256&~e[it]))throw new Ve(911,!1);null===e[Rs]&&(e[Rs]=[]),e[Rs].push(t)}function Cs(e){const t=e[vr];return fi(t)?t[vr]:t}const wt={lFrame:Wg(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let Ng=!1;function Rg(){return wt.bindingsEnabled}function Zs(){return null!==wt.skipHydrationRootTNode}function ve(){return wt.lFrame.lView}function Ft(){return wt.lFrame.tView}function Fg(e){return wt.lFrame.contextLView=e,e[An]}function kg(e){return wt.lFrame.contextLView=null,e}function fn(){let e=Lg();for(;null!==e&&64===e.type;)e=e.parent;return e}function Lg(){return wt.lFrame.currentTNode}function jo(e,t){const n=wt.lFrame;n.currentTNode=e,n.isParent=t}function sh(){return wt.lFrame.isParent}function ah(){wt.lFrame.isParent=!1}function jg(){return Ng}function Bg(e){Ng=e}function Mi(){const e=wt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Bo(){return wt.lFrame.bindingIndex++}function Es(e){const t=wt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function u0(e,t){const n=wt.lFrame;n.bindingIndex=n.bindingRootIndex=e,lh(t)}function lh(e){wt.lFrame.currentDirectiveIndex=e}function uh(){return wt.lFrame.currentQueryIndex}function ru(e){wt.lFrame.currentQueryIndex=e}function h0(e){const t=e[ke];return 2===t.type?t.declTNode:1===t.type?e[ni]:null}function Gg(e,t,n){if(n&Nt.SkipSelf){let i=t,o=e;for(;!(i=i.parent,null!==i||n&Nt.Host||(i=h0(o),null===i||(o=o[Oa],10&i.type))););if(null===i)return!1;t=i,e=o}const r=wt.lFrame=zg();return r.currentTNode=t,r.lView=e,!0}function dh(e){const t=zg(),n=e[ke];wt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function zg(){const e=wt.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=wt.lFrame;return wt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const qg=Kg;function hh(){const e=Kg();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function ri(){return wt.lFrame.selectedIndex}function Js(e){wt.lFrame.selectedIndex=e}function xn(){const e=wt.lFrame;return Pl(e.tView,e.selectedIndex)}let Xg=!0;function xl(){return Xg}function os(e){Xg=e}function iu(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const o=e.data[n].type.prototype,{ngAfterContentInit:a,ngAfterContentChecked:u,ngAfterViewInit:g,ngAfterViewChecked:E,ngOnDestroy:M}=o;a&&(e.contentHooks??=[]).push(-n,a),u&&((e.contentHooks??=[]).push(n,u),(e.contentCheckHooks??=[]).push(n,u)),g&&(e.viewHooks??=[]).push(-n,g),E&&((e.viewHooks??=[]).push(n,E),(e.viewCheckHooks??=[]).push(n,E)),null!=M&&(e.destroyHooks??=[]).push(n,M)}}function ou(e,t,n){Yg(e,t,3,n)}function su(e,t,n,r){(3&e[it])===n&&Yg(e,t,n,r)}function fh(e,t){let n=e[it];(3&n)===t&&(n&=16383,n+=1,e[it]=n)}function Yg(e,t,n,r){const o=r??-1,a=t.length-1;let u=0;for(let g=void 0!==r?65535&e[Pa]:0;g<a;g++)if("number"==typeof t[g+1]){if(u=t[g],null!=r&&u>=r)break}else t[g]<0&&(e[Pa]+=65536),(u<o||-1==o)&&(_0(e,n,t,g),e[Pa]=(4294901760&e[Pa])+g+2),g++}function Zg(e,t){is(4,e,t);const n=j(null);try{t.call(e)}finally{j(n),is(5,e,t)}}function _0(e,t,n,r){const i=n[r]<0,o=n[r+1],u=e[i?-n[r]:n[r]];i?e[it]>>14<e[Pa]>>16&&(3&e[it])===t&&(e[it]+=16384,Zg(u,o)):Zg(u,o)}const Na=-1;class Nl{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}const gh={};class ea{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=hn(r);const i=this.injector.get(t,gh,r);return i!==gh||n===gh?i:this.parentInjector.get(t,n,r)}}function mh(e){return e!==Na}function Rl(e){return 32767&e}function Fl(e,t){let n=function M0(e){return e>>16}(e),r=t;for(;n>0;)r=r[Oa],n--;return r}let yh=!0;function au(e){const t=yh;return yh=e,t}const em=255,tm=5;let S0=0;const ss={};function lu(e,t){const n=nm(e,t);if(-1!==n)return n;const r=t[ke];r.firstCreatePass&&(e.injectorIndex=t.length,vh(r.data,e),vh(t,null),vh(r.blueprint,null));const i=cu(e,t),o=e.injectorIndex;if(mh(i)){const a=Rl(i),u=Fl(i,t),g=u[ke].data;for(let E=0;E<8;E++)t[o+E]=u[a+E]|g[a+E]}return t[o+8]=i,o}function vh(e,t){e.push(0,0,0,0,0,0,0,0,t)}function nm(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function cu(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;null!==i;){if(r=um(i),null===r)return Na;if(n++,i=i[Oa],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return Na}function _h(e,t,n){!function T0(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Wr)&&(r=n[Wr]),null==r&&(r=n[Wr]=S0++);const i=r&em;t.data[e+(i>>tm)]|=1<<i}(e,t,n)}function rm(e,t,n){if(n&Nt.Optional||void 0!==e)return e;va()}function im(e,t,n,r){if(n&Nt.Optional&&void 0===r&&(r=null),!(n&(Nt.Self|Nt.Host))){const i=e[_r],o=Jr(void 0);try{return i?i.get(t,r,n&Nt.Optional):ys(t,r,n&Nt.Optional)}finally{Jr(o)}}return rm(r,0,n)}function om(e,t,n,r=Nt.Default,i){if(null!==e){if(2048&t[it]&&!(r&Nt.Self)){const a=function x0(e,t,n,r,i){let o=e,a=t;for(;null!==o&&null!==a&&2048&a[it]&&!(512&a[it]);){const u=sm(o,a,n,r|Nt.Self,ss);if(u!==ss)return u;let g=o.parent;if(!g){const E=a[_g];if(E){const M=E.get(n,ss,r);if(M!==ss)return M}g=um(a),a=a[Oa]}o=g}return i}(e,t,n,r,ss);if(a!==ss)return a}const o=sm(e,t,n,r,ss);if(o!==ss)return o}return im(t,n,r,i)}function sm(e,t,n,r,i){const o=function P0(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Wr)?e[Wr]:void 0;return"number"==typeof t?t>=0?t&em:A0:t}(n);if("function"==typeof o){if(!Gg(t,e,r))return r&Nt.Host?rm(i,0,r):im(t,n,r,i);try{let a;if(a=o(r),null!=a||r&Nt.Optional)return a;va()}finally{qg()}}else if("number"==typeof o){let a=null,u=nm(e,t),g=Na,E=r&Nt.Host?t[$n][ni]:null;for((-1===u||r&Nt.SkipSelf)&&(g=-1===u?cu(e,t):t[u+8],g!==Na&&lm(r,!1)?(a=t[ke],u=Rl(g),t=Fl(g,t)):u=-1);-1!==u;){const M=t[ke];if(am(o,u,M.data)){const U=O0(u,t,n,a,r,E);if(U!==ss)return U}g=t[u+8],g!==Na&&lm(r,t[ke].data[u+8]===E)&&am(o,u,t)?(a=M,u=Rl(g),t=Fl(g,t)):u=-1}}return i}function O0(e,t,n,r,i,o){const a=t[ke],u=a.data[e+8],M=uu(u,a,n,null==r?Xs(u)&&yh:r!=a&&!!(3&u.type),i&Nt.Host&&o===u);return null!==M?ta(t,a,M,u):ss}function uu(e,t,n,r,i){const o=e.providerIndexes,a=t.data,u=1048575&o,g=e.directiveStart,M=o>>20,q=i?u+M:e.directiveEnd;for(let Z=r?u:u+M;Z<q;Z++){const ne=a[Z];if(Z<g&&n===ne||Z>=g&&ne.type===n)return Z}if(i){const Z=a[g];if(Z&&Uo(Z)&&Z.type===n)return g}return null}function ta(e,t,n,r){let i=e[n];const o=t.data;if(function C0(e){return e instanceof Nl}(i)){const a=i;a.resolving&&function kc(e,t){throw t&&t.join(" > "),new Ve(-200,e)}(function kt(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():ft(e)}(o[n]));const u=au(a.canSeeViewProviders);a.resolving=!0;const E=a.injectImpl?Jr(a.injectImpl):null;Gg(e,r,Nt.Default);try{i=e[n]=a.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&function v0(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=t.type.prototype;if(r){const a=bg(t);(n.preOrderHooks??=[]).push(e,a),(n.preOrderCheckHooks??=[]).push(e,a)}i&&(n.preOrderHooks??=[]).push(0-e,i),o&&((n.preOrderHooks??=[]).push(e,o),(n.preOrderCheckHooks??=[]).push(e,o))}(n,o[n],t)}finally{null!==E&&Jr(E),au(u),a.resolving=!1,qg()}}return i}function am(e,t,n){return!!(n[t+(e>>tm)]&1<<e)}function lm(e,t){return!(e&Nt.Self||e&Nt.Host&&t)}class Pr{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return om(this._tNode,this._lView,t,hn(r),n)}}function A0(){return new Pr(fn(),ve())}function cm(e){return ci(()=>{const t=e.prototype.constructor,n=t[Pn]||Ch(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const o=i[Pn]||Ch(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function Ch(e){return Yr(e)?()=>{const t=Ch(tt(e));return t&&t()}:vs(e)}function um(e){const t=e[ke],n=t.type;return 2===n?t.declTNode:1===n?e[ni]:null}function du(e){return function I0(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let i=0;for(;i<r;){const o=n[i];if(Bc(o))break;if(0===o)i+=2;else if("number"==typeof o)for(i++;i<r&&"string"==typeof n[i];)i++;else{if(o===t)return n[i+1];i+=2}}}return null}(fn(),e)}function gm(e,t=null,n=null,r){const i=mm(e,t,n,r);return i.resolveInjectorInitializers(),i}function mm(e,t=null,n=null,r,i=new Set){const o=[n||Yt,bD(e)];return r=r||("object"==typeof e?void 0:Ln(e)),new ba(o,t||Kc(),r||null,i)}class ii{static#e=this.THROW_IF_NOT_FOUND=Ps;static#t=this.NULL=new wa;static create(t,n){if(Array.isArray(t))return gm({name:""},n,t,"");{const r=t.name??"";return gm({name:r},t.parent,t.providers,r)}}static#n=this.\u0275prov=dt({token:ii,providedIn:"any",factory:()=>bt(jc)});static#r=this.__NG_ELEMENT_ID__=-1}new at("").__NG_ELEMENT_ID__=e=>{const t=fn();if(null===t)throw new Ve(204,!1);if(2&t.type)return t.value;if(e&Nt.Optional)return null;throw new Ve(204,!1)};function Eh(e){return e.ngOriginalError}const vm=!0;let kl=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=$0;static#t=this.__NG_ENV_ID__=n=>n}return e})();class B0 extends kl{constructor(t){super(),this._lView=t}onDestroy(t){return tu(this._lView,t),()=>function ih(e,t){if(null===e[Rs])return;const n=e[Rs].indexOf(t);-1!==n&&e[Rs].splice(n,1)}(this._lView,t)}}function $0(){return new B0(ve())}let na=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new en.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.\u0275prov=dt({token:e,providedIn:"root",factory:()=>new e})}return e})();const as=class H0 extends _n.B{constructor(t=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=t,mg()&&(this.destroyRef=Ae(kl,{optional:!0})??void 0,this.pendingTasks=Ae(na,{optional:!0})??void 0)}emit(t){const n=j(null);try{super.next(t)}finally{j(n)}}subscribe(t,n,r){let i=t,o=n||(()=>null),a=r;if(t&&"object"==typeof t){const g=t;i=g.next?.bind(g),o=g.error?.bind(g),a=g.complete?.bind(g)}this.__isAsync&&(o=this.wrapInTimeout(o),i&&(i=this.wrapInTimeout(i)),a&&(a=this.wrapInTimeout(a)));const u=super.subscribe({next:i,error:o,complete:a});return t instanceof oi.yU&&t.add(u),u}wrapInTimeout(t){return n=>{const r=this.pendingTasks?.add();setTimeout(()=>{t(n),void 0!==r&&this.pendingTasks?.remove(r)})}}};function fu(...e){}function _m(e){let t,n;function r(){e=fu;try{void 0!==n&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(n),void 0!==t&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),"function"==typeof requestAnimationFrame&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function Cm(e){return queueMicrotask(()=>e()),()=>{e=fu}}const Dh="isAngularZone",pu=Dh+"_ID";let G0=0;class Hn{constructor(t){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new as(!1),this.onMicrotaskEmpty=new as(!1),this.onStable=new as(!1),this.onError=new as(!1);const{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:o=vm}=t;if(typeof Zone>"u")throw new Ve(908,!1);Zone.assertZonePatched();const a=this;a._nesting=0,a._outer=a._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(a._inner=a._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(a._inner=a._inner.fork(Zone.longStackTraceZoneSpec)),a.shouldCoalesceEventChangeDetection=!i&&r,a.shouldCoalesceRunChangeDetection=i,a.callbackScheduled=!1,a.scheduleInRootZone=o,function K0(e){const t=()=>{!function W0(e){function t(){_m(()=>{e.callbackScheduled=!1,bh(e),e.isCheckStableRunning=!0,Mh(e),e.isCheckStableRunning=!1})}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),bh(e))}(e)},n=G0++;e._inner=e._inner.fork({name:"angular",properties:{[Dh]:!0,[pu]:n,[pu+n]:!0},onInvokeTask:(r,i,o,a,u,g)=>{if(function q0(e){return Dm(e,"__ignore_ng_zone__")}(g))return r.invokeTask(o,a,u,g);try{return wm(e),r.invokeTask(o,a,u,g)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===a.type||e.shouldCoalesceRunChangeDetection)&&t(),Em(e)}},onInvoke:(r,i,o,a,u,g,E)=>{try{return wm(e),r.invoke(o,a,u,g,E)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function Q0(e){return Dm(e,"__scheduler_tick__")}(g)&&t(),Em(e)}},onHasTask:(r,i,o,a)=>{r.hasTask(o,a),i===o&&("microTask"==a.change?(e._hasPendingMicrotasks=a.microTask,bh(e),Mh(e)):"macroTask"==a.change&&(e.hasPendingMacrotasks=a.macroTask))},onHandleError:(r,i,o,a)=>(r.handleError(o,a),e.runOutsideAngular(()=>e.onError.emit(a)),!1)})}(a)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(Dh)}static assertInAngularZone(){if(!Hn.isInAngularZone())throw new Ve(909,!1)}static assertNotInAngularZone(){if(Hn.isInAngularZone())throw new Ve(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const o=this._inner,a=o.scheduleEventTask("NgZoneEvent: "+i,t,z0,fu,fu);try{return o.runTask(a,n,r)}finally{o.cancelTask(a)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const z0={};function Mh(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function bh(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function wm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Em(e){e._nesting--,Mh(e)}class Sh{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new as,this.onMicrotaskEmpty=new as,this.onStable=new as,this.onError=new as}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,i){return t.apply(n,r)}}function Dm(e,t){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[t]}class Ds{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Eh(t);for(;n&&Eh(n);)n=Eh(n);return n||null}}const Y0=new at("",{providedIn:"root",factory:()=>{const e=Ae(Hn),t=Ae(Ds);return n=>e.runOutsideAngular(()=>t.handleError(n))}});function Z0(){return ka(fn(),ve())}function ka(e,t){return new Ll(Di(e,t))}let Ll=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=Z0}return e})();function bm(e){return e instanceof Ll?e.nativeElement:e}function J0(){return this._results[Symbol.iterator]()}class Th{static#e=Symbol.iterator;get changes(){return this._changes??=new as}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const n=Th.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=J0)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;const r=function _i(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function ag(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let i=e[r],o=t[r];if(n&&(i=n(i),o=n(o)),o!==i)return!1}return!0}(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}}function Ul(e){return!(128&~e.flags)}const Oh=new Map;let tM=0;function Ph(e){Oh.delete(e[Aa])}const gu="__ngContext__";function pi(e,t){Or(t)?(e[gu]=t[Aa],function rM(e){Oh.set(e[Aa],e)}(t)):e[gu]=t}function Fm(e){return Lm(e[Sl])}function km(e){return Lm(e[Vo])}function Lm(e){for(;null!==e&&!fi(e);)e=e[Vo];return e}let xh;function _M(e){xh=e}function Fs(){if(void 0!==xh)return xh;if(typeof document<"u")return document;throw new Ve(210,!1)}const yu=new at("",{providedIn:"root",factory:()=>CM}),CM="ng",zm=new at(""),vu=new at("",{providedIn:"platform",factory:()=>"unknown"}),wM=new at(""),EM=new at("",{providedIn:"root",factory:()=>Fs().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Wm=()=>null;function Uh(e,t,n=!1){return Wm(e,t,n)}const ey=new at("",{providedIn:"root",factory:()=>!1});let Su,Tu;function ja(e){return function Gh(){if(void 0===Su&&(Su=null,Sn.trustedTypes))try{Su=Sn.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Su}()?.createHTML(e)||e}function zh(){if(void 0===Tu&&(Tu=null,Sn.trustedTypes))try{Tu=Sn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Tu}function ry(e){return zh()?.createHTML(e)||e}function oy(e){return zh()?.createScriptURL(e)||e}class sy{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Po})`}}function ks(e){return e instanceof sy?e.changingThisBreaksApplicationSecurity:e}function Wl(e,t){const n=function BM(e){return e instanceof sy&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Po})`)}return n===t}class $M{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(ja(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}}class HM{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=ja(t),n}}const zM=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Wh(e){return(e=String(e)).match(zM)?e:"unsafe:"+e}function Ms(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Kl(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const ly=Ms("area,br,col,hr,img,wbr"),cy=Ms("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),uy=Ms("rp,rt"),Kh=Kl(ly,Kl(cy,Ms("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Kl(uy,Ms("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Kl(uy,cy)),qh=Ms("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),dy=Kl(qh,Ms("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Ms("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),WM=Ms("script,style,template");class KM{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=XM(n);else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let o=QM(n);if(o){n=o;break}n=i.pop()}return this.buf.join("")}startElement(t){const n=hy(t).toLowerCase();if(!Kh.hasOwnProperty(n))return this.sanitizedSomething=!0,!WM.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let i=0;i<r.length;i++){const o=r.item(i),a=o.name,u=a.toLowerCase();if(!dy.hasOwnProperty(u)){this.sanitizedSomething=!0;continue}let g=o.value;qh[u]&&(g=Wh(g)),this.buf.push(" ",a,'="',py(g),'"')}return this.buf.push(">"),!0}endElement(t){const n=hy(t).toLowerCase();Kh.hasOwnProperty(n)&&!ly.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(py(t))}}function QM(e){const t=e.nextSibling;if(t&&e!==t.previousSibling)throw fy(t);return t}function XM(e){const t=e.firstChild;if(t&&function qM(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,t))throw fy(t);return t}function hy(e){const t=e.nodeName;return"string"==typeof t?t:"FORM"}function fy(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const YM=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ZM=/([^\#-~ |!])/g;function py(e){return e.replace(/&/g,"&").replace(YM,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(ZM,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let Iu;function Qh(e){return"content"in e&&function eb(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 gy(e){const t=ql();return t?ry(t.sanitize(Ba.HTML,e)||""):Wl(e,"HTML")?ry(ks(e)):function JM(e,t){let n=null;try{Iu=Iu||function ay(e){const t=new HM(e);return function GM(){try{return!!(new window.DOMParser).parseFromString(ja(""),"text/html")}catch{return!1}}()?new $M(t):t}(e);let r=t?String(t):"";n=Iu.getInertBodyElement(r);let i=5,o=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=n.innerHTML,n=Iu.getInertBodyElement(r)}while(r!==o);return ja((new KM).sanitizeChildren(Qh(n)||n))}finally{if(n){const r=Qh(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}(Fs(),ft(e))}function Xh(e){const t=ql();return t?t.sanitize(Ba.URL,e)||"":Wl(e,"URL")?ks(e):Wh(ft(e))}function my(e){const t=ql();if(t)return oy(t.sanitize(Ba.RESOURCE_URL,e)||"");if(Wl(e,"ResourceURL"))return oy(ks(e));throw new Ve(904,!1)}function yy(e,t,n){return function ob(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?my:Xh}(t,n)(e)}function ql(){const e=ve();return e&&e[ns].sanitizer}const sb=/^>|^->|<!--|-->|--!>|<!-$/g,ab=/(<|>)/g,lb="\u200b$1\u200b";function oo(e){return e instanceof Function?e():e}var Au=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Au||{});let Jh;function ef(e,t){return Jh(e,t)}function Ha(e,t,n,r,i){if(null!=r){let o,a=!1;fi(r)?o=r:Or(r)&&(a=!0,r=r[Bn]);const u=Jt(r);0===e&&null!==n?null==i?Py(t,n,u):ia(t,n,u,i||null,!0):1===e&&null!==n?ia(t,n,u,i||null,!0):2===e?function Xl(e,t,n){e.removeChild(null,t,n)}(t,u,a):3===e&&t.destroyNode(u),null!=o&&function Ib(e,t,n,r,i){const o=n[rs];o!==Jt(n)&&Ha(t,e,r,o,i);for(let u=lr;u<n.length;u++){const g=n[u];Fu(g[ke],g,e,t,r,o)}}(t,e,o,n,i)}}function nf(e,t){return e.createComment(function vy(e){return e.replace(sb,t=>t.replace(ab,lb))}(t))}function xu(e,t,n){return e.createElement(t,n)}function Ty(e,t){t[ns].changeDetectionScheduler?.notify(9),Fu(e,t,t[Ct],2,null,null)}function Iy(e,t){const n=e[xa],r=t[vr];(Or(r)||t[$n]!==r[vr][$n])&&(e[it]|=Yc.HasTransplantedViews),null===n?e[xa]=[t]:n.push(t)}function rf(e,t){const n=e[xa],r=n.indexOf(t);n.splice(r,1)}function Ql(e,t){if(e.length<=lr)return;const n=lr+t,r=e[n];if(r){const i=r[Qs];null!==i&&i!==e&&rf(i,r),t>0&&(e[n-1][Vo]=r[Vo]);const o=zs(e,lr+t);!function Cb(e,t){Ty(e,t),t[Bn]=null,t[ni]=null}(r[ke],r);const a=o[_s];null!==a&&a.detachView(o[ke]),r[vr]=null,r[Vo]=null,r[it]&=-129}return r}function Nu(e,t){if(!(256&t[it])){const n=t[Ct];n.destroyNode&&Fu(e,t,n,3,null,null),function Eb(e){let t=e[Sl];if(!t)return sf(e[ke],e);for(;t;){let n=null;if(Or(t))n=t[Sl];else{const r=t[lr];r&&(n=r)}if(!n){for(;t&&!t[Vo]&&t!==e;)Or(t)&&sf(t[ke],t),t=t[vr];null===t&&(t=e),Or(t)&&sf(t[ke],t),n=t&&t[Vo]}t=n}}(t)}}function sf(e,t){if(256&t[it])return;const n=j(null);try{t[it]&=-129,t[it]|=256,t[Co]&&vt(t[Co]),function bb(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const i=t[n[r]];if(!(i instanceof Nl)){const o=n[r+1];if(Array.isArray(o))for(let a=0;a<o.length;a+=2){const u=i[o[a]],g=o[a+1];is(4,u,g);try{g.call(u)}finally{is(5,u,g)}}else{is(4,i,o);try{o.call(i)}finally{is(5,i,o)}}}}}(e,t),function Mb(e,t){const n=e.cleanup,r=t[Ia];if(null!==n)for(let o=0;o<n.length-1;o+=2)if("string"==typeof n[o]){const a=n[o+3];a>=0?r[a]():r[-a].unsubscribe(),o+=2}else n[o].call(r[n[o+1]]);null!==r&&(t[Ia]=null);const i=t[Rs];if(null!==i){t[Rs]=null;for(let o=0;o<i.length;o++)(0,i[o])()}}(e,t),1===t[ke].type&&t[Ct].destroy();const r=t[Qs];if(null!==r&&fi(t[vr])){r!==t[vr]&&rf(r,t);const i=t[_s];null!==i&&i.detachView(e)}Ph(t)}finally{j(n)}}function af(e,t,n){return function Oy(e,t,n){let r=t;for(;null!==r&&168&r.type;)r=(t=r).parent;if(null===r)return n[Bn];{const{componentOffset:i}=r;if(i>-1){const{encapsulation:o}=e.data[r.directiveStart+i];if(o===Jo.None||o===Jo.Emulated)return null}return Di(r,n)}}(e,t.parent,n)}function ia(e,t,n,r,i){e.insertBefore(t,n,r,i)}function Py(e,t,n){e.appendChild(t,n)}function Ay(e,t,n,r,i){null!==r?ia(e,t,n,r,i):Py(e,t,n)}function lf(e,t){return e.parentNode(t)}function xy(e,t,n){return Ry(e,t,n)}let cf,Ry=function Ny(e,t,n){return 40&e.type?Di(e,n):null};function Ru(e,t,n,r){const i=af(e,r,t),o=t[Ct],u=xy(r.parent||t[ni],r,t);if(null!=i)if(Array.isArray(n))for(let g=0;g<n.length;g++)Ay(o,i,n[g],u,!1);else Ay(o,i,n,u,!1);void 0!==cf&&cf(o,r,t,n,i)}function oa(e,t){if(null!==t){const n=t.type;if(3&n)return Di(t,e);if(4&n)return uf(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return oa(e,r);{const i=e[t.index];return fi(i)?uf(-1,i):Jt(i)}}if(128&n)return oa(e,t.next);if(32&n)return ef(t,e)()||Jt(e[t.index]);{const r=ky(e,t);return null!==r?Array.isArray(r)?r[0]:oa(Cs(e[$n]),r):oa(e,t.next)}}return null}function ky(e,t){return null!==t?e[$n][ni].projection[t.projection]:null}function uf(e,t){const n=lr+e+1;if(n<t.length){const r=t[n],i=r[ke].firstChild;if(null!==i)return oa(r,i)}return t[rs]}function df(e,t,n,r,i,o,a){for(;null!=n;){if(128===n.type){n=n.next;continue}const u=r[n.index],g=n.type;if(a&&0===t&&(u&&pi(Jt(u),r),n.flags|=2),32&~n.flags)if(8&g)df(e,t,n.child,r,i,o,!1),Ha(t,e,i,u,o);else if(32&g){const E=ef(n,r);let M;for(;M=E();)Ha(t,e,i,M,o);Ha(t,e,i,u,o)}else 16&g?Vy(e,t,r,n,i,o):Ha(t,e,i,u,o);n=a?n.projectionNext:n.next}}function Fu(e,t,n,r,i,o){df(n,r,e.firstChild,t,i,o,!1)}function Vy(e,t,n,r,i,o){const a=n[$n],g=a[ni].projection[r.projection];if(Array.isArray(g))for(let E=0;E<g.length;E++)Ha(t,e,i,g[E],o);else{let E=g;const M=a[vr];Ul(r)&&(E.flags|=128),df(e,t,E,M,i,o,!0)}}function Uy(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function jy(e,t,n){const{mergedAttrs:r,classes:i,styles:o}=n;null!==r&&Da(e,t,r),null!==i&&Uy(e,t,i),null!==o&&function Pb(e,t,n){e.setAttribute(t,"style",n)}(e,t,o)}const Ot={};function By(e=1){$y(Ft(),ve(),ri()+e,!1)}function $y(e,t,n,r){if(!r)if(3&~t[it]){const o=e.preOrderHooks;null!==o&&su(t,o,0,n)}else{const o=e.preOrderCheckHooks;null!==o&&ou(t,o,n)}Js(n)}function Ga(e,t=Nt.Default){const n=ve();return null===n?bt(e,t):om(fn(),n,tt(e),t)}function Hy(){throw new Error("invalid")}function Gy(e,t,n,r,i,o){const a=j(null);try{let u=null;i&es.SignalBased&&(u=t[r][N]),null!==u&&void 0!==u.transformFn&&(o=u.transformFn(o)),i&es.HasDecoratorInputTransform&&(o=e.inputTransforms[r].call(t,o)),null!==e.setInput?e.setInput(t,u,o,n,r):Mg(t,u,r,o)}finally{j(a)}}function ku(e,t,n,r,i,o,a,u,g,E,M){const U=t.blueprint.slice();return U[Bn]=i,U[it]=204|r,(null!==E||e&&2048&e[it])&&(U[it]|=2048),Pg(U),U[vr]=U[Oa]=e,U[An]=n,U[ns]=a||e&&e[ns],U[Ct]=u||e&&e[Ct],U[_r]=g||e&&e[_r]||null,U[ni]=o,U[Aa]=function nM(){return tM++}(),U[Ei]=M,U[_g]=E,U[$n]=2==t.type?e[$n]:U,U}function sa(e,t,n,r,i){let o=e.data[t];if(null===o)o=function hf(e,t,n,r,i){const o=Lg(),a=sh(),g=e.data[t]=function Vb(e,t,n,r,i,o){let a=t?t.injectorIndex:-1,u=0;return Zs()&&(u|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:a,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:u,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,a?o:o&&o.parent,n,t,r,i);return null===e.firstChild&&(e.firstChild=g),null!==o&&(a?null==o.child&&null!==g.parent&&(o.child=g):null===o.next&&(o.next=g,g.prev=o)),g}(e,t,n,r,i),function c0(){return wt.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=n,o.value=r,o.attrs=i;const a=function Al(){const e=wt.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();o.injectorIndex=null===a?-1:a.injectorIndex}return jo(o,!0),o}function Yl(e,t,n,r){if(0===n)return-1;const i=t.length;for(let o=0;o<n;o++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function zy(e,t,n,r,i){const o=ri(),a=2&r;try{Js(-1),a&&t.length>et&&$y(e,t,et,!1),is(a?2:0,i),n(r,i)}finally{Js(o),is(a?3:1,i)}}function ff(e,t,n){if(Xd(t)){const r=j(null);try{const o=t.directiveEnd;for(let a=t.directiveStart;a<o;a++){const u=e.data[a];u.contentQueries&&u.contentQueries(1,n[a],a)}}finally{j(r)}}}function pf(e,t,n){Rg()&&(function zb(e,t,n,r){const i=n.directiveStart,o=n.directiveEnd;Xs(n)&&function Zb(e,t,n){const r=Di(t,e),i=Wy(n);let a=16;n.signals?a=4096:n.onPush&&(a=64);const u=Lu(e,ku(e,i,null,a,r,t,null,e[ns].rendererFactory.createRenderer(r,n),null,null,null));e[t.index]=u}(t,n,e.data[i+n.componentOffset]),e.firstCreatePass||lu(n,t),pi(r,t);const a=n.initialInputs;for(let u=i;u<o;u++){const g=e.data[u],E=ta(t,e,u,n);pi(E,t),null!==a&&Jb(0,u-i,E,g,0,a),Uo(g)&&(io(n.index,t)[An]=ta(t,e,u,n))}}(e,t,n,Di(n,t)),!(64&~n.flags)&&Yy(e,t,n))}function gf(e,t,n=Di){const r=t.localNames;if(null!==r){let i=t.index+1;for(let o=0;o<r.length;o+=2){const a=r[o+1],u=-1===a?n(t,e):e[a];e[i++]=u}}}function Wy(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=mf(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function mf(e,t,n,r,i,o,a,u,g,E,M){const U=et+r,q=U+i,Z=function xb(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:Ot);return n}(U,q),ne="function"==typeof E?E():E;return Z[ke]={type:e,blueprint:Z,template:n,queries:null,viewQuery:u,declTNode:t,data:Z.slice().fill(null,U),bindingStartIndex:U,expandoStartIndex:q,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof a?a():a,firstChild:null,schemas:g,consts:ne,incompleteFirstPass:!1,ssrId:M}}let Ky=()=>null;function qy(e,t,n,r,i){for(let o in t){if(!t.hasOwnProperty(o))continue;const a=t[o];if(void 0===a)continue;r??={};let u,g=es.None;Array.isArray(a)?(u=a[0],g=a[1]):u=a;let E=o;if(null!==i){if(!i.hasOwnProperty(o))continue;E=i[o]}0===e?Qy(r,n,E,u,g):Qy(r,n,E,u)}return r}function Qy(e,t,n,r,i){let o;e.hasOwnProperty(n)?(o=e[n]).push(t,r):o=e[n]=[t,r],void 0!==i&&o.push(i)}function $i(e,t,n,r,i,o,a,u){const g=Di(t,n);let M,E=t.inputs;!u&&null!=E&&(M=E[r])?(wf(e,n,M,r,i),Xs(t)&&function Bb(e,t){const n=io(t,e);16&n[it]||(n[it]|=64)}(n,t.index)):3&t.type&&(r=function jb(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,o.setProperty(g,r,i))}function yf(e,t,n,r){if(Rg()){const i=null===r?null:{"":-1},o=function Kb(e,t){const n=e.directiveRegistry;let r=null,i=null;if(n)for(let o=0;o<n.length;o++){const a=n[o];if(S(t,a.selectors,!1))if(r||(r=[]),Uo(a))if(null!==a.findHostDirectiveDefs){const u=[];i=i||new Map,a.findHostDirectiveDefs(a,u,i),r.unshift(...u,a),vf(e,t,u.length)}else r.unshift(a),vf(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,u;null===o?a=u=null:[a,u]=o,null!==a&&Xy(e,t,n,a,i,u),i&&function qb(e,t,n){if(t){const r=e.localNames=[];for(let i=0;i<t.length;i+=2){const o=n[t[i+1]];if(null==o)throw new Ve(-301,!1);r.push(t[i],o)}}}(n,r,i)}n.mergedAttrs=Ma(n.mergedAttrs,n.attrs)}function Xy(e,t,n,r,i,o){for(let E=0;E<r.length;E++)_h(lu(n,t),e,r[E].type);!function Xb(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,r.length);for(let E=0;E<r.length;E++){const M=r[E];M.providersResolver&&M.providersResolver(M)}let a=!1,u=!1,g=Yl(e,t,r.length,null);for(let E=0;E<r.length;E++){const M=r[E];n.mergedAttrs=Ma(n.mergedAttrs,M.hostAttrs),Yb(e,n,t,g,M),Qb(g,M,i),null!==M.contentQueries&&(n.flags|=4),(null!==M.hostBindings||null!==M.hostAttrs||0!==M.hostVars)&&(n.flags|=64);const U=M.type.prototype;!a&&(U.ngOnChanges||U.ngOnInit||U.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),a=!0),!u&&(U.ngOnChanges||U.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),u=!0),g++}!function Ub(e,t,n){const i=t.directiveEnd,o=e.data,a=t.attrs,u=[];let g=null,E=null;for(let M=t.directiveStart;M<i;M++){const U=o[M],q=n?n.get(U):null,ne=q?q.outputs:null;g=qy(0,U.inputs,M,g,q?q.inputs:null),E=qy(1,U.outputs,M,E,ne);const we=null===g||null===a||$c(t)?null:eS(g,M,a);u.push(we)}null!==g&&(g.hasOwnProperty("class")&&(t.flags|=8),g.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=u,t.inputs=g,t.outputs=E}(e,n,o)}function Yy(e,t,n){const r=n.directiveStart,i=n.directiveEnd,o=n.index,a=function d0(){return wt.lFrame.currentDirectiveIndex}();try{Js(o);for(let u=r;u<i;u++){const g=e.data[u],E=t[u];lh(u),(null!==g.hostBindings||0!==g.hostVars||null!==g.hostAttrs)&&Wb(g,E)}}finally{Js(-1),lh(a)}}function Wb(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function vf(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function Qb(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Uo(t)&&(n[""]=e)}}function Yb(e,t,n,r,i){e.data[r]=i;const o=i.factory||(i.factory=vs(i.type)),a=new Nl(o,Uo(i),Ga);e.blueprint[r]=a,n[r]=a,function Hb(e,t,n,r,i){const o=i.hostBindings;if(o){let a=e.hostBindingOpCodes;null===a&&(a=e.hostBindingOpCodes=[]);const u=~t.index;(function Gb(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(a)!=u&&a.push(u),a.push(n,r,o)}}(e,t,r,Yl(e,n,i.hostVars,Ot),i)}function ls(e,t,n,r,i,o){const a=Di(e,t);!function _f(e,t,n,r,i,o,a){if(null==o)e.removeAttribute(t,i,n);else{const u=null==a?ft(o):a(o,r||"",i);e.setAttribute(t,i,u,n)}}(t[Ct],a,o,e.value,n,r,i)}function Jb(e,t,n,r,i,o){const a=o[t];if(null!==a)for(let u=0;u<a.length;)Gy(r,n,a[u++],a[u++],a[u++],a[u++])}function eS(e,t,n){let r=null,i=0;for(;i<n.length;){const o=n[i];if(0!==o)if(5!==o){if("number"==typeof o)break;if(e.hasOwnProperty(o)){null===r&&(r=[]);const a=e[o];for(let u=0;u<a.length;u+=3)if(a[u]===t){r.push(o,a[u+1],a[u+2],n[i+1]);break}}i+=2}else i+=2;else i+=4}return r}function Zy(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Jy(e,t){const n=e.contentQueries;if(null!==n){const r=j(null);try{for(let i=0;i<n.length;i+=2){const a=n[i+1];if(-1!==a){const u=e.data[a];ru(n[i]),u.contentQueries(2,t[a],a)}}}finally{j(r)}}}function Lu(e,t){return e[Sl]?e[vg][Vo]=t:e[Sl]=t,e[vg]=t,t}function Cf(e,t,n){ru(0);const r=j(null);try{t(e,n)}finally{j(r)}}function ev(e){return e[Ia]??=[]}function tv(e){return e.cleanup??=[]}function Vu(e,t){const n=e[_r],r=n?n.get(Ds,null):null;r&&r.handleError(t)}function wf(e,t,n,r,i){for(let o=0;o<n.length;){const a=n[o++],u=n[o++],g=n[o++];Gy(e.data[a],t[a],r,u,g,i)}}function tS(e,t){const n=io(t,e),r=n[ke];!function nS(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n);const i=n[Bn];null!==i&&null===n[Ei]&&(n[Ei]=Uh(i,n[_r])),Ef(r,n,n[An])}function Ef(e,t,n){dh(t);try{const r=e.viewQuery;null!==r&&Cf(1,r,n);const i=e.template;null!==i&&zy(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[_s]?.finishViewCreation(e),e.staticContentQueries&&Jy(e,t),e.staticViewQueries&&Cf(2,e.viewQuery,n);const o=e.components;null!==o&&function rS(e,t){for(let n=0;n<t.length;n++)tS(e,t[n])}(t,o)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[it]&=-5,hh()}}function za(e,t,n,r){const i=j(null);try{const o=t.tView,g=ku(e,o,n,4096&e[it]?4096:16,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null);g[Qs]=e[t.index];const M=e[_s];return null!==M&&(g[_s]=M.createEmbeddedView(o)),Ef(o,g,n),g}finally{j(i)}}function rv(e,t){const n=lr+t;if(n<e.length)return e[n]}function aa(e,t){return!t||null===t.firstChild||Ul(e)}function Wa(e,t,n,r=!0){const i=t[ke];if(function Db(e,t,n,r){const i=lr+r,o=n.length;r>0&&(n[i-1][Vo]=t),r<o-lr?(t[Vo]=n[i],wl(n,lr+r,t)):(n.push(t),t[Vo]=null),t[vr]=n;const a=t[Qs];null!==a&&n!==a&&Iy(a,t);const u=t[_s];null!==u&&u.insertView(e),rh(t),t[it]|=128}(i,t,e,n),r){const a=uf(n,e),u=t[Ct],g=lf(u,e[rs]);null!==g&&function wb(e,t,n,r,i,o){r[Bn]=i,r[ni]=t,Fu(e,r,n,1,i,o)}(i,e[ni],u,t,g,a)}const o=t[Ei];null!==o&&null!==o.firstChild&&(o.firstChild=null)}function Df(e,t){const n=Ql(e,t);return void 0!==n&&Nu(n[ke],n),n}function Zl(e,t,n,r,i=!1){for(;null!==n;){if(128===n.type){n=i?n.projectionNext:n.next;continue}const o=t[n.index];null!==o&&r.push(Jt(o)),fi(o)&&iv(o,r);const a=n.type;if(8&a)Zl(e,t,n.child,r);else if(32&a){const u=ef(n,t);let g;for(;g=u();)r.push(g)}else if(16&a){const u=ky(t,n);if(Array.isArray(u))r.push(...u);else{const g=Cs(t[$n]);Zl(g[ke],g,u,r,!0)}}n=i?n.projectionNext:n.next}return r}function iv(e,t){for(let n=lr;n<e.length;n++){const r=e[n],i=r[ke].firstChild;null!==i&&Zl(r[ke],r,i,t)}e[rs]!==e[Bn]&&t.push(e[rs])}let ov=[];const aS={...J,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{eu(e.lView)},consumerOnSignalRead(){this.lView[Co]=this}},cS={...J,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=Cs(e.lView);for(;t&&!sv(t[ke]);)t=Cs(t);t&&Ag(t)},consumerOnSignalRead(){this.lView[Co]=this}};function sv(e){return 2!==e.type}const uS=100;function Uu(e,t=!0,n=0){const r=e[ns],i=r.rendererFactory;i.begin?.();try{!function dS(e,t){const n=jg();try{Bg(!0),Mf(e,t);let r=0;for(;Jc(e);){if(r===uS)throw new Ve(103,!1);r++,Mf(e,1)}}finally{Bg(n)}}(e,n)}catch(a){throw t&&Vu(e,a),a}finally{i.end?.(),r.inlineEffectRunner?.flush()}}function hS(e,t,n,r){const i=t[it];if(!(256&~i))return;t[ns].inlineEffectRunner?.flush(),dh(t);let u=!0,g=null,E=null;sv(e)?(E=function iS(e){return e[Co]??function oS(e){const t=ov.pop()??Object.create(aS);return t.lView=e,t}(e)}(t),g=ze(E)):null===function $(){return b}()?(u=!1,E=function lS(e){const t=e[Co]??Object.create(cS);return t.lView=e,t}(t),g=ze(E)):t[Co]&&(vt(t[Co]),t[Co]=null);try{Pg(t),function $g(e){return wt.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&zy(e,t,n,2,r);const M=!(3&~i);if(M){const Z=e.preOrderCheckHooks;null!==Z&&ou(t,Z,null)}else{const Z=e.preOrderHooks;null!==Z&&su(t,Z,0,null),fh(t,0)}if(function fS(e){for(let t=Fm(e);null!==t;t=km(t)){if(!(t[it]&Yc.HasTransplantedViews))continue;const n=t[xa];for(let r=0;r<n.length;r++)Ag(n[r])}}(t),lv(t,0),null!==e.contentQueries&&Jy(e,t),M){const Z=e.contentCheckHooks;null!==Z&&ou(t,Z)}else{const Z=e.contentHooks;null!==Z&&su(t,Z,1),fh(t,1)}!function Ab(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const i=n[r];if(i<0)Js(~i);else{const o=i,a=n[++r],u=n[++r];u0(a,o),u(2,t[o])}}}finally{Js(-1)}}(e,t);const U=e.components;null!==U&&uv(t,U,0);const q=e.viewQuery;if(null!==q&&Cf(2,q,r),M){const Z=e.viewCheckHooks;null!==Z&&ou(t,Z)}else{const Z=e.viewHooks;null!==Z&&su(t,Z,2),fh(t,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[Qc]){for(const Z of t[Qc])Z();t[Qc]=null}t[it]&=-73}catch(M){throw eu(t),M}finally{null!==E&&(We(E,g),u&&function sS(e){e.lView[Co]!==e&&(e.lView=null,ov.push(e))}(E)),hh()}}function lv(e,t){for(let n=Fm(e);null!==n;n=km(n))for(let r=lr;r<n.length;r++)cv(n[r],t)}function pS(e,t,n){cv(io(t,e),n)}function cv(e,t){nh(e)&&Mf(e,t)}function Mf(e,t){const r=e[ke],i=e[it],o=e[Co];let a=!!(0===t&&16&i);if(a||=!!(64&i&&0===t),a||=!!(1024&i),a||=!(!o?.dirty||!Ke(o)),a||=!1,o&&(o.dirty=!1),e[it]&=-9217,a)hS(r,e,r.template,e[An]);else if(8192&i){lv(e,1);const u=r.components;null!==u&&uv(e,u,1)}}function uv(e,t,n){for(let r=0;r<t.length;r++)pS(e,t[r],n)}function Jl(e,t){const n=jg()?64:1088;for(e[ns].changeDetectionScheduler?.notify(t);e;){e[it]|=n;const r=Cs(e);if(Il(e)&&!r)return e;e=r}return null}class ec{get rootNodes(){const t=this._lView,n=t[ke];return Zl(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[An]}set context(t){this._lView[An]=t}get destroyed(){return!(256&~this._lView[it])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[vr];if(fi(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(Ql(t,r),zs(n,r))}this._attachedToViewContainer=!1}Nu(this._lView[ke],this._lView)}onDestroy(t){tu(this._lView,t)}markForCheck(){Jl(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[it]&=-129}reattach(){rh(this._lView),this._lView[it]|=128}detectChanges(){this._lView[it]|=1024,Uu(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Ve(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const t=Il(this._lView),n=this._lView[Qs];null!==n&&!t&&rf(n,this._lView),Ty(this._lView[ke],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Ve(902,!1);this._appRef=t;const n=Il(this._lView),r=this._lView[Qs];null!==r&&!n&&Iy(r,this._lView),rh(this._lView)}}let tc=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=yS}return e})();const gS=tc,mS=class extends gS{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=za(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new ec(i)}};function yS(){return ju(fn(),ve())}function ju(e,t){return 4&e.type?new mS(t,e,ka(e,t)):null}let Av=()=>null;function ca(e,t){return Av(e,t)}class qa{}const cc=new at("",{providedIn:"root",factory:()=>!1}),xv=new at(""),Ff=new at("");class cT{}class Nv{}class dT{resolveComponentFactory(t){throw function uT(e){const t=Error(`No component factory found for ${Ln(e)}.`);return t.ngComponent=e,t}(t)}}class uc{static#e=this.NULL=new dT}class kf{}let hT=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function fT(){const e=ve(),n=io(fn().index,e);return(Or(n)?n:e)[Ct]}()}return e})(),pT=(()=>{class e{static#e=this.\u0275prov=dt({token:e,providedIn:"root",factory:()=>null})}return e})();function Ls(e){return!!hi(e)}function Ku(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,o=0;if(null!==t)for(let a=0;a<t.length;a++){const u=t[a];"number"==typeof u?o=u:1==o?i=ps(i,u):2==o&&(r=ps(r,u+": "+t[++a]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}class Lv extends uc{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Vt(t);return new fc(n,this.ngModule)}}function Vv(e,t){const n=[];for(const r in e){if(!e.hasOwnProperty(r))continue;const i=e[r];if(void 0===i)continue;const o=Array.isArray(i),a=o?i[0]:i;n.push(t?{propName:a,templateName:r,isSignal:!!((o?i[1]:es.None)&es.SignalBased)}:{propName:a,templateName:r})}return n}class fc extends Nv{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=Vv(t.inputs,!0);if(null!==n)for(const i of r)n.hasOwnProperty(i.propName)&&(i.transform=n[i.propName]);return r}get outputs(){return Vv(this.componentDef.outputs,!1)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function St(e){return e.map(pt).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,i){const o=j(null);try{let a=(i=i||this.ngModule)instanceof _o?i:i?.injector;a&&null!==this.componentDef.getStandaloneInjector&&(a=this.componentDef.getStandaloneInjector(a)||a);const u=a?new ea(t,a):t,g=u.get(kf,null);if(null===g)throw new Ve(407,!1);const U={rendererFactory:g,sanitizer:u.get(pT,null),inlineEffectRunner:null,changeDetectionScheduler:u.get(qa,null)},q=g.createRenderer(null,this.componentDef),Z=this.componentDef.selectors[0][0]||"div",ne=r?function Nb(e,t,n,r){const o=r.get(ey,!1)||n===Jo.ShadowDom,a=e.selectRootElement(t,o);return function Rb(e){Ky(e)}(a),a}(q,r,this.componentDef.encapsulation,u):xu(q,Z,function yT(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(Z));let we=512;this.componentDef.signals?we|=4096:this.componentDef.onPush||(we|=16);let Le=null;null!==ne&&(Le=Uh(ne,u,!0));const Ue=mf(0,null,null,1,0,null,null,null,null,null,null),Ee=ku(null,Ue,null,we,null,null,U,q,u,null,Le);dh(Ee);let Tt,Ht,yn=null;try{const hr=this.componentDef;let Gi,vl=null;hr.findHostDirectiveDefs?(Gi=[],vl=new Map,hr.findHostDirectiveDefs(hr,Gi,vl),Gi.push(hr)):Gi=[hr];const wD=function _T(e,t){const n=e[ke],r=et;return e[r]=t,sa(n,r,2,"#host",null)}(Ee,ne);yn=function CT(e,t,n,r,i,o,a){const u=i[ke];!function wT(e,t,n,r){for(const i of e)t.mergedAttrs=Ma(t.mergedAttrs,i.hostAttrs);null!==t.mergedAttrs&&(Ku(t,t.mergedAttrs,!0),null!==n&&jy(r,n,t))}(r,e,t,a);let g=null;null!==t&&(g=Uh(t,i[_r]));const E=o.rendererFactory.createRenderer(t,n);let M=16;n.signals?M=4096:n.onPush&&(M=64);const U=ku(i,Wy(n),null,M,i[e.index],e,o,E,null,null,g);return u.firstCreatePass&&vf(u,e,r.length-1),Lu(i,U),i[e.index]=U}(wD,ne,hr,Gi,Ee,U,q),Ht=Pl(Ue,et),ne&&function DT(e,t,n,r){if(r)Da(e,n,["ng-version","18.2.5"]);else{const{attrs:i,classes:o}=function En(e){const t=[],n=[];let r=1,i=2;for(;r<e.length;){let o=e[r];if("string"==typeof o)2===i?""!==o&&t.push(o,e[++r]):8===i&&n.push(o);else{if(!p(i))break;i=o}r++}return{attrs:t,classes:n}}(t.selectors[0]);i&&Da(e,n,i),o&&o.length>0&&Uy(e,n,o.join(" "))}}(q,hr,ne,r),void 0!==n&&function MT(e,t,n){const r=e.projection=[];for(let i=0;i<t.length;i++){const o=n[i];r.push(null!=o?Array.from(o):null)}}(Ht,this.ngContentSelectors,n),Tt=function ET(e,t,n,r,i,o){const a=fn(),u=i[ke],g=Di(a,i);Xy(u,i,a,n,null,r);for(let M=0;M<n.length;M++)pi(ta(i,u,a.directiveStart+M,a),i);Yy(u,i,a),g&&pi(g,i);const E=ta(i,u,a.directiveStart+a.componentOffset,a);if(e[An]=i[An]=E,null!==o)for(const M of o)M(E,t);return ff(u,a,i),E}(yn,hr,Gi,vl,Ee,[bT]),Ef(Ue,Ee,null)}catch(hr){throw null!==yn&&Ph(yn),Ph(Ee),hr}finally{hh()}return new vT(this.componentType,Tt,ka(Ht,Ee),Ee,Ht)}finally{j(o)}}}class vT extends cT{constructor(t,n,r,i,o){super(),this.location=r,this._rootLView=i,this._tNode=o,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new ec(i,void 0,!1),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let i;if(null!==r&&(i=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const o=this._rootLView;wf(o[ke],o,i,t,n),this.previousInputValues.set(t,n),Jl(io(this._tNode.index,o),1)}}get injector(){return new Pr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function bT(){const e=fn();iu(ve()[ke],e)}let qu=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=ST}return e})();function ST(){return Bv(fn(),ve())}const TT=qu,Uv=class extends TT{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return ka(this._hostTNode,this._hostLView)}get injector(){return new Pr(this._hostTNode,this._hostLView)}get parentInjector(){const t=cu(this._hostTNode,this._hostLView);if(mh(t)){const n=Fl(t,this._hostLView),r=Rl(t);return new Pr(n[ke].data[r+8],n)}return new Pr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=jv(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-lr}createEmbeddedView(t,n,r){let i,o;"number"==typeof r?i=r:null!=r&&(i=r.index,o=r.injector);const a=ca(this._lContainer,t.ssrId),u=t.createEmbeddedViewImpl(n||{},o,a);return this.insertImpl(u,i,aa(this._hostTNode,a)),u}createComponent(t,n,r,i,o){const a=t&&!function bl(e){return"function"==typeof e}(t);let u;if(a)u=n;else{const ne=n||{};u=ne.index,r=ne.injector,i=ne.projectableNodes,o=ne.environmentInjector||ne.ngModuleRef}const g=a?t:new fc(Vt(t)),E=r||this.parentInjector;if(!o&&null==g.ngModule){const we=(a?E:this.parentInjector).get(_o,null);we&&(o=we)}const M=Vt(g.componentType??{}),U=ca(this._lContainer,M?.id??null),Z=g.create(E,i,U?.firstChild??null,o);return this.insertImpl(Z.hostView,u,aa(this._hostTNode,U)),Z}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){const i=t._lView;if(function JD(e){return fi(e[vr])}(i)){const u=this.indexOf(t);if(-1!==u)this.detach(u);else{const g=i[vr],E=new Uv(g,g[ni],g[vr]);E.detach(E.indexOf(t))}}const o=this._adjustIndex(n),a=this._lContainer;return Wa(a,i,o,r),t.attachToViewContainerRef(),wl(Uf(a),o,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=jv(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Ql(this._lContainer,n);r&&(zs(Uf(this._lContainer),n),Nu(r[ke],r))}detach(t){const n=this._adjustIndex(t,-1),r=Ql(this._lContainer,n);return r&&null!=zs(Uf(this._lContainer),n)?new ec(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function jv(e){return e[8]}function Uf(e){return e[8]||(e[8]=[])}function Bv(e,t){let n;const r=t[e.index];return fi(r)?n=r:(n=Zy(r,t,null,e),t[e.index]=n,Lu(t,n)),$v(n,t,e,r),new Uv(n,e,t)}let $v=function Gv(e,t,n,r){if(e[rs])return;let i;i=8&n.type?Jt(r):function IT(e,t){const n=e[Ct],r=n.createComment(""),i=Di(t,e);return ia(n,lf(n,i),r,function Sb(e,t){return e.nextSibling(t)}(n,i),!1),r}(t,n),e[rs]=i},jf=()=>!1;class Bf{constructor(t){this.queryList=t,this.matches=null}clone(){return new Bf(this.queryList)}setDirty(){this.queryList.setDirty()}}class $f{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,i=[];for(let o=0;o<r;o++){const a=n.getByIndex(o);i.push(this.queries[a.indexInDeclarationView].clone())}return new $f(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!==Kf(t,n).matches&&this.queries[n].setDirty()}}class zv{constructor(t,n,r=null){this.flags=n,this.read=r,this.predicate="string"==typeof t?function kT(e){return e.split(",").map(t=>t.trim())}(t):t}}class Hf{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){const i=null!==n?n.length:0,o=this.getByIndex(r).embeddedTView(t,i);o&&(o.indexInDeclarationView=r,null!==n?n.push(o):n=[o])}return null!==n?new Hf(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 Gf{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 Gf(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1&~this.metadata.flags){const n=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let i=0;i<r.length;i++){const o=r[i];this.matchTNodeWithReadOption(t,n,xT(n,o)),this.matchTNodeWithReadOption(t,n,uu(n,t,o,!1,!1))}else r===tc?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,uu(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const i=this.metadata.read;if(null!==i)if(i===Ll||i===qu||i===tc&&4&n.type)this.addMatch(n.index,-2);else{const o=uu(n,t,i,!1,!1);null!==o&&this.addMatch(n.index,o)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function xT(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 RT(e,t,n,r){return-1===n?function NT(e,t){return 11&e.type?ka(e,t):4&e.type?ju(e,t):null}(t,e):-2===n?function FT(e,t,n){return n===Ll?ka(t,e):n===tc?ju(t,e):n===qu?Bv(t,e):void 0}(e,t,r):ta(e,e[ke],n,t)}function Wv(e,t,n,r){const i=t[_s].queries[r];if(null===i.matches){const o=e.data,a=n.matches,u=[];for(let g=0;null!==a&&g<a.length;g+=2){const E=a[g];u.push(E<0?null:RT(t,o[E],a[g+1],n.metadata.read))}i.matches=u}return i.matches}function zf(e,t,n,r){const i=e.queries.getByIndex(n),o=i.matches;if(null!==o){const a=Wv(e,t,i,n);for(let u=0;u<o.length;u+=2){const g=o[u];if(g>0)r.push(a[u/2]);else{const E=o[u+1],M=t[-g];for(let U=lr;U<M.length;U++){const q=M[U];q[Qs]===q[vr]&&zf(q[ke],q,E,r)}if(null!==M[xa]){const U=M[xa];for(let q=0;q<U.length;q++){const Z=U[q];zf(Z[ke],Z,E,r)}}}}}return r}function Kv(e,t,n){const r=new Th(!(4&~n));return function Lb(e,t,n,r){const i=ev(t);i.push(n),e.firstCreatePass&&tv(e).push(r,i.length-1)}(e,t,r,r.destroy),(t[_s]??=new $f).queries.push(new Bf(r))-1}function Xv(e,t,n){null===e.queries&&(e.queries=new Hf),e.queries.track(new Gf(t,n))}function Kf(e,t){return e.queries.getByIndex(t)}function Yv(e,t){const n=e[ke],r=Kf(n,t);return r.crossesNgTemplate?zf(n,e,t,[]):Wv(n,e,r,t)}const Zv=new Set;function bi(e){Zv.has(e)||(Zv.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function e_(e,t){bi("NgSignals");const n=function nt(e){const t=Object.create(Rn);t.value=e;const n=()=>(oe(t),t.value);return n[N]=t,n}(e),r=n[N];return t?.equal&&(r.equal=t.equal),n.set=i=>ln(r,i),n.update=i=>function cn(e,t){Fe()||Dn(),ln(e,t(e.value))}(r,i),n.asReadonly=t_.bind(n),n}function t_(){const e=this[N];if(void 0===e.readonlyFn){const t=()=>this();t[N]=e,e.readonlyFn=t}return e.readonlyFn}function n_(e){return function Jv(e){return"function"==typeof e&&void 0!==e[N]}(e)&&"function"==typeof e.set}function Qf(e){let t=function f_(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let i;if(Uo(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Ve(903,!1);i=t.\u0275dir}if(i){if(n){r.push(i);const a=e;a.inputs=Xu(e.inputs),a.inputTransforms=Xu(e.inputTransforms),a.declaredInputs=Xu(e.declaredInputs),a.outputs=Xu(e.outputs);const u=i.hostBindings;u&&YT(e,u);const g=i.viewQuery,E=i.contentQueries;if(g&&QT(e,g),E&&XT(e,E),KT(e,i),Is(e.outputs,i.outputs),Uo(i)&&i.data.animation){const M=e.data;M.animation=(M.animation||[]).concat(i.data.animation)}}const o=i.features;if(o)for(let a=0;a<o.length;a++){const u=o[a];u&&u.ngInherit&&u(e),u===Qf&&(n=!1)}}t=Object.getPrototypeOf(t)}!function qT(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=Ma(i.hostAttrs,n=Ma(n,i.hostAttrs))}}(r)}function KT(e,t){for(const n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;const r=t.inputs[n];if(void 0!==r&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n],null!==t.inputTransforms)){const i=Array.isArray(r)?r[0]:r;if(!t.inputTransforms.hasOwnProperty(i))continue;e.inputTransforms??={},e.inputTransforms[i]=t.inputTransforms[i]}}}function Xu(e){return e===vo?{}:e===Yt?[]:e}function QT(e,t){const n=e.viewQuery;e.viewQuery=n?(r,i)=>{t(r,i),n(r,i)}:t}function XT(e,t){const n=e.contentQueries;e.contentQueries=n?(r,i,o)=>{t(r,i,o),n(r,i,o)}:t}function YT(e,t){const n=e.hostBindings;e.hostBindings=n?(r,i)=>{t(r,i),n(r,i)}:t}function y_(e){const t=e.inputConfig,n={};for(const r in t)if(t.hasOwnProperty(r)){const i=t[r];Array.isArray(i)&&i[3]&&(n[r]=i[3])}e.inputTransforms=n}class ua{}class v_{}function rI(e,t){return new Xf(e,t??null,[])}class Xf extends ua{constructor(t,n,r,i=!0){super(),this.ngModuleType=t,this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Lv(this);const o=hi(t);this._bootstrapComponents=oo(o.bootstrap),this._r3Injector=mm(t,n,[{provide:ua,useValue:this},{provide:uc,useValue:this.componentFactoryResolver},...r],Ln(t),new Set(["environment"])),i&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Yf extends v_{constructor(t){super(),this.moduleType=t}create(t){return new Xf(this.moduleType,t,[])}}class __ extends ua{constructor(t){super(),this.componentFactoryResolver=new Lv(this),this.instance=null;const n=new ba([...t.providers,{provide:ua,useValue:this},{provide:uc,useValue:this.componentFactoryResolver}],t.parent||Kc(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Zf(e,t,n=null){return new __({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}function Yu(e){return!!Jf(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Jf(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function cs(e,t,n){return e[t]=n}function cr(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function da(e,t,n,r){const i=cr(e,t,n);return cr(e,t+1,r)||i}function mc(e,t,n,r,i,o,a,u,g,E){const M=n+et,U=t.firstCreatePass?function cI(e,t,n,r,i,o,a,u,g){const E=t.consts,M=sa(t,e,4,a||null,u||null);yf(t,n,M,wo(E,g)),iu(t,M);const U=M.tView=mf(2,M,r,i,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,E,null);return null!==t.queries&&(t.queries.template(t,M),U.queries=t.queries.embeddedTView(M)),M}(M,t,e,r,i,o,a,u,g):t.data[M];jo(U,!1);const q=C_(t,e,U,n);xl()&&Ru(t,e,q,U),pi(q,e);const Z=Zy(q,e,q,U);return e[M]=Z,Lu(e,Z),function Hv(e,t,n){return jf(e,t,n)}(Z,U,e),Zc(U)&&pf(t,e,U),null!=g&&gf(e,U,E),U}function ep(e,t,n,r,i,o,a,u){const g=ve(),E=Ft();return mc(g,E,e,t,n,r,i,wo(E.consts,o),a,u),ep}let C_=function w_(e,t,n,r){return os(!0),t[Ct].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 T_=(()=>{class e{constructor(){this.impl=null}execute(){this.impl?.execute()}static#e=this.\u0275prov=dt({token:e,providedIn:"root",factory:()=>new e})}return e})();class _c{constructor(){this.ngZone=Ae(Hn),this.scheduler=Ae(qa),this.errorHandler=Ae(Ds,{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 _c.PHASES)for(const n of this.sequences)if(!n.erroredOrDestroyed&&n.hooks[t])try{n.pipelinedValue=this.ngZone.runOutsideAngular(()=>n.hooks[t](n.pipelinedValue))}catch(r){n.erroredOrDestroyed=!0,this.errorHandler?.handleError(r)}this.executing=!1;for(const t of this.sequences)t.afterRun(),t.once&&this.sequences.delete(t);for(const t of this.deferredRegistrations)this.sequences.add(t);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(t){this.executing?this.deferredRegistrations.add(t):(this.sequences.add(t),this.scheduler.notify(6))}unregister(t){this.executing&&this.sequences.has(t)?(t.erroredOrDestroyed=!0,t.pipelinedValue=void 0,t.once=!0):(this.sequences.delete(t),this.deferredRegistrations.delete(t))}static#t=this.\u0275prov=dt({token:_c,providedIn:"root",factory:()=>new _c})}class fI{constructor(t,n,r,i){this.impl=t,this.hooks=n,this.once=r,this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.unregisterOnDestroy=i.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){this.impl.unregister(this),this.unregisterOnDestroy()}}function nd(e,t){!t?.injector&&function Kd(e){if(!mg())throw new Ve(-203,!1)}();const n=t?.injector??Ae(ii);return function so(e){return"browser"===(e??Ae(ii)).get(vu)}(n)?(bi("NgAfterNextRender"),function I_(e,t,n,r){const i=t.get(T_);i.impl??=t.get(_c);const a=new fI(i.impl,function gI(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(kl));return i.impl.register(a),a}(e,n,t,!0)):O_}const O_={destroy(){}};function dp(e,t,n,r){const i=ve();return cr(i,Bo(),t)&&(Ft(),ls(xn(),i,e,t,n,r)),dp}function ol(e,t,n,r){return cr(e,Bo(),n)?t+ft(n)+r:Ot}function od(e,t){return e<<17|t<<2}function js(e){return e>>17&32767}function hp(e){return 2|e}function fa(e){return(131068&e)>>2}function fp(e,t){return-131069&e|t<<2}function pp(e){return 1|e}function tC(e,t,n,r){const i=e[n+1],o=null===t;let a=r?js(i):fa(i),u=!1;for(;0!==a&&(!1===u||o);){const E=e[a+1];YI(e[a],t)&&(u=!0,e[a+1]=r?pp(E):hp(E)),a=r?js(E):fa(E)}u&&(e[n+1]=r?hp(i):pp(i))}function YI(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Ws(e,t)>=0}const Ar={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function nC(e){return e.substring(Ar.key,Ar.keyEnd)}function rC(e,t){const n=Ar.textEnd;return n===t?-1:(t=Ar.keyEnd=function tO(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Ar.key=t,n),fl(e,t,n))}function fl(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function gp(e,t,n){const r=ve();return cr(r,Bo(),t)&&$i(Ft(),xn(),r,e,t,r[Ct],n,!1),gp}function mp(e,t,n,r,i){const a=i?"class":"style";wf(e,n,t.inputs[a],a,r)}function yp(e,t){return function $o(e,t,n,r){const i=ve(),o=Ft(),a=Es(2);o.firstUpdatePass&&dC(o,e,a,r),t!==Ot&&cr(i,a,t)&&fC(o,o.data[ri()],i,i[Ct],e,i[a+1]=function hO(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Ln(ks(e)))),e}(t,n),r,a)}(e,t,null,!0),yp}function cC(e){Ho(uO,ds,e,!0)}function ds(e,t){for(let n=function JI(e){return function oC(e){Ar.key=0,Ar.keyEnd=0,Ar.value=0,Ar.valueEnd=0,Ar.textEnd=e.length}(e),rC(e,fl(e,0,Ar.textEnd))}(t);n>=0;n=rC(t,n))Ci(e,nC(t),!0)}function Ho(e,t,n,r){const i=Ft(),o=Es(2);i.firstUpdatePass&&dC(i,null,o,r);const a=ve();if(n!==Ot&&cr(a,o,n)){const u=i.data[ri()];if(gC(u,r)&&!uC(i,o)){let g=r?u.classesWithoutHost:u.stylesWithoutHost;null!==g&&(n=ps(g,n||"")),mp(i,u,a,n,r)}else!function dO(e,t,n,r,i,o,a,u){i===Ot&&(i=Yt);let g=0,E=0,M=0<i.length?i[0]:null,U=0<o.length?o[0]:null;for(;null!==M||null!==U;){const q=g<i.length?i[g+1]:void 0,Z=E<o.length?o[E+1]:void 0;let we,ne=null;M===U?(g+=2,E+=2,q!==Z&&(ne=U,we=Z)):null===U||null!==M&&M<U?(g+=2,ne=M):(E+=2,ne=U,we=Z),null!==ne&&fC(e,t,n,r,ne,we,a,u),M=g<i.length?i[g]:null,U=E<o.length?o[E]:null}}(i,u,a,a[Ct],a[o+1],a[o+1]=function cO(e,t,n){if(null==n||""===n)return Yt;const r=[],i=ks(n);if(Array.isArray(i))for(let o=0;o<i.length;o++)e(r,i[o],!0);else if("object"==typeof i)for(const o in i)i.hasOwnProperty(o)&&e(r,o,i[o]);else"string"==typeof i&&t(r,i);return r}(e,t,n),r,o)}}function uC(e,t){return t>=e.expandoStartIndex}function dC(e,t,n,r){const i=e.data;if(null===i[n+1]){const o=i[ri()],a=uC(e,n);gC(o,r)&&null===t&&!a&&(t=!1),t=function oO(e,t,n,r){const i=function ch(e){const t=wt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let o=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=wc(n=vp(null,e,t,n,r),t.attrs,r),o=null);else{const a=t.directiveStylingLast;if(-1===a||e[a]!==i)if(n=vp(i,e,t,n,r),null===o){let g=function sO(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==fa(r))return e[js(r)]}(e,t,r);void 0!==g&&Array.isArray(g)&&(g=vp(null,e,t,g[1],r),g=wc(g,t.attrs,r),function aO(e,t,n,r){e[js(n?t.classBindings:t.styleBindings)]=r}(e,t,r,g))}else o=function lO(e,t,n){let r;const i=t.directiveEnd;for(let o=1+t.directiveStylingLast;o<i;o++)r=wc(r,e[o].hostAttrs,n);return wc(r,t.attrs,n)}(e,t,r)}return void 0!==o&&(r?t.residualClasses=o:t.residualStyles=o),n}(i,o,t,r),function QI(e,t,n,r,i,o){let a=o?t.classBindings:t.styleBindings,u=js(a),g=fa(a);e[r]=n;let M,E=!1;if(Array.isArray(n)?(M=n[1],(null===M||Ws(n,M)>0)&&(E=!0)):M=n,i)if(0!==g){const q=js(e[u+1]);e[r+1]=od(q,u),0!==q&&(e[q+1]=fp(e[q+1],r)),e[u+1]=function KI(e,t){return 131071&e|t<<17}(e[u+1],r)}else e[r+1]=od(u,0),0!==u&&(e[u+1]=fp(e[u+1],r)),u=r;else e[r+1]=od(g,0),0===u?u=r:e[g+1]=fp(e[g+1],r),g=r;E&&(e[r+1]=hp(e[r+1])),tC(e,M,r,!0),tC(e,M,r,!1),function XI(e,t,n,r,i){const o=i?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&Ws(o,t)>=0&&(n[r+1]=pp(n[r+1]))}(t,M,e,r,o),a=od(u,g),o?t.classBindings=a:t.styleBindings=a}(i,o,t,n,a,r)}}function vp(e,t,n,r,i){let o=null;const a=n.directiveEnd;let u=n.directiveStylingLast;for(-1===u?u=n.directiveStart:u++;u<a&&(o=t[u],r=wc(r,o.hostAttrs,i),o!==e);)u++;return null!==e&&(n.directiveStylingLast=u),r}function wc(e,t,n){const r=n?1:2;let i=-1;if(null!==t)for(let o=0;o<t.length;o++){const a=t[o];"number"==typeof a?i=a:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Ci(e,a,!!n||t[++o]))}return void 0===e?null:e}function uO(e,t,n){const r=String(t);""!==r&&!r.includes(" ")&&Ci(e,r,n)}function fC(e,t,n,r,i,o,a,u){if(!(3&t.type))return;const g=e.data,E=g[u+1],M=function qI(e){return!(1&~e)}(E)?pC(g,t,n,i,fa(E),a):void 0;sd(M)||(sd(o)||function WI(e){return!(2&~e)}(E)&&(o=pC(g,null,n,i,u,a)),function Ob(e,t,n,r,i){if(t)i?e.addClass(n,r):e.removeClass(n,r);else{let o=-1===r.indexOf("-")?void 0:Au.DashCase;null==i?e.removeStyle(n,r,o):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=Au.Important),e.setStyle(n,r,i,o))}}(r,a,Ol(ri(),n),i,o))}function pC(e,t,n,r,i,o){const a=null===t;let u;for(;i>0;){const g=e[i],E=Array.isArray(g),M=E?g[1]:g,U=null===M;let q=n[i+1];q===Ot&&(q=U?Yt:void 0);let Z=U?Vc(q,r):M===r?q:void 0;if(E&&!sd(Z)&&(Z=Vc(g,r)),sd(Z)&&(u=Z,a))return u;const ne=e[i+1];i=a?js(ne):fa(ne)}if(null!==t){let g=o?t.residualClasses:t.residualStyles;null!=g&&(u=Vc(g,r))}return u}function sd(e){return void 0!==e}function gC(e,t){return!!(e.flags&(t?8:16))}function mC(e,t,n){Ho(Ci,ds,ol(ve(),e,t,n),!0)}function yC(){return ve()[$n][An]}class wO{destroy(t){}updateValue(t,n){}swap(t,n){const r=Math.min(t,n),i=Math.max(t,n),o=this.detach(i);if(i-r>1){const a=this.detach(r);this.attach(r,o),this.attach(i,a)}else this.attach(r,o)}move(t,n){this.attach(n,this.detach(t))}}function _p(e,t,n,r,i){return e===n&&Object.is(t,r)?1:Object.is(i(e,t),i(n,r))?-1:0}function Cp(e,t,n,r){return!(void 0===t||!t.has(r)||(e.attach(n,t.get(r)),t.delete(r),0))}function vC(e,t,n,r,i){if(Cp(e,t,r,n(r,i)))e.updateValue(r,i);else{const o=e.create(r,i);e.attach(r,o)}}function _C(e,t,n,r){const i=new Set;for(let o=t;o<=n;o++)i.add(r(o,e.at(o)));return i}class CC{constructor(){this.kvMap=new Map,this._vMap=void 0}has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;const n=this.kvMap.get(t);return void 0!==this._vMap&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);void 0===this._vMap&&(this._vMap=new Map);const i=this._vMap;for(;i.has(r);)r=i.get(r);i.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),void 0!==this._vMap){const i=this._vMap;for(;i.has(r);)r=i.get(r),t(r,n)}}}function wC(e,t){bi("NgControlFlow");const n=ve(),r=Bo(),i=n[r]!==Ot?n[r]:-1,o=-1!==i?ad(n,et+i):void 0;if(cr(n,r,e)){const u=j(null);try{if(void 0!==o&&Df(o,0),-1!==e){const g=et+e,E=ad(n,g),M=wp(n[ke],g),U=ca(E,M.tView.ssrId);Wa(E,za(n,M,t,{dehydratedView:U}),0,aa(M,U))}}finally{j(u)}}else if(void 0!==o){const u=rv(o,0);void 0!==u&&(u[An]=t)}}class DO{constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-lr}}class SO{constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}}function EC(e,t,n,r,i,o,a,u,g,E,M,U,q){bi("NgControlFlow");const Z=ve(),ne=Ft(),we=void 0!==g,Le=ve(),Ue=u?a.bind(Le[$n][An]):a,Ee=new SO(we,Ue);Le[et+e]=Ee,mc(Z,ne,e+1,t,n,r,i,wo(ne.consts,o)),we&&mc(Z,ne,e+2,g,E,M,U,wo(ne.consts,q))}class TO extends wO{constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-lr}at(t){return this.getLView(t)[An].$implicit}attach(t,n){const r=n[Ei];this.needsIndexUpdate||=t!==this.length,Wa(this.lContainer,n,t,aa(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,function IO(e,t){return Ql(e,t)}(this.lContainer,t)}create(t,n){const r=ca(this.lContainer,this.templateTNode.tView.ssrId),i=za(this.hostLView,this.templateTNode,new DO(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),i}destroy(t){Nu(t[ke],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[An].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[An].$index=t}getLView(t){return function OO(e,t){return rv(e,t)}(this.lContainer,t)}}function DC(e){const t=j(null),n=ri();try{const r=ve(),i=r[ke],o=r[n],a=n+1,u=ad(r,a);if(void 0===o.liveCollection){const E=wp(i,a);o.liveCollection=new TO(u,r,E)}else o.liveCollection.reset();const g=o.liveCollection;if(function EO(e,t,n){let r,i,o=0,a=e.length-1;if(Array.isArray(t)){let g=t.length-1;for(;o<=a&&o<=g;){const E=e.at(o),M=t[o],U=_p(o,E,o,M,n);if(0!==U){U<0&&e.updateValue(o,M),o++;continue}const q=e.at(a),Z=t[g],ne=_p(a,q,g,Z,n);if(0!==ne){ne<0&&e.updateValue(a,Z),a--,g--;continue}const we=n(o,E),Le=n(a,q),Ue=n(o,M);if(Object.is(Ue,Le)){const Ee=n(g,Z);Object.is(Ee,we)?(e.swap(o,a),e.updateValue(a,Z),g--,a--):e.move(a,o),e.updateValue(o,M),o++}else if(r??=new CC,i??=_C(e,o,a,n),Cp(e,r,o,Ue))e.updateValue(o,M),o++,a++;else if(i.has(Ue))r.set(we,e.detach(o)),a--;else{const Ee=e.create(o,t[o]);e.attach(o,Ee),o++,a++}}for(;o<=g;)vC(e,r,n,o,t[o]),o++}else if(null!=t){const g=t[Symbol.iterator]();let E=g.next();for(;!E.done&&o<=a;){const M=e.at(o),U=E.value,q=_p(o,M,o,U,n);if(0!==q)q<0&&e.updateValue(o,U),o++,E=g.next();else{r??=new CC,i??=_C(e,o,a,n);const Z=n(o,U);if(Cp(e,r,o,Z))e.updateValue(o,U),o++,a++,E=g.next();else if(i.has(Z)){const ne=n(o,M);r.set(ne,e.detach(o)),a--}else e.attach(o,e.create(o,U)),o++,a++,E=g.next()}}for(;!E.done;)vC(e,r,n,e.length,E.value),E=g.next()}for(;o<=a;)e.destroy(e.detach(a--));r?.forEach(g=>{e.destroy(g)})}(g,e,o.trackByFn),g.updateIndexes(),o.hasEmptyBlock){const E=Bo(),M=0===g.length;if(cr(r,E,M)){const U=n+2,q=ad(r,U);if(M){const Z=wp(i,U),ne=ca(q,Z.tView.ssrId);Wa(q,za(r,Z,void 0,{dehydratedView:ne}),0,aa(Z,ne))}else Df(q,0)}}}finally{j(t)}}function ad(e,t){return e[t]}function wp(e,t){return Pl(e,t)}function ld(e,t,n,r){const i=ve(),o=Ft(),a=et+e,u=i[Ct],g=o.firstCreatePass?function PO(e,t,n,r,i,o){const a=t.consts,g=sa(t,e,2,r,wo(a,i));return yf(t,n,g,wo(a,o)),null!==g.attrs&&Ku(g,g.attrs,!1),null!==g.mergedAttrs&&Ku(g,g.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,g),g}(a,o,i,t,n,r):o.data[a],E=MC(o,i,g,u,t,e);i[a]=E;const M=Zc(g);return jo(g,!0),jy(u,E,g),!function Xa(e){return!(32&~e.flags)}(g)&&xl()&&Ru(o,i,E,g),0===function e0(){return wt.lFrame.elementDepthCount}()&&pi(E,i),function t0(){wt.lFrame.elementDepthCount++}(),M&&(pf(o,i,g),ff(o,g,i)),null!==r&&gf(i,g),ld}function cd(){let e=fn();sh()?ah():(e=e.parent,jo(e,!1));const t=e;(function r0(e){return wt.skipHydrationRootTNode===e})(t)&&function l0(){wt.skipHydrationRootTNode=null}(),function n0(){wt.lFrame.elementDepthCount--}();const n=Ft();return n.firstCreatePass&&(iu(n,e),Xd(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function E0(e){return!!(8&e.flags)}(t)&&mp(n,t,ve(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function D0(e){return!!(16&e.flags)}(t)&&mp(n,t,ve(),t.stylesWithoutHost,!1),cd}function Ep(e,t,n,r){return ld(e,t,n,r),cd(),Ep}let MC=(e,t,n,r,i,o)=>(os(!0),xu(r,i,function Qg(){return wt.lFrame.currentNamespace}()));function ud(e,t,n){const r=ve(),i=Ft(),o=e+et,a=i.firstCreatePass?function NO(e,t,n,r,i){const o=t.consts,a=wo(o,r),u=sa(t,e,8,"ng-container",a);return null!==a&&Ku(u,a,!0),yf(t,n,u,wo(o,i)),null!==t.queries&&t.queries.elementStart(t,u),u}(o,i,r,t,n):i.data[o];jo(a,!0);const u=bC(i,r,a,e);return r[o]=u,xl()&&Ru(i,r,u,a),pi(u,r),Zc(a)&&(pf(i,r,a),ff(i,a,r)),null!=n&&gf(r,a),ud}function dd(){let e=fn();const t=Ft();return sh()?ah():(e=e.parent,jo(e,!1)),t.firstCreatePass&&(iu(t,e),Xd(e)&&t.queries.elementEnd(e)),dd}function Dp(e,t,n){return ud(e,t,n),dd(),Dp}let bC=(e,t,n,r)=>(os(!0),nf(t[Ct],""));function SC(){return ve()}function Mp(e,t,n){const r=ve();return cr(r,Bo(),t)&&$i(Ft(),xn(),r,e,t,r[Ct],n,!0),Mp}const pa=void 0;var LO=["en",[["a","p"],["AM","PM"],pa],[["AM","PM"],pa,pa],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],pa,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],pa,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",pa,"{1} 'at' {0}",pa],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function kO(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let pl={};function bp(e){const t=function VO(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 LO;throw new Ve(701,!1)}function IC(e){return bp(e)[gl.PluralCase]}function OC(e){return e in pl||(pl[e]=Sn.ng&&Sn.ng.common&&Sn.ng.common.locales&&Sn.ng.common.locales[e]),pl[e]}var gl=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(gl||{});const hd="en-US";let PC=hd,qC=(e,t,n)=>{};function Ip(e,t,n,r){const i=ve(),o=Ft(),a=fn();return Op(o,i,i[Ct],a,e,t,r),Ip}function Op(e,t,n,r,i,o,a){const u=Zc(r),E=e.firstCreatePass&&tv(e),M=t[An],U=ev(t);let q=!0;if(3&r.type||a){const we=Di(r,t),Le=a?a(we):we,Ue=U.length,Ee=a?Ht=>a(Jt(Ht[r.index])):r.index;let Tt=null;if(!a&&u&&(Tt=function SP(e,t,n,r){const i=e.cleanup;if(null!=i)for(let o=0;o<i.length-1;o+=2){const a=i[o];if(a===n&&i[o+1]===r){const u=t[Ia],g=i[o+2];return u.length>g?u[g]:null}"string"==typeof a&&(o+=2)}return null}(e,t,i,r.index)),null!==Tt)(Tt.__ngLastListenerFn__||Tt).__ngNextListenerFn__=o,Tt.__ngLastListenerFn__=o,q=!1;else{o=ZC(r,t,M,o),qC(we,i,o);const Ht=n.listen(Le,i,o);U.push(o,Ht),E&&E.push(i,Ee,Ue,Ue+1)}}else o=ZC(r,t,M,o);const Z=r.outputs;let ne;if(q&&null!==Z&&(ne=Z[i])){const we=ne.length;if(we)for(let Le=0;Le<we;Le+=2){const yn=t[ne[Le]][ne[Le+1]].subscribe(o),hr=U.length;U.push(o,yn),E&&E.push(i,r.index,hr,-(hr+1))}}}function YC(e,t,n,r){const i=j(null);try{return is(6,t,n),!1!==n(r)}catch(o){return Vu(e,o),!1}finally{is(7,t,n),j(i)}}function ZC(e,t,n,r){return function i(o){if(o===Function)return r;Jl(e.componentOffset>-1?io(e.index,t):t,5);let u=YC(t,n,r,o),g=i.__ngNextListenerFn__;for(;g;)u=YC(t,n,g,o)&&u,g=g.__ngNextListenerFn__;return u}}function JC(e=1){return function f0(e){return(wt.lFrame.contextLView=function xg(e,t){for(;e>0;)t=t[Oa],e--;return t}(e,wt.lFrame.contextLView))[An]}(e)}function TP(e,t){let n=null;const r=function F(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let i=0;i<t.length;i++){const o=t[i];if("*"!==o){if(null===r?S(e,o,!0):ie(r,o))return i}else n=i}return n}function ew(e){const t=ve()[$n][ni];if(!t.projection){const r=t.projection=function As(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}(e?e.length:1,null),i=r.slice();let o=t.child;for(;null!==o;){if(128!==o.type){const a=e?TP(o,e):0;null!==a&&(i[a]?i[a].projectionNext=o:r[a]=o,i[a]=o)}o=o.next}}}function tw(e,t=0,n,r,i,o){const a=ve(),u=Ft(),g=r?e+1:null;null!==g&&mc(a,u,g,r,i,o,null,n);const E=sa(u,et+e,16,null,n||null);null===E.projection&&(E.projection=t),ah();const U=!a[Ei]||Zs();null===a[$n][ni].projection[E.projection]&&null!==g?function IP(e,t,n){const r=et+n,i=t.data[r],o=e[r],a=ca(o,i.tView.ssrId);Wa(o,za(e,i,void 0,{dehydratedView:a}),0,aa(i,a))}(a,u,g):U&&32&~E.flags&&function Tb(e,t,n){Vy(t[Ct],0,t,n,af(e,n,t),xy(n.parent||t[ni],n,t))}(u,a,E)}function Pp(e,t,n){return md(e,"",t,"",n),Pp}function md(e,t,n,r,i){const o=ve(),a=ol(o,t,n,r);return a!==Ot&&$i(Ft(),xn(),o,e,a,o[Ct],i,!1),md}function uw(e,t,n,r){!function Qv(e,t,n,r){const i=Ft();if(i.firstCreatePass){const o=fn();Xv(i,new zv(t,n,r),o.index),function LT(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(i,e),!(2&~n)&&(i.staticContentQueries=!0)}return Kv(i,ve(),n)}(e,t,n,r)}function dw(e,t,n){!function qv(e,t,n){const r=Ft();return r.firstCreatePass&&(Xv(r,new zv(e,t,n),-1),!(2&~t)&&(r.staticViewQueries=!0)),Kv(r,ve(),t)}(e,t,n)}function hw(e){const t=ve(),n=Ft(),r=uh();ru(r+1);const i=Kf(n,r);if(e.dirty&&function ZD(e){return!(4&~e[it])}(t)===!(2&~i.metadata.flags)){if(null===i.matches)e.reset([]);else{const o=Yv(t,r);e.reset(o,bm),e.notifyOnChanges()}return!0}return!1}function fw(){return function Wf(e,t){return e[_s].queries[t].queryList}(ve(),uh())}function pw(e){return function Ys(e,t){return e[t]}(function Vg(){return wt.lFrame.contextLView}(),et+e)}function Mw(e,t=""){const n=ve(),r=Ft(),i=e+et,o=r.firstCreatePass?sa(r,i,1,t,null):r.data[i],a=bw(r,n,o,t,e);n[i]=a,xl()&&Ru(r,n,a,o),jo(o,!1)}let bw=(e,t,n,r,i)=>(os(!0),function tf(e,t){return e.createText(t)}(t[Ct],r));function xp(e){return yd("",e,""),xp}function yd(e,t,n){const r=ve(),i=ol(r,e,t,n);return i!==Ot&&function bs(e,t,n){const r=Ol(t,e);!function Sy(e,t,n){e.setValue(t,n)}(e[Ct],r,n)}(r,ri(),i),yd}function Np(e,t,n){n_(t)&&(t=t());const r=ve();return cr(r,Bo(),t)&&$i(Ft(),xn(),r,e,t,r[Ct],n,!1),Np}function Rw(e,t){const n=n_(e);return n&&e.set(t),n}function Rp(e,t){const n=ve(),r=Ft(),i=fn();return Op(r,n,n[Ct],i,e,t),Rp}function Fp(e,t,n,r,i){if(e=tt(e),Array.isArray(e))for(let o=0;o<e.length;o++)Fp(e[o],t,n,r,i);else{const o=Ft(),a=ve(),u=fn();let g=qs(e)?e:tt(e.provide);const E=gg(e),M=1048575&u.providerIndexes,U=u.directiveStart,q=u.providerIndexes>>20;if(qs(e)||!e.multi){const Z=new Nl(E,i,Ga),ne=Lp(g,t,i?M:M+q,U);-1===ne?(_h(lu(u,a),o,g),kp(o,e,t.length),t.push(g),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=1048576),n.push(Z),a.push(Z)):(n[ne]=Z,a[ne]=Z)}else{const Z=Lp(g,t,M+q,U),ne=Lp(g,t,M,M+q),Le=ne>=0&&n[ne];if(i&&!Le||!i&&!(Z>=0&&n[Z])){_h(lu(u,a),o,g);const Ue=function qP(e,t,n,r,i){const o=new Nl(e,n,Ga);return o.multi=[],o.index=t,o.componentProviders=0,Lw(o,i,r&&!n),o}(i?KP:WP,n.length,i,r,E);!i&&Le&&(n[ne].providerFactory=Ue),kp(o,e,t.length,0),t.push(g),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=1048576),n.push(Ue),a.push(Ue)}else kp(o,e,Z>-1?Z:ne,Lw(n[i?ne:Z],E,!i&&r));!i&&r&&Le&&n[ne].componentProviders++}}}function kp(e,t,n,r){const i=qs(t),o=function TD(e){return!!e.useClass}(t);if(i||o){const g=(o?tt(t.useClass):t).prototype.ngOnDestroy;if(g){const E=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const M=E.indexOf(n);-1===M?E.push(n,[r,g]):E[M+1].push(r,g)}else E.push(n,g)}}}function Lw(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Lp(e,t,n,r){for(let i=n;i<r;i++)if(t[i]===e)return i;return-1}function WP(e,t,n,r){return Vp(this.multi,[])}function KP(e,t,n,r){const i=this.multi;let o;if(this.providerFactory){const a=this.providerFactory.componentProviders,u=ta(n,n[ke],this.providerFactory.index,r);o=u.slice(0,a),Vp(i,o);for(let g=a;g<u.length;g++)o.push(u[g])}else o=[],Vp(i,o);return o}function Vp(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function Vw(e,t=[]){return n=>{n.providersResolver=(r,i)=>function zP(e,t,n){const r=Ft();if(r.firstCreatePass){const i=Uo(e);Fp(n,r.data,r.blueprint,i,!0),Fp(t,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,t)}}let QP=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=jd(0,n.type),i=r.length>0?Zf([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=dt({token:e,providedIn:"environment",factory:()=>new e(bt(_o))})}return e})();function Uw(e){bi("NgStandalone"),e.getStandaloneInjector=t=>t.get(QP).getOrCreateStandaloneInjector(e)}function $w(e,t,n){const r=Mi()+e,i=ve();return i[r]===Ot?cs(i,r,n?t.call(n):t()):function gc(e,t){return e[t]}(i,r)}function Hw(e,t,n,r){return function Kw(e,t,n,r,i,o){const a=t+n;return cr(e,a,i)?cs(e,a+1,o?r.call(o,i):r(i)):Tc(e,a+1)}(ve(),Mi(),e,t,n,r)}function Gw(e,t,n,r,i){return function qw(e,t,n,r,i,o,a){const u=t+n;return da(e,u,i,o)?cs(e,u+2,a?r.call(a,i,o):r(i,o)):Tc(e,u+2)}(ve(),Mi(),e,t,n,r,i)}function zw(e,t,n,r,i,o){return function Qw(e,t,n,r,i,o,a,u){const g=t+n;return function Zu(e,t,n,r,i){const o=da(e,t,n,r);return cr(e,t+2,i)||o}(e,g,i,o,a)?cs(e,g+3,u?r.call(u,i,o,a):r(i,o,a)):Tc(e,g+3)}(ve(),Mi(),e,t,n,r,i,o)}function Ww(e,t,n,r,i,o,a){return function Xw(e,t,n,r,i,o,a,u,g){const E=t+n;return function Eo(e,t,n,r,i,o){const a=da(e,t,n,r);return da(e,t+2,i,o)||a}(e,E,i,o,a,u)?cs(e,E+4,g?r.call(g,i,o,a,u):r(i,o,a,u)):Tc(e,E+4)}(ve(),Mi(),e,t,n,r,i,o,a)}function Tc(e,t){const n=e[t];return n===Ot?void 0:n}function Zw(e,t){return ju(e,t)}class pE{constructor(t){this.full=t;const n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}}let gE=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=dt({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const CE=new at(""),wE=new at("");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:()=>{Hn.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,i){let o=-1;r&&r>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==o),n()},r)),this._callbacks.push({doneCb:n,timeoutId:o,updateCb:i})}whenStable(n,r,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,i),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,i){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(bt(Hn),bt(EE),bt(wE))};static#t=this.\u0275prov=dt({token:e,factory:e.\u0275fac})}return e})(),EE=(()=>{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.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=dt({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function zp(e){return!!e&&"function"==typeof e.then}function DE(e){return!!e&&"function"==typeof e.subscribe}const ME=new at("");let bE=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=Ae(ME,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const i of this.appInits){const o=i();if(zp(o))n.push(o);else if(DE(o)){const a=new Promise((u,g)=>{o.subscribe({complete:u,error:g})});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.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=dt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Ed=new at("");function TE(e,t){return Array.isArray(t)?t.reduce(TE,e):{...e,...t}}let hs=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=Ae(Y0),this.afterRenderManager=Ae(T_),this.zonelessEnabled=Ae(cc),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new _n.B,this.afterTick=new _n.B,this.componentTypes=[],this.components=[],this.isStable=Ae(na).hasPendingTasks.pipe((0,sn.T)(n=>!n)),this._injector=Ae(_o)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:i=>{i&&r()}})}).finally(()=>{n.unsubscribe()})}get injector(){return this._injector}bootstrap(n,r){const i=n instanceof Nv;if(!this._injector.get(bE).done)throw!i&&Ns(n),new Ve(405,!1);let a;a=i?n:this._injector.get(uc).resolveComponentFactory(n),this.componentTypes.push(a.componentType);const u=function ox(e){return e.isBoundToModule}(a)?void 0:this._injector.get(ua),E=a.create(ii.NULL,[],r||a.selector,u),M=E.location.nativeElement,U=E.injector.get(CE,null);return U?.registerApplication(M),E.onDestroy(()=>{this.detachView(E.hostView),Dd(this.components,E),U?.unregisterApplication(M)}),this._loadComponent(E),E}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new Ve(101,!1);const n=j(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,j(n),this.afterTick.next()}}synchronize(){let n=null;this._injector.destroyed||(n=this._injector.get(kf,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let r=0;for(;0!==this.dirtyFlags&&r++<10;)this.synchronizeOnce(n)}synchronizeOnce(n){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,7&this.dirtyFlags){const r=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(r);for(let{_lView:i,notifyErrorHandler:o}of this._views)lx(i,o,r,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),7&this.dirtyFlags)return}else n?.begin?.(),n?.end?.();8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:n})=>Jc(n))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Dd(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(Ed,[]);[...this._bootstrapListeners,...r].forEach(i=>i(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Dd(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new Ve(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=dt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Dd(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function lx(e,t,n,r){(n||Jc(e))&&Uu(e,t,n&&!r?0:1)}class cx{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let ux=(()=>{class e{compileModuleSync(n){return new Yf(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),o=oo(hi(n).declarations).reduce((a,u)=>{const g=Vt(u);return g&&a.push(new fc(g)),a},[]);return new cx(r,o)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=dt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),fx=(()=>{class e{constructor(){this.zone=Ae(Hn),this.changeDetectionScheduler=Ae(qa),this.applicationRef=Ae(hs)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=dt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Wp({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new Hn({...Kp(),scheduleInRootZone:n}),[{provide:Hn,useFactory:e},{provide:ji,multi:!0,useFactory:()=>{const r=Ae(fx,{optional:!0});return()=>r.initialize()}},{provide:ji,multi:!0,useFactory:()=>{const r=Ae(gx);return()=>{r.initialize()}}},!0===t?{provide:xv,useValue:!0}:[],{provide:Ff,useValue:n??vm}]}function Kp(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let gx=(()=>{class e{constructor(){this.subscription=new oi.yU,this.initialized=!1,this.zone=Ae(Hn),this.pendingTasks=Ae(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(()=>{Hn.assertNotInAngularZone(),queueMicrotask(()=>{null!==n&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Hn.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=dt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Ac=(()=>{class e{constructor(){this.appRef=Ae(hs),this.taskService=Ae(na),this.ngZone=Ae(Hn),this.zonelessEnabled=Ae(cc),this.disableScheduling=Ae(xv,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new oi.yU,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(pu):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(Ae(Ff,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Sh||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&5===n)return;switch(n){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 7:this.appRef.deferredDirtyFlags|=8;break;default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;const r=this.useMicrotaskScheduler?Cm:_m;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>r(()=>this.tick())):this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(pu+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Cm(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=dt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Qp=new at("",{providedIn:"root",factory:()=>Ae(Qp,Nt.Optional|Nt.SkipSelf)||function mx(){return typeof $localize<"u"&&$localize.locale||hd}()}),yx=new at("",{providedIn:"root",factory:()=>"USD"}),Xp=new at("");function bd(e){return!!e.platformInjector}let RE=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const i=r?.scheduleInRootZone,a=r?.ignoreChangesOutsideZone,u=[Wp({ngZoneFactory:()=>function X0(e="zone.js",t){return"noop"===e?new Sh:"zone.js"===e?new Hn(t):e}(r?.ngZone,{...Kp({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}),scheduleInRootZone:i}),ignoreChangesOutsideZone:a}),{provide:qa,useExisting:Ac}],g=function iI(e,t,n){return new Xf(e,t,n,!1)}(n.moduleType,this.injector,u);return function NE(e){const t=bd(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Hn);return n.run(()=>{bd(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();const r=t.get(Ds,null);let i;if(n.runOutsideAngular(()=>{i=n.onError.subscribe({next:o=>{r.handleError(o)}})}),bd(e)){const o=()=>t.destroy(),a=e.platformInjector.get(Xp);a.add(o),t.onDestroy(()=>{i.unsubscribe(),a.delete(o)})}else e.moduleRef.onDestroy(()=>{Dd(e.allPlatformModules,e.moduleRef),i.unsubscribe()});return function ax(e,t,n){try{const r=n();return zp(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(r,n,()=>{const o=t.get(bE);return o.runInitializers(),o.donePromise.then(()=>{if(function $O(e){"string"==typeof e&&(PC=e.toLowerCase().replace(/_/g,"-"))}(t.get(Qp,hd)||hd),bd(e)){const u=t.get(hs);return void 0!==e.rootComponent&&u.bootstrap(e.rootComponent),u}return function Ex(e,t){const n=e.injector.get(hs);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else{if(!e.instance.ngDoBootstrap)throw new Ve(-403,!1);e.instance.ngDoBootstrap(n)}t.push(e)}(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}({moduleRef:g,allPlatformModules:this._modules})}bootstrapModule(n,r=[]){const i=TE({},r);return function hx(e,t,n){const r=new Yf(n);return Promise.resolve(r)}(0,0,n).then(o=>this.bootstrapModuleFactory(o,i))}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Ve(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Xp,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(bt(ii))};static#t=this.\u0275prov=dt({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Bs=null;const FE=new at("");function kE(e,t,n=[]){const r=`Platform: ${t}`,i=new at(r);return(o=[])=>{let a=Yp();if(!a||a.injector.get(FE,!1)){const u=[...n,...o,{provide:i,useValue:!0}];e?e(u):function Dx(e){if(Bs&&!Bs.get(FE,!1))throw new Ve(400,!1);(function SE(){!function Zt(e){qt=e}(()=>{throw new Ve(600,!1)})})(),Bs=e;const t=e.get(RE);(function VE(e){e.get(zm,null)?.forEach(n=>n())})(e)}(function LE(e=[],t){return ii.create({name:t,providers:[{provide:Hd,useValue:"platform"},{provide:Xp,useValue:new Set([()=>Bs=null])},...e]})}(u,r))}return function Mx(){const t=Yp();if(!t)throw new Ve(401,!1);return t}()}}function Yp(){return Bs?.get(RE)??null}function Sx(){return!1}function Tx(){}let jE=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=Ix}return e})();function Ix(e){return function Ox(e,t,n){if(Xs(e)&&!n){const r=io(e.index,t);return new ec(r,r)}return 175&e.type?new ec(t[$n],t):null}(fn(),ve(),!(16&~e))}class GE{constructor(){}supports(t){return Yu(t)}create(t){return new Rx(t)}}const Nx=(e,t)=>t;class Rx{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||Nx}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,i=0,o=null;for(;n||r;){const a=!r||n&&n.currentIndex<WE(r,i,o)?n:r,u=WE(a,i,o),g=a.currentIndex;if(a===r)i--,r=r._nextRemoved;else if(n=n._next,null==a.previousIndex)i++;else{o||(o=[]);const E=u-i,M=g-i;if(E!=M){for(let q=0;q<E;q++){const Z=q<o.length?o[q]:o[q]=0,ne=Z+q;M<=ne&&ne<E&&(o[q]=Z+1)}o[a.previousIndex]=M-E}}u!==g&&t(a,u,g)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!Yu(t))throw new Ve(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let i,o,a,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let u=0;u<this.length;u++)o=t[u],a=this._trackByFn(u,o),null!==n&&Object.is(n.trackById,a)?(r&&(n=this._verifyReinsertion(n,o,a,u)),Object.is(n.item,o)||this._addIdentityChange(n,o)):(n=this._mismatch(n,o,a,u),r=!0),n=n._next}else i=0,function aI(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,u=>{a=this._trackByFn(i,u),null!==n&&Object.is(n.trackById,a)?(r&&(n=this._verifyReinsertion(n,u,a,i)),Object.is(n.item,u)||this._addIdentityChange(n,u)):(n=this._mismatch(n,u,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 o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,o,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,o,i)):t=this._addAfter(new Fx(n,r),o,i),t}_verifyReinsertion(t,n,r,i){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==o?t=this._reinsertAfter(o,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,o=t._nextRemoved;return null===i?this._removalsHead=o:i._nextRemoved=o,null===o?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const i=null===n?this._itHead:n._next;return t._next=i,t._prev=n,null===i?this._itTail=t:i._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new zE),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 zE),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class Fx{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class kx{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class zE{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new kx,this.map.set(n,r)),r.add(t)}get(t,n){const i=this.map.get(t);return i?i.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function WE(e,t,n){const r=e.previousIndex;if(null===r)return r;let i=0;return n&&r<n.length&&(i=n[r]),r+t+i}class KE{constructor(){}supports(t){return t instanceof Map||Jf(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||Jf(t)))throw new Ve(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,i)=>{if(n&&n.key===i)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const o=this._getOrCreateRecordForKey(i,r);n=this._insertBeforeOrAppend(n,o)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const i=this._records.get(t);this._maybeAddToChanges(i,n);const o=i._prev,a=i._next;return o&&(o._next=a),a&&(a._prev=o),i._next=null,i._prev=null,i}const r=new Vx(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class Vx{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function qE(){return new ng([new GE])}let ng=(()=>{class e{static#e=this.\u0275prov=dt({token:e,providedIn:"root",factory:qE});constructor(n){this.factories=n}static create(n,r){if(null!=r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||qE()),deps:[[e,new Ui,new vi]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(null!=r)return r;throw new Ve(901,!1)}}return e})();function QE(){return new rg([new KE])}let rg=(()=>{class e{static#e=this.\u0275prov=dt({token:e,providedIn:"root",factory:QE});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||QE()),deps:[[e,new Ui,new vi]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(r)return r;throw new Ve(901,!1)}}return e})();const Bx=kE(null,"core",[]);let $x=(()=>{class e{constructor(n){}static#e=this.\u0275fac=function(r){return new(r||e)(bt(hs))};static#t=this.\u0275mod=wi({type:e});static#n=this.\u0275inj=mn({})}return e})();const dD=new at("");function _N(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function CN(e,t=NaN){return isNaN(parseFloat(e))||isNaN(Number(e))?t:Number(e)}function EN(e,t){bi("NgSignals");const n=function Te(e){const t=Object.create(Ye);t.computation=e;const n=()=>{if(be(t),oe(t),t.value===me)throw t.error;return t.value};return n[N]=t,n}(e);return t?.equal&&(n[N].equal=t.equal),n}function DN(e){const t=j(null);try{return e()}finally{j(t)}}function ON(e){const t=Vt(e);if(!t)return null;const n=new fc(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}},9417:(H,k,D)=>{"use strict";D.d(k,{BC:()=>ir,JD:()=>li,X1:()=>y,YN:()=>f,Zm:()=>oe,cV:()=>Kt,cb:()=>Rr,j4:()=>ho,kq:()=>X,me:()=>Fe,qT:()=>fs,vS:()=>bo,ze:()=>Os});var s=D(3953),b=D(177),O=D(6648),R=D(7468),N=D(1413),j=D(6354);let $=(()=>{class l{constructor(c,C){this._renderer=c,this._elementRef=C,this.onChange=I=>{},this.onTouched=()=>{}}setProperty(c,C){this._renderer.setProperty(this._elementRef.nativeElement,c,C)}registerOnTouched(c){this.onTouched=c}registerOnChange(c){this.onChange=c}setDisabledState(c){this.setProperty("disabled",c)}static#e=this.\u0275fac=function(C){return new(C||l)(s.rXU(s.sFG),s.rXU(s.aKT))};static#t=this.\u0275dir=s.FsC({type:l})}return l})(),B=(()=>{class l extends ${static#e=this.\u0275fac=(()=>{let c;return function(I){return(c||(c=s.xGo(l)))(I||l)}})();static#t=this.\u0275dir=s.FsC({type:l,features:[s.Vt3]})}return l})();const X=new s.nKC(""),J={provide:X,useExisting:(0,s.Rfq)(()=>oe),multi:!0};let oe=(()=>{class l extends B{writeValue(c){this.setProperty("checked",c)}static#e=this.\u0275fac=(()=>{let c;return function(I){return(c||(c=s.xGo(l)))(I||l)}})();static#t=this.\u0275dir=s.FsC({type:l,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(C,I){1&C&&s.bIt("change",function(re){return I.onChange(re.target.checked)})("blur",function(){return I.onTouched()})},features:[s.Jv_([J]),s.Vt3]})}return l})();const ge={provide:X,useExisting:(0,s.Rfq)(()=>Fe),multi:!0},Oe=new s.nKC("");let Fe=(()=>{class l extends ${constructor(c,C,I){super(c,C),this._compositionMode=I,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function be(){const l=(0,b.QT)()?(0,b.QT)().getUserAgent():"";return/android (\d+)/.test(l.toLowerCase())}())}writeValue(c){this.setProperty("value",c??"")}_handleInput(c){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(c)}_compositionStart(){this._composing=!0}_compositionEnd(c){this._composing=!1,this._compositionMode&&this.onChange(c)}static#e=this.\u0275fac=function(C){return new(C||l)(s.rXU(s.sFG),s.rXU(s.aKT),s.rXU(Oe,8))};static#t=this.\u0275dir=s.FsC({type:l,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(C,I){1&C&&s.bIt("input",function(re){return I._handleInput(re.target.value)})("blur",function(){return I.onTouched()})("compositionstart",function(){return I._compositionStart()})("compositionend",function(re){return I._compositionEnd(re.target.value)})},features:[s.Jv_([ge]),s.Vt3]})}return l})();const We=new s.nKC(""),Ke=new s.nKC("");function Ye(l){return null!=l}function ot(l){return(0,s.jNT)(l)?(0,O.H)(l):l}function qt(l){let d={};return l.forEach(c=>{d=null!=c?{...d,...c}:d}),0===Object.keys(d).length?null:d}function Dn(l,d){return d.map(c=>c(l))}function vn(l){return l.map(d=>function Zt(l){return!l.validate}(d)?d:c=>d.validate(c))}function Nn(l){return null!=l?function nt(l){if(!l)return null;const d=l.filter(Ye);return 0==d.length?null:function(c){return qt(Dn(c,d))}}(vn(l)):null}function ln(l){return null!=l?function Nr(l){if(!l)return null;const d=l.filter(Ye);return 0==d.length?null:function(c){const C=Dn(c,d).map(ot);return(0,R.p)(C).pipe((0,j.T)(qt))}}(vn(l)):null}function cn(l,d){return null===l?[d]:Array.isArray(l)?[...l,d]:[l,d]}function Gn(l){return l._rawValidators}function Rn(l){return l._rawAsyncValidators}function nr(l){return l?Array.isArray(l)?l:[l]:[]}function rr(l,d){return Array.isArray(l)?l.includes(d):l===d}function fr(l,d){const c=nr(d);return nr(l).forEach(I=>{rr(c,I)||c.push(I)}),c}function $t(l,d){return nr(d).filter(c=>!rr(l,c))}class Kr{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(d){this._rawValidators=d||[],this._composedValidatorFn=Nn(this._rawValidators)}_setAsyncValidators(d){this._rawAsyncValidators=d||[],this._composedAsyncValidatorFn=ln(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(d){this._onDestroyCallbacks.push(d)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(d=>d()),this._onDestroyCallbacks=[]}reset(d=void 0){this.control&&this.control.reset(d)}hasError(d,c){return!!this.control&&this.control.hasError(d,c)}getError(d,c){return this.control?this.control.getError(d,c):null}}class en extends Kr{get formDirective(){return null}get path(){return null}}class _n extends Kr{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class oi{constructor(d){this._cd=d}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}let ir=(()=>{class l extends oi{constructor(c){super(c)}static#e=this.\u0275fac=function(C){return new(C||l)(s.rXU(_n,2))};static#t=this.\u0275dir=s.FsC({type:l,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(C,I){2&C&&s.AVh("ng-untouched",I.isUntouched)("ng-touched",I.isTouched)("ng-pristine",I.isPristine)("ng-dirty",I.isDirty)("ng-valid",I.isValid)("ng-invalid",I.isInvalid)("ng-pending",I.isPending)},features:[s.Vt3]})}return l})(),Rr=(()=>{class l extends oi{constructor(c){super(c)}static#e=this.\u0275fac=function(C){return new(C||l)(s.rXU(en,10))};static#t=this.\u0275dir=s.FsC({type:l,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(C,I){2&C&&s.AVh("ng-untouched",I.isUntouched)("ng-touched",I.isTouched)("ng-pristine",I.isPristine)("ng-dirty",I.isDirty)("ng-valid",I.isValid)("ng-invalid",I.isInvalid)("ng-pending",I.isPending)("ng-submitted",I.isSubmitted)},features:[s.Vt3]})}return l})();const zn="VALID",Wn="INVALID",kr="PENDING",Lr="DISABLED";class Mn{}class un extends Mn{constructor(d,c){super(),this.value=d,this.source=c}}class he extends Mn{constructor(d,c){super(),this.pristine=d,this.source=c}}class ae extends Mn{constructor(d,c){super(),this.touched=d,this.source=c}}class W extends Mn{constructor(d,c){super(),this.status=d,this.source=c}}class te extends Mn{constructor(d){super(),this.source=d}}class _e extends Mn{constructor(d){super(),this.source=d}}function Be(l){return(Bt(l)?l.validators:l)||null}function Dt(l,d){return(Bt(d)?d.asyncValidators:l)||null}function Bt(l){return null!=l&&!Array.isArray(l)&&"object"==typeof l}function Un(l,d,c){const C=l.controls;if(!(d?Object.keys(C):C).length)throw new s.wOt(1e3,"");if(!C[c])throw new s.wOt(1001,"")}function Ut(l,d,c){l._forEachChild((C,I)=>{if(void 0===c[I])throw new s.wOt(1002,"")})}class sr{constructor(d,c){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=(0,s.EWP)(()=>this.statusReactive()),this.statusReactive=(0,s.vPA)(void 0),this._pristine=(0,s.EWP)(()=>this.pristineReactive()),this.pristineReactive=(0,s.vPA)(!0),this._touched=(0,s.EWP)(()=>this.touchedReactive()),this.touchedReactive=(0,s.vPA)(!1),this._events=new N.B,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(d),this._assignAsyncValidators(c)}get validator(){return this._composedValidatorFn}set validator(d){this._rawValidators=this._composedValidatorFn=d}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(d){this._rawAsyncValidators=this._composedAsyncValidatorFn=d}get parent(){return this._parent}get status(){return(0,s.O8t)(this.statusReactive)}set status(d){(0,s.O8t)(()=>this.statusReactive.set(d))}get valid(){return this.status===zn}get invalid(){return this.status===Wn}get pending(){return this.status==kr}get disabled(){return this.status===Lr}get enabled(){return this.status!==Lr}get pristine(){return(0,s.O8t)(this.pristineReactive)}set pristine(d){(0,s.O8t)(()=>this.pristineReactive.set(d))}get dirty(){return!this.pristine}get touched(){return(0,s.O8t)(this.touchedReactive)}set touched(d){(0,s.O8t)(()=>this.touchedReactive.set(d))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(d){this._assignValidators(d)}setAsyncValidators(d){this._assignAsyncValidators(d)}addValidators(d){this.setValidators(fr(d,this._rawValidators))}addAsyncValidators(d){this.setAsyncValidators(fr(d,this._rawAsyncValidators))}removeValidators(d){this.setValidators($t(d,this._rawValidators))}removeAsyncValidators(d){this.setAsyncValidators($t(d,this._rawAsyncValidators))}hasValidator(d){return rr(this._rawValidators,d)}hasAsyncValidator(d){return rr(this._rawAsyncValidators,d)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(d={}){const c=!1===this.touched;this.touched=!0;const C=d.sourceControl??this;this._parent&&!d.onlySelf&&this._parent.markAsTouched({...d,sourceControl:C}),c&&!1!==d.emitEvent&&this._events.next(new ae(!0,C))}markAllAsTouched(d={}){this.markAsTouched({onlySelf:!0,emitEvent:d.emitEvent,sourceControl:this}),this._forEachChild(c=>c.markAllAsTouched(d))}markAsUntouched(d={}){const c=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const C=d.sourceControl??this;this._forEachChild(I=>{I.markAsUntouched({onlySelf:!0,emitEvent:d.emitEvent,sourceControl:C})}),this._parent&&!d.onlySelf&&this._parent._updateTouched(d,C),c&&!1!==d.emitEvent&&this._events.next(new ae(!1,C))}markAsDirty(d={}){const c=!0===this.pristine;this.pristine=!1;const C=d.sourceControl??this;this._parent&&!d.onlySelf&&this._parent.markAsDirty({...d,sourceControl:C}),c&&!1!==d.emitEvent&&this._events.next(new he(!1,C))}markAsPristine(d={}){const c=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const C=d.sourceControl??this;this._forEachChild(I=>{I.markAsPristine({onlySelf:!0,emitEvent:d.emitEvent})}),this._parent&&!d.onlySelf&&this._parent._updatePristine(d,C),c&&!1!==d.emitEvent&&this._events.next(new he(!0,C))}markAsPending(d={}){this.status=kr;const c=d.sourceControl??this;!1!==d.emitEvent&&(this._events.next(new W(this.status,c)),this.statusChanges.emit(this.status)),this._parent&&!d.onlySelf&&this._parent.markAsPending({...d,sourceControl:c})}disable(d={}){const c=this._parentMarkedDirty(d.onlySelf);this.status=Lr,this.errors=null,this._forEachChild(I=>{I.disable({...d,onlySelf:!0})}),this._updateValue();const C=d.sourceControl??this;!1!==d.emitEvent&&(this._events.next(new un(this.value,C)),this._events.next(new W(this.status,C)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...d,skipPristineCheck:c},this),this._onDisabledChange.forEach(I=>I(!0))}enable(d={}){const c=this._parentMarkedDirty(d.onlySelf);this.status=zn,this._forEachChild(C=>{C.enable({...d,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:d.emitEvent}),this._updateAncestors({...d,skipPristineCheck:c},this),this._onDisabledChange.forEach(C=>C(!1))}_updateAncestors(d,c){this._parent&&!d.onlySelf&&(this._parent.updateValueAndValidity(d),d.skipPristineCheck||this._parent._updatePristine({},c),this._parent._updateTouched({},c))}setParent(d){this._parent=d}getRawValue(){return this.value}updateValueAndValidity(d={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const C=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===zn||this.status===kr)&&this._runAsyncValidator(C,d.emitEvent)}const c=d.sourceControl??this;!1!==d.emitEvent&&(this._events.next(new un(this.value,c)),this._events.next(new W(this.status,c)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!d.onlySelf&&this._parent.updateValueAndValidity({...d,sourceControl:c})}_updateTreeValidity(d={emitEvent:!0}){this._forEachChild(c=>c._updateTreeValidity(d)),this.updateValueAndValidity({onlySelf:!0,emitEvent:d.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Lr:zn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(d,c){if(this.asyncValidator){this.status=kr,this._hasOwnPendingAsyncValidator={emitEvent:!1!==c};const C=ot(this.asyncValidator(this));this._asyncValidationSubscription=C.subscribe(I=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(I,{emitEvent:c,shouldHaveEmitted:d})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const d=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,d}return!1}setErrors(d,c={}){this.errors=d,this._updateControlsErrors(!1!==c.emitEvent,this,c.shouldHaveEmitted)}get(d){let c=d;return null==c||(Array.isArray(c)||(c=c.split(".")),0===c.length)?null:c.reduce((C,I)=>C&&C._find(I),this)}getError(d,c){const C=c?this.get(c):this;return C&&C.errors?C.errors[d]:null}hasError(d,c){return!!this.getError(d,c)}get root(){let d=this;for(;d._parent;)d=d._parent;return d}_updateControlsErrors(d,c,C){this.status=this._calculateStatus(),d&&this.statusChanges.emit(this.status),(d||C)&&this._events.next(new W(this.status,c)),this._parent&&this._parent._updateControlsErrors(d,c,C)}_initObservables(){this.valueChanges=new s.bkB,this.statusChanges=new s.bkB}_calculateStatus(){return this._allControlsDisabled()?Lr:this.errors?Wn:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(kr)?kr:this._anyControlsHaveStatus(Wn)?Wn:zn}_anyControlsHaveStatus(d){return this._anyControls(c=>c.status===d)}_anyControlsDirty(){return this._anyControls(d=>d.dirty)}_anyControlsTouched(){return this._anyControls(d=>d.touched)}_updatePristine(d,c){const C=!this._anyControlsDirty(),I=this.pristine!==C;this.pristine=C,this._parent&&!d.onlySelf&&this._parent._updatePristine(d,c),I&&this._events.next(new he(this.pristine,c))}_updateTouched(d={},c){this.touched=this._anyControlsTouched(),this._events.next(new ae(this.touched,c)),this._parent&&!d.onlySelf&&this._parent._updateTouched(d,c)}_registerOnCollectionChange(d){this._onCollectionChange=d}_setUpdateStrategy(d){Bt(d)&&null!=d.updateOn&&(this._updateOn=d.updateOn)}_parentMarkedDirty(d){return!d&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(d){return null}_assignValidators(d){this._rawValidators=Array.isArray(d)?d.slice():d,this._composedValidatorFn=function lt(l){return Array.isArray(l)?Nn(l):l||null}(this._rawValidators)}_assignAsyncValidators(d){this._rawAsyncValidators=Array.isArray(d)?d.slice():d,this._composedAsyncValidatorFn=function tn(l){return Array.isArray(l)?ln(l):l||null}(this._rawAsyncValidators)}}class Er extends sr{constructor(d,c,C){super(Be(c),Dt(C,c)),this.controls=d,this._initObservables(),this._setUpdateStrategy(c),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(d,c){return this.controls[d]?this.controls[d]:(this.controls[d]=c,c.setParent(this),c._registerOnCollectionChange(this._onCollectionChange),c)}addControl(d,c,C={}){this.registerControl(d,c),this.updateValueAndValidity({emitEvent:C.emitEvent}),this._onCollectionChange()}removeControl(d,c={}){this.controls[d]&&this.controls[d]._registerOnCollectionChange(()=>{}),delete this.controls[d],this.updateValueAndValidity({emitEvent:c.emitEvent}),this._onCollectionChange()}setControl(d,c,C={}){this.controls[d]&&this.controls[d]._registerOnCollectionChange(()=>{}),delete this.controls[d],c&&this.registerControl(d,c),this.updateValueAndValidity({emitEvent:C.emitEvent}),this._onCollectionChange()}contains(d){return this.controls.hasOwnProperty(d)&&this.controls[d].enabled}setValue(d,c={}){Ut(this,0,d),Object.keys(d).forEach(C=>{Un(this,!0,C),this.controls[C].setValue(d[C],{onlySelf:!0,emitEvent:c.emitEvent})}),this.updateValueAndValidity(c)}patchValue(d,c={}){null!=d&&(Object.keys(d).forEach(C=>{const I=this.controls[C];I&&I.patchValue(d[C],{onlySelf:!0,emitEvent:c.emitEvent})}),this.updateValueAndValidity(c))}reset(d={},c={}){this._forEachChild((C,I)=>{C.reset(d?d[I]:null,{onlySelf:!0,emitEvent:c.emitEvent})}),this._updatePristine(c,this),this._updateTouched(c,this),this.updateValueAndValidity(c)}getRawValue(){return this._reduceChildren({},(d,c,C)=>(d[C]=c.getRawValue(),d))}_syncPendingControls(){let d=this._reduceChildren(!1,(c,C)=>!!C._syncPendingControls()||c);return d&&this.updateValueAndValidity({onlySelf:!0}),d}_forEachChild(d){Object.keys(this.controls).forEach(c=>{const C=this.controls[c];C&&d(C,c)})}_setUpControls(){this._forEachChild(d=>{d.setParent(this),d._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(d){for(const[c,C]of Object.entries(this.controls))if(this.contains(c)&&d(C))return!0;return!1}_reduceValue(){return this._reduceChildren({},(c,C,I)=>((C.enabled||this.disabled)&&(c[I]=C.value),c))}_reduceChildren(d,c){let C=d;return this._forEachChild((I,ee)=>{C=c(C,I,ee)}),C}_allControlsDisabled(){for(const d of Object.keys(this.controls))if(this.controls[d].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(d){return this.controls.hasOwnProperty(d)?this.controls[d]:null}}class mi extends Er{}const jn=new s.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>Dr}),Dr="always";function Gt(l,d){return[...d.path,l]}function Mr(l,d,c=Dr){Zn(l,d),d.valueAccessor.writeValue(l.value),(l.disabled||"always"===c)&&d.valueAccessor.setDisabledState?.(l.disabled),function Ii(l,d){d.valueAccessor.registerOnChange(c=>{l._pendingValue=c,l._pendingChange=!0,l._pendingDirty=!0,"change"===l.updateOn&&$r(l,d)})}(l,d),function yt(l,d){const c=(C,I)=>{d.valueAccessor.writeValue(C),I&&d.viewToModelUpdate(C)};l.registerOnChange(c),d._registerOnDestroy(()=>{l._unregisterOnChange(c)})}(l,d),function zi(l,d){d.valueAccessor.registerOnTouched(()=>{l._pendingTouched=!0,"blur"===l.updateOn&&l._pendingChange&&$r(l,d),"submit"!==l.updateOn&&l.markAsTouched()})}(l,d),function jr(l,d){if(d.valueAccessor.setDisabledState){const c=C=>{d.valueAccessor.setDisabledState(C)};l.registerOnDisabledChange(c),d._registerOnDestroy(()=>{l._unregisterOnDisabledChange(c)})}}(l,d)}function Ur(l,d,c=!0){const C=()=>{};d.valueAccessor&&(d.valueAccessor.registerOnChange(C),d.valueAccessor.registerOnTouched(C)),Br(l,d),l&&(d._invokeOnDestroyCallbacks(),l._registerOnCollectionChange(()=>{}))}function Kn(l,d){l.forEach(c=>{c.registerOnValidatorChange&&c.registerOnValidatorChange(d)})}function Zn(l,d){const c=Gn(l);null!==d.validator?l.setValidators(cn(c,d.validator)):"function"==typeof c&&l.setValidators([c]);const C=Rn(l);null!==d.asyncValidator?l.setAsyncValidators(cn(C,d.asyncValidator)):"function"==typeof C&&l.setAsyncValidators([C]);const I=()=>l.updateValueAndValidity();Kn(d._rawValidators,I),Kn(d._rawAsyncValidators,I)}function Br(l,d){let c=!1;if(null!==l){if(null!==d.validator){const I=Gn(l);if(Array.isArray(I)&&I.length>0){const ee=I.filter(re=>re!==d.validator);ee.length!==I.length&&(c=!0,l.setValidators(ee))}}if(null!==d.asyncValidator){const I=Rn(l);if(Array.isArray(I)&&I.length>0){const ee=I.filter(re=>re!==d.asyncValidator);ee.length!==I.length&&(c=!0,l.setAsyncValidators(ee))}}}const C=()=>{};return Kn(d._rawValidators,C),Kn(d._rawAsyncValidators,C),c}function $r(l,d){l._pendingDirty&&l.markAsDirty(),l.setValue(l._pendingValue,{emitModelToViewChange:!1}),d.viewToModelUpdate(l._pendingValue),l._pendingChange=!1}function dn(l,d){Zn(l,d)}function ce(l,d){if(!l.hasOwnProperty("model"))return!1;const c=l.model;return!!c.isFirstChange()||!Object.is(d,c.currentValue)}function Pe(l,d){l._syncPendingControls(),d.forEach(c=>{const C=c.control;"submit"===C.updateOn&&C._pendingChange&&(c.viewToModelUpdate(C._pendingValue),C._pendingChange=!1)})}function xe(l,d){if(!d)return null;let c,C,I;return Array.isArray(d),d.forEach(ee=>{ee.constructor===Fe?c=ee:function Ce(l){return Object.getPrototypeOf(l.constructor)===B}(ee)?C=ee:I=ee}),I||C||c||null}const zt={provide:en,useExisting:(0,s.Rfq)(()=>Kt)},Wt=Promise.resolve();let Kt=(()=>{class l extends en{get submitted(){return(0,s.O8t)(this.submittedReactive)}constructor(c,C,I){super(),this.callSetDisabledState=I,this._submitted=(0,s.EWP)(()=>this.submittedReactive()),this.submittedReactive=(0,s.vPA)(!1),this._directives=new Set,this.ngSubmit=new s.bkB,this.form=new Er({},Nn(c),ln(C))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(c){Wt.then(()=>{const C=this._findContainer(c.path);c.control=C.registerControl(c.name,c.control),Mr(c.control,c,this.callSetDisabledState),c.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(c)})}getControl(c){return this.form.get(c.path)}removeControl(c){Wt.then(()=>{const C=this._findContainer(c.path);C&&C.removeControl(c.name),this._directives.delete(c)})}addFormGroup(c){Wt.then(()=>{const C=this._findContainer(c.path),I=new Er({});dn(I,c),C.registerControl(c.name,I),I.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(c){Wt.then(()=>{const C=this._findContainer(c.path);C&&C.removeControl(c.name)})}getFormGroup(c){return this.form.get(c.path)}updateModel(c,C){Wt.then(()=>{this.form.get(c.path).setValue(C)})}setValue(c){this.control.setValue(c)}onSubmit(c){return this.submittedReactive.set(!0),Pe(this.form,this._directives),this.ngSubmit.emit(c),"dialog"===c?.target?.method}onReset(){this.resetForm()}resetForm(c=void 0){this.form.reset(c),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(c){return c.pop(),c.length?this.form.get(c):this.form}static#e=this.\u0275fac=function(C){return new(C||l)(s.rXU(We,10),s.rXU(Ke,10),s.rXU(jn,8))};static#t=this.\u0275dir=s.FsC({type:l,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(C,I){1&C&&s.bIt("submit",function(re){return I.onSubmit(re)})("reset",function(){return I.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[s.Jv_([zt]),s.Vt3]})}return l})();function pn(l,d){const c=l.indexOf(d);c>-1&&l.splice(c,1)}function Qt(l){return"object"==typeof l&&null!==l&&2===Object.keys(l).length&&"value"in l&&"disabled"in l}const x=class extends sr{constructor(d=null,c,C){super(Be(c),Dt(C,c)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(d),this._setUpdateStrategy(c),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Bt(c)&&(c.nonNullable||c.initialValueIsDefault)&&(this.defaultValue=Qt(d)?d.value:d)}setValue(d,c={}){this.value=this._pendingValue=d,this._onChange.length&&!1!==c.emitModelToViewChange&&this._onChange.forEach(C=>C(this.value,!1!==c.emitViewToModelChange)),this.updateValueAndValidity(c)}patchValue(d,c={}){this.setValue(d,c)}reset(d=this.defaultValue,c={}){this._applyFormState(d),this.markAsPristine(c),this.markAsUntouched(c),this.setValue(this.value,c),this._pendingChange=!1}_updateValue(){}_anyControls(d){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(d){this._onChange.push(d)}_unregisterOnChange(d){pn(this._onChange,d)}registerOnDisabledChange(d){this._onDisabledChange.push(d)}_unregisterOnDisabledChange(d){pn(this._onDisabledChange,d)}_forEachChild(d){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(d){Qt(d)?(this.value=this._pendingValue=d.value,d.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=d}},Ki={provide:_n,useExisting:(0,s.Rfq)(()=>bo)},Mo=Promise.resolve();let bo=(()=>{class l extends _n{constructor(c,C,I,ee,re,Ne){super(),this._changeDetectorRef=re,this.callSetDisabledState=Ne,this.control=new x,this._registered=!1,this.name="",this.update=new s.bkB,this._parent=c,this._setValidators(C),this._setAsyncValidators(I),this.valueAccessor=xe(0,ee)}ngOnChanges(c){if(this._checkForErrors(),!this._registered||"name"in c){if(this._registered&&(this._checkName(),this.formDirective)){const C=c.name.previousValue;this.formDirective.removeControl({name:C,path:this._getPath(C)})}this._setUpControl()}"isDisabled"in c&&this._updateDisabled(c),ce(c,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(c){this.viewModel=c,this.update.emit(c)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Mr(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(c){Mo.then(()=>{this.control.setValue(c,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(c){const C=c.isDisabled.currentValue,I=0!==C&&(0,s.L39)(C);Mo.then(()=>{I&&!this.control.disabled?this.control.disable():!I&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(c){return this._parent?Gt(c,this._parent):[c]}static#e=this.\u0275fac=function(C){return new(C||l)(s.rXU(en,9),s.rXU(We,10),s.rXU(Ke,10),s.rXU(X,10),s.rXU(s.gRc,8),s.rXU(jn,8))};static#t=this.\u0275dir=s.FsC({type:l,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[s.Jv_([Ki]),s.Vt3,s.OA$]})}return l})(),fs=(()=>{class l{static#e=this.\u0275fac=function(C){return new(C||l)};static#t=this.\u0275dir=s.FsC({type:l,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return l})();const pr=new s.nKC(""),To={provide:en,useExisting:(0,s.Rfq)(()=>ho)};let ho=(()=>{class l extends en{get submitted(){return(0,s.O8t)(this._submittedReactive)}set submitted(c){this._submittedReactive.set(c)}constructor(c,C,I){super(),this.callSetDisabledState=I,this._submitted=(0,s.EWP)(()=>this._submittedReactive()),this._submittedReactive=(0,s.vPA)(!1),this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new s.bkB,this._setValidators(c),this._setAsyncValidators(C)}ngOnChanges(c){this._checkFormPresent(),c.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Br(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(c){const C=this.form.get(c.path);return Mr(C,c,this.callSetDisabledState),C.updateValueAndValidity({emitEvent:!1}),this.directives.push(c),C}getControl(c){return this.form.get(c.path)}removeControl(c){Ur(c.control||null,c,!1),function Ze(l,d){const c=l.indexOf(d);c>-1&&l.splice(c,1)}(this.directives,c)}addFormGroup(c){this._setUpFormContainer(c)}removeFormGroup(c){this._cleanUpFormContainer(c)}getFormGroup(c){return this.form.get(c.path)}addFormArray(c){this._setUpFormContainer(c)}removeFormArray(c){this._cleanUpFormContainer(c)}getFormArray(c){return this.form.get(c.path)}updateModel(c,C){this.form.get(c.path).setValue(C)}onSubmit(c){return this._submittedReactive.set(!0),Pe(this.form,this.directives),this.ngSubmit.emit(c),this.form._events.next(new te(this.control)),"dialog"===c?.target?.method}onReset(){this.resetForm()}resetForm(c=void 0){this.form.reset(c),this._submittedReactive.set(!1),this.form._events.next(new _e(this.form))}_updateDomValue(){this.directives.forEach(c=>{const C=c.control,I=this.form.get(c.path);C!==I&&(Ur(C||null,c),(l=>l instanceof x)(I)&&(Mr(I,c,this.callSetDisabledState),c.control=I))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(c){const C=this.form.get(c.path);dn(C,c),C.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(c){if(this.form){const C=this.form.get(c.path);C&&function ai(l,d){return Br(l,d)}(C,c)&&C.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Zn(this.form,this),this._oldForm&&Br(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(C){return new(C||l)(s.rXU(We,10),s.rXU(Ke,10),s.rXU(jn,8))};static#t=this.\u0275dir=s.FsC({type:l,selectors:[["","formGroup",""]],hostBindings:function(C,I){1&C&&s.bIt("submit",function(re){return I.onSubmit(re)})("reset",function(){return I.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[s.Jv_([To]),s.Vt3,s.OA$]})}return l})();const Wo={provide:_n,useExisting:(0,s.Rfq)(()=>li)};let li=(()=>{class l extends _n{set isDisabled(c){}static#e=this._ngModelWarningSentOnce=!1;constructor(c,C,I,ee,re){super(),this._ngModelWarningConfig=re,this._added=!1,this.name=null,this.update=new s.bkB,this._ngModelWarningSent=!1,this._parent=c,this._setValidators(C),this._setAsyncValidators(I),this.valueAccessor=xe(0,ee)}ngOnChanges(c){this._added||this._setUpControl(),ce(c,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(c){this.viewModel=c,this.update.emit(c)}get path(){return Gt(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.\u0275fac=function(C){return new(C||l)(s.rXU(en,13),s.rXU(We,10),s.rXU(Ke,10),s.rXU(X,10),s.rXU(pr,8))};static#n=this.\u0275dir=s.FsC({type:l,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[s.Jv_([Wo]),s.Vt3,s.OA$]})}return l})(),gs=(()=>{class l{static#e=this.\u0275fac=function(C){return new(C||l)};static#t=this.\u0275mod=s.$C({type:l});static#n=this.\u0275inj=s.G2t({})}return l})();class Ao extends sr{constructor(d,c,C){super(Be(c),Dt(C,c)),this.controls=d,this._initObservables(),this._setUpdateStrategy(c),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(d){return this.controls[this._adjustIndex(d)]}push(d,c={}){this.controls.push(d),this._registerControl(d),this.updateValueAndValidity({emitEvent:c.emitEvent}),this._onCollectionChange()}insert(d,c,C={}){this.controls.splice(d,0,c),this._registerControl(c),this.updateValueAndValidity({emitEvent:C.emitEvent})}removeAt(d,c={}){let C=this._adjustIndex(d);C<0&&(C=0),this.controls[C]&&this.controls[C]._registerOnCollectionChange(()=>{}),this.controls.splice(C,1),this.updateValueAndValidity({emitEvent:c.emitEvent})}setControl(d,c,C={}){let I=this._adjustIndex(d);I<0&&(I=0),this.controls[I]&&this.controls[I]._registerOnCollectionChange(()=>{}),this.controls.splice(I,1),c&&(this.controls.splice(I,0,c),this._registerControl(c)),this.updateValueAndValidity({emitEvent:C.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(d,c={}){Ut(this,0,d),d.forEach((C,I)=>{Un(this,!1,I),this.at(I).setValue(C,{onlySelf:!0,emitEvent:c.emitEvent})}),this.updateValueAndValidity(c)}patchValue(d,c={}){null!=d&&(d.forEach((C,I)=>{this.at(I)&&this.at(I).patchValue(C,{onlySelf:!0,emitEvent:c.emitEvent})}),this.updateValueAndValidity(c))}reset(d=[],c={}){this._forEachChild((C,I)=>{C.reset(d[I],{onlySelf:!0,emitEvent:c.emitEvent})}),this._updatePristine(c,this),this._updateTouched(c,this),this.updateValueAndValidity(c)}getRawValue(){return this.controls.map(d=>d.getRawValue())}clear(d={}){this.controls.length<1||(this._forEachChild(c=>c._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:d.emitEvent}))}_adjustIndex(d){return d<0?d+this.length:d}_syncPendingControls(){let d=this.controls.reduce((c,C)=>!!C._syncPendingControls()||c,!1);return d&&this.updateValueAndValidity({onlySelf:!0}),d}_forEachChild(d){this.controls.forEach((c,C)=>{d(c,C)})}_updateValue(){this.value=this.controls.filter(d=>d.enabled||this.disabled).map(d=>d.value)}_anyControls(d){return this.controls.some(c=>c.enabled&&d(c))}_setUpControls(){this._forEachChild(d=>this._registerControl(d))}_allControlsDisabled(){for(const d of this.controls)if(d.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(d){d.setParent(this),d._registerOnCollectionChange(this._onCollectionChange)}_find(d){return this.at(d)??null}}function Yr(l){return!!l&&(void 0!==l.asyncValidators||void 0!==l.validators||void 0!==l.updateOn)}let yr=(()=>{class l{constructor(){this.useNonNullable=!1}get nonNullable(){const c=new l;return c.useNonNullable=!0,c}group(c,C=null){const I=this._reduceControls(c);let ee={};return Yr(C)?ee=C:null!==C&&(ee.validators=C.validator,ee.asyncValidators=C.asyncValidator),new Er(I,ee)}record(c,C=null){const I=this._reduceControls(c);return new mi(I,C)}control(c,C,I){let ee={};return this.useNonNullable?(Yr(C)?ee=C:(ee.validators=C,ee.asyncValidators=I),new x(c,{...ee,nonNullable:!0})):new x(c,C,I)}array(c,C,I){const ee=c.map(re=>this._createControl(re));return new Ao(ee,C,I)}_reduceControls(c){const C={};return Object.keys(c).forEach(I=>{C[I]=this._createControl(c[I])}),C}_createControl(c){return c instanceof x||c instanceof sr?c:Array.isArray(c)?this.control(c[0],c.length>1?c[1]:null,c.length>2?c[2]:null):this.control(c)}static#e=this.\u0275fac=function(C){return new(C||l)};static#t=this.\u0275prov=s.jDH({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})(),Os=(()=>{class l extends yr{group(c,C=null){return super.group(c,C)}control(c,C,I){return super.control(c,C,I)}array(c,C,I){return super.array(c,C,I)}static#e=this.\u0275fac=(()=>{let c;return function(I){return(c||(c=s.xGo(l)))(I||l)}})();static#t=this.\u0275prov=s.jDH({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})(),f=(()=>{class l{static withConfig(c){return{ngModule:l,providers:[{provide:jn,useValue:c.callSetDisabledState??Dr}]}}static#e=this.\u0275fac=function(C){return new(C||l)};static#t=this.\u0275mod=s.$C({type:l});static#n=this.\u0275inj=s.G2t({imports:[gs]})}return l})(),y=(()=>{class l{static withConfig(c){return{ngModule:l,providers:[{provide:pr,useValue:c.warnOnNgModelWithFormControl??"always"},{provide:jn,useValue:c.callSetDisabledState??Dr}]}}static#e=this.\u0275fac=function(C){return new(C||l)};static#t=this.\u0275mod=s.$C({type:l});static#n=this.\u0275inj=s.G2t({imports:[gs]})}return l})()},728:(H,k,D)=>{"use strict";D.d(k,{wb:()=>Yr});var s=D(3953),b=D(345),O=D(9969);function N(L){return new s.wOt(3e3,!1)}function Gn(L){switch(L.length){case 0:return new O.sf;case 1:return L[0];default:return new O.ui(L)}}function Rn(L,f,y=new Map,l=new Map){const d=[],c=[];let C=-1,I=null;if(f.forEach(ee=>{const re=ee.get("offset"),Ne=re==C,ye=Ne&&I||new Map;ee.forEach((Pt,Mt)=>{let rt=Mt,ht=Pt;if("offset"!==Mt)switch(rt=L.normalizePropertyName(rt,d),ht){case O.FX:ht=y.get(Mt);break;case O.kp:ht=l.get(Mt);break;default:ht=L.normalizeStyleValue(Mt,rt,ht,d)}ye.set(rt,ht)}),Ne||c.push(ye),I=ye,C=re}),d.length)throw function de(){return new s.wOt(3502,!1)}();return c}function nr(L,f,y,l){switch(f){case"start":L.onStart(()=>l(y&&rr(y,"start",L)));break;case"done":L.onDone(()=>l(y&&rr(y,"done",L)));break;case"destroy":L.onDestroy(()=>l(y&&rr(y,"destroy",L)))}}function rr(L,f,y){const c=fr(L.element,L.triggerName,L.fromState,L.toState,f||L.phaseName,y.totalTime??L.totalTime,!!y.disabled),C=L._data;return null!=C&&(c._data=C),c}function fr(L,f,y,l,d="",c=0,C){return{element:L,triggerName:f,fromState:y,toState:l,phaseName:d,totalTime:c,disabled:!!C}}function $t(L,f,y){let l=L.get(f);return l||L.set(f,l=y),l}function Kr(L){const f=L.indexOf(":");return[L.substring(1,f),L.slice(f+1)]}const en=typeof document>"u"?null:document.documentElement;function _n(L){const f=L.parentNode||L.host||null;return f===en?null:f}let sn=null,Cr=!1;function Fn(L,f){for(;f;){if(f===L)return!0;f=_n(f)}return!1}function Et(L,f,y){if(y)return Array.from(L.querySelectorAll(f));const l=L.querySelector(f);return l?[l]:[]}let Xn=(()=>{class L{validateStyleProperty(y){return function ir(L){sn||(sn=function or(){return typeof document<"u"?document.body:null}()||{},Cr=!!sn.style&&"WebkitAppearance"in sn.style);let f=!0;return sn.style&&!function oi(L){return"ebkit"==L.substring(1,6)}(L)&&(f=L in sn.style,!f&&Cr&&(f="Webkit"+L.charAt(0).toUpperCase()+L.slice(1)in sn.style)),f}(y)}containsElement(y,l){return Fn(y,l)}getParentElement(y){return _n(y)}query(y,l,d){return Et(y,l,d)}computeStyle(y,l,d){return d||""}animate(y,l,d,c,C,I=[],ee){return new O.sf(d,c)}static#e=this.\u0275fac=function(l){return new(l||L)};static#t=this.\u0275prov=s.jDH({token:L,factory:L.\u0275fac})}return L})();class gt{static#e=this.NOOP=new Xn}class Re{}const Fr=1e3,mt="ng-enter",Vn="ng-leave",Rt="ng-trigger",gi=".ng-trigger",st="ng-animating",At=".ng-animating";function kn(L){if("number"==typeof L)return L;const f=L.match(/^(-?[\.\d]+)(m?s)/);return!f||f.length<2?0:zn(parseFloat(f[1]),f[2])}function zn(L,f){return"s"===f?L*Fr:L}function Wn(L,f,y){return L.hasOwnProperty("duration")?L:function kr(L,f,y){let d,c=0,C="";if("string"==typeof L){const I=L.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===I)return f.push(N()),{duration:0,delay:0,easing:""};d=zn(parseFloat(I[1]),I[2]);const ee=I[3];null!=ee&&(c=zn(parseFloat(ee),I[4]));const re=I[5];re&&(C=re)}else d=L;if(!y){let I=!1,ee=f.length;d<0&&(f.push(function j(){return new s.wOt(3100,!1)}()),I=!0),c<0&&(f.push(function $(){return new s.wOt(3101,!1)}()),I=!0),I&&f.splice(ee,0,N())}return{duration:d,delay:c,easing:C}}(L,f,y)}function un(L,f,y){f.forEach((l,d)=>{const c=Dt(d);y&&!y.has(d)&&y.set(d,L.style[c]),L.style[c]=l})}function he(L,f){f.forEach((y,l)=>{const d=Dt(l);L.style[d]=""})}function ae(L){return Array.isArray(L)?1==L.length?L[0]:(0,O.K2)(L):L}const te=new RegExp("{{\\s*(.+?)\\s*}}","g");function _e(L){let f=[];if("string"==typeof L){let y;for(;y=te.exec(L);)f.push(y[1]);te.lastIndex=0}return f}function Be(L,f,y){const l=`${L}`,d=l.replace(te,(c,C)=>{let I=f[C];return null==I&&(y.push(function X(){return new s.wOt(3003,!1)}()),I=""),I.toString()});return d==l?L:d}const lt=/-+([a-z0-9])/g;function Dt(L){return L.replace(lt,(...f)=>f[1].toUpperCase())}function Ut(L,f,y){switch(f.type){case O.If.Trigger:return L.visitTrigger(f,y);case O.If.State:return L.visitState(f,y);case O.If.Transition:return L.visitTransition(f,y);case O.If.Sequence:return L.visitSequence(f,y);case O.If.Group:return L.visitGroup(f,y);case O.If.Animate:return L.visitAnimate(f,y);case O.If.Keyframes:return L.visitKeyframes(f,y);case O.If.Style:return L.visitStyle(f,y);case O.If.Reference:return L.visitReference(f,y);case O.If.AnimateChild:return L.visitAnimateChild(f,y);case O.If.AnimateRef:return L.visitAnimateRef(f,y);case O.If.Query:return L.visitQuery(f,y);case O.If.Stagger:return L.visitStagger(f,y);default:throw function J(){return new s.wOt(3004,!1)}()}}function sr(L,f){return window.getComputedStyle(L)[f]}const Er=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class Vr extends Re{normalizePropertyName(f,y){return Dt(f)}normalizeStyleValue(f,y,l,d){let c="";const C=l.toString().trim();if(Er.has(y)&&0!==l&&"0"!==l)if("number"==typeof l)c="px";else{const I=l.match(/^[+-]?[\d\.]+([a-z]*)$/);I&&0==I[1].length&&d.push(function oe(){return new s.wOt(3005,!1)}())}return C+c}}const Gt="*";const jr=new Set(["true","1"]),Zn=new Set(["false","0"]);function Br(L,f){const y=jr.has(L)||Zn.has(L),l=jr.has(f)||Zn.has(f);return(d,c)=>{let C=L==Gt||L==d,I=f==Gt||f==c;return!C&&y&&"boolean"==typeof d&&(C=d?jr.has(L):Zn.has(L)),!I&&l&&"boolean"==typeof c&&(I=c?jr.has(f):Zn.has(f)),C&&I}}const zi=new RegExp("s*:selfs*,?","g");function $r(L,f,y,l){return new dn(L).build(f,y,l)}class dn{constructor(f){this._driver=f}build(f,y,l){const d=new bn(y);return this._resetContextStyleTimingState(d),Ut(this,ae(f),d)}_resetContextStyleTimingState(f){f.currentQuerySelector="",f.collectedStyles=new Map,f.collectedStyles.set("",new Map),f.currentTime=0}visitTrigger(f,y){let l=y.queryCount=0,d=y.depCount=0;const c=[],C=[];return"@"==f.name.charAt(0)&&y.errors.push(function ge(){return new s.wOt(3006,!1)}()),f.definitions.forEach(I=>{if(this._resetContextStyleTimingState(y),I.type==O.If.State){const ee=I,re=ee.name;re.toString().split(/\s*,\s*/).forEach(Ne=>{ee.name=Ne,c.push(this.visitState(ee,y))}),ee.name=re}else if(I.type==O.If.Transition){const ee=this.visitTransition(I,y);l+=ee.queryCount,d+=ee.depCount,C.push(ee)}else y.errors.push(function be(){return new s.wOt(3007,!1)}())}),{type:O.If.Trigger,name:f.name,states:c,transitions:C,queryCount:l,depCount:d,options:null}}visitState(f,y){const l=this.visitStyle(f.styles,y),d=f.options&&f.options.params||null;if(l.containsDynamicStyles){const c=new Set,C=d||{};l.styles.forEach(I=>{I instanceof Map&&I.forEach(ee=>{_e(ee).forEach(re=>{C.hasOwnProperty(re)||c.add(re)})})}),c.size&&y.errors.push(function Oe(){return new s.wOt(3008,!1)}(0,c.values()))}return{type:O.If.State,name:f.name,style:l,options:d?{params:d}:null}}visitTransition(f,y){y.queryCount=0,y.depCount=0;const l=Ut(this,ae(f.animation),y),d=function Mr(L,f){const y=[];return"string"==typeof L?L.split(/\s*,\s*/).forEach(l=>function Ur(L,f,y){if(":"==L[0]){const ee=function Kn(L,f){switch(L){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(y,l)=>parseFloat(l)>parseFloat(y);case":decrement":return(y,l)=>parseFloat(l)<parseFloat(y);default:return f.push(function pe(){return new s.wOt(3016,!1)}()),"* => *"}}(L,y);if("function"==typeof ee)return void f.push(ee);L=ee}const l=L.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==l||l.length<4)return y.push(function se(){return new s.wOt(3015,!1)}()),f;const d=l[1],c=l[2],C=l[3];f.push(Br(d,C)),"<"==c[0]&&(d!=Gt||C!=Gt)&&f.push(Br(C,d))}(l,y,f)):y.push(L),y}(f.expr,y.errors);return{type:O.If.Transition,matchers:d,animation:l,queryCount:y.queryCount,depCount:y.depCount,options:K(f.options)}}visitSequence(f,y){return{type:O.If.Sequence,steps:f.steps.map(l=>Ut(this,l,y)),options:K(f.options)}}visitGroup(f,y){const l=y.currentTime;let d=0;const c=f.steps.map(C=>{y.currentTime=l;const I=Ut(this,C,y);return d=Math.max(d,y.currentTime),I});return y.currentTime=d,{type:O.If.Group,steps:c,options:K(f.options)}}visitAnimate(f,y){const l=function Q(L,f){if(L.hasOwnProperty("duration"))return L;if("number"==typeof L)return ce(Wn(L,f).duration,0,"");const y=L;if(y.split(/\s+/).some(c=>"{"==c.charAt(0)&&"{"==c.charAt(1))){const c=ce(0,0,"");return c.dynamic=!0,c.strValue=y,c}const d=Wn(y,f);return ce(d.duration,d.delay,d.easing)}(f.timings,y.errors);y.currentAnimateTimings=l;let d,c=f.styles?f.styles:(0,O.iF)({});if(c.type==O.If.Keyframes)d=this.visitKeyframes(c,y);else{let C=f.styles,I=!1;if(!C){I=!0;const re={};l.easing&&(re.easing=l.easing),C=(0,O.iF)(re)}y.currentTime+=l.duration+l.delay;const ee=this.visitStyle(C,y);ee.isEmptyStep=I,d=ee}return y.currentAnimateTimings=null,{type:O.If.Animate,timings:l,style:d,options:null}}visitStyle(f,y){const l=this._makeStyleAst(f,y);return this._validateStyleAst(l,y),l}_makeStyleAst(f,y){const l=[],d=Array.isArray(f.styles)?f.styles:[f.styles];for(let I of d)"string"==typeof I?I===O.kp?l.push(I):y.errors.push(new s.wOt(3002,!1)):l.push(new Map(Object.entries(I)));let c=!1,C=null;return l.forEach(I=>{if(I instanceof Map&&(I.has("easing")&&(C=I.get("easing"),I.delete("easing")),!c))for(let ee of I.values())if(ee.toString().indexOf("{{")>=0){c=!0;break}}),{type:O.If.Style,styles:l,easing:C,offset:f.offset,containsDynamicStyles:c,options:null}}_validateStyleAst(f,y){const l=y.currentAnimateTimings;let d=y.currentTime,c=y.currentTime;l&&c>0&&(c-=l.duration+l.delay),f.styles.forEach(C=>{"string"!=typeof C&&C.forEach((I,ee)=>{const re=y.collectedStyles.get(y.currentQuerySelector),Ne=re.get(ee);let ye=!0;Ne&&(c!=d&&c>=Ne.startTime&&d<=Ne.endTime&&(y.errors.push(function ze(){return new s.wOt(3010,!1)}()),ye=!1),c=Ne.startTime),ye&&re.set(ee,{startTime:c,endTime:d}),y.options&&function W(L,f,y){const l=f.params||{},d=_e(L);d.length&&d.forEach(c=>{l.hasOwnProperty(c)||y.push(function B(){return new s.wOt(3001,!1)}())})}(I,y.options,y.errors)})})}visitKeyframes(f,y){const l={type:O.If.Keyframes,styles:[],options:null};if(!y.currentAnimateTimings)return y.errors.push(function We(){return new s.wOt(3011,!1)}()),l;let c=0;const C=[];let I=!1,ee=!1,re=0;const Ne=f.steps.map(dt=>{const Tn=this._makeStyleAst(dt,y);let mn=null!=Tn.offset?Tn.offset:function V(L){if("string"==typeof L)return null;let f=null;if(Array.isArray(L))L.forEach(y=>{if(y instanceof Map&&y.has("offset")){const l=y;f=parseFloat(l.get("offset")),l.delete("offset")}});else if(L instanceof Map&&L.has("offset")){const y=L;f=parseFloat(y.get("offset")),y.delete("offset")}return f}(Tn.styles),In=0;return null!=mn&&(c++,In=Tn.offset=mn),ee=ee||In<0||In>1,I=I||In<re,re=In,C.push(In),Tn});ee&&y.errors.push(function Ke(){return new s.wOt(3012,!1)}()),I&&y.errors.push(function vt(){return new s.wOt(3200,!1)}());const ye=f.steps.length;let Pt=0;c>0&&c<ye?y.errors.push(function _t(){return new s.wOt(3202,!1)}()):0==c&&(Pt=1/(ye-1));const Mt=ye-1,rt=y.currentTime,ht=y.currentAnimateTimings,on=ht.duration;return Ne.forEach((dt,Tn)=>{const mn=Pt>0?Tn==Mt?1:Pt*Tn:C[Tn],In=mn*on;y.currentTime=rt+ht.delay+In,ht.duration=In,this._validateStyleAst(dt,y),dt.offset=mn,l.styles.push(dt)}),l}visitReference(f,y){return{type:O.If.Reference,animation:Ut(this,ae(f.animation),y),options:K(f.options)}}visitAnimateChild(f,y){return y.depCount++,{type:O.If.AnimateChild,options:K(f.options)}}visitAnimateRef(f,y){return{type:O.If.AnimateRef,animation:this.visitReference(f.animation,y),options:K(f.options)}}visitQuery(f,y){const l=y.currentQuerySelector,d=f.options||{};y.queryCount++,y.currentQuery=f;const[c,C]=function ai(L){const f=!!L.split(/\s*,\s*/).find(y=>":self"==y);return f&&(L=L.replace(zi,"")),L=L.replace(/@\*/g,gi).replace(/@\w+/g,y=>gi+"-"+y.slice(1)).replace(/:animating/g,At),[L,f]}(f.selector);y.currentQuerySelector=l.length?l+" "+c:c,$t(y.collectedStyles,y.currentQuerySelector,new Map);const I=Ut(this,ae(f.animation),y);return y.currentQuery=null,y.currentQuerySelector=l,{type:O.If.Query,selector:c,limit:d.limit||0,optional:!!d.optional,includeSelf:C,animation:I,originalSelector:f.selector,options:K(f.options)}}visitStagger(f,y){y.currentQuery||y.errors.push(function ut(){return new s.wOt(3013,!1)}());const l="full"===f.timings?{duration:0,delay:0,easing:"full"}:Wn(f.timings,y.errors,!0);return{type:O.If.Stagger,animation:Ut(this,ae(f.animation),y),timings:l,options:null}}}class bn{constructor(f){this.errors=f,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function K(L){return L?(L={...L}).params&&(L.params=function Jn(L){return L?{...L}:null}(L.params)):L={},L}function ce(L,f,y){return{duration:L,delay:f,easing:y}}function Ce(L,f,y,l,d,c,C=null,I=!1){return{type:1,element:L,keyframes:f,preStyleProps:y,postStyleProps:l,duration:d,delay:c,totalTime:d+c,easing:C,subTimeline:I}}class Pe{constructor(){this._map=new Map}get(f){return this._map.get(f)||[]}append(f,y){let l=this._map.get(f);l||this._map.set(f,l=[]),l.push(...y)}has(f){return this._map.has(f)}clear(){this._map.clear()}}const Xe=new RegExp(":enter","g"),Wt=new RegExp(":leave","g");function Kt(L,f,y,l,d,c=new Map,C=new Map,I,ee,re=[]){return(new pn).buildKeyframes(L,f,y,l,d,c,C,I,ee,re)}class pn{buildKeyframes(f,y,l,d,c,C,I,ee,re,Ne=[]){re=re||new Pe;const ye=new x(f,y,re,d,c,Ne,[]);ye.options=ee;const Pt=ee.delay?kn(ee.delay):0;ye.currentTimeline.delayNextStep(Pt),ye.currentTimeline.setStyles([C],null,ye.errors,ee),Ut(this,l,ye);const Mt=ye.timelines.filter(rt=>rt.containsAnimation());if(Mt.length&&I.size){let rt;for(let ht=Mt.length-1;ht>=0;ht--){const on=Mt[ht];if(on.element===y){rt=on;break}}rt&&!rt.allowOnlyTimelineStyles()&&rt.setStyles([I],null,ye.errors,ee)}return Mt.length?Mt.map(rt=>rt.buildKeyframes()):[Ce(y,[],[],[],0,Pt,"",!1)]}visitTrigger(f,y){}visitState(f,y){}visitTransition(f,y){}visitAnimateChild(f,y){const l=y.subInstructions.get(y.element);if(l){const d=y.createSubContext(f.options),c=y.currentTimeline.currentTime,C=this._visitSubInstructions(l,d,d.options);c!=C&&y.transformIntoNewTimeline(C)}y.previousNode=f}visitAnimateRef(f,y){const l=y.createSubContext(f.options);l.transformIntoNewTimeline(),this._applyAnimationRefDelays([f.options,f.animation.options],y,l),this.visitReference(f.animation,l),y.transformIntoNewTimeline(l.currentTimeline.currentTime),y.previousNode=f}_applyAnimationRefDelays(f,y,l){for(const d of f){const c=d?.delay;if(c){const C="number"==typeof c?c:kn(Be(c,d?.params??{},y.errors));l.delayNextStep(C)}}}_visitSubInstructions(f,y,l){let c=y.currentTimeline.currentTime;const C=null!=l.duration?kn(l.duration):null,I=null!=l.delay?kn(l.delay):null;return 0!==C&&f.forEach(ee=>{const re=y.appendInstructionToTimeline(ee,C,I);c=Math.max(c,re.duration+re.delay)}),c}visitReference(f,y){y.updateOptions(f.options,!0),Ut(this,f.animation,y),y.previousNode=f}visitSequence(f,y){const l=y.subContextCount;let d=y;const c=f.options;if(c&&(c.params||c.delay)&&(d=y.createSubContext(c),d.transformIntoNewTimeline(),null!=c.delay)){d.previousNode.type==O.If.Style&&(d.currentTimeline.snapshotCurrentStyles(),d.previousNode=Qt);const C=kn(c.delay);d.delayNextStep(C)}f.steps.length&&(f.steps.forEach(C=>Ut(this,C,d)),d.currentTimeline.applyStylesToKeyframe(),d.subContextCount>l&&d.transformIntoNewTimeline()),y.previousNode=f}visitGroup(f,y){const l=[];let d=y.currentTimeline.currentTime;const c=f.options&&f.options.delay?kn(f.options.delay):0;f.steps.forEach(C=>{const I=y.createSubContext(f.options);c&&I.delayNextStep(c),Ut(this,C,I),d=Math.max(d,I.currentTimeline.currentTime),l.push(I.currentTimeline)}),l.forEach(C=>y.currentTimeline.mergeTimelineCollectedStyles(C)),y.transformIntoNewTimeline(d),y.previousNode=f}_visitTiming(f,y){if(f.dynamic){const l=f.strValue;return Wn(y.params?Be(l,y.params,y.errors):l,y.errors)}return{duration:f.duration,delay:f.delay,easing:f.easing}}visitAnimate(f,y){const l=y.currentAnimateTimings=this._visitTiming(f.timings,y),d=y.currentTimeline;l.delay&&(y.incrementTime(l.delay),d.snapshotCurrentStyles());const c=f.style;c.type==O.If.Keyframes?this.visitKeyframes(c,y):(y.incrementTime(l.duration),this.visitStyle(c,y),d.applyStylesToKeyframe()),y.currentAnimateTimings=null,y.previousNode=f}visitStyle(f,y){const l=y.currentTimeline,d=y.currentAnimateTimings;!d&&l.hasCurrentStyleProperties()&&l.forwardFrame();const c=d&&d.easing||f.easing;f.isEmptyStep?l.applyEmptyStep(c):l.setStyles(f.styles,c,y.errors,y.options),y.previousNode=f}visitKeyframes(f,y){const l=y.currentAnimateTimings,d=y.currentTimeline.duration,c=l.duration,I=y.createSubContext().currentTimeline;I.easing=l.easing,f.styles.forEach(ee=>{I.forwardTime((ee.offset||0)*c),I.setStyles(ee.styles,ee.easing,y.errors,y.options),I.applyStylesToKeyframe()}),y.currentTimeline.mergeTimelineCollectedStyles(I),y.transformIntoNewTimeline(d+c),y.previousNode=f}visitQuery(f,y){const l=y.currentTimeline.currentTime,d=f.options||{},c=d.delay?kn(d.delay):0;c&&(y.previousNode.type===O.If.Style||0==l&&y.currentTimeline.hasCurrentStyleProperties())&&(y.currentTimeline.snapshotCurrentStyles(),y.previousNode=Qt);let C=l;const I=y.invokeQuery(f.selector,f.originalSelector,f.limit,f.includeSelf,!!d.optional,y.errors);y.currentQueryTotal=I.length;let ee=null;I.forEach((re,Ne)=>{y.currentQueryIndex=Ne;const ye=y.createSubContext(f.options,re);c&&ye.delayNextStep(c),re===y.element&&(ee=ye.currentTimeline),Ut(this,f.animation,ye),ye.currentTimeline.applyStylesToKeyframe(),C=Math.max(C,ye.currentTimeline.currentTime)}),y.currentQueryIndex=0,y.currentQueryTotal=0,y.transformIntoNewTimeline(C),ee&&(y.currentTimeline.mergeTimelineCollectedStyles(ee),y.currentTimeline.snapshotCurrentStyles()),y.previousNode=f}visitStagger(f,y){const l=y.parentContext,d=y.currentTimeline,c=f.timings,C=Math.abs(c.duration),I=C*(y.currentQueryTotal-1);let ee=C*y.currentQueryIndex;switch(c.duration<0?"reverse":c.easing){case"reverse":ee=I-ee;break;case"full":ee=l.currentStaggerTime}const Ne=y.currentTimeline;ee&&Ne.delayNextStep(ee);const ye=Ne.currentTime;Ut(this,f.animation,y),y.previousNode=f,l.currentStaggerTime=d.currentTime-ye+(d.startTime-l.currentTimeline.startTime)}}const Qt={};class x{constructor(f,y,l,d,c,C,I,ee){this._driver=f,this.element=y,this.subInstructions=l,this._enterClassName=d,this._leaveClassName=c,this.errors=C,this.timelines=I,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Qt,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=ee||new De(this._driver,y,0),I.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(f,y){if(!f)return;const l=f;let d=this.options;null!=l.duration&&(d.duration=kn(l.duration)),null!=l.delay&&(d.delay=kn(l.delay));const c=l.params;if(c){let C=d.params;C||(C=this.options.params={}),Object.keys(c).forEach(I=>{(!y||!C.hasOwnProperty(I))&&(C[I]=Be(c[I],C,this.errors))})}}_copyOptions(){const f={};if(this.options){const y=this.options.params;if(y){const l=f.params={};Object.keys(y).forEach(d=>{l[d]=y[d]})}}return f}createSubContext(f=null,y,l){const d=y||this.element,c=new x(this._driver,d,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(d,l||0));return c.previousNode=this.previousNode,c.currentAnimateTimings=this.currentAnimateTimings,c.options=this._copyOptions(),c.updateOptions(f),c.currentQueryIndex=this.currentQueryIndex,c.currentQueryTotal=this.currentQueryTotal,c.parentContext=this,this.subContextCount++,c}transformIntoNewTimeline(f){return this.previousNode=Qt,this.currentTimeline=this.currentTimeline.fork(this.element,f),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(f,y,l){const d={duration:y??f.duration,delay:this.currentTimeline.currentTime+(l??0)+f.delay,easing:""},c=new A(this._driver,f.element,f.keyframes,f.preStyleProps,f.postStyleProps,d,f.stretchStartingKeyframe);return this.timelines.push(c),d}incrementTime(f){this.currentTimeline.forwardTime(this.currentTimeline.duration+f)}delayNextStep(f){f>0&&this.currentTimeline.delayNextStep(f)}invokeQuery(f,y,l,d,c,C){let I=[];if(d&&I.push(this.element),f.length>0){f=(f=f.replace(Xe,"."+this._enterClassName)).replace(Wt,"."+this._leaveClassName);let re=this._driver.query(this.element,f,1!=l);0!==l&&(re=l<0?re.slice(re.length+l,re.length):re.slice(0,l)),I.push(...re)}return!c&&0==I.length&&C.push(function $e(){return new s.wOt(3014,!1)}()),I}}class De{constructor(f,y,l,d){this._driver=f,this.element=y,this.startTime=l,this._elementTimelineStylesLookup=d,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(y),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(y,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(f){const y=1===this._keyframes.size&&this._pendingStyles.size;this.duration||y?(this.forwardTime(this.currentTime+f),y&&this.snapshotCurrentStyles()):this.startTime+=f}fork(f,y){return this.applyStylesToKeyframe(),new De(this._driver,f,y||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(f){this.applyStylesToKeyframe(),this.duration=f,this._loadKeyframe()}_updateStyle(f,y){this._localTimelineStyles.set(f,y),this._globalTimelineStyles.set(f,y),this._styleSummary.set(f,{time:this.currentTime,value:y})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(f){f&&this._previousKeyframe.set("easing",f);for(let[y,l]of this._globalTimelineStyles)this._backFill.set(y,l||O.kp),this._currentKeyframe.set(y,O.kp);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(f,y,l,d){y&&this._previousKeyframe.set("easing",y);const c=d&&d.params||{},C=function le(L,f){const y=new Map;let l;return L.forEach(d=>{if("*"===d){l??=f.keys();for(let c of l)y.set(c,O.kp)}else for(let[c,C]of d)y.set(c,C)}),y}(f,this._globalTimelineStyles);for(let[I,ee]of C){const re=Be(ee,c,l);this._pendingStyles.set(I,re),this._localTimelineStyles.has(I)||this._backFill.set(I,this._globalTimelineStyles.get(I)??O.kp),this._updateStyle(I,re)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((f,y)=>{this._currentKeyframe.set(y,f)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((f,y)=>{this._currentKeyframe.has(y)||this._currentKeyframe.set(y,f)}))}snapshotCurrentStyles(){for(let[f,y]of this._localTimelineStyles)this._pendingStyles.set(f,y),this._updateStyle(f,y)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const f=[];for(let y in this._currentKeyframe)f.push(y);return f}mergeTimelineCollectedStyles(f){f._styleSummary.forEach((y,l)=>{const d=this._styleSummary.get(l);(!d||y.time>d.time)&&this._updateStyle(l,y.value)})}buildKeyframes(){this.applyStylesToKeyframe();const f=new Set,y=new Set,l=1===this._keyframes.size&&0===this.duration;let d=[];this._keyframes.forEach((I,ee)=>{const re=new Map([...this._backFill,...I]);re.forEach((Ne,ye)=>{Ne===O.FX?f.add(ye):Ne===O.kp&&y.add(ye)}),l||re.set("offset",ee/this.duration),d.push(re)});const c=[...f.values()],C=[...y.values()];if(l){const I=d[0],ee=new Map(I);I.set("offset",0),ee.set("offset",1),d=[I,ee]}return Ce(this.element,d,c,C,this.duration,this.startTime,this.easing,!1)}}class A extends De{constructor(f,y,l,d,c,C,I=!1){super(f,y,C.delay),this.keyframes=l,this.preStyleProps=d,this.postStyleProps=c,this._stretchStartingKeyframe=I,this.timings={duration:C.duration,delay:C.delay,easing:C.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let f=this.keyframes,{delay:y,duration:l,easing:d}=this.timings;if(this._stretchStartingKeyframe&&y){const c=[],C=l+y,I=y/C,ee=new Map(f[0]);ee.set("offset",0),c.push(ee);const re=new Map(f[0]);re.set("offset",Y(I)),c.push(re);const Ne=f.length-1;for(let ye=1;ye<=Ne;ye++){let Pt=new Map(f[ye]);const Mt=Pt.get("offset");Pt.set("offset",Y((y+Mt*l)/C)),c.push(Pt)}l=C,y=0,d="",f=c}return Ce(this.element,f,this.preStyleProps,this.postStyleProps,l,y,d,!0)}}function Y(L,f=3){const y=Math.pow(10,f-1);return Math.round(L*y)/y}function qe(L,f,y,l,d,c,C,I,ee,re,Ne,ye,Pt){return{type:0,element:L,triggerName:f,isRemovalTransition:d,fromState:y,fromStyles:c,toState:l,toStyles:C,timelines:I,queriedElements:ee,preStyleProps:re,postStyleProps:Ne,totalTime:ye,errors:Pt}}const It={};class gn{constructor(f,y,l){this._triggerName=f,this.ast=y,this._stateStyles=l}match(f,y,l,d){return function Wi(L,f,y,l,d){return L.some(c=>c(f,y,l,d))}(this.ast.matchers,f,y,l,d)}buildStyles(f,y,l){let d=this._stateStyles.get("*");return void 0!==f&&(d=this._stateStyles.get(f?.toString())||d),d?d.buildStyles(y,l):new Map}build(f,y,l,d,c,C,I,ee,re,Ne){const ye=[],Pt=this.ast.options&&this.ast.options.params||It,rt=this.buildStyles(l,I&&I.params||It,ye),ht=ee&&ee.params||It,on=this.buildStyles(d,ht,ye),dt=new Set,Tn=new Map,mn=new Map,In="void"===d,xo={params:Ki(ht,Pt),delay:this.ast.options?.delay},Gr=Ne?[]:Kt(f,y,this.ast.animation,c,C,rt,on,xo,re,ye);let er=0;return Gr.forEach(tr=>{er=Math.max(tr.duration+tr.delay,er)}),ye.length?qe(y,this._triggerName,l,d,In,rt,on,[],[],Tn,mn,er,ye):(Gr.forEach(tr=>{const zr=tr.element,eo=$t(Tn,zr,new Set);tr.preStyleProps.forEach(Fi=>eo.add(Fi));const No=$t(mn,zr,new Set);tr.postStyleProps.forEach(Fi=>No.add(Fi)),zr!==y&&dt.add(zr)}),qe(y,this._triggerName,l,d,In,rt,on,Gr,[...dt.values()],Tn,mn,er))}}function Ki(L,f){const y={...f};return Object.entries(L).forEach(([l,d])=>{null!=d&&(y[l]=d)}),y}class Mo{constructor(f,y,l){this.styles=f,this.defaultParams=y,this.normalizer=l}buildStyles(f,y){const l=new Map,d=Ki(f,this.defaultParams);return this.styles.styles.forEach(c=>{"string"!=typeof c&&c.forEach((C,I)=>{C&&(C=Be(C,d,y));const ee=this.normalizer.normalizePropertyName(I,y);C=this.normalizer.normalizeStyleValue(I,ee,C,y),l.set(I,C)})}),l}}class fs{constructor(f,y,l){this.name=f,this.ast=y,this._normalizer=l,this.transitionFactories=[],this.states=new Map,y.states.forEach(d=>{this.states.set(d.name,new Mo(d.style,d.options&&d.options.params||{},l))}),zo(this.states,"true","1"),zo(this.states,"false","0"),y.transitions.forEach(d=>{this.transitionFactories.push(new gn(f,d,this.states))}),this.fallbackTransition=function br(L,f){return new gn(L,{type:O.If.Transition,animation:{type:O.If.Sequence,steps:[],options:null},matchers:[(C,I)=>!0],options:null,queryCount:0,depCount:0},f)}(f,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(f,y,l,d){return this.transitionFactories.find(C=>C.match(f,y,l,d))||null}matchStyles(f,y,l){return this.fallbackTransition.buildStyles(f,y,l)}}function zo(L,f,y){L.has(f)?L.has(y)||L.set(y,L.get(f)):L.has(y)&&L.set(f,L.get(y))}const Oi=new Pe;class Ss{constructor(f,y,l){this.bodyNode=f,this._driver=y,this._normalizer=l,this._animations=new Map,this._playersById=new Map,this.players=[]}register(f,y){const l=[],c=$r(this._driver,y,l,[]);if(l.length)throw function me(){return new s.wOt(3503,!1)}();this._animations.set(f,c)}_buildPlayer(f,y,l){const d=f.element,c=Rn(this._normalizer,f.keyframes,y,l);return this._driver.animate(d,c,f.duration,f.delay,f.easing,[],!0)}create(f,y,l={}){const d=[],c=this._animations.get(f);let C;const I=new Map;if(c?(C=Kt(this._driver,y,c,mt,Vn,new Map,new Map,l,Oi,d),C.forEach(Ne=>{const ye=$t(I,Ne.element,new Map);Ne.postStyleProps.forEach(Pt=>ye.set(Pt,null))})):(d.push(function Ye(){return new s.wOt(3300,!1)}()),C=[]),d.length)throw function ot(){return new s.wOt(3504,!1)}();I.forEach((Ne,ye)=>{Ne.forEach((Pt,Mt)=>{Ne.set(Mt,this._driver.computeStyle(ye,Mt,O.kp))})});const re=Gn(C.map(Ne=>{const ye=I.get(Ne.element);return this._buildPlayer(Ne,new Map,ye)}));return this._playersById.set(f,re),re.onDestroy(()=>this.destroy(f)),this.players.push(re),re}destroy(f){const y=this._getPlayer(f);y.destroy(),this._playersById.delete(f);const l=this.players.indexOf(y);l>=0&&this.players.splice(l,1)}_getPlayer(f){const y=this._playersById.get(f);if(!y)throw function qt(){return new s.wOt(3301,!1)}();return y}listen(f,y,l,d){const c=fr(y,"","","");return nr(this._getPlayer(f),l,c,d),()=>{}}command(f,y,l,d){if("register"==l)return void this.register(f,d[0]);if("create"==l)return void this.create(f,y,d[0]||{});const c=this._getPlayer(f);switch(l){case"play":c.play();break;case"pause":c.pause();break;case"reset":c.reset();break;case"restart":c.restart();break;case"finish":c.finish();break;case"init":c.init();break;case"setPosition":c.setPosition(parseFloat(d[0]));break;case"destroy":this.destroy(f)}}}const qi="ng-animate-queued",lo="ng-animate-disabled",uo=[],To={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ho={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},rn="__ng_removed";class Qr{get params(){return this.options.params}constructor(f,y=""){this.namespaceId=y;const l=f&&f.hasOwnProperty("value");if(this.value=function Xi(L){return L??null}(l?f.value:f),l){const{value:c,...C}=f;this.options=C}else this.options={};this.options.params||(this.options.params={})}absorbOptions(f){const y=f.params;if(y){const l=this.options.params;Object.keys(y).forEach(d=>{null==l[d]&&(l[d]=y[d])})}}}const Xr="void",Ai=new Qr(Xr);class Qi{constructor(f,y,l){this.id=f,this.hostElement=y,this._engine=l,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+f,qn(y,this._hostClassName)}listen(f,y,l,d){if(!this._triggers.has(y))throw function Dn(){return new s.wOt(3302,!1)}();if(null==l||0==l.length)throw function Zt(){return new s.wOt(3303,!1)}();if(!function Oo(L){return"start"==L||"done"==L}(l))throw function vn(){return new s.wOt(3400,!1)}();const c=$t(this._elementListeners,f,[]),C={name:y,phase:l,callback:d};c.push(C);const I=$t(this._engine.statesByElement,f,new Map);return I.has(y)||(qn(f,Rt),qn(f,Rt+"-"+y),I.set(y,Ai)),()=>{this._engine.afterFlush(()=>{const ee=c.indexOf(C);ee>=0&&c.splice(ee,1),this._triggers.has(y)||I.delete(y)})}}register(f,y){return!this._triggers.has(f)&&(this._triggers.set(f,y),!0)}_getTrigger(f){const y=this._triggers.get(f);if(!y)throw function nt(){return new s.wOt(3401,!1)}();return y}trigger(f,y,l,d=!0){const c=this._getTrigger(y),C=new li(this.id,y,f);let I=this._engine.statesByElement.get(f);I||(qn(f,Rt),qn(f,Rt+"-"+y),this._engine.statesByElement.set(f,I=new Map));let ee=I.get(y);const re=new Qr(l,this.id);if(!(l&&l.hasOwnProperty("value"))&&ee&&re.absorbOptions(ee.options),I.set(y,re),ee||(ee=Ai),re.value!==Xr&&ee.value===re.value){if(!function Hr(L,f){const y=Object.keys(L),l=Object.keys(f);if(y.length!=l.length)return!1;for(let d=0;d<y.length;d++){const c=y[d];if(!f.hasOwnProperty(c)||L[c]!==f[c])return!1}return!0}(ee.params,re.params)){const ht=[],on=c.matchStyles(ee.value,ee.params,ht),dt=c.matchStyles(re.value,re.params,ht);ht.length?this._engine.reportError(ht):this._engine.afterFlush(()=>{he(f,on),un(f,dt)})}return}const Pt=$t(this._engine.playersByElement,f,[]);Pt.forEach(ht=>{ht.namespaceId==this.id&&ht.triggerName==y&&ht.queued&&ht.destroy()});let Mt=c.matchTransition(ee.value,re.value,f,re.params),rt=!1;if(!Mt){if(!d)return;Mt=c.fallbackTransition,rt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:f,triggerName:y,transition:Mt,fromState:ee,toState:re,player:C,isFallbackTransition:rt}),rt||(qn(f,qi),C.onStart(()=>{po(f,qi)})),C.onDone(()=>{let ht=this.players.indexOf(C);ht>=0&&this.players.splice(ht,1);const on=this._engine.playersByElement.get(f);if(on){let dt=on.indexOf(C);dt>=0&&on.splice(dt,1)}}),this.players.push(C),Pt.push(C),C}deregister(f){this._triggers.delete(f),this._engine.statesByElement.forEach(y=>y.delete(f)),this._elementListeners.forEach((y,l)=>{this._elementListeners.set(l,y.filter(d=>d.name!=f))})}clearElementCache(f){this._engine.statesByElement.delete(f),this._elementListeners.delete(f);const y=this._engine.playersByElement.get(f);y&&(y.forEach(l=>l.destroy()),this._engine.playersByElement.delete(f))}_signalRemovalForInnerTriggers(f,y){const l=this._engine.driver.query(f,gi,!0);l.forEach(d=>{if(d[rn])return;const c=this._engine.fetchNamespacesByElement(d);c.size?c.forEach(C=>C.triggerLeaveAnimation(d,y,!1,!0)):this.clearElementCache(d)}),this._engine.afterFlushAnimationsDone(()=>l.forEach(d=>this.clearElementCache(d)))}triggerLeaveAnimation(f,y,l,d){const c=this._engine.statesByElement.get(f),C=new Map;if(c){const I=[];if(c.forEach((ee,re)=>{if(C.set(re,ee.value),this._triggers.has(re)){const Ne=this.trigger(f,re,Xr,d);Ne&&I.push(Ne)}}),I.length)return this._engine.markElementAsRemoved(this.id,f,!0,y,C),l&&Gn(I).onDone(()=>this._engine.processLeaveNode(f)),!0}return!1}prepareLeaveAnimationListeners(f){const y=this._elementListeners.get(f),l=this._engine.statesByElement.get(f);if(y&&l){const d=new Set;y.forEach(c=>{const C=c.name;if(d.has(C))return;d.add(C);const ee=this._triggers.get(C).fallbackTransition,re=l.get(C)||Ai,Ne=new Qr(Xr),ye=new li(this.id,C,f);this._engine.totalQueuedPlayers++,this._queue.push({element:f,triggerName:C,transition:ee,fromState:re,toState:Ne,player:ye,isFallbackTransition:!0})})}}removeNode(f,y){const l=this._engine;if(f.childElementCount&&this._signalRemovalForInnerTriggers(f,y),this.triggerLeaveAnimation(f,y,!0))return;let d=!1;if(l.totalAnimations){const c=l.players.length?l.playersByQueriedElement.get(f):[];if(c&&c.length)d=!0;else{let C=f;for(;C=C.parentNode;)if(l.statesByElement.get(C)){d=!0;break}}}if(this.prepareLeaveAnimationListeners(f),d)l.markElementAsRemoved(this.id,f,!1,y);else{const c=f[rn];(!c||c===To)&&(l.afterFlush(()=>this.clearElementCache(f)),l.destroyInnerAnimations(f),l._onRemovalComplete(f,y))}}insertNode(f,y){qn(f,this._hostClassName)}drainQueuedTransitions(f){const y=[];return this._queue.forEach(l=>{const d=l.player;if(d.destroyed)return;const c=l.element,C=this._elementListeners.get(c);C&&C.forEach(I=>{if(I.name==l.triggerName){const ee=fr(c,l.triggerName,l.fromState.value,l.toState.value);ee._data=f,nr(l.player,I.phase,ee,I.callback)}}),d.markedForDestroy?this._engine.afterFlush(()=>{d.destroy()}):y.push(l)}),this._queue=[],y.sort((l,d)=>{const c=l.transition.ast.depCount,C=d.transition.ast.depCount;return 0==c||0==C?c-C:this._engine.driver.containsElement(l.element,d.element)?1:-1})}destroy(f){this.players.forEach(y=>y.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,f)}}class Wo{_onRemovalComplete(f,y){this.onRemovalComplete(f,y)}constructor(f,y,l){this.bodyNode=f,this.driver=y,this._normalizer=l,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(d,c)=>{}}get queuedPlayers(){const f=[];return this._namespaceList.forEach(y=>{y.players.forEach(l=>{l.queued&&f.push(l)})}),f}createNamespace(f,y){const l=new Qi(f,y,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,y)?this._balanceNamespaceList(l,y):(this.newHostElements.set(y,l),this.collectEnterElement(y)),this._namespaceLookup[f]=l}_balanceNamespaceList(f,y){const l=this._namespaceList,d=this.namespacesByHostElement;if(l.length-1>=0){let C=!1,I=this.driver.getParentElement(y);for(;I;){const ee=d.get(I);if(ee){const re=l.indexOf(ee);l.splice(re+1,0,f),C=!0;break}I=this.driver.getParentElement(I)}C||l.unshift(f)}else l.push(f);return d.set(y,f),f}register(f,y){let l=this._namespaceLookup[f];return l||(l=this.createNamespace(f,y)),l}registerTrigger(f,y,l){let d=this._namespaceLookup[f];d&&d.register(y,l)&&this.totalAnimations++}destroy(f,y){f&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const l=this._fetchNamespace(f);this.namespacesByHostElement.delete(l.hostElement);const d=this._namespaceList.indexOf(l);d>=0&&this._namespaceList.splice(d,1),l.destroy(y),delete this._namespaceLookup[f]}))}_fetchNamespace(f){return this._namespaceLookup[f]}fetchNamespacesByElement(f){const y=new Set,l=this.statesByElement.get(f);if(l)for(let d of l.values())if(d.namespaceId){const c=this._fetchNamespace(d.namespaceId);c&&y.add(c)}return y}trigger(f,y,l,d){if(Yi(y)){const c=this._fetchNamespace(f);if(c)return c.trigger(y,l,d),!0}return!1}insertNode(f,y,l,d){if(!Yi(y))return;const c=y[rn];if(c&&c.setForRemoval){c.setForRemoval=!1,c.setForMove=!0;const C=this.collectedLeaveElements.indexOf(y);C>=0&&this.collectedLeaveElements.splice(C,1)}if(f){const C=this._fetchNamespace(f);C&&C.insertNode(y,l)}d&&this.collectEnterElement(y)}collectEnterElement(f){this.collectedEnterElements.push(f)}markElementAsDisabled(f,y){y?this.disabledNodes.has(f)||(this.disabledNodes.add(f),qn(f,lo)):this.disabledNodes.has(f)&&(this.disabledNodes.delete(f),po(f,lo))}removeNode(f,y,l){if(Yi(y)){const d=f?this._fetchNamespace(f):null;d?d.removeNode(y,l):this.markElementAsRemoved(f,y,!1,l);const c=this.namespacesByHostElement.get(y);c&&c.id!==f&&c.removeNode(y,l)}else this._onRemovalComplete(y,l)}markElementAsRemoved(f,y,l,d,c){this.collectedLeaveElements.push(y),y[rn]={namespaceId:f,setForRemoval:d,hasAnimation:l,removedBeforeQueried:!1,previousTriggersValues:c}}listen(f,y,l,d,c){return Yi(y)?this._fetchNamespace(f).listen(y,l,d,c):()=>{}}_buildInstruction(f,y,l,d,c){return f.transition.build(this.driver,f.element,f.fromState.value,f.toState.value,l,d,f.fromState.options,f.toState.options,y,c)}destroyInnerAnimations(f){let y=this.driver.query(f,gi,!0);y.forEach(l=>this.destroyActiveAnimationsForElement(l)),0!=this.playersByQueriedElement.size&&(y=this.driver.query(f,At,!0),y.forEach(l=>this.finishActiveQueriedAnimationOnElement(l)))}destroyActiveAnimationsForElement(f){const y=this.playersByElement.get(f);y&&y.forEach(l=>{l.queued?l.markedForDestroy=!0:l.destroy()})}finishActiveQueriedAnimationOnElement(f){const y=this.playersByQueriedElement.get(f);y&&y.forEach(l=>l.finish())}whenRenderingDone(){return new Promise(f=>{if(this.players.length)return Gn(this.players).onDone(()=>f());f()})}processLeaveNode(f){const y=f[rn];if(y&&y.setForRemoval){if(f[rn]=To,y.namespaceId){this.destroyInnerAnimations(f);const l=this._fetchNamespace(y.namespaceId);l&&l.clearElementCache(f)}this._onRemovalComplete(f,y.setForRemoval)}f.classList?.contains(lo)&&this.markElementAsDisabled(f,!1),this.driver.query(f,".ng-animate-disabled",!0).forEach(l=>{this.markElementAsDisabled(l,!1)})}flush(f=-1){let y=[];if(this.newHostElements.size&&(this.newHostElements.forEach((l,d)=>this._balanceNamespaceList(l,d)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let l=0;l<this.collectedEnterElements.length;l++)qn(this.collectedEnterElements[l],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const l=[];try{y=this._flushAnimations(l,f)}finally{for(let d=0;d<l.length;d++)l[d]()}}else for(let l=0;l<this.collectedLeaveElements.length;l++)this.processLeaveNode(this.collectedLeaveElements[l]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(l=>l()),this._flushFns=[],this._whenQuietFns.length){const l=this._whenQuietFns;this._whenQuietFns=[],y.length?Gn(y).onDone(()=>{l.forEach(d=>d())}):l.forEach(d=>d())}}reportError(f){throw function Nn(){return new s.wOt(3402,!1)}()}_flushAnimations(f,y){const l=new Pe,d=[],c=new Map,C=[],I=new Map,ee=new Map,re=new Map,Ne=new Set;this.disabledNodes.forEach(Qe=>{Ne.add(Qe);const Je=this.driver.query(Qe,".ng-animate-queued",!0);for(let ct=0;ct<Je.length;ct++)Ne.add(Je[ct])});const ye=this.bodyNode,Pt=Array.from(this.statesByElement.keys()),Mt=qo(Pt,this.collectedEnterElements),rt=new Map;let ht=0;Mt.forEach((Qe,Je)=>{const ct=mt+ht++;rt.set(Je,ct),Qe.forEach(xt=>qn(xt,ct))});const on=[],dt=new Set,Tn=new Set;for(let Qe=0;Qe<this.collectedLeaveElements.length;Qe++){const Je=this.collectedLeaveElements[Qe],ct=Je[rn];ct&&ct.setForRemoval&&(on.push(Je),dt.add(Je),ct.hasAnimation?this.driver.query(Je,".ng-star-inserted",!0).forEach(xt=>dt.add(xt)):Tn.add(Je))}const mn=new Map,In=qo(Pt,Array.from(dt));In.forEach((Qe,Je)=>{const ct=Vn+ht++;mn.set(Je,ct),Qe.forEach(xt=>qn(xt,ct))}),f.push(()=>{Mt.forEach((Qe,Je)=>{const ct=rt.get(Je);Qe.forEach(xt=>po(xt,ct))}),In.forEach((Qe,Je)=>{const ct=mn.get(Je);Qe.forEach(xt=>po(xt,ct))}),on.forEach(Qe=>{this.processLeaveNode(Qe)})});const xo=[],Gr=[];for(let Qe=this._namespaceList.length-1;Qe>=0;Qe--)this._namespaceList[Qe].drainQueuedTransitions(y).forEach(ct=>{const xt=ct.player,Qn=ct.element;if(xo.push(xt),this.collectedEnterElements.length){const On=Qn[rn];if(On&&On.setForMove){if(On.previousTriggersValues&&On.previousTriggersValues.has(ct.triggerName)){const Li=On.previousTriggersValues.get(ct.triggerName),Pn=this.statesByElement.get(ct.element);if(Pn&&Pn.has(ct.triggerName)){const Wr=Pn.get(ct.triggerName);Wr.value=Li,Pn.set(ct.triggerName,Wr)}}return void xt.destroy()}}const ki=!ye||!this.driver.containsElement(ye,Qn),Zr=mn.get(Qn),to=rt.get(Qn),an=this._buildInstruction(ct,l,to,Zr,ki);if(an.errors&&an.errors.length)return void Gr.push(an);if(ki)return xt.onStart(()=>he(Qn,an.fromStyles)),xt.onDestroy(()=>un(Qn,an.toStyles)),void d.push(xt);if(ct.isFallbackTransition)return xt.onStart(()=>he(Qn,an.fromStyles)),xt.onDestroy(()=>un(Qn,an.toStyles)),void d.push(xt);const yo=[];an.timelines.forEach(On=>{On.stretchStartingKeyframe=!0,this.disabledNodes.has(On.element)||yo.push(On)}),an.timelines=yo,l.append(Qn,an.timelines),C.push({instruction:an,player:xt,element:Qn}),an.queriedElements.forEach(On=>$t(I,On,[]).push(xt)),an.preStyleProps.forEach((On,Li)=>{if(On.size){let Pn=ee.get(Li);Pn||ee.set(Li,Pn=new Set),On.forEach((Wr,Fo)=>Pn.add(Fo))}}),an.postStyleProps.forEach((On,Li)=>{let Pn=re.get(Li);Pn||re.set(Li,Pn=new Set),On.forEach((Wr,Fo)=>Pn.add(Fo))})});if(Gr.length){const Qe=[];Gr.forEach(Je=>{Qe.push(function ln(){return new s.wOt(3505,!1)}())}),xo.forEach(Je=>Je.destroy()),this.reportError(Qe)}const er=new Map,tr=new Map;C.forEach(Qe=>{const Je=Qe.element;l.has(Je)&&(tr.set(Je,Je),this._beforeAnimationBuild(Qe.player.namespaceId,Qe.instruction,er))}),d.forEach(Qe=>{const Je=Qe.element;this._getPreviousPlayers(Je,!1,Qe.namespaceId,Qe.triggerName,null).forEach(xt=>{$t(er,Je,[]).push(xt),xt.destroy()})});const zr=on.filter(Qe=>ar(Qe,ee,re)),eo=new Map;Ko(eo,this.driver,Tn,re,O.kp).forEach(Qe=>{ar(Qe,ee,re)&&zr.push(Qe)});const Fi=new Map;Mt.forEach((Qe,Je)=>{Ko(Fi,this.driver,new Set(Qe),ee,O.FX)}),zr.forEach(Qe=>{const Je=eo.get(Qe),ct=Fi.get(Qe);eo.set(Qe,new Map([...Je?.entries()??[],...ct?.entries()??[]]))});const at=[],Yo=[],Ro={};C.forEach(Qe=>{const{element:Je,player:ct,instruction:xt}=Qe;if(l.has(Je)){if(Ne.has(Je))return ct.onDestroy(()=>un(Je,xt.toStyles)),ct.disabled=!0,ct.overrideTotalTime(xt.totalTime),void d.push(ct);let Qn=Ro;if(tr.size>1){let Zr=Je;const to=[];for(;Zr=Zr.parentNode;){const an=tr.get(Zr);if(an){Qn=an;break}to.push(Zr)}to.forEach(an=>tr.set(an,Qn))}const ki=this._buildAnimation(ct.namespaceId,xt,er,c,Fi,eo);if(ct.setRealPlayer(ki),Qn===Ro)at.push(ct);else{const Zr=this.playersByElement.get(Qn);Zr&&Zr.length&&(ct.parentPlayer=Gn(Zr)),d.push(ct)}}else he(Je,xt.fromStyles),ct.onDestroy(()=>un(Je,xt.toStyles)),Yo.push(ct),Ne.has(Je)&&d.push(ct)}),Yo.forEach(Qe=>{const Je=c.get(Qe.element);if(Je&&Je.length){const ct=Gn(Je);Qe.setRealPlayer(ct)}}),d.forEach(Qe=>{Qe.parentPlayer?Qe.syncPlayerEvents(Qe.parentPlayer):Qe.destroy()});for(let Qe=0;Qe<on.length;Qe++){const Je=on[Qe],ct=Je[rn];if(po(Je,Vn),ct&&ct.hasAnimation)continue;let xt=[];if(I.size){let ki=I.get(Je);ki&&ki.length&&xt.push(...ki);let Zr=this.driver.query(Je,At,!0);for(let to=0;to<Zr.length;to++){let an=I.get(Zr[to]);an&&an.length&&xt.push(...an)}}const Qn=xt.filter(ki=>!ki.destroyed);Qn.length?Zi(this,Je,Qn):this.processLeaveNode(Je)}return on.length=0,at.forEach(Qe=>{this.players.push(Qe),Qe.onDone(()=>{Qe.destroy();const Je=this.players.indexOf(Qe);this.players.splice(Je,1)}),Qe.play()}),at}afterFlush(f){this._flushFns.push(f)}afterFlushAnimationsDone(f){this._whenQuietFns.push(f)}_getPreviousPlayers(f,y,l,d,c){let C=[];if(y){const I=this.playersByQueriedElement.get(f);I&&(C=I)}else{const I=this.playersByElement.get(f);if(I){const ee=!c||c==Xr;I.forEach(re=>{re.queued||!ee&&re.triggerName!=d||C.push(re)})}}return(l||d)&&(C=C.filter(I=>!(l&&l!=I.namespaceId||d&&d!=I.triggerName))),C}_beforeAnimationBuild(f,y,l){const c=y.element,C=y.isRemovalTransition?void 0:f,I=y.isRemovalTransition?void 0:y.triggerName;for(const ee of y.timelines){const re=ee.element,Ne=re!==c,ye=$t(l,re,[]);this._getPreviousPlayers(re,Ne,C,I,y.toState).forEach(Mt=>{const rt=Mt.getRealPlayer();rt.beforeDestroy&&rt.beforeDestroy(),Mt.destroy(),ye.push(Mt)})}he(c,y.fromStyles)}_buildAnimation(f,y,l,d,c,C){const I=y.triggerName,ee=y.element,re=[],Ne=new Set,ye=new Set,Pt=y.timelines.map(rt=>{const ht=rt.element;Ne.add(ht);const on=ht[rn];if(on&&on.removedBeforeQueried)return new O.sf(rt.duration,rt.delay);const dt=ht!==ee,Tn=function Po(L){const f=[];return Ve(L,f),f}((l.get(ht)||uo).map(er=>er.getRealPlayer())).filter(er=>!!er.element&&er.element===ht),mn=c.get(ht),In=C.get(ht),xo=Rn(this._normalizer,rt.keyframes,mn,In),Gr=this._buildPlayer(rt,xo,Tn);if(rt.subTimeline&&d&&ye.add(ht),dt){const er=new li(f,I,ht);er.setRealPlayer(Gr),re.push(er)}return Gr});re.forEach(rt=>{$t(this.playersByQueriedElement,rt.element,[]).push(rt),rt.onDone(()=>function Io(L,f,y){let l=L.get(f);if(l){if(l.length){const d=l.indexOf(y);l.splice(d,1)}0==l.length&&L.delete(f)}return l}(this.playersByQueriedElement,rt.element,rt))}),Ne.forEach(rt=>qn(rt,st));const Mt=Gn(Pt);return Mt.onDestroy(()=>{Ne.forEach(rt=>po(rt,st)),un(ee,y.toStyles)}),ye.forEach(rt=>{$t(d,rt,[]).push(Mt)}),Mt}_buildPlayer(f,y,l){return y.length>0?this.driver.animate(f.element,y,f.duration,f.delay,f.easing,l):new O.sf(f.duration,f.delay)}}class li{constructor(f,y,l){this.namespaceId=f,this.triggerName=y,this.element=l,this._player=new O.sf,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(f){this._containsRealPlayer||(this._player=f,this._queuedCallbacks.forEach((y,l)=>{y.forEach(d=>nr(f,l,void 0,d))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(f.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(f){this.totalTime=f}syncPlayerEvents(f){const y=this._player;y.triggerCallback&&f.onStart(()=>y.triggerCallback("start")),f.onDone(()=>this.finish()),f.onDestroy(()=>this.destroy())}_queueEvent(f,y){$t(this._queuedCallbacks,f,[]).push(y)}onDone(f){this.queued&&this._queueEvent("done",f),this._player.onDone(f)}onStart(f){this.queued&&this._queueEvent("start",f),this._player.onStart(f)}onDestroy(f){this.queued&&this._queueEvent("destroy",f),this._player.onDestroy(f)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(f){this.queued||this._player.setPosition(f)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(f){const y=this._player;y.triggerCallback&&y.triggerCallback(f)}}function Yi(L){return L&&1===L.nodeType}function fo(L,f){const y=L.style.display;return L.style.display=f??"none",y}function Ko(L,f,y,l,d){const c=[];y.forEach(ee=>c.push(fo(ee)));const C=[];l.forEach((ee,re)=>{const Ne=new Map;ee.forEach(ye=>{const Pt=f.computeStyle(re,ye,d);Ne.set(ye,Pt),(!Pt||0==Pt.length)&&(re[rn]=ho,C.push(re))}),L.set(re,Ne)});let I=0;return y.forEach(ee=>fo(ee,c[I++])),C}function qo(L,f){const y=new Map;if(L.forEach(I=>y.set(I,[])),0==f.length)return y;const d=new Set(f),c=new Map;function C(I){if(!I)return 1;let ee=c.get(I);if(ee)return ee;const re=I.parentNode;return ee=y.has(re)?re:d.has(re)?1:C(re),c.set(I,ee),ee}return f.forEach(I=>{const ee=C(I);1!==ee&&y.get(ee).push(I)}),y}function qn(L,f){L.classList?.add(f)}function po(L,f){L.classList?.remove(f)}function Zi(L,f,y){Gn(y).onDone(()=>L.processLeaveNode(f))}function Ve(L,f){for(let y=0;y<L.length;y++){const l=L[y];l instanceof O.ui?Ve(l.players,f):f.push(l)}}function ar(L,f,y){const l=y.get(L);if(!l)return!1;let d=f.get(L);return d?l.forEach(c=>d.add(c)):f.set(L,l),y.delete(L),!0}class xi{constructor(f,y,l){this._driver=y,this._normalizer=l,this._triggerCache={},this.onRemovalComplete=(d,c)=>{},this._transitionEngine=new Wo(f.body,y,l),this._timelineEngine=new Ss(f.body,y,l),this._transitionEngine.onRemovalComplete=(d,c)=>this.onRemovalComplete(d,c)}registerTrigger(f,y,l,d,c){const C=f+"-"+d;let I=this._triggerCache[C];if(!I){const ee=[],Ne=$r(this._driver,c,ee,[]);if(ee.length)throw function Se(){return new s.wOt(3404,!1)}();I=function bo(L,f,y){return new fs(L,f,y)}(d,Ne,this._normalizer),this._triggerCache[C]=I}this._transitionEngine.registerTrigger(y,d,I)}register(f,y){this._transitionEngine.register(f,y)}destroy(f,y){this._transitionEngine.destroy(f,y)}onInsert(f,y,l,d){this._transitionEngine.insertNode(f,y,l,d)}onRemove(f,y,l){this._transitionEngine.removeNode(f,y,l)}disableAnimations(f,y){this._transitionEngine.markElementAsDisabled(f,y)}process(f,y,l,d){if("@"==l.charAt(0)){const[c,C]=Kr(l);this._timelineEngine.command(c,y,C,d)}else this._transitionEngine.trigger(f,y,l,d)}listen(f,y,l,d,c){if("@"==l.charAt(0)){const[C,I]=Kr(l);return this._timelineEngine.listen(C,y,I,c)}return this._transitionEngine.listen(f,y,l,d,c)}flush(f=-1){this._transitionEngine.flush(f)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(f){this._transitionEngine.afterFlushAnimationsDone(f)}}class yi{static#e=this.initialStylesByElement=new WeakMap;constructor(f,y,l){this._element=f,this._startStyles=y,this._endStyles=l,this._state=0;let d=yi.initialStylesByElement.get(f);d||yi.initialStylesByElement.set(f,d=new Map),this._initialStyles=d}start(){this._state<1&&(this._startStyles&&un(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(un(this._element,this._initialStyles),this._endStyles&&(un(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(yi.initialStylesByElement.delete(this._element),this._startStyles&&(he(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(he(this._element,this._endStyles),this._endStyles=null),un(this._element,this._initialStyles),this._state=3)}}function Ni(L){let f=null;return L.forEach((y,l)=>{(function ci(L){return"display"===L||"position"===L})(l)&&(f=f||new Map,f.set(l,y))}),f}class ui{constructor(f,y,l,d){this.element=f,this.keyframes=y,this.options=l,this._specialStyles=d,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=l.duration,this._delay=l.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(f=>f()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const f=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,f,this.options),this._finalKeyframe=f.length?f[f.length-1]:new Map;const y=()=>this._onFinish();this.domPlayer.addEventListener("finish",y),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",y)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(f){const y=[];return f.forEach(l=>{y.push(Object.fromEntries(l))}),y}_triggerWebAnimation(f,y,l){return f.animate(this._convertKeyframesToObject(y),l)}onStart(f){this._originalOnStartFns.push(f),this._onStartFns.push(f)}onDone(f){this._originalOnDoneFns.push(f),this._onDoneFns.push(f)}onDestroy(f){this._onDestroyFns.push(f)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(f=>f()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(f=>f()),this._onDestroyFns=[])}setPosition(f){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=f*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const f=new Map;this.hasStarted()&&this._finalKeyframe.forEach((l,d)=>{"offset"!==d&&f.set(d,this._finished?l:sr(this.element,d))}),this.currentSnapshot=f}triggerCallback(f){const y="start"===f?this._onStartFns:this._onDoneFns;y.forEach(l=>l()),y.length=0}}class gr{validateStyleProperty(f){return!0}validateAnimatableStyleProperty(f){return!0}containsElement(f,y){return Fn(f,y)}getParentElement(f){return _n(f)}query(f,y,l){return Et(f,y,l)}computeStyle(f,y,l){return sr(f,y)}animate(f,y,l,d,c,C=[]){const ee={duration:l,delay:d,fill:0==d?"both":"forwards"};c&&(ee.easing=c);const re=new Map,Ne=C.filter(Mt=>Mt instanceof ui);(function Bt(L,f){return 0===L||0===f})(l,d)&&Ne.forEach(Mt=>{Mt.currentSnapshot.forEach((rt,ht)=>re.set(ht,rt))});let ye=function Lr(L){return L.length?L[0]instanceof Map?L:L.map(f=>new Map(Object.entries(f))):[]}(y).map(Mt=>new Map(Mt));ye=function Un(L,f,y){if(y.size&&f.length){let l=f[0],d=[];if(y.forEach((c,C)=>{l.has(C)||d.push(C),l.set(C,c)}),d.length)for(let c=1;c<f.length;c++){let C=f[c];d.forEach(I=>C.set(I,sr(L,I)))}}return f}(f,ye,re);const Pt=function Qo(L,f){let y=null,l=null;return Array.isArray(f)&&f.length?(y=Ni(f[0]),f.length>1&&(l=Ni(f[f.length-1]))):f instanceof Map&&(y=Ni(f)),y||l?new yi(L,y,l):null}(f,ye);return new ui(f,ye,ee,Pt)}}const Sr="@.disabled";class Xo{constructor(f,y,l,d){this.namespaceId=f,this.delegate=y,this.engine=l,this._onDestroy=d,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(f){this.delegate.destroyNode?.(f)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(f,y){return this.delegate.createElement(f,y)}createComment(f){return this.delegate.createComment(f)}createText(f){return this.delegate.createText(f)}appendChild(f,y){this.delegate.appendChild(f,y),this.engine.onInsert(this.namespaceId,y,f,!1)}insertBefore(f,y,l,d=!0){this.delegate.insertBefore(f,y,l),this.engine.onInsert(this.namespaceId,y,f,d)}removeChild(f,y,l){this.parentNode(y)&&this.engine.onRemove(this.namespaceId,y,this.delegate)}selectRootElement(f,y){return this.delegate.selectRootElement(f,y)}parentNode(f){return this.delegate.parentNode(f)}nextSibling(f){return this.delegate.nextSibling(f)}setAttribute(f,y,l,d){this.delegate.setAttribute(f,y,l,d)}removeAttribute(f,y,l){this.delegate.removeAttribute(f,y,l)}addClass(f,y){this.delegate.addClass(f,y)}removeClass(f,y){this.delegate.removeClass(f,y)}setStyle(f,y,l,d){this.delegate.setStyle(f,y,l,d)}removeStyle(f,y,l){this.delegate.removeStyle(f,y,l)}setProperty(f,y,l){"@"==y.charAt(0)&&y==Sr?this.disableAnimations(f,!!l):this.delegate.setProperty(f,y,l)}setValue(f,y){this.delegate.setValue(f,y)}listen(f,y,l){return this.delegate.listen(f,y,l)}disableAnimations(f,y){this.engine.disableAnimations(f,y)}}class Sn extends Xo{constructor(f,y,l,d,c){super(y,l,d,c),this.factory=f,this.namespaceId=y}setProperty(f,y,l){"@"==y.charAt(0)?"."==y.charAt(1)&&y==Sr?this.disableAnimations(f,l=void 0===l||!!l):this.engine.process(this.namespaceId,f,y.slice(1),l):this.delegate.setProperty(f,y,l)}listen(f,y,l){if("@"==y.charAt(0)){const d=function go(L){switch(L){case"body":return document.body;case"document":return document;case"window":return window;default:return L}}(f);let c=y.slice(1),C="";return"@"!=c.charAt(0)&&([c,C]=function mo(L){const f=L.indexOf(".");return[L.substring(0,f),L.slice(f+1)]}(c)),this.engine.listen(this.namespaceId,d,c,C,I=>{this.factory.scheduleListenerCallback(I._data||-1,l,I)})}return this.delegate.listen(f,y,l)}}class jt{constructor(f,y,l){this.delegate=f,this.engine=y,this._zone=l,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,y.onRemovalComplete=(d,c)=>{c?.removeChild(null,d)}}createRenderer(f,y){const d=this.delegate.createRenderer(f,y);if(!f||!y?.data?.animation){const re=this._rendererCache;let Ne=re.get(d);return Ne||(Ne=new Xo("",d,this.engine,()=>re.delete(d)),re.set(d,Ne)),Ne}const c=y.id,C=y.id+"-"+this._currentId;this._currentId++,this.engine.register(C,f);const I=re=>{Array.isArray(re)?re.forEach(I):this.engine.registerTrigger(c,C,f,re.name,re)};return y.data.animation.forEach(I),new Sn(this,C,d,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(f,y,l){if(f>=0&&f<this._microtaskId)return void this._zone.run(()=>y(l));const d=this._animationCallbacksBuffer;0==d.length&&queueMicrotask(()=>{this._zone.run(()=>{d.forEach(c=>{const[C,I]=c;C(I)}),this._animationCallbacksBuffer=[]})}),d.push([y,l])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}var Is=D(177);const Ao=[{provide:Re,useFactory:function ps(){return new Vr}},{provide:xi,useClass:(()=>{class L extends xi{constructor(y,l,d){super(y,l,d)}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(l){return new(l||L)(s.KVO(Is.qQ),s.KVO(gt),s.KVO(Re))};static#t=this.\u0275prov=s.jDH({token:L,factory:L.\u0275fac})}return L})()},{provide:s._9s,useFactory:function gs(L,f,y){return new jt(L,f,y)},deps:[b.B7,xi,s.SKi]}],Ri=[{provide:gt,useFactory:()=>new gr},{provide:s.bc$,useValue:"BrowserAnimations"},...Ao],tt=[{provide:gt,useClass:Xn},{provide:s.bc$,useValue:"NoopAnimations"},...Ao];let Yr=(()=>{class L{static withConfig(y){return{ngModule:L,providers:y.disableAnimations?tt:Ri}}static#e=this.\u0275fac=function(l){return new(l||L)};static#t=this.\u0275mod=s.$C({type:L});static#n=this.\u0275inj=s.G2t({providers:Ri,imports:[b.Bb]})}return L})()},345:(H,k,D)=>{"use strict";D.d(k,{B7:()=>pe,Bb:()=>oi,hE:()=>ir,sG:()=>$t});var s=D(177),b=D(3953);class O extends s.VF{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class R extends O{static makeCurrent(){(0,s.ZD)(new R)}onAndCancel(ae,W,te){return ae.addEventListener(W,te),()=>{ae.removeEventListener(W,te)}}dispatchEvent(ae,W){ae.dispatchEvent(W)}remove(ae){ae.remove()}createElement(ae,W){return(W=W||this.getDefaultDocument()).createElement(ae)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(ae){return ae.nodeType===Node.ELEMENT_NODE}isShadowRoot(ae){return ae instanceof DocumentFragment}getGlobalEventTarget(ae,W){return"window"===W?window:"document"===W?ae:"body"===W?ae.body:null}getBaseHref(ae){const W=function j(){return N=N||document.querySelector("base"),N?N.getAttribute("href"):null}();return null==W?null:function $(he){return new URL(he,document.baseURI).pathname}(W)}resetBaseElement(){N=null}getUserAgent(){return window.navigator.userAgent}getCookie(ae){return(0,s._b)(document.cookie,ae)}}let N=null,X=(()=>{class he{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(te){return new(te||he)};static#t=this.\u0275prov=b.jDH({token:he,factory:he.\u0275fac})}return he})();const J=new b.nKC("");let oe=(()=>{class he{constructor(W,te){this._zone=te,this._eventNameToPlugin=new Map,W.forEach(_e=>{_e.manager=this}),this._plugins=W.slice().reverse()}addEventListener(W,te,_e){return this._findPluginFor(te).addEventListener(W,te,_e)}getZone(){return this._zone}_findPluginFor(W){let te=this._eventNameToPlugin.get(W);if(te)return te;if(te=this._plugins.find(Be=>Be.supports(W)),!te)throw new b.wOt(5101,!1);return this._eventNameToPlugin.set(W,te),te}static#e=this.\u0275fac=function(te){return new(te||he)(b.KVO(J),b.KVO(b.SKi))};static#t=this.\u0275prov=b.jDH({token:he,factory:he.\u0275fac})}return he})();class ge{constructor(ae){this._doc=ae}}const be="ng-app-id";let Oe=(()=>{class he{constructor(W,te,_e,Be={}){this.doc=W,this.appId=te,this.nonce=_e,this.platformId=Be,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,s.Vy)(Be),this.resetHostNodes()}addStyles(W){for(const te of W)1===this.changeUsageCount(te,1)&&this.onStyleAdded(te)}removeStyles(W){for(const te of W)this.changeUsageCount(te,-1)<=0&&this.onStyleRemoved(te)}ngOnDestroy(){const W=this.styleNodesInDOM;W&&(W.forEach(te=>te.remove()),W.clear());for(const te of this.getAllStyles())this.onStyleRemoved(te);this.resetHostNodes()}addHost(W){this.hostNodes.add(W);for(const te of this.getAllStyles())this.addStyleToHost(W,te)}removeHost(W){this.hostNodes.delete(W)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(W){for(const te of this.hostNodes)this.addStyleToHost(te,W)}onStyleRemoved(W){const te=this.styleRef;te.get(W)?.elements?.forEach(_e=>_e.remove()),te.delete(W)}collectServerRenderedStyles(){const W=this.doc.head?.querySelectorAll(`style[${be}="${this.appId}"]`);if(W?.length){const te=new Map;return W.forEach(_e=>{null!=_e.textContent&&te.set(_e.textContent,_e)}),te}return null}changeUsageCount(W,te){const _e=this.styleRef;if(_e.has(W)){const Be=_e.get(W);return Be.usage+=te,Be.usage}return _e.set(W,{usage:te,elements:[]}),te}getStyleElement(W,te){const _e=this.styleNodesInDOM,Be=_e?.get(te);if(Be?.parentNode===W)return _e.delete(te),Be.removeAttribute(be),Be;{const lt=this.doc.createElement("style");return this.nonce&<.setAttribute("nonce",this.nonce),lt.textContent=te,this.platformIsServer&<.setAttribute(be,this.appId),W.appendChild(lt),lt}}addStyleToHost(W,te){const _e=this.getStyleElement(W,te),Be=this.styleRef,lt=Be.get(te)?.elements;lt?lt.push(_e):Be.set(te,{elements:[_e],usage:1})}resetHostNodes(){const W=this.hostNodes;W.clear(),W.add(this.doc.head)}static#e=this.\u0275fac=function(te){return new(te||he)(b.KVO(s.qQ),b.KVO(b.sZ2),b.KVO(b.BIS,8),b.KVO(b.Agw))};static#t=this.\u0275prov=b.jDH({token:he,factory:he.\u0275fac})}return he})();const Fe={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"},Ge=/%COMP%/g,_t=new b.nKC("",{providedIn:"root",factory:()=>!0});function se(he,ae){return ae.map(W=>W.replace(Ge,he))}let pe=(()=>{class he{constructor(W,te,_e,Be,lt,Dt,tn,Bt=null){this.eventManager=W,this.sharedStylesHost=te,this.appId=_e,this.removeStylesOnCompDestroy=Be,this.doc=lt,this.platformId=Dt,this.ngZone=tn,this.nonce=Bt,this.rendererByCompId=new Map,this.platformIsServer=(0,s.Vy)(Dt),this.defaultRenderer=new Ie(W,lt,tn,this.platformIsServer)}createRenderer(W,te){if(!W||!te)return this.defaultRenderer;this.platformIsServer&&te.encapsulation===b.gXe.ShadowDom&&(te={...te,encapsulation:b.gXe.Emulated});const _e=this.getOrCreateRenderer(W,te);return _e instanceof ot?_e.applyToHost(W):_e instanceof Ye&&_e.applyStyles(),_e}getOrCreateRenderer(W,te){const _e=this.rendererByCompId;let Be=_e.get(te.id);if(!Be){const lt=this.doc,Dt=this.ngZone,tn=this.eventManager,Bt=this.sharedStylesHost,Un=this.removeStylesOnCompDestroy,Ut=this.platformIsServer;switch(te.encapsulation){case b.gXe.Emulated:Be=new ot(tn,Bt,te,this.appId,Un,lt,Dt,Ut);break;case b.gXe.ShadowDom:return new me(tn,Bt,W,te,lt,Dt,this.nonce,Ut);default:Be=new Ye(tn,Bt,te,Un,lt,Dt,Ut)}_e.set(te.id,Be)}return Be}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(te){return new(te||he)(b.KVO(oe),b.KVO(Oe),b.KVO(b.sZ2),b.KVO(_t),b.KVO(s.qQ),b.KVO(b.Agw),b.KVO(b.SKi),b.KVO(b.BIS))};static#t=this.\u0275prov=b.jDH({token:he,factory:he.\u0275fac})}return he})();class Ie{constructor(ae,W,te,_e){this.eventManager=ae,this.doc=W,this.ngZone=te,this.platformIsServer=_e,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(ae,W){return W?this.doc.createElementNS(Fe[W]||W,ae):this.doc.createElement(ae)}createComment(ae){return this.doc.createComment(ae)}createText(ae){return this.doc.createTextNode(ae)}appendChild(ae,W){(de(ae)?ae.content:ae).appendChild(W)}insertBefore(ae,W,te){ae&&(de(ae)?ae.content:ae).insertBefore(W,te)}removeChild(ae,W){W.remove()}selectRootElement(ae,W){let te="string"==typeof ae?this.doc.querySelector(ae):ae;if(!te)throw new b.wOt(-5104,!1);return W||(te.textContent=""),te}parentNode(ae){return ae.parentNode}nextSibling(ae){return ae.nextSibling}setAttribute(ae,W,te,_e){if(_e){W=_e+":"+W;const Be=Fe[_e];Be?ae.setAttributeNS(Be,W,te):ae.setAttribute(W,te)}else ae.setAttribute(W,te)}removeAttribute(ae,W,te){if(te){const _e=Fe[te];_e?ae.removeAttributeNS(_e,W):ae.removeAttribute(`${te}:${W}`)}else ae.removeAttribute(W)}addClass(ae,W){ae.classList.add(W)}removeClass(ae,W){ae.classList.remove(W)}setStyle(ae,W,te,_e){_e&(b.czy.DashCase|b.czy.Important)?ae.style.setProperty(W,te,_e&b.czy.Important?"important":""):ae.style[W]=te}removeStyle(ae,W,te){te&b.czy.DashCase?ae.style.removeProperty(W):ae.style[W]=""}setProperty(ae,W,te){null!=ae&&(ae[W]=te)}setValue(ae,W){ae.nodeValue=W}listen(ae,W,te){if("string"==typeof ae&&!(ae=(0,s.QT)().getGlobalEventTarget(this.doc,ae)))throw new Error(`Unsupported event target ${ae} for event ${W}`);return this.eventManager.addEventListener(ae,W,this.decoratePreventDefault(te))}decoratePreventDefault(ae){return W=>{if("__ngUnwrap__"===W)return ae;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>ae(W)):ae(W))&&W.preventDefault()}}}function de(he){return"TEMPLATE"===he.tagName&&void 0!==he.content}class me extends Ie{constructor(ae,W,te,_e,Be,lt,Dt,tn){super(ae,Be,lt,tn),this.sharedStylesHost=W,this.hostEl=te,this.shadowRoot=te.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Bt=se(_e.id,_e.styles);for(const Un of Bt){const Ut=document.createElement("style");Dt&&Ut.setAttribute("nonce",Dt),Ut.textContent=Un,this.shadowRoot.appendChild(Ut)}}nodeOrShadowRoot(ae){return ae===this.hostEl?this.shadowRoot:ae}appendChild(ae,W){return super.appendChild(this.nodeOrShadowRoot(ae),W)}insertBefore(ae,W,te){return super.insertBefore(this.nodeOrShadowRoot(ae),W,te)}removeChild(ae,W){return super.removeChild(null,W)}parentNode(ae){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(ae)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Ye extends Ie{constructor(ae,W,te,_e,Be,lt,Dt,tn){super(ae,Be,lt,Dt),this.sharedStylesHost=W,this.removeStylesOnCompDestroy=_e,this.styles=tn?se(tn,te.styles):te.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class ot extends Ye{constructor(ae,W,te,_e,Be,lt,Dt,tn){const Bt=_e+"-"+te.id;super(ae,W,te,Be,lt,Dt,tn,Bt),this.contentAttr=function ut(he){return"_ngcontent-%COMP%".replace(Ge,he)}(Bt),this.hostAttr=function $e(he){return"_nghost-%COMP%".replace(Ge,he)}(Bt)}applyToHost(ae){this.applyStyles(),this.setAttribute(ae,this.hostAttr,"")}createElement(ae,W){const te=super.createElement(ae,W);return super.setAttribute(te,this.contentAttr,""),te}}let qt=(()=>{class he extends ge{constructor(W){super(W)}supports(W){return!0}addEventListener(W,te,_e){return W.addEventListener(te,_e,!1),()=>this.removeEventListener(W,te,_e)}removeEventListener(W,te,_e){return W.removeEventListener(te,_e)}static#e=this.\u0275fac=function(te){return new(te||he)(b.KVO(s.qQ))};static#t=this.\u0275prov=b.jDH({token:he,factory:he.\u0275fac})}return he})(),Dn=(()=>{class he extends ge{constructor(W){super(W),this.delegate=(0,b.WQX)(b.zAP,{optional:!0})}supports(W){return!!this.delegate&&this.delegate.supports(W)}addEventListener(W,te,_e){return this.delegate.addEventListener(W,te,_e)}removeEventListener(W,te,_e){return this.delegate.removeEventListener(W,te,_e)}static#e=this.\u0275fac=function(te){return new(te||he)(b.KVO(s.qQ))};static#t=this.\u0275prov=b.jDH({token:he,factory:he.\u0275fac})}return he})();const Zt=["alt","control","meta","shift"],vn={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},nt={alt:he=>he.altKey,control:he=>he.ctrlKey,meta:he=>he.metaKey,shift:he=>he.shiftKey};let Nn=(()=>{class he extends ge{constructor(W){super(W)}supports(W){return null!=he.parseEventName(W)}addEventListener(W,te,_e){const Be=he.parseEventName(te),lt=he.eventCallback(Be.fullKey,_e,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,s.QT)().onAndCancel(W,Be.domEventName,lt))}static parseEventName(W){const te=W.toLowerCase().split("."),_e=te.shift();if(0===te.length||"keydown"!==_e&&"keyup"!==_e)return null;const Be=he._normalizeKey(te.pop());let lt="",Dt=te.indexOf("code");if(Dt>-1&&(te.splice(Dt,1),lt="code."),Zt.forEach(Bt=>{const Un=te.indexOf(Bt);Un>-1&&(te.splice(Un,1),lt+=Bt+".")}),lt+=Be,0!=te.length||0===Be.length)return null;const tn={};return tn.domEventName=_e,tn.fullKey=lt,tn}static matchEventFullKeyCode(W,te){let _e=vn[W.key]||W.key,Be="";return te.indexOf("code.")>-1&&(_e=W.code,Be="code."),!(null==_e||!_e)&&(_e=_e.toLowerCase()," "===_e?_e="space":"."===_e&&(_e="dot"),Zt.forEach(lt=>{lt!==_e&&(0,nt[lt])(W)&&(Be+=lt+".")}),Be+=_e,Be===te)}static eventCallback(W,te,_e){return Be=>{he.matchEventFullKeyCode(Be,W)&&_e.runGuarded(()=>te(Be))}}static _normalizeKey(W){return"esc"===W?"escape":W}static#e=this.\u0275fac=function(te){return new(te||he)(b.KVO(s.qQ))};static#t=this.\u0275prov=b.jDH({token:he,factory:he.\u0275fac})}return he})();const $t=(0,b.oH4)(b.fpN,"browser",[{provide:b.Agw,useValue:s.AJ},{provide:b.PLl,useValue:function Rn(){R.makeCurrent()},multi:!0},{provide:s.qQ,useFactory:function rr(){return(0,b.TL$)(document),document},deps:[]}]),Kr=new b.nKC(""),en=[{provide:b.e01,useClass:class B{addToWindow(ae){b.JZv.getAngularTestability=(te,_e=!0)=>{const Be=ae.findTestabilityInTree(te,_e);if(null==Be)throw new b.wOt(5103,!1);return Be},b.JZv.getAllAngularTestabilities=()=>ae.getAllTestabilities(),b.JZv.getAllAngularRootElements=()=>ae.getAllRootElements(),b.JZv.frameworkStabilizers||(b.JZv.frameworkStabilizers=[]),b.JZv.frameworkStabilizers.push(te=>{const _e=b.JZv.getAllAngularTestabilities();let Be=_e.length;const lt=function(){Be--,0==Be&&te()};_e.forEach(Dt=>{Dt.whenStable(lt)})})}findTestabilityInTree(ae,W,te){return null==W?null:ae.getTestability(W)??(te?(0,s.QT)().isShadowRoot(W)?this.findTestabilityInTree(ae,W.host,!0):this.findTestabilityInTree(ae,W.parentElement,!0):null)}},deps:[]},{provide:b.WHO,useClass:b.NYb,deps:[b.SKi,b.giA,b.e01]},{provide:b.NYb,useClass:b.NYb,deps:[b.SKi,b.giA,b.e01]}],_n=[{provide:b.H8p,useValue:"root"},{provide:b.zcH,useFactory:function nr(){return new b.zcH},deps:[]},{provide:J,useClass:qt,multi:!0,deps:[s.qQ,b.SKi,b.Agw]},{provide:J,useClass:Nn,multi:!0,deps:[s.qQ]},{provide:J,useClass:Dn,multi:!0},pe,Oe,oe,{provide:b._9s,useExisting:pe},{provide:s.N0,useClass:X,deps:[]},[]];let oi=(()=>{class he{constructor(W){}static withServerTransition(W){return{ngModule:he,providers:[{provide:b.sZ2,useValue:W.appId}]}}static#e=this.\u0275fac=function(te){return new(te||he)(b.KVO(Kr,12))};static#t=this.\u0275mod=b.$C({type:he});static#n=this.\u0275inj=b.G2t({providers:[..._n,...en],imports:[s.MD,b.Hbi]})}return he})(),ir=(()=>{class he{constructor(W){this._doc=W}getTitle(){return this._doc.title}setTitle(W){this._doc.title=W||""}static#e=this.\u0275fac=function(te){return new(te||he)(b.KVO(s.qQ))};static#t=this.\u0275prov=b.jDH({token:he,factory:he.\u0275fac,providedIn:"root"})}return he})()},7901:(H,k,D)=>{"use strict";D.d(k,{Ix:()=>Lt,iI:()=>Dl,n3:()=>Yi,nX:()=>rn});var s=D(3953),b=D(4402),O=D(6648),R=D(7673),N=D(4412),j=D(4572),$=D(9350),B=D(8793),X=D(9030),J=D(1203),oe=D(8810),ge=D(983),be=D(17),Oe=D(1413),Fe=D(8359),Ge=D(177),ze=D(6354),We=D(5558),Ke=D(6697),vt=D(9172),_t=D(5964),ut=D(1397),$e=D(1594),se=D(274),pe=D(8141),Ie=D(9437),Te=D(2816),Se=D(9901),de=D(7018),me=D(5109),Ye=D(3703),ot=D(980),qt=D(9898),Dn=D(6977),Zt=D(6365),vn=D(345);const nt="primary",Nn=Symbol("RouteTitle");class Nr{constructor(v){this.params=v||{}}has(v){return Object.prototype.hasOwnProperty.call(this.params,v)}get(v){if(this.has(v)){const p=this.params[v];return Array.isArray(p)?p[0]:p}return null}getAll(v){if(this.has(v)){const p=this.params[v];return Array.isArray(p)?p:[p]}return[]}get keys(){return Object.keys(this.params)}}function ln(h){return new Nr(h)}function cn(h,v,p){const _=p.path.split("/");if(_.length>h.length||"full"===p.pathMatch&&(v.hasChildren()||_.length<h.length))return null;const S={};for(let F=0;F<_.length;F++){const z=_[F],fe=h[F];if(":"===z[0])S[z.substring(1)]=fe;else if(z!==fe.path)return null}return{consumed:h.slice(0,_.length),posParams:S}}function Rn(h,v){const p=h?nr(h):void 0,_=v?nr(v):void 0;if(!p||!_||p.length!=_.length)return!1;let S;for(let F=0;F<p.length;F++)if(S=p[F],!rr(h[S],v[S]))return!1;return!0}function nr(h){return[...Object.keys(h),...Object.getOwnPropertySymbols(h)]}function rr(h,v){if(Array.isArray(h)&&Array.isArray(v)){if(h.length!==v.length)return!1;const p=[...h].sort(),_=[...v].sort();return p.every((S,F)=>_[F]===S)}return h===v}function fr(h){return h.length>0?h[h.length-1]:null}function $t(h){return(0,b.A)(h)?h:(0,s.jNT)(h)?(0,O.H)(Promise.resolve(h)):(0,R.of)(h)}const Kr={exact:function sn(h,v,p){if(!gt(h.segments,v.segments)||!or(h.segments,v.segments,p)||h.numberOfChildren!==v.numberOfChildren)return!1;for(const _ in v.children)if(!h.children[_]||!sn(h.children[_],v.children[_],p))return!1;return!0},subset:ir},en={exact:function oi(h,v){return Rn(h,v)},subset:function Cr(h,v){return Object.keys(v).length<=Object.keys(h).length&&Object.keys(v).every(p=>rr(h[p],v[p]))},ignored:()=>!0};function _n(h,v,p){return Kr[p.paths](h.root,v.root,p.matrixParams)&&en[p.queryParams](h.queryParams,v.queryParams)&&!("exact"===p.fragment&&h.fragment!==v.fragment)}function ir(h,v,p){return Rr(h,v,v.segments,p)}function Rr(h,v,p,_){if(h.segments.length>p.length){const S=h.segments.slice(0,p.length);return!(!gt(S,p)||v.hasChildren()||!or(S,p,_))}if(h.segments.length===p.length){if(!gt(h.segments,p)||!or(h.segments,p,_))return!1;for(const S in v.children)if(!h.children[S]||!ir(h.children[S],v.children[S],_))return!1;return!0}{const S=p.slice(0,h.segments.length),F=p.slice(h.segments.length);return!!(gt(h.segments,S)&&or(h.segments,S,_)&&h.children[nt])&&Rr(h.children[nt],v,F,_)}}function or(h,v,p){return v.every((_,S)=>en[p](h[S].parameters,_.parameters))}class Fn{constructor(v=new Et([],{}),p={},_=null){this.root=v,this.queryParams=p,this.fragment=_}get queryParamMap(){return this._queryParamMap??=ln(this.queryParams),this._queryParamMap}toString(){return Yn.serialize(this)}}class Et{constructor(v,p){this.segments=v,this.children=p,this.parent=null,Object.values(p).forEach(_=>_.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Cn(this)}}class wr{constructor(v,p){this.path=v,this.parameters=p}get parameterMap(){return this._parameterMap??=ln(this.parameters),this._parameterMap}toString(){return zn(this)}}function gt(h,v){return h.length===v.length&&h.every((p,_)=>p.path===v[_].path)}let si=(()=>{class h{static#e=this.\u0275fac=function(_){return new(_||h)};static#t=this.\u0275prov=s.jDH({token:h,factory:()=>new Fr,providedIn:"root"})}return h})();class Fr{parse(v){const p=new Be(v);return new Fn(p.parseRootSegment(),p.parseQueryParams(),p.parseFragment())}serialize(v){const p=`/${mt(v.root,!0)}`,_=function kr(h){const v=Object.entries(h).map(([p,_])=>Array.isArray(_)?_.map(S=>`${Rt(p)}=${Rt(S)}`).join("&"):`${Rt(p)}=${Rt(_)}`).filter(p=>p);return v.length?`?${v.join("&")}`:""}(v.queryParams);return`${p}${_}${"string"==typeof v.fragment?`#${function gi(h){return encodeURI(h)}(v.fragment)}`:""}`}}const Yn=new Fr;function Cn(h){return h.segments.map(v=>zn(v)).join("/")}function mt(h,v){if(!h.hasChildren())return Cn(h);if(v){const p=h.children[nt]?mt(h.children[nt],!1):"",_=[];return Object.entries(h.children).forEach(([S,F])=>{S!==nt&&_.push(`${S}:${mt(F,!1)}`)}),_.length>0?`${p}(${_.join("//")})`:p}{const p=function Re(h,v){let p=[];return Object.entries(h.children).forEach(([_,S])=>{_===nt&&(p=p.concat(v(S,_)))}),Object.entries(h.children).forEach(([_,S])=>{_!==nt&&(p=p.concat(v(S,_)))}),p}(h,(_,S)=>S===nt?[mt(h.children[nt],!1)]:[`${S}:${mt(_,!1)}`]);return 1===Object.keys(h.children).length&&null!=h.children[nt]?`${Cn(h)}/${p[0]}`:`${Cn(h)}/(${p.join("//")})`}}function Vn(h){return encodeURIComponent(h).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Rt(h){return Vn(h).replace(/%3B/gi,";")}function st(h){return Vn(h).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function At(h){return decodeURIComponent(h)}function kn(h){return At(h.replace(/\+/g,"%20"))}function zn(h){return`${st(h.path)}${function Wn(h){return Object.entries(h).map(([v,p])=>`;${st(v)}=${st(p)}`).join("")}(h.parameters)}`}const Lr=/^[^\/()?;#]+/;function Mn(h){const v=h.match(Lr);return v?v[0]:""}const un=/^[^\/()?;=#]+/,ae=/^[^=?&#]+/,te=/^[^&#]+/;class Be{constructor(v){this.url=v,this.remaining=v}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Et([],{}):new Et([],this.parseChildren())}parseQueryParams(){const v={};if(this.consumeOptional("?"))do{this.parseQueryParam(v)}while(this.consumeOptional("&"));return v}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const v=[];for(this.peekStartsWith("(")||v.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),v.push(this.parseSegment());let p={};this.peekStartsWith("/(")&&(this.capture("/"),p=this.parseParens(!0));let _={};return this.peekStartsWith("(")&&(_=this.parseParens(!1)),(v.length>0||Object.keys(p).length>0)&&(_[nt]=new Et(v,p)),_}parseSegment(){const v=Mn(this.remaining);if(""===v&&this.peekStartsWith(";"))throw new s.wOt(4009,!1);return this.capture(v),new wr(At(v),this.parseMatrixParams())}parseMatrixParams(){const v={};for(;this.consumeOptional(";");)this.parseParam(v);return v}parseParam(v){const p=function he(h){const v=h.match(un);return v?v[0]:""}(this.remaining);if(!p)return;this.capture(p);let _="";if(this.consumeOptional("=")){const S=Mn(this.remaining);S&&(_=S,this.capture(_))}v[At(p)]=At(_)}parseQueryParam(v){const p=function W(h){const v=h.match(ae);return v?v[0]:""}(this.remaining);if(!p)return;this.capture(p);let _="";if(this.consumeOptional("=")){const z=function _e(h){const v=h.match(te);return v?v[0]:""}(this.remaining);z&&(_=z,this.capture(_))}const S=kn(p),F=kn(_);if(v.hasOwnProperty(S)){let z=v[S];Array.isArray(z)||(z=[z],v[S]=z),z.push(F)}else v[S]=F}parseParens(v){const p={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const _=Mn(this.remaining),S=this.remaining[_.length];if("/"!==S&&")"!==S&&";"!==S)throw new s.wOt(4010,!1);let F;_.indexOf(":")>-1?(F=_.slice(0,_.indexOf(":")),this.capture(F),this.capture(":")):v&&(F=nt);const z=this.parseChildren();p[F]=1===Object.keys(z).length?z[nt]:new Et([],z),this.consumeOptional("//")}return p}peekStartsWith(v){return this.remaining.startsWith(v)}consumeOptional(v){return!!this.peekStartsWith(v)&&(this.remaining=this.remaining.substring(v.length),!0)}capture(v){if(!this.consumeOptional(v))throw new s.wOt(4011,!1)}}function lt(h){return h.segments.length>0?new Et([],{[nt]:h}):h}function Dt(h){const v={};for(const[_,S]of Object.entries(h.children)){const F=Dt(S);if(_===nt&&0===F.segments.length&&F.hasChildren())for(const[z,fe]of Object.entries(F.children))v[z]=fe;else(F.segments.length>0||F.hasChildren())&&(v[_]=F)}return function tn(h){if(1===h.numberOfChildren&&h.children[nt]){const v=h.children[nt];return new Et(h.segments.concat(v.segments),v.children)}return h}(new Et(h.segments,v))}function Bt(h){return h instanceof Fn}function Ut(h){let v;const S=lt(function p(F){const z={};for(const ie of F.children){const je=p(ie);z[ie.outlet]=je}const fe=new Et(F.url,z);return F===h&&(v=fe),fe}(h.root));return v??S}function sr(h,v,p,_){let S=h;for(;S.parent;)S=S.parent;if(0===v.length)return Ti(S,S,S,p,_);const F=function Do(h){if("string"==typeof h[0]&&1===h.length&&"/"===h[0])return new mi(!0,0,h);let v=0,p=!1;const _=h.reduce((S,F,z)=>{if("object"==typeof F&&null!=F){if(F.outlets){const fe={};return Object.entries(F.outlets).forEach(([ie,je])=>{fe[ie]="string"==typeof je?je.split("/"):je}),[...S,{outlets:fe}]}if(F.segmentPath)return[...S,F.segmentPath]}return"string"!=typeof F?[...S,F]:0===z?(F.split("/").forEach((fe,ie)=>{0==ie&&"."===fe||(0==ie&&""===fe?p=!0:".."===fe?v++:""!=fe&&S.push(fe))}),S):[...S,F]},[]);return new mi(p,v,_)}(v);if(F.toRoot())return Ti(S,S,new Et([],{}),p,_);const z=function Dr(h,v,p){if(h.isAbsolute)return new jn(v,!0,0);if(!p)return new jn(v,!1,NaN);if(null===p.parent)return new jn(p,!0,0);const _=Er(h.commands[0])?0:1;return function Gt(h,v,p){let _=h,S=v,F=p;for(;F>S;){if(F-=S,_=_.parent,!_)throw new s.wOt(4005,!1);S=_.segments.length}return new jn(_,!1,S-F)}(p,p.segments.length-1+_,h.numberOfDoubleDots)}(F,S,h),fe=z.processChildren?Kn(z.segmentGroup,z.index,F.commands):Ur(z.segmentGroup,z.index,F.commands);return Ti(S,z.segmentGroup,fe,p,_)}function Er(h){return"object"==typeof h&&null!=h&&!h.outlets&&!h.segmentPath}function Vr(h){return"object"==typeof h&&null!=h&&h.outlets}function Ti(h,v,p,_,S){let z,F={};_&&Object.entries(_).forEach(([ie,je])=>{F[ie]=Array.isArray(je)?je.map(pt=>`${pt}`):`${je}`}),z=h===v?p:Go(h,v,p);const fe=lt(Dt(z));return new Fn(fe,F,S)}function Go(h,v,p){const _={};return Object.entries(h.children).forEach(([S,F])=>{_[S]=F===v?p:Go(F,v,p)}),new Et(h.segments,_)}class mi{constructor(v,p,_){if(this.isAbsolute=v,this.numberOfDoubleDots=p,this.commands=_,v&&_.length>0&&Er(_[0]))throw new s.wOt(4003,!1);const S=_.find(Vr);if(S&&S!==fr(_))throw new s.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class jn{constructor(v,p,_){this.segmentGroup=v,this.processChildren=p,this.index=_}}function Ur(h,v,p){if(h??=new Et([],{}),0===h.segments.length&&h.hasChildren())return Kn(h,v,p);const _=function jr(h,v,p){let _=0,S=v;const F={match:!1,pathIndex:0,commandIndex:0};for(;S<h.segments.length;){if(_>=p.length)return F;const z=h.segments[S],fe=p[_];if(Vr(fe))break;const ie=`${fe}`,je=_<p.length-1?p[_+1]:null;if(S>0&&void 0===ie)break;if(ie&&je&&"object"==typeof je&&void 0===je.outlets){if(!zi(ie,je,z))return F;_+=2}else{if(!zi(ie,{},z))return F;_++}S++}return{match:!0,pathIndex:S,commandIndex:_}}(h,v,p),S=p.slice(_.commandIndex);if(_.match&&_.pathIndex<h.segments.length){const F=new Et(h.segments.slice(0,_.pathIndex),{});return F.children[nt]=new Et(h.segments.slice(_.pathIndex),h.children),Kn(F,0,S)}return _.match&&0===S.length?new Et(h.segments,{}):_.match&&!h.hasChildren()?Zn(h,v,p):_.match?Kn(h,0,S):Zn(h,v,p)}function Kn(h,v,p){if(0===p.length)return new Et(h.segments,{});{const _=function Mr(h){return Vr(h[0])?h[0].outlets:{[nt]:h}}(p),S={};if(Object.keys(_).some(F=>F!==nt)&&h.children[nt]&&1===h.numberOfChildren&&0===h.children[nt].segments.length){const F=Kn(h.children[nt],v,p);return new Et(h.segments,F.children)}return Object.entries(_).forEach(([F,z])=>{"string"==typeof z&&(z=[z]),null!==z&&(S[F]=Ur(h.children[F],v,z))}),Object.entries(h.children).forEach(([F,z])=>{void 0===_[F]&&(S[F]=z)}),new Et(h.segments,S)}}function Zn(h,v,p){const _=h.segments.slice(0,v);let S=0;for(;S<p.length;){const F=p[S];if(Vr(F)){const ie=Br(F.outlets);return new Et(_,ie)}if(0===S&&Er(p[0])){_.push(new wr(h.segments[v].path,Ii(p[0]))),S++;continue}const z=Vr(F)?F.outlets[nt]:`${F}`,fe=S<p.length-1?p[S+1]:null;z&&fe&&Er(fe)?(_.push(new wr(z,Ii(fe))),S+=2):(_.push(new wr(z,{})),S++)}return new Et(_,{})}function Br(h){const v={};return Object.entries(h).forEach(([p,_])=>{"string"==typeof _&&(_=[_]),null!==_&&(v[p]=Zn(new Et([],{}),0,_))}),v}function Ii(h){const v={};return Object.entries(h).forEach(([p,_])=>v[p]=`${_}`),v}function zi(h,v,p){return h==p.path&&Rn(v,p.parameters)}const $r="imperative";var yt=function(h){return h[h.NavigationStart=0]="NavigationStart",h[h.NavigationEnd=1]="NavigationEnd",h[h.NavigationCancel=2]="NavigationCancel",h[h.NavigationError=3]="NavigationError",h[h.RoutesRecognized=4]="RoutesRecognized",h[h.ResolveStart=5]="ResolveStart",h[h.ResolveEnd=6]="ResolveEnd",h[h.GuardsCheckStart=7]="GuardsCheckStart",h[h.GuardsCheckEnd=8]="GuardsCheckEnd",h[h.RouteConfigLoadStart=9]="RouteConfigLoadStart",h[h.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",h[h.ChildActivationStart=11]="ChildActivationStart",h[h.ChildActivationEnd=12]="ChildActivationEnd",h[h.ActivationStart=13]="ActivationStart",h[h.ActivationEnd=14]="ActivationEnd",h[h.Scroll=15]="Scroll",h[h.NavigationSkipped=16]="NavigationSkipped",h}(yt||{});class dn{constructor(v,p){this.id=v,this.url=p}}class ai extends dn{constructor(v,p,_="imperative",S=null){super(v,p),this.type=yt.NavigationStart,this.navigationTrigger=_,this.restoredState=S}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Jn extends dn{constructor(v,p,_){super(v,p),this.urlAfterRedirects=_,this.type=yt.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var bn=function(h){return h[h.Redirect=0]="Redirect",h[h.SupersededByNewNavigation=1]="SupersededByNewNavigation",h[h.NoDataFromResolver=2]="NoDataFromResolver",h[h.GuardRejected=3]="GuardRejected",h}(bn||{}),V=function(h){return h[h.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",h[h.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",h}(V||{});class Q extends dn{constructor(v,p,_,S){super(v,p),this.reason=_,this.code=S,this.type=yt.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class K extends dn{constructor(v,p,_,S){super(v,p),this.reason=_,this.code=S,this.type=yt.NavigationSkipped}}class ce extends dn{constructor(v,p,_,S){super(v,p),this.error=_,this.target=S,this.type=yt.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Ce extends dn{constructor(v,p,_,S){super(v,p),this.urlAfterRedirects=_,this.state=S,this.type=yt.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Pe extends dn{constructor(v,p,_,S){super(v,p),this.urlAfterRedirects=_,this.state=S,this.type=yt.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class xe extends dn{constructor(v,p,_,S,F){super(v,p),this.urlAfterRedirects=_,this.state=S,this.shouldActivate=F,this.type=yt.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Ze extends dn{constructor(v,p,_,S){super(v,p),this.urlAfterRedirects=_,this.state=S,this.type=yt.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Xe extends dn{constructor(v,p,_,S){super(v,p),this.urlAfterRedirects=_,this.state=S,this.type=yt.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class zt{constructor(v){this.route=v,this.type=yt.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Wt{constructor(v){this.route=v,this.type=yt.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Kt{constructor(v){this.snapshot=v,this.type=yt.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class pn{constructor(v){this.snapshot=v,this.type=yt.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Qt{constructor(v){this.snapshot=v,this.type=yt.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class x{constructor(v){this.snapshot=v,this.type=yt.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class De{constructor(v,p,_){this.routerEvent=v,this.position=p,this.anchor=_,this.type=yt.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class A{}class Y{constructor(v,p){this.url=v,this.navigationBehaviorOptions=p}}function br(h){return h.outlet||nt}function Oi(h){if(!h)return null;if(h.routeConfig?._injector)return h.routeConfig._injector;for(let v=h.parent;v;v=v.parent){const p=v.routeConfig;if(p?._loadedInjector)return p._loadedInjector;if(p?._injector)return p._injector}return null}class Ss{get injector(){return Oi(this.route?.snapshot)??this.rootInjector}set injector(v){}constructor(v){this.rootInjector=v,this.outlet=null,this.route=null,this.children=new qi(this.rootInjector),this.attachRef=null}}let qi=(()=>{class h{constructor(p){this.rootInjector=p,this.contexts=new Map}onChildOutletCreated(p,_){const S=this.getOrCreateContext(p);S.outlet=_,this.contexts.set(p,S)}onChildOutletDestroyed(p){const _=this.getContext(p);_&&(_.outlet=null,_.attachRef=null)}onOutletDeactivated(){const p=this.contexts;return this.contexts=new Map,p}onOutletReAttached(p){this.contexts=p}getOrCreateContext(p){let _=this.getContext(p);return _||(_=new Ss(this.rootInjector),this.contexts.set(p,_)),_}getContext(p){return this.contexts.get(p)||null}static#e=this.\u0275fac=function(_){return new(_||h)(s.KVO(s.uvJ))};static#t=this.\u0275prov=s.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}return h})();class So{constructor(v){this._root=v}get root(){return this._root.value}parent(v){const p=this.pathFromRoot(v);return p.length>1?p[p.length-2]:null}children(v){const p=lo(v,this._root);return p?p.children.map(_=>_.value):[]}firstChild(v){const p=lo(v,this._root);return p&&p.children.length>0?p.children[0].value:null}siblings(v){const p=co(v,this._root);return p.length<2?[]:p[p.length-2].children.map(S=>S.value).filter(S=>S!==v)}pathFromRoot(v){return co(v,this._root).map(p=>p.value)}}function lo(h,v){if(h===v.value)return v;for(const p of v.children){const _=lo(h,p);if(_)return _}return null}function co(h,v){if(h===v.value)return[v];for(const p of v.children){const _=co(h,p);if(_.length)return _.unshift(v),_}return[]}class pr{constructor(v,p){this.value=v,this.children=p}toString(){return`TreeNode(${this.value})`}}function Pi(h){const v={};return h&&h.children.forEach(p=>v[p.value.outlet]=p),v}class uo extends So{constructor(v,p){super(v),this.snapshot=p,Qi(this,v)}toString(){return this.snapshot.toString()}}function To(h){const v=function ho(h){const F=new Xr([],{},{},"",{},nt,h,null,{});return new Ai("",new pr(F,[]))}(h),p=new N.t([new wr("",{})]),_=new N.t({}),S=new N.t({}),F=new N.t({}),z=new N.t(""),fe=new rn(p,_,F,z,S,nt,h,v.root);return fe.snapshot=v.root,new uo(new pr(fe,[]),v)}class rn{constructor(v,p,_,S,F,z,fe,ie){this.urlSubject=v,this.paramsSubject=p,this.queryParamsSubject=_,this.fragmentSubject=S,this.dataSubject=F,this.outlet=z,this.component=fe,this._futureSnapshot=ie,this.title=this.dataSubject?.pipe((0,ze.T)(je=>je[Nn]))??(0,R.of)(void 0),this.url=v,this.params=p,this.queryParams=_,this.fragment=S,this.data=F}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe((0,ze.T)(v=>ln(v))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,ze.T)(v=>ln(v))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Qr(h,v,p="emptyOnly"){let _;const{routeConfig:S}=h;return _=null===v||"always"!==p&&""!==S?.path&&(v.component||v.routeConfig?.loadComponent)?{params:{...h.params},data:{...h.data},resolve:{...h.data,...h._resolvedData??{}}}:{params:{...v.params,...h.params},data:{...v.data,...h.data},resolve:{...h.data,...v.data,...S?.data,...h._resolvedData}},S&&Xi(S)&&(_.resolve[Nn]=S.title),_}class Xr{get title(){return this.data?.[Nn]}constructor(v,p,_,S,F,z,fe,ie,je){this.url=v,this.params=p,this.queryParams=_,this.fragment=S,this.data=F,this.outlet=z,this.component=fe,this.routeConfig=ie,this._resolve=je}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=ln(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=ln(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(_=>_.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Ai extends So{constructor(v,p){super(p),this.url=v,Qi(this,p)}toString(){return Wo(this._root)}}function Qi(h,v){v.value._routerState=h,v.children.forEach(p=>Qi(h,p))}function Wo(h){const v=h.children.length>0?` { ${h.children.map(Wo).join(", ")} } `:"";return`${h.value}${v}`}function li(h){if(h.snapshot){const v=h.snapshot,p=h._futureSnapshot;h.snapshot=p,Rn(v.queryParams,p.queryParams)||h.queryParamsSubject.next(p.queryParams),v.fragment!==p.fragment&&h.fragmentSubject.next(p.fragment),Rn(v.params,p.params)||h.paramsSubject.next(p.params),function Gn(h,v){if(h.length!==v.length)return!1;for(let p=0;p<h.length;++p)if(!Rn(h[p],v[p]))return!1;return!0}(v.url,p.url)||h.urlSubject.next(p.url),Rn(v.data,p.data)||h.dataSubject.next(p.data)}else h.snapshot=h._futureSnapshot,h.dataSubject.next(h._futureSnapshot.data)}function Io(h,v){const p=Rn(h.params,v.params)&&function Xn(h,v){return gt(h,v)&&h.every((p,_)=>Rn(p.parameters,v[_].parameters))}(h.url,v.url);return p&&!(!h.parent!=!v.parent)&&(!h.parent||Io(h.parent,v.parent))}function Xi(h){return"string"==typeof h.title||null===h.title}let Yi=(()=>{class h{constructor(){this.activated=null,this._activatedRoute=null,this.name=nt,this.activateEvents=new s.bkB,this.deactivateEvents=new s.bkB,this.attachEvents=new s.bkB,this.detachEvents=new s.bkB,this.parentContexts=(0,s.WQX)(qi),this.location=(0,s.WQX)(s.c1b),this.changeDetector=(0,s.WQX)(s.gRc),this.inputBinder=(0,s.WQX)(fo,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(p){if(p.name){const{firstChange:_,previousValue:S}=p.name;if(_)return;this.isTrackedInParentContexts(S)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(S)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(p){return this.parentContexts.getContext(p)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const p=this.parentContexts.getContext(this.name);p?.route&&(p.attachRef?this.attach(p.attachRef,p.route):this.activateWith(p.route,p.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new s.wOt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new s.wOt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new s.wOt(4012,!1);this.location.detach();const p=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(p.instance),p}attach(p,_){this.activated=p,this._activatedRoute=_,this.location.insert(p.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(p.instance)}deactivate(){if(this.activated){const p=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(p)}}activateWith(p,_){if(this.isActivated)throw new s.wOt(4013,!1);this._activatedRoute=p;const S=this.location,z=p.snapshot.component,fe=this.parentContexts.getOrCreateContext(this.name).children,ie=new Oo(p,fe,S.injector);this.activated=S.createComponent(z,{index:S.length,injector:ie,environmentInjector:_}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(_){return new(_||h)};static#t=this.\u0275dir=s.FsC({type:h,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[s.OA$]})}return h})();class Oo{__ngOutletInjector(v){return new Oo(this.route,this.childContexts,v)}constructor(v,p,_){this.route=v,this.childContexts=p,this.parent=_}get(v,p){return v===rn?this.route:v===qi?this.childContexts:this.parent.get(v,p)}}const fo=new s.nKC("");let Ko=(()=>{class h{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(p){this.unsubscribeFromRouteData(p),this.subscribeToRouteData(p)}unsubscribeFromRouteData(p){this.outletDataSubscriptions.get(p)?.unsubscribe(),this.outletDataSubscriptions.delete(p)}subscribeToRouteData(p){const{activatedRoute:_}=p,S=(0,j.z)([_.queryParams,_.params,_.data]).pipe((0,We.n)(([F,z,fe],ie)=>(fe={...F,...z,...fe},0===ie?(0,R.of)(fe):Promise.resolve(fe)))).subscribe(F=>{if(!p.isActivated||!p.activatedComponentRef||p.activatedRoute!==_||null===_.component)return void this.unsubscribeFromRouteData(p);const z=(0,s.HJs)(_.component);if(z)for(const{templateName:fe}of z.inputs)p.activatedComponentRef.setInput(fe,F[fe]);else this.unsubscribeFromRouteData(p)});this.outletDataSubscriptions.set(p,S)}static#e=this.\u0275fac=function(_){return new(_||h)};static#t=this.\u0275prov=s.jDH({token:h,factory:h.\u0275fac})}return h})();function qn(h,v,p){if(p&&h.shouldReuseRoute(v.value,p.value.snapshot)){const _=p.value;_._futureSnapshot=v.value;const S=function po(h,v,p){return v.children.map(_=>{for(const S of p.children)if(h.shouldReuseRoute(_.value,S.value.snapshot))return qn(h,_,S);return qn(h,_)})}(h,v,p);return new pr(_,S)}{if(h.shouldAttach(v.value)){const F=h.retrieve(v.value);if(null!==F){const z=F.route;return z.value._futureSnapshot=v.value,z.children=v.children.map(fe=>qn(h,fe)),z}}const _=function Zi(h){return new rn(new N.t(h.url),new N.t(h.params),new N.t(h.queryParams),new N.t(h.fragment),new N.t(h.data),h.outlet,h.component,h)}(v.value),S=v.children.map(F=>qn(h,F));return new pr(_,S)}}class Po{constructor(v,p){this.redirectTo=v,this.navigationBehaviorOptions=p}}const Ve="ngNavigationCancelingError";function Hr(h,v){const{redirectTo:p,navigationBehaviorOptions:_}=Bt(v)?{redirectTo:v,navigationBehaviorOptions:void 0}:v,S=ar(!1,bn.Redirect);return S.url=p,S.navigationBehaviorOptions=_,S}function ar(h,v){const p=new Error(`NavigationCancelingError: ${h||""}`);return p[Ve]=!0,p.cancellationCode=v,p}function Qo(h){return!!h&&h[Ve]}class ci{constructor(v,p,_,S,F){this.routeReuseStrategy=v,this.futureState=p,this.currState=_,this.forwardEvent=S,this.inputBindingEnabled=F}activate(v){const p=this.futureState._root,_=this.currState?this.currState._root:null;this.deactivateChildRoutes(p,_,v),li(this.futureState.root),this.activateChildRoutes(p,_,v)}deactivateChildRoutes(v,p,_){const S=Pi(p);v.children.forEach(F=>{const z=F.value.outlet;this.deactivateRoutes(F,S[z],_),delete S[z]}),Object.values(S).forEach(F=>{this.deactivateRouteAndItsChildren(F,_)})}deactivateRoutes(v,p,_){const S=v.value,F=p?p.value:null;if(S===F)if(S.component){const z=_.getContext(S.outlet);z&&this.deactivateChildRoutes(v,p,z.children)}else this.deactivateChildRoutes(v,p,_);else F&&this.deactivateRouteAndItsChildren(p,_)}deactivateRouteAndItsChildren(v,p){v.value.component&&this.routeReuseStrategy.shouldDetach(v.value.snapshot)?this.detachAndStoreRouteSubtree(v,p):this.deactivateRouteAndOutlet(v,p)}detachAndStoreRouteSubtree(v,p){const _=p.getContext(v.value.outlet),S=_&&v.value.component?_.children:p,F=Pi(v);for(const z of Object.values(F))this.deactivateRouteAndItsChildren(z,S);if(_&&_.outlet){const z=_.outlet.detach(),fe=_.children.onOutletDeactivated();this.routeReuseStrategy.store(v.value.snapshot,{componentRef:z,route:v,contexts:fe})}}deactivateRouteAndOutlet(v,p){const _=p.getContext(v.value.outlet),S=_&&v.value.component?_.children:p,F=Pi(v);for(const z of Object.values(F))this.deactivateRouteAndItsChildren(z,S);_&&(_.outlet&&(_.outlet.deactivate(),_.children.onOutletDeactivated()),_.attachRef=null,_.route=null)}activateChildRoutes(v,p,_){const S=Pi(p);v.children.forEach(F=>{this.activateRoutes(F,S[F.value.outlet],_),this.forwardEvent(new x(F.value.snapshot))}),v.children.length&&this.forwardEvent(new pn(v.value.snapshot))}activateRoutes(v,p,_){const S=v.value,F=p?p.value:null;if(li(S),S===F)if(S.component){const z=_.getOrCreateContext(S.outlet);this.activateChildRoutes(v,p,z.children)}else this.activateChildRoutes(v,p,_);else if(S.component){const z=_.getOrCreateContext(S.outlet);if(this.routeReuseStrategy.shouldAttach(S.snapshot)){const fe=this.routeReuseStrategy.retrieve(S.snapshot);this.routeReuseStrategy.store(S.snapshot,null),z.children.onOutletReAttached(fe.contexts),z.attachRef=fe.componentRef,z.route=fe.route.value,z.outlet&&z.outlet.attach(fe.componentRef,fe.route.value),li(fe.route.value),this.activateChildRoutes(v,null,z.children)}else z.attachRef=null,z.route=S,z.outlet&&z.outlet.activateWith(S,z.injector),this.activateChildRoutes(v,null,z.children)}else this.activateChildRoutes(v,null,_)}}class ui{constructor(v){this.path=v,this.route=this.path[this.path.length-1]}}class gr{constructor(v,p){this.component=v,this.route=p}}function Ji(h,v,p){const _=h._root;return Sr(_,v?v._root:null,p,[_.value])}function mr(h,v){const p=Symbol(),_=v.get(h,p);return _===p?"function"!=typeof h||(0,s.LfX)(h)?v.get(h):h:_}function Sr(h,v,p,_,S={canDeactivateChecks:[],canActivateChecks:[]}){const F=Pi(v);return h.children.forEach(z=>{(function Xo(h,v,p,_,S={canDeactivateChecks:[],canActivateChecks:[]}){const F=h.value,z=v?v.value:null,fe=p?p.getContext(h.value.outlet):null;if(z&&F.routeConfig===z.routeConfig){const ie=function Sn(h,v,p){if("function"==typeof p)return p(h,v);switch(p){case"pathParamsChange":return!gt(h.url,v.url);case"pathParamsOrQueryParamsChange":return!gt(h.url,v.url)||!Rn(h.queryParams,v.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Io(h,v)||!Rn(h.queryParams,v.queryParams);default:return!Io(h,v)}}(z,F,F.routeConfig.runGuardsAndResolvers);ie?S.canActivateChecks.push(new ui(_)):(F.data=z.data,F._resolvedData=z._resolvedData),Sr(h,v,F.component?fe?fe.children:null:p,_,S),ie&&fe&&fe.outlet&&fe.outlet.isActivated&&S.canDeactivateChecks.push(new gr(fe.outlet.component,z))}else z&&go(v,fe,S),S.canActivateChecks.push(new ui(_)),Sr(h,null,F.component?fe?fe.children:null:p,_,S)})(z,F[z.value.outlet],p,_.concat([z.value]),S),delete F[z.value.outlet]}),Object.entries(F).forEach(([z,fe])=>go(fe,p.getContext(z),S)),S}function go(h,v,p){const _=Pi(h),S=h.value;Object.entries(_).forEach(([F,z])=>{go(z,S.component?v?v.children.getContext(F):null:v,p)}),p.canDeactivateChecks.push(new gr(S.component&&v&&v.outlet&&v.outlet.isActivated?v.outlet.component:null,S))}function mo(h){return"function"==typeof h}function Ri(h){return h instanceof $.G||"EmptyError"===h?.name}const tt=Symbol("INITIAL_VALUE");function Yr(){return(0,We.n)(h=>(0,j.z)(h.map(v=>v.pipe((0,Ke.s)(1),(0,vt.Z)(tt)))).pipe((0,ze.T)(v=>{for(const p of v)if(!0!==p){if(p===tt)return tt;if(!1===p||yr(p))return p}return!0}),(0,_t.p)(v=>v!==tt),(0,Ke.s)(1)))}function yr(h){return Bt(h)||h instanceof Po}function I(h){return(0,J.F)((0,pe.M)(v=>{if("boolean"!=typeof v)throw Hr(0,v)}),(0,ze.T)(v=>!0===v))}class re{constructor(v){this.segmentGroup=v||null}}class Ne extends Error{constructor(v){super(),this.urlTree=v}}function ye(h){return(0,oe.$)(new re(h))}class ht{constructor(v,p){this.urlSerializer=v,this.urlTree=p}lineralizeSegments(v,p){let _=[],S=p.root;for(;;){if(_=_.concat(S.segments),0===S.numberOfChildren)return(0,R.of)(_);if(S.numberOfChildren>1||!S.children[nt])return(0,oe.$)(new s.wOt(4e3,!1));S=S.children[nt]}}applyRedirectCommands(v,p,_,S,F){if("string"!=typeof p){const fe=p,{queryParams:ie,fragment:je,routeConfig:pt,url:St,outlet:En,params:ro,data:ei,title:ts}=S,wi=(0,s.N4e)(F,()=>fe({params:ro,data:ei,queryParams:ie,fragment:je,routeConfig:pt,url:St,outlet:En,title:ts}));if(wi instanceof Fn)throw new Ne(wi);p=wi}const z=this.applyRedirectCreateUrlTree(p,this.urlSerializer.parse(p),v,_);if("/"===p[0])throw new Ne(z);return z}applyRedirectCreateUrlTree(v,p,_,S){const F=this.createSegmentGroup(v,p.root,_,S);return new Fn(F,this.createQueryParams(p.queryParams,this.urlTree.queryParams),p.fragment)}createQueryParams(v,p){const _={};return Object.entries(v).forEach(([S,F])=>{if("string"==typeof F&&":"===F[0]){const fe=F.substring(1);_[S]=p[fe]}else _[S]=F}),_}createSegmentGroup(v,p,_,S){const F=this.createSegments(v,p.segments,_,S);let z={};return Object.entries(p.children).forEach(([fe,ie])=>{z[fe]=this.createSegmentGroup(v,ie,_,S)}),new Et(F,z)}createSegments(v,p,_,S){return p.map(F=>":"===F.path[0]?this.findPosParam(v,F,S):this.findOrReturn(F,_))}findPosParam(v,p,_){const S=_[p.path.substring(1)];if(!S)throw new s.wOt(4001,!1);return S}findOrReturn(v,p){let _=0;for(const S of p){if(S.path===v.path)return p.splice(_),S;_++}return v}}const on={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function dt(h,v,p,_,S){const F=Tn(h,v,p);return F.matched?(_=function qe(h,v){return h.providers&&!h._injector&&(h._injector=(0,s.Ol2)(h.providers,v,`Route: ${h.path}`)),h._injector??v}(v,_),function ee(h,v,p,_){const S=v.canMatch;if(!S||0===S.length)return(0,R.of)(!0);const F=S.map(z=>{const fe=mr(z,h);return $t(function Ao(h){return h&&mo(h.canMatch)}(fe)?fe.canMatch(v,p):(0,s.N4e)(h,()=>fe(v,p)))});return(0,R.of)(F).pipe(Yr(),I())}(_,v,p).pipe((0,ze.T)(z=>!0===z?F:{...on}))):(0,R.of)(F)}function Tn(h,v,p){if("**"===v.path)return function mn(h){return{matched:!0,parameters:h.length>0?fr(h).parameters:{},consumedSegments:h,remainingSegments:[],positionalParamSegments:{}}}(p);if(""===v.path)return"full"===v.pathMatch&&(h.hasChildren()||p.length>0)?{...on}:{matched:!0,consumedSegments:[],remainingSegments:p,parameters:{},positionalParamSegments:{}};const S=(v.matcher||cn)(p,h,v);if(!S)return{...on};const F={};Object.entries(S.posParams??{}).forEach(([fe,ie])=>{F[fe]=ie.path});const z=S.consumed.length>0?{...F,...S.consumed[S.consumed.length-1].parameters}:F;return{matched:!0,consumedSegments:S.consumed,remainingSegments:p.slice(S.consumed.length),parameters:z,positionalParamSegments:S.posParams??{}}}function In(h,v,p,_){return p.length>0&&function er(h,v,p){return p.some(_=>zr(h,v,_)&&br(_)!==nt)}(h,p,_)?{segmentGroup:new Et(v,Gr(_,new Et(p,h.children))),slicedSegments:[]}:0===p.length&&function tr(h,v,p){return p.some(_=>zr(h,v,_))}(h,p,_)?{segmentGroup:new Et(h.segments,xo(h,p,_,h.children)),slicedSegments:p}:{segmentGroup:new Et(h.segments,h.children),slicedSegments:p}}function xo(h,v,p,_){const S={};for(const F of p)if(zr(h,v,F)&&!_[br(F)]){const z=new Et([],{});S[br(F)]=z}return{..._,...S}}function Gr(h,v){const p={};p[nt]=v;for(const _ of h)if(""===_.path&&br(_)!==nt){const S=new Et([],{});p[br(_)]=S}return p}function zr(h,v,p){return(!(h.hasChildren()||v.length>0)||"full"!==p.pathMatch)&&""===p.path}class No{}class Yo{constructor(v,p,_,S,F,z,fe){this.injector=v,this.configLoader=p,this.rootComponentType=_,this.config=S,this.urlTree=F,this.paramsInheritanceStrategy=z,this.urlSerializer=fe,this.applyRedirects=new ht(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(v){return new s.wOt(4002,`'${v.segmentGroup}'`)}recognize(){const v=In(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(v).pipe((0,ze.T)(({children:p,rootSnapshot:_})=>{const S=new pr(_,p),F=new Ai("",S),z=function Un(h,v,p=null,_=null){return sr(Ut(h),v,p,_)}(_,[],this.urlTree.queryParams,this.urlTree.fragment);return z.queryParams=this.urlTree.queryParams,F.url=this.urlSerializer.serialize(z),{state:F,tree:z}}))}match(v){const p=new Xr([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),nt,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,v,nt,p).pipe((0,ze.T)(_=>({children:_,rootSnapshot:p})),(0,Ie.W)(_=>{if(_ instanceof Ne)return this.urlTree=_.urlTree,this.match(_.urlTree.root);throw _ instanceof re?this.noMatchError(_):_}))}processSegmentGroup(v,p,_,S,F){return 0===_.segments.length&&_.hasChildren()?this.processChildren(v,p,_,F):this.processSegment(v,p,_,_.segments,S,!0,F).pipe((0,ze.T)(z=>z instanceof pr?[z]:[]))}processChildren(v,p,_,S){const F=[];for(const z of Object.keys(_.children))"primary"===z?F.unshift(z):F.push(z);return(0,O.H)(F).pipe((0,se.H)(z=>{const fe=_.children[z],ie=function zo(h,v){const p=h.filter(_=>br(_)===v);return p.push(...h.filter(_=>br(_)!==v)),p}(p,z);return this.processSegmentGroup(v,ie,fe,z,S)}),(0,Te.S)((z,fe)=>(z.push(...fe),z)),(0,Se.U)(null),(0,de.H)(),(0,ut.Z)(z=>{if(null===z)return ye(_);const fe=Je(z);return function Ro(h){h.sort((v,p)=>v.value.outlet===nt?-1:p.value.outlet===nt?1:v.value.outlet.localeCompare(p.value.outlet))}(fe),(0,R.of)(fe)}))}processSegment(v,p,_,S,F,z,fe){return(0,O.H)(p).pipe((0,se.H)(ie=>this.processSegmentAgainstRoute(ie._injector??v,p,ie,_,S,F,z,fe).pipe((0,Ie.W)(je=>{if(je instanceof re)return(0,R.of)(null);throw je}))),(0,$e.$)(ie=>!!ie),(0,Ie.W)(ie=>{if(Ri(ie))return function eo(h,v,p){return 0===v.length&&!h.children[p]}(_,S,F)?(0,R.of)(new No):ye(_);throw ie}))}processSegmentAgainstRoute(v,p,_,S,F,z,fe,ie){return br(_)===z||z!==nt&&zr(S,F,_)?void 0===_.redirectTo?this.matchSegmentAgainstRoute(v,S,_,F,z,ie):this.allowRedirects&&fe?this.expandSegmentAgainstRouteUsingRedirect(v,S,p,_,F,z,ie):ye(S):ye(S)}expandSegmentAgainstRouteUsingRedirect(v,p,_,S,F,z,fe){const{matched:ie,parameters:je,consumedSegments:pt,positionalParamSegments:St,remainingSegments:En}=Tn(p,S,F);if(!ie)return ye(p);"string"==typeof S.redirectTo&&"/"===S.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const ro=new Xr(F,je,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,xt(S),br(S),S.component??S._loadedComponent??null,S,Qn(S)),ei=Qr(ro,fe,this.paramsInheritanceStrategy);ro.params=Object.freeze(ei.params),ro.data=Object.freeze(ei.data);const ts=this.applyRedirects.applyRedirectCommands(pt,S.redirectTo,St,ro,v);return this.applyRedirects.lineralizeSegments(S,ts).pipe((0,ut.Z)(wi=>this.processSegment(v,_,p,wi.concat(En),z,!1,fe)))}matchSegmentAgainstRoute(v,p,_,S,F,z){const fe=dt(p,_,S,v);return"**"===_.path&&(p.children={}),fe.pipe((0,We.n)(ie=>ie.matched?this.getChildConfig(v=_._injector??v,_,S).pipe((0,We.n)(({routes:je})=>{const pt=_._loadedInjector??v,{parameters:St,consumedSegments:En,remainingSegments:ro}=ie,ei=new Xr(En,St,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,xt(_),br(_),_.component??_._loadedComponent??null,_,Qn(_)),ts=Qr(ei,z,this.paramsInheritanceStrategy);ei.params=Object.freeze(ts.params),ei.data=Object.freeze(ts.data);const{segmentGroup:wi,slicedSegments:xs}=In(p,En,ro,je);if(0===xs.length&&wi.hasChildren())return this.processChildren(pt,je,wi,ei).pipe((0,ze.T)(Ks=>new pr(ei,Ks)));if(0===je.length&&0===xs.length)return(0,R.of)(new pr(ei,[]));const Hc=br(_)===F;return this.processSegment(pt,je,wi,xs,Hc?nt:F,!0,ei).pipe((0,ze.T)(Ks=>new pr(ei,Ks instanceof pr?[Ks]:[])))})):ye(p)))}getChildConfig(v,p,_){return p.children?(0,R.of)({routes:p.children,injector:v}):p.loadChildren?void 0!==p._loadedRoutes?(0,R.of)({routes:p._loadedRoutes,injector:p._loadedInjector}):function C(h,v,p,_){const S=v.canLoad;if(void 0===S||0===S.length)return(0,R.of)(!0);const F=S.map(z=>{const fe=mr(z,h);return $t(function Is(h){return h&&mo(h.canLoad)}(fe)?fe.canLoad(v,p):(0,s.N4e)(h,()=>fe(v,p)))});return(0,R.of)(F).pipe(Yr(),I())}(v,p,_).pipe((0,ut.Z)(S=>S?this.configLoader.loadChildren(v,p).pipe((0,pe.M)(F=>{p._loadedRoutes=F.routes,p._loadedInjector=F.injector})):function rt(){return(0,oe.$)(ar(!1,bn.GuardRejected))}())):(0,R.of)({routes:[],injector:v})}}function Qe(h){const v=h.value.routeConfig;return v&&""===v.path}function Je(h){const v=[],p=new Set;for(const _ of h){if(!Qe(_)){v.push(_);continue}const S=v.find(F=>_.value.routeConfig===F.value.routeConfig);void 0!==S?(S.children.push(..._.children),p.add(S)):v.push(_)}for(const _ of p){const S=Je(_.children);v.push(new pr(_.value,S))}return v.filter(_=>!p.has(_))}function xt(h){return h.data||{}}function Qn(h){return h.resolve||{}}function to(h){const v=h.children.map(p=>to(p)).flat();return[h,...v]}function On(h){return(0,We.n)(v=>{const p=h(v);return p?(0,O.H)(p).pipe((0,ze.T)(()=>v)):(0,R.of)(v)})}let Li=(()=>{class h{buildTitle(p){let _,S=p.root;for(;void 0!==S;)_=this.getResolvedTitleForRoute(S)??_,S=S.children.find(F=>F.outlet===nt);return _}getResolvedTitleForRoute(p){return p.data[Nn]}static#e=this.\u0275fac=function(_){return new(_||h)};static#t=this.\u0275prov=s.jDH({token:h,factory:()=>(0,s.WQX)(Pn),providedIn:"root"})}return h})(),Pn=(()=>{class h extends Li{constructor(p){super(),this.title=p}updateTitle(p){const _=this.buildTitle(p);void 0!==_&&this.title.setTitle(_)}static#e=this.\u0275fac=function(_){return new(_||h)(s.KVO(vn.hE))};static#t=this.\u0275prov=s.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}return h})();const Wr=new s.nKC("",{providedIn:"root",factory:()=>({})});let Fo=(()=>{class h{static#e=this.\u0275fac=function(_){return new(_||h)};static#t=this.\u0275cmp=s.VBU({type:h,selectors:[["ng-component"]],standalone:!0,features:[s.aNF],decls:1,vars:0,template:function(_,S){1&_&&s.nrm(0,"router-outlet")},dependencies:[Yi],encapsulation:2})}return h})();function ft(h){const v=h.children&&h.children.map(ft),p=v?{...h,children:v}:{...h};return!p.component&&!p.loadComponent&&(v||p.loadChildren)&&p.outlet&&p.outlet!==nt&&(p.component=Fo),p}const kt=new s.nKC("");let _l=(()=>{class h{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,s.WQX)(s.Ql9)}loadComponent(p){if(this.componentLoaders.get(p))return this.componentLoaders.get(p);if(p._loadedComponent)return(0,R.of)(p._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(p);const _=$t(p.loadComponent()).pipe((0,ze.T)(Lc),(0,pe.M)(F=>{this.onLoadEndListener&&this.onLoadEndListener(p),p._loadedComponent=F}),(0,ot.j)(()=>{this.componentLoaders.delete(p)})),S=new be.G(_,()=>new Oe.B).pipe((0,qt.B)());return this.componentLoaders.set(p,S),S}loadChildren(p,_){if(this.childrenLoaders.get(_))return this.childrenLoaders.get(_);if(_._loadedRoutes)return(0,R.of)({routes:_._loadedRoutes,injector:_._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(_);const F=function Fc(h,v,p,_){return $t(h.loadChildren()).pipe((0,ze.T)(Lc),(0,ut.Z)(S=>S instanceof s.Co$||Array.isArray(S)?(0,R.of)(S):(0,O.H)(v.compileModuleAsync(S))),(0,ze.T)(S=>{_&&_(h);let F,z,fe=!1;return Array.isArray(S)?(z=S,!0):(F=S.create(p).injector,z=F.get(kt,[],{optional:!0,self:!0}).flat()),{routes:z.map(ft),injector:F}}))}(_,this.compiler,p,this.onLoadEndListener).pipe((0,ot.j)(()=>{this.childrenLoaders.delete(_)})),z=new be.G(F,()=>new Oe.B).pipe((0,qt.B)());return this.childrenLoaders.set(_,z),z}static#e=this.\u0275fac=function(_){return new(_||h)};static#t=this.\u0275prov=s.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}return h})();function Lc(h){return function kc(h){return h&&"object"==typeof h&&"default"in h}(h)?h.default:h}let ya=(()=>{class h{static#e=this.\u0275fac=function(_){return new(_||h)};static#t=this.\u0275prov=s.jDH({token:h,factory:()=>(0,s.WQX)(va),providedIn:"root"})}return h})(),va=(()=>{class h{shouldProcessUrl(p){return!0}extract(p){return p}merge(p,_){return p}static#e=this.\u0275fac=function(_){return new(_||h)};static#t=this.\u0275prov=s.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}return h})();const Nt=new s.nKC(""),$s=new s.nKC("");function Cl(h,v,p){const _=h.get($s),S=h.get(Ge.qQ);return h.get(s.SKi).runOutsideAngular(()=>{if(!S.startViewTransition||_.skipNextTransition)return _.skipNextTransition=!1,new Promise(je=>setTimeout(je));let F;const z=new Promise(je=>{F=je}),fe=S.startViewTransition(()=>(F(),function Jr(h){return new Promise(v=>{(0,s.mal)({read:()=>setTimeout(v)},{injector:h})})}(h))),{onViewTransitionCreated:ie}=_;return ie&&(0,s.N4e)(h,()=>ie({transition:fe,from:v,to:p})),z})}const ys=new s.nKC("");let _a=(()=>{class h{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Oe.B,this.transitionAbortSubject=new Oe.B,this.configLoader=(0,s.WQX)(_l),this.environmentInjector=(0,s.WQX)(s.uvJ),this.urlSerializer=(0,s.WQX)(si),this.rootContexts=(0,s.WQX)(qi),this.location=(0,s.WQX)(Ge.aZ),this.inputBindingEnabled=null!==(0,s.WQX)(fo,{optional:!0}),this.titleStrategy=(0,s.WQX)(Li),this.options=(0,s.WQX)(Wr,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,s.WQX)(ya),this.createViewTransition=(0,s.WQX)(Nt,{optional:!0}),this.navigationErrorHandler=(0,s.WQX)(ys,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,R.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=S=>this.events.next(new Wt(S)),this.configLoader.onLoadStartListener=S=>this.events.next(new zt(S))}complete(){this.transitions?.complete()}handleNavigationRequest(p){const _=++this.navigationId;this.transitions?.next({...this.transitions.value,...p,id:_})}setupNavigations(p,_,S){return this.transitions=new N.t({id:0,currentUrlTree:_,currentRawUrl:_,extractedUrl:this.urlHandlingStrategy.extract(_),urlAfterRedirects:this.urlHandlingStrategy.extract(_),rawUrl:_,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:$r,restoredState:null,currentSnapshot:S.snapshot,targetSnapshot:null,currentRouterState:S,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,_t.p)(F=>0!==F.id),(0,ze.T)(F=>({...F,extractedUrl:this.urlHandlingStrategy.extract(F.rawUrl)})),(0,We.n)(F=>{let z=!1,fe=!1;return(0,R.of)(F).pipe((0,We.n)(ie=>{if(this.navigationId>F.id)return this.cancelNavigationTransition(F,"",bn.SupersededByNewNavigation),ge.w;this.currentTransition=F,this.currentNavigation={id:ie.id,initialUrl:ie.rawUrl,extractedUrl:ie.extractedUrl,targetBrowserUrl:"string"==typeof ie.extras.browserUrl?this.urlSerializer.parse(ie.extras.browserUrl):ie.extras.browserUrl,trigger:ie.source,extras:ie.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const je=!p.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!je&&"reload"!==(ie.extras.onSameUrlNavigation??p.onSameUrlNavigation)){const St="";return this.events.next(new K(ie.id,this.urlSerializer.serialize(ie.rawUrl),St,V.IgnoredSameUrlNavigation)),ie.resolve(!1),ge.w}if(this.urlHandlingStrategy.shouldProcessUrl(ie.rawUrl))return(0,R.of)(ie).pipe((0,We.n)(St=>{const En=this.transitions?.getValue();return this.events.next(new ai(St.id,this.urlSerializer.serialize(St.extractedUrl),St.source,St.restoredState)),En!==this.transitions?.getValue()?ge.w:Promise.resolve(St)}),function ki(h,v,p,_,S,F){return(0,ut.Z)(z=>function Fi(h,v,p,_,S,F,z="emptyOnly"){return new Yo(h,v,p,_,S,z,F).recognize()}(h,v,p,_,z.extractedUrl,S,F).pipe((0,ze.T)(({state:fe,tree:ie})=>({...z,targetSnapshot:fe,urlAfterRedirects:ie}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,p.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,pe.M)(St=>{F.targetSnapshot=St.targetSnapshot,F.urlAfterRedirects=St.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:St.urlAfterRedirects};const En=new Ce(St.id,this.urlSerializer.serialize(St.extractedUrl),this.urlSerializer.serialize(St.urlAfterRedirects),St.targetSnapshot);this.events.next(En)}));if(je&&this.urlHandlingStrategy.shouldProcessUrl(ie.currentRawUrl)){const{id:St,extractedUrl:En,source:ro,restoredState:ei,extras:ts}=ie,wi=new ai(St,this.urlSerializer.serialize(En),ro,ei);this.events.next(wi);const xs=To(this.rootComponentType).snapshot;return this.currentTransition=F={...ie,targetSnapshot:xs,urlAfterRedirects:En,extras:{...ts,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=En,(0,R.of)(F)}{const St="";return this.events.next(new K(ie.id,this.urlSerializer.serialize(ie.extractedUrl),St,V.IgnoredByUrlHandlingStrategy)),ie.resolve(!1),ge.w}}),(0,pe.M)(ie=>{const je=new Pe(ie.id,this.urlSerializer.serialize(ie.extractedUrl),this.urlSerializer.serialize(ie.urlAfterRedirects),ie.targetSnapshot);this.events.next(je)}),(0,ze.T)(ie=>(this.currentTransition=F={...ie,guards:Ji(ie.targetSnapshot,ie.currentSnapshot,this.rootContexts)},F)),function ma(h,v){return(0,ut.Z)(p=>{const{targetSnapshot:_,currentSnapshot:S,guards:{canActivateChecks:F,canDeactivateChecks:z}}=p;return 0===z.length&&0===F.length?(0,R.of)({...p,guardsResult:!0}):function Os(h,v,p,_){return(0,O.H)(h).pipe((0,ut.Z)(S=>function c(h,v,p,_,S){const F=v&&v.routeConfig?v.routeConfig.canDeactivate:null;if(!F||0===F.length)return(0,R.of)(!0);const z=F.map(fe=>{const ie=Oi(v)??S,je=mr(fe,ie);return $t(function gs(h){return h&&mo(h.canDeactivate)}(je)?je.canDeactivate(h,v,p,_):(0,s.N4e)(ie,()=>je(h,v,p,_))).pipe((0,$e.$)())});return(0,R.of)(z).pipe(Yr())}(S.component,S.route,p,v,_)),(0,$e.$)(S=>!0!==S,!0))}(z,_,S,h).pipe((0,ut.Z)(fe=>fe&&function jt(h){return"boolean"==typeof h}(fe)?function L(h,v,p,_){return(0,O.H)(v).pipe((0,se.H)(S=>(0,B.x)(function y(h,v){return null!==h&&v&&v(new Kt(h)),(0,R.of)(!0)}(S.route.parent,_),function f(h,v){return null!==h&&v&&v(new Qt(h)),(0,R.of)(!0)}(S.route,_),function d(h,v,p){const _=v[v.length-1],F=v.slice(0,v.length-1).reverse().map(z=>function Ts(h){const v=h.routeConfig?h.routeConfig.canActivateChild:null;return v&&0!==v.length?{node:h,guards:v}:null}(z)).filter(z=>null!==z).map(z=>(0,X.v)(()=>{const fe=z.guards.map(ie=>{const je=Oi(z.node)??p,pt=mr(ie,je);return $t(function ps(h){return h&&mo(h.canActivateChild)}(pt)?pt.canActivateChild(_,h):(0,s.N4e)(je,()=>pt(_,h))).pipe((0,$e.$)())});return(0,R.of)(fe).pipe(Yr())}));return(0,R.of)(F).pipe(Yr())}(h,S.path,p),function l(h,v,p){const _=v.routeConfig?v.routeConfig.canActivate:null;if(!_||0===_.length)return(0,R.of)(!0);const S=_.map(F=>(0,X.v)(()=>{const z=Oi(v)??p,fe=mr(F,z);return $t(function Ln(h){return h&&mo(h.canActivate)}(fe)?fe.canActivate(v,h):(0,s.N4e)(z,()=>fe(v,h))).pipe((0,$e.$)())}));return(0,R.of)(S).pipe(Yr())}(h,S.route,p))),(0,$e.$)(S=>!0!==S,!0))}(_,F,h,v):(0,R.of)(fe)),(0,ze.T)(fe=>({...p,guardsResult:fe})))})}(this.environmentInjector,ie=>this.events.next(ie)),(0,pe.M)(ie=>{if(F.guardsResult=ie.guardsResult,ie.guardsResult&&"boolean"!=typeof ie.guardsResult)throw Hr(0,ie.guardsResult);const je=new xe(ie.id,this.urlSerializer.serialize(ie.extractedUrl),this.urlSerializer.serialize(ie.urlAfterRedirects),ie.targetSnapshot,!!ie.guardsResult);this.events.next(je)}),(0,_t.p)(ie=>!!ie.guardsResult||(this.cancelNavigationTransition(ie,"",bn.GuardRejected),!1)),On(ie=>{if(ie.guards.canActivateChecks.length)return(0,R.of)(ie).pipe((0,pe.M)(je=>{const pt=new Ze(je.id,this.urlSerializer.serialize(je.extractedUrl),this.urlSerializer.serialize(je.urlAfterRedirects),je.targetSnapshot);this.events.next(pt)}),(0,We.n)(je=>{let pt=!1;return(0,R.of)(je).pipe(function Zr(h,v){return(0,ut.Z)(p=>{const{targetSnapshot:_,guards:{canActivateChecks:S}}=p;if(!S.length)return(0,R.of)(p);const F=new Set(S.map(ie=>ie.route)),z=new Set;for(const ie of F)if(!z.has(ie))for(const je of to(ie))z.add(je);let fe=0;return(0,O.H)(z).pipe((0,se.H)(ie=>F.has(ie)?function an(h,v,p,_){const S=h.routeConfig,F=h._resolve;return void 0!==S?.title&&!Xi(S)&&(F[Nn]=S.title),function yo(h,v,p,_){const S=nr(h);if(0===S.length)return(0,R.of)({});const F={};return(0,O.H)(S).pipe((0,ut.Z)(z=>function ms(h,v,p,_){const S=Oi(v)??_,F=mr(h,S);return $t(F.resolve?F.resolve(v,p):(0,s.N4e)(S,()=>F(v,p)))}(h[z],v,p,_).pipe((0,$e.$)(),(0,pe.M)(fe=>{if(fe instanceof Po)throw Hr(new Fr,fe);F[z]=fe}))),(0,me.o)(1),(0,Ye.u)(F),(0,Ie.W)(z=>Ri(z)?ge.w:(0,oe.$)(z)))}(F,h,v,_).pipe((0,ze.T)(z=>(h._resolvedData=z,h.data=Qr(h,h.parent,p).resolve,null)))}(ie,_,h,v):(ie.data=Qr(ie,ie.parent,h).resolve,(0,R.of)(void 0))),(0,pe.M)(()=>fe++),(0,me.o)(1),(0,ut.Z)(ie=>fe===z.size?(0,R.of)(p):ge.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,pe.M)({next:()=>pt=!0,complete:()=>{pt||this.cancelNavigationTransition(je,"",bn.NoDataFromResolver)}}))}),(0,pe.M)(je=>{const pt=new Xe(je.id,this.urlSerializer.serialize(je.extractedUrl),this.urlSerializer.serialize(je.urlAfterRedirects),je.targetSnapshot);this.events.next(pt)}))}),On(ie=>{const je=pt=>{const St=[];pt.routeConfig?.loadComponent&&!pt.routeConfig._loadedComponent&&St.push(this.configLoader.loadComponent(pt.routeConfig).pipe((0,pe.M)(En=>{pt.component=En}),(0,ze.T)(()=>{})));for(const En of pt.children)St.push(...je(En));return St};return(0,j.z)(je(ie.targetSnapshot.root)).pipe((0,Se.U)(null),(0,Ke.s)(1))}),On(()=>this.afterPreactivation()),(0,We.n)(()=>{const{currentSnapshot:ie,targetSnapshot:je}=F,pt=this.createViewTransition?.(this.environmentInjector,ie.root,je.root);return pt?(0,O.H)(pt).pipe((0,ze.T)(()=>F)):(0,R.of)(F)}),(0,ze.T)(ie=>{const je=function qo(h,v,p){const _=qn(h,v._root,p?p._root:void 0);return new uo(_,v)}(p.routeReuseStrategy,ie.targetSnapshot,ie.currentRouterState);return this.currentTransition=F={...ie,targetRouterState:je},this.currentNavigation.targetRouterState=je,F}),(0,pe.M)(()=>{this.events.next(new A)}),((h,v,p,_)=>(0,ze.T)(S=>(new ci(v,S.targetRouterState,S.currentRouterState,p,_).activate(h),S)))(this.rootContexts,p.routeReuseStrategy,ie=>this.events.next(ie),this.inputBindingEnabled),(0,Ke.s)(1),(0,pe.M)({next:ie=>{z=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Jn(ie.id,this.urlSerializer.serialize(ie.extractedUrl),this.urlSerializer.serialize(ie.urlAfterRedirects))),this.titleStrategy?.updateTitle(ie.targetRouterState.snapshot),ie.resolve(!0)},complete:()=>{z=!0}}),(0,Dn.Q)(this.transitionAbortSubject.pipe((0,pe.M)(ie=>{throw ie}))),(0,ot.j)(()=>{!z&&!fe&&this.cancelNavigationTransition(F,"",bn.SupersededByNewNavigation),this.currentTransition?.id===F.id&&(this.currentNavigation=null,this.currentTransition=null)}),(0,Ie.W)(ie=>{if(fe=!0,Qo(ie))this.events.next(new Q(F.id,this.urlSerializer.serialize(F.extractedUrl),ie.message,ie.cancellationCode)),function xi(h){return Qo(h)&&Bt(h.url)}(ie)?this.events.next(new Y(ie.url,ie.navigationBehaviorOptions)):F.resolve(!1);else{const je=new ce(F.id,this.urlSerializer.serialize(F.extractedUrl),ie,F.targetSnapshot??void 0);try{const pt=(0,s.N4e)(this.environmentInjector,()=>this.navigationErrorHandler?.(je));if(pt instanceof Po){const{message:St,cancellationCode:En}=Hr(0,pt);this.events.next(new Q(F.id,this.urlSerializer.serialize(F.extractedUrl),St,En)),this.events.next(new Y(pt.redirectTo,pt.navigationBehaviorOptions))}else{this.events.next(je);const St=p.errorHandler(ie);F.resolve(!!St)}}catch(pt){this.options.resolveNavigationPromiseOnError?F.resolve(!1):F.reject(pt)}}return ge.w}))}))}cancelNavigationTransition(p,_,S){const F=new Q(p.id,this.urlSerializer.serialize(p.extractedUrl),_,S);this.events.next(F),p.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){const p=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),_=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return p.toString()!==_?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static#e=this.\u0275fac=function(_){return new(_||h)};static#t=this.\u0275prov=s.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}return h})();function Hs(h){return h!==$r}let Ps=(()=>{class h{static#e=this.\u0275fac=function(_){return new(_||h)};static#t=this.\u0275prov=s.jDH({token:h,factory:()=>(0,s.WQX)(m),providedIn:"root"})}return h})();class Ca{shouldDetach(v){return!1}store(v,p){}shouldAttach(v){return!1}retrieve(v){return null}shouldReuseRoute(v,p){return v.routeConfig===p.routeConfig}}let m=(()=>{class h extends Ca{static#e=this.\u0275fac=(()=>{let p;return function(S){return(p||(p=s.xGo(h)))(S||h)}})();static#t=this.\u0275prov=s.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}return h})(),P=(()=>{class h{static#e=this.\u0275fac=function(_){return new(_||h)};static#t=this.\u0275prov=s.jDH({token:h,factory:()=>(0,s.WQX)(w),providedIn:"root"})}return h})(),w=(()=>{class h extends P{constructor(){super(...arguments),this.location=(0,s.WQX)(Ge.aZ),this.urlSerializer=(0,s.WQX)(si),this.options=(0,s.WQX)(Wr,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,s.WQX)(ya),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Fn,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=To(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(p){return this.location.subscribe(_=>{"popstate"===_.type&&p(_.url,_.state)})}handleRouterEvent(p,_){if(p instanceof ai)this.stateMemento=this.createStateMemento();else if(p instanceof K)this.rawUrlTree=_.initialUrl;else if(p instanceof Ce){if("eager"===this.urlUpdateStrategy&&!_.extras.skipLocationChange){const S=this.urlHandlingStrategy.merge(_.finalUrl,_.initialUrl);this.setBrowserUrl(_.targetBrowserUrl??S,_)}}else p instanceof A?(this.currentUrlTree=_.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(_.finalUrl,_.initialUrl),this.routerState=_.targetRouterState,"deferred"===this.urlUpdateStrategy&&!_.extras.skipLocationChange&&this.setBrowserUrl(_.targetBrowserUrl??this.rawUrlTree,_)):p instanceof Q&&(p.code===bn.GuardRejected||p.code===bn.NoDataFromResolver)?this.restoreHistory(_):p instanceof ce?this.restoreHistory(_,!0):p instanceof Jn&&(this.lastSuccessfulId=p.id,this.currentPageId=this.browserPageId)}setBrowserUrl(p,_){const S=p instanceof Fn?this.urlSerializer.serialize(p):p;if(this.location.isCurrentPathEqualTo(S)||_.extras.replaceUrl){const z={..._.extras.state,...this.generateNgRouterState(_.id,this.browserPageId)};this.location.replaceState(S,"",z)}else{const F={..._.extras.state,...this.generateNgRouterState(_.id,this.browserPageId+1)};this.location.go(S,"",F)}}restoreHistory(p,_=!1){if("computed"===this.canceledNavigationResolution){const F=this.currentPageId-this.browserPageId;0!==F?this.location.historyGo(F):this.currentUrlTree===p.finalUrl&&0===F&&(this.resetState(p),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(_&&this.resetState(p),this.resetUrlToCurrentUrlTree())}resetState(p){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,p.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(p,_){return"computed"===this.canceledNavigationResolution?{navigationId:p,\u0275routerPageId:_}:{navigationId:p}}static#e=this.\u0275fac=(()=>{let p;return function(S){return(p||(p=s.xGo(h)))(S||h)}})();static#t=this.\u0275prov=s.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}return h})();var T=function(h){return h[h.COMPLETE=0]="COMPLETE",h[h.FAILED=1]="FAILED",h[h.REDIRECTING=2]="REDIRECTING",h}(T||{});function G(h,v){h.events.pipe((0,_t.p)(p=>p instanceof Jn||p instanceof Q||p instanceof ce||p instanceof K),(0,ze.T)(p=>p instanceof Jn||p instanceof K?T.COMPLETE:p instanceof Q&&(p.code===bn.Redirect||p.code===bn.SupersededByNewNavigation)?T.REDIRECTING:T.FAILED),(0,_t.p)(p=>p!==T.REDIRECTING),(0,Ke.s)(1)).subscribe(()=>{v()})}function ue(h){throw h}const Me={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},He={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Lt=(()=>{class h{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=(0,s.WQX)(s.H3F),this.stateManager=(0,s.WQX)(P),this.options=(0,s.WQX)(Wr,{optional:!0})||{},this.pendingTasks=(0,s.WQX)(s.TgB),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,s.WQX)(_a),this.urlSerializer=(0,s.WQX)(si),this.location=(0,s.WQX)(Ge.aZ),this.urlHandlingStrategy=(0,s.WQX)(ya),this._events=new Oe.B,this.errorHandler=this.options.errorHandler||ue,this.navigated=!1,this.routeReuseStrategy=(0,s.WQX)(Ps),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,s.WQX)(kt,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,s.WQX)(fo,{optional:!0}),this.eventsSubscription=new Fe.yU,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:p=>{this.console.warn(p)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const p=this.navigationTransitions.events.subscribe(_=>{try{const S=this.navigationTransitions.currentTransition,F=this.navigationTransitions.currentNavigation;if(null!==S&&null!==F)if(this.stateManager.handleRouterEvent(_,F),_ instanceof Q&&_.code!==bn.Redirect&&_.code!==bn.SupersededByNewNavigation)this.navigated=!0;else if(_ instanceof Jn)this.navigated=!0;else if(_ instanceof Y){const z=_.navigationBehaviorOptions,fe=this.urlHandlingStrategy.merge(_.url,S.currentRawUrl),ie={browserUrl:S.extras.browserUrl,info:S.extras.info,skipLocationChange:S.extras.skipLocationChange,replaceUrl:S.extras.replaceUrl||"eager"===this.urlUpdateStrategy||Hs(S.source),...z};this.scheduleNavigation(fe,$r,null,ie,{resolve:S.resolve,reject:S.reject,promise:S.promise})}(function nn(h){return!(h instanceof A||h instanceof Y)})(_)&&this._events.next(_)}catch(S){this.navigationTransitions.transitionAbortSubject.next(S)}});this.eventsSubscription.add(p)}resetRootComponentType(p){this.routerState.root.component=p,this.navigationTransitions.rootComponentType=p}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),$r,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((p,_)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(p,"popstate",_)},0)})}navigateToSyncWithBrowser(p,_,S){const F={replaceUrl:!0},z=S?.navigationId?S:null;if(S){const ie={...S};delete ie.navigationId,delete ie.\u0275routerPageId,0!==Object.keys(ie).length&&(F.state=ie)}const fe=this.parseUrl(p);this.scheduleNavigation(fe,_,z,F)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(p){this.config=p.map(ft),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(p,_={}){const{relativeTo:S,queryParams:F,fragment:z,queryParamsHandling:fe,preserveFragment:ie}=_,je=ie?this.currentUrlTree.fragment:z;let St,pt=null;switch(fe??this.options.defaultQueryParamsHandling){case"merge":pt={...this.currentUrlTree.queryParams,...F};break;case"preserve":pt=this.currentUrlTree.queryParams;break;default:pt=F||null}null!==pt&&(pt=this.removeEmptyProps(pt));try{St=Ut(S?S.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof p[0]||"/"!==p[0][0])&&(p=[]),St=this.currentUrlTree.root}return sr(St,p,pt,je??null)}navigateByUrl(p,_={skipLocationChange:!1}){const S=Bt(p)?p:this.parseUrl(p),F=this.urlHandlingStrategy.merge(S,this.rawUrlTree);return this.scheduleNavigation(F,$r,null,_)}navigate(p,_={skipLocationChange:!1}){return function bt(h){for(let v=0;v<h.length;v++)if(null==h[v])throw new s.wOt(4008,!1)}(p),this.navigateByUrl(this.createUrlTree(p,_),_)}serializeUrl(p){return this.urlSerializer.serialize(p)}parseUrl(p){try{return this.urlSerializer.parse(p)}catch{return this.urlSerializer.parse("/")}}isActive(p,_){let S;if(S=!0===_?{...Me}:!1===_?{...He}:_,Bt(p))return _n(this.currentUrlTree,p,S);const F=this.parseUrl(p);return _n(this.currentUrlTree,F,S)}removeEmptyProps(p){return Object.entries(p).reduce((_,[S,F])=>(null!=F&&(_[S]=F),_),{})}scheduleNavigation(p,_,S,F,z){if(this.disposed)return Promise.resolve(!1);let fe,ie,je;z?(fe=z.resolve,ie=z.reject,je=z.promise):je=new Promise((St,En)=>{fe=St,ie=En});const pt=this.pendingTasks.add();return G(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(pt))}),this.navigationTransitions.handleNavigationRequest({source:_,restoredState:S,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:p,extras:F,resolve:fe,reject:ie,promise:je,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),je.catch(St=>Promise.reject(St))}static#e=this.\u0275fac=function(_){return new(_||h)};static#t=this.\u0275prov=s.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}return h})();class wn{}let Zo=(()=>{class h{constructor(p,_,S,F,z){this.router=p,this.injector=S,this.preloadingStrategy=F,this.loader=z}setUpPreloading(){this.subscription=this.router.events.pipe((0,_t.p)(p=>p instanceof Jn),(0,se.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(p,_){const S=[];for(const F of _){F.providers&&!F._injector&&(F._injector=(0,s.Ol2)(F.providers,p,`Route: ${F.path}`));const z=F._injector??p,fe=F._loadedInjector??z;(F.loadChildren&&!F._loadedRoutes&&void 0===F.canLoad||F.loadComponent&&!F._loadedComponent)&&S.push(this.preloadConfig(z,F)),(F.children||F._loadedRoutes)&&S.push(this.processRoutes(fe,F.children??F._loadedRoutes))}return(0,O.H)(S).pipe((0,Zt.U)())}preloadConfig(p,_){return this.preloadingStrategy.preload(_,()=>{let S;S=_.loadChildren&&void 0===_.canLoad?this.loader.loadChildren(p,_):(0,R.of)(null);const F=S.pipe((0,ut.Z)(z=>null===z?(0,R.of)(void 0):(_._loadedRoutes=z.routes,_._loadedInjector=z.injector,this.processRoutes(z.injector??p,z.routes))));if(_.loadComponent&&!_._loadedComponent){const z=this.loader.loadComponent(_);return(0,O.H)([F,z]).pipe((0,Zt.U)())}return F})}static#e=this.\u0275fac=function(_){return new(_||h)(s.KVO(Lt),s.KVO(s.Ql9),s.KVO(s.uvJ),s.KVO(wn),s.KVO(_l))};static#t=this.\u0275prov=s.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}return h})();const Vi=new s.nKC("");let vi=(()=>{class h{constructor(p,_,S,F,z={}){this.urlSerializer=p,this.transitions=_,this.viewportScroller=S,this.zone=F,this.options=z,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},z.scrollPositionRestoration||="disabled",z.anchorScrolling||="disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(p=>{p instanceof ai?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=p.navigationTrigger,this.restoredId=p.restoredState?p.restoredState.navigationId:0):p instanceof Jn?(this.lastId=p.id,this.scheduleScrollEvent(p,this.urlSerializer.parse(p.urlAfterRedirects).fragment)):p instanceof K&&p.code===V.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(p,this.urlSerializer.parse(p.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(p=>{p instanceof De&&(p.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(p.position):p.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(p.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(p,_){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new De(p,"popstate"===this.lastSource?this.store[this.restoredId]:null,_))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(_){s.QTQ()};static#t=this.\u0275prov=s.jDH({token:h,factory:h.\u0275fac})}return h})();function di(h,v){return{\u0275kind:h,\u0275providers:v}}function wl(){const h=(0,s.WQX)(s.zZn);return v=>{const p=h.get(s.o8S);if(v!==p.components[0])return;const _=h.get(Lt),S=h.get(zs);1===h.get(As)&&_.initialNavigation(),h.get(Fd,null,s.$GK.Optional)?.setUpPreloading(),h.get(Vi,null,s.$GK.Optional)?.init(),_.resetRootComponentType(p.componentTypes[0]),S.closed||(S.next(),S.complete(),S.unsubscribe())}}const zs=new s.nKC("",{factory:()=>new Oe.B}),As=new s.nKC("",{providedIn:"root",factory:()=>1}),Fd=new s.nKC("");function Ci(h){return di(0,[{provide:Fd,useExisting:Zo},{provide:wn,useExisting:h}])}function vo(h){return di(9,[{provide:Nt,useValue:Cl},{provide:$s,useValue:{skipNextTransition:!!h?.skipInitialTransition,...h}}])}const ji=new s.nKC("ROUTER_FORROOT_GUARD"),jc=[Ge.aZ,{provide:si,useClass:Fr},Lt,qi,{provide:rn,useFactory:function Ui(h){return h.routerState.root},deps:[Lt]},_l,[]];let Dl=(()=>{class h{constructor(p){}static forRoot(p,_){return{ngModule:h,providers:[jc,[],{provide:kt,multi:!0,useValue:p},{provide:ji,useFactory:es,deps:[[Lt,new s.Xx1,new s.kdw]]},{provide:Wr,useValue:_||{}},_?.useHash?{provide:Ge.hb,useClass:Ge.fw}:{provide:Ge.hb,useClass:Ge.Sm},{provide:Vi,useFactory:()=>{const h=(0,s.WQX)(Ge.Xr),v=(0,s.WQX)(s.SKi),p=(0,s.WQX)(Wr),_=(0,s.WQX)(_a),S=(0,s.WQX)(si);return p.scrollOffset&&h.setOffset(p.scrollOffset),new vi(S,_,h,v,p)}},_?.preloadingStrategy?Ci(_.preloadingStrategy).\u0275providers:[],_?.initialNavigation?kd(_):[],_?.bindToComponentInputs?di(8,[Ko,{provide:fo,useExisting:Ko}]).\u0275providers:[],_?.enableViewTransitions?vo().\u0275providers:[],[{provide:Da,useFactory:wl},{provide:s.iLQ,multi:!0,useExisting:Da}]]}}static forChild(p){return{ngModule:h,providers:[{provide:kt,multi:!0,useValue:p}]}}static#e=this.\u0275fac=function(_){return new(_||h)(s.KVO(ji,8))};static#t=this.\u0275mod=s.$C({type:h});static#n=this.\u0275inj=s.G2t({})}return h})();function es(h){return"guarded"}function kd(h){return["disabled"===h.initialNavigation?di(3,[{provide:s.hnV,multi:!0,useFactory:()=>{const v=(0,s.WQX)(Lt);return()=>{v.setUpLocationChangeListener()}}},{provide:As,useValue:2}]).\u0275providers:[],"enabledBlocking"===h.initialNavigation?di(2,[{provide:As,useValue:0},{provide:s.hnV,multi:!0,deps:[s.zZn],useFactory:v=>{const p=v.get(Ge.hj,Promise.resolve());return()=>p.then(()=>new Promise(_=>{const S=v.get(Lt),F=v.get(zs);G(S,()=>{_(!0)}),v.get(_a).afterPreactivation=()=>(_(!0),F.closed?(0,R.of)(void 0):F),S.initialNavigation()}))}}]).\u0275providers:[]]}const Da=new s.nKC("")},3658:(H,k,D)=>{"use strict";D.d(k,{fg:()=>We,dF:()=>ut});var s=D(3953),b=D(1562),O=D(6354),R=D(7343),N=D(6884),j=D(9390),$=D(1960),B=D(9261),X=D.n(B),J=D(5972),oe=D.n(J),ge=function(pe){return pe[pe.Error=0]="Error",pe[pe.Warning=1]="Warning",pe[pe.Information=2]="Information",pe[pe.Unknown=3]="Unknown",pe}(ge||{});const be={isPaged:!1,isFiltered:!1,record:0,page:0,pageSize:0,totalRecords:0,totalPages:0,recordsBeforeFilter:0,batch:!1,properties:{}};class Fe{constructor(Ie,Te){if(this.status=0,this.messages=[],this.meta=function Oe(pe){return JSON.parse(JSON.stringify(pe))}(be),this.options={keepUnprocessedResponse:!1},X()(Ie)||oe()(Ie))throw new Error("The response was unexpectedly undefined or null");Te&&(this.options=Te),this.options.keepUnprocessedResponse&&(this.raw=JSON.parse(JSON.stringify(Ie)))}get success(){return this.status>0}get failed(){return 0===this.status}_getMessages(Ie){return this.messages.filter(Te=>Te.type===Ie)}get errors(){return this._getMessages(ge.Error)}get warnings(){return this._getMessages(ge.Warning)}get infoMessages(){return this._getMessages(ge.Information)}_hasMessages(Ie){return this.messages.filter(Te=>Te.type===Ie).length>0}get hasErrors(){return this._hasMessages(ge.Error)}get hasWarnings(){return this._hasMessages(ge.Warning)}get hasInfoMessages(){return this._hasMessages(ge.Information)}get isPaged(){return this.meta.isPaged}get isFiltered(){return this.meta.isFiltered}}class Ge{constructor(Ie){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={},Ie.paginate&&(this.isPaged=!0,this.record=parseInt(Ie.paginate.start_result,10)||0,this.page=parseInt(Ie.paginate.current_page,10)||0,this.pageSize=parseInt(Ie.paginate.results_per_page,10)||0,this.totalPages=parseInt(Ie.paginate.total_pages,10)||0,this.totalRecords=parseInt(Ie.paginate.total_results,10)||0),Ie.filter&&(this.isFiltered=!0,this.recordsBeforeFilter=parseInt(Ie.filter.records_before_filter,10)||0);const Te=new Set(["paginate","filter"]);Object.keys(Ie).filter(Se=>!Te.has(Se)).forEach(Se=>{this.properties[Se]=Ie[Se]})}}class ze extends Fe{_parseStatus(Ie){if(this.status=0,typeof Ie.status>"u")throw new Error("The response should have a numeric status property indicating the API succeeded (>0) or failed (=0)");this.status=parseInt(Ie.status,10)}_parseMessages(Ie){if("errors"in Ie){const Te=Ie.errors;Te&&Te.length&&Te.forEach(Se=>{this.messages.push({type:ge.Error,message:Se})})}if("messages"in Ie){const Te=Ie.messages;Te&&Te.forEach(Se=>{this.messages.push({type:ge.Information,message:Se})})}}constructor(Ie,Te){if(super(Ie,Te),this._parseStatus(Ie),this._parseMessages(Ie),!Ie||!Object.prototype.hasOwnProperty.call(Ie,"data"))throw new Error("Expected response to contain a data property, but it is missing");this.data=Ie.data,Ie.metadata&&(this.meta=new Ge(Ie.metadata))}}let We=(()=>{class pe{static#e=this.\u0275fac=function(Se){return new(Se||pe)};static#t=this.\u0275mod=s.$C({type:pe});static#n=this.\u0275inj=s.G2t({providers:[(0,b.$R)((0,b.Sx)())]})}return pe})(),ut=(()=>{class pe{constructor(Te){this.http=Te}delete(Te){const Se=Te.generate(),de=this.packageUrl(Se);return this.http.delete(de,{headers:this.packageHeaders(Se)}).pipe((0,O.T)(this.packageResponseHandler(de)))}get(Te){const Se=Te.generate({verb:R.o.GET,encoder:new N.CY}),de=this.packageUrl(Se);return this.http.get(de,{headers:this.packageHeaders(Se)}).pipe((0,O.T)(this.packageResponseHandler(de)))}options(Te){const Se=Te.generate(),de=this.packageUrl(Se);return this.http.options(de,{headers:this.packageHeaders(Se)}).pipe((0,O.T)(this.packageResponseHandler(de)))}patch(Te){const Se=Te.generate(),de=this.packageUrl(Se);return this.http.patch(de,Se.body,{headers:this.packageHeaders(Se)}).pipe((0,O.T)(this.packageResponseHandler(de)))}put(Te){const Se=Te.generate(),de=this.packageUrl(Se);return this.http.put(de,Se.body,{headers:this.packageHeaders(Se)}).pipe((0,O.T)(this.packageResponseHandler(de)))}post(Te){const Se=Te.generate(),de=this.packageUrl(Se);return this.http.post(de,Se.body,{headers:this.packageHeaders(Se)}).pipe((0,O.T)(this.packageResponseHandler(de)))}packageHeaders(Te){const Se={};return Te.headers.forEach(de=>{Se[de.name]=de.value}),new b.Lr(Se)}packageUrl(Te){return new j.KL(new $.N).buildTokenPath(Te.url)}packageResponseHandler(Te){return Se=>{const de=new ze(Se);return de.meta.properties.url=Te,de}}static#e=this.\u0275fac=function(Se){return new(Se||pe)(s.KVO(b.Qq))};static#t=this.\u0275prov=s.jDH({token:pe,factory:pe.\u0275fac,providedIn:"root"})}return pe})()},6928:(H,k,D)=>{"use strict";D.d(k,{C7:()=>Er,pt:()=>Vr,kj:()=>sr,Ab:()=>jr,sb:()=>Zn,uE:()=>Rt,GV:()=>tn,jM:()=>Bt,Wp:()=>te,rY:()=>_e,NB:()=>Be,ys:()=>lt,br:()=>Ze,Qg:()=>Xe,eK:()=>zt,x6:()=>Wt,Sy:()=>Br,tq:()=>Ii,kl:()=>Un,H7:()=>Ut});var s=D(3953),b=D(177),O=D(1413),R=D(5964),N=D(6977),j=D(152),$=D(3294),B=D(9417),X=D(6381);const J=new s.nKC("window"),oe=x=>new X.h(x.CLDR,x.LEXICON);let ge=(()=>{class x{static#e=this.\u0275fac=function(Y){return new(Y||x)};static#t=this.\u0275mod=s.$C({type:x});static#n=this.\u0275inj=s.G2t({providers:[{provide:J,useValue:window},{provide:X.h,useFactory:oe,deps:[J]}]})}return x})();var be=D(9969),Oe=D(728),Fe=D(3400);const Ge=["*"];function ze(x,De){if(1&x&&(s.j41(0,"span",7),s.SdG(1),s.k0s()),2&x){const A=s.XpG(2);s.BMQ("id",A.infoBlockID)}}function We(x,De){if(1&x){const A=s.RV6();s.qex(0),s.j41(1,"a",3),s.bIt("click",function(){s.eBV(A);const le=s.XpG();return s.Njj(le.toggleInfoBlock())}),s.nrm(2,"span",4)(3,"span",5),s.k0s(),s.DNE(4,ze,2,1,"span",6),s.bVm()}if(2&x){const A=s.XpG();s.R7$(),s.BMQ("id",A.infoIconID)("title",A.toggleActionTitle),s.R7$(2),s.Y8G("innerHtml",A.toggleActionTitle,s.npT),s.R7$(),s.Y8G("ngIf",A.showInfoBlock)}}function Ke(x,De){if(1&x&&s.EFF(0),2&x){const A=s.XpG();s.SpI(" ",A.locale.maketext("Loading \u2026"),"\n")}}function vt(x,De){1&x&&s.eu8(0)}const _t=["header"],ut=[[["","callout-heading",""]],"*"],$e=["[callout-heading]","*"];function se(x,De){if(1&x){const A=s.RV6();s.j41(0,"button",4),s.bIt("click",function(){s.eBV(A);const le=s.XpG();return s.Njj(le.closeClicked())}),s.nrm(1,"i",5),s.k0s()}if(2&x){const A=s.XpG();s.BMQ("id",A.buttonID)}}function pe(x,De){if(1&x&&(s.j41(0,"li",3),s.nrm(1,"i",4)(2,"span",5),s.k0s()),2&x){const A=De.$implicit;s.BMQ("id",A.id),s.R7$(2),s.Y8G("innerHtml",A.message,s.npT)}}function Ie(x,De){if(1&x&&(s.j41(0,"ul",1),s.DNE(1,pe,3,2,"li",2),s.k0s()),2&x){const A=s.XpG();s.R7$(),s.Y8G("ngForOf",A.getFieldErrors())}}const Te=x=>({visibility:x});function Zt(x,De){if(1&x){const A=s.RV6();s.j41(0,"button",9),s.bIt("click",function(){s.eBV(A);const le=s.XpG(2);return s.Njj(le.fireClose())}),s.j41(1,"span"),s.EFF(2,"\xd7"),s.k0s()()}if(2&x){const A=s.XpG(2);s.Y8G("id",A.closeButtonID)("title",A.closeLabel),s.BMQ("aria-label",A.closeLabel),s.R7$(),s.BMQ("aria-hidden",!0)}}function vn(x,De){if(1&x){const A=s.RV6();s.j41(0,"button",10),s.bIt("click",function(){s.eBV(A);const le=s.XpG(2);return s.Njj(le.fireToggleMore())}),s.EFF(1),s.k0s()}if(2&x){const A=s.XpG(2);s.Y8G("id",A.moreButtonID),s.R7$(),s.SpI(" ",A.moreLabel," ")}}function nt(x,De){if(1&x&&(s.j41(0,"strong",11),s.EFF(1),s.k0s()),2&x){const A=s.XpG(2);s.R7$(),s.JRh(A.label)}}function Nn(x,De){if(1&x&&(s.j41(0,"span",12),s.EFF(1),s.k0s()),2&x){const A=s.XpG(2);s.Y8G("id",A.textMessageID),s.R7$(),s.SpI(" ",A.message," ")}}function Nr(x,De){if(1&x&&(s.j41(0,"li")(1,"span",12),s.EFF(2),s.k0s()()),2&x){const A=De.$implicit,Y=De.index,le=s.XpG(3);s.R7$(),s.FS9("id",le.textListID+"_"+Y),s.R7$(),s.SpI(" ",A," ")}}function ln(x,De){if(1&x&&(s.j41(0,"ul",13),s.DNE(1,Nr,3,2,"li",14),s.k0s()),2&x){const A=s.XpG(2);s.R7$(),s.Y8G("ngForOf",A.alert.list)}}function cn(x,De){if(1&x&&(s.j41(0,"div",1),s.DNE(1,Zt,3,4,"button",2)(2,vn,2,2,"button",3),s.nrm(3,"span"),s.j41(4,"div",4),s.DNE(5,nt,2,1,"strong",5),s.j41(6,"span",6),s.DNE(7,Nn,2,2,"span",7),s.k0s(),s.DNE(8,ln,2,1,"ul",8),s.k0s()()),2&x){const A=s.XpG();s.ZvI("alert alert-",A.type," ng-hide"),s.Y8G("@openClose",A.animationClass),s.R7$(),s.Y8G("ngIf",A.showCloseButton),s.R7$(),s.Y8G("ngIf",A.showMoreButton),s.R7$(),s.HbH(A.icon),s.BMQ("aria-hidden",!0),s.R7$(2),s.Y8G("ngIf",A.hasLabel),s.R7$(2),s.Y8G("ngIf",A.message),s.R7$(),s.Y8G("ngIf",A.alert&&A.alert.list&&A.alert.list.length)}}function Gn(x,De){if(1&x){const A=s.RV6();s.j41(0,"div",6)(1,"cp-alert",7),s.bIt("close",function(){const le=s.eBV(A).$implicit,qe=s.XpG();return s.Njj(qe.alertClosed(le))}),s.k0s()()}if(2&x){const A=De.$implicit;s.R7$(),s.Y8G("alert",A)}}function Rn(x,De){if(1&x&&s.nrm(0,"div",8),2&x){const A=s.XpG();s.Y8G("ngClass",A.positionClasses)}}const nr=["searchInput"];function rr(x,De){if(1&x&&(s.j41(0,"span",6),s.EFF(1),s.k0s()),2&x){const A=s.XpG();s.R7$(),s.JRh(A.clearIconLabel)}}function gt(x,De){if(1&x){const A=s.RV6();s.j41(0,"button",3),s.bIt("click",function(){const le=s.eBV(A).$implicit,qe=s.XpG();return s.Njj(qe.onOptionClicked(le))}),s.k0s()}if(2&x){const A=De.$implicit,Y=s.XpG();s.Y8G("disabled",Y.disabled)("selected",Y.isOptionSelected(A))("value",A)}}function Re(x,De){1&x&&s.EFF(0," >\n")}function si(x,De){1&x&&s.EFF(0," <\n")}function Fr(x,De){1&x&&s.EFF(0," >>\n")}function Yn(x,De){1&x&&s.EFF(0," <<\n")}class Cn{static#e=this.defaultShowMore=!1;static#t=this.defaultAutoClosePeriod=0;static#n=this.defaultOptions={autoClosePeriod:Cn.defaultAutoClosePeriod,list:[]};constructor(De,A,Y=Cn.defaultOptions){this._message=De,this._type=A;const le=Y.id?Y.id:Math.random().toString(36).substr(2,9);this._id=le,this._closable=null==Y.isCloseable||Y.isCloseable,this._autoClosePeriod=Y.autoClosePeriod,this._list=Y.list,this._showMore=Y.showMore||Cn.defaultShowMore,this._ts=null==Y.createdOn?Date.now():Y.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(De){const{message:A,type:Y,...le}=De;return new Cn(A,Y,le)}}var mt=function(x){return x[x.error=0]="error",x[x.success=1]="success",x[x.warning=2]="warning",x[x.information=3]="information",x}(mt||{}),Vn=function(x){return x.add="add",x.remove="remove",x.clear="clear",x}(Vn||{});let Rt=(()=>{class x{static#e=this.defaultGroup="__DEFAULT__";static#t=this.defaultSuccessOptions={autoClosePeriod:1e4};constructor(){this._alertEventsSource=new O.B,this._alerts={},this.alertEvents=this._alertEventsSource.asObservable()}add(A,Y=x.defaultGroup){this._alerts[Y]||(this._alerts[Y]=[]);const le=A instanceof Cn?A:Cn.makeAlert(A);if(this.list(Y).push(le),this._alertEventsSource.next({type:Vn.add,group:Y,alert:le}),(0,s.naY)())switch(le.type){case mt.error:console.error(le.message,le);break;case mt.warning:console.warn(le.message,le);break;default:console.log(le.message,le)}return le}success(A,Y=x.defaultGroup){return this.add(new Cn(A,mt.success,x.defaultSuccessOptions),Y)}error(A,Y=x.defaultGroup){return this.add({message:A,type:mt.error},Y)}info(A,Y=x.defaultGroup){return this.add({message:A,type:mt.information},Y)}warn(A,Y=x.defaultGroup){return this.add({message:A,type:mt.warning},Y)}removeById(A,Y=x.defaultGroup){const le=this.list(Y),qe=le.findIndex(It=>It.id===A,0);if(-1!==qe){const It=le[qe];le.splice(qe,1),this._alertEventsSource.next({type:Vn.remove,group:Y,alert:It})}}clear(A=x.defaultGroup){this._alerts[A]=[],this._alertEventsSource.next({type:Vn.clear,group:A})}list(A=x.defaultGroup){return null==this._alerts[A]&&(this._alerts[A]=[]),this._alerts[A]}static#n=this.\u0275fac=function(Y){return new(Y||x)};static#r=this.\u0275prov=s.jDH({token:x,factory:x.\u0275fac,providedIn:"root"})}return x})();var st=function(x){return x.inline="inline",x.topLeft="top-left",x.topMiddle="top-middle",x.topRight="top-right",x.bottomLeft="bottom-left",x.bottomMiddle="bottom-middle",x.bottomRight="bottom-right",x.middleLeft="middle-left",x.middleMiddle="middle-middle",x.middleRight="middle-right",x}(st||{});const kn=st.topRight,zn=st.topLeft;let te=(()=>{class x{constructor(A){this.locale=A,this.showInfoToggle=!0,this.toggleActionTitleExpand=A.maketext("Expand"),this.toggleActionTitleCollapse=A.maketext("Collapse")}toggleInfoBlock(){this.showInfoBlock=!this.showInfoBlock,this.updateToggleActionTitle(this.showInfoBlock)}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-form-label`");this.labelID=`${this.id}_label`,this.infoIconID=`${this.id}_infoIcon`,this.infoBlockID=`${this.id}_infoBlock`,this.showInfoBlock=(!0===this.showInfoBlock||!1===this.showInfoBlock)&&this.showInfoBlock,this.updateToggleActionTitle(this.showInfoBlock)}updateToggleActionTitle(A){this.toggleActionTitle=A?this.toggleActionTitleCollapse:this.toggleActionTitleExpand}static#e=this.\u0275fac=function(Y){return new(Y||x)(s.rXU(X.h))};static#t=this.\u0275cmp=s.VBU({type:x,selectors:[["cp-form-label"]],inputs:{id:"id",for:"for",showInfoBlock:"showInfoBlock",labelText:"labelText",showInfoToggle:"showInfoToggle"},ngContentSelectors:Ge,decls:4,vars:4,consts:[[1,"toggle-info-label-container"],[3,"innerHtml"],[4,"ngIf"],["href","javascript:void(0)",1,"text-primary","form-info-sign",3,"click"],["aria-hidden","true",1,"far","fa-question-circle","text-primary"],[1,"sr-only",3,"innerHtml"],["class","info-block",4,"ngIf"],[1,"info-block"]],template:function(Y,le){1&Y&&(s.NAR(),s.j41(0,"div",0),s.nrm(1,"label",1),s.EFF(2," \xa0 "),s.DNE(3,We,5,4,"ng-container",2),s.k0s()),2&Y&&(s.R7$(),s.Y8G("innerHtml",le.labelText,s.npT),s.BMQ("id",le.labelID)("for",le.for),s.R7$(2),s.Y8G("ngIf",le.showInfoToggle))},dependencies:[b.bT],styles:["label[_ngcontent-%COMP%]{margin:0 0 5px}.info-block[_ngcontent-%COMP%]{color:#737373;display:block;margin:0 0 5px;font-weight:400;font-size:13px}"]})}return x})(),_e=(()=>{class x{static#e=this.\u0275fac=function(Y){return new(Y||x)};static#t=this.\u0275mod=s.$C({type:x});static#n=this.\u0275inj=s.G2t({imports:[b.MD,ge]})}return x})(),Be=(()=>{class x{constructor(A){this.locale=A,this.containerId="",this.spinnerId="",this.messageId=""}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-loading-spinner`");this.containerId=this.id+"_loadingSpinnerContainer",this.spinnerId=this.id+"_loadingSpinner",this.messageId=this.id+"_loadingMessage"}static#e=this.\u0275fac=function(Y){return new(Y||x)(s.rXU(X.h))};static#t=this.\u0275cmp=s.VBU({type:x,selectors:[["cp-loading-spinner"]],inputs:{loadingTemplate:"loadingTemplate",id:"id"},decls:6,vars:4,consts:[["defaultLoadingTemplate",""],["aria-busy","true","aria-live","polite",1,"loading-spinner-container"],[1,"fas","fa-spinner","fa-spin","spinner"],[1,"loading-spinner-message"],[4,"ngTemplateOutlet"]],template:function(Y,le){if(1&Y&&(s.DNE(0,Ke,1,1,"ng-template",null,0,s.C5r),s.j41(2,"div",1),s.nrm(3,"i",2),s.j41(4,"div",3),s.DNE(5,vt,1,0,"ng-container",4),s.k0s()()),2&Y){const qe=s.sdS(1);s.R7$(2),s.BMQ("id",le.containerId),s.R7$(),s.BMQ("id",le.spinnerId),s.R7$(),s.BMQ("id",le.messageId),s.R7$(),s.Y8G("ngTemplateOutlet",le.loadingTemplate?le.loadingTemplate:qe)}},dependencies:[b.T3],styles:['.loading-spinner-container[_ngcontent-%COMP%]{background-color:#d7edf9;border:1px solid #179bd7;border-radius:2px;margin-bottom:20px;box-shadow:inset 41px 0 #179bd7}html[dir="ltr"][_nghost-%COMP%] .loading-spinner-container[_ngcontent-%COMP%], html[dir="ltr"] [_nghost-%COMP%] .loading-spinner-container[_ngcontent-%COMP%]{box-shadow:inset 40px 0 #179bd7}html[dir="rtl"][_nghost-%COMP%] .loading-spinner-container[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .loading-spinner-container[_ngcontent-%COMP%]{box-shadow:inset -40px 0 #179bd7}.spinner[_ngcontent-%COMP%]{color:#d7edf9;font-size:20px;display:inline-block;padding:10px}.loading-spinner-message[_ngcontent-%COMP%]{color:#333;display:inline-block;overflow-wrap:break-word;word-wrap:break-word}.loading-spinner-message[_ngcontent-%COMP%] a{text-decoration:underline;color:#255783}html[dir="ltr"][_nghost-%COMP%] .loading-spinner-message[_ngcontent-%COMP%], html[dir="ltr"] [_nghost-%COMP%] .loading-spinner-message[_ngcontent-%COMP%]{margin:0 0 0 10px}html[dir="rtl"][_nghost-%COMP%] .loading-spinner-message[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .loading-spinner-message[_ngcontent-%COMP%]{margin:0 10px 0 0}']})}return x})(),lt=(()=>{class x{static#e=this.\u0275fac=function(Y){return new(Y||x)};static#t=this.\u0275mod=s.$C({type:x});static#n=this.\u0275inj=s.G2t({imports:[b.MD,ge]})}return x})();var Dt=function(x){return x.warnings="warnings",x.danger="danger",x.info="info",x.default="info",x}(Dt||{});let tn=(()=>{class x{constructor(){this.calloutType=Dt.default,this.closeable=!1,this.close=new s.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.\u0275fac=function(Y){return new(Y||x)};static#t=this.\u0275cmp=s.VBU({type:x,selectors:[["cp-callout"]],viewQuery:function(Y,le){if(1&Y&&s.GBs(_t,5),2&Y){let qe;s.mGM(qe=s.lsd())&&(le.header=qe.first)}},inputs:{id:"id",calloutType:"calloutType",closeable:"closeable"},outputs:{close:"close"},ngContentSelectors:$e,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(Y,le){1&Y&&(s.NAR(ut),s.j41(0,"div",1),s.DNE(1,se,2,1,"button",2),s.j41(2,"div",3,0),s.SdG(4),s.k0s(),s.j41(5,"div"),s.SdG(6,1),s.k0s()()),2&Y&&(s.ZvI("callout callout-",le.calloutType,""),s.BMQ("aria-label",le.calloutType),s.R7$(),s.Y8G("ngIf",le.closeable),s.R7$(),s.BMQ("id",le.headingID),s.R7$(3),s.BMQ("id",le.contentID))},dependencies:[b.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 x})(),Bt=(()=>{class x{static#e=this.\u0275fac=function(Y){return new(Y||x)};static#t=this.\u0275mod=s.$C({type:x});static#n=this.\u0275inj=s.G2t({imports:[b.MD]})}return x})(),Un=(()=>{class x{constructor(){}hasErrors(){return this.control&&!this.control.valid}hasChanged(){return this.control&&(this.control.dirty||this.control.touched)}getFieldErrors(){return this.control?Object.keys(this.control.errors).map(A=>(this.control.errors[A].id=`${this.id}_${A}`,this.control.errors[A].key=A,this.control.errors[A])):[]}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-validation-container`")}static#e=this.\u0275fac=function(Y){return new(Y||x)};static#t=this.\u0275cmp=s.VBU({type:x,selectors:[["cp-validation-container"]],inputs:{control:"control",id:"id"},decls:1,vars:1,consts:[["class","validation-container",4,"ngIf"],[1,"validation-container"],["class","validation validation-error ng-hide",4,"ngFor","ngForOf"],[1,"validation","validation-error","ng-hide"],[1,"fas","fa-exclamation-circle"],[1,"validation-message",3,"innerHtml"]],template:function(Y,le){1&Y&&s.DNE(0,Ie,2,1,"ul",0),2&Y&&s.Y8G("ngIf",le.hasErrors()&&le.hasChanged())},dependencies:[b.Sq,b.bT],styles:['.validation-container[_ngcontent-%COMP%]{background-color:#f8c9c4;border:1px solid #a94442;padding:5px;border-radius:2px;list-style:none;margin-bottom:0;margin-top:5px}.validation-error[_ngcontent-%COMP%]{position:relative;line-height:20px}.validation-error[_ngcontent-%COMP%] > .fas[_ngcontent-%COMP%]{color:#a94442;display:inline-block;position:absolute;top:4px}.validation-message[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle;margin-left:20px}html[dir="rtl"][_nghost-%COMP%] .validation-message[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .validation-message[_ngcontent-%COMP%]{margin-right:20px;margin-left:0}']})}return x})(),Ut=(()=>{class x{static#e=this.\u0275fac=function(Y){return new(Y||x)};static#t=this.\u0275mod=s.$C({type:x});static#n=this.\u0275inj=s.G2t({imports:[b.MD]})}return x})();var sr=function(x){return x.loading="loading",x.disabled="disabled",x.enabled="enabled",x}(sr||{});let Er=(()=>{class x{constructor(){this.click=new s.bkB,this.type="button",this.buttonClass="btn-primary",this.isDisabled=!1,this.showSpinner=!1}set buttonState(A){switch(A){case sr.enabled:this.setToEnabled();break;case sr.loading:this.setToLoading();break;case sr.disabled:this.setToDisable()}}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-action-button`")}onClick(A){A.stopPropagation(),this.click.emit()}setToLoading(){this.isDisabled=!0,this.showSpinner=!0}setToDisable(){this.isDisabled=!0}setToEnabled(){this.isDisabled=!1,this.showSpinner=!1}static#e=this.\u0275fac=function(Y){return new(Y||x)};static#t=this.\u0275cmp=s.VBU({type:x,selectors:[["cp-action-button"]],inputs:{id:"id",type:"type",buttonClass:"buttonClass",buttonState:"buttonState"},outputs:{click:"click"},ngContentSelectors:Ge,decls:3,vars:10,consts:[[1,"btn","action-button",3,"click","id","type","ngClass","disabled"],[1,"fas","fa-sync","fa-spin",3,"id","ngStyle"]],template:function(Y,le){1&Y&&(s.NAR(),s.j41(0,"button",0),s.bIt("click",function(It){return le.onClick(It)}),s.nrm(1,"i",1),s.SdG(2),s.k0s()),2&Y&&(s.Mz_("id","",le.id,"-button"),s.FS9("type",le.type),s.Y8G("ngClass",le.buttonClass)("disabled",le.isDisabled),s.R7$(),s.Mz_("id","",le.id,"-spinner"),s.Y8G("ngStyle",s.eq3(8,Te,le.showSpinner?"visible":"hidden")))},dependencies:[b.YU,b.B3],styles:['.action-button[_ngcontent-%COMP%]{padding:6px 26px 6px 12px}html[dir="rtl"][_nghost-%COMP%] .action-button[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .action-button[_ngcontent-%COMP%]{padding:6px 12px 6px 26px}']})}return x})(),Vr=(()=>{class x{static#e=this.\u0275fac=function(Y){return new(Y||x)};static#t=this.\u0275mod=s.$C({type:x});static#n=this.\u0275inj=s.G2t({imports:[b.MD]})}return x})();var Gt=function(x){return x.new="new",x.closed="closed",x.open="open",x}(Gt||{});let Mr=(()=>{class x{constructor(A){this.locale=A,this.close=new s.bkB,this.toggleMore=new s.bkB,this.animationClass=Gt.new}get icon(){switch(this.alert.type){case mt.error:return"type-icon fas fa-times-circle";case mt.warning:return"type-icon fas fa-exclamation-triangle";case mt.information:return"type-icon fas fa-info-circle";case mt.success:return"type-icon fas fa-check-circle"}}get type(){switch(this.alert.type){case mt.error:return"danger";case mt.warning:return"warning";case mt.information:return"info";case mt.success:return"success"}}get hasLabel(){const A=this.label;return null!==A&&""!==A}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 mt.success:this.label=this.locale.maketext("Success:");break;case mt.error:this.label=this.locale.maketext("Error:");break;case mt.information:this.label=this.locale.maketext("Information:");break;case mt.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=Gt.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=Gt.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(...A){return A.join("_")}static#e=this.\u0275fac=function(Y){return new(Y||x)(s.rXU(X.h))};static#t=this.\u0275cmp=s.VBU({type:x,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(Y,le){1&Y&&s.DNE(0,cn,9,13,"div",0),2&Y&&s.Y8G("ngIf",!le.isClosed)},dependencies:[b.Sq,b.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,be.hZ)("openClose",[(0,be.wk)(Gt.new,(0,be.iF)({opacity:0})),(0,be.wk)(Gt.open,(0,be.iF)({opacity:1})),(0,be.wk)(Gt.closed,(0,be.iF)({opacity:0,transform:"translateX(25%)"})),(0,be.kY)(`${Gt.open} => ${Gt.closed}`,[(0,be.i0)("0.25s")]),(0,be.kY)(`${Gt.new} => ${Gt.open}`,[(0,be.i0)("0.25s")]),(0,be.kY)(`${Gt.closed} => ${Gt.open}`,[(0,be.i0)("0.25s")])])]}})}return x})(),Ur=(()=>{class x{static#e=this.\u0275fac=function(Y){return new(Y||x)};static#t=this.\u0275mod=s.$C({type:x});static#n=this.\u0275inj=s.G2t({imports:[b.MD,Oe.wb,ge]})}return x})(),Kn=(()=>{class x{constructor(A){this.locale=A}get position(){return this.locale.isLtr?kn:zn}static#e=this.\u0275fac=function(Y){return new(Y||x)(s.KVO(X.h))};static#t=this.\u0275prov=s.jDH({token:x,factory:x.\u0275fac,providedIn:"root"})}return x})(),jr=(()=>{class x{static#e=this.positionPrefix="position-";constructor(A,Y){this._alertService=A,this._positionService=Y,this.alerts=this.alerts?this.alerts:[]}get hasAlerts(){return this.alerts.length>0}get positionClasses(){return this.inline?x.positionPrefix+st.inline.toString():x.positionPrefix+this.position.toString()}get position(){return this._position.toString()}set position(A){this._position=((x,De=st.topRight)=>{if(x){const A=(x=>{const De=Object.keys(st),Y=Object.values(st).indexOf(x);return-1!==Y?De[Y]:(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)})(x);if(A)return st[A]}return De})(A)}alertClosed(A){this._alertService.removeById(A.id,this.group)}ngOnInit(){this.group||(this.group=Rt.defaultGroup),this._position||(this._position=this._positionService.position),this._alertService.list(this.group).forEach(Y=>this._addAlert(Y)),this._groupEvents=this._alertService.alertEvents.pipe((0,R.p)(Y=>Y.group===this.group)),this._eventSubscription=this._groupEvents.subscribe({next:this._onAlertEvent.bind(this),error:console.error})}ngOnDestroy(){this._eventSubscription.unsubscribe()}_findAlertIndexById(A){return this.alerts.findIndex(Y=>Y.id===A)}_addAlert(A){return this.alerts.push(A),this.alerts}_removeAlert(A){const Y=this._findAlertIndexById(A.id);return Y>-1&&(this.alerts.splice(Y,1),!0)}_clearAlerts(){this.alerts.splice(0,this.alerts.length)}_onAlertEvent(A){switch(A.type){case Vn.add:this._addAlert(A.alert);break;case Vn.clear:this._clearAlerts();break;case Vn.remove:this._removeAlert(A.alert)}}static#t=this.\u0275fac=function(Y){return new(Y||x)(s.rXU(Rt),s.rXU(Kn))};static#n=this.\u0275cmp=s.VBU({type:x,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(Y,le){1&Y&&(s.j41(0,"div")(1,"div",2,0)(3,"div",3,1),s.DNE(5,Gn,2,1,"div",4),s.k0s()(),s.DNE(6,Rn,1,1,"div",5),s.k0s()),2&Y&&(s.R7$(),s.Y8G("ngClass",le.positionClasses),s.R7$(4),s.Y8G("ngForOf",le.alerts),s.R7$(),s.Y8G("ngIf",le.hasAlerts))},dependencies:[b.YU,b.Sq,b.bT,Mr],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 x})(),Zn=(()=>{class x{static#e=this.\u0275fac=function(Y){return new(Y||x)};static#t=this.\u0275mod=s.$C({type:x});static#n=this.\u0275inj=s.G2t({imports:[b.MD,Ur]})}return x})(),Br=(()=>{class x{constructor(A){this.locale=A,this.autofocus=!1,this.debounce=250,this.disabled=!1,this.label="Search",this.placeholder="Search",this.valueChange=new s.bkB,this._searchSubject=new O.B,this._unsubscribe=new O.B,delete this.label,delete this.placeholder}get value(){return this._value}set value(A){this._value=A,this._searchSubject.next(A)}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-search`");this.clearIconLabel=this.locale.maketext("Clear Input"),this.label||(this.label=this.locale.maketext("Search")),this.placeholder||(this.placeholder=this.locale.maketext("Search")),this._searchSubject.pipe((0,N.Q)(this._unsubscribe),(0,j.B)(this.debounce),(0,$.F)()).subscribe(A=>{this.valueChange.emit(A)})}ngAfterViewInit(){this.autofocus&&this.searchInput.nativeElement.focus()}ngOnDestroy(){this._unsubscribe.next(),this._unsubscribe.complete()}clearValue(){this.value=""}static#e=this.\u0275fac=function(Y){return new(Y||x)(s.rXU(X.h))};static#t=this.\u0275cmp=s.VBU({type:x,selectors:[["cp-search"]],viewQuery:function(Y,le){if(1&Y&&s.GBs(nr,5),2&Y){let qe;s.mGM(qe=s.lsd())&&(le.searchInput=qe.first)}},inputs:{autofocus:"autofocus",debounce:"debounce",disabled:"disabled",id:"id",label:"label",placeholder:"placeholder",list:"list",value:"value"},outputs:{valueChange:"valueChange"},decls:6,vars:14,consts:[["searchInput",""],["role","search",1,"input-group"],["data-test","input","type","search",1,"form-control",3,"ngModelChange","keyup.esc","ngModel","disabled","id","placeholder","title"],["data-test","addon",1,"input-group-addon",3,"click","id"],["aria-hidden","true","data-test","icon",3,"ngClass","id"],["class","sr-only",4,"ngIf"],[1,"sr-only"]],template:function(Y,le){if(1&Y){const qe=s.RV6();s.j41(0,"div",1)(1,"input",2,0),s.mxI("ngModelChange",function(gn){return s.eBV(qe),s.DH7(le.value,gn)||(le.value=gn),s.Njj(gn)}),s.bIt("keyup.esc",function(){return s.eBV(qe),s.Njj(le.clearValue())}),s.k0s(),s.j41(3,"span",3),s.bIt("click",function(){return s.eBV(qe),s.Njj(le.clearValue())}),s.nrm(4,"span",4),s.DNE(5,rr,2,1,"span",5),s.k0s()()}2&Y&&(s.R7$(),s.Mz_("id","",le.id,"-search-input"),s.R50("ngModel",le.value),s.Y8G("disabled",le.disabled)("placeholder",le.placeholder)("title",le.label),s.BMQ("aria-label",le.label)("list",le.list),s.R7$(2),s.Mz_("id","",le.id,"-search-input-addon"),s.R7$(),s.Mz_("id","",le.id,"-search-input-icon"),s.Y8G("ngClass",(null==le.value?null:le.value.length)>0?"fas fa-times":"fas fa-search"),s.R7$(),s.Y8G("ngIf",(null==le.value?null:le.value.length)>0))},dependencies:[b.YU,b.bT,B.me,B.BC,B.vS],changeDetection:0})}return x})(),Ii=(()=>{class x{static#e=this.\u0275fac=function(Y){return new(Y||x)};static#t=this.\u0275mod=s.$C({type:x});static#n=this.\u0275inj=s.G2t({imports:[b.MD,B.YN,ge]})}return x})(),ce=(()=>{class x{constructor(A,Y=[]){this.selectorName="",this.requiredInputs=["id"],this.requiredInputs=this.requiredInputs.concat(Y),this.selectorName=A.nativeElement.tagName.toLowerCase()}ngOnInit(){this.requiredInputs.forEach(A=>{if(!this[A])throw new Error(`"${A}" must be defined for "${this.selectorName}"`)}),this._initiate()}_initiate(){}static#e=this.\u0275fac=function(Y){s.QTQ()};static#t=this.\u0275dir=s.FsC({type:x,inputs:{id:"id"}})}return x})();var Ce=function(x){return x[x.all=-1]="all",x}(Ce||{});const Pe="pageSizeOption";let xe=(()=>{class x{constructor(A){this.locale=A,this.id="",this.cssClasses="",this.description="",this.ariaPressed=!1,this.selected=!1,this._baseCSSClasses="btn btn-default btn-sm no-validation-border",this._activeClass="active"}ngOnChanges(){this.value===Ce.all?(this.label=this.locale.maketext("All"),this.description=this.locale.maketext("Show all entries"),this.id=`${Pe}_all`):(this.label=this.value.toString(),this.description=this.locale.maketext("Show [quant,_1,entry per page,entries per page]",this.value),this.id=`${Pe}_${this.value.toString()}`),this.selected?(this.cssClasses=`${this._baseCSSClasses} ${this._activeClass}`,this.ariaPressed=!0):(this.cssClasses=this._baseCSSClasses,this.ariaPressed=!1)}ngOnInit(){this.ngOnChanges()}static#e=this.\u0275fac=function(Y){return new(Y||x)(s.rXU(X.h))};static#t=this.\u0275dir=s.FsC({type:x,selectors:[["","cpPageSizeOption",""]],hostVars:6,hostBindings:function(Y,le){2&Y&&(s.Mr5("id",le.id)("innerText",le.label),s.BMQ("aria-label",le.description)("aria-pressed",le.ariaPressed),s.HbH(le.cssClasses))},inputs:{value:"value",selected:"selected"},features:[s.OA$]})}return x})(),Ze=(()=>{class x extends ce{static#e=this.defaultPageSizeOptions=[20,50,100,500];static#t=this.defaultPageSize=20;constructor(A,Y){super(A),this.locale=Y,this.selectedPageSize=x.defaultPageSize,this.pageSizeOptions=x.defaultPageSizeOptions,this.showOptionAll=!1,this.disabled=!1,this.optionSelected=new s.bkB,this.displayedPageSizeOptions=[]}isOptionSelected(A){return A===this.selectedPageSize}onOptionClicked(A){this._dispatchChange(A)}ngOnChanges(){this._buildOptions()}_initiate(){this._buildOptions()}_buildOptions(){const A=this.pageSizeOptions.slice(0).sort((le,qe)=>le-qe);this.showOptionAll&&A.push(Ce.all),-1!==A.indexOf(this.selectedPageSize)?this.displayedPageSizeOptions=A:this._dispatchChange(A[0])}_dispatchChange(A){this.optionSelected.emit(A)}static#n=this.\u0275fac=function(Y){return new(Y||x)(s.rXU(s.aKT),s.rXU(X.h))};static#r=this.\u0275cmp=s.VBU({type:x,selectors:[["cp-page-size-selector"]],inputs:{selectedPageSize:"selectedPageSize",pageSizeOptions:"pageSizeOptions",showOptionAll:"showOptionAll",disabled:"disabled"},outputs:{optionSelected:"optionSelected"},features:[s.Vt3,s.OA$],decls:5,vars:2,consts:[[1,"text-small","text-uppercase"],["role","group",1,"btn-group","page-size-buttons"],["cpPageSizeOption","","type","button",3,"disabled","selected","value","click",4,"ngFor","ngForOf"],["cpPageSizeOption","","type","button",3,"click","disabled","selected","value"]],template:function(Y,le){1&Y&&(s.j41(0,"div")(1,"div",0),s.EFF(2),s.k0s(),s.j41(3,"div",1),s.DNE(4,gt,1,3,"button",2),s.k0s()()),2&Y&&(s.R7$(2),s.SpI(" ",le.locale.maketext("Entries Per Page")," "),s.R7$(2),s.Y8G("ngForOf",le.displayedPageSizeOptions))},dependencies:[b.Sq,xe],styles:[".page-size-buttons[_ngcontent-%COMP%]{margin-top:3px;display:flex}"]})}return x})(),Xe=(()=>{class x{static#e=this.\u0275fac=function(Y){return new(Y||x)};static#t=this.\u0275mod=s.$C({type:x});static#n=this.\u0275inj=s.G2t({imports:[b.MD,ge]})}return x})(),zt=(()=>{class x extends ce{static#e=this.defaultMaxPagesVisible=5;static#t=this.firstPageIndex=1;constructor(A,Y){super(A),this.locale=Y,this.maxPagesVisible=x.defaultMaxPagesVisible,this.selectedPage=x.firstPageIndex,this.pageSize=Ze.defaultPageSize,this.disabled=!1,this.pageChanged=new s.bkB}onPageChanged(A){this._dispatchChange(A)}onNumPagesChanged(A){this._dispatchChange(this.selectedPage)}_initiate(){this._dispatchChange(this.selectedPage)}_dispatchChange(A){const Y=this.pageSize*(A-1),le=Math.min(Y+this.pageSize,this.totalItems);this.pageChanged.emit({page:A,firstItem:Y,lastItem:le}),this.itemsDetails=this.locale.maketext("[_1] - [_2] of [_3]",Y+1,le,this.totalItems)}static#n=this.\u0275fac=function(Y){return new(Y||x)(s.rXU(s.aKT),s.rXU(X.h))};static#r=this.\u0275cmp=s.VBU({type:x,selectors:[["cp-pagination"]],inputs:{maxPagesVisible:"maxPagesVisible",totalItems:"totalItems",selectedPage:"selectedPage",pageSize:"pageSize",disabled:"disabled"},outputs:{pageChanged:"pageChanged"},features:[s.Vt3],decls:12,vars:14,consts:[["nextTemplate",""],["prevTemplate",""],["lastTemplate",""],["firstTemplate",""],[3,"id"],[3,"ngModelChange","pageChanged","numPages","id","totalItems","maxSize","disabled","itemsPerPage","ngModel","boundaryLinks","customFirstTemplate","customLastTemplate","customPreviousTemplate","customNextTemplate"],[1,"pagination-item-details","text-small","text-right","flip"]],template:function(Y,le){if(1&Y){const qe=s.RV6();s.j41(0,"div",4)(1,"pagination",5),s.mxI("ngModelChange",function(gn){return s.eBV(qe),s.DH7(le.selectedPage,gn)||(le.selectedPage=gn),s.Njj(gn)}),s.bIt("pageChanged",function(gn){return s.eBV(qe),s.Njj(le.onPageChanged(gn.page))})("numPages",function(gn){return s.eBV(qe),s.Njj(le.onNumPagesChanged(gn))}),s.k0s(),s.j41(2,"p",6),s.EFF(3),s.k0s()(),s.DNE(4,Re,1,0,"ng-template",null,0,s.C5r)(6,si,1,0,"ng-template",null,1,s.C5r)(8,Fr,1,0,"ng-template",null,2,s.C5r)(10,Yn,1,0,"ng-template",null,3,s.C5r)}if(2&Y){const qe=s.sdS(5),It=s.sdS(7),gn=s.sdS(9),qr=s.sdS(11);s.Y8G("id",le.id),s.R7$(),s.Mz_("id","",le.id,"_ngx_paginator"),s.Y8G("totalItems",le.totalItems)("maxSize",le.maxPagesVisible)("disabled",le.disabled)("itemsPerPage",le.pageSize),s.R50("ngModel",le.selectedPage),s.Y8G("boundaryLinks",!0)("customFirstTemplate",qr)("customLastTemplate",gn)("customPreviousTemplate",It)("customNextTemplate",qe),s.R7$(2),s.SpI(" ",le.itemsDetails," ")}},dependencies:[B.BC,B.vS,Fe.eK],styles:[".pagination-item-details[_ngcontent-%COMP%]{margin-top:-20px}"]})}return x})(),Wt=(()=>{class x{static#e=this.\u0275fac=function(Y){return new(Y||x)};static#t=this.\u0275mod=s.$C({type:x});static#n=this.\u0275inj=s.G2t({imports:[b.MD,B.YN,Fe.x6.forRoot(),ge]})}return x})()}}]);
Back to Directory
File Manager