Viewing File: /usr/local/cpanel/whostmgr/docroot/templates/initial-setup-wizard/vendor.191d2972e3a7eec8.min.js
(self.webpackChunkinitial_setup_wizard=self.webpackChunkinitial_setup_wizard||[]).push([[736],{109:(k,S,h)=>{"use strict";h.d(S,{F:()=>l});var l=(()=>{return(_=l||(l={}))[_.GET=0]="GET",_[_.HEAD=1]="HEAD",_[_.POST=2]="POST",_[_.PUT=3]="PUT",_[_.DELETE=4]="DELETE",_[_.CONNECT=5]="CONNECT",_[_.OPTIONS=6]="OPTIONS",_[_.TRACE=7]="TRACE",_[_.PATCH=8]="PATCH",l;var _})()},3022:(k,S,h)=>{"use strict";h.d(S,{tO:()=>ke,VN:()=>we});var l=h(4235),_=h.n(l),C=h(1305),I=h.n(C),T=h(4798),O=h.n(T),R=h(9138),F=h.n(R),U=h(248),j=h.n(U),G=h(1503),re=h.n(G),be=h(7614),he=h.n(be);function oe(Le){if(_()(Le)||I()(Le)||O()(Le)||F()(Le)||j()(Le))return!0;if(!he()(Le)&&!re()(Le))return!1;for(const qe in Le)if(!oe(Le[qe]))return!1;return!0}class we{constructor(){this.contentType="application/x-www-form-urlencoded",this.separatorStart="",this.separatorEnd="",this.recordSeparator="&"}encode(qe,le,fe){if(!qe)throw new Error("Name must have a non-empty value");return`${qe}=${encodeURIComponent(le.toString())}`+(fe?"":this.recordSeparator)}}class ke{constructor(){this.contentType="application/json",this.separatorStart="{",this.separatorEnd="}",this.recordSeparator=","}encode(qe,le,fe){if(!qe)throw new Error("Name must have a non-empty value");if(!oe(le))throw new Error("The passed in value can not be serialized to JSON");return JSON.stringify(qe)+":"+JSON.stringify(le)+(fe?"":this.recordSeparator)}}},6154:(k,S,h)=>{"use strict";h.d(S,{r:()=>ae,N:()=>Z});var l=h(1978),_=h.n(l);function C(ge){return ge?"1":"0"}var O=(()=>{return(ge=O||(O={}))[ge.Ascending=0]="Ascending",ge[ge.Descending=1]="Descending",O;var ge})(),R=(()=>{return(ge=R||(R={}))[ge.Lexicographic=0]="Lexicographic",ge[ge.Ipv4=1]="Ipv4",ge[ge.Numeric=2]="Numeric",ge[ge.NumericZeroAsMax=3]="NumericZeroAsMax",R;var ge})();class F{constructor(Y,xe=O.Ascending,Ke=R.Lexicographic){if(!Y)throw new Error("You must provide a non-empty column name for a Sort rule.");this.column=Y,this.direction=xe,this.type=Ke}}var U=(()=>{return(ge=U||(U={}))[ge.Contains=0]="Contains",ge[ge.Begins=1]="Begins",ge[ge.Ends=2]="Ends",ge[ge.Matches=3]="Matches",ge[ge.Equal=4]="Equal",ge[ge.NotEqual=5]="NotEqual",ge[ge.LessThan=6]="LessThan",ge[ge.LessThanUnlimited=7]="LessThanUnlimited",ge[ge.GreaterThan=8]="GreaterThan",ge[ge.GreaterThanUnlimited=9]="GreaterThanUnlimited",ge[ge.Defined=10]="Defined",ge[ge.Undefined=11]="Undefined",U;var ge})();class j{constructor(Y,xe,Ke){if(!Y)throw new Error("You must define a non-empty column name.");this.column=Y,this.operator=xe,this.value=Ke}}class G{constructor(Y,xe){if(!Y)throw new Error("You must provide a name when creating a name/value argument");this.name=Y,this.value=xe}}const he=Number.POSITIVE_INFINITY;class oe{constructor(Y=1,xe=20){if(Y<=0)throw new Error("The page must be 1 or greater. This is the logical page, not a programming index.");if(xe<=0)throw new Error("The pageSize must be set to 'ALL' or a number > 0");this.page=Y,this.pageSize=xe}all(){return this.pageSize===he}}class Ve{constructor(Y=[]){this.headers=Y}push(Y){this.headers.push(Y)}forEach(Y,xe){this.headers.forEach(Y,xe)}toArray(){const Y=[];return this.headers.forEach((xe=>Y.push({name:xe.name,value:xe.value}))),Y}toObject(){return this.headers.reduce(((Y,xe)=>(Y[xe.name]=xe.value,Y)),{})}}class we{constructor(Y){this._header=Y}get name(){return this._header.name}get value(){return this._header.value}}class ke extends Error{constructor(Y){super(Y),this.name="CpanelApiTokenInvalidError",Object.setPrototypeOf(this,ke.prototype)}}class Le extends Error{constructor(Y){super(Y),this.name="CpanelApiTokenMismatchError",Object.setPrototypeOf(this,Le.prototype)}}class qe extends we{constructor(Y,xe){if(!Y)throw new ke("You must pass a valid token to the constructor.");if(!xe&&!/^.+[:]/.test(Y))throw new ke("You must pass a cPanel username associated with the cPanel API token.");if(!xe&&!/[:].+$/.test(Y))throw new ke("You must pass a valid cPanel API token.");super({name:"Authorization",value:`cpanel ${xe?xe+":":""}${Y}`})}}Error,Error;var Qe=h(109);const X=new class Ie{constructor(){this.map={},this.map.DEFAULT={verb:"DEFAULT",dataInBody:!0},[Qe.F.GET,Qe.F.DELETE,Qe.F.HEAD].forEach((Y=>{const xe=Qe.F[Y].toString();this.map[xe]={verb:xe,dataInBody:!1}})),[Qe.F.POST,Qe.F.PUT,Qe.F.PATCH].forEach((Y=>{const xe=Qe.F[Y].toString();this.map[xe]={verb:xe,dataInBody:!0}}))}getRule(Y){const xe="string"==typeof Y?Y:Qe.F[Y].toString();let Ke=this.map[xe];return Ke||(Ke=this.map.DEFAULT),Ke}};var ue=h(3022),_e=h(8448),ve=h.n(_e),Z=(()=>{return(ge=Z||(Z={})).JsonApi="json-api",ge.XmlApi="xml-api",Z;var ge})();class ae extends class $e{constructor(Y){this.namespace="",this.method="",this.arguments=[],this.sorts=[],this.filters=[],this.columns=[],this.pager=new oe,this.headers=new Ve,this._usePager=!1,this.defaultConfig={analytics:!1,json:!1},this.config=this.defaultConfig,Y&&(this.method=Y.method,Y.namespace&&(this.namespace=Y.namespace),Y.arguments&&Y.arguments.forEach((xe=>{this.addArgument(xe)})),Y.sorts&&Y.sorts.forEach((xe=>{this.addSort(xe)})),Y.filters&&Y.filters.forEach((xe=>{this.addFilter(xe)})),Y.columns&&Y.columns.forEach((xe=>this.addColumn(xe))),Y.pager&&this.paginate(Y.pager),this.config=Y.config?Y.config:this.defaultConfig,Y.headers&&Y.headers.forEach((xe=>{this.addHeader(xe)})))}get usePager(){return this._usePager}addArgument(Y){return this.arguments.push(Y instanceof G?Y:new G(Y.name,Y.value)),this}addSort(Y){return this.sorts.push(Y instanceof F?Y:new F(Y.column,Y.direction,Y.type)),this}addFilter(Y){return this.filters.push(Y instanceof j?Y:new j(Y.column,Y.operator,Y.value)),this}addColumn(Y){return this.columns.push(Y),this}addHeader(Y){return this.headers.push(Y instanceof we?Y:new we(Y)),this}paginate(Y){return this.pager=Y instanceof oe?Y:new oe(Y.page,Y.pageSize||20),this._usePager=!0,this}}{constructor(Y,xe){if(super(xe),this.apiType=Z.JsonApi,Y!=Z.JsonApi&&Y!=Z.XmlApi)throw new Error("You must define the API type for the whmapi call before you generate a request.");if(this.apiType=Y,!this.method)throw new Error("You must define a method for the WHM API call before you generate a request")}addHeader(Y){if(Y instanceof qe)throw new Le("A CpanelApiTokenHeader cannot be used on a WhmApiRequest");return super.addHeader(Y),this}_build(Y,xe){let Ke="";return Y.forEach(((wt,Wt,St)=>{Ke+=xe.encode(wt.name,wt.value,Wt===St.length-1)})),xe.separatorStart+Ke+xe.separatorEnd}_make_whm_api_fieldspec_from_number(Y){return ve()("",Math.floor(Y/26),"z")+"abcdefghijklmnopqrstuvwxyz".charAt(Y%26)}_generateArguments(Y){Y.push({name:"api.version",value:1}),this.arguments.forEach((Ke=>Y.push(Ke)))}_generateSorts(Y){this.sorts.forEach(((xe,Ke)=>{0===Ke&&Y.push({name:"api.sort.enable",value:C(!0)});const wt=`api.sort.${this._make_whm_api_fieldspec_from_number(Ke)}`;Y.push({name:`${wt}.field`,value:xe.column}),Y.push({name:`${wt}.reverse`,value:C(xe.direction!==O.Ascending)}),Y.push({name:`${wt}.method`,value:_()(R[xe.type])})}))}_lookupFilterOperator(Y){switch(Y){case U.GreaterThanUnlimited:return"gt_handle_unlimited";case U.GreaterThan:return"gt";case U.LessThanUnlimited:return"lt_handle_unlimited";case U.LessThan:return"lt";case U.Equal:return"eq";case U.Begins:return"begins";case U.Contains:return"contains";default:throw new Error(`Unrecoginzed FilterOperator ${U[Y]} for WHM API 1`)}}_generateFilters(Y){this.filters.forEach(((xe,Ke)=>{0===Ke&&(Y.push({name:"api.filter.enable",value:C(!0)}),Y.push({name:"api.filter.verbose",value:C(!0)}));const wt=`api.filter.${this._make_whm_api_fieldspec_from_number(Ke)}`;Y.push({name:`${wt}.field`,value:xe.column}),Y.push({name:`${wt}.type`,value:this._lookupFilterOperator(xe.operator)}),Y.push({name:`${wt}.arg0`,value:xe.value})}))}_translatePageToStart(Y){return(Y.page-1)*Y.pageSize+1}_generatePagination(Y){if(!this.usePager)return;const xe=this.pager.all();Y.push({name:"api.chunk.enable",value:C(!0)}),Y.push({name:"api.chunk.verbose",value:C(!0)}),Y.push({name:"api.chunk.start",value:xe?-1:this._translatePageToStart(this.pager)}),xe||Y.push({name:"api.chunk.size",value:this.pager.pageSize})}generate(Y){Y||(Y={verb:Qe.F.POST,encoder:this.config.json?new ue.tO:new ue.VN}),Y.encoder||(Y.encoder=this.config.json?new ue.tO:new ue.VN);const xe=X.getRule(Y.verb),Ke={headers:new Ve([{name:"Content-Type",value:Y.encoder.contentType}]),url:["",this.apiType,this.method].map(encodeURIComponent).join("/"),body:""},wt=[];this._generateArguments(wt),this._generateSorts(wt),this._generateFilters(wt),this._generatePagination(wt);const Wt=this._build(wt,Y.encoder);return xe.dataInBody?Ke.body=Wt:Ke.url+=Y.verb===Qe.F.GET?`?${Wt}`:Wt,this.headers.forEach((St=>{Ke.headers.push({name:St.name,value:St.value})})),Ke}}},269:(k,S,h)=>{"use strict";S.g=void 0;const _=h(1680);Object.defineProperty(S,"g",{enumerable:!0,get:function(){return _.Locale}})},5074:(k,S)=>{"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.CLDR=void 0,S.CLDR=class h{constructor(_){this.rawData=_,this.validateCLDR(this.rawData)}validateCLDR(_){if(!_)throw new Error("CLDR data cannot be null");if(!_.locale)throw new Error("CLDR data is missing locale information");if(!Object.prototype.hasOwnProperty.call(_,"functions")||Object.prototype.hasOwnProperty.call(_,"get_plural_form")||"function"!=typeof _.functions.get_plural_form)throw new Error("CLDR data is missing function get_plural_form");if(!Object.prototype.hasOwnProperty.call(_,"datetime_info"))throw new Error("CLDR data is missing datetime_info");if(!Object.prototype.hasOwnProperty.call(_,"misc_info"))throw new Error("CLDR data is missing misc_info");if(!Object.prototype.hasOwnProperty.call(_.misc_info,"cldr_formats"))throw new Error("CLDR data is missing cldr_formats");if(!Object.prototype.hasOwnProperty.call(_.misc_info,"orientation")||!Object.prototype.hasOwnProperty.call(_.misc_info.orientation,"characters"))throw new Error("CLDR data is missing orientation information");if(!Object.prototype.hasOwnProperty.call(_.misc_info,"delimiters"))throw new Error("CLDR data is missing delimiter information");return!0}getLocale(){return this.rawData.locale}getPluralForm(_,...C){return(0,this.rawData.functions.get_plural_form)(_,...C)}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}}},1680:(k,S,h)=>{"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.Locale=void 0;const l=h(2889),_=h(9483),C=h(741),I=h(786),T=h(5074);S.Locale=class O{constructor(F,U={}){this.lexicon=U,this._cldr=new T.CLDR(F)}maketext(F,...U){return(0,l.maketext)({cldr:this._cldr,lexicon:this.lexicon,template:F,args:U})}localDatetime(F,U){return this._datetimeWrapper(_.local_datetime,F,U)}datetime(F,U){return this._datetimeWrapper(_.datetime,F,U)}_datetimeWrapper(F,U,j){return F({cldr:this._cldr,args:[U,j]})}getCurrentLocale(){return this._cldr.getLocale()}get isRtl(){return this._cldr.isRtl()}get isLtr(){return this._cldr.isLtr()}get cldr(){return this._cldr}numf(F,U){return this._formatNumber(C.numf,F,U)}format_bytes(F,U){return this._formatNumber(C.format_bytes,F,U)}_formatNumber(F,...U){return this._callCLDRFunc(F,U)}list_and(...F){return this._callCLDRFunc(I.list_and,F)}list_and_quoted(...F){return this._callCLDRFunc(I.list_and_quoted,F)}list_or(...F){return this._callCLDRFunc(I.list_or,F)}list_or_quoted(...F){return this._callCLDRFunc(I.list_or_quoted,F)}_callCLDRFunc(F,U){return F({cldr:this._cldr,args:U})}}},7296:(k,S,h)=>{"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.asis=void 0;const l=h(5247);S.asis=function _({args:[C,...I]}){if(!C||I.length>0||"string"!=typeof C)throw new Error("asis function accepts one non translatable string.");return(C=C.replace(/chr\((\d+)\)/g,(function(T,O){return l.functions.chr(Number(O))}))).replace(/amp\(\)/g,(function(){return l.functions.amp()}))}},527:(k,S)=>{"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.boolean=void 0,S.boolean=function h({args:[l,_,C,I]}){if(null==_||0===_.length||null==C||0===C.length)throw new Error("boolean function needs a valid whenTrue, whenFalse arguments.");return String(typeof l<"u"&&l?_:I&&null==l?I:C)}},9076:(k,S)=>{"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.comment=void 0,S.comment=function h({args:[l]}){return""}},9483:(k,S,h)=>{"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.local_datetime=S.datetime=S.dateToLocalDayNum=void 0;const l=h(5074),_=function(j){const G=j.getUTCDay()-1;return G<0?6:G},C=[7,1,2,3,4,5,6];function I(j,G){return(C[j.getUTCDay()]+7-G)%7+1}S.dateToLocalDayNum=I;const T=function(j,G,re){let be="",he=0;return G=G||0,re=String(void 0===re?" ":re),he=G-String(j).length,he>0&&(be=[...Array(he)].map(String.prototype.valueOf,re).join("")),be+j};function O({cldr:j,args:[G=new Date,re],tzString:be="UTC"}){if("number"==typeof G&&/^-?\d+$/.test(G.toString())&&(G=new Date(1e3*G)),!(G instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(j instanceof l.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const he=j.getDateTimeInfo();return"string"==typeof re&&/^(?:date|time|datetime|special)_format_/.test(re)&&(re=he[re]),re||(re=he.date_format_long),re.replace(/('[^']+')|(([a-zA-Z])\3*)/g,(function(oe,Ve,we){return Ve?function R(j){return j.substr(1,j.length-2)}(Ve):function F(j,G,re,be){switch(re){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 G.month_format_narrow[j.getUTCMonth()];case"LLLLL":return G.month_stand_alone_narrow[j.getUTCMonth()];case"MMMM":return G.month_format_wide[j.getUTCMonth()];case"LLLL":return G.month_stand_alone_wide[j.getUTCMonth()];case"MMM":return G.month_format_abbreviated[j.getUTCMonth()];case"LLL":return G.month_stand_alone_abbreviated[j.getUTCMonth()];case"MM":case"LL":return T((j.getUTCMonth()+1).toString(),2,"0");case"M":case"L":return String(j.getUTCMonth()+1);case"EEEE":return G.day_format_wide[_(j)];case"EEE":case"EE":case"E":return G.day_format_abbreviated[_(j)];case"EEEEE":return G.day_format_narrow[_(j)];case"cccc":return G.day_stand_alone_wide[_(j)];case"ccc":return G.day_stand_alone_abbreviated[_(j)];case"cc":case"c":return String(I(j,Number(G.first_day_of_week)));case"ccccc":return G.day_stand_alone_narrow[_(j)];case"dd":return T(j.getUTCDate().toString(),2,"0");case"d":return String(j.getUTCDate());case"h":case"hh":{let he=j.getUTCHours();he>12&&(he-=12),0===he&&(he=12);const oe="hh"===re?T(he.toString(),2,"0"):he;return String(oe)}case"H":return String(j.getUTCHours());case"HH":return T(j.getUTCHours().toString(),2,"0");case"m":return String(j.getUTCMinutes());case"mm":return T(j.getUTCMinutes().toString(),2,"0");case"s":return String(j.getUTCSeconds());case"ss":return T(j.getUTCSeconds().toString(),2,"0");case"a":return j.getUTCHours()<12?G.am_pm_abbreviated[0]:G.am_pm_abbreviated[1];case"z":case"zzzz":case"v":case"vvvv":return be;case"G":case"GG":case"GGG":return G.era_abbreviated[j.getUTCFullYear()<0?0:1];case"GGGGG":return G.era_narrow[j.getUTCFullYear()<0?0:1];case"GGGG":return G.era_wide[j.getUTCFullYear()<0?0:1]}return re}(G,he,we,be)}))}S.datetime=O,S.local_datetime=function U({cldr:j,args:[G=new Date,re]}){if("number"==typeof G&&/^-?\d+$/.test(G.toString())&&(G=new Date(1e3*G)),!(G instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(j instanceof l.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const be=G.getTimezoneOffset();(G=new Date(G)).setMinutes(G.getMinutes()-be);const he=be>0?"-":"+",oe=Math.floor(Math.abs(be)/60),Ve=Math.abs(be%60);return O({cldr:j,args:[G,re],tzString:"GMT"+he+T(oe.toString(),2,"0")+T(Ve.toString(),2,"0")})}},40:(k,S,h)=>{"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.functions=void 0;const l=h(7296),_=h(5247),C=h(9076),I=h(527),T=h(741),O=h(9483),R=h(786);S.functions={asis:l.asis,output:_.output,comment:C.comment,boolean:I.boolean,numf:T.numf,numerate:T.numerate,quant:T.quant,format_bytes:T.format_bytes,datetime:O.datetime,local_datetime:O.local_datetime,list_and:R.list_and,list_or:R.list_or,list_or_quoted:R.list_or_quoted,list_and_quoted:R.list_and_quoted}},786:(k,S)=>{"use strict";function l(R,F,...U){let j=U.slice();switch(1===j.length&&Array.isArray(j[0])&&(j=j[0].slice()),(typeof j>"u"||0===j.length)&&(j=[""]),j=j.map((G=>function h(R,F){const U=R.getDelimiters();return U&&Object.prototype.hasOwnProperty.call(U,"quotation_start")&&Object.prototype.hasOwnProperty.call(U,"quotation_end")?U.quotation_start+F+U.quotation_end:F}(R,G))),F){case"list_and":return T({cldr:R,args:j});case"list_or":return O({cldr:R,args:j});default:throw new Error("Did you mean list_and_quoted or list_or_quoted?")}}function I(R,F,...U){let j=U.slice();1===j.length&&Array.isArray(j[0])&&(j=j[0].slice());const G=j.length;let re,be,he,oe;try{re=R.getFormats()[F]}catch{throw new Error("CLDR Data is missing information related to formatting list.")}const Ve=function(we,ke){switch(ke){case"0":return he;case"1":return j[oe++]}};switch(G){case 0:return"";case 1:return String(j[0]);default:if(he=2===G?re[2]:re.start,he=he.replace(/\{([01])\}/g,(function(we,ke){return j[ke]})),2===G)return he;for(oe=2;oe<G;)be=re[oe===G-1?"end":"middle"],he=be.replace(/\{([01])\}/g,Ve);return he}}function T({cldr:R,args:[...F]}){return I(R,"list",...F)}function O({cldr:R,args:[...F]}){return I(R,"list_or",...F)}Object.defineProperty(S,"__esModule",{value:!0}),S.list_or=S.list_and=S.list_or_quoted=S.list_and_quoted=void 0,S.list_and_quoted=function _({cldr:R,args:[...F]}){return l(R,"list_and",...F)},S.list_or_quoted=function C({cldr:R,args:[...F]}){return l(R,"list_or",...F)},S.list_and=T,S.list_or=O},5247:(k,S,h)=>{"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.functions=S.output=void 0;const l=h(7906),_=h(8533);S.output=function C({args:[I,...T]}){if(T&&"string"==typeof T[0]&&(T[0]=T[0].replace(/chr\((\d+)\)/g,(function(O,R){return S.functions.chr(Number(R))})),T[0]=T[0].replace(/amp\(\)/g,(function(){return S.functions.amp()}))),"function"==typeof S.functions[I])return S.functions[I](...T);throw new Error(`Locale output function '${I}' is not implemented.`)},S.functions={amp:()=>(0,l.htmlEscape)("&"),apos:()=>(0,l.htmlEscape)("'"),quot:()=>(0,l.htmlEscape)('"'),underline:I=>`<u>${I}</u>`,strong:I=>`<strong>${I}</strong>`,em:I=>`<em>${I}</em>`,abbr:(I,T)=>`<abbr title="${T}">${I}</abbr>`,acronym:(I,T)=>`<abbr title="${T}" class="initialism">${I}</abbr>`,class:(I,...T)=>`<span class="${T.join(" ")}">${I}</span>`,chr(I){if("string"==typeof I&&(I=Number(I)),"number"!=typeof I||isNaN(I))throw new Error("chr needs a number as argument");return(0,l.htmlEscape)(String.fromCharCode(I))},url(I,...T){let O,R;if("object"==typeof T[T.length-1])if(O=T[T.length-1],2===T.length){if(O.html)throw new Error("Cannot provide both text and configuration with html attribute");R=T[0]}else O&&O.html?(R=O.html,delete O.html):R=I;else T.length%2==0?(O=(0,_.listToObject)(...T),O&&"html"in O&&""!==O.html?(R=O.html,delete O.html):R=I):(R=T.shift(),O=(0,_.listToObject)(...T));"_type"in O&&"offsite"===O._type&&(O.class="offsite",O.target="_blank",delete O._type);let F=`<a href="${I}"`;if("object"==typeof O)for(const U in O)Object.prototype.hasOwnProperty.call(O,U)&&(F+=` ${U}="${O[U]}"`);return F+=`>${R}</a>`,F}}},741:(k,S,h)=>{"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.format_bytes=S.numf=S.quant=S.numerate=void 0;const l=h(5074);function C({cldr:R,args:[F,...U]}){if(!(R instanceof l.CLDR))throw new Error("`quant` function requires a valid CLDR instance for the `cldr` parameter.");let j,G=3;F instanceof Array?(G=F[1],j=F[0]):j=F;const re=R.getPluralForm(j,...U),be=re[0]?re[0]:U[U.length-1];if(re&&re.length>=2&&re[1])return be;const oe=T({cldr:R,args:[j,G]});return-1!==be.indexOf("%s")?be.replace(/%s/g,oe):R.isRtl()?be+" "+oe:oe+" "+be}function T({cldr:R,args:[F,U=6]}){if(!(R instanceof l.CLDR))throw new Error("`numf` function requires a valid CLDR instance for the `cldr` parameter.");if(/e/.test(F.toString()))return String(F);const{decimalFormat:j,decimalGroup:G,decimalDecimal:re}=function I(R){const F={},U=R.getFormats();return Object.prototype.hasOwnProperty.call(U,"decimal")&&(F.decimalFormat=U.decimal),Object.prototype.hasOwnProperty.call(U,"_decimal_format_group")&&(F.decimalGroup=U._decimal_format_group),Object.prototype.hasOwnProperty.call(U,"_decimal_format_decimal")&&(F.decimalDecimal=U._decimal_format_decimal),F}(R);if(!j||!G||!re)throw new Error("CLDR Data is missing information related to formatting decimals.");const be=F<0;F=Math.abs(F);let oe,Ve,he=Math.floor(F);/(?!')\.(?!')/.test(F.toString())&&(oe=String(F).replace(/^[^.]+/,"0"),oe=Number(oe).toFixed(U),/^1/.test(oe)?(he++,F=he,oe=void 0):oe=oe.replace(/^.*\./,"").replace(/0+$/,"")),Ve=/(?!');(?!')/.test(j)?j.split(/(?!');(?!')/)[be?1:0]:(be?"-":"")+j;const Le=Ve.match(/[0#].*[0#]/)[0].split(/(?!')\.(?!')/)[0].split("").reverse().join("").split(/(?!'),(?!')/);let qe;1===Le.length?qe="":(Le.pop(),qe=G);const le=String(he).split("").reverse(),fe=[];let Ye;const $e=function(Ie){switch(Ie){case"#":return le.shift()||"";case"0":return le.shift()||"0"}};for(;le.length;){Le.length&&(Ye=Le.shift());const Ie=Ye.replace(/(?!')[0#]|[0#](?!')/g,$e).replace(/'([.,0#;\xa4%E])'$/,"").replace(/'([.,0#;\xa4%E])'/,"$1");fe.push(Ie)}const Qe=fe.join(qe).split("").reverse().join("")+(oe?re+oe:"");return Ve.replace(/[0#].*[0#]/,Qe)}S.numerate=function _({cldr:R,args:[F,...U]}){if(!(R instanceof l.CLDR))throw new Error("`numerate` function requires a valid CLDR instance for the `cldr` parameter.");const j=R.getPluralForm(F,...U);return j?j[0]:U[U.length-1]},S.quant=C,S.numf=T,S.format_bytes=function O({cldr:R,args:[F,U=2]}){if(!(R instanceof l.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"],re=F&&Math.min(Math.floor(Math.log(F)/Math.log(1024)),j.length);return re?T({cldr:R,args:[F/Math.pow(1024,re),U]})+" "+j[re-1]:C({cldr:R,args:[F,"%s byte","%s bytes"]})}},2889:(k,S,h)=>{"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.maketext=S.functions=S.config=void 0;const l=h(40);function T(O,R){const F=[];let U=!1,j=!1;return O.forEach((G=>{if("_"===G.charAt(0))if("_*"===G){if(j)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";F.push(...R),U=!0}else{const re=G.match(S.config.underscoreDigitRe);if(re){if(U)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";const[be,he]=re,oe=Number(he)-1;if(!(oe in R))throw`The "${be}" substitution argument was not passed to the maketext function.`;F.push(R[oe]),j=!0}}else F.push(G)})),F}S.config={bracketRe:/([^~\[\]]+|~.|\[|\]|~)/g,underscoreDigitRe:/^_(\d+)$/,fauxComma:"",fauxCommaRe:new RegExp("","g"),tildeChars:new Set(["[","]","~"])},S.functions={...l.functions},S.maketext=function C({cldr:O,lexicon:R,template:F,args:U}){if("string"!=typeof F)throw"You must pass a string template to the maketext function.";if(-1===(F=R&&R[F]||F).indexOf("["))return F;const j=F.match(S.config.bracketRe)||[],G=[];let re=!1,be="";if(j.forEach((he=>{if("["===he){if(re)throw Error(`Invalid maketext string: ${F} \nThe string contains nested brackets.`);re=!0}else if("]"===he){if(!re)throw Error(`Invalid maketext string: ${F} \nThe string contains an unmatched closing bracket character (]).`);if(!be)throw Error(`Invalid maketext string: ${F} \nThe string contains empty brackets. Use the escape character (~) if the bracket characters were meant to be printed literally.`);let oe;re=!1;try{oe=function I(O,R,F){let U=R.split(",");if(U=U.map((re=>re.replace(S.config.fauxCommaRe,","))),1===U.length){if(!S.config.underscoreDigitRe.test(U[0]))throw"A bracket must contain more than one argument, unless it is a pure substition.\n Example: Number of accounts: [_1]";const[re]=T(U,F);return String(re)}const j=U.shift();if(!j||"function"!=typeof S.functions[j])throw`Invalid function "${j}" in maketext string.`;const G=T(U,F);return S.functions[j]({cldr:O,args:G})}(O,be,U)}catch(Ve){throw Error(`Invalid maketext string: ${F} \n${Ve}`)}be="",G.push(oe)}else if("~"===he.charAt(0)){const oe=he.charAt(1)||"~";re?be+=","===oe?S.config.fauxComma:oe:S.config.tildeChars.has(oe)?G.push(oe):G.push(he)}else re?be+=he:G.push(he)})),re)throw Error(`Invalid maketext string: ${F} \nThe string contains an unmatched opening bracket character ([).`);return G.join("")}},7906:(k,S)=>{"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.htmlEscape=S.entityMap=void 0,S.entityMap={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},S.htmlEscape=function h(l){return String(l).replace(/[&<>"'\/]/g,(_=>S.entityMap[_]))}},8533:(k,S)=>{"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.listToObject=void 0,S.listToObject=function _(...C){let I={};return function h(C){if(C.length%2>0)throw new Error("An associative list must have an even number of parts: {name1}, {value1}, {name2}, {value2} ...");for(let T=0,O=C.length;T<O;T+=2){const R=C[T];if("string"!=typeof R||""===R)throw new Error("An associative list must provide non-empty string names in the 1st, 3rd, ... positions.")}return!0}(C)&&(I=function l(C){const I=C.length,T={};let R,F,O=0;for(;O<I;)R=C[O],F=C[++O],T[R]=F,O++;return T}(C)),I}},50:(k,S,h)=>{"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.commonValidators=void 0;const l=h(2257);S.commonValidators=new class _ extends l.BaseValidator{constructor(){super(...arguments),this.prefix="common",this.STARTS_WITH_LETTER=/^[a-zA-Z]/,this.CONTAINS_SPACES=/^\S*$/}required(I){const T=I||this.locale.maketext("This field is required.");return O=>{let R={},F=O.value;return F&&(F=F.toString()),F&&F.length?null:(R=this.addError(R,"required",T),R)}}requiredTrue(I){const T=I||this.locale.maketext("This control's value should be true.");return O=>{let R={};return!0!==O.value?(R=this.addError(R,"requiredTrue",T),R):null}}startsWithLetter(I){return T=>{let O={};return T.value&&!this.STARTS_WITH_LETTER.test(T.value)?(O=this.addError(O,"doesNotStartWithLetter",I),O):null}}containsSpaces(I){return T=>{let O={};return T.value&&!this.CONTAINS_SPACES.test(T.value)?(O=this.addError(O,"containsSpace",I),O):null}}minLength(I,T){return O=>{let R={};return O.value&&O.value.length<T?(R=this.addError(R,"minLength",I),R):null}}maxLength(I,T){return O=>{let R={};return O.value&&O.value.length>T?(R=this.addError(R,"maxLength",I),R):null}}min(I,T){return O=>{let R={};return O.value&&O.value<T?(R=this.addError(R,"min",I),R):null}}max(I,T){return O=>{let R={};return O.value&&O.value>T?(R=this.addError(R,"max",I),R):null}}}},7414:(k,S,h)=>{"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.cPUserNoteValidators=void 0;const l=h(2257),_=h(9761),I=/[^ \n\P{White_Space}]|[^ \n\P{Control}]|[^ \P{Separator}]/u;S.cPUserNoteValidators=new class T extends l.BaseValidator{constructor(){super(...arguments),this.prefix="note"}validate(R=250,F=""){return U=>{let j=_.stringValidators.validUnicode()(U);if(!j){const G=this.locale.maketext("This note is too long.");j=_.stringValidators.maxCharacterLength(G)(R,U)}if(!j){const G=U.match(I);if(G){j={};const re=G.index,be=G[0].codePointAt(0);this.addError(j,"character",this.locale.maketext("[asis,Unicode] character [numf,_1] (position [numf,_2]) is forbidden.",be,1+re))}}return j}}}},6128:(k,S,h)=>{"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.cpanelUsernameValidators=void 0;const l=h(2257);S.cpanelUsernameValidators=new class _ extends l.BaseValidator{constructor(){super(...arguments),this.prefix="cpanelUsername",this.VALID_USERNAME=/^(?![-.0-9])[a-z0-9]{1,16}$/}cpanelUsername(I){const T=I||this.locale.maketext("This is not a valid username.");return O=>{let R={};return O.value&&!this.VALID_USERNAME.test(O.value)?(R=this.addError(R,"invalidUsername",T),R):null}}}},6156:(k,S,h)=>{"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.databaseValidators=void 0;const l=h(2257),_=h(6369);S.databaseValidators=new class C extends l.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(T,O,R){return F=>T===_.DatabaseType.MySQL?(this._dbPrefix=O||"",this.validateMySQLDatabaseName(F.value,R||"")):null}validateMySQLDatabaseName(T,O){const R=this._performMySqlDatabaseNameValidation(T,O);let F={};return R?(F=this.addError(F,"databaseName",R),F):null}_performMySqlDatabaseNameValidation(T,O){let R=null;return R=this._verifyNameLengthLimit(T),null!==R||(R=this._verifyDatabaseNameIgnoreLength(T),null!==R)||(R=this._verifyDatabaseName(T,O)),R}_verifyNameLengthLimit(T){let O=null,R=this.DATABASE_NAME_LENGTH_LIMIT;this._dbPrefix&&(R-=this._dbPrefix.length+1);const F=unescape(encodeURIComponent(T)).length-R;return F>0&&(O={message:this.locale.maketext("This value is too long by [quant,_1,character,characters]. The maximum length is [quant,_2,character,characters].",F,R)}),O}_verifyDatabaseNameIgnoreLength(T){return this.ANYTHING_BUT_PRINTABLE_7_BIT_ASCII.test(T)?{message:this.locale.maketext("This system allows only printable [asis,ASCII] characters in database names.")}:this.MYSQL_DB_NAME_INVALID_CHARACTERS.test(T)?{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(T,O){if(null!==T&&T.endsWith(" "))return{message:this.locale.maketext("A [asis,MariaDB]/[asis,MySQL] database name cannot end with a space character.")};const R=this._verifySpecialWildcardsInDatabaseNames(T);return null!==R?R:O&&this._convertVersionStringToNumber(O)<this.MYSQL_STARTED_ALLOWING_FILESYS_CHARACTERS&&/\./.test(T)?{message:this.locale.maketext("This system’s [asis,MySQL] version ([_1]) prohibits the character “[_2]” in database names. Ask your administrator to upgrade to a [asis,MariaDB] or to a newer [asis,MySQL] version.",O,".")}:null}_convertVersionStringToNumber(T){return T.match(/mariadb/i)&&(T=T.replace(/^[^-]+-/,"")),parseInt(T.replace(/-.*/,"").split(/\./).map((function(O){return O.padStart(2,"0")})).join(""),10)}_verifySpecialWildcardsInDatabaseNames(T){if(null===T)return null;const O=T.replace(this.MYSQL_DB_NAME_WILDCARDS,"\\$1").length;let R=this.DATABASE_NAME_LENGTH_LIMIT;this._dbPrefix&&(R-=this._dbPrefix.length+1);const F=O-R;return F>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.",["\\","_","%"],R,O,F)}:null}}},4559:function(k,S,h){"use strict";var l=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(S,"__esModule",{value:!0}),S.domainValidators=void 0;const _=h(549),C=l(h(4879)),I=l(h(836)),T=h(2257);S.domainValidators=new class O extends T.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(F){const U=[],j=C.default.ucs2.decode(F);for(let G=0;G<j.length;G++)j[G]>this.UNICODE_ASCII_CUTOFF&&U.push(C.default.ucs2.encode([j[G]]));return(0,I.default)(U)}_validateLabelBasics(){return F=>{let U={};if(F.value&&0!==F.value.length){if(F.value.length>this.MAX_LABEL_BYTES)U=this.addError(U,"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("-"===F.value[0])U=this.addError(U,"charCondition",this.locale.maketext("A label must not begin with “[_1]”.","-"));else if("-"===F.value[F.value.length-1])U=this.addError(U,"charCondition",this.locale.maketext("A label must not end with “[_1]”.","-"));else if(C.default.toASCII(F.value).length>this.MAX_LABEL_BYTES){const j=this._getNonASCII(F.value);U=this.addError(U,"length",this.locale.maketext("The label’s [asis,Punycode] representation cannot exceed [quant,_1,byte,bytes]. (Non-[asis,ASCII] characters, like “[_2]”, require multiple characters to represent in [asis,Punycode].)",this.MAX_LABEL_BYTES,j[0]))}}else U=this.addError(U,"length",this.locale.maketext("A label must not be empty."));return U}}validDomainLength(){return F=>{let U={};if(F.value.length>this.MAX_DOMAIN_BYTES)return U=this.addError(U,"length",this.locale.maketext("The domain name cannot exceed [quant,_1,character,characters].",this.MAX_DOMAIN_BYTES)),U;if(C.default.toASCII(F.value).length>this.MAX_DOMAIN_BYTES){const G=this._getNonASCII(F.value);return U=this.addError(U,"length",this.locale.maketext("The domain name’s [asis,Punycode] representation cannot exceed [quant,_1,character,characters]. (Non-[asis,ASCII] characters, like “[_2]”, require multiple characters to represent in [asis,Punycode].)",this.MAX_DOMAIN_BYTES,G[0])),U}return null}}validateLabel(){return F=>(0,_.runValidationGroup)(F,[this._validateLabelBasics(),U=>{let j={};return this.NONINITIAL_LABEL_REGEX.test(U.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 F=>{let U={};return!this.VALID_TLD_REGEX.test(F.value)&&!this.VALID_IDN_TLD_REGEX.test(F.value)&&(U=this.addError(U,"tld",this.locale.maketext("The domain name must include a valid [output,acronym,TLD,Top Level Domain]."))),U}}fqdn(){return F=>{const U=F.value.split("."),j=U[U.length-1],G=U[0],re=F.value,be=[()=>{let he={};const oe=this.IPv4_REGEX.test(re),Ve=this.IPv6_REGEX.test(re);return oe||Ve?he=this.addError(he,"ipAddr",this.locale.maketext("You [output,strong,must] enter a hostname.")):U.length<2?he=this.addError(he,"oneDomain",this.locale.maketext("The domain name must include at least two labels.")):null},this.validDomainLength(),this.validateLabel().bind(this,{value:G}),this.validateTLD().bind(this,{value:"."+j})];return U.forEach((he=>{be.push(this.validateLabel().bind(this,{value:he}))})),(0,_.runValidationGroup)(F,be)}}fqdnOrIP(){return F=>{const U=(0,_.runValidationGroup)(F,[this.anyIP()]),j=F.value.split("."),G=j[j.length-1],re=j[0],be=[oe=>{let Ve={};return j.length<2&&(Ve=this.addError(Ve,"oneDomain",this.locale.maketext("The domain name must include at least two labels."))),Ve},this.validDomainLength(),this.validateLabel().bind(this,{value:re}),this.validateTLD().bind(this,{value:"."+G})];j.forEach((oe=>{be.push(this.validateLabel().bind(this,{value:oe}))}));const he=(0,_.runValidationGroup)(F,be);return U&&he?{...U,...he}:null}}ipv4(){return F=>{let U={};return F.value&&!this.IPv4_REGEX.test(F.value)?(U=this.addError(U,"ipv4",this.locale.maketext("Invalid [asis,IPv4] compatible address.")),U):null}}ipv6(){return F=>{let U={};return F.value&&!this.IPv6_REGEX.test(F.value)?(U=this.addError(U,"ipv6",this.locale.maketext("Invalid [asis,IPv6] compatible address.")),U):null}}anyIP(){return F=>{let U={};return!F.value||this.IPv4_REGEX.test(F.value)||this.IPv6_REGEX.test(F.value)?null:(U=this.addError(U,"anyIP",this.locale.maketext("Invalid [asis,IPv4] or [asis,IPv6] compatible address.")),U)}}}},8415:(k,S,h)=>{"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.emailValidators=void 0;const l=h(2257);S.emailValidators=new class _ extends l.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(I){const T=I||this.locale.maketext("Make sure to use a valid email format. For example, [asis,user@example.com].");return O=>{let R={};return O.value&&!this.VALID_EMAIL.test(O.value)?(R=this.addError(R,"invalidEmail",T),R):null}}}},7348:(k,S,h)=>{"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.equalityValidators=void 0;const l=h(2257);S.equalityValidators=new class _ extends l.BaseValidator{constructor(){super(...arguments),this.prefix="equality"}equalTo(I,T,O){return R=>{const F=R.get(T).value;let j={};return F===R.get(O).value&&""!==F?(j=this.addError(j,"equalFields",I),j):null}}}},2502:(k,S,h)=>{"use strict";S.uZ=S.Tt=S.Xz=void 0;h(50);const C=h(4559);Object.defineProperty(S,"Xz",{enumerable:!0,get:function(){return C.domainValidators}});const I=h(2257);Object.defineProperty(S,"uZ",{enumerable:!0,get:function(){return I.BaseValidator}});h(6156),h(6369),h(6128);const F=h(8415);Object.defineProperty(S,"Tt",{enumerable:!0,get:function(){return F.emailValidators}});h(7348),h(7414),h(9761)},2257:(k,S)=>{"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.BaseValidator=void 0;let h,l=!0;S.BaseValidator=class C{constructor(){this.prefix="",h={maketext:T=>{throw"DEVELOPER: You must specify a locale engine through the static variable BaseValidator.locale = myLocaleEngine"}}}static set locale(T){h=T}get locale(){return h}_buildKey(T){return l?`cpanel.${this.prefix}.${T}`:T}static disablePrefixing(){l=!1}static enablePrefixing(){l=!0}addError(T={},O,R){return"string"==typeof R&&(R={message:R}),T[this._buildKey(O)]=R,T}}},6369:(k,S)=>{"use strict";var l;Object.defineProperty(S,"__esModule",{value:!0}),S.DatabaseType=void 0,(l=S.DatabaseType||(S.DatabaseType={})).MySQL="MySQL",l.PostgreSQL="PostgreSQL"},91:(k,S)=>{"use strict";function C(T){return"0x"+T.toString(16)}Object.defineProperty(S,"__esModule",{value:!0}),S.characterLength=void 0,S.characterLength=function I(T,O){let R=0;for(let F=0;F<T.length;F++){R++;const U=T.charCodeAt(F);if(55296==(64512&U)){if(F++,F===T.length)throw new Error(O.maketext("This string ends with an incomplete [asis,UTF-16] surrogate pair ([_1]).",C(U)));const j=T.charCodeAt(F);if(56320!=(64512&j))throw new Error(O.maketext("This string contains an invalid [asis,UTF-16] surrogate pair ([join,~, ,_1]) at position [numf,_2].",[U,j].map(C),F))}}return R}},549:function(k,S,h){"use strict";var l=this&&this.__importDefault||function(I){return I&&I.__esModule?I:{default:I}};Object.defineProperty(S,"__esModule",{value:!0}),S.runValidationGroup=void 0;const _=l(h(9721));S.runValidationGroup=function C(I,T){const O={};return T.forEach((R=>{(0,_.default)(O,R(I))})),Object.keys(O).length?O:null}},9761:(k,S,h)=>{"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.stringValidators=void 0;const l=h(2257),_=h(91);S.stringValidators=new class I extends l.BaseValidator{constructor(){super(...arguments),this.prefix="string"}validUnicode(){return O=>{let R;try{R=(0,_.characterLength)(O,this.locale)}catch(F){const U={};return F instanceof Error&&this.addError(U,"unicode",F.message),U}return null}}maxCharacterLength(O){return(R,F)=>{if((0,_.characterLength)(F,this.locale)>R){const re={};return this.addError(re,"length",O),re}return null}}maxUTF8Length(O){return(R,F)=>{if(function C(T){return unescape(encodeURIComponent(T)).length}(F)>R){const U={};return this.addError(U,"length",O),U}return null}}}},4994:(k,S,h)=>{var l=h(4312),_=h(6421),C=h(5764),I=h(8685),T=h(6676);function O(R){var F=-1,U=null==R?0:R.length;for(this.clear();++F<U;){var j=R[F];this.set(j[0],j[1])}}O.prototype.clear=l,O.prototype.delete=_,O.prototype.get=C,O.prototype.has=I,O.prototype.set=T,k.exports=O},9215:(k,S,h)=>{var l=h(1840),_=h(4378),C=h(4981),I=h(7343),T=h(8895);function O(R){var F=-1,U=null==R?0:R.length;for(this.clear();++F<U;){var j=R[F];this.set(j[0],j[1])}}O.prototype.clear=l,O.prototype.delete=_,O.prototype.get=C,O.prototype.has=I,O.prototype.set=T,k.exports=O},1501:(k,S,h)=>{var C=h(3436)(h(2119),"Map");k.exports=C},9850:(k,S,h)=>{var l=h(638),_=h(1184),C=h(866),I=h(3771),T=h(1772);function O(R){var F=-1,U=null==R?0:R.length;for(this.clear();++F<U;){var j=R[F];this.set(j[0],j[1])}}O.prototype.clear=l,O.prototype.delete=_,O.prototype.get=C,O.prototype.has=I,O.prototype.set=T,k.exports=O},6323:(k,S,h)=>{var C=h(3436)(h(2119),"Set");k.exports=C},8849:(k,S,h)=>{var l=h(9850),_=h(4600),C=h(1387);function I(T){var O=-1,R=null==T?0:T.length;for(this.__data__=new l;++O<R;)this.add(T[O])}I.prototype.add=I.prototype.push=_,I.prototype.has=C,k.exports=I},443:(k,S,h)=>{var l=h(2119);k.exports=l.Symbol},6999:k=>{k.exports=function S(h,l,_){switch(_.length){case 0:return h.call(l);case 1:return h.call(l,_[0]);case 2:return h.call(l,_[0],_[1]);case 3:return h.call(l,_[0],_[1],_[2])}return h.apply(l,_)}},1253:(k,S,h)=>{var l=h(4164);k.exports=function _(C,I){return!(null==C||!C.length)&&l(C,I,0)>-1}},177:k=>{k.exports=function S(h,l,_){for(var C=-1,I=null==h?0:h.length;++C<I;)if(_(l,h[C]))return!0;return!1}},2271:(k,S,h)=>{var l=h(5334),_=h(7151),C=h(1503),I=h(891),T=h(8442),O=h(8159),F=Object.prototype.hasOwnProperty;k.exports=function U(j,G){var re=C(j),be=!re&&_(j),he=!re&&!be&&I(j),oe=!re&&!be&&!he&&O(j),Ve=re||be||he||oe,we=Ve?l(j.length,String):[],ke=we.length;for(var Le in j)(G||F.call(j,Le))&&(!Ve||!("length"==Le||he&&("offset"==Le||"parent"==Le)||oe&&("buffer"==Le||"byteLength"==Le||"byteOffset"==Le)||T(Le,ke)))&&we.push(Le);return we}},4633:k=>{k.exports=function S(h,l){for(var _=-1,C=null==h?0:h.length,I=Array(C);++_<C;)I[_]=l(h[_],_,h);return I}},8745:k=>{k.exports=function S(h,l,_,C){var I=-1,T=null==h?0:h.length;for(C&&T&&(_=h[++I]);++I<T;)_=l(_,h[I],I,h);return _}},5481:(k,S,h)=>{var _=h(1847)("length");k.exports=_},6422:k=>{k.exports=function S(h){return h.split("")}},69:k=>{var S=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;k.exports=function h(l){return l.match(S)||[]}},9719:(k,S,h)=>{var l=h(5683),_=h(217),I=Object.prototype.hasOwnProperty;k.exports=function T(O,R,F){var U=O[R];(!I.call(O,R)||!_(U,F)||void 0===F&&!(R in O))&&l(O,R,F)}},3503:(k,S,h)=>{var l=h(217);k.exports=function _(C,I){for(var T=C.length;T--;)if(l(C[T][0],I))return T;return-1}},5683:(k,S,h)=>{var l=h(6713);k.exports=function _(C,I,T){"__proto__"==I&&l?l(C,I,{configurable:!0,enumerable:!0,value:T,writable:!0}):C[I]=T}},5317:k=>{k.exports=function S(h,l,_,C){for(var I=h.length,T=_+(C?1:-1);C?T--:++T<I;)if(l(h[T],T,h))return T;return-1}},3337:(k,S,h)=>{var l=h(443),_=h(1318),C=h(2902),O=l?l.toStringTag:void 0;k.exports=function R(F){return null==F?void 0===F?"[object Undefined]":"[object Null]":O&&O in Object(F)?_(F):C(F)}},4164:(k,S,h)=>{var l=h(5317),_=h(968),C=h(4977);k.exports=function I(T,O,R){return O==O?C(T,O,R):l(T,_,R)}},186:(k,S,h)=>{var l=h(3337),_=h(2671);k.exports=function I(T){return _(T)&&"[object Arguments]"==l(T)}},968:k=>{k.exports=function S(h){return h!=h}},7304:(k,S,h)=>{var l=h(5946),_=h(1943),C=h(5940),I=h(2827),O=/^\[object .+?Constructor\]$/,G=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");k.exports=function re(be){return!(!C(be)||_(be))&&(l(be)?G:O).test(I(be))}},1083:(k,S,h)=>{var l=h(3337),_=h(6231),C=h(2671),ue={};ue["[object Float32Array]"]=ue["[object Float64Array]"]=ue["[object Int8Array]"]=ue["[object Int16Array]"]=ue["[object Int32Array]"]=ue["[object Uint8Array]"]=ue["[object Uint8ClampedArray]"]=ue["[object Uint16Array]"]=ue["[object Uint32Array]"]=!0,ue["[object Arguments]"]=ue["[object Array]"]=ue["[object ArrayBuffer]"]=ue["[object Boolean]"]=ue["[object DataView]"]=ue["[object Date]"]=ue["[object Error]"]=ue["[object Function]"]=ue["[object Map]"]=ue["[object Number]"]=ue["[object Object]"]=ue["[object RegExp]"]=ue["[object Set]"]=ue["[object String]"]=ue["[object WeakMap]"]=!1,k.exports=function _e(ve){return C(ve)&&_(ve.length)&&!!ue[l(ve)]}},2809:(k,S,h)=>{var l=h(5940),_=h(5488),C=h(2158),T=Object.prototype.hasOwnProperty;k.exports=function O(R){if(!l(R))return C(R);var F=_(R),U=[];for(var j in R)"constructor"==j&&(F||!T.call(R,j))||U.push(j);return U}},1847:k=>{k.exports=function S(h){return function(l){return l?.[h]}}},2724:k=>{k.exports=function S(h){return function(l){return h?.[l]}}},7065:k=>{var h=Math.floor;k.exports=function l(_,C){var I="";if(!_||C<1||C>9007199254740991)return I;do{C%2&&(I+=_),(C=h(C/2))&&(_+=_)}while(C);return I}},3269:(k,S,h)=>{var l=h(2608),_=h(3983),C=h(2185);k.exports=function I(T,O){return C(_(T,O,l),T+"")}},9510:(k,S,h)=>{var l=h(6684),_=h(6713),C=h(2608);k.exports=_?function(T,O){return _(T,"toString",{configurable:!0,enumerable:!1,value:l(O),writable:!0})}:C},4363:k=>{k.exports=function S(h,l,_){var C=-1,I=h.length;l<0&&(l=-l>I?0:I+l),(_=_>I?I:_)<0&&(_+=I),I=l>_?0:_-l>>>0,l>>>=0;for(var T=Array(I);++C<I;)T[C]=h[C+l];return T}},5334:k=>{k.exports=function S(h,l){for(var _=-1,C=Array(h);++_<h;)C[_]=l(_);return C}},3935:(k,S,h)=>{var l=h(443),_=h(4633),C=h(1503),I=h(4129),O=l?l.prototype:void 0,R=O?O.toString:void 0;k.exports=function F(U){if("string"==typeof U)return U;if(C(U))return _(U,F)+"";if(I(U))return R?R.call(U):"";var j=U+"";return"0"==j&&1/U==-1/0?"-0":j}},3348:(k,S,h)=>{var l=h(2760),_=/^\s+/;k.exports=function C(I){return I&&I.slice(0,l(I)+1).replace(_,"")}},5647:k=>{k.exports=function S(h){return function(l){return h(l)}}},707:(k,S,h)=>{var l=h(8849),_=h(1253),C=h(177),I=h(5972),T=h(4575),O=h(4174);k.exports=function F(U,j,G){var re=-1,be=_,he=U.length,oe=!0,Ve=[],we=Ve;if(G)oe=!1,be=C;else if(he>=200){var ke=j?null:T(U);if(ke)return O(ke);oe=!1,be=I,we=new l}else we=j?[]:Ve;e:for(;++re<he;){var Le=U[re],qe=j?j(Le):Le;if(Le=G||0!==Le?Le:0,oe&&qe==qe){for(var le=we.length;le--;)if(we[le]===qe)continue e;j&&we.push(qe),Ve.push(Le)}else be(we,qe,G)||(we!==Ve&&we.push(qe),Ve.push(Le))}return Ve}},5972:k=>{k.exports=function S(h,l){return h.has(l)}},2329:(k,S,h)=>{var l=h(4363);k.exports=function _(C,I,T){var O=C.length;return T=void 0===T?O:T,!I&&T>=O?C:l(C,I,T)}},1989:(k,S,h)=>{var l=h(9719),_=h(5683);k.exports=function C(I,T,O,R){var F=!O;O||(O={});for(var U=-1,j=T.length;++U<j;){var G=T[U],re=R?R(O[G],I[G],G,O,I):void 0;void 0===re&&(re=I[G]),F?_(O,G,re):l(O,G,re)}return O}},4610:(k,S,h)=>{var l=h(2119);k.exports=l["__core-js_shared__"]},4944:(k,S,h)=>{var l=h(3269),_=h(3342);k.exports=function C(I){return l((function(T,O){var R=-1,F=O.length,U=F>1?O[F-1]:void 0,j=F>2?O[2]:void 0;for(U=I.length>3&&"function"==typeof U?(F--,U):void 0,j&&_(O[0],O[1],j)&&(U=F<3?void 0:U,F=1),T=Object(T);++R<F;){var G=O[R];G&&I(T,G,R,U)}return T}))}},1491:(k,S,h)=>{var l=h(8745),_=h(4707),C=h(7188),T=RegExp("['’]","g");k.exports=function O(R){return function(F){return l(C(_(F).replace(T,"")),R,"")}}},5171:(k,S,h)=>{var l=h(7065),_=h(3935),C=h(2329),I=h(7609),T=h(2315),O=h(6007),R=Math.ceil;k.exports=function F(U,j){var G=(j=void 0===j?" ":_(j)).length;if(G<2)return G?l(j,U):j;var re=l(j,R(U/T(j)));return I(j)?C(O(re),0,U).join(""):re.slice(0,U)}},4575:(k,S,h)=>{var l=h(6323),_=h(2552),C=h(4174),T=l&&1/C(new l([,-0]))[1]==1/0?function(O){return new l(O)}:_;k.exports=T},9148:(k,S,h)=>{var C=h(2724)({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"});k.exports=C},6713:(k,S,h)=>{var l=h(3436),_=function(){try{var C=l(Object,"defineProperty");return C({},"",{}),C}catch{}}();k.exports=_},9122:k=>{var S="object"==typeof global&&global&&global.Object===Object&&global;k.exports=S},4537:(k,S,h)=>{var l=h(3819);k.exports=function _(C,I){var T=C.__data__;return l(I)?T["string"==typeof I?"string":"hash"]:T.map}},3436:(k,S,h)=>{var l=h(7304),_=h(1990);k.exports=function C(I,T){var O=_(I,T);return l(O)?O:void 0}},9519:(k,S,h)=>{var _=h(9385)(Object.getPrototypeOf,Object);k.exports=_},1318:(k,S,h)=>{var l=h(443),_=Object.prototype,C=_.hasOwnProperty,I=_.toString,T=l?l.toStringTag:void 0;k.exports=function O(R){var F=C.call(R,T),U=R[T];try{R[T]=void 0;var j=!0}catch{}var G=I.call(R);return j&&(F?R[T]=U:delete R[T]),G}},1990:k=>{k.exports=function S(h,l){return h?.[l]}},7609:k=>{var O=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");k.exports=function R(F){return O.test(F)}},9062:k=>{var S=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;k.exports=function h(l){return S.test(l)}},4312:(k,S,h)=>{var l=h(862);k.exports=function _(){this.__data__=l?l(null):{},this.size=0}},6421:k=>{k.exports=function S(h){var l=this.has(h)&&delete this.__data__[h];return this.size-=l?1:0,l}},5764:(k,S,h)=>{var l=h(862),I=Object.prototype.hasOwnProperty;k.exports=function T(O){var R=this.__data__;if(l){var F=R[O];return"__lodash_hash_undefined__"===F?void 0:F}return I.call(R,O)?R[O]:void 0}},8685:(k,S,h)=>{var l=h(862),C=Object.prototype.hasOwnProperty;k.exports=function I(T){var O=this.__data__;return l?void 0!==O[T]:C.call(O,T)}},6676:(k,S,h)=>{var l=h(862);k.exports=function C(I,T){var O=this.__data__;return this.size+=this.has(I)?0:1,O[I]=l&&void 0===T?"__lodash_hash_undefined__":T,this}},8442:k=>{var h=/^(?:0|[1-9]\d*)$/;k.exports=function l(_,C){var I=typeof _;return!!(C=C??9007199254740991)&&("number"==I||"symbol"!=I&&h.test(_))&&_>-1&&_%1==0&&_<C}},3342:(k,S,h)=>{var l=h(217),_=h(6507),C=h(8442),I=h(5940);k.exports=function T(O,R,F){if(!I(F))return!1;var U=typeof R;return!!("number"==U?_(F)&&C(R,F.length):"string"==U&&R in F)&&l(F[R],O)}},3819:k=>{k.exports=function S(h){var l=typeof h;return"string"==l||"number"==l||"symbol"==l||"boolean"==l?"__proto__"!==h:null===h}},1943:(k,S,h)=>{var I,l=h(4610),_=(I=/[^.]+$/.exec(l&&l.keys&&l.keys.IE_PROTO||""))?"Symbol(src)_1."+I:"";k.exports=function C(I){return!!_&&_ in I}},5488:k=>{var S=Object.prototype;k.exports=function h(l){var _=l&&l.constructor;return l===("function"==typeof _&&_.prototype||S)}},1840:k=>{k.exports=function S(){this.__data__=[],this.size=0}},4378:(k,S,h)=>{var l=h(3503),C=Array.prototype.splice;k.exports=function I(T){var O=this.__data__,R=l(O,T);return!(R<0||(R==O.length-1?O.pop():C.call(O,R,1),--this.size,0))}},4981:(k,S,h)=>{var l=h(3503);k.exports=function _(C){var I=this.__data__,T=l(I,C);return T<0?void 0:I[T][1]}},7343:(k,S,h)=>{var l=h(3503);k.exports=function _(C){return l(this.__data__,C)>-1}},8895:(k,S,h)=>{var l=h(3503);k.exports=function _(C,I){var T=this.__data__,O=l(T,C);return O<0?(++this.size,T.push([C,I])):T[O][1]=I,this}},638:(k,S,h)=>{var l=h(4994),_=h(9215),C=h(1501);k.exports=function I(){this.size=0,this.__data__={hash:new l,map:new(C||_),string:new l}}},1184:(k,S,h)=>{var l=h(4537);k.exports=function _(C){var I=l(this,C).delete(C);return this.size-=I?1:0,I}},866:(k,S,h)=>{var l=h(4537);k.exports=function _(C){return l(this,C).get(C)}},3771:(k,S,h)=>{var l=h(4537);k.exports=function _(C){return l(this,C).has(C)}},1772:(k,S,h)=>{var l=h(4537);k.exports=function _(C,I){var T=l(this,C),O=T.size;return T.set(C,I),this.size+=T.size==O?0:1,this}},862:(k,S,h)=>{var _=h(3436)(Object,"create");k.exports=_},2158:k=>{k.exports=function S(h){var l=[];if(null!=h)for(var _ in Object(h))l.push(_);return l}},3597:(k,S,h)=>{k=h.nmd(k);var l=h(9122),_=S&&!S.nodeType&&S,C=_&&k&&!k.nodeType&&k,T=C&&C.exports===_&&l.process,O=function(){try{return C&&C.require&&C.require("util").types||T&&T.binding&&T.binding("util")}catch{}}();k.exports=O},2902:k=>{var h=Object.prototype.toString;k.exports=function l(_){return h.call(_)}},9385:k=>{k.exports=function S(h,l){return function(_){return h(l(_))}}},3983:(k,S,h)=>{var l=h(6999),_=Math.max;k.exports=function C(I,T,O){return T=_(void 0===T?I.length-1:T,0),function(){for(var R=arguments,F=-1,U=_(R.length-T,0),j=Array(U);++F<U;)j[F]=R[T+F];F=-1;for(var G=Array(T+1);++F<T;)G[F]=R[F];return G[T]=O(j),l(I,this,G)}}},2119:(k,S,h)=>{var l=h(9122),_="object"==typeof self&&self&&self.Object===Object&&self,C=l||_||Function("return this")();k.exports=C},4600:k=>{k.exports=function h(l){return this.__data__.set(l,"__lodash_hash_undefined__"),this}},1387:k=>{k.exports=function S(h){return this.__data__.has(h)}},4174:k=>{k.exports=function S(h){var l=-1,_=Array(h.size);return h.forEach((function(C){_[++l]=C})),_}},2185:(k,S,h)=>{var l=h(9510),C=h(29)(l);k.exports=C},29:k=>{var l=Date.now;k.exports=function _(C){var I=0,T=0;return function(){var O=l(),R=16-(O-T);if(T=O,R>0){if(++I>=800)return arguments[0]}else I=0;return C.apply(void 0,arguments)}}},4977:k=>{k.exports=function S(h,l,_){for(var C=_-1,I=h.length;++C<I;)if(h[C]===l)return C;return-1}},2315:(k,S,h)=>{var l=h(5481),_=h(7609),C=h(1149);k.exports=function I(T){return _(T)?C(T):l(T)}},6007:(k,S,h)=>{var l=h(6422),_=h(7609),C=h(6319);k.exports=function I(T){return _(T)?C(T):l(T)}},2827:k=>{var h=Function.prototype.toString;k.exports=function l(_){if(null!=_){try{return h.call(_)}catch{}try{return _+""}catch{}}return""}},2760:k=>{var S=/\s/;k.exports=function h(l){for(var _=l.length;_--&&S.test(l.charAt(_)););return _}},1149:k=>{var S="\\ud800-\\udfff",T="["+S+"]",O="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",R="\\ud83c[\\udffb-\\udfff]",U="[^"+S+"]",j="(?:\\ud83c[\\udde6-\\uddff]){2}",G="[\\ud800-\\udbff][\\udc00-\\udfff]",be="(?:"+O+"|"+R+")?",he="[\\ufe0e\\ufe0f]?",Ve=he+be+"(?:\\u200d(?:"+[U,j,G].join("|")+")"+he+be+")*",we="(?:"+[U+O+"?",O,j,G,T].join("|")+")",ke=RegExp(R+"(?="+R+")|"+we+Ve,"g");k.exports=function Le(qe){for(var le=ke.lastIndex=0;ke.test(qe);)++le;return le}},6319:k=>{var S="\\ud800-\\udfff",T="["+S+"]",O="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",R="\\ud83c[\\udffb-\\udfff]",U="[^"+S+"]",j="(?:\\ud83c[\\udde6-\\uddff]){2}",G="[\\ud800-\\udbff][\\udc00-\\udfff]",be="(?:"+O+"|"+R+")?",he="[\\ufe0e\\ufe0f]?",Ve=he+be+"(?:\\u200d(?:"+[U,j,G].join("|")+")"+he+be+")*",we="(?:"+[U+O+"?",O,j,G,T].join("|")+")",ke=RegExp(R+"(?="+R+")|"+we+Ve,"g");k.exports=function Le(qe){return qe.match(ke)||[]}},910:k=>{var S="\\ud800-\\udfff",I="\\u2700-\\u27bf",T="a-z\\xdf-\\xf6\\xf8-\\xff",j="A-Z\\xc0-\\xd6\\xd8-\\xde",re="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",he="["+re+"]",Ve="\\d+",we="["+I+"]",ke="["+T+"]",Le="[^"+S+re+Ve+I+T+j+"]",Ye="(?:\\ud83c[\\udde6-\\uddff]){2}",$e="[\\ud800-\\udbff][\\udc00-\\udfff]",Qe="["+j+"]",X="(?:"+ke+"|"+Le+")",ue="(?:"+Qe+"|"+Le+")",_e="(?:['’](?:d|ll|m|re|s|t|ve))?",ve="(?:['’](?:D|LL|M|RE|S|T|VE))?",Z="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",ae="[\\ufe0e\\ufe0f]?",Ke=ae+Z+"(?:\\u200d(?:"+["[^"+S+"]",Ye,$e].join("|")+")"+ae+Z+")*",wt="(?:"+[we,Ye,$e].join("|")+")"+Ke,Wt=RegExp([Qe+"?"+ke+"+"+_e+"(?="+[he,Qe,"$"].join("|")+")",ue+"+"+ve+"(?="+[he,Qe+X,"$"].join("|")+")",Qe+"?"+X+"+"+_e,Qe+"+"+ve,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ve,wt].join("|"),"g");k.exports=function St(sn){return sn.match(Wt)||[]}},9919:(k,S,h)=>{var l=h(1989),_=h(4944),C=h(6555),I=_((function(T,O){l(O,C(O),T)}));k.exports=I},6684:k=>{k.exports=function S(h){return function(){return h}}},4707:(k,S,h)=>{var l=h(9148),_=h(3943),C=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,U=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");k.exports=function j(G){return(G=_(G))&&G.replace(C,l).replace(U,"")}},217:k=>{k.exports=function S(h,l){return h===l||h!=h&&l!=l}},9721:(k,S,h)=>{k.exports=h(9919)},2608:k=>{k.exports=function S(h){return h}},7151:(k,S,h)=>{var l=h(186),_=h(2671),C=Object.prototype,I=C.hasOwnProperty,T=C.propertyIsEnumerable,O=l(function(){return arguments}())?l:function(R){return _(R)&&I.call(R,"callee")&&!T.call(R,"callee")};k.exports=O},1503:k=>{k.exports=Array.isArray},6507:(k,S,h)=>{var l=h(5946),_=h(6231);k.exports=function C(I){return null!=I&&_(I.length)&&!l(I)}},4798:(k,S,h)=>{var l=h(3337),_=h(2671);k.exports=function I(T){return!0===T||!1===T||_(T)&&"[object Boolean]"==l(T)}},891:(k,S,h)=>{k=h.nmd(k);var l=h(2119),_=h(3580),C=S&&!S.nodeType&&S,I=C&&k&&!k.nodeType&&k,O=I&&I.exports===C?l.Buffer:void 0;k.exports=(O?O.isBuffer:void 0)||_},5946:(k,S,h)=>{var l=h(3337),_=h(5940);k.exports=function R(F){if(!_(F))return!1;var U=l(F);return"[object Function]"==U||"[object GeneratorFunction]"==U||"[object AsyncFunction]"==U||"[object Proxy]"==U}},6231:k=>{k.exports=function h(l){return"number"==typeof l&&l>-1&&l%1==0&&l<=9007199254740991}},1305:k=>{k.exports=function S(h){return null===h}},9138:(k,S,h)=>{var l=h(3337),_=h(2671);k.exports=function I(T){return"number"==typeof T||_(T)&&"[object Number]"==l(T)}},5940:k=>{k.exports=function S(h){var l=typeof h;return null!=h&&("object"==l||"function"==l)}},2671:k=>{k.exports=function S(h){return null!=h&&"object"==typeof h}},7614:(k,S,h)=>{var l=h(3337),_=h(9519),C=h(2671),R=Function.prototype.toString,F=Object.prototype.hasOwnProperty,U=R.call(Object);k.exports=function j(G){if(!C(G)||"[object Object]"!=l(G))return!1;var re=_(G);if(null===re)return!0;var be=F.call(re,"constructor")&&re.constructor;return"function"==typeof be&&be instanceof be&&R.call(be)==U}},248:(k,S,h)=>{var l=h(3337),_=h(1503),C=h(2671);k.exports=function T(O){return"string"==typeof O||!_(O)&&C(O)&&"[object String]"==l(O)}},4129:(k,S,h)=>{var l=h(3337),_=h(2671);k.exports=function I(T){return"symbol"==typeof T||_(T)&&"[object Symbol]"==l(T)}},8159:(k,S,h)=>{var l=h(1083),_=h(5647),C=h(3597),I=C&&C.isTypedArray,T=I?_(I):l;k.exports=T},4235:k=>{k.exports=function S(h){return void 0===h}},6555:(k,S,h)=>{var l=h(2271),_=h(2809),C=h(6507);k.exports=function I(T){return C(T)?l(T,!0):_(T)}},2552:k=>{k.exports=function S(){}},8448:(k,S,h)=>{var l=h(5171),_=h(2315),C=h(4401),I=h(3943);k.exports=function T(O,R,F){O=I(O);var U=(R=C(R))?_(O):0;return R&&U<R?l(R-U,F)+O:O}},1978:(k,S,h)=>{var _=h(1491)((function(C,I,T){return C+(T?"_":"")+I.toLowerCase()}));k.exports=_},3580:k=>{k.exports=function S(){return!1}},2232:(k,S,h)=>{var l=h(1467),_=1/0;k.exports=function I(T){return T?(T=l(T))===_||T===-_?17976931348623157e292*(T<0?-1:1):T==T?T:0:0===T?T:0}},4401:(k,S,h)=>{var l=h(2232);k.exports=function _(C){var I=l(C),T=I%1;return I==I?T?I-T:I:0}},1467:(k,S,h)=>{var l=h(3348),_=h(5940),C=h(4129),T=/^[-+]0x[0-9a-f]+$/i,O=/^0b[01]+$/i,R=/^0o[0-7]+$/i,F=parseInt;k.exports=function U(j){if("number"==typeof j)return j;if(C(j))return NaN;if(_(j)){var G="function"==typeof j.valueOf?j.valueOf():j;j=_(G)?G+"":G}if("string"!=typeof j)return 0===j?j:+j;j=l(j);var re=O.test(j);return re||R.test(j)?F(j.slice(2),re?2:8):T.test(j)?NaN:+j}},3943:(k,S,h)=>{var l=h(3935);k.exports=function _(C){return null==C?"":l(C)}},836:(k,S,h)=>{var l=h(707);k.exports=function _(C){return C&&C.length?l(C):[]}},7188:(k,S,h)=>{var l=h(69),_=h(9062),C=h(3943),I=h(910);k.exports=function T(O,R,F){return O=C(O),void 0===(R=F?void 0:R)?_(O)?I(O):l(O):O.match(R)||[]}},4879:(k,S,h)=>{"use strict";h.r(S),h.d(S,{decode:()=>Qe,default:()=>ve,encode:()=>Ie,toASCII:()=>ue,toUnicode:()=>X,ucs2decode:()=>qe,ucs2encode:()=>le});const l=2147483647,_=36,j=/^xn--/,G=/[^\0-\x7E]/,re=/[\x2E\u3002\uFF0E\uFF61]/g,be={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},oe=Math.floor,Ve=String.fromCharCode;function we(Z){throw new RangeError(be[Z])}function Le(Z,ae){const ge=Z.split("@");let Y="";ge.length>1&&(Y=ge[0]+"@",Z=ge[1]);const Ke=function ke(Z,ae){const ge=[];let Y=Z.length;for(;Y--;)ge[Y]=ae(Z[Y]);return ge}((Z=Z.replace(re,".")).split("."),ae).join(".");return Y+Ke}function qe(Z){const ae=[];let ge=0;const Y=Z.length;for(;ge<Y;){const xe=Z.charCodeAt(ge++);if(xe>=55296&&xe<=56319&&ge<Y){const Ke=Z.charCodeAt(ge++);56320==(64512&Ke)?ae.push(((1023&xe)<<10)+(1023&Ke)+65536):(ae.push(xe),ge--)}else ae.push(xe)}return ae}const le=Z=>String.fromCodePoint(...Z),fe=function(Z){return Z-48<10?Z-22:Z-65<26?Z-65:Z-97<26?Z-97:_},Ye=function(Z,ae){return Z+22+75*(Z<26)-((0!=ae)<<5)},$e=function(Z,ae,ge){let Y=0;for(Z=ge?oe(Z/700):Z>>1,Z+=oe(Z/ae);Z>455;Y+=_)Z=oe(Z/35);return oe(Y+36*Z/(Z+38))},Qe=function(Z){const ae=[],ge=Z.length;let Y=0,xe=128,Ke=72,wt=Z.lastIndexOf("-");wt<0&&(wt=0);for(let Wt=0;Wt<wt;++Wt)Z.charCodeAt(Wt)>=128&&we("not-basic"),ae.push(Z.charCodeAt(Wt));for(let Wt=wt>0?wt+1:0;Wt<ge;){let St=Y;for(let dn=1,gn=_;;gn+=_){Wt>=ge&&we("invalid-input");const Kt=fe(Z.charCodeAt(Wt++));(Kt>=_||Kt>oe((l-Y)/dn))&&we("overflow"),Y+=Kt*dn;const Tn=gn<=Ke?1:gn>=Ke+26?26:gn-Ke;if(Kt<Tn)break;const vt=_-Tn;dn>oe(l/vt)&&we("overflow"),dn*=vt}const sn=ae.length+1;Ke=$e(Y-St,sn,0==St),oe(Y/sn)>l-xe&&we("overflow"),xe+=oe(Y/sn),Y%=sn,ae.splice(Y++,0,xe)}return String.fromCodePoint(...ae)},Ie=function(Z){const ae=[];let ge=(Z=qe(Z)).length,Y=128,xe=0,Ke=72;for(const St of Z)St<128&&ae.push(Ve(St));let wt=ae.length,Wt=wt;for(wt&&ae.push("-");Wt<ge;){let St=l;for(const dn of Z)dn>=Y&&dn<St&&(St=dn);const sn=Wt+1;St-Y>oe((l-xe)/sn)&&we("overflow"),xe+=(St-Y)*sn,Y=St;for(const dn of Z)if(dn<Y&&++xe>l&&we("overflow"),dn==Y){let gn=xe;for(let Kt=_;;Kt+=_){const Tn=Kt<=Ke?1:Kt>=Ke+26?26:Kt-Ke;if(gn<Tn)break;const vt=gn-Tn,Lt=_-Tn;ae.push(Ve(Ye(Tn+vt%Lt,0))),gn=oe(vt/Lt)}ae.push(Ve(Ye(gn,0))),Ke=$e(xe,sn,Wt==wt),xe=0,++Wt}++xe,++Y}return ae.join("")},X=function(Z){return Le(Z,(function(ae){return j.test(ae)?Qe(ae.slice(4).toLowerCase()):ae}))},ue=function(Z){return Le(Z,(function(ae){return G.test(ae)?"xn--"+Ie(ae):ae}))},ve={version:"2.1.0",ucs2:{decode:qe,encode:le},decode:Qe,encode:Ie,toASCII:ue,toUnicode:X}},9751:(k,S,h)=>{"use strict";h.d(S,{y:()=>F});var l=h(2961),_=h(727),C=h(8822),I=h(9635),T=h(2416),O=h(576),R=h(2806);let F=(()=>{class re{constructor(he){he&&(this._subscribe=he)}lift(he){const oe=new re;return oe.source=this,oe.operator=he,oe}subscribe(he,oe,Ve){const we=function G(re){return re&&re instanceof l.Lv||function j(re){return re&&(0,O.m)(re.next)&&(0,O.m)(re.error)&&(0,O.m)(re.complete)}(re)&&(0,_.Nn)(re)}(he)?he:new l.Hp(he,oe,Ve);return(0,R.x)((()=>{const{operator:ke,source:Le}=this;we.add(ke?ke.call(we,Le):Le?this._subscribe(we):this._trySubscribe(we))})),we}_trySubscribe(he){try{return this._subscribe(he)}catch(oe){he.error(oe)}}forEach(he,oe){return new(oe=U(oe))(((Ve,we)=>{let ke;ke=this.subscribe((Le=>{try{he(Le)}catch(qe){we(qe),ke?.unsubscribe()}}),we,Ve)}))}_subscribe(he){var oe;return null===(oe=this.source)||void 0===oe?void 0:oe.subscribe(he)}[C.L](){return this}pipe(...he){return(0,I.U)(he)(this)}toPromise(he){return new(he=U(he))(((oe,Ve)=>{let we;this.subscribe((ke=>we=ke),(ke=>Ve(ke)),(()=>oe(we)))}))}}return re.create=be=>new re(be),re})();function U(re){var be;return null!==(be=re??T.v.Promise)&&void 0!==be?be:Promise}},7579:(k,S,h)=>{"use strict";h.d(S,{x:()=>R});var l=h(9751),_=h(727);const I=(0,h(3888).d)((U=>function(){U(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}));var T=h(8737),O=h(2806);let R=(()=>{class U extends l.y{constructor(){super(),this.closed=!1,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(G){const re=new F(this,this);return re.operator=G,re}_throwIfClosed(){if(this.closed)throw new I}next(G){(0,O.x)((()=>{if(this._throwIfClosed(),!this.isStopped){const re=this.observers.slice();for(const be of re)be.next(G)}}))}error(G){(0,O.x)((()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=G;const{observers:re}=this;for(;re.length;)re.shift().error(G)}}))}complete(){(0,O.x)((()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:G}=this;for(;G.length;)G.shift().complete()}}))}unsubscribe(){this.isStopped=this.closed=!0,this.observers=null}get observed(){var G;return(null===(G=this.observers)||void 0===G?void 0:G.length)>0}_trySubscribe(G){return this._throwIfClosed(),super._trySubscribe(G)}_subscribe(G){return this._throwIfClosed(),this._checkFinalizedStatuses(G),this._innerSubscribe(G)}_innerSubscribe(G){const{hasError:re,isStopped:be,observers:he}=this;return re||be?_.Lc:(he.push(G),new _.w0((()=>(0,T.P)(he,G))))}_checkFinalizedStatuses(G){const{hasError:re,thrownError:be,isStopped:he}=this;re?G.error(be):he&&G.complete()}asObservable(){const G=new l.y;return G.source=this,G}}return U.create=(j,G)=>new F(j,G),U})();class F extends R{constructor(j,G){super(),this.destination=j,this.source=G}next(j){var G,re;null===(re=null===(G=this.destination)||void 0===G?void 0:G.next)||void 0===re||re.call(G,j)}error(j){var G,re;null===(re=null===(G=this.destination)||void 0===G?void 0:G.error)||void 0===re||re.call(G,j)}complete(){var j,G;null===(G=null===(j=this.destination)||void 0===j?void 0:j.complete)||void 0===G||G.call(j)}_subscribe(j){var G,re;return null!==(re=null===(G=this.source)||void 0===G?void 0:G.subscribe(j))&&void 0!==re?re:_.Lc}}},2961:(k,S,h)=>{"use strict";h.d(S,{Hp:()=>be,Lv:()=>re});var l=h(576),_=h(727),C=h(2416),I=h(7849);function T(){}const O=U("C",void 0,void 0);function U(ke,Le,qe){return{kind:ke,value:Le,error:qe}}var j=h(3410),G=h(2806);class re extends _.w0{constructor(Le){super(),this.isStopped=!1,Le?(this.destination=Le,(0,_.Nn)(Le)&&Le.add(this)):this.destination=we}static create(Le,qe,le){return new be(Le,qe,le)}next(Le){this.isStopped?Ve(function F(ke){return U("N",ke,void 0)}(Le),this):this._next(Le)}error(Le){this.isStopped?Ve(function R(ke){return U("E",void 0,ke)}(Le),this):(this.isStopped=!0,this._error(Le))}complete(){this.isStopped?Ve(O,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(Le){this.destination.next(Le)}_error(Le){try{this.destination.error(Le)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}class be extends re{constructor(Le,qe,le){let fe;if(super(),(0,l.m)(Le))fe=Le;else if(Le){let Ye;({next:fe,error:qe,complete:le}=Le),this&&C.v.useDeprecatedNextContext?(Ye=Object.create(Le),Ye.unsubscribe=()=>this.unsubscribe()):Ye=Le,fe=fe?.bind(Ye),qe=qe?.bind(Ye),le=le?.bind(Ye)}this.destination={next:fe?he(fe):T,error:he(qe??oe),complete:le?he(le):T}}}function he(ke,Le){return(...qe)=>{try{ke(...qe)}catch(le){C.v.useDeprecatedSynchronousErrorHandling?(0,G.O)(le):(0,I.h)(le)}}}function oe(ke){throw ke}function Ve(ke,Le){const{onStoppedNotification:qe}=C.v;qe&&j.z.setTimeout((()=>qe(ke,Le)))}const we={closed:!0,next:T,error:oe,complete:T}},727:(k,S,h)=>{"use strict";h.d(S,{Lc:()=>O,w0:()=>T,Nn:()=>R});var l=h(576);const C=(0,h(3888).d)((U=>function(G){U(this),this.message=G?`${G.length} errors occurred during unsubscription:\n${G.map(((re,be)=>`${be+1}) ${re.toString()}`)).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=G}));var I=h(8737);class T{constructor(j){this.initialTeardown=j,this.closed=!1,this._parentage=null,this._teardowns=null}unsubscribe(){let j;if(!this.closed){this.closed=!0;const{_parentage:G}=this;if(G)if(this._parentage=null,Array.isArray(G))for(const he of G)he.remove(this);else G.remove(this);const{initialTeardown:re}=this;if((0,l.m)(re))try{re()}catch(he){j=he instanceof C?he.errors:[he]}const{_teardowns:be}=this;if(be){this._teardowns=null;for(const he of be)try{F(he)}catch(oe){j=j??[],oe instanceof C?j=[...j,...oe.errors]:j.push(oe)}}if(j)throw new C(j)}}add(j){var G;if(j&&j!==this)if(this.closed)F(j);else{if(j instanceof T){if(j.closed||j._hasParent(this))return;j._addParent(this)}(this._teardowns=null!==(G=this._teardowns)&&void 0!==G?G:[]).push(j)}}_hasParent(j){const{_parentage:G}=this;return G===j||Array.isArray(G)&&G.includes(j)}_addParent(j){const{_parentage:G}=this;this._parentage=Array.isArray(G)?(G.push(j),G):G?[G,j]:j}_removeParent(j){const{_parentage:G}=this;G===j?this._parentage=null:Array.isArray(G)&&(0,I.P)(G,j)}remove(j){const{_teardowns:G}=this;G&&(0,I.P)(G,j),j instanceof T&&j._removeParent(this)}}T.EMPTY=(()=>{const U=new T;return U.closed=!0,U})();const O=T.EMPTY;function R(U){return U instanceof T||U&&"closed"in U&&(0,l.m)(U.remove)&&(0,l.m)(U.add)&&(0,l.m)(U.unsubscribe)}function F(U){(0,l.m)(U)?U():U.unsubscribe()}},2416:(k,S,h)=>{"use strict";h.d(S,{v:()=>l});const l={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},9841:(k,S,h)=>{"use strict";h.d(S,{a:()=>j});var l=h(9751),_=h(4742),C=h(2076),I=h(4671),T=h(3268),O=h(7669),R=h(1810),F=h(5403),U=h(9672);function j(...be){const he=(0,O.yG)(be),oe=(0,O.jO)(be),{args:Ve,keys:we}=(0,_.D)(be);if(0===Ve.length)return(0,C.D)([],he);const ke=new l.y(function G(be,he,oe=I.y){return Ve=>{re(he,(()=>{const{length:we}=be,ke=new Array(we);let Le=we,qe=we;for(let le=0;le<we;le++)re(he,(()=>{const fe=(0,C.D)(be[le],he);let Ye=!1;fe.subscribe(new F.Q(Ve,($e=>{ke[le]=$e,Ye||(Ye=!0,qe--),qe||Ve.next(oe(ke.slice()))}),(()=>{--Le||Ve.complete()})))}),Ve)}),Ve)}}(Ve,he,we?Le=>(0,R.n)(we,Le):I.y));return oe?ke.pipe((0,T.Z)(oe)):ke}function re(be,he,oe){be?(0,U.f)(oe,be,he):he()}},7272:(k,S,h)=>{"use strict";h.d(S,{z:()=>T});var l=h(8189),C=h(7669),I=h(2076);function T(...O){return function _(){return(0,l.J)(1)}()((0,I.D)(O,(0,C.yG)(O)))}},515:(k,S,h)=>{"use strict";h.d(S,{E:()=>_});const _=new(h(9751).y)((T=>T.complete()))},2076:(k,S,h)=>{"use strict";h.d(S,{D:()=>$e});var l=h(8421),_=h(9672),C=h(4482),I=h(5403);function T(Qe,Ie=0){return(0,C.e)(((X,ue)=>{X.subscribe(new I.Q(ue,(_e=>(0,_.f)(ue,Qe,(()=>ue.next(_e)),Ie)),(()=>(0,_.f)(ue,Qe,(()=>ue.complete()),Ie)),(_e=>(0,_.f)(ue,Qe,(()=>ue.error(_e)),Ie))))}))}function O(Qe,Ie=0){return(0,C.e)(((X,ue)=>{ue.add(Qe.schedule((()=>X.subscribe(ue)),Ie))}))}var U=h(9751),G=h(2202),re=h(576);function he(Qe,Ie){if(!Qe)throw new Error("Iterable cannot be null");return new U.y((X=>{(0,_.f)(X,Ie,(()=>{const ue=Qe[Symbol.asyncIterator]();(0,_.f)(X,Ie,(()=>{ue.next().then((_e=>{_e.done?X.complete():X.next(_e.value)}))}),0,!0)}))}))}var oe=h(3670),Ve=h(8239),we=h(1144),ke=h(6495),Le=h(2206),qe=h(4532),le=h(3260);function $e(Qe,Ie){return Ie?function Ye(Qe,Ie){if(null!=Qe){if((0,oe.c)(Qe))return function R(Qe,Ie){return(0,l.Xf)(Qe).pipe(O(Ie),T(Ie))}(Qe,Ie);if((0,we.z)(Qe))return function j(Qe,Ie){return new U.y((X=>{let ue=0;return Ie.schedule((function(){ue===Qe.length?X.complete():(X.next(Qe[ue++]),X.closed||this.schedule())}))}))}(Qe,Ie);if((0,Ve.t)(Qe))return function F(Qe,Ie){return(0,l.Xf)(Qe).pipe(O(Ie),T(Ie))}(Qe,Ie);if((0,Le.D)(Qe))return he(Qe,Ie);if((0,ke.T)(Qe))return function be(Qe,Ie){return new U.y((X=>{let ue;return(0,_.f)(X,Ie,(()=>{ue=Qe[G.h](),(0,_.f)(X,Ie,(()=>{let _e,ve;try{({value:_e,done:ve}=ue.next())}catch(Z){return void X.error(Z)}ve?X.complete():X.next(_e)}),0,!0)})),()=>(0,re.m)(ue?.return)&&ue.return()}))}(Qe,Ie);if((0,le.L)(Qe))return function fe(Qe,Ie){return he((0,le.Q)(Qe),Ie)}(Qe,Ie)}throw(0,qe.z)(Qe)}(Qe,Ie):(0,l.Xf)(Qe)}},4968:(k,S,h)=>{"use strict";h.d(S,{R:()=>j});var l=h(8421),_=h(9751),C=h(5577),I=h(1144),T=h(576),O=h(3268);const R=["addListener","removeListener"],F=["addEventListener","removeEventListener"],U=["on","off"];function j(oe,Ve,we,ke){if((0,T.m)(we)&&(ke=we,we=void 0),ke)return j(oe,Ve,we).pipe((0,O.Z)(ke));const[Le,qe]=function he(oe){return(0,T.m)(oe.addEventListener)&&(0,T.m)(oe.removeEventListener)}(oe)?F.map((le=>fe=>oe[le](Ve,fe,we))):function re(oe){return(0,T.m)(oe.addListener)&&(0,T.m)(oe.removeListener)}(oe)?R.map(G(oe,Ve)):function be(oe){return(0,T.m)(oe.on)&&(0,T.m)(oe.off)}(oe)?U.map(G(oe,Ve)):[];if(!Le&&(0,I.z)(oe))return(0,C.z)((le=>j(le,Ve,we)))((0,l.Xf)(oe));if(!Le)throw new TypeError("Invalid event target");return new _.y((le=>{const fe=(...Ye)=>le.next(1<Ye.length?Ye:Ye[0]);return Le(fe),()=>qe(fe)}))}function G(oe,Ve){return we=>ke=>oe[we](Ve,ke)}},8421:(k,S,h)=>{"use strict";h.d(S,{Xf:()=>be});var l=h(5987),_=h(1144),C=h(8239),I=h(9751),T=h(3670),O=h(2206),R=h(4532),F=h(6495),U=h(3260),j=h(576),G=h(7849),re=h(8822);function be(le){if(le instanceof I.y)return le;if(null!=le){if((0,T.c)(le))return function he(le){return new I.y((fe=>{const Ye=le[re.L]();if((0,j.m)(Ye.subscribe))return Ye.subscribe(fe);throw new TypeError("Provided object does not correctly implement Symbol.observable")}))}(le);if((0,_.z)(le))return function oe(le){return new I.y((fe=>{for(let Ye=0;Ye<le.length&&!fe.closed;Ye++)fe.next(le[Ye]);fe.complete()}))}(le);if((0,C.t)(le))return function Ve(le){return new I.y((fe=>{le.then((Ye=>{fe.closed||(fe.next(Ye),fe.complete())}),(Ye=>fe.error(Ye))).then(null,G.h)}))}(le);if((0,O.D)(le))return ke(le);if((0,F.T)(le))return function we(le){return new I.y((fe=>{for(const Ye of le)if(fe.next(Ye),fe.closed)return;fe.complete()}))}(le);if((0,U.L)(le))return function Le(le){return ke((0,U.Q)(le))}(le)}throw(0,R.z)(le)}function ke(le){return new I.y((fe=>{(function qe(le,fe){var Ye,$e,Qe,Ie;return(0,l.mG)(this,void 0,void 0,(function*(){try{for(Ye=(0,l.KL)(le);!($e=yield Ye.next()).done;)if(fe.next($e.value),fe.closed)return}catch(X){Qe={error:X}}finally{try{$e&&!$e.done&&(Ie=Ye.return)&&(yield Ie.call(Ye))}finally{if(Qe)throw Qe.error}}fe.complete()}))})(le,fe).catch((Ye=>fe.error(Ye)))}))}},9646:(k,S,h)=>{"use strict";h.d(S,{of:()=>C});var l=h(7669),_=h(2076);function C(...I){const T=(0,l.yG)(I);return(0,_.D)(I,T)}},2843:(k,S,h)=>{"use strict";h.d(S,{_:()=>C});var l=h(9751),_=h(576);function C(I,T){const O=(0,_.m)(I)?I:()=>I,R=F=>F.error(O());return new l.y(T?F=>T.schedule(R,0,F):R)}},5403:(k,S,h)=>{"use strict";h.d(S,{Q:()=>_});var l=h(2961);class _ extends l.Lv{constructor(I,T,O,R,F){super(I),this.onFinalize=F,this._next=T?function(U){try{T(U)}catch(j){I.error(j)}}:super._next,this._error=R?function(U){try{R(U)}catch(j){I.error(j)}finally{this.unsubscribe()}}:super._error,this._complete=O?function(){try{O()}catch(U){I.error(U)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var I;const{closed:T}=this;super.unsubscribe(),!T&&(null===(I=this.onFinalize)||void 0===I||I.call(this))}}},262:(k,S,h)=>{"use strict";h.d(S,{K:()=>I});var l=h(8421),_=h(5403),C=h(4482);function I(T){return(0,C.e)(((O,R)=>{let j,F=null,U=!1;F=O.subscribe(new _.Q(R,void 0,void 0,(G=>{j=(0,l.Xf)(T(G,I(T)(O))),F?(F.unsubscribe(),F=null,j.subscribe(R)):U=!0}))),U&&(F.unsubscribe(),F=null,j.subscribe(R))}))}},4351:(k,S,h)=>{"use strict";h.d(S,{b:()=>C});var l=h(5577),_=h(576);function C(I,T){return(0,_.m)(T)?(0,l.z)(I,T,1):(0,l.z)(I,1)}},9300:(k,S,h)=>{"use strict";h.d(S,{h:()=>C});var l=h(4482),_=h(5403);function C(I,T){return(0,l.e)(((O,R)=>{let F=0;O.subscribe(new _.Q(R,(U=>I.call(T,U,F++)&&R.next(U))))}))}},8746:(k,S,h)=>{"use strict";h.d(S,{x:()=>_});var l=h(4482);function _(C){return(0,l.e)(((I,T)=>{try{I.subscribe(T)}finally{T.add(C)}}))}},4004:(k,S,h)=>{"use strict";h.d(S,{U:()=>C});var l=h(4482),_=h(5403);function C(I,T){return(0,l.e)(((O,R)=>{let F=0;O.subscribe(new _.Q(R,(U=>{R.next(I.call(T,U,F++))})))}))}},8189:(k,S,h)=>{"use strict";h.d(S,{J:()=>C});var l=h(5577),_=h(4671);function C(I=1/0){return(0,l.z)(_.y,I)}},5577:(k,S,h)=>{"use strict";h.d(S,{z:()=>F});var l=h(4004),_=h(8421),C=h(4482),I=h(9672),T=h(5403),R=h(576);function F(U,j,G=1/0){return(0,R.m)(j)?F(((re,be)=>(0,l.U)(((he,oe)=>j(re,he,be,oe)))((0,_.Xf)(U(re,be)))),G):("number"==typeof j&&(G=j),(0,C.e)(((re,be)=>function O(U,j,G,re,be,he,oe,Ve){const we=[];let ke=0,Le=0,qe=!1;const le=()=>{qe&&!we.length&&!ke&&j.complete()},fe=$e=>ke<re?Ye($e):we.push($e),Ye=$e=>{he&&j.next($e),ke++;let Qe=!1;(0,_.Xf)(G($e,Le++)).subscribe(new T.Q(j,(Ie=>{be?.(Ie),he?fe(Ie):j.next(Ie)}),(()=>{Qe=!0}),void 0,(()=>{if(Qe)try{for(ke--;we.length&&ke<re;){const Ie=we.shift();oe?(0,I.f)(j,oe,(()=>Ye(Ie))):Ye(Ie)}le()}catch(Ie){j.error(Ie)}})))};return U.subscribe(new T.Q(j,fe,(()=>{qe=!0,le()}))),()=>{Ve?.()}}(re,be,U,G))))}},8675:(k,S,h)=>{"use strict";h.d(S,{O:()=>I});var l=h(7272),_=h(7669),C=h(4482);function I(...T){const O=(0,_.yG)(T);return(0,C.e)(((R,F)=>{(O?(0,l.z)(T,R,O):(0,l.z)(T,R)).subscribe(F)}))}},5698:(k,S,h)=>{"use strict";h.d(S,{q:()=>I});var l=h(515),_=h(4482),C=h(5403);function I(T){return T<=0?()=>l.E:(0,_.e)(((O,R)=>{let F=0;O.subscribe(new C.Q(R,(U=>{++F<=T&&(R.next(U),T<=F&&R.complete())})))}))}},8505:(k,S,h)=>{"use strict";h.d(S,{b:()=>T});var l=h(576),_=h(4482),C=h(5403),I=h(4671);function T(O,R,F){const U=(0,l.m)(O)||R||F?{next:O,error:R,complete:F}:O;return U?(0,_.e)(((j,G)=>{var re;null===(re=U.subscribe)||void 0===re||re.call(U);let be=!0;j.subscribe(new C.Q(G,(he=>{var oe;null===(oe=U.next)||void 0===oe||oe.call(U,he),G.next(he)}),(()=>{var he;be=!1,null===(he=U.complete)||void 0===he||he.call(U),G.complete()}),(he=>{var oe;be=!1,null===(oe=U.error)||void 0===oe||oe.call(U,he),G.error(he)}),(()=>{var he,oe;be&&(null===(he=U.unsubscribe)||void 0===he||he.call(U)),null===(oe=U.finalize)||void 0===oe||oe.call(U)})))})):I.y}},3410:(k,S,h)=>{"use strict";h.d(S,{z:()=>l});const l={setTimeout(..._){const{delegate:C}=l;return(C?.setTimeout||setTimeout)(..._)},clearTimeout(_){const{delegate:C}=l;return(C?.clearTimeout||clearTimeout)(_)},delegate:void 0}},2202:(k,S,h)=>{"use strict";h.d(S,{h:()=>_});const _=function l(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(k,S,h)=>{"use strict";h.d(S,{L:()=>l});const l="function"==typeof Symbol&&Symbol.observable||"@@observable"},7669:(k,S,h)=>{"use strict";h.d(S,{_6:()=>O,jO:()=>I,yG:()=>T});var l=h(576);function C(R){return R[R.length-1]}function I(R){return(0,l.m)(C(R))?R.pop():void 0}function T(R){return function _(R){return R&&(0,l.m)(R.schedule)}(C(R))?R.pop():void 0}function O(R,F){return"number"==typeof C(R)?R.pop():F}},4742:(k,S,h)=>{"use strict";h.d(S,{D:()=>T});const{isArray:l}=Array,{getPrototypeOf:_,prototype:C,keys:I}=Object;function T(R){if(1===R.length){const F=R[0];if(l(F))return{args:F,keys:null};if(function O(R){return R&&"object"==typeof R&&_(R)===C}(F)){const U=I(F);return{args:U.map((j=>F[j])),keys:U}}}return{args:R,keys:null}}},8737:(k,S,h)=>{"use strict";function l(_,C){if(_){const I=_.indexOf(C);0<=I&&_.splice(I,1)}}h.d(S,{P:()=>l})},3888:(k,S,h)=>{"use strict";function l(_){const I=_((T=>{Error.call(T),T.stack=(new Error).stack}));return I.prototype=Object.create(Error.prototype),I.prototype.constructor=I,I}h.d(S,{d:()=>l})},1810:(k,S,h)=>{"use strict";function l(_,C){return _.reduce(((I,T,O)=>(I[T]=C[O],I)),{})}h.d(S,{n:()=>l})},2806:(k,S,h)=>{"use strict";h.d(S,{O:()=>I,x:()=>C});var l=h(2416);let _=null;function C(T){if(l.v.useDeprecatedSynchronousErrorHandling){const O=!_;if(O&&(_={errorThrown:!1,error:null}),T(),O){const{errorThrown:R,error:F}=_;if(_=null,R)throw F}}else T()}function I(T){l.v.useDeprecatedSynchronousErrorHandling&&_&&(_.errorThrown=!0,_.error=T)}},9672:(k,S,h)=>{"use strict";function l(_,C,I,T=0,O=!1){const R=C.schedule((function(){I(),O?_.add(this.schedule(null,T)):this.unsubscribe()}),T);if(_.add(R),!O)return R}h.d(S,{f:()=>l})},4671:(k,S,h)=>{"use strict";function l(_){return _}h.d(S,{y:()=>l})},1144:(k,S,h)=>{"use strict";h.d(S,{z:()=>l});const l=_=>_&&"number"==typeof _.length&&"function"!=typeof _},2206:(k,S,h)=>{"use strict";h.d(S,{D:()=>_});var l=h(576);function _(C){return Symbol.asyncIterator&&(0,l.m)(C?.[Symbol.asyncIterator])}},576:(k,S,h)=>{"use strict";function l(_){return"function"==typeof _}h.d(S,{m:()=>l})},3670:(k,S,h)=>{"use strict";h.d(S,{c:()=>C});var l=h(8822),_=h(576);function C(I){return(0,_.m)(I[l.L])}},6495:(k,S,h)=>{"use strict";h.d(S,{T:()=>C});var l=h(2202),_=h(576);function C(I){return(0,_.m)(I?.[l.h])}},8239:(k,S,h)=>{"use strict";h.d(S,{t:()=>_});var l=h(576);function _(C){return(0,l.m)(C?.then)}},3260:(k,S,h)=>{"use strict";h.d(S,{L:()=>I,Q:()=>C});var l=h(5987),_=h(576);function C(T){return(0,l.FC)(this,arguments,(function*(){const R=T.getReader();try{for(;;){const{value:F,done:U}=yield(0,l.qq)(R.read());if(U)return yield(0,l.qq)(void 0);yield yield(0,l.qq)(F)}}finally{R.releaseLock()}}))}function I(T){return(0,_.m)(T?.getReader)}},4482:(k,S,h)=>{"use strict";h.d(S,{A:()=>_,e:()=>C});var l=h(576);function _(I){return(0,l.m)(I?.lift)}function C(I){return T=>{if(_(T))return T.lift((function(O){try{return I(O,this)}catch(R){this.error(R)}}));throw new TypeError("Unable to lift unknown Observable type")}}},3268:(k,S,h)=>{"use strict";h.d(S,{Z:()=>I});var l=h(4004);const{isArray:_}=Array;function I(T){return(0,l.U)((O=>function C(T,O){return _(O)?T(...O):T(O)}(T,O)))}},9635:(k,S,h)=>{"use strict";h.d(S,{U:()=>C,z:()=>_});var l=h(4671);function _(...I){return C(I)}function C(I){return 0===I.length?l.y:1===I.length?I[0]:function(O){return I.reduce(((R,F)=>F(R)),O)}}},7849:(k,S,h)=>{"use strict";h.d(S,{h:()=>C});var l=h(2416),_=h(3410);function C(I){_.z.setTimeout((()=>{const{onUnhandledError:T}=l.v;if(!T)throw I;T(I)}))}},4532:(k,S,h)=>{"use strict";function l(_){return new TypeError(`You provided ${null!==_&&"object"==typeof _?"an invalid object":`'${_}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}h.d(S,{z:()=>l})},8583:()=>{"use strict";!function(ne){const me=ne.performance;function Pe(J){me&&me.mark&&me.mark(J)}function Se(J,H){me&&me.measure&&me.measure(J,H)}Pe("Zone");const ee=ne.__Zone_symbol_prefix||"__zone_symbol__";function $(J){return ee+J}const B=!0===ne[$("forceDuplicateZoneCheck")];if(ne.Zone){if(B||"function"!=typeof ne.Zone.__symbol__)throw new Error("Zone already loaded.");return ne.Zone}let de=(()=>{class J{constructor(x,W){this._parent=x,this._name=W?W.name||"unnamed":"<root>",this._properties=W&&W.properties||{},this._zoneDelegate=new je(this,this._parent&&this._parent._zoneDelegate,W)}static assertZonePatched(){if(ne.Promise!==En.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let x=J.current;for(;x.parent;)x=x.parent;return x}static get current(){return Xt.zone}static get currentTask(){return In}static __load_patch(x,W,Fe=!1){if(En.hasOwnProperty(x)){if(!Fe&&B)throw Error("Already loaded patch: "+x)}else if(!ne["__Zone_disable_"+x]){const Je="Zone:"+x;Pe(Je),En[x]=W(ne,J,Jt),Se(Je,Je)}}get parent(){return this._parent}get name(){return this._name}get(x){const W=this.getZoneWith(x);if(W)return W._properties[x]}getZoneWith(x){let W=this;for(;W;){if(W._properties.hasOwnProperty(x))return W;W=W._parent}return null}fork(x){if(!x)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,x)}wrap(x,W){if("function"!=typeof x)throw new Error("Expecting function got: "+x);const Fe=this._zoneDelegate.intercept(this,x,W),Je=this;return function(){return Je.runGuarded(Fe,this,arguments,W)}}run(x,W,Fe,Je){Xt={parent:Xt,zone:this};try{return this._zoneDelegate.invoke(this,x,W,Fe,Je)}finally{Xt=Xt.parent}}runGuarded(x,W=null,Fe,Je){Xt={parent:Xt,zone:this};try{try{return this._zoneDelegate.invoke(this,x,W,Fe,Je)}catch(Dt){if(this._zoneDelegate.handleError(this,Dt))throw Dt}}finally{Xt=Xt.parent}}runTask(x,W,Fe){if(x.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(x.zone||Zt).name+"; Execution: "+this.name+")");if(x.state===Xe&&(x.type===_n||x.type===At))return;const Je=x.state!=lt;Je&&x._transitionTo(lt,Ft),x.runCount++;const Dt=In;In=x,Xt={parent:Xt,zone:this};try{x.type==At&&x.data&&!x.data.isPeriodic&&(x.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,x,W,Fe)}catch(Re){if(this._zoneDelegate.handleError(this,Re))throw Re}}finally{x.state!==Xe&&x.state!==rt&&(x.type==_n||x.data&&x.data.isPeriodic?Je&&x._transitionTo(Ft,lt):(x.runCount=0,this._updateTaskCount(x,-1),Je&&x._transitionTo(Xe,lt,Xe))),Xt=Xt.parent,In=Dt}}scheduleTask(x){if(x.zone&&x.zone!==this){let Fe=this;for(;Fe;){if(Fe===x.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${x.zone.name}`);Fe=Fe.parent}}x._transitionTo(Yt,Xe);const W=[];x._zoneDelegates=W,x._zone=this;try{x=this._zoneDelegate.scheduleTask(this,x)}catch(Fe){throw x._transitionTo(rt,Yt,Xe),this._zoneDelegate.handleError(this,Fe),Fe}return x._zoneDelegates===W&&this._updateTaskCount(x,1),x.state==Yt&&x._transitionTo(Ft,Yt),x}scheduleMicroTask(x,W,Fe,Je){return this.scheduleTask(new Ge(bt,x,W,Fe,Je,void 0))}scheduleMacroTask(x,W,Fe,Je,Dt){return this.scheduleTask(new Ge(At,x,W,Fe,Je,Dt))}scheduleEventTask(x,W,Fe,Je,Dt){return this.scheduleTask(new Ge(_n,x,W,Fe,Je,Dt))}cancelTask(x){if(x.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(x.zone||Zt).name+"; Execution: "+this.name+")");x._transitionTo(qt,Ft,lt);try{this._zoneDelegate.cancelTask(this,x)}catch(W){throw x._transitionTo(rt,qt),this._zoneDelegate.handleError(this,W),W}return this._updateTaskCount(x,-1),x._transitionTo(Xe,qt),x.runCount=0,x}_updateTaskCount(x,W){const Fe=x._zoneDelegates;-1==W&&(x._zoneDelegates=null);for(let Je=0;Je<Fe.length;Je++)Fe[Je]._updateTaskCount(x.type,W)}}return J.__symbol__=$,J})();const Te={name:"",onHasTask:(J,H,x,W)=>J.hasTask(x,W),onScheduleTask:(J,H,x,W)=>J.scheduleTask(x,W),onInvokeTask:(J,H,x,W,Fe,Je)=>J.invokeTask(x,W,Fe,Je),onCancelTask:(J,H,x,W)=>J.cancelTask(x,W)};class je{constructor(H,x,W){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=H,this._parentDelegate=x,this._forkZS=W&&(W&&W.onFork?W:x._forkZS),this._forkDlgt=W&&(W.onFork?x:x._forkDlgt),this._forkCurrZone=W&&(W.onFork?this.zone:x._forkCurrZone),this._interceptZS=W&&(W.onIntercept?W:x._interceptZS),this._interceptDlgt=W&&(W.onIntercept?x:x._interceptDlgt),this._interceptCurrZone=W&&(W.onIntercept?this.zone:x._interceptCurrZone),this._invokeZS=W&&(W.onInvoke?W:x._invokeZS),this._invokeDlgt=W&&(W.onInvoke?x:x._invokeDlgt),this._invokeCurrZone=W&&(W.onInvoke?this.zone:x._invokeCurrZone),this._handleErrorZS=W&&(W.onHandleError?W:x._handleErrorZS),this._handleErrorDlgt=W&&(W.onHandleError?x:x._handleErrorDlgt),this._handleErrorCurrZone=W&&(W.onHandleError?this.zone:x._handleErrorCurrZone),this._scheduleTaskZS=W&&(W.onScheduleTask?W:x._scheduleTaskZS),this._scheduleTaskDlgt=W&&(W.onScheduleTask?x:x._scheduleTaskDlgt),this._scheduleTaskCurrZone=W&&(W.onScheduleTask?this.zone:x._scheduleTaskCurrZone),this._invokeTaskZS=W&&(W.onInvokeTask?W:x._invokeTaskZS),this._invokeTaskDlgt=W&&(W.onInvokeTask?x:x._invokeTaskDlgt),this._invokeTaskCurrZone=W&&(W.onInvokeTask?this.zone:x._invokeTaskCurrZone),this._cancelTaskZS=W&&(W.onCancelTask?W:x._cancelTaskZS),this._cancelTaskDlgt=W&&(W.onCancelTask?x:x._cancelTaskDlgt),this._cancelTaskCurrZone=W&&(W.onCancelTask?this.zone:x._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const Fe=W&&W.onHasTask;(Fe||x&&x._hasTaskZS)&&(this._hasTaskZS=Fe?W:Te,this._hasTaskDlgt=x,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=H,W.onScheduleTask||(this._scheduleTaskZS=Te,this._scheduleTaskDlgt=x,this._scheduleTaskCurrZone=this.zone),W.onInvokeTask||(this._invokeTaskZS=Te,this._invokeTaskDlgt=x,this._invokeTaskCurrZone=this.zone),W.onCancelTask||(this._cancelTaskZS=Te,this._cancelTaskDlgt=x,this._cancelTaskCurrZone=this.zone))}fork(H,x){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,H,x):new de(H,x)}intercept(H,x,W){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,H,x,W):x}invoke(H,x,W,Fe,Je){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,H,x,W,Fe,Je):x.apply(W,Fe)}handleError(H,x){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,H,x)}scheduleTask(H,x){let W=x;if(this._scheduleTaskZS)this._hasTaskZS&&W._zoneDelegates.push(this._hasTaskDlgtOwner),W=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,H,x),W||(W=x);else if(x.scheduleFn)x.scheduleFn(x);else{if(x.type!=bt)throw new Error("Task is missing scheduleFn.");at(x)}return W}invokeTask(H,x,W,Fe){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,H,x,W,Fe):x.callback.apply(W,Fe)}cancelTask(H,x){let W;if(this._cancelTaskZS)W=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,H,x);else{if(!x.cancelFn)throw Error("Task is not cancelable");W=x.cancelFn(x)}return W}hasTask(H,x){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,H,x)}catch(W){this.handleError(H,W)}}_updateTaskCount(H,x){const W=this._taskCounts,Fe=W[H],Je=W[H]=Fe+x;if(Je<0)throw new Error("More tasks executed then were scheduled.");0!=Fe&&0!=Je||this.hasTask(this.zone,{microTask:W.microTask>0,macroTask:W.macroTask>0,eventTask:W.eventTask>0,change:H})}}class Ge{constructor(H,x,W,Fe,Je,Dt){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=H,this.source=x,this.data=Fe,this.scheduleFn=Je,this.cancelFn=Dt,!W)throw new Error("callback is not defined");this.callback=W;const Re=this;this.invoke=H===_n&&Fe&&Fe.useG?Ge.invokeTask:function(){return Ge.invokeTask.call(ne,Re,this,arguments)}}static invokeTask(H,x,W){H||(H=this),Pn++;try{return H.runCount++,H.zone.runTask(H,x,W)}finally{1==Pn&&nt(),Pn--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(Xe,Yt)}_transitionTo(H,x,W){if(this._state!==x&&this._state!==W)throw new Error(`${this.type} '${this.source}': can not transition to '${H}', expecting state '${x}'${W?" or '"+W+"'":""}, was '${this._state}'.`);this._state=H,H==Xe&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const mt=$("setTimeout"),We=$("Promise"),Be=$("then");let it,_t=[],Bt=!1;function pt(J){if(it||ne[We]&&(it=ne[We].resolve(0)),it){let H=it[Be];H||(H=it.then),H.call(it,J)}else ne[mt](J,0)}function at(J){0===Pn&&0===_t.length&&pt(nt),J&&_t.push(J)}function nt(){if(!Bt){for(Bt=!0;_t.length;){const J=_t;_t=[];for(let H=0;H<J.length;H++){const x=J[H];try{x.zone.runTask(x,null,null)}catch(W){Jt.onUnhandledError(W)}}}Jt.microtaskDrainDone(),Bt=!1}}const Zt={name:"NO ZONE"},Xe="notScheduled",Yt="scheduling",Ft="scheduled",lt="running",qt="canceling",rt="unknown",bt="microTask",At="macroTask",_n="eventTask",En={},Jt={symbol:$,currentZoneFrame:()=>Xt,onUnhandledError:ce,microtaskDrainDone:ce,scheduleMicroTask:at,showUncaughtError:()=>!de[$("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:ce,patchMethod:()=>ce,bindArguments:()=>[],patchThen:()=>ce,patchMacroTask:()=>ce,patchEventPrototype:()=>ce,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>ce,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>ce,wrapWithCurrentZone:()=>ce,filterProperties:()=>[],attachOriginToPatched:()=>ce,_redefineProperty:()=>ce,patchCallbacks:()=>ce,nativeScheduleMicroTask:pt};let Xt={parent:null,zone:new de(null,null)},In=null,Pn=0;function ce(){}Se("Zone","Zone"),ne.Zone=de}(typeof window<"u"&&window||typeof self<"u"&&self||global);const k=Object.getOwnPropertyDescriptor,S=Object.defineProperty,h=Object.getPrototypeOf,l=Object.create,_=Array.prototype.slice,C="addEventListener",I="removeEventListener",T=Zone.__symbol__(C),O=Zone.__symbol__(I),R="true",F="false",U=Zone.__symbol__("");function j(ne,me){return Zone.current.wrap(ne,me)}function G(ne,me,Pe,Se,ee){return Zone.current.scheduleMacroTask(ne,me,Pe,Se,ee)}const re=Zone.__symbol__,be=typeof window<"u",he=be?window:void 0,oe=be&&he||"object"==typeof self&&self||global;function we(ne,me){for(let Pe=ne.length-1;Pe>=0;Pe--)"function"==typeof ne[Pe]&&(ne[Pe]=j(ne[Pe],me+"_"+Pe));return ne}function Le(ne){return!ne||!1!==ne.writable&&!("function"==typeof ne.get&&typeof ne.set>"u")}const qe=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,le=!("nw"in oe)&&typeof oe.process<"u"&&"[object process]"==={}.toString.call(oe.process),fe=!le&&!qe&&!(!be||!he.HTMLElement),Ye=typeof oe.process<"u"&&"[object process]"==={}.toString.call(oe.process)&&!qe&&!(!be||!he.HTMLElement),$e={},Qe=function(ne){if(!(ne=ne||oe.event))return;let me=$e[ne.type];me||(me=$e[ne.type]=re("ON_PROPERTY"+ne.type));const Pe=this||ne.target||oe,Se=Pe[me];let ee;if(fe&&Pe===he&&"error"===ne.type){const $=ne;ee=Se&&Se.call(this,$.message,$.filename,$.lineno,$.colno,$.error),!0===ee&&ne.preventDefault()}else ee=Se&&Se.apply(this,arguments),null!=ee&&!ee&&ne.preventDefault();return ee};function Ie(ne,me,Pe){let Se=k(ne,me);if(!Se&&Pe&&k(Pe,me)&&(Se={enumerable:!0,configurable:!0}),!Se||!Se.configurable)return;const ee=re("on"+me+"patched");if(ne.hasOwnProperty(ee)&&ne[ee])return;delete Se.writable,delete Se.value;const $=Se.get,B=Se.set,de=me.slice(2);let Te=$e[de];Te||(Te=$e[de]=re("ON_PROPERTY"+de)),Se.set=function(je){let Ge=this;!Ge&&ne===oe&&(Ge=oe),Ge&&("function"==typeof Ge[Te]&&Ge.removeEventListener(de,Qe),B&&B.call(Ge,null),Ge[Te]=je,"function"==typeof je&&Ge.addEventListener(de,Qe,!1))},Se.get=function(){let je=this;if(!je&&ne===oe&&(je=oe),!je)return null;const Ge=je[Te];if(Ge)return Ge;if($){let mt=$.call(this);if(mt)return Se.set.call(this,mt),"function"==typeof je.removeAttribute&&je.removeAttribute(me),mt}return null},S(ne,me,Se),ne[ee]=!0}function X(ne,me,Pe){if(me)for(let Se=0;Se<me.length;Se++)Ie(ne,"on"+me[Se],Pe);else{const Se=[];for(const ee in ne)"on"==ee.slice(0,2)&&Se.push(ee);for(let ee=0;ee<Se.length;ee++)Ie(ne,Se[ee],Pe)}}const ue=re("originalInstance");function _e(ne){const me=oe[ne];if(!me)return;oe[re(ne)]=me,oe[ne]=function(){const ee=we(arguments,ne);switch(ee.length){case 0:this[ue]=new me;break;case 1:this[ue]=new me(ee[0]);break;case 2:this[ue]=new me(ee[0],ee[1]);break;case 3:this[ue]=new me(ee[0],ee[1],ee[2]);break;case 4:this[ue]=new me(ee[0],ee[1],ee[2],ee[3]);break;default:throw new Error("Arg list too long.")}},ae(oe[ne],me);const Pe=new me((function(){}));let Se;for(Se in Pe)"XMLHttpRequest"===ne&&"responseBlob"===Se||function(ee){"function"==typeof Pe[ee]?oe[ne].prototype[ee]=function(){return this[ue][ee].apply(this[ue],arguments)}:S(oe[ne].prototype,ee,{set:function($){"function"==typeof $?(this[ue][ee]=j($,ne+"."+ee),ae(this[ue][ee],$)):this[ue][ee]=$},get:function(){return this[ue][ee]}})}(Se);for(Se in me)"prototype"!==Se&&me.hasOwnProperty(Se)&&(oe[ne][Se]=me[Se])}function ve(ne,me,Pe){let Se=ne;for(;Se&&!Se.hasOwnProperty(me);)Se=h(Se);!Se&&ne[me]&&(Se=ne);const ee=re(me);let $=null;if(Se&&(!($=Se[ee])||!Se.hasOwnProperty(ee))&&($=Se[ee]=Se[me],Le(Se&&k(Se,me)))){const de=Pe($,ee,me);Se[me]=function(){return de(this,arguments)},ae(Se[me],$)}return $}function Z(ne,me,Pe){let Se=null;function ee($){const B=$.data;return B.args[B.cbIdx]=function(){$.invoke.apply(this,arguments)},Se.apply(B.target,B.args),$}Se=ve(ne,me,($=>function(B,de){const Te=Pe(B,de);return Te.cbIdx>=0&&"function"==typeof de[Te.cbIdx]?G(Te.name,de[Te.cbIdx],Te,ee):$.apply(B,de)}))}function ae(ne,me){ne[re("OriginalDelegate")]=me}let ge=!1,Y=!1;function Ke(){if(ge)return Y;ge=!0;try{const ne=he.navigator.userAgent;(-1!==ne.indexOf("MSIE ")||-1!==ne.indexOf("Trident/")||-1!==ne.indexOf("Edge/"))&&(Y=!0)}catch{}return Y}Zone.__load_patch("ZoneAwarePromise",((ne,me,Pe)=>{const Se=Object.getOwnPropertyDescriptor,ee=Object.defineProperty,B=Pe.symbol,de=[],Te=!0===ne[B("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],je=B("Promise"),Ge=B("then");Pe.onUnhandledError=Re=>{if(Pe.showUncaughtError()){const De=Re&&Re.rejection;De?console.error("Unhandled Promise rejection:",De instanceof Error?De.message:De,"; Zone:",Re.zone.name,"; Task:",Re.task&&Re.task.source,"; Value:",De,De instanceof Error?De.stack:void 0):console.error(Re)}},Pe.microtaskDrainDone=()=>{for(;de.length;){const Re=de.shift();try{Re.zone.runGuarded((()=>{throw Re.throwOriginal?Re.rejection:Re}))}catch(De){Be(De)}}};const We=B("unhandledPromiseRejectionHandler");function Be(Re){Pe.onUnhandledError(Re);try{const De=me[We];"function"==typeof De&&De.call(this,Re)}catch{}}function _t(Re){return Re&&Re.then}function Bt(Re){return Re}function it(Re){return x.reject(Re)}const pt=B("state"),at=B("value"),nt=B("finally"),Zt=B("parentPromiseValue"),Xe=B("parentPromiseState"),Ft=null,qt=!1;function bt(Re,De){return pe=>{try{Jt(Re,De,pe)}catch(Ue){Jt(Re,!1,Ue)}}}const At=function(){let Re=!1;return function(pe){return function(){Re||(Re=!0,pe.apply(null,arguments))}}},En=B("currentTaskTrace");function Jt(Re,De,pe){const Ue=At();if(Re===pe)throw new TypeError("Promise resolved with itself");if(Re[pt]===Ft){let dt=null;try{("object"==typeof pe||"function"==typeof pe)&&(dt=pe&&pe.then)}catch(Et){return Ue((()=>{Jt(Re,!1,Et)}))(),Re}if(De!==qt&&pe instanceof x&&pe.hasOwnProperty(pt)&&pe.hasOwnProperty(at)&&pe[pt]!==Ft)In(pe),Jt(Re,pe[pt],pe[at]);else if(De!==qt&&"function"==typeof dt)try{dt.call(pe,Ue(bt(Re,De)),Ue(bt(Re,!1)))}catch(Et){Ue((()=>{Jt(Re,!1,Et)}))()}else{Re[pt]=De;const Et=Re[at];if(Re[at]=pe,Re[nt]===nt&&!0===De&&(Re[pt]=Re[Xe],Re[at]=Re[Zt]),De===qt&&pe instanceof Error){const et=me.currentTask&&me.currentTask.data&&me.currentTask.data.__creationTrace__;et&&ee(pe,En,{configurable:!0,enumerable:!1,writable:!0,value:et})}for(let et=0;et<Et.length;)Pn(Re,Et[et++],Et[et++],Et[et++],Et[et++]);if(0==Et.length&&De==qt){Re[pt]=0;let et=pe;try{throw new Error("Uncaught (in promise): "+function $(Re){return Re&&Re.toString===Object.prototype.toString?(Re.constructor&&Re.constructor.name||"")+": "+JSON.stringify(Re):Re?Re.toString():Object.prototype.toString.call(Re)}(pe)+(pe&&pe.stack?"\n"+pe.stack:""))}catch(Ct){et=Ct}Te&&(et.throwOriginal=!0),et.rejection=pe,et.promise=Re,et.zone=me.current,et.task=me.currentTask,de.push(et),Pe.scheduleMicroTask()}}}return Re}const Xt=B("rejectionHandledHandler");function In(Re){if(0===Re[pt]){try{const De=me[Xt];De&&"function"==typeof De&&De.call(this,{rejection:Re[at],promise:Re})}catch{}Re[pt]=qt;for(let De=0;De<de.length;De++)Re===de[De].promise&&de.splice(De,1)}}function Pn(Re,De,pe,Ue,dt){In(Re);const Et=Re[pt],et=Et?"function"==typeof Ue?Ue:Bt:"function"==typeof dt?dt:it;De.scheduleMicroTask("Promise.then",(()=>{try{const Ct=Re[at],gt=!!pe&&nt===pe[nt];gt&&(pe[Zt]=Ct,pe[Xe]=Et);const Pt=De.run(et,void 0,gt&&et!==it&&et!==Bt?[]:[Ct]);Jt(pe,!0,Pt)}catch(Ct){Jt(pe,!1,Ct)}}),pe)}const J=function(){},H=ne.AggregateError;class x{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(De){return Jt(new this(null),!0,De)}static reject(De){return Jt(new this(null),qt,De)}static any(De){if(!De||"function"!=typeof De[Symbol.iterator])return Promise.reject(new H([],"All promises were rejected"));const pe=[];let Ue=0;try{for(let et of De)Ue++,pe.push(x.resolve(et))}catch{return Promise.reject(new H([],"All promises were rejected"))}if(0===Ue)return Promise.reject(new H([],"All promises were rejected"));let dt=!1;const Et=[];return new x(((et,Ct)=>{for(let gt=0;gt<pe.length;gt++)pe[gt].then((Pt=>{dt||(dt=!0,et(Pt))}),(Pt=>{Et.push(Pt),Ue--,0===Ue&&(dt=!0,Ct(new H(Et,"All promises were rejected")))}))}))}static race(De){let pe,Ue,dt=new this(((Ct,gt)=>{pe=Ct,Ue=gt}));function Et(Ct){pe(Ct)}function et(Ct){Ue(Ct)}for(let Ct of De)_t(Ct)||(Ct=this.resolve(Ct)),Ct.then(Et,et);return dt}static all(De){return x.allWithCallback(De)}static allSettled(De){return(this&&this.prototype instanceof x?this:x).allWithCallback(De,{thenCallback:Ue=>({status:"fulfilled",value:Ue}),errorCallback:Ue=>({status:"rejected",reason:Ue})})}static allWithCallback(De,pe){let Ue,dt,Et=new this(((Pt,Qt)=>{Ue=Pt,dt=Qt})),et=2,Ct=0;const gt=[];for(let Pt of De){_t(Pt)||(Pt=this.resolve(Pt));const Qt=Ct;try{Pt.then((ut=>{gt[Qt]=pe?pe.thenCallback(ut):ut,et--,0===et&&Ue(gt)}),(ut=>{pe?(gt[Qt]=pe.errorCallback(ut),et--,0===et&&Ue(gt)):dt(ut)}))}catch(ut){dt(ut)}et++,Ct++}return et-=2,0===et&&Ue(gt),Et}constructor(De){const pe=this;if(!(pe instanceof x))throw new Error("Must be an instanceof Promise.");pe[pt]=Ft,pe[at]=[];try{const Ue=At();De&&De(Ue(bt(pe,!0)),Ue(bt(pe,qt)))}catch(Ue){Jt(pe,!1,Ue)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return x}then(De,pe){var Ue;let dt=null===(Ue=this.constructor)||void 0===Ue?void 0:Ue[Symbol.species];(!dt||"function"!=typeof dt)&&(dt=this.constructor||x);const Et=new dt(J),et=me.current;return this[pt]==Ft?this[at].push(et,Et,De,pe):Pn(this,et,Et,De,pe),Et}catch(De){return this.then(null,De)}finally(De){var pe;let Ue=null===(pe=this.constructor)||void 0===pe?void 0:pe[Symbol.species];(!Ue||"function"!=typeof Ue)&&(Ue=x);const dt=new Ue(J);dt[nt]=nt;const Et=me.current;return this[pt]==Ft?this[at].push(Et,dt,De,De):Pn(this,Et,dt,De,De),dt}}x.resolve=x.resolve,x.reject=x.reject,x.race=x.race,x.all=x.all;const W=ne[je]=ne.Promise;ne.Promise=x;const Fe=B("thenPatched");function Je(Re){const De=Re.prototype,pe=Se(De,"then");if(pe&&(!1===pe.writable||!pe.configurable))return;const Ue=De.then;De[Ge]=Ue,Re.prototype.then=function(dt,Et){return new x(((Ct,gt)=>{Ue.call(this,Ct,gt)})).then(dt,Et)},Re[Fe]=!0}return Pe.patchThen=Je,W&&(Je(W),ve(ne,"fetch",(Re=>function Dt(Re){return function(De,pe){let Ue=Re.apply(De,pe);if(Ue instanceof x)return Ue;let dt=Ue.constructor;return dt[Fe]||Je(dt),Ue}}(Re)))),Promise[me.__symbol__("uncaughtPromiseErrors")]=de,x})),Zone.__load_patch("toString",(ne=>{const me=Function.prototype.toString,Pe=re("OriginalDelegate"),Se=re("Promise"),ee=re("Error"),$=function(){if("function"==typeof this){const je=this[Pe];if(je)return"function"==typeof je?me.call(je):Object.prototype.toString.call(je);if(this===Promise){const Ge=ne[Se];if(Ge)return me.call(Ge)}if(this===Error){const Ge=ne[ee];if(Ge)return me.call(Ge)}}return me.call(this)};$[Pe]=me,Function.prototype.toString=$;const B=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":B.call(this)}}));let wt=!1;if(typeof window<"u")try{const ne=Object.defineProperty({},"passive",{get:function(){wt=!0}});window.addEventListener("test",ne,ne),window.removeEventListener("test",ne,ne)}catch{wt=!1}const Wt={useG:!0},St={},sn={},dn=new RegExp("^"+U+"(\\w+)(true|false)$"),gn=re("propagationStopped");function Kt(ne,me){const Pe=(me?me(ne):ne)+F,Se=(me?me(ne):ne)+R,ee=U+Pe,$=U+Se;St[ne]={},St[ne][F]=ee,St[ne][R]=$}function Tn(ne,me,Pe,Se){const ee=Se&&Se.add||C,$=Se&&Se.rm||I,B=Se&&Se.listeners||"eventListeners",de=Se&&Se.rmAll||"removeAllListeners",Te=re(ee),je="."+ee+":",We=function(at,nt,Zt){if(at.isRemoved)return;const Xe=at.callback;let Yt;"object"==typeof Xe&&Xe.handleEvent&&(at.callback=lt=>Xe.handleEvent(lt),at.originalDelegate=Xe);try{at.invoke(at,nt,[Zt])}catch(lt){Yt=lt}const Ft=at.options;return Ft&&"object"==typeof Ft&&Ft.once&&nt[$].call(nt,Zt.type,at.originalDelegate?at.originalDelegate:at.callback,Ft),Yt};function Be(at,nt,Zt){if(!(nt=nt||ne.event))return;const Xe=at||nt.target||ne,Yt=Xe[St[nt.type][Zt?R:F]];if(Yt){const Ft=[];if(1===Yt.length){const lt=We(Yt[0],Xe,nt);lt&&Ft.push(lt)}else{const lt=Yt.slice();for(let qt=0;qt<lt.length&&(!nt||!0!==nt[gn]);qt++){const rt=We(lt[qt],Xe,nt);rt&&Ft.push(rt)}}if(1===Ft.length)throw Ft[0];for(let lt=0;lt<Ft.length;lt++){const qt=Ft[lt];me.nativeScheduleMicroTask((()=>{throw qt}))}}}const _t=function(at){return Be(this,at,!1)},Bt=function(at){return Be(this,at,!0)};function it(at,nt){if(!at)return!1;let Zt=!0;nt&&void 0!==nt.useG&&(Zt=nt.useG);const Xe=nt&&nt.vh;let Yt=!0;nt&&void 0!==nt.chkDup&&(Yt=nt.chkDup);let Ft=!1;nt&&void 0!==nt.rt&&(Ft=nt.rt);let lt=at;for(;lt&&!lt.hasOwnProperty(ee);)lt=h(lt);if(!lt&&at[ee]&&(lt=at),!lt||lt[Te])return!1;const qt=nt&&nt.eventNameToString,rt={},bt=lt[Te]=lt[ee],At=lt[re($)]=lt[$],_n=lt[re(B)]=lt[B],En=lt[re(de)]=lt[de];let Jt;function Xt(pe,Ue){return!wt&&"object"==typeof pe&&pe?!!pe.capture:wt&&Ue?"boolean"==typeof pe?{capture:pe,passive:!0}:pe?"object"==typeof pe&&!1!==pe.passive?Object.assign(Object.assign({},pe),{passive:!0}):pe:{passive:!0}:pe}nt&&nt.prepend&&(Jt=lt[re(nt.prepend)]=lt[nt.prepend]);const x=Zt?function(pe){if(!rt.isExisting)return bt.call(rt.target,rt.eventName,rt.capture?Bt:_t,rt.options)}:function(pe){return bt.call(rt.target,rt.eventName,pe.invoke,rt.options)},W=Zt?function(pe){if(!pe.isRemoved){const Ue=St[pe.eventName];let dt;Ue&&(dt=Ue[pe.capture?R:F]);const Et=dt&&pe.target[dt];if(Et)for(let et=0;et<Et.length;et++)if(Et[et]===pe){Et.splice(et,1),pe.isRemoved=!0,0===Et.length&&(pe.allRemoved=!0,pe.target[dt]=null);break}}if(pe.allRemoved)return At.call(pe.target,pe.eventName,pe.capture?Bt:_t,pe.options)}:function(pe){return At.call(pe.target,pe.eventName,pe.invoke,pe.options)},Je=nt&&nt.diff?nt.diff:function(pe,Ue){const dt=typeof Ue;return"function"===dt&&pe.callback===Ue||"object"===dt&&pe.originalDelegate===Ue},Dt=Zone[re("UNPATCHED_EVENTS")],Re=ne[re("PASSIVE_EVENTS")],De=function(pe,Ue,dt,Et,et=!1,Ct=!1){return function(){const gt=this||ne;let Pt=arguments[0];nt&&nt.transferEventName&&(Pt=nt.transferEventName(Pt));let Qt=arguments[1];if(!Qt)return pe.apply(this,arguments);if(le&&"uncaughtException"===Pt)return pe.apply(this,arguments);let ut=!1;if("function"!=typeof Qt){if(!Qt.handleEvent)return pe.apply(this,arguments);ut=!0}if(Xe&&!Xe(pe,Qt,gt,arguments))return;const tr=wt&&!!Re&&-1!==Re.indexOf(Pt),Mn=Xt(arguments[2],tr);if(Dt)for(let Rn=0;Rn<Dt.length;Rn++)if(Pt===Dt[Rn])return tr?pe.call(gt,Pt,Qt,Mn):pe.apply(this,arguments);const fr=!!Mn&&("boolean"==typeof Mn||Mn.capture),ar=!(!Mn||"object"!=typeof Mn)&&Mn.once,Dn=Zone.current;let nr=St[Pt];nr||(Kt(Pt,qt),nr=St[Pt]);const lr=nr[fr?R:F];let br,wn=gt[lr],Cr=!1;if(wn){if(Cr=!0,Yt)for(let Rn=0;Rn<wn.length;Rn++)if(Je(wn[Rn],Qt))return}else wn=gt[lr]=[];const nn=gt.constructor.name,rr=sn[nn];rr&&(br=rr[Pt]),br||(br=nn+Ue+(qt?qt(Pt):Pt)),rt.options=Mn,ar&&(rt.options.once=!1),rt.target=gt,rt.capture=fr,rt.eventName=Pt,rt.isExisting=Cr;const hr=Zt?Wt:void 0;hr&&(hr.taskData=rt);const An=Dn.scheduleEventTask(br,Qt,hr,dt,Et);return rt.target=null,hr&&(hr.taskData=null),ar&&(Mn.once=!0),!wt&&"boolean"==typeof An.options||(An.options=Mn),An.target=gt,An.capture=fr,An.eventName=Pt,ut&&(An.originalDelegate=Qt),Ct?wn.unshift(An):wn.push(An),et?gt:void 0}};return lt[ee]=De(bt,je,x,W,Ft),Jt&&(lt.prependListener=De(Jt,".prependListener:",(function(pe){return Jt.call(rt.target,rt.eventName,pe.invoke,rt.options)}),W,Ft,!0)),lt[$]=function(){const pe=this||ne;let Ue=arguments[0];nt&&nt.transferEventName&&(Ue=nt.transferEventName(Ue));const dt=arguments[2],Et=!!dt&&("boolean"==typeof dt||dt.capture),et=arguments[1];if(!et)return At.apply(this,arguments);if(Xe&&!Xe(At,et,pe,arguments))return;const Ct=St[Ue];let gt;Ct&&(gt=Ct[Et?R:F]);const Pt=gt&&pe[gt];if(Pt)for(let Qt=0;Qt<Pt.length;Qt++){const ut=Pt[Qt];if(Je(ut,et))return Pt.splice(Qt,1),ut.isRemoved=!0,0===Pt.length&&(ut.allRemoved=!0,pe[gt]=null,"string"==typeof Ue)&&(pe[U+"ON_PROPERTY"+Ue]=null),ut.zone.cancelTask(ut),Ft?pe:void 0}return At.apply(this,arguments)},lt[B]=function(){const pe=this||ne;let Ue=arguments[0];nt&&nt.transferEventName&&(Ue=nt.transferEventName(Ue));const dt=[],Et=vt(pe,qt?qt(Ue):Ue);for(let et=0;et<Et.length;et++){const Ct=Et[et];dt.push(Ct.originalDelegate?Ct.originalDelegate:Ct.callback)}return dt},lt[de]=function(){const pe=this||ne;let Ue=arguments[0];if(Ue){nt&&nt.transferEventName&&(Ue=nt.transferEventName(Ue));const dt=St[Ue];if(dt){const Ct=pe[dt[F]],gt=pe[dt[R]];if(Ct){const Pt=Ct.slice();for(let Qt=0;Qt<Pt.length;Qt++){const ut=Pt[Qt];this[$].call(this,Ue,ut.originalDelegate?ut.originalDelegate:ut.callback,ut.options)}}if(gt){const Pt=gt.slice();for(let Qt=0;Qt<Pt.length;Qt++){const ut=Pt[Qt];this[$].call(this,Ue,ut.originalDelegate?ut.originalDelegate:ut.callback,ut.options)}}}}else{const dt=Object.keys(pe);for(let Et=0;Et<dt.length;Et++){const Ct=dn.exec(dt[Et]);let gt=Ct&&Ct[1];gt&&"removeListener"!==gt&&this[de].call(this,gt)}this[de].call(this,"removeListener")}if(Ft)return this},ae(lt[ee],bt),ae(lt[$],At),En&&ae(lt[de],En),_n&&ae(lt[B],_n),!0}let pt=[];for(let at=0;at<Pe.length;at++)pt[at]=it(Pe[at],Se);return pt}function vt(ne,me){if(!me){const $=[];for(let B in ne){const de=dn.exec(B);let Te=de&&de[1];if(Te&&(!me||Te===me)){const je=ne[B];if(je)for(let Ge=0;Ge<je.length;Ge++)$.push(je[Ge])}}return $}let Pe=St[me];Pe||(Kt(me),Pe=St[me]);const Se=ne[Pe[F]],ee=ne[Pe[R]];return Se?ee?Se.concat(ee):Se.slice():ee?ee.slice():[]}function Lt(ne,me){const Pe=ne.Event;Pe&&Pe.prototype&&me.patchMethod(Pe.prototype,"stopImmediatePropagation",(Se=>function(ee,$){ee[gn]=!0,Se&&Se.apply(ee,$)}))}function Wr(ne,me,Pe,Se,ee){const $=Zone.__symbol__(Se);if(me[$])return;const B=me[$]=me[Se];me[Se]=function(de,Te,je){return Te&&Te.prototype&&ee.forEach((function(Ge){const mt=`${Pe}.${Se}::`+Ge,We=Te.prototype;try{if(We.hasOwnProperty(Ge)){const Be=ne.ObjectGetOwnPropertyDescriptor(We,Ge);Be&&Be.value?(Be.value=ne.wrapWithCurrentZone(Be.value,mt),ne._redefineProperty(Te.prototype,Ge,Be)):We[Ge]&&(We[Ge]=ne.wrapWithCurrentZone(We[Ge],mt))}else We[Ge]&&(We[Ge]=ne.wrapWithCurrentZone(We[Ge],mt))}catch{}})),B.call(me,de,Te,je)},ne.attachOriginToPatched(me[Se],B)}function Gn(ne,me,Pe){if(!Pe||0===Pe.length)return me;const Se=Pe.filter(($=>$.target===ne));if(!Se||0===Se.length)return me;const ee=Se[0].ignoreProperties;return me.filter(($=>-1===ee.indexOf($)))}function Sn(ne,me,Pe,Se){ne&&X(ne,Gn(ne,me,Pe),Se)}function on(ne){return Object.getOwnPropertyNames(ne).filter((me=>me.startsWith("on")&&me.length>2)).map((me=>me.substring(2)))}Zone.__load_patch("util",((ne,me,Pe)=>{const Se=on(ne);Pe.patchOnProperties=X,Pe.patchMethod=ve,Pe.bindArguments=we,Pe.patchMacroTask=Z;const ee=me.__symbol__("BLACK_LISTED_EVENTS"),$=me.__symbol__("UNPATCHED_EVENTS");ne[$]&&(ne[ee]=ne[$]),ne[ee]&&(me[ee]=me[$]=ne[ee]),Pe.patchEventPrototype=Lt,Pe.patchEventTarget=Tn,Pe.isIEOrEdge=Ke,Pe.ObjectDefineProperty=S,Pe.ObjectGetOwnPropertyDescriptor=k,Pe.ObjectCreate=l,Pe.ArraySlice=_,Pe.patchClass=_e,Pe.wrapWithCurrentZone=j,Pe.filterProperties=Gn,Pe.attachOriginToPatched=ae,Pe._redefineProperty=Object.defineProperty,Pe.patchCallbacks=Wr,Pe.getGlobalObjects=()=>({globalSources:sn,zoneSymbolEventNames:St,eventNames:Se,isBrowser:fe,isMix:Ye,isNode:le,TRUE_STR:R,FALSE_STR:F,ZONE_SYMBOL_PREFIX:U,ADD_EVENT_LISTENER_STR:C,REMOVE_EVENT_LISTENER_STR:I})}));const Wn=re("zoneTask");function On(ne,me,Pe,Se){let ee=null,$=null;Pe+=Se;const B={};function de(je){const Ge=je.data;return Ge.args[0]=function(){return je.invoke.apply(this,arguments)},Ge.handleId=ee.apply(ne,Ge.args),je}function Te(je){return $.call(ne,je.data.handleId)}ee=ve(ne,me+=Se,(je=>function(Ge,mt){if("function"==typeof mt[0]){const We={isPeriodic:"Interval"===Se,delay:"Timeout"===Se||"Interval"===Se?mt[1]||0:void 0,args:mt},Be=mt[0];mt[0]=function(){try{return Be.apply(this,arguments)}finally{We.isPeriodic||("number"==typeof We.handleId?delete B[We.handleId]:We.handleId&&(We.handleId[Wn]=null))}};const _t=G(me,mt[0],We,de,Te);if(!_t)return _t;const Bt=_t.data.handleId;return"number"==typeof Bt?B[Bt]=_t:Bt&&(Bt[Wn]=_t),Bt&&Bt.ref&&Bt.unref&&"function"==typeof Bt.ref&&"function"==typeof Bt.unref&&(_t.ref=Bt.ref.bind(Bt),_t.unref=Bt.unref.bind(Bt)),"number"==typeof Bt||Bt?Bt:_t}return je.apply(ne,mt)})),$=ve(ne,Pe,(je=>function(Ge,mt){const We=mt[0];let Be;"number"==typeof We?Be=B[We]:(Be=We&&We[Wn],Be||(Be=We)),Be&&"string"==typeof Be.type?"notScheduled"!==Be.state&&(Be.cancelFn&&Be.data.isPeriodic||0===Be.runCount)&&("number"==typeof We?delete B[We]:We&&(We[Wn]=null),Be.zone.cancelTask(Be)):je.apply(ne,mt)}))}Zone.__load_patch("legacy",(ne=>{const me=ne[Zone.__symbol__("legacyPatch")];me&&me()})),Zone.__load_patch("queueMicrotask",((ne,me,Pe)=>{Pe.patchMethod(ne,"queueMicrotask",(Se=>function(ee,$){me.current.scheduleMicroTask("queueMicrotask",$[0])}))})),Zone.__load_patch("timers",(ne=>{const Pe="clear";On(ne,"set",Pe,"Timeout"),On(ne,"set",Pe,"Interval"),On(ne,"set",Pe,"Immediate")})),Zone.__load_patch("requestAnimationFrame",(ne=>{On(ne,"request","cancel","AnimationFrame"),On(ne,"mozRequest","mozCancel","AnimationFrame"),On(ne,"webkitRequest","webkitCancel","AnimationFrame")})),Zone.__load_patch("blocking",((ne,me)=>{const Pe=["alert","prompt","confirm"];for(let Se=0;Se<Pe.length;Se++)ve(ne,Pe[Se],(($,B,de)=>function(Te,je){return me.current.run($,ne,je,de)}))})),Zone.__load_patch("EventTarget",((ne,me,Pe)=>{(function vn(ne,me){me.patchEventPrototype(ne,me)})(ne,Pe),function xr(ne,me){if(Zone[me.symbol("patchEventTarget")])return;const{eventNames:Pe,zoneSymbolEventNames:Se,TRUE_STR:ee,FALSE_STR:$,ZONE_SYMBOL_PREFIX:B}=me.getGlobalObjects();for(let Te=0;Te<Pe.length;Te++){const je=Pe[Te],We=B+(je+$),Be=B+(je+ee);Se[je]={},Se[je][$]=We,Se[je][ee]=Be}const de=ne.EventTarget;de&&de.prototype&&me.patchEventTarget(ne,me,[de&&de.prototype])}(ne,Pe);const Se=ne.XMLHttpRequestEventTarget;Se&&Se.prototype&&Pe.patchEventTarget(ne,Pe,[Se.prototype])})),Zone.__load_patch("MutationObserver",((ne,me,Pe)=>{_e("MutationObserver"),_e("WebKitMutationObserver")})),Zone.__load_patch("IntersectionObserver",((ne,me,Pe)=>{_e("IntersectionObserver")})),Zone.__load_patch("FileReader",((ne,me,Pe)=>{_e("FileReader")})),Zone.__load_patch("on_property",((ne,me,Pe)=>{!function xn(ne,me){if(le&&!Ye||Zone[ne.symbol("patchEvents")])return;const Pe=me.__Zone_ignore_on_properties;let Se=[];if(fe){const ee=window;Se=Se.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const $=function xe(){try{const ne=he.navigator.userAgent;if(-1!==ne.indexOf("MSIE ")||-1!==ne.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:ee,ignoreProperties:["error"]}]:[];Sn(ee,on(ee),Pe&&Pe.concat($),h(ee))}Se=Se.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let ee=0;ee<Se.length;ee++){const $=me[Se[ee]];$&&$.prototype&&Sn($.prototype,on($.prototype),Pe)}}(Pe,ne)})),Zone.__load_patch("customElements",((ne,me,Pe)=>{!function yn(ne,me){const{isBrowser:Pe,isMix:Se}=me.getGlobalObjects();(Pe||Se)&&ne.customElements&&"customElements"in ne&&me.patchCallbacks(me,ne.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(ne,Pe)})),Zone.__load_patch("XHR",((ne,me)=>{!function Te(je){const Ge=je.XMLHttpRequest;if(!Ge)return;const mt=Ge.prototype;let Be=mt[T],_t=mt[O];if(!Be){const rt=je.XMLHttpRequestEventTarget;if(rt){const bt=rt.prototype;Be=bt[T],_t=bt[O]}}const Bt="readystatechange",it="scheduled";function pt(rt){const bt=rt.data,At=bt.target;At[$]=!1,At[de]=!1;const _n=At[ee];Be||(Be=At[T],_t=At[O]),_n&&_t.call(At,Bt,_n);const En=At[ee]=()=>{if(At.readyState===At.DONE)if(!bt.aborted&&At[$]&&rt.state===it){const Xt=At[me.__symbol__("loadfalse")];if(0!==At.status&&Xt&&Xt.length>0){const In=rt.invoke;rt.invoke=function(){const Pn=At[me.__symbol__("loadfalse")];for(let ce=0;ce<Pn.length;ce++)Pn[ce]===rt&&Pn.splice(ce,1);!bt.aborted&&rt.state===it&&In.call(rt)},Xt.push(rt)}else rt.invoke()}else!bt.aborted&&!1===At[$]&&(At[de]=!0)};return Be.call(At,Bt,En),At[Pe]||(At[Pe]=rt),lt.apply(At,bt.args),At[$]=!0,rt}function at(){}function nt(rt){const bt=rt.data;return bt.aborted=!0,qt.apply(bt.target,bt.args)}const Zt=ve(mt,"open",(()=>function(rt,bt){return rt[Se]=0==bt[2],rt[B]=bt[1],Zt.apply(rt,bt)})),Yt=re("fetchTaskAborting"),Ft=re("fetchTaskScheduling"),lt=ve(mt,"send",(()=>function(rt,bt){if(!0===me.current[Ft]||rt[Se])return lt.apply(rt,bt);{const At={target:rt,url:rt[B],isPeriodic:!1,args:bt,aborted:!1},_n=G("XMLHttpRequest.send",at,At,pt,nt);rt&&!0===rt[de]&&!At.aborted&&_n.state===it&&_n.invoke()}})),qt=ve(mt,"abort",(()=>function(rt,bt){const At=function We(rt){return rt[Pe]}(rt);if(At&&"string"==typeof At.type){if(null==At.cancelFn||At.data&&At.data.aborted)return;At.zone.cancelTask(At)}else if(!0===me.current[Yt])return qt.apply(rt,bt)}))}(ne);const Pe=re("xhrTask"),Se=re("xhrSync"),ee=re("xhrListener"),$=re("xhrScheduled"),B=re("xhrURL"),de=re("xhrErrorBeforeScheduled")})),Zone.__load_patch("geolocation",(ne=>{ne.navigator&&ne.navigator.geolocation&&function ke(ne,me){const Pe=ne.constructor.name;for(let Se=0;Se<me.length;Se++){const ee=me[Se],$=ne[ee];if($){if(!Le(k(ne,ee)))continue;ne[ee]=(de=>{const Te=function(){return de.apply(this,we(arguments,Pe+"."+ee))};return ae(Te,de),Te})($)}}}(ne.navigator.geolocation,["getCurrentPosition","watchPosition"])})),Zone.__load_patch("PromiseRejectionEvent",((ne,me)=>{function Pe(Se){return function(ee){vt(ne,Se).forEach((B=>{const de=ne.PromiseRejectionEvent;if(de){const Te=new de(Se,{promise:ee.promise,reason:ee.rejection});B.invoke(Te)}}))}}ne.PromiseRejectionEvent&&(me[re("unhandledPromiseRejectionHandler")]=Pe("unhandledrejection"),me[re("rejectionHandledHandler")]=Pe("rejectionhandled"))}))},5987:(k,S,h)=>{"use strict";function F(X,ue,_e,ve){return new(_e||(_e=Promise))((function(ae,ge){function Y(wt){try{Ke(ve.next(wt))}catch(Wt){ge(Wt)}}function xe(wt){try{Ke(ve.throw(wt))}catch(Wt){ge(Wt)}}function Ke(wt){wt.done?ae(wt.value):function Z(ae){return ae instanceof _e?ae:new _e((function(ge){ge(ae)}))}(wt.value).then(Y,xe)}Ke((ve=ve.apply(X,ue||[])).next())}))}function we(X){return this instanceof we?(this.v=X,this):new we(X)}function ke(X,ue,_e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Z,ve=_e.apply(X,ue||[]),ae=[];return Z={},ge("next"),ge("throw"),ge("return"),Z[Symbol.asyncIterator]=function(){return this},Z;function ge(St){ve[St]&&(Z[St]=function(sn){return new Promise((function(dn,gn){ae.push([St,sn,dn,gn])>1||Y(St,sn)}))})}function Y(St,sn){try{!function xe(St){St.value instanceof we?Promise.resolve(St.value.v).then(Ke,wt):Wt(ae[0][2],St)}(ve[St](sn))}catch(dn){Wt(ae[0][3],dn)}}function Ke(St){Y("next",St)}function wt(St){Y("throw",St)}function Wt(St,sn){St(sn),ae.shift(),ae.length&&Y(ae[0][0],ae[0][1])}}function qe(X){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var _e,ue=X[Symbol.asyncIterator];return ue?ue.call(X):(X=function re(X){var ue="function"==typeof Symbol&&Symbol.iterator,_e=ue&&X[ue],ve=0;if(_e)return _e.call(X);if(X&&"number"==typeof X.length)return{next:function(){return X&&ve>=X.length&&(X=void 0),{value:X&&X[ve++],done:!X}}};throw new TypeError(ue?"Object is not iterable.":"Symbol.iterator is not defined.")}(X),_e={},ve("next"),ve("throw"),ve("return"),_e[Symbol.asyncIterator]=function(){return this},_e);function ve(ae){_e[ae]=X[ae]&&function(ge){return new Promise((function(Y,xe){!function Z(ae,ge,Y,xe){Promise.resolve(xe).then((function(Ke){ae({value:Ke,done:Y})}),ge)}(Y,xe,(ge=X[ae](ge)).done,ge.value)}))}}}h.d(S,{FC:()=>ke,KL:()=>qe,mG:()=>F,qq:()=>we})},7340:(k,S,h)=>{"use strict";h.d(S,{IO:()=>oe,LC:()=>_,X$:()=>I,ZE:()=>Le,ZN:()=>ke,_j:()=>l,eR:()=>G,jt:()=>T,k1:()=>qe,l3:()=>C,oB:()=>F,pV:()=>be,ru:()=>O,vP:()=>R});class l{}class _{}const C="*";function I(le,fe){return{type:7,name:le,definitions:fe,options:{}}}function T(le,fe=null){return{type:4,styles:fe,timings:le}}function O(le,fe=null){return{type:3,steps:le,options:fe}}function R(le,fe=null){return{type:2,steps:le,options:fe}}function F(le){return{type:6,styles:le,offset:null}}function G(le,fe,Ye=null){return{type:1,expr:le,animation:fe,options:Ye}}function be(le=null){return{type:9,options:le}}function oe(le,fe,Ye=null){return{type:11,selector:le,animation:fe,options:Ye}}function we(le){Promise.resolve().then(le)}class ke{constructor(fe=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=fe+Ye}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach((fe=>fe())),this._onDoneFns=[])}onStart(fe){this._originalOnStartFns.push(fe),this._onStartFns.push(fe)}onDone(fe){this._originalOnDoneFns.push(fe),this._onDoneFns.push(fe)}onDestroy(fe){this._onDestroyFns.push(fe)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){we((()=>this._onFinish()))}_onStart(){this._onStartFns.forEach((fe=>fe())),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach((fe=>fe())),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(fe){this._position=this.totalTime?fe*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(fe){const Ye="start"==fe?this._onStartFns:this._onDoneFns;Ye.forEach(($e=>$e())),Ye.length=0}}class Le{constructor(fe){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=fe;let Ye=0,$e=0,Qe=0;const Ie=this.players.length;0==Ie?we((()=>this._onFinish())):this.players.forEach((X=>{X.onDone((()=>{++Ye==Ie&&this._onFinish()})),X.onDestroy((()=>{++$e==Ie&&this._onDestroy()})),X.onStart((()=>{++Qe==Ie&&this._onStart()}))})),this.totalTime=this.players.reduce(((X,ue)=>Math.max(X,ue.totalTime)),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach((fe=>fe())),this._onDoneFns=[])}init(){this.players.forEach((fe=>fe.init()))}onStart(fe){this._onStartFns.push(fe)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach((fe=>fe())),this._onStartFns=[])}onDone(fe){this._onDoneFns.push(fe)}onDestroy(fe){this._onDestroyFns.push(fe)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach((fe=>fe.play()))}pause(){this.players.forEach((fe=>fe.pause()))}restart(){this.players.forEach((fe=>fe.restart()))}finish(){this._onFinish(),this.players.forEach((fe=>fe.finish()))}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach((fe=>fe.destroy())),this._onDestroyFns.forEach((fe=>fe())),this._onDestroyFns=[])}reset(){this.players.forEach((fe=>fe.reset())),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(fe){const Ye=fe*this.totalTime;this.players.forEach(($e=>{const Qe=$e.totalTime?Math.min(1,Ye/$e.totalTime):1;$e.setPosition(Qe)}))}getPosition(){const fe=this.players.reduce(((Ye,$e)=>null===Ye||$e.totalTime>Ye.totalTime?$e:Ye),null);return null!=fe?fe.getPosition():0}beforeDestroy(){this.players.forEach((fe=>{fe.beforeDestroy&&fe.beforeDestroy()}))}triggerCallback(fe){const Ye="start"==fe?this._onStartFns:this._onDoneFns;Ye.forEach(($e=>$e())),Ye.length=0}}const qe="!"},6895:(k,S,h)=>{"use strict";h.d(S,{Do:()=>qe,EM:()=>$n,HT:()=>T,JF:()=>Qs,K0:()=>R,Mx:()=>tr,O5:()=>br,Ov:()=>rs,S$:()=>we,V_:()=>j,Ye:()=>le,b0:()=>Le,bD:()=>Tr,ez:()=>Ki,mk:()=>Mn,mr:()=>ke,q:()=>C,sg:()=>lr,w_:()=>O});var l=h(8256);let _=null;function C(){return _}function T(g){_||(_=g)}class O{}const R=new l.OlP("DocumentToken");let F=(()=>{class g{historyGo(m){throw new Error("Not implemented")}}return g.ɵfac=function(m){return new(m||g)},g.ɵprov=l.Yz7({token:g,factory:function(){return function U(){return(0,l.LFG)(G)}()},providedIn:"platform"}),g})();const j=new l.OlP("Location Initialized");let G=(()=>{class g extends F{constructor(m){super(),this._doc=m,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return C().getBaseHref(this._doc)}onPopState(m){const M=C().getGlobalEventTarget(this._doc,"window");return M.addEventListener("popstate",m,!1),()=>M.removeEventListener("popstate",m)}onHashChange(m){const M=C().getGlobalEventTarget(this._doc,"window");return M.addEventListener("hashchange",m,!1),()=>M.removeEventListener("hashchange",m)}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(m){this.location.pathname=m}pushState(m,M,Q){re()?this._history.pushState(m,M,Q):this.location.hash=Q}replaceState(m,M,Q){re()?this._history.replaceState(m,M,Q):this.location.hash=Q}forward(){this._history.forward()}back(){this._history.back()}historyGo(m=0){this._history.go(m)}getState(){return this._history.state}}return g.ɵfac=function(m){return new(m||g)(l.LFG(R))},g.ɵprov=l.Yz7({token:g,factory:function(){return function be(){return new G((0,l.LFG)(R))}()},providedIn:"platform"}),g})();function re(){return!!window.history.pushState}function he(g,w){if(0==g.length)return w;if(0==w.length)return g;let m=0;return g.endsWith("/")&&m++,w.startsWith("/")&&m++,2==m?g+w.substring(1):1==m?g+w:g+"/"+w}function oe(g){const w=g.match(/#|\?|$/),m=w&&w.index||g.length;return g.slice(0,m-("/"===g[m-1]?1:0))+g.slice(m)}function Ve(g){return g&&"?"!==g[0]?"?"+g:g}let we=(()=>{class g{historyGo(m){throw new Error("Not implemented")}}return g.ɵfac=function(m){return new(m||g)},g.ɵprov=l.Yz7({token:g,factory:function(){return(0,l.f3M)(Le)},providedIn:"root"}),g})();const ke=new l.OlP("appBaseHref");let Le=(()=>{class g extends we{constructor(m,M){super(),this._platformLocation=m,this._removeListenerFns=[],this._baseHref=M??this._platformLocation.getBaseHrefFromDOM()??(0,l.f3M)(R).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(m){this._removeListenerFns.push(this._platformLocation.onPopState(m),this._platformLocation.onHashChange(m))}getBaseHref(){return this._baseHref}prepareExternalUrl(m){return he(this._baseHref,m)}path(m=!1){const M=this._platformLocation.pathname+Ve(this._platformLocation.search),Q=this._platformLocation.hash;return Q&&m?`${M}${Q}`:M}pushState(m,M,Q,Ce){const Ae=this.prepareExternalUrl(Q+Ve(Ce));this._platformLocation.pushState(m,M,Ae)}replaceState(m,M,Q,Ce){const Ae=this.prepareExternalUrl(Q+Ve(Ce));this._platformLocation.replaceState(m,M,Ae)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(m=0){this._platformLocation.historyGo?.(m)}}return g.ɵfac=function(m){return new(m||g)(l.LFG(F),l.LFG(ke,8))},g.ɵprov=l.Yz7({token:g,factory:g.ɵfac,providedIn:"root"}),g})(),qe=(()=>{class g extends we{constructor(m,M){super(),this._platformLocation=m,this._baseHref="",this._removeListenerFns=[],null!=M&&(this._baseHref=M)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(m){this._removeListenerFns.push(this._platformLocation.onPopState(m),this._platformLocation.onHashChange(m))}getBaseHref(){return this._baseHref}path(m=!1){let M=this._platformLocation.hash;return null==M&&(M="#"),M.length>0?M.substring(1):M}prepareExternalUrl(m){const M=he(this._baseHref,m);return M.length>0?"#"+M:M}pushState(m,M,Q,Ce){let Ae=this.prepareExternalUrl(Q+Ve(Ce));0==Ae.length&&(Ae=this._platformLocation.pathname),this._platformLocation.pushState(m,M,Ae)}replaceState(m,M,Q,Ce){let Ae=this.prepareExternalUrl(Q+Ve(Ce));0==Ae.length&&(Ae=this._platformLocation.pathname),this._platformLocation.replaceState(m,M,Ae)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(m=0){this._platformLocation.historyGo?.(m)}}return g.ɵfac=function(m){return new(m||g)(l.LFG(F),l.LFG(ke,8))},g.ɵprov=l.Yz7({token:g,factory:g.ɵfac}),g})(),le=(()=>{class g{constructor(m){this._subject=new l.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=m;const M=this._locationStrategy.getBaseHref();this._baseHref=oe($e(M)),this._locationStrategy.onPopState((Q=>{this._subject.emit({url:this.path(!0),pop:!0,state:Q.state,type:Q.type})}))}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(m=!1){return this.normalize(this._locationStrategy.path(m))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(m,M=""){return this.path()==this.normalize(m+Ve(M))}normalize(m){return g.stripTrailingSlash(function Ye(g,w){return g&&w.startsWith(g)?w.substring(g.length):w}(this._baseHref,$e(m)))}prepareExternalUrl(m){return m&&"/"!==m[0]&&(m="/"+m),this._locationStrategy.prepareExternalUrl(m)}go(m,M="",Q=null){this._locationStrategy.pushState(Q,"",m,M),this._notifyUrlChangeListeners(this.prepareExternalUrl(m+Ve(M)),Q)}replaceState(m,M="",Q=null){this._locationStrategy.replaceState(Q,"",m,M),this._notifyUrlChangeListeners(this.prepareExternalUrl(m+Ve(M)),Q)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(m=0){this._locationStrategy.historyGo?.(m)}onUrlChange(m){return this._urlChangeListeners.push(m),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe((M=>{this._notifyUrlChangeListeners(M.url,M.state)}))),()=>{const M=this._urlChangeListeners.indexOf(m);this._urlChangeListeners.splice(M,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(m="",M){this._urlChangeListeners.forEach((Q=>Q(m,M)))}subscribe(m,M,Q){return this._subject.subscribe({next:m,error:M,complete:Q})}}return g.normalizeQueryParams=Ve,g.joinWithSlash=he,g.stripTrailingSlash=oe,g.ɵfac=function(m){return new(m||g)(l.LFG(we))},g.ɵprov=l.Yz7({token:g,factory:function(){return function fe(){return new le((0,l.LFG)(we))}()},providedIn:"root"}),g})();function $e(g){return g.replace(/\/index.html$/,"")}function tr(g,w){w=encodeURIComponent(w);for(const m of g.split(";")){const M=m.indexOf("="),[Q,Ce]=-1==M?[m,""]:[m.slice(0,M),m.slice(M+1)];if(Q.trim()===w)return decodeURIComponent(Ce)}return null}let Mn=(()=>{class g{constructor(m,M,Q,Ce){this._iterableDiffers=m,this._keyValueDiffers=M,this._ngEl=Q,this._renderer=Ce,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(m){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof m?m.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(m){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof m?m.split(/\s+/):m,this._rawClass&&((0,l.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const m=this._iterableDiffer.diff(this._rawClass);m&&this._applyIterableChanges(m)}else if(this._keyValueDiffer){const m=this._keyValueDiffer.diff(this._rawClass);m&&this._applyKeyValueChanges(m)}}_applyKeyValueChanges(m){m.forEachAddedItem((M=>this._toggleClass(M.key,M.currentValue))),m.forEachChangedItem((M=>this._toggleClass(M.key,M.currentValue))),m.forEachRemovedItem((M=>{M.previousValue&&this._toggleClass(M.key,!1)}))}_applyIterableChanges(m){m.forEachAddedItem((M=>{if("string"!=typeof M.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,l.AaK)(M.item)}`);this._toggleClass(M.item,!0)})),m.forEachRemovedItem((M=>this._toggleClass(M.item,!1)))}_applyClasses(m){m&&(Array.isArray(m)||m instanceof Set?m.forEach((M=>this._toggleClass(M,!0))):Object.keys(m).forEach((M=>this._toggleClass(M,!!m[M]))))}_removeClasses(m){m&&(Array.isArray(m)||m instanceof Set?m.forEach((M=>this._toggleClass(M,!1))):Object.keys(m).forEach((M=>this._toggleClass(M,!1))))}_toggleClass(m,M){(m=m.trim())&&m.split(/\s+/g).forEach((Q=>{M?this._renderer.addClass(this._ngEl.nativeElement,Q):this._renderer.removeClass(this._ngEl.nativeElement,Q)}))}}return g.ɵfac=function(m){return new(m||g)(l.Y36(l.ZZ4),l.Y36(l.aQg),l.Y36(l.SBq),l.Y36(l.Qsj))},g.ɵdir=l.lG2({type:g,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),g})();class nr{constructor(w,m,M,Q){this.$implicit=w,this.ngForOf=m,this.index=M,this.count=Q}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 lr=(()=>{class g{constructor(m,M,Q){this._viewContainer=m,this._template=M,this._differs=Q,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(m){this._ngForOf=m,this._ngForOfDirty=!0}set ngForTrackBy(m){this._trackByFn=m}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(m){m&&(this._template=m)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const m=this._ngForOf;!this._differ&&m&&(this._differ=this._differs.find(m).create(this.ngForTrackBy))}if(this._differ){const m=this._differ.diff(this._ngForOf);m&&this._applyChanges(m)}}_applyChanges(m){const M=this._viewContainer;m.forEachOperation(((Q,Ce,Ae)=>{if(null==Q.previousIndex)M.createEmbeddedView(this._template,new nr(Q.item,this._ngForOf,-1,-1),null===Ae?void 0:Ae);else if(null==Ae)M.remove(null===Ce?void 0:Ce);else if(null!==Ce){const ct=M.get(Ce);M.move(ct,Ae),wn(ct,Q)}}));for(let Q=0,Ce=M.length;Q<Ce;Q++){const ct=M.get(Q).context;ct.index=Q,ct.count=Ce,ct.ngForOf=this._ngForOf}m.forEachIdentityChange((Q=>{wn(M.get(Q.currentIndex),Q)}))}static ngTemplateContextGuard(m,M){return!0}}return g.ɵfac=function(m){return new(m||g)(l.Y36(l.s_b),l.Y36(l.Rgc),l.Y36(l.ZZ4))},g.ɵdir=l.lG2({type:g,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),g})();function wn(g,w){g.context.$implicit=w.item}let br=(()=>{class g{constructor(m,M){this._viewContainer=m,this._context=new nn,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=M}set ngIf(m){this._context.$implicit=this._context.ngIf=m,this._updateView()}set ngIfThen(m){rr("ngIfThen",m),this._thenTemplateRef=m,this._thenViewRef=null,this._updateView()}set ngIfElse(m){rr("ngIfElse",m),this._elseTemplateRef=m,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(m,M){return!0}}return g.ɵfac=function(m){return new(m||g)(l.Y36(l.s_b),l.Y36(l.Rgc))},g.ɵdir=l.lG2({type:g,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),g})();class nn{constructor(){this.$implicit=null,this.ngIf=null}}function rr(g,w){if(w&&!w.createEmbeddedView)throw new Error(`${g} must be a TemplateRef, but received '${(0,l.AaK)(w)}'.`)}class Kr{createSubscription(w,m){return w.subscribe({next:m,error:M=>{throw M}})}dispose(w){w.unsubscribe()}}class hs{createSubscription(w,m){return w.then(m,(M=>{throw M}))}dispose(w){}}const qn=new hs,Ss=new Kr;let rs=(()=>{class g{constructor(m){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=m}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(m){return this._obj?m!==this._obj?(this._dispose(),this.transform(m)):this._latestValue:(m&&this._subscribe(m),this._latestValue)}_subscribe(m){this._obj=m,this._strategy=this._selectStrategy(m),this._subscription=this._strategy.createSubscription(m,(M=>this._updateLatestValue(m,M)))}_selectStrategy(m){if((0,l.QGY)(m))return qn;if((0,l.F4k)(m))return Ss;throw function sr(g,w){return new l.vHH(2100,!1)}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(m,M){m===this._obj&&(this._latestValue=M,this._ref.markForCheck())}}return g.ɵfac=function(m){return new(m||g)(l.Y36(l.sBO,16))},g.ɵpipe=l.Yjl({name:"async",type:g,pure:!1,standalone:!0}),g})(),Ki=(()=>{class g{}return g.ɵfac=function(m){return new(m||g)},g.ɵmod=l.oAB({type:g}),g.ɵinj=l.cJS({}),g})();const Tr="browser";let $n=(()=>{class g{}return g.ɵprov=(0,l.Yz7)({token:g,providedIn:"root",factory:()=>new xs((0,l.LFG)(R),window)}),g})();class xs{constructor(w,m){this.document=w,this.window=m,this.offset=()=>[0,0]}setOffset(w){this.offset=Array.isArray(w)?()=>w:w}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(w){this.supportsScrolling()&&this.window.scrollTo(w[0],w[1])}scrollToAnchor(w){if(!this.supportsScrolling())return;const m=function Vr(g,w){const m=g.getElementById(w)||g.getElementsByName(w)[0];if(m)return m;if("function"==typeof g.createTreeWalker&&g.body&&(g.body.createShadowRoot||g.body.attachShadow)){const M=g.createTreeWalker(g.body,NodeFilter.SHOW_ELEMENT);let Q=M.currentNode;for(;Q;){const Ce=Q.shadowRoot;if(Ce){const Ae=Ce.getElementById(w)||Ce.querySelector(`[name="${w}"]`);if(Ae)return Ae}Q=M.nextNode()}}return null}(this.document,w);m&&(this.scrollToElement(m),m.focus())}setHistoryScrollRestoration(w){if(this.supportScrollRestoration()){const m=this.window.history;m&&m.scrollRestoration&&(m.scrollRestoration=w)}}scrollToElement(w){const m=w.getBoundingClientRect(),M=m.left+this.window.pageXOffset,Q=m.top+this.window.pageYOffset,Ce=this.offset();this.window.scrollTo(M-Ce[0],Q-Ce[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const w=jn(this.window.history)||jn(Object.getPrototypeOf(this.window.history));return!(!w||!w.writable&&!w.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function jn(g){return Object.getOwnPropertyDescriptor(g,"scrollRestoration")}class Qs{}},529:(k,S,h)=>{"use strict";h.d(S,{JF:()=>me,WM:()=>j,eN:()=>ge});var l=h(6895),_=h(8256),C=h(9646),I=h(9751),T=h(4351),O=h(9300),R=h(4004);class F{}class U{}class j{constructor($){this.normalizedNames=new Map,this.lazyUpdate=null,$?this.lazyInit="string"==typeof $?()=>{this.headers=new Map,$.split("\n").forEach((B=>{const de=B.indexOf(":");if(de>0){const Te=B.slice(0,de),je=Te.toLowerCase(),Ge=B.slice(de+1).trim();this.maybeSetNormalizedName(Te,je),this.headers.has(je)?this.headers.get(je).push(Ge):this.headers.set(je,[Ge])}}))}:()=>{this.headers=new Map,Object.keys($).forEach((B=>{let de=$[B];const Te=B.toLowerCase();"string"==typeof de&&(de=[de]),de.length>0&&(this.headers.set(Te,de),this.maybeSetNormalizedName(B,Te))}))}:this.headers=new Map}has($){return this.init(),this.headers.has($.toLowerCase())}get($){this.init();const B=this.headers.get($.toLowerCase());return B&&B.length>0?B[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll($){return this.init(),this.headers.get($.toLowerCase())||null}append($,B){return this.clone({name:$,value:B,op:"a"})}set($,B){return this.clone({name:$,value:B,op:"s"})}delete($,B){return this.clone({name:$,value:B,op:"d"})}maybeSetNormalizedName($,B){this.normalizedNames.has(B)||this.normalizedNames.set(B,$)}init(){this.lazyInit&&(this.lazyInit instanceof j?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(($=>this.applyUpdate($))),this.lazyUpdate=null))}copyFrom($){$.init(),Array.from($.headers.keys()).forEach((B=>{this.headers.set(B,$.headers.get(B)),this.normalizedNames.set(B,$.normalizedNames.get(B))}))}clone($){const B=new j;return B.lazyInit=this.lazyInit&&this.lazyInit instanceof j?this.lazyInit:this,B.lazyUpdate=(this.lazyUpdate||[]).concat([$]),B}applyUpdate($){const B=$.name.toLowerCase();switch($.op){case"a":case"s":let de=$.value;if("string"==typeof de&&(de=[de]),0===de.length)return;this.maybeSetNormalizedName($.name,B);const Te=("a"===$.op?this.headers.get(B):void 0)||[];Te.push(...de),this.headers.set(B,Te);break;case"d":const je=$.value;if(je){let Ge=this.headers.get(B);if(!Ge)return;Ge=Ge.filter((mt=>-1===je.indexOf(mt))),0===Ge.length?(this.headers.delete(B),this.normalizedNames.delete(B)):this.headers.set(B,Ge)}else this.headers.delete(B),this.normalizedNames.delete(B)}}forEach($){this.init(),Array.from(this.normalizedNames.keys()).forEach((B=>$(this.normalizedNames.get(B),this.headers.get(B))))}}class re{encodeKey($){return Ve($)}encodeValue($){return Ve($)}decodeKey($){return decodeURIComponent($)}decodeValue($){return decodeURIComponent($)}}const he=/%(\d[a-f0-9])/gi,oe={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Ve(ee){return encodeURIComponent(ee).replace(he,(($,B)=>oe[B]??$))}function we(ee){return`${ee}`}class ke{constructor($={}){if(this.updates=null,this.cloneFrom=null,this.encoder=$.encoder||new re,$.fromString){if($.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function be(ee,$){const B=new Map;return ee.length>0&&ee.replace(/^\?/,"").split("&").forEach((Te=>{const je=Te.indexOf("="),[Ge,mt]=-1==je?[$.decodeKey(Te),""]:[$.decodeKey(Te.slice(0,je)),$.decodeValue(Te.slice(je+1))],We=B.get(Ge)||[];We.push(mt),B.set(Ge,We)})),B}($.fromString,this.encoder)}else $.fromObject?(this.map=new Map,Object.keys($.fromObject).forEach((B=>{const de=$.fromObject[B],Te=Array.isArray(de)?de.map(we):[we(de)];this.map.set(B,Te)}))):this.map=null}has($){return this.init(),this.map.has($)}get($){this.init();const B=this.map.get($);return B?B[0]:null}getAll($){return this.init(),this.map.get($)||null}keys(){return this.init(),Array.from(this.map.keys())}append($,B){return this.clone({param:$,value:B,op:"a"})}appendAll($){const B=[];return Object.keys($).forEach((de=>{const Te=$[de];Array.isArray(Te)?Te.forEach((je=>{B.push({param:de,value:je,op:"a"})})):B.push({param:de,value:Te,op:"a"})})),this.clone(B)}set($,B){return this.clone({param:$,value:B,op:"s"})}delete($,B){return this.clone({param:$,value:B,op:"d"})}toString(){return this.init(),this.keys().map(($=>{const B=this.encoder.encodeKey($);return this.map.get($).map((de=>B+"="+this.encoder.encodeValue(de))).join("&")})).filter(($=>""!==$)).join("&")}clone($){const B=new ke({encoder:this.encoder});return B.cloneFrom=this.cloneFrom||this,B.updates=(this.updates||[]).concat($),B}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(($=>this.map.set($,this.cloneFrom.map.get($)))),this.updates.forEach(($=>{switch($.op){case"a":case"s":const B=("a"===$.op?this.map.get($.param):void 0)||[];B.push(we($.value)),this.map.set($.param,B);break;case"d":if(void 0===$.value){this.map.delete($.param);break}{let de=this.map.get($.param)||[];const Te=de.indexOf(we($.value));-1!==Te&&de.splice(Te,1),de.length>0?this.map.set($.param,de):this.map.delete($.param)}}})),this.cloneFrom=this.updates=null)}}class qe{constructor(){this.map=new Map}set($,B){return this.map.set($,B),this}get($){return this.map.has($)||this.map.set($,$.defaultValue()),this.map.get($)}delete($){return this.map.delete($),this}has($){return this.map.has($)}keys(){return this.map.keys()}}function fe(ee){return typeof ArrayBuffer<"u"&&ee instanceof ArrayBuffer}function Ye(ee){return typeof Blob<"u"&&ee instanceof Blob}function $e(ee){return typeof FormData<"u"&&ee instanceof FormData}class Ie{constructor($,B,de,Te){let je;if(this.url=B,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=$.toUpperCase(),function le(ee){switch(ee){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Te?(this.body=void 0!==de?de:null,je=Te):je=de,je&&(this.reportProgress=!!je.reportProgress,this.withCredentials=!!je.withCredentials,je.responseType&&(this.responseType=je.responseType),je.headers&&(this.headers=je.headers),je.context&&(this.context=je.context),je.params&&(this.params=je.params)),this.headers||(this.headers=new j),this.context||(this.context=new qe),this.params){const Ge=this.params.toString();if(0===Ge.length)this.urlWithParams=B;else{const mt=B.indexOf("?");this.urlWithParams=B+(-1===mt?"?":mt<B.length-1?"&":"")+Ge}}else this.params=new ke,this.urlWithParams=B}serializeBody(){return null===this.body?null:fe(this.body)||Ye(this.body)||$e(this.body)||function Qe(ee){return typeof URLSearchParams<"u"&&ee instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof ke?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||$e(this.body)?null:Ye(this.body)?this.body.type||null:fe(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof ke?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone($={}){const B=$.method||this.method,de=$.url||this.url,Te=$.responseType||this.responseType,je=void 0!==$.body?$.body:this.body,Ge=void 0!==$.withCredentials?$.withCredentials:this.withCredentials,mt=void 0!==$.reportProgress?$.reportProgress:this.reportProgress;let We=$.headers||this.headers,Be=$.params||this.params;const _t=$.context??this.context;return void 0!==$.setHeaders&&(We=Object.keys($.setHeaders).reduce(((Bt,it)=>Bt.set(it,$.setHeaders[it])),We)),$.setParams&&(Be=Object.keys($.setParams).reduce(((Bt,it)=>Bt.set(it,$.setParams[it])),Be)),new Ie(B,de,je,{params:Be,headers:We,context:_t,reportProgress:mt,responseType:Te,withCredentials:Ge})}}var X=(()=>((X=X||{})[X.Sent=0]="Sent",X[X.UploadProgress=1]="UploadProgress",X[X.ResponseHeader=2]="ResponseHeader",X[X.DownloadProgress=3]="DownloadProgress",X[X.Response=4]="Response",X[X.User=5]="User",X))();class ue{constructor($,B=200,de="OK"){this.headers=$.headers||new j,this.status=void 0!==$.status?$.status:B,this.statusText=$.statusText||de,this.url=$.url||null,this.ok=this.status>=200&&this.status<300}}class _e extends ue{constructor($={}){super($),this.type=X.ResponseHeader}clone($={}){return new _e({headers:$.headers||this.headers,status:void 0!==$.status?$.status:this.status,statusText:$.statusText||this.statusText,url:$.url||this.url||void 0})}}class ve extends ue{constructor($={}){super($),this.type=X.Response,this.body=void 0!==$.body?$.body:null}clone($={}){return new ve({body:void 0!==$.body?$.body:this.body,headers:$.headers||this.headers,status:void 0!==$.status?$.status:this.status,statusText:$.statusText||this.statusText,url:$.url||this.url||void 0})}}class Z extends ue{constructor($){super($,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${$.url||"(unknown url)"}`:`Http failure response for ${$.url||"(unknown url)"}: ${$.status} ${$.statusText}`,this.error=$.error||null}}function ae(ee,$){return{body:$,headers:ee.headers,context:ee.context,observe:ee.observe,params:ee.params,reportProgress:ee.reportProgress,responseType:ee.responseType,withCredentials:ee.withCredentials}}let ge=(()=>{class ee{constructor(B){this.handler=B}request(B,de,Te={}){let je;if(B instanceof Ie)je=B;else{let We,Be;We=Te.headers instanceof j?Te.headers:new j(Te.headers),Te.params&&(Be=Te.params instanceof ke?Te.params:new ke({fromObject:Te.params})),je=new Ie(B,de,void 0!==Te.body?Te.body:null,{headers:We,context:Te.context,params:Be,reportProgress:Te.reportProgress,responseType:Te.responseType||"json",withCredentials:Te.withCredentials})}const Ge=(0,C.of)(je).pipe((0,T.b)((We=>this.handler.handle(We))));if(B instanceof Ie||"events"===Te.observe)return Ge;const mt=Ge.pipe((0,O.h)((We=>We instanceof ve)));switch(Te.observe||"body"){case"body":switch(je.responseType){case"arraybuffer":return mt.pipe((0,R.U)((We=>{if(null!==We.body&&!(We.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return We.body})));case"blob":return mt.pipe((0,R.U)((We=>{if(null!==We.body&&!(We.body instanceof Blob))throw new Error("Response is not a Blob.");return We.body})));case"text":return mt.pipe((0,R.U)((We=>{if(null!==We.body&&"string"!=typeof We.body)throw new Error("Response is not a string.");return We.body})));default:return mt.pipe((0,R.U)((We=>We.body)))}case"response":return mt;default:throw new Error(`Unreachable: unhandled observe type ${Te.observe}}`)}}delete(B,de={}){return this.request("DELETE",B,de)}get(B,de={}){return this.request("GET",B,de)}head(B,de={}){return this.request("HEAD",B,de)}jsonp(B,de){return this.request("JSONP",B,{params:(new ke).append(de,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(B,de={}){return this.request("OPTIONS",B,de)}patch(B,de,Te={}){return this.request("PATCH",B,ae(Te,de))}post(B,de,Te={}){return this.request("POST",B,ae(Te,de))}put(B,de,Te={}){return this.request("PUT",B,ae(Te,de))}}return ee.ɵfac=function(B){return new(B||ee)(_.LFG(F))},ee.ɵprov=_.Yz7({token:ee,factory:ee.ɵfac}),ee})();class Y{constructor($,B){this.next=$,this.interceptor=B}handle($){return this.interceptor.intercept($,this.next)}}const xe=new _.OlP("HTTP_INTERCEPTORS");let Ke=(()=>{class ee{intercept(B,de){return de.handle(B)}}return ee.ɵfac=function(B){return new(B||ee)},ee.ɵprov=_.Yz7({token:ee,factory:ee.ɵfac}),ee})();const Lt=/^\)\]\}',?\n/;let Gn=(()=>{class ee{constructor(B){this.xhrFactory=B}handle(B){if("JSONP"===B.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new I.y((de=>{const Te=this.xhrFactory.build();if(Te.open(B.method,B.urlWithParams),B.withCredentials&&(Te.withCredentials=!0),B.headers.forEach(((pt,at)=>Te.setRequestHeader(pt,at.join(",")))),B.headers.has("Accept")||Te.setRequestHeader("Accept","application/json, text/plain, */*"),!B.headers.has("Content-Type")){const pt=B.detectContentTypeHeader();null!==pt&&Te.setRequestHeader("Content-Type",pt)}if(B.responseType){const pt=B.responseType.toLowerCase();Te.responseType="json"!==pt?pt:"text"}const je=B.serializeBody();let Ge=null;const mt=()=>{if(null!==Ge)return Ge;const pt=Te.statusText||"OK",at=new j(Te.getAllResponseHeaders()),nt=function Wr(ee){return"responseURL"in ee&&ee.responseURL?ee.responseURL:/^X-Request-URL:/m.test(ee.getAllResponseHeaders())?ee.getResponseHeader("X-Request-URL"):null}(Te)||B.url;return Ge=new _e({headers:at,status:Te.status,statusText:pt,url:nt}),Ge},We=()=>{let{headers:pt,status:at,statusText:nt,url:Zt}=mt(),Xe=null;204!==at&&(Xe=typeof Te.response>"u"?Te.responseText:Te.response),0===at&&(at=Xe?200:0);let Yt=at>=200&&at<300;if("json"===B.responseType&&"string"==typeof Xe){const Ft=Xe;Xe=Xe.replace(Lt,"");try{Xe=""!==Xe?JSON.parse(Xe):null}catch(lt){Xe=Ft,Yt&&(Yt=!1,Xe={error:lt,text:Xe})}}Yt?(de.next(new ve({body:Xe,headers:pt,status:at,statusText:nt,url:Zt||void 0})),de.complete()):de.error(new Z({error:Xe,headers:pt,status:at,statusText:nt,url:Zt||void 0}))},Be=pt=>{const{url:at}=mt(),nt=new Z({error:pt,status:Te.status||0,statusText:Te.statusText||"Unknown Error",url:at||void 0});de.error(nt)};let _t=!1;const Bt=pt=>{_t||(de.next(mt()),_t=!0);let at={type:X.DownloadProgress,loaded:pt.loaded};pt.lengthComputable&&(at.total=pt.total),"text"===B.responseType&&!!Te.responseText&&(at.partialText=Te.responseText),de.next(at)},it=pt=>{let at={type:X.UploadProgress,loaded:pt.loaded};pt.lengthComputable&&(at.total=pt.total),de.next(at)};return Te.addEventListener("load",We),Te.addEventListener("error",Be),Te.addEventListener("timeout",Be),Te.addEventListener("abort",Be),B.reportProgress&&(Te.addEventListener("progress",Bt),null!==je&&Te.upload&&Te.upload.addEventListener("progress",it)),Te.send(je),de.next({type:X.Sent}),()=>{Te.removeEventListener("error",Be),Te.removeEventListener("abort",Be),Te.removeEventListener("load",We),Te.removeEventListener("timeout",Be),B.reportProgress&&(Te.removeEventListener("progress",Bt),null!==je&&Te.upload&&Te.upload.removeEventListener("progress",it)),Te.readyState!==Te.DONE&&Te.abort()}}))}}return ee.ɵfac=function(B){return new(B||ee)(_.LFG(l.JF))},ee.ɵprov=_.Yz7({token:ee,factory:ee.ɵfac}),ee})();const Sn=new _.OlP("XSRF_COOKIE_NAME"),on=new _.OlP("XSRF_HEADER_NAME");class xn{}let Wn=(()=>{class ee{constructor(B,de,Te){this.doc=B,this.platform=de,this.cookieName=Te,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const B=this.doc.cookie||"";return B!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,l.Mx)(B,this.cookieName),this.lastCookieString=B),this.lastToken}}return ee.ɵfac=function(B){return new(B||ee)(_.LFG(l.K0),_.LFG(_.Lbi),_.LFG(Sn))},ee.ɵprov=_.Yz7({token:ee,factory:ee.ɵfac}),ee})(),On=(()=>{class ee{constructor(B,de){this.tokenService=B,this.headerName=de}intercept(B,de){const Te=B.url.toLowerCase();if("GET"===B.method||"HEAD"===B.method||Te.startsWith("http://")||Te.startsWith("https://"))return de.handle(B);const je=this.tokenService.getToken();return null!==je&&!B.headers.has(this.headerName)&&(B=B.clone({headers:B.headers.set(this.headerName,je)})),de.handle(B)}}return ee.ɵfac=function(B){return new(B||ee)(_.LFG(xn),_.LFG(on))},ee.ɵprov=_.Yz7({token:ee,factory:ee.ɵfac}),ee})(),yn=(()=>{class ee{constructor(B,de){this.backend=B,this.injector=de,this.chain=null}handle(B){if(null===this.chain){const de=this.injector.get(xe,[]);this.chain=de.reduceRight(((Te,je)=>new Y(Te,je)),this.backend)}return this.chain.handle(B)}}return ee.ɵfac=function(B){return new(B||ee)(_.LFG(U),_.LFG(_.zs3))},ee.ɵprov=_.Yz7({token:ee,factory:ee.ɵfac}),ee})(),ne=(()=>{class ee{static disable(){return{ngModule:ee,providers:[{provide:On,useClass:Ke}]}}static withOptions(B={}){return{ngModule:ee,providers:[B.cookieName?{provide:Sn,useValue:B.cookieName}:[],B.headerName?{provide:on,useValue:B.headerName}:[]]}}}return ee.ɵfac=function(B){return new(B||ee)},ee.ɵmod=_.oAB({type:ee}),ee.ɵinj=_.cJS({providers:[On,{provide:xe,useExisting:On,multi:!0},{provide:xn,useClass:Wn},{provide:Sn,useValue:"XSRF-TOKEN"},{provide:on,useValue:"X-XSRF-TOKEN"}]}),ee})(),me=(()=>{class ee{}return ee.ɵfac=function(B){return new(B||ee)},ee.ɵmod=_.oAB({type:ee}),ee.ɵinj=_.cJS({providers:[ge,{provide:F,useClass:yn},Gn,{provide:U,useExisting:Gn}],imports:[ne.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]}),ee})()},8256:(k,S,h)=>{"use strict";h.d(S,{QbO:()=>U0,tb:()=>Ng,AFp:()=>Rg,ip1:()=>Pg,CZH:()=>cl,hGG:()=>Sw,z2F:()=>fl,sBO:()=>cw,Sil:()=>G0,_Vd:()=>Xo,EJc:()=>$0,Xts:()=>eu,SBq:()=>ea,lqb:()=>Ui,qLn:()=>ta,vpe:()=>Ts,XFs:()=>B,OlP:()=>bn,zs3:()=>Hi,ZZ4:()=>Mc,aQg:()=>Ac,soG:()=>dl,YKP:()=>Fp,h0i:()=>Ro,PXZ:()=>sw,R0b:()=>ts,FiY:()=>zo,Lbi:()=>B0,g9A:()=>Og,Qsj:()=>nv,FYo:()=>Xd,JOm:()=>Es,q3G:()=>Zn,tp0:()=>Go,Rgc:()=>pa,dDg:()=>ew,eoX:()=>Hg,GfV:()=>ef,s_b:()=>al,ifc:()=>it,MMx:()=>rc,Lck:()=>OD,eFA:()=>zg,G48:()=>uw,Gpc:()=>qe,f3M:()=>Yc,_c5:()=>Tw,c2e:()=>H0,zSh:()=>ru,wAp:()=>Nt,vHH:()=>$e,lri:()=>Bg,rWj:()=>Ug,EiD:()=>Bd,mCW:()=>Oa,qzn:()=>co,JVY:()=>Dy,pB0:()=>Ty,eBb:()=>Cy,L6k:()=>wy,LAX:()=>by,D6c:()=>Iw,cg1:()=>Zu,kL8:()=>ap,dqk:()=>pt,Z0I:()=>yn,sIi:()=>sa,CqO:()=>fh,QGY:()=>$u,QP$:()=>Je,F4k:()=>dh,RDi:()=>py,AaK:()=>we,z3N:()=>Hs,qOj:()=>Fu,TTD:()=>Zr,_Bn:()=>Lp,jDz:()=>jp,xp6:()=>uf,uIk:()=>Bu,Tol:()=>Lh,ekj:()=>Gu,Suo:()=>ag,Xpm:()=>_n,lG2:()=>J,Yz7:()=>on,cJS:()=>Wn,oAB:()=>In,Yjl:()=>H,Y36:()=>mo,_UZ:()=>Vu,BQk:()=>Ja,ynx:()=>qa,qZA:()=>Qa,TgZ:()=>Za,EpF:()=>ch,n5z:()=>_l,LFG:()=>er,$8M:()=>Da,$Z:()=>wf,NdJ:()=>zu,CRH:()=>lg,kcU:()=>Sr,O4$:()=>ir,oxw:()=>yh,ALo:()=>Jp,lcZ:()=>Xp,Q6J:()=>Uu,MGl:()=>Xa,VKq:()=>Gp,WLB:()=>Wp,iGM:()=>ig,KtG:()=>qi,CHM:()=>mn,oJD:()=>Ud,LSH:()=>Xl,YNc:()=>lh,_uU:()=>Vh,Oqu:()=>Ku,hij:()=>tl,AsE:()=>Yu,Gf:()=>og});var l=h(7579),_=h(727),C=h(9751),I=h(8189),T=h(8421),O=h(515),R=h(7669),F=h(2076),j=h(5698),G=h(2961),re=h(4482);function he(e,t,...n){return!0===t?(e(),null):!1===t?null:t(...n).pipe((0,j.q)(1)).subscribe((()=>e()))}function oe(e){for(let t in e)if(e[t]===oe)return t;throw Error("Could not find renamed property on target object.")}function Ve(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function we(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(we).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 ke(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Le=oe({__forward_ref__:oe});function qe(e){return e.__forward_ref__=qe,e.toString=function(){return we(this())},e}function le(e){return fe(e)?e():e}function fe(e){return"function"==typeof e&&e.hasOwnProperty(Le)&&e.__forward_ref__===qe}class $e extends Error{constructor(t,n){super(function Qe(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function Ie(e){return"string"==typeof e?e:null==e?"":String(e)}function Z(e,t){throw new $e(-201,!1)}function vt(e,t){null==e&&function Lt(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function on(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Wn(e){return{providers:e.providers||[],imports:e.imports||[]}}function On(e){return xr(e,Pe)||xr(e,ee)}function yn(e){return null!==On(e)}function xr(e,t){return e.hasOwnProperty(t)?e[t]:null}function me(e){return e&&(e.hasOwnProperty(Se)||e.hasOwnProperty($))?e[Se]:null}const Pe=oe({"ɵprov":oe}),Se=oe({"ɵinj":oe}),ee=oe({ngInjectableDef:oe}),$=oe({ngInjectorDef:oe});var B=(()=>((B=B||{})[B.Default=0]="Default",B[B.Host=1]="Host",B[B.Self=2]="Self",B[B.SkipSelf=4]="SkipSelf",B[B.Optional=8]="Optional",B))();let de;function je(e){const t=de;return de=e,t}function Ge(e,t,n){const r=On(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&B.Optional?null:void 0!==t?t:void Z(we(e))}function We(e){return{toString:e}.toString()}var Be=(()=>((Be=Be||{})[Be.OnPush=0]="OnPush",Be[Be.Default=1]="Default",Be))(),it=(()=>{return(e=it||(it={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",it;var e})();const pt=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Zt={},Xe=[],Yt=oe({"ɵcmp":oe}),Ft=oe({"ɵdir":oe}),lt=oe({"ɵpipe":oe}),qt=oe({"ɵmod":oe}),rt=oe({"ɵfac":oe}),bt=oe({__NG_ELEMENT_ID__:oe});let At=0;function _n(e){return We((()=>{const n=!0===e.standalone,r={},s={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===Be.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||Xe,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||it.Emulated,id:"c"+At++,styles:e.styles||Xe,_:null,setInput:null,schemas:e.schemas||null,tView:null},i=e.dependencies,o=e.features;return s.inputs=ce(e.inputs,r),s.outputs=ce(e.outputs),o&&o.forEach((p=>p(s))),s.directiveDefs=i?()=>("function"==typeof i?i():i).map(Jt).filter(Xt):null,s.pipeDefs=i?()=>("function"==typeof i?i():i).map(Fe).filter(Xt):null,s}))}function Jt(e){return x(e)||W(e)}function Xt(e){return null!==e}function In(e){return We((()=>({type:e.type,bootstrap:e.bootstrap||Xe,declarations:e.declarations||Xe,imports:e.imports||Xe,exports:e.exports||Xe,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null})))}function ce(e,t){if(null==e)return Zt;const n={};for(const r in e)if(e.hasOwnProperty(r)){let s=e[r],i=s;Array.isArray(s)&&(i=s[1],s=s[0]),n[s]=r,t&&(t[s]=i)}return n}const J=_n;function H(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 x(e){return e[Yt]||null}function W(e){return e[Ft]||null}function Fe(e){return e[lt]||null}function Je(e){const t=x(e)||W(e)||Fe(e);return null!==t&&t.standalone}function Dt(e,t){const n=e[qt]||null;if(!n&&!0===t)throw new Error(`Type ${we(e)} does not have 'ɵmod' property.`);return n}function Qn(e){return Array.isArray(e)&&"object"==typeof e[1]}function yr(e){return Array.isArray(e)&&!0===e[1]}function sr(e){return 0!=(8&e.flags)}function Kr(e){return 2==(2&e.flags)}function hs(e){return 1==(1&e.flags)}function qn(e){return null!==e.template}function Ss(e){return 0!=(256&e[2])}function Tr(e,t){return e.hasOwnProperty(rt)?e[rt]:null}class As{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Zr(){return Ps}function Ps(e){return e.type.prototype.ngOnChanges&&(e.setInput=Ei),_i}function _i(){const e=Hr(this),t=e?.current;if(t){const n=e.previous;if(n===Zt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Ei(e,t,n,r){const s=Hr(e)||function Rs(e,t){return e[Di]=t}(e,{previous:Zt,current:null}),i=s.current||(s.current={}),o=s.previous,p=this.declaredInputs[n],y=o[p];i[p]=new As(y&&y.currentValue,t,o===Zt),e[r]=t}Zr.ngInherit=!0;const Di="__ngSimpleChanges__";function Hr(e){return e[Di]||null}function Ln(e){for(;Array.isArray(e);)e=e[0];return e}function ss(e,t){return Ln(t[e])}function Bn(e,t){return Ln(t[e.index])}function an(e,t){return e.data[t]}function Un(e,t){const n=t[e];return Qn(n)?n:n[0]}function is(e){return 64==(64&e[2])}function cr(e,t){return null==t?null:e[t]}function os(e){e[18]=0}function Js(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const Rt={lFrame:jt(null),bindingsEnabled:!0};function ei(){return Rt.bindingsEnabled}function He(){return Rt.lFrame.lView}function zt(){return Rt.lFrame.tView}function mn(e){return Rt.lFrame.contextLView=e,e[8]}function qi(e){return Rt.lFrame.contextLView=null,e}function Nn(){let e=Os();for(;null!==e&&64===e.type;)e=e.parent;return e}function Os(){return Rt.lFrame.currentTNode}function Jn(e,t){const n=Rt.lFrame;n.currentTNode=e,n.isParent=t}function ti(){return Rt.lFrame.isParent}function Ns(){Rt.lFrame.isParent=!1}function Kn(){const e=Rt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function _r(){return Rt.lFrame.bindingIndex++}function A(e){const t=Rt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function E(e,t){const n=Rt.lFrame;n.bindingIndex=n.bindingRootIndex=e,V(t)}function V(e){Rt.lFrame.currentDirectiveIndex=e}function se(){return Rt.lFrame.currentQueryIndex}function Ee(e){Rt.lFrame.currentQueryIndex=e}function Oe(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function ot(e,t,n){if(n&B.SkipSelf){let s=t,i=e;for(;!(s=s.parent,null!==s||n&B.Host||(s=Oe(i),null===s||(i=i[15],10&s.type))););if(null===s)return!1;t=s,e=i}const r=Rt.lFrame=Ht();return r.currentTNode=t,r.lView=e,!0}function ft(e){const t=Ht(),n=e[1];Rt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Ht(){const e=Rt.lFrame,t=null===e?null:e.child;return null===t?jt(e):t}function jt(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 Mt(){const e=Rt.lFrame;return Rt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Ot=Mt;function en(){const e=Mt();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 ln(){return Rt.lFrame.selectedIndex}function pn(e){Rt.lFrame.selectedIndex=e}function un(){const e=Rt.lFrame;return an(e.tView,e.selectedIndex)}function ir(){Rt.lFrame.currentNamespace="svg"}function Sr(){!function kr(){Rt.lFrame.currentNamespace=null}()}function zr(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const i=e.data[n].type.prototype,{ngAfterContentInit:o,ngAfterContentChecked:p,ngAfterViewInit:y,ngAfterViewChecked:b,ngOnDestroy:L}=i;o&&(e.contentHooks||(e.contentHooks=[])).push(-n,o),p&&((e.contentHooks||(e.contentHooks=[])).push(n,p),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,p)),y&&(e.viewHooks||(e.viewHooks=[])).push(-n,y),b&&((e.viewHooks||(e.viewHooks=[])).push(n,b),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,b)),null!=L&&(e.destroyHooks||(e.destroyHooks=[])).push(n,L)}}function Ir(e,t,n){g(e,t,3,n)}function as(e,t,n,r){(3&e[2])===n&&g(e,t,n,r)}function Fs(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function g(e,t,n,r){const i=r??-1,o=t.length-1;let p=0;for(let y=void 0!==r?65535&e[18]:0;y<o;y++)if("number"==typeof t[y+1]){if(p=t[y],null!=r&&p>=r)break}else t[y]<0&&(e[18]+=65536),(p<i||-1==i)&&(w(e,n,t,y),e[18]=(4294901760&e[18])+y+2),y++}function w(e,t,n,r){const s=n[r]<0,i=n[r+1],p=e[s?-n[r]:n[r]];if(s){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{i.call(p)}finally{}}}else try{i.call(p)}finally{}}const m=-1;class M{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function rn(e,t,n){let r=0;for(;r<n.length;){const s=n[r];if("number"==typeof s){if(0!==s)break;r++;const i=n[r++],o=n[r++],p=n[r++];e.setAttribute(t,o,p,i)}else{const i=s,o=n[++r];Cn(i)?e.setProperty(t,i,o):e.setAttribute(t,i,o),r++}}return r}function Vt(e){return 3===e||4===e||6===e}function Cn(e){return 64===e.charCodeAt(0)}function gr(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 s=t[r];"number"==typeof s?n=s:0===n||Mr(e,n,s,null,-1===n||2===n?t[++r]:null)}}return e}function Mr(e,t,n,r,s){let i=0,o=e.length;if(-1===t)o=-1;else for(;i<e.length;){const p=e[i++];if("number"==typeof p){if(p===t){o=-1;break}if(p>t){o=i-1;break}}}for(;i<e.length;){const p=e[i];if("number"==typeof p)break;if(p===n){if(null===r)return void(null!==s&&(e[i+1]=s));if(r===e[i+1])return void(e[i+2]=s)}i++,null!==r&&i++,null!==s&&i++}-1!==o&&(e.splice(o,0,t),i=o+1),e.splice(i++,0,n),null!==r&&e.splice(i++,0,r),null!==s&&e.splice(i++,0,s)}function Jr(e){return e!==m}function mr(e){return 32767&e}function Ar(e,t){let n=function ni(e){return e>>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let ks=!0;function ri(e){const t=ks;return ks=e,t}let Ji=0;const Xr={};function Pi(e,t){const n=ko(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,Fo(r.data,e),Fo(t,null),Fo(r.blueprint,null));const s=Ri(e,t),i=e.injectorIndex;if(Jr(s)){const o=mr(s),p=Ar(s,t),y=p[1].data;for(let b=0;b<8;b++)t[i+b]=p[o+b]|y[o+b]}return t[i+8]=s,i}function Fo(e,t){e.push(0,0,0,0,0,0,0,0,t)}function ko(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Ri(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,s=t;for(;null!==s;){if(r=io(s),null===r)return m;if(n++,s=s[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return m}function Hn(e,t,n){!function ml(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(bt)&&(r=n[bt]),null==r&&(r=n[bt]=Ji++);const s=255&r;t.data[e+(s>>5)]|=1<<s}(e,t,n)}function jo(e,t,n){if(n&B.Optional||void 0!==e)return e;Z()}function Xi(e,t,n,r){if(n&B.Optional&&void 0===r&&(r=null),0==(n&(B.Self|B.Host))){const s=e[9],i=je(void 0);try{return s?s.get(t,r,n&B.Optional):Ge(t,r,n&B.Optional)}finally{je(i)}}return jo(r,0,n)}function eo(e,t,n,r=B.Default,s){if(null!==e){if(1024&t[2]){const o=function si(e,t,n,r,s){let i=e,o=t;for(;null!==i&&null!==o&&1024&o[2]&&!(256&o[2]);){const p=_a(i,o,n,r|B.Self,Xr);if(p!==Xr)return p;let y=i.parent;if(!y){const b=o[21];if(b){const L=b.get(n,Xr,r);if(L!==Xr)return L}y=io(o),o=o[15]}i=y}return s}(e,t,n,r,Xr);if(o!==Xr)return o}const i=_a(e,t,n,r,Xr);if(i!==Xr)return i}return Xi(t,n,r,s)}function _a(e,t,n,r,s){const i=function Bc(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(bt)?e[bt]:void 0;return"number"==typeof t?t>=0?255&t:ro:t}(n);if("function"==typeof i){if(!ot(t,e,r))return r&B.Host?jo(s,0,r):Xi(t,n,r,s);try{const o=i(r);if(null!=o||r&B.Optional)return o;Z()}finally{Ot()}}else if("number"==typeof i){let o=null,p=ko(e,t),y=m,b=r&B.Host?t[16][6]:null;for((-1===p||r&B.SkipSelf)&&(y=-1===p?Ri(e,t):t[p+8],y!==m&&no(r,!1)?(o=t[1],p=mr(y),t=Ar(y,t)):p=-1);-1!==p;){const L=t[1];if(Ea(i,p,L.data)){const z=vl(p,t,n,o,r,b);if(z!==Xr)return z}y=t[p+8],y!==m&&no(r,t[1].data[p+8]===b)&&Ea(i,p,t)?(o=L,p=mr(y),t=Ar(y,t)):p=-1}}return s}function vl(e,t,n,r,s,i){const o=t[1],p=o.data[e+8],L=xi(p,o,n,null==r?Kr(p)&&ks:r!=o&&0!=(3&p.type),s&B.Host&&i===p);return null!==L?to(t,o,L,p):Xr}function xi(e,t,n,r,s){const i=e.providerIndexes,o=t.data,p=1048575&i,y=e.directiveStart,L=i>>20,ie=s?p+L:e.directiveEnd;for(let ye=r?p:p+L;ye<ie;ye++){const Ne=o[ye];if(ye<y&&n===Ne||ye>=y&&Ne.type===n)return ye}if(s){const ye=o[y];if(ye&&qn(ye)&&ye.type===n)return y}return null}function to(e,t,n,r){let s=e[n];const i=t.data;if(function Q(e){return e instanceof M}(s)){const o=s;o.resolving&&function ue(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new $e(-200,`Circular dependency in DI detected for ${e}${n}`)}(function X(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Ie(e)}(i[n]));const p=ri(o.canSeeViewProviders);o.resolving=!0;const y=o.injectImpl?je(o.injectImpl):null;ot(e,r,B.Default);try{s=e[n]=o.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function Ai(e,t,n){const{ngOnChanges:r,ngOnInit:s,ngDoCheck:i}=t.type.prototype;if(r){const o=Ps(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o)}s&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,s),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,i))}(n,i[n],t)}finally{null!==y&&je(y),ri(p),o.resolving=!1,Ot()}}return s}function Ea(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function no(e,t){return!(e&B.Self||e&B.Host&&t)}class js{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return eo(this._tNode,this._lView,t,r,n)}}function ro(){return new js(Nn(),He())}function _l(e){return We((()=>{const t=e.prototype.constructor,n=t[rt]||so(t),r=Object.prototype;let s=Object.getPrototypeOf(e.prototype).constructor;for(;s&&s!==r;){const i=s[rt]||so(s);if(i&&i!==n)return i;s=Object.getPrototypeOf(s)}return i=>new i}))}function so(e){return fe(e)?()=>{const t=so(le(e));return t&&t()}:Tr(e)}function io(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}function Da(e){return function yl(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 s=0;for(;s<r;){const i=n[s];if(Vt(i))break;if(0===i)s+=2;else if("number"==typeof i)for(s++;s<r&&"string"==typeof n[s];)s++;else{if(i===t)return n[s+1];s+=2}}}return null}(Nn(),e)}const Us="__parameters__";function ii(e,t,n){return We((()=>{const r=function Bo(e){return function(...n){if(e){const r=e(...n);for(const s in r)this[s]=r[s]}}}(t);function s(...i){if(this instanceof s)return r.apply(this,i),this;const o=new s(...i);return p.annotation=o,p;function p(y,b,L){const z=y.hasOwnProperty(Us)?y[Us]:Object.defineProperty(y,Us,{value:[]})[Us];for(;z.length<=L;)z.push(null);return(z[L]=z[L]||[]).push(o),y}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s}))}class bn{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.ɵprov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.ɵprov=on({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function d(e,t){void 0===t&&(t=e);for(let n=0;n<e.length;n++){let r=e[n];Array.isArray(r)?(t===e&&(t=e.slice(0,n)),d(r,t)):t!==e&&t.push(r)}return t}function a(e,t){e.forEach((n=>Array.isArray(n)?a(n,t):t(n)))}function v(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function D(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Gt(e,t,n){let r=Er(e,t);return r>=0?e[1|r]=n:(r=~r,function Me(e,t,n,r){let s=e.length;if(s==t)e.push(n,r);else if(1===s)e.push(r,e[0]),e[0]=n;else{for(s--,e.push(e[s-1],e[s]);s>t;)e[s]=e[s-2],s--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function dr(e,t){const n=Er(e,t);if(n>=0)return e[1|n]}function Er(e,t){return function Br(e,t,n){let r=0,s=e.length>>n;for(;s!==r;){const i=r+(s-r>>1),o=e[i<<n];if(t===o)return i<<n;o>t?s=i:r=i+1}return~(s<<n)}(e,t,1)}const Ho={},Tl="__NG_DI_FLAG__",Ta="ngTempTokenPath",gm=/\n/gm,Wc="__source";let Vo;function ao(e){const t=Vo;return Vo=e,t}function ym(e,t=B.Default){if(void 0===Vo)throw new $e(-203,!1);return null===Vo?Ge(e,void 0,t):Vo.get(e,t&B.Optional?null:void 0,t)}function er(e,t=B.Default){return(function Te(){return de}()||ym)(le(e),t)}function Yc(e,t=B.Default){return"number"!=typeof t&&(t=0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)),er(e,t)}function Sl(e){const t=[];for(let n=0;n<e.length;n++){const r=le(e[n]);if(Array.isArray(r)){if(0===r.length)throw new $e(900,!1);let s,i=B.Default;for(let o=0;o<r.length;o++){const p=r[o],y=vm(p);"number"==typeof y?-1===y?s=p.token:i|=y:s=p}t.push(er(s,i))}else t.push(er(r))}return t}function $o(e,t){return e[Tl]=t,e.prototype[Tl]=t,e}function vm(e){return e[Tl]}const zo=$o(ii("Optional"),8),Go=$o(ii("SkipSelf"),4);var Es=(()=>((Es=Es||{})[Es.Important=1]="Important",Es[Es.DashCase=2]="DashCase",Es))();const Rl=new Map;let Fm=0;const Ol="__ngContext__";function Dr(e,t){Qn(t)?(e[Ol]=t[20],function jm(e){Rl.set(e[20],e)}(t)):e[Ol]=t}function Ll(e,t){return undefined(e,t)}function Zo(e){const t=e[3];return yr(t)?t[3]:t}function Fl(e){return pd(e[13])}function kl(e){return pd(e[4])}function pd(e){for(;null!==e&&!yr(e);)e=e[4];return e}function uo(e,t,n,r,s){if(null!=r){let i,o=!1;yr(r)?i=r:Qn(r)&&(o=!0,r=r[0]);const p=Ln(r);0===e&&null!==n?null==s?Ed(t,n,p):Fi(t,n,p,s||null,!0):1===e&&null!==n?Fi(t,n,p,s||null,!0):2===e?function zl(e,t,n){const r=Ma(e,t);r&&function oy(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,p,o):3===e&&t.destroyNode(p),null!=i&&function uy(e,t,n,r,s){const i=n[7];i!==Ln(n)&&uo(t,e,r,i,s);for(let p=10;p<n.length;p++){const y=n[p];Qo(y[1],y,e,t,r,i)}}(t,e,i,n,s)}}function Bl(e,t,n){return e.createElement(t,n)}function md(e,t){const n=e[9],r=n.indexOf(t),s=t[3];512&t[2]&&(t[2]&=-513,Js(s,-1)),n.splice(r,1)}function Ul(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const s=r[17];null!==s&&s!==e&&md(s,r),t>0&&(e[n-1][4]=r[4]);const i=D(e,10+t);!function Jm(e,t){Qo(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(r[1],r);const o=i[19];null!==o&&o.detachView(i[1]),r[3]=null,r[4]=null,r[2]&=-65}return r}function yd(e,t){if(!(128&t[2])){const n=t[11];n.destroyNode&&Qo(e,t,n,3,null,null),function ty(e){let t=e[13];if(!t)return Hl(e[1],e);for(;t;){let n=null;if(Qn(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)Qn(t)&&Hl(t[1],t),t=t[3];null===t&&(t=e),Qn(t)&&Hl(t[1],t),n=t&&t[4]}t=n}}(t)}}function Hl(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function iy(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const s=t[n[r]];if(!(s instanceof M)){const i=n[r+1];if(Array.isArray(i))for(let o=0;o<i.length;o+=2){const p=s[i[o]],y=i[o+1];try{y.call(p)}finally{}}else try{i.call(s)}finally{}}}}(e,t),function sy(e,t){const n=e.cleanup,r=t[7];let s=-1;if(null!==n)for(let i=0;i<n.length-1;i+=2)if("string"==typeof n[i]){const o=n[i+1],p="function"==typeof o?o(t):Ln(t[o]),y=r[s=n[i+2]],b=n[i+3];"boolean"==typeof b?p.removeEventListener(n[i],y,b):b>=0?r[s=b]():r[s=-b].unsubscribe(),i+=2}else{const o=r[s=n[i+1]];n[i].call(o)}if(null!==r){for(let i=s+1;i<r.length;i++)(0,r[i])();t[7]=null}}(e,t),1===t[1].type&&t[11].destroy();const n=t[17];if(null!==n&&yr(t[3])){n!==t[3]&&md(n,t);const r=t[19];null!==r&&r.detachView(e)}!function Bm(e){Rl.delete(e[20])}(t)}}function vd(e,t,n){return function _d(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[0];if(2&r.flags){const s=e.data[r.directiveStart].encapsulation;if(s===it.None||s===it.Emulated)return null}return Bn(r,n)}(e,t.parent,n)}function Fi(e,t,n,r,s){e.insertBefore(t,n,r,s)}function Ed(e,t,n){e.appendChild(t,n)}function Dd(e,t,n,r,s){null!==r?Fi(e,t,n,r,s):Ed(e,t,n)}function Ma(e,t){return e.parentNode(t)}let Ra,Yl,xa,bd=function Cd(e,t,n){return 40&e.type?Bn(e,n):null};function Aa(e,t,n,r){const s=vd(e,r,t),i=t[11],p=function wd(e,t,n){return bd(e,t,n)}(r.parent||t[6],r,t);if(null!=s)if(Array.isArray(n))for(let y=0;y<n.length;y++)Dd(i,s,n[y],p,!1);else Dd(i,s,n,p,!1)}function Pa(e,t){if(null!==t){const n=t.type;if(3&n)return Bn(t,e);if(4&n)return $l(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return Pa(e,r);{const s=e[t.index];return yr(s)?$l(-1,s):Ln(s)}}if(32&n)return Ll(t,e)()||Ln(e[t.index]);{const r=Sd(e,t);return null!==r?Array.isArray(r)?r[0]:Pa(Zo(e[16]),r):Pa(e,t.next)}}return null}function Sd(e,t){return null!==t?e[16][6].projection[t.projection]:null}function $l(e,t){const n=10+e+1;if(n<t.length){const r=t[n],s=r[1].firstChild;if(null!==s)return Pa(r,s)}return t[7]}function Gl(e,t,n,r,s,i,o){for(;null!=n;){const p=r[n.index],y=n.type;if(o&&0===t&&(p&&Dr(Ln(p),r),n.flags|=4),64!=(64&n.flags))if(8&y)Gl(e,t,n.child,r,s,i,!1),uo(t,e,s,p,i);else if(32&y){const b=Ll(n,r);let L;for(;L=b();)uo(t,e,s,L,i);uo(t,e,s,p,i)}else 16&y?Id(e,t,r,n,s,i):uo(t,e,s,p,i);n=o?n.projectionNext:n.next}}function Qo(e,t,n,r,s,i){Gl(n,r,e.firstChild,t,s,i,!1)}function Id(e,t,n,r,s,i){const o=n[16],y=o[6].projection[r.projection];if(Array.isArray(y))for(let b=0;b<y.length;b++)uo(t,e,s,y[b],i);else Gl(e,t,y,o[3],s,i,!0)}function Md(e,t,n){e.setAttribute(t,"style",n)}function Wl(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function ki(e){return function Kl(){if(void 0===Ra&&(Ra=null,pt.trustedTypes))try{Ra=pt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ra}()?.createHTML(e)||e}function py(e){Yl=e}function Pd(e){return function Zl(){if(void 0===xa&&(xa=null,pt.trustedTypes))try{xa=pt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return xa}()?.createHTML(e)||e}class ji{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class gy extends ji{getTypeName(){return"HTML"}}class my extends ji{getTypeName(){return"Style"}}class yy extends ji{getTypeName(){return"Script"}}class vy extends ji{getTypeName(){return"URL"}}class _y extends ji{getTypeName(){return"ResourceURL"}}function Hs(e){return e instanceof ji?e.changingThisBreaksApplicationSecurity:e}function co(e,t){const n=function Ey(e){return e instanceof ji&&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 https://g.co/ng/security#xss)`)}return n===t}function Dy(e){return new gy(e)}function wy(e){return new my(e)}function Cy(e){return new yy(e)}function by(e){return new vy(e)}function Ty(e){return new _y(e)}class Sy{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(ki(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class Iy{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);const r=this.inertDocument.createElement("body");n.appendChild(r)}}getInertBodyElement(t){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=ki(t),n;const r=this.inertDocument.createElement("body");return r.innerHTML=ki(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(r),r}stripCustomNsAttrs(t){const n=t.attributes;for(let s=n.length-1;0<s;s--){const o=n.item(s).name;("xmlns:ns1"===o||0===o.indexOf("ns1:"))&&t.removeAttribute(o)}let r=t.firstChild;for(;r;)r.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(r),r=r.nextSibling}}const Ay=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;function Oa(e){return(e=String(e)).match(Ay)?e:"unsafe:"+e}function Vs(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function qo(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const Nd=Vs("area,br,col,hr,img,wbr"),Ld=Vs("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Fd=Vs("rp,rt"),Ql=qo(Nd,qo(Ld,Vs("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")),qo(Fd,Vs("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")),qo(Fd,Ld)),ql=Vs("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),kd=qo(ql,Vs("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"),Vs("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")),Py=Vs("script,style,template");class Ry{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0;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)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let s=this.checkClobberedElement(n,n.nextSibling);if(s){n=s;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!Ql.hasOwnProperty(n))return this.sanitizedSomething=!0,!Py.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let s=0;s<r.length;s++){const i=r.item(s),o=i.name,p=o.toLowerCase();if(!kd.hasOwnProperty(p)){this.sanitizedSomething=!0;continue}let y=i.value;ql[p]&&(y=Oa(y)),this.buf.push(" ",o,'="',jd(y),'"')}return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();Ql.hasOwnProperty(n)&&!Nd.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(jd(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return n}}const xy=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Oy=/([^\#-~ |!])/g;function jd(e){return e.replace(/&/g,"&").replace(xy,(function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"})).replace(Oy,(function(t){return"&#"+t.charCodeAt(0)+";"})).replace(/</g,"<").replace(/>/g,">")}let Na;function Bd(e,t){let n=null;try{Na=Na||function Od(e){const t=new Iy(e);return function My(){try{return!!(new window.DOMParser).parseFromString(ki(""),"text/html")}catch{return!1}}()?new Sy(t):t}(e);let r=t?String(t):"";n=Na.getInertBodyElement(r);let s=5,i=r;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,r=i,i=n.innerHTML,n=Na.getInertBodyElement(r)}while(r!==i);return ki((new Ry).sanitizeChildren(Jl(n)||n))}finally{if(n){const r=Jl(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Jl(e){return"content"in e&&function Ny(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Zn=(()=>((Zn=Zn||{})[Zn.NONE=0]="NONE",Zn[Zn.HTML=1]="HTML",Zn[Zn.STYLE=2]="STYLE",Zn[Zn.SCRIPT=3]="SCRIPT",Zn[Zn.URL=4]="URL",Zn[Zn.RESOURCE_URL=5]="RESOURCE_URL",Zn))();function Ud(e){const t=Jo();return t?Pd(t.sanitize(Zn.HTML,e)||""):co(e,"HTML")?Pd(Hs(e)):Bd(function Ad(){return void 0!==Yl?Yl:typeof document<"u"?document:void 0}(),Ie(e))}function Xl(e){const t=Jo();return t?t.sanitize(Zn.URL,e)||"":co(e,"URL")?Hs(e):Oa(Ie(e))}function Jo(){const e=He();return e&&e[12]}const eu=new bn("ENVIRONMENT_INITIALIZER"),Vd=new bn("INJECTOR",-1),$d=new bn("INJECTOR_DEF_TYPES");class zd{get(t,n=Ho){if(n===Ho){const r=new Error(`NullInjectorError: No provider for ${we(t)}!`);throw r.name="NullInjectorError",r}return n}}function Hy(...e){return{"ɵproviders":Gd(0,e)}}function Gd(e,...t){const n=[],r=new Set;let s;return a(t,(i=>{const o=i;tu(o,n,[],r)&&(s||(s=[]),s.push(o))})),void 0!==s&&Wd(s,n),n}function Wd(e,t){for(let n=0;n<e.length;n++){const{providers:s}=e[n];a(s,(i=>{t.push(i)}))}}function tu(e,t,n,r){if(!(e=le(e)))return!1;let s=null,i=me(e);const o=!i&&x(e);if(i||o){if(o&&!o.standalone)return!1;s=e}else{const y=e.ngModule;if(i=me(y),!i)return!1;s=y}const p=r.has(s);if(o){if(p)return!1;if(r.add(s),o.dependencies){const y="function"==typeof o.dependencies?o.dependencies():o.dependencies;for(const b of y)tu(b,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!p){let b;r.add(s);try{a(i.imports,(L=>{tu(L,t,n,r)&&(b||(b=[]),b.push(L))}))}finally{}void 0!==b&&Wd(b,t)}if(!p){const b=Tr(s)||(()=>new s);t.push({provide:s,useFactory:b,deps:Xe},{provide:$d,useValue:s,multi:!0},{provide:eu,useValue:()=>er(s),multi:!0})}const y=i.providers;null==y||p||a(y,(L=>{t.push(L)}))}}return s!==e&&void 0!==e.providers}const Vy=oe({provide:String,useValue:oe});function nu(e){return null!==e&&"object"==typeof e&&Vy in e}function Bi(e){return"function"==typeof e}const ru=new bn("Set Injector scope."),La={},zy={};let su;function Fa(){return void 0===su&&(su=new zd),su}class Ui{}class Zd extends Ui{constructor(t,n,r,s){super(),this.parent=n,this.source=r,this.scopes=s,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,ou(t,(o=>this.processProvider(o))),this.records.set(Vd,fo(void 0,this)),s.has("environment")&&this.records.set(Ui,fo(void 0,this));const i=this.records.get(ru);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get($d.multi,Xe,B.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const n=ao(this),r=je(void 0);try{return t()}finally{ao(n),je(r)}}get(t,n=Ho,r=B.Default){this.assertNotDestroyed();const s=ao(this),i=je(void 0);try{if(!(r&B.SkipSelf)){let p=this.records.get(t);if(void 0===p){const y=function Zy(e){return"function"==typeof e||"object"==typeof e&&e instanceof bn}(t)&&On(t);p=y&&this.injectableDefInScope(y)?fo(iu(t),La):null,this.records.set(t,p)}if(null!=p)return this.hydrate(t,p)}return(r&B.Self?Fa():this.parent).get(t,n=r&B.Optional&&n===Ho?null:n)}catch(o){if("NullInjectorError"===o.name){if((o[Ta]=o[Ta]||[]).unshift(we(t)),s)throw o;return function _m(e,t,n,r){const s=e[Ta];throw t[Wc]&&s.unshift(t[Wc]),e.message=function Em(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"ɵ"==e.charAt(1)?e.slice(2):e;let s=we(t);if(Array.isArray(t))s=t.map(we).join(" -> ");else if("object"==typeof t){let i=[];for(let o in t)if(t.hasOwnProperty(o)){let p=t[o];i.push(o+":"+("string"==typeof p?JSON.stringify(p):we(p)))}s=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${s}]: ${e.replace(gm,"\n ")}`}("\n"+e.message,s,n,r),e.ngTokenPath=s,e[Ta]=null,e}(o,t,"R3InjectorError",this.source)}throw o}finally{je(i),ao(s)}}resolveInjectorInitializers(){const t=ao(this),n=je(void 0);try{const r=this.get(eu.multi,Xe,B.Self);for(const s of r)s()}finally{ao(t),je(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(we(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new $e(205,!1)}processProvider(t){let n=Bi(t=le(t))?t:le(t&&t.provide);const r=function Wy(e){return nu(e)?fo(void 0,e.useValue):fo(Qd(e),La)}(t);if(Bi(t)||!0!==t.multi)this.records.get(n);else{let s=this.records.get(n);s||(s=fo(void 0,La,!0),s.factory=()=>Sl(s.multi),this.records.set(n,s)),n=t,s.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===La&&(n.value=zy,n.value=n.factory()),"object"==typeof n.value&&n.value&&function Yy(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=le(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function iu(e){const t=On(e),n=null!==t?t.factory:Tr(e);if(null!==n)return n;if(e instanceof bn)throw new $e(204,!1);if(e instanceof Function)return function Gy(e){const t=e.length;if(t>0)throw function N(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}(t,"?"),new $e(204,!1);const n=function vn(e){const t=e&&(e[Pe]||e[ee]);if(t){const n=function ne(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new $e(204,!1)}function Qd(e,t,n){let r;if(Bi(e)){const s=le(e);return Tr(s)||iu(s)}if(nu(e))r=()=>le(e.useValue);else if(function Yd(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Sl(e.deps||[]));else if(function Kd(e){return!(!e||!e.useExisting)}(e))r=()=>er(le(e.useExisting));else{const s=le(e&&(e.useClass||e.provide));if(!function Ky(e){return!!e.deps}(e))return Tr(s)||iu(s);r=()=>new s(...Sl(e.deps))}return r}function fo(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Qy(e){return!!e.ɵproviders}function ou(e,t){for(const n of e)Array.isArray(n)?ou(n,t):Qy(n)?ou(n.ɵproviders,t):t(n)}class qd{}class Xy{resolveComponentFactory(t){throw function Jy(e){const t=Error(`No component factory found for ${we(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let Xo=(()=>{class e{}return e.NULL=new Xy,e})();function ev(){return ho(Nn(),He())}function ho(e,t){return new ea(Bn(e,t))}let ea=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=ev,e})();function tv(e){return e instanceof ea?e.nativeElement:e}class Xd{}let nv=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function rv(){const e=He(),n=Un(Nn().index,e);return(Qn(n)?n:e)[11]}(),e})(),sv=(()=>{class e{}return e.ɵprov=on({token:e,providedIn:"root",factory:()=>null}),e})();class ef{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const iv=new ef("14.3.0"),au={};function uu(e){return e.ngOriginalError}class ta{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&&uu(t);for(;n&&uu(n);)n=uu(n);return n||null}}function $s(e){return e instanceof Function?e():e}function nf(e,t,n){let r=e.length;for(;;){const s=e.indexOf(t,n);if(-1===s)return s;if(0===s||e.charCodeAt(s-1)<=32){const i=t.length;if(s+i===r||e.charCodeAt(s+i)<=32)return s}n=s+1}}const rf="ng-template";function mv(e,t,n){let r=0;for(;r<e.length;){let s=e[r++];if(n&&"class"===s){if(s=e[r],-1!==nf(s.toLowerCase(),t,0))return!0}else if(1===s){for(;r<e.length&&"string"==typeof(s=e[r++]);)if(s.toLowerCase()===t)return!0;return!1}}return!1}function sf(e){return 4===e.type&&e.value!==rf}function yv(e,t,n){return t===(4!==e.type||n?e.value:rf)}function vv(e,t,n){let r=4;const s=e.attrs||[],i=function Dv(e){for(let t=0;t<e.length;t++)if(Vt(e[t]))return t;return e.length}(s);let o=!1;for(let p=0;p<t.length;p++){const y=t[p];if("number"!=typeof y){if(!o)if(4&r){if(r=2|1&r,""!==y&&!yv(e,y,n)||""===y&&1===t.length){if(ls(r))return!1;o=!0}}else{const b=8&r?y:t[++p];if(8&r&&null!==e.attrs){if(!mv(e.attrs,b,n)){if(ls(r))return!1;o=!0}continue}const z=_v(8&r?"class":y,s,sf(e),n);if(-1===z){if(ls(r))return!1;o=!0;continue}if(""!==b){let ie;ie=z>i?"":s[z+1].toLowerCase();const ye=8&r?ie:null;if(ye&&-1!==nf(ye,b,0)||2&r&&b!==ie){if(ls(r))return!1;o=!0}}}}else{if(!o&&!ls(r)&&!ls(y))return!1;if(o&&ls(y))continue;o=!1,r=y|1&r}}return ls(r)||o}function ls(e){return 0==(1&e)}function _v(e,t,n,r){if(null===t)return-1;let s=0;if(r||!n){let i=!1;for(;s<t.length;){const o=t[s];if(o===e)return s;if(3===o||6===o)i=!0;else{if(1===o||2===o){let p=t[++s];for(;"string"==typeof p;)p=t[++s];continue}if(4===o)break;if(0===o){s+=4;continue}}s+=i?1:2}return-1}return function wv(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 af(e,t,n=!1){for(let r=0;r<t.length;r++)if(vv(e,t[r],n))return!0;return!1}function lf(e,t){return e?":not("+t.trim()+")":t}function bv(e){let t=e[0],n=1,r=2,s="",i=!1;for(;n<e.length;){let o=e[n];if("string"==typeof o)if(2&r){const p=e[++n];s+="["+o+(p.length>0?'="'+p+'"':"")+"]"}else 8&r?s+="."+o:4&r&&(s+=" "+o);else""!==s&&!ls(o)&&(t+=lf(i,s),s=""),r=o,i=i||!ls(r);n++}return""!==s&&(t+=lf(i,s)),t}const $t={};function uf(e){cf(zt(),He(),ln()+e,!1)}function cf(e,t,n,r){if(!r)if(3==(3&t[2])){const i=e.preOrderCheckHooks;null!==i&&Ir(t,i,n)}else{const i=e.preOrderHooks;null!==i&&as(t,i,0,n)}pn(n)}function pf(e,t=null,n=null,r){const s=gf(e,t,n,r);return s.resolveInjectorInitializers(),s}function gf(e,t=null,n=null,r,s=new Set){const i=[n||Xe,Hy(e)];return r=r||("object"==typeof e?void 0:we(e)),new Zd(i,t||Fa(),r||null,s)}let Hi=(()=>{class e{static create(n,r){if(Array.isArray(n))return pf({name:""},r,n,"");{const s=n.name??"";return pf({name:s},n.parent,n.providers,s)}}}return e.THROW_IF_NOT_FOUND=Ho,e.NULL=new zd,e.ɵprov=on({token:e,providedIn:"any",factory:()=>er(Vd)}),e.__NG_ELEMENT_ID__=-1,e})();function mo(e,t=B.Default){const n=He();return null===n?er(e,t):eo(Nn(),n,le(e),t)}function wf(){throw new Error("invalid")}function ja(e,t){return e<<17|t<<2}function us(e){return e>>17&32767}function pu(e){return 2|e}function zs(e){return(131068&e)>>2}function gu(e,t){return-131069&e|t<<2}function mu(e){return 1|e}function Of(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const s=n[r],i=n[r+1];if(-1!==i){const o=e.data[i];Ee(s),o.contentQueries(2,t[i],i)}}}function Ha(e,t,n,r,s,i,o,p,y,b,L){const z=t.blueprint.slice();return z[0]=s,z[2]=76|r,(null!==L||e&&1024&e[2])&&(z[2]|=1024),os(z),z[3]=z[15]=e,z[8]=n,z[10]=o||e&&e[10],z[11]=p||e&&e[11],z[12]=y||e&&e[12]||null,z[9]=b||e&&e[9]||null,z[6]=i,z[20]=function km(){return Fm++}(),z[21]=L,z[16]=2==t.type?e[16]:z,z}function yo(e,t,n,r,s){let i=e.data[t];if(null===i)i=function bu(e,t,n,r,s){const i=Os(),o=ti(),y=e.data[t]=function o_(e,t,n,r,s,i){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:s,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next: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,o?i:i&&i.parent,n,t,r,s);return null===e.firstChild&&(e.firstChild=y),null!==i&&(o?null==i.child&&null!==y.parent&&(i.child=y):null===i.next&&(i.next=y)),y}(e,t,n,r,s),function u(){return Rt.lFrame.inI18n}()&&(i.flags|=64);else if(64&i.type){i.type=n,i.value=r,i.attrs=s;const o=function $r(){const e=Rt.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===o?-1:o.injectorIndex}return Jn(i,!0),i}function vo(e,t,n,r){if(0===n)return-1;const s=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return s}function Tu(e,t,n){ft(t);try{const r=e.viewQuery;null!==r&&Ou(1,r,n);const s=e.template;null!==s&&Nf(e,t,s,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Of(e,t),e.staticViewQueries&&Ou(2,e.viewQuery,n);const i=e.components;null!==i&&function r_(e,t){for(let n=0;n<t.length;n++)w_(e,t[n])}(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,en()}}function Va(e,t,n,r){const s=t[2];if(128!=(128&s)){ft(t);try{os(t),function Ls(e){return Rt.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Nf(e,t,n,2,r);const o=3==(3&s);if(o){const b=e.preOrderCheckHooks;null!==b&&Ir(t,b,null)}else{const b=e.preOrderHooks;null!==b&&as(t,b,0,null),Fs(t,0)}if(function E_(e){for(let t=Fl(e);null!==t;t=kl(t)){if(!t[2])continue;const n=t[9];for(let r=0;r<n.length;r++){const s=n[r],i=s[3];0==(512&s[2])&&Js(i,1),s[2]|=512}}}(t),function __(e){for(let t=Fl(e);null!==t;t=kl(t))for(let n=10;n<t.length;n++){const r=t[n],s=r[1];is(r)&&Va(s,r,s.template,r[8])}}(t),null!==e.contentQueries&&Of(e,t),o){const b=e.contentCheckHooks;null!==b&&Ir(t,b)}else{const b=e.contentHooks;null!==b&&as(t,b,1),Fs(t,1)}!function t_(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const s=n[r];if(s<0)pn(~s);else{const i=s,o=n[++r],p=n[++r];E(o,i),p(2,t[i])}}}finally{pn(-1)}}(e,t);const p=e.components;null!==p&&function n_(e,t){for(let n=0;n<t.length;n++)D_(e,t[n])}(t,p);const y=e.viewQuery;if(null!==y&&Ou(2,y,r),o){const b=e.viewCheckHooks;null!==b&&Ir(t,b)}else{const b=e.viewHooks;null!==b&&as(t,b,2),Fs(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[2]&=-41,512&t[2]&&(t[2]&=-513,Js(t[3],-1))}finally{en()}}}function Nf(e,t,n,r,s){const i=ln(),o=2&r;try{pn(-1),o&&t.length>22&&cf(e,t,22,!1),n(r,s)}finally{pn(i)}}function Lf(e,t,n){if(sr(t)){const s=t.directiveEnd;for(let i=t.directiveStart;i<s;i++){const o=e.data[i];o.contentQueries&&o.contentQueries(1,n[i],i)}}}function Su(e,t,n){!ei()||(function d_(e,t,n,r){const s=n.directiveStart,i=n.directiveEnd;e.firstCreatePass||Pi(n,t),Dr(r,t);const o=n.initialInputs;for(let p=s;p<i;p++){const y=e.data[p],b=qn(y);b&&m_(t,n,y);const L=to(t,e,p,n);Dr(L,t),null!==o&&y_(0,p-s,L,y,0,o),b&&(Un(n.index,t)[8]=L)}}(e,t,n,Bn(n,t)),128==(128&n.flags)&&function f_(e,t,n){const r=n.directiveStart,s=n.directiveEnd,i=n.index,o=function P(){return Rt.lFrame.currentDirectiveIndex}();try{pn(i);for(let p=r;p<s;p++){const y=e.data[p],b=t[p];V(p),(null!==y.hostBindings||0!==y.hostVars||null!==y.hostAttrs)&&Vf(y,b)}}finally{pn(-1),V(o)}}(e,t,n))}function Iu(e,t,n=Bn){const r=t.localNames;if(null!==r){let s=t.index+1;for(let i=0;i<r.length;i+=2){const o=r[i+1],p=-1===o?n(t,e):e[o];e[s++]=p}}}function Ff(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Mu(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function Mu(e,t,n,r,s,i,o,p,y,b){const L=22+r,z=L+s,ie=function s_(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:$t);return n}(L,z),ye="function"==typeof b?b():b;return ie[1]={type:e,blueprint:ie,template:n,queries:null,viewQuery:p,declTNode:t,data:ie.slice().fill(null,L),bindingStartIndex:L,expandoStartIndex:z,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 i?i():i,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:y,consts:ye,incompleteFirstPass:!1}}function kf(e,t,n,r){const s=Kf(t);null===n?s.push(r):(s.push(n),e.firstCreatePass&&Yf(e).push(r,s.length-1))}function jf(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){const s=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,s):n[r]=[t,s]}return n}function Bf(e,t){const r=t.directiveEnd,s=e.data,i=t.attrs,o=[];let p=null,y=null;for(let b=t.directiveStart;b<r;b++){const L=s[b],z=L.inputs,ie=null===i||sf(t)?null:v_(z,i);o.push(ie),p=jf(z,b,p),y=jf(L.outputs,b,y)}null!==p&&(p.hasOwnProperty("class")&&(t.flags|=16),p.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=o,t.inputs=p,t.outputs=y}function Gr(e,t,n,r,s,i,o,p){const y=Bn(t,n);let L,b=t.inputs;!p&&null!=b&&(L=b[r])?(Nu(e,n,L,r,s),Kr(t)&&Uf(n,t.index)):3&t.type&&(r=function a_(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),s=null!=o?o(s,t.value||"",r):s,i.setProperty(y,r,s))}function Uf(e,t){const n=Un(t,e);16&n[2]||(n[2]|=32)}function Au(e,t,n,r){let s=!1;if(ei()){const i=function h_(e,t,n){const r=e.directiveRegistry;let s=null;if(r)for(let i=0;i<r.length;i++){const o=r[i];af(n,o.selectors,!1)&&(s||(s=[]),Hn(Pi(n,t),e,o.type),qn(o)?($f(e,n),s.unshift(o)):s.push(o))}return s}(e,t,n),o=null===r?null:{"":-1};if(null!==i){s=!0,zf(n,e.data.length,i.length);for(let L=0;L<i.length;L++){const z=i[L];z.providersResolver&&z.providersResolver(z)}let p=!1,y=!1,b=vo(e,t,i.length,null);for(let L=0;L<i.length;L++){const z=i[L];n.mergedAttrs=gr(n.mergedAttrs,z.hostAttrs),Gf(e,n,t,b,z),g_(b,z,o),null!==z.contentQueries&&(n.flags|=8),(null!==z.hostBindings||null!==z.hostAttrs||0!==z.hostVars)&&(n.flags|=128);const ie=z.type.prototype;!p&&(ie.ngOnChanges||ie.ngOnInit||ie.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),p=!0),!y&&(ie.ngOnChanges||ie.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),y=!0),b++}Bf(e,n)}o&&function p_(e,t,n){if(t){const r=e.localNames=[];for(let s=0;s<t.length;s+=2){const i=n[t[s+1]];if(null==i)throw new $e(-301,!1);r.push(t[s],i)}}}(n,r,o)}return n.mergedAttrs=gr(n.mergedAttrs,n.attrs),s}function Hf(e,t,n,r,s,i){const o=i.hostBindings;if(o){let p=e.hostBindingOpCodes;null===p&&(p=e.hostBindingOpCodes=[]);const y=~t.index;(function c_(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(p)!=y&&p.push(y),p.push(r,s,o)}}function Vf(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function $f(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function g_(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;qn(t)&&(n[""]=e)}}function zf(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Gf(e,t,n,r,s){e.data[r]=s;const i=s.factory||(s.factory=Tr(s.type)),o=new M(i,qn(s),mo);e.blueprint[r]=o,n[r]=o,Hf(e,t,0,r,vo(e,n,s.hostVars,$t),s)}function m_(e,t,n){const r=Bn(t,e),s=Ff(n),i=e[10],o=$a(e,Ha(e,s,null,n.onPush?32:16,r,t,i,i.createRenderer(r,n),null,null,null));e[t.index]=o}function Ds(e,t,n,r,s,i){const o=Bn(e,t);!function Pu(e,t,n,r,s,i,o){if(null==i)e.removeAttribute(t,s,n);else{const p=null==o?Ie(i):o(i,r||"",s);e.setAttribute(t,s,p,n)}}(t[11],o,i,e.value,n,r,s)}function y_(e,t,n,r,s,i){const o=i[t];if(null!==o){const p=r.setInput;for(let y=0;y<o.length;){const b=o[y++],L=o[y++],z=o[y++];null!==p?r.setInput(n,z,b,L):n[L]=z}}}function v_(e,t){let n=null,r=0;for(;r<t.length;){const s=t[r];if(0!==s)if(5!==s){if("number"==typeof s)break;e.hasOwnProperty(s)&&(null===n&&(n=[]),n.push(s,e[s],t[r+1])),r+=2}else r+=2;else r+=4}return n}function Wf(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function D_(e,t){const n=Un(t,e);if(is(n)){const r=n[1];48&n[2]?Va(r,n,r.template,n[8]):n[5]>0&&Ru(n)}}function Ru(e){for(let r=Fl(e);null!==r;r=kl(r))for(let s=10;s<r.length;s++){const i=r[s];if(is(i))if(512&i[2]){const o=i[1];Va(o,i,o.template,i[8])}else i[5]>0&&Ru(i)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const s=Un(n[r],e);is(s)&&s[5]>0&&Ru(s)}}function w_(e,t){const n=Un(t,e),r=n[1];(function C_(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(r,n),Tu(r,n,n[8])}function $a(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function xu(e){for(;e;){e[2]|=32;const t=Zo(e);if(Ss(e)&&!t)return e;e=t}return null}function za(e,t,n,r=!0){const s=t[10];s.begin&&s.begin();try{Va(e,t,e.template,n)}catch(o){throw r&&Qf(t,o),o}finally{s.end&&s.end()}}function Ou(e,t,n){Ee(0),t(e,n)}function Kf(e){return e[7]||(e[7]=[])}function Yf(e){return e.cleanup||(e.cleanup=[])}function Qf(e,t){const n=e[9],r=n?n.get(ta,null):null;r&&r.handleError(t)}function Nu(e,t,n,r,s){for(let i=0;i<n.length;){const o=n[i++],p=n[i++],y=t[o],b=e.data[o];null!==b.setInput?b.setInput(y,s,r,p):y[p]=s}}function Gs(e,t,n){const r=ss(t,e);!function gd(e,t,n){e.setValue(t,n)}(e[11],r,n)}function Ga(e,t,n){let r=n?e.styles:null,s=n?e.classes:null,i=0;if(null!==t)for(let o=0;o<t.length;o++){const p=t[o];"number"==typeof p?i=p:1==i?s=ke(s,p):2==i&&(r=ke(r,p+": "+t[++o]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=s:e.classesWithoutHost=s}function Wa(e,t,n,r,s=!1){for(;null!==n;){const i=t[n.index];if(null!==i&&r.push(Ln(i)),yr(i))for(let p=10;p<i.length;p++){const y=i[p],b=y[1].firstChild;null!==b&&Wa(y[1],y,b,r)}const o=n.type;if(8&o)Wa(e,t,n.child,r);else if(32&o){const p=Ll(n,t);let y;for(;y=p();)r.push(y)}else if(16&o){const p=Sd(t,n);if(Array.isArray(p))r.push(...p);else{const y=Zo(t[16]);Wa(y[1],y,p,r,!0)}}n=s?n.projectionNext:n.next}return r}class na{constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,n=t[1];return Wa(n,t,n.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 128==(128&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(yr(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(Ul(t,r),D(n,r))}this._attachedToViewContainer=!1}yd(this._lView[1],this._lView)}onDestroy(t){kf(this._lView[1],this._lView,null,t)}markForCheck(){xu(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){za(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new $e(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function ey(e,t){Qo(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new $e(902,!1);this._appRef=t}}class b_ extends na{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;za(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class Lu extends Xo{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=x(t);return new ra(n,this.ngModule)}}function qf(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class S_{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){const s=this.injector.get(t,au,r);return s!==au||n===au?s:this.parentInjector.get(t,n,r)}}class ra extends qd{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Tv(e){return e.map(bv).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return qf(this.componentDef.inputs)}get outputs(){return qf(this.componentDef.outputs)}create(t,n,r,s){let i=(s=s||this.ngModule)instanceof Ui?s:s?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const o=i?new S_(t,i):t,p=o.get(Xd,null);if(null===p)throw new $e(407,!1);const y=o.get(sv,null),b=p.createRenderer(null,this.componentDef),L=this.componentDef.selectors[0][0]||"div",z=r?function i_(e,t,n){return e.selectRootElement(t,n===it.ShadowDom)}(b,r,this.componentDef.encapsulation):Bl(b,L,function T_(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(L)),ie=this.componentDef.onPush?288:272,ye=Mu(0,null,null,1,0,null,null,null,null,null),Ne=Ha(null,ye,null,ie,null,null,p,b,y,o,null);let Ze,st;ft(Ne);try{const yt=function A_(e,t,n,r,s,i){const o=n[1];n[22]=e;const y=yo(o,22,2,"#host",null),b=y.mergedAttrs=t.hostAttrs;null!==b&&(Ga(y,b,!0),null!==e&&(rn(s,e,b),null!==y.classes&&Wl(s,e,y.classes),null!==y.styles&&Md(s,e,y.styles)));const L=r.createRenderer(e,t),z=Ha(n,Ff(t),null,t.onPush?32:16,n[22],y,r,L,i||null,null,null);return o.firstCreatePass&&(Hn(Pi(y,n),o,t.type),$f(o,y),zf(y,n.length,1)),$a(n,z),n[22]=z}(z,this.componentDef,Ne,p,b);if(z)if(r)rn(b,z,["ng-version",iv.full]);else{const{attrs:Tt,classes:ze}=function Sv(e){const t=[],n=[];let r=1,s=2;for(;r<e.length;){let i=e[r];if("string"==typeof i)2===s?""!==i&&t.push(i,e[++r]):8===s&&n.push(i);else{if(!ls(s))break;s=i}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);Tt&&rn(b,z,Tt),ze&&ze.length>0&&Wl(b,z,ze.join(" "))}if(st=an(ye,22),void 0!==n){const Tt=st.projection=[];for(let ze=0;ze<this.ngContentSelectors.length;ze++){const kt=n[ze];Tt.push(null!=kt?Array.from(kt):null)}}Ze=function P_(e,t,n,r){const s=n[1],i=function u_(e,t,n){const r=Nn();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Gf(e,r,t,vo(e,t,1,null),n),Bf(e,r));const s=to(t,e,r.directiveStart,r);Dr(s,t);const i=Bn(r,t);return i&&Dr(i,t),s}(s,n,t);if(e[8]=n[8]=i,null!==r)for(const p of r)p(i,t);if(t.contentQueries){const p=Nn();t.contentQueries(1,i,p.directiveStart)}const o=Nn();return!s.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(pn(o.index),Hf(n[1],o,0,o.directiveStart,o.directiveEnd,t),Vf(t,i)),i}(yt,this.componentDef,Ne,[R_]),Tu(ye,Ne,null)}finally{en()}return new M_(this.componentType,Ze,ho(st,Ne),Ne,st)}}class M_ extends class qy{}{constructor(t,n,r,s,i){super(),this.location=r,this._rootLView=s,this._tNode=i,this.instance=n,this.hostView=this.changeDetectorRef=new b_(s),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let s;if(null!==r&&(s=r[t])){const i=this._rootLView;Nu(i[1],i,s,t,n),Uf(i,this._tNode.index)}}get injector(){return new js(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function R_(){const e=Nn();zr(He()[1],e)}function Fu(e){let t=function Jf(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let s;if(qn(e))s=t.ɵcmp||t.ɵdir;else{if(t.ɵcmp)throw new $e(903,!1);s=t.ɵdir}if(s){if(n){r.push(s);const o=e;o.inputs=ku(e.inputs),o.declaredInputs=ku(e.declaredInputs),o.outputs=ku(e.outputs);const p=s.hostBindings;p&&L_(e,p);const y=s.viewQuery,b=s.contentQueries;if(y&&O_(e,y),b&&N_(e,b),Ve(e.inputs,s.inputs),Ve(e.declaredInputs,s.declaredInputs),Ve(e.outputs,s.outputs),qn(s)&&s.data.animation){const L=e.data;L.animation=(L.animation||[]).concat(s.data.animation)}}const i=s.features;if(i)for(let o=0;o<i.length;o++){const p=i[o];p&&p.ngInherit&&p(e),p===Fu&&(n=!1)}}t=Object.getPrototypeOf(t)}!function x_(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const s=e[r];s.hostVars=t+=s.hostVars,s.hostAttrs=gr(s.hostAttrs,n=gr(n,s.hostAttrs))}}(r)}function ku(e){return e===Zt?{}:e===Xe?[]:e}function O_(e,t){const n=e.viewQuery;e.viewQuery=n?(r,s)=>{t(r,s),n(r,s)}:t}function N_(e,t){const n=e.contentQueries;e.contentQueries=n?(r,s,i)=>{t(r,s,i),n(r,s,i)}:t}function L_(e,t){const n=e.hostBindings;e.hostBindings=n?(r,s)=>{t(r,s),n(r,s)}:t}let Ka=null;function Vi(){if(!Ka){const e=pt.Symbol;if(e&&e.iterator)Ka=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;n<t.length;++n){const r=t[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(Ka=r)}}}return Ka}function sa(e){return!!ju(e)&&(Array.isArray(e)||!(e instanceof Map)&&Vi()in e)}function ju(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function ws(e,t,n){return e[t]=n}function wr(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function $i(e,t,n,r){const s=wr(e,t,n);return wr(e,t+1,r)||s}function Bu(e,t,n,r){const s=He();return wr(s,_r(),t)&&(zt(),Ds(un(),s,e,t,n,r)),Bu}function Eo(e,t,n,r){return wr(e,_r(),n)?t+Ie(n)+r:$t}function Do(e,t,n,r,s,i){const p=$i(e,function Fr(){return Rt.lFrame.bindingIndex}(),n,s);return A(2),p?t+Ie(n)+r+Ie(s)+i:$t}function lh(e,t,n,r,s,i,o,p){const y=He(),b=zt(),L=e+22,z=b.firstCreatePass?function $_(e,t,n,r,s,i,o,p,y){const b=t.consts,L=yo(t,e,4,o||null,cr(b,p));Au(t,n,L,cr(b,y)),zr(t,L);const z=L.tViews=Mu(2,L,r,s,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,b);return null!==t.queries&&(t.queries.template(t,L),z.queries=t.queries.embeddedTView(L)),L}(L,b,y,t,n,r,s,i,o):b.data[L];Jn(z,!1);const ie=y[11].createComment("");Aa(b,y,ie,z),Dr(ie,y),$a(y,y[L]=Wf(ie,y,ie,z)),hs(z)&&Su(b,y,z),null!=o&&Iu(y,z,p)}function Uu(e,t,n){const r=He();return wr(r,_r(),t)&&Gr(zt(),un(),r,e,t,r[11],n,!1),Uu}function Hu(e,t,n,r,s){const o=s?"class":"style";Nu(e,n,t.inputs[o],o,r)}function Za(e,t,n,r){const s=He(),i=zt(),o=22+e,p=s[11],y=s[o]=Bl(p,t,function jr(){return Rt.lFrame.currentNamespace}()),b=i.firstCreatePass?function W_(e,t,n,r,s,i,o){const p=t.consts,b=yo(t,e,2,s,cr(p,i));return Au(t,n,b,cr(p,o)),null!==b.attrs&&Ga(b,b.attrs,!1),null!==b.mergedAttrs&&Ga(b,b.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,b),b}(o,i,s,0,t,n,r):i.data[o];Jn(b,!0);const L=b.mergedAttrs;null!==L&&rn(p,y,L);const z=b.classes;null!==z&&Wl(p,y,z);const ie=b.styles;return null!==ie&&Md(p,y,ie),64!=(64&b.flags)&&Aa(i,s,y,b),0===function Xs(){return Rt.lFrame.elementDepthCount}()&&Dr(y,s),function ys(){Rt.lFrame.elementDepthCount++}(),hs(b)&&(Su(i,s,b),Lf(i,b,s)),null!==r&&Iu(s,b),Za}function Qa(){let e=Nn();ti()?Ns():(e=e.parent,Jn(e,!1));const t=e;!function qr(){Rt.lFrame.elementDepthCount--}();const n=zt();return n.firstCreatePass&&(zr(n,e),sr(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function It(e){return 0!=(16&e.flags)}(t)&&Hu(n,t,He(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function tn(e){return 0!=(32&e.flags)}(t)&&Hu(n,t,He(),t.stylesWithoutHost,!1),Qa}function Vu(e,t,n,r){return Za(e,t,n,r),Qa(),Vu}function qa(e,t,n){const r=He(),s=zt(),i=e+22,o=s.firstCreatePass?function K_(e,t,n,r,s){const i=t.consts,o=cr(i,r),p=yo(t,e,8,"ng-container",o);return null!==o&&Ga(p,o,!0),Au(t,n,p,cr(i,s)),null!==t.queries&&t.queries.elementStart(t,p),p}(i,s,r,t,n):s.data[i];Jn(o,!0);const p=r[i]=r[11].createComment("");return Aa(s,r,p,o),Dr(p,r),hs(o)&&(Su(s,r,o),Lf(s,o,r)),null!=n&&Iu(r,o),qa}function Ja(){let e=Nn();const t=zt();return ti()?Ns():(e=e.parent,Jn(e,!1)),t.firstCreatePass&&(zr(t,e),sr(e)&&t.queries.elementEnd(e)),Ja}function ch(){return He()}function $u(e){return!!e&&"function"==typeof e.then}function dh(e){return!!e&&"function"==typeof e.subscribe}const fh=dh;function zu(e,t,n,r){const s=He(),i=zt(),o=Nn();return function ph(e,t,n,r,s,i,o,p){const y=hs(r),L=e.firstCreatePass&&Yf(e),z=t[8],ie=Kf(t);let ye=!0;if(3&r.type||p){const st=Bn(r,t),yt=p?p(st):st,Tt=ie.length,ze=p?hn=>p(Ln(hn[r.index])):r.index;let kt=null;if(!p&&y&&(kt=function Y_(e,t,n,r){const s=e.cleanup;if(null!=s)for(let i=0;i<s.length-1;i+=2){const o=s[i];if(o===n&&s[i+1]===r){const p=t[7],y=s[i+2];return p.length>y?p[y]:null}"string"==typeof o&&(i+=2)}return null}(e,t,s,r.index)),null!==kt)(kt.__ngLastListenerFn__||kt).__ngNextListenerFn__=i,kt.__ngLastListenerFn__=i,ye=!1;else{i=mh(r,t,z,i,!1);const hn=n.listen(yt,s,i);ie.push(i,hn),L&&L.push(s,ze,Tt,Tt+1)}}else i=mh(r,t,z,i,!1);const Ne=r.outputs;let Ze;if(ye&&null!==Ne&&(Ze=Ne[s])){const st=Ze.length;if(st)for(let yt=0;yt<st;yt+=2){const kn=t[Ze[yt]][Ze[yt+1]].subscribe(i),Wi=ie.length;ie.push(i,kn),L&&L.push(s,r.index,Wi,-(Wi+1))}}}(i,s,s[11],o,e,t,0,r),zu}function gh(e,t,n,r){try{return!1!==n(r)}catch(s){return Qf(e,s),!1}}function mh(e,t,n,r,s){return function i(o){if(o===Function)return r;xu(2&e.flags?Un(e.index,t):t);let y=gh(t,0,r,o),b=i.__ngNextListenerFn__;for(;b;)y=gh(t,0,b,o)&&y,b=b.__ngNextListenerFn__;return s&&!1===y&&(o.preventDefault(),o.returnValue=!1),y}}function yh(e=1){return function fn(e){return(Rt.lFrame.contextLView=function Fn(e,t){for(;e>0;)t=t[15],e--;return t}(e,Rt.lFrame.contextLView))[8]}(e)}function Xa(e,t,n,r,s){const i=He(),o=Eo(i,t,n,r);return o!==$t&&Gr(zt(),un(),i,e,o,i[11],s,!1),Xa}function Ih(e,t,n,r,s){const i=e[n+1],o=null===t;let p=r?us(i):zs(i),y=!1;for(;0!==p&&(!1===y||o);){const L=e[p+1];eE(e[p],t)&&(y=!0,e[p+1]=r?mu(L):pu(L)),p=r?us(L):zs(L)}y&&(e[n+1]=r?pu(i):mu(i))}function eE(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Er(e,t)>=0}const or={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Mh(e){return e.substring(or.key,or.keyEnd)}function Ah(e,t){const n=or.textEnd;return n===t?-1:(t=or.keyEnd=function sE(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,or.key=t,n),Mo(e,t,n))}function Mo(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Gu(e,t){return function cs(e,t,n,r){const s=He(),i=zt(),o=A(2);i.firstUpdatePass&&kh(i,e,o,r),t!==$t&&wr(s,o,t)&&Bh(i,i.data[ln()],s,s[11],e,s[o+1]=function pE(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=we(Hs(e)))),e}(t,n),r,o)}(e,t,null,!0),Gu}function Lh(e){!function ds(e,t,n,r){const s=zt(),i=A(2);s.firstUpdatePass&&kh(s,null,i,r);const o=He();if(n!==$t&&wr(o,i,n)){const p=s.data[ln()];if(Hh(p,r)&&!Fh(s,i)){let y=r?p.classesWithoutHost:p.stylesWithoutHost;null!==y&&(n=ke(y,n||"")),Hu(s,p,o,n,r)}else!function hE(e,t,n,r,s,i,o,p){s===$t&&(s=Xe);let y=0,b=0,L=0<s.length?s[0]:null,z=0<i.length?i[0]:null;for(;null!==L||null!==z;){const ie=y<s.length?s[y+1]:void 0,ye=b<i.length?i[b+1]:void 0;let Ze,Ne=null;L===z?(y+=2,b+=2,ie!==ye&&(Ne=z,Ze=ye)):null===z||null!==L&&L<z?(y+=2,Ne=L):(b+=2,Ne=z,Ze=ye),null!==Ne&&Bh(e,t,n,r,Ne,Ze,o,p),L=y<s.length?s[y]:null,z=b<i.length?i[b]:null}}(s,p,o,o[11],o[i+1],o[i+1]=function fE(e,t,n){if(null==n||""===n)return Xe;const r=[],s=Hs(n);if(Array.isArray(s))for(let i=0;i<s.length;i++)e(r,s[i],!0);else if("object"==typeof s)for(const i in s)s.hasOwnProperty(i)&&e(r,i,s[i]);else"string"==typeof s&&t(r,s);return r}(e,t,n),r,i)}}(Gt,bs,e,!0)}function bs(e,t){for(let n=function nE(e){return function Rh(e){or.key=0,or.keyEnd=0,or.value=0,or.valueEnd=0,or.textEnd=e.length}(e),Ah(e,Mo(e,0,or.textEnd))}(t);n>=0;n=Ah(t,n))Gt(e,Mh(t),!0)}function Fh(e,t){return t>=e.expandoStartIndex}function kh(e,t,n,r){const s=e.data;if(null===s[n+1]){const i=s[ln()],o=Fh(e,n);Hh(i,r)&&null===t&&!o&&(t=!1),t=function lE(e,t,n,r){const s=function te(e){const t=Rt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let i=r?t.residualClasses:t.residualStyles;if(null===s)0===(r?t.classBindings:t.styleBindings)&&(n=oa(n=Wu(null,e,t,n,r),t.attrs,r),i=null);else{const o=t.directiveStylingLast;if(-1===o||e[o]!==s)if(n=Wu(s,e,t,n,r),null===i){let y=function uE(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==zs(r))return e[us(r)]}(e,t,r);void 0!==y&&Array.isArray(y)&&(y=Wu(null,e,t,y[1],r),y=oa(y,t.attrs,r),function cE(e,t,n,r){e[us(n?t.classBindings:t.styleBindings)]=r}(e,t,r,y))}else i=function dE(e,t,n){let r;const s=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<s;i++)r=oa(r,e[i].hostAttrs,n);return oa(r,t.attrs,n)}(e,t,r)}return void 0!==i&&(r?t.residualClasses=i:t.residualStyles=i),n}(s,i,t,r),function J_(e,t,n,r,s,i){let o=i?t.classBindings:t.styleBindings,p=us(o),y=zs(o);e[r]=n;let L,b=!1;if(Array.isArray(n)){const z=n;L=z[1],(null===L||Er(z,L)>0)&&(b=!0)}else L=n;if(s)if(0!==y){const ie=us(e[p+1]);e[r+1]=ja(ie,p),0!==ie&&(e[ie+1]=gu(e[ie+1],r)),e[p+1]=function Gv(e,t){return 131071&e|t<<17}(e[p+1],r)}else e[r+1]=ja(p,0),0!==p&&(e[p+1]=gu(e[p+1],r)),p=r;else e[r+1]=ja(y,0),0===p?p=r:e[y+1]=gu(e[y+1],r),y=r;b&&(e[r+1]=pu(e[r+1])),Ih(e,L,r,!0),Ih(e,L,r,!1),function X_(e,t,n,r,s){const i=s?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&Er(i,t)>=0&&(n[r+1]=mu(n[r+1]))}(t,L,e,r,i),o=ja(p,y),i?t.classBindings=o:t.styleBindings=o}(s,i,t,n,o,r)}}function Wu(e,t,n,r,s){let i=null;const o=n.directiveEnd;let p=n.directiveStylingLast;for(-1===p?p=n.directiveStart:p++;p<o&&(i=t[p],r=oa(r,i.hostAttrs,s),i!==e);)p++;return null!==e&&(n.directiveStylingLast=p),r}function oa(e,t,n){const r=n?1:2;let s=-1;if(null!==t)for(let i=0;i<t.length;i++){const o=t[i];"number"==typeof o?s=o:s===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Gt(e,o,!!n||t[++i]))}return void 0===e?null:e}function Bh(e,t,n,r,s,i,o,p){if(!(3&t.type))return;const y=e.data,b=y[p+1];el(function Tf(e){return 1==(1&e)}(b)?Uh(y,t,n,s,zs(b),o):void 0)||(el(i)||function bf(e){return 2==(2&e)}(b)&&(i=Uh(y,null,n,s,p,o)),function cy(e,t,n,r,s){if(t)s?e.addClass(n,r):e.removeClass(n,r);else{let i=-1===r.indexOf("-")?void 0:Es.DashCase;null==s?e.removeStyle(n,r,i):("string"==typeof s&&s.endsWith("!important")&&(s=s.slice(0,-10),i|=Es.Important),e.setStyle(n,r,s,i))}}(r,o,ss(ln(),n),s,i))}function Uh(e,t,n,r,s,i){const o=null===t;let p;for(;s>0;){const y=e[s],b=Array.isArray(y),L=b?y[1]:y,z=null===L;let ie=n[s+1];ie===$t&&(ie=z?Xe:void 0);let ye=z?dr(ie,r):L===r?ie:void 0;if(b&&!el(ye)&&(ye=dr(y,r)),el(ye)&&(p=ye,o))return p;const Ne=e[s+1];s=o?us(Ne):zs(Ne)}if(null!==t){let y=i?t.residualClasses:t.residualStyles;null!=y&&(p=dr(y,r))}return p}function el(e){return void 0!==e}function Hh(e,t){return 0!=(e.flags&(t?16:32))}function Vh(e,t=""){const n=He(),r=zt(),s=e+22,i=r.firstCreatePass?yo(r,s,1,t,null):r.data[s],o=n[s]=function jl(e,t){return e.createText(t)}(n[11],t);Aa(r,n,o,i),Jn(i,!1)}function Ku(e){return tl("",e,""),Ku}function tl(e,t,n){const r=He(),s=Eo(r,e,t,n);return s!==$t&&Gs(r,ln(),s),tl}function Yu(e,t,n,r,s){const i=He(),o=Do(i,e,t,n,r,s);return o!==$t&&Gs(i,ln(),o),Yu}const zi=void 0;var NE=["en",[["a","p"],["AM","PM"],zi],[["AM","PM"],zi,zi],[["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"]],zi,[["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"]],zi,[["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}",zi,"{1} 'at' {0}",zi],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function OE(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let Ao={};function Zu(e){const t=function LE(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=lp(t);if(n)return n;const r=t.split("-")[0];if(n=lp(r),n)return n;if("en"===r)return NE;throw new $e(701,!1)}function ap(e){return Zu(e)[Nt.PluralCase]}function lp(e){return e in Ao||(Ao[e]=pt.ng&&pt.ng.common&&pt.ng.common.locales&&pt.ng.common.locales[e]),Ao[e]}var Nt=(()=>((Nt=Nt||{})[Nt.LocaleId=0]="LocaleId",Nt[Nt.DayPeriodsFormat=1]="DayPeriodsFormat",Nt[Nt.DayPeriodsStandalone=2]="DayPeriodsStandalone",Nt[Nt.DaysFormat=3]="DaysFormat",Nt[Nt.DaysStandalone=4]="DaysStandalone",Nt[Nt.MonthsFormat=5]="MonthsFormat",Nt[Nt.MonthsStandalone=6]="MonthsStandalone",Nt[Nt.Eras=7]="Eras",Nt[Nt.FirstDayOfWeek=8]="FirstDayOfWeek",Nt[Nt.WeekendRange=9]="WeekendRange",Nt[Nt.DateFormat=10]="DateFormat",Nt[Nt.TimeFormat=11]="TimeFormat",Nt[Nt.DateTimeFormat=12]="DateTimeFormat",Nt[Nt.NumberSymbols=13]="NumberSymbols",Nt[Nt.NumberFormats=14]="NumberFormats",Nt[Nt.CurrencyCode=15]="CurrencyCode",Nt[Nt.CurrencySymbol=16]="CurrencySymbol",Nt[Nt.CurrencyName=17]="CurrencyName",Nt[Nt.Currencies=18]="Currencies",Nt[Nt.Directionality=19]="Directionality",Nt[Nt.PluralCase=20]="PluralCase",Nt[Nt.ExtraData=21]="ExtraData",Nt))();const Po="en-US";let up=Po;function Ju(e,t,n,r,s){if(e=le(e),Array.isArray(e))for(let i=0;i<e.length;i++)Ju(e[i],t,n,r,s);else{const i=zt(),o=He();let p=Bi(e)?e:le(e.provide),y=Qd(e);const b=Nn(),L=1048575&b.providerIndexes,z=b.directiveStart,ie=b.providerIndexes>>20;if(Bi(e)||!e.multi){const ye=new M(y,s,mo),Ne=ec(p,t,s?L:L+ie,z);-1===Ne?(Hn(Pi(b,o),i,p),Xu(i,e,t.length),t.push(p),b.directiveStart++,b.directiveEnd++,s&&(b.providerIndexes+=1048576),n.push(ye),o.push(ye)):(n[Ne]=ye,o[Ne]=ye)}else{const ye=ec(p,t,L+ie,z),Ne=ec(p,t,L,L+ie),Ze=ye>=0&&n[ye],st=Ne>=0&&n[Ne];if(s&&!st||!s&&!Ze){Hn(Pi(b,o),i,p);const yt=function xD(e,t,n,r,s){const i=new M(e,n,mo);return i.multi=[],i.index=t,i.componentProviders=0,Np(i,s,r&&!n),i}(s?RD:PD,n.length,s,r,y);!s&&st&&(n[Ne].providerFactory=yt),Xu(i,e,t.length,0),t.push(p),b.directiveStart++,b.directiveEnd++,s&&(b.providerIndexes+=1048576),n.push(yt),o.push(yt)}else Xu(i,e,ye>-1?ye:Ne,Np(n[s?Ne:ye],y,!s&&r));!s&&r&&st&&n[Ne].componentProviders++}}}function Xu(e,t,n,r){const s=Bi(t),i=function $y(e){return!!e.useClass}(t);if(s||i){const y=(i?le(t.useClass):t).prototype.ngOnDestroy;if(y){const b=e.destroyHooks||(e.destroyHooks=[]);if(!s&&t.multi){const L=b.indexOf(n);-1===L?b.push(n,[r,y]):b[L+1].push(r,y)}else b.push(n,y)}}}function Np(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function ec(e,t,n,r){for(let s=n;s<r;s++)if(t[s]===e)return s;return-1}function PD(e,t,n,r){return tc(this.multi,[])}function RD(e,t,n,r){const s=this.multi;let i;if(this.providerFactory){const o=this.providerFactory.componentProviders,p=to(n,n[1],this.providerFactory.index,r);i=p.slice(0,o),tc(s,i);for(let y=o;y<p.length;y++)i.push(p[y])}else i=[],tc(s,i);return i}function tc(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function Lp(e,t=[]){return n=>{n.providersResolver=(r,s)=>function AD(e,t,n){const r=zt();if(r.firstCreatePass){const s=qn(e);Ju(n,r.data,r.blueprint,s,!0),Ju(t,r.data,r.blueprint,s,!1)}}(r,s?s(e):e,t)}}class Ro{}class Fp{}function OD(e,t){return new kp(e,t??null)}class kp extends Ro{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Lu(this);const r=Dt(t);this._bootstrapComponents=$s(r.bootstrap),this._r3Injector=gf(t,n,[{provide:Ro,useValue:this},{provide:Xo,useValue:this.componentFactoryResolver}],we(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}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 nc extends Fp{constructor(t){super(),this.moduleType=t}create(t){return new kp(this.moduleType,t)}}class ND extends Ro{constructor(t,n,r){super(),this.componentFactoryResolver=new Lu(this),this.instance=null;const s=new Zd([...t,{provide:Ro,useValue:this},{provide:Xo,useValue:this.componentFactoryResolver}],n||Fa(),r,new Set(["environment"]));this.injector=s,s.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function rc(e,t,n=null){return new ND(e,t,n).injector}let LD=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n.id)){const r=Gd(0,n.type),s=r.length>0?rc([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n.id,s)}return this.cachedInjectors.get(n.id)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return e.ɵprov=on({token:e,providedIn:"environment",factory:()=>new e(er(Ui))}),e})();function jp(e){e.getStandaloneInjector=t=>t.get(LD).getOrCreateStandaloneInjector(e)}function Gp(e,t,n,r){return Kp(He(),Kn(),e,t,n,r)}function Wp(e,t,n,r,s){return function Yp(e,t,n,r,s,i,o){const p=t+n;return $i(e,p,s,i)?ws(e,p+2,o?r.call(o,s,i):r(s,i)):fa(e,p+2)}(He(),Kn(),e,t,n,r,s)}function fa(e,t){const n=e[t];return n===$t?void 0:n}function Kp(e,t,n,r,s,i){const o=t+n;return wr(e,o,s)?ws(e,o+1,i?r.call(i,s):r(s)):fa(e,o+1)}function Jp(e,t){const n=zt();let r;const s=e+22;n.firstCreatePass?(r=function JD(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[s]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(s,r.onDestroy)):r=n.data[s];const i=r.factory||(r.factory=Tr(r.type)),o=je(mo);try{const p=ri(!1),y=i();return ri(p),function z_(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,He(),s,y),y}finally{je(o)}}function Xp(e,t,n){const r=e+22,s=He(),i=function ur(e,t){return e[t]}(s,r);return function ha(e,t){return e[1].data[t].pure}(s,r)?Kp(s,Kn(),t,i.transform,n,i):i.transform(n)}function ic(e){return t=>{setTimeout(e,void 0,t)}}const Ts=class r0 extends l.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let s=t,i=n||(()=>null),o=r;if(t&&"object"==typeof t){const y=t;s=y.next?.bind(y),i=y.error?.bind(y),o=y.complete?.bind(y)}this.__isAsync&&(i=ic(i),s&&(s=ic(s)),o&&(o=ic(o)));const p=super.subscribe({next:s,error:i,complete:o});return t instanceof _.w0&&t.add(p),p}};function s0(){return this._results[Vi()]()}class oc{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=Vi(),r=oc.prototype;r[n]||(r[n]=s0)}get changes(){return this._changes||(this._changes=new Ts)}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){const r=this;r.dirty=!1;const s=d(t);(this._changesDetected=!function c(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let s=e[r],i=t[r];if(n&&(s=n(s),i=n(i)),i!==s)return!1}return!0}(r._results,s,n))&&(r._results=s,r.length=s.length,r.last=s[this.length-1],r.first=s[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let pa=(()=>{class e{}return e.__NG_ELEMENT_ID__=l0,e})();const o0=pa,a0=class extends o0{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t,n){const r=this._declarationTContainer.tViews,s=Ha(this._declarationLView,r,t,16,null,r.declTNode,null,null,null,null,n||null);s[17]=this._declarationLView[this._declarationTContainer.index];const o=this._declarationLView[19];return null!==o&&(s[19]=o.createEmbeddedView(r)),Tu(r,s,t),new na(s)}};function l0(){return ol(Nn(),He())}function ol(e,t){return 4&e.type?new a0(t,e,ho(e,t)):null}let al=(()=>{class e{}return e.__NG_ELEMENT_ID__=u0,e})();function u0(){return ng(Nn(),He())}const c0=al,eg=class extends c0{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return ho(this._hostTNode,this._hostLView)}get injector(){return new js(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ri(this._hostTNode,this._hostLView);if(Jr(t)){const n=Ar(t,this._hostLView),r=mr(t);return new js(n[1].data[r+8],n)}return new js(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=tg(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){let s,i;"number"==typeof r?s=r:null!=r&&(s=r.index,i=r.injector);const o=t.createEmbeddedView(n||{},i);return this.insert(o,s),o}createComponent(t,n,r,s,i){const o=t&&!function Ni(e){return"function"==typeof e}(t);let p;if(o)p=n;else{const z=n||{};p=z.index,r=z.injector,s=z.projectableNodes,i=z.environmentInjector||z.ngModuleRef}const y=o?t:new ra(x(t)),b=r||this.parentInjector;if(!i&&null==y.ngModule){const ie=(o?b:this.parentInjector).get(Ui,null);ie&&(i=ie)}const L=y.create(b,s,void 0,i);return this.insert(L.hostView,p),L}insert(t,n){const r=t._lView,s=r[1];if(function qs(e){return yr(e[3])}(r)){const L=this.indexOf(t);if(-1!==L)this.detach(L);else{const z=r[3],ie=new eg(z,z[6],z[3]);ie.detach(ie.indexOf(t))}}const i=this._adjustIndex(n),o=this._lContainer;!function ny(e,t,n,r){const s=10+r,i=n.length;r>0&&(n[s-1][4]=t),r<i-10?(t[4]=n[s],v(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const o=t[17];null!==o&&n!==o&&function ry(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(o,t);const p=t[19];null!==p&&p.insertView(e),t[2]|=64}(s,r,o,i);const p=$l(i,o),y=r[11],b=Ma(y,o[7]);return null!==b&&function Xm(e,t,n,r,s,i){r[0]=s,r[6]=t,Qo(e,r,n,1,s,i)}(s,o[6],y,r,b,p),t.attachToViewContainerRef(),v(ac(o),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=tg(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Ul(this._lContainer,n);r&&(D(ac(this._lContainer),n),yd(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=Ul(this._lContainer,n);return r&&null!=D(ac(this._lContainer),n)?new na(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function tg(e){return e[8]}function ac(e){return e[8]||(e[8]=[])}function ng(e,t){let n;const r=t[e.index];if(yr(r))n=r;else{let s;if(8&e.type)s=Ln(r);else{const i=t[11];s=i.createComment("");const o=Bn(e,t);Fi(i,Ma(i,o),s,function ay(e,t){return e.nextSibling(t)}(i,o),!1)}t[e.index]=n=Wf(r,t,s,e),$a(t,n)}return new eg(n,e,t)}class lc{constructor(t){this.queryList=t,this.matches=null}clone(){return new lc(this.queryList)}setDirty(){this.queryList.setDirty()}}class uc{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,s=[];for(let i=0;i<r;i++){const o=n.getByIndex(i);s.push(this.queries[o.indexInDeclarationView].clone())}return new uc(s)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==dg(t,n).matches&&this.queries[n].setDirty()}}class rg{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class cc{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 s=null!==n?n.length:0,i=this.getByIndex(r).embeddedTView(t,s);i&&(i.indexInDeclarationView=r,null!==n?n.push(i):n=[i])}return null!==n?new cc(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 dc{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 dc(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(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 s=0;s<r.length;s++){const i=r[s];this.matchTNodeWithReadOption(t,n,h0(n,i)),this.matchTNodeWithReadOption(t,n,xi(n,t,i,!1,!1))}else r===pa?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,xi(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const s=this.metadata.read;if(null!==s)if(s===ea||s===al||s===pa&&4&n.type)this.addMatch(n.index,-2);else{const i=xi(n,t,s,!1,!1);null!==i&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function h0(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 g0(e,t,n,r){return-1===n?function p0(e,t){return 11&e.type?ho(e,t):4&e.type?ol(e,t):null}(t,e):-2===n?function m0(e,t,n){return n===ea?ho(t,e):n===pa?ol(t,e):n===al?ng(t,e):void 0}(e,t,r):to(e,e[1],n,t)}function sg(e,t,n,r){const s=t[19].queries[r];if(null===s.matches){const i=e.data,o=n.matches,p=[];for(let y=0;y<o.length;y+=2){const b=o[y];p.push(b<0?null:g0(t,i[b],o[y+1],n.metadata.read))}s.matches=p}return s.matches}function fc(e,t,n,r){const s=e.queries.getByIndex(n),i=s.matches;if(null!==i){const o=sg(e,t,s,n);for(let p=0;p<i.length;p+=2){const y=i[p];if(y>0)r.push(o[p/2]);else{const b=i[p+1],L=t[-y];for(let z=10;z<L.length;z++){const ie=L[z];ie[17]===ie[3]&&fc(ie[1],ie,b,r)}if(null!==L[9]){const z=L[9];for(let ie=0;ie<z.length;ie++){const ye=z[ie];fc(ye[1],ye,b,r)}}}}}return r}function ig(e){const t=He(),n=zt(),r=se();Ee(r+1);const s=dg(n,r);if(e.dirty&&function Zi(e){return 4==(4&e[2])}(t)===(2==(2&s.metadata.flags))){if(null===s.matches)e.reset([]);else{const i=s.crossesNgTemplate?fc(n,t,r,[]):sg(n,t,s,r);e.reset(i,tv),e.notifyOnChanges()}return!0}return!1}function og(e,t,n){const r=zt();r.firstCreatePass&&(cg(r,new rg(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),ug(r,He(),t)}function ag(e,t,n,r){const s=zt();if(s.firstCreatePass){const i=Nn();cg(s,new rg(t,n,r),i.index),function v0(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(s,e),2==(2&n)&&(s.staticContentQueries=!0)}ug(s,He(),n)}function lg(){return function y0(e,t){return e[19].queries[t].queryList}(He(),se())}function ug(e,t,n){const r=new oc(4==(4&n));kf(e,t,r,r.destroy),null===t[19]&&(t[19]=new uc),t[19].queries.push(new lc(r))}function cg(e,t,n){null===e.queries&&(e.queries=new cc),e.queries.track(new dc(t,n))}function dg(e,t){return e.queries.getByIndex(t)}function ul(...e){}const Pg=new bn("Application Initializer");let cl=(()=>{class e{constructor(n){this.appInits=n,this.resolve=ul,this.reject=ul,this.initialized=!1,this.done=!1,this.donePromise=new Promise(((r,s)=>{this.resolve=r,this.reject=s}))}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let s=0;s<this.appInits.length;s++){const i=this.appInits[s]();if($u(i))n.push(i);else if(fh(i)){const o=new Promise(((p,y)=>{i.subscribe({complete:p,error:y})}));n.push(o)}}Promise.all(n).then((()=>{r()})).catch((s=>{this.reject(s)})),0===n.length&&r(),this.initialized=!0}}return e.ɵfac=function(n){return new(n||e)(er(Pg,8))},e.ɵprov=on({token:e,factory:e.ɵfac,providedIn:"root"}),e})();const Rg=new bn("AppId",{providedIn:"root",factory:function xg(){return`${yc()}${yc()}${yc()}`}});function yc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Og=new bn("Platform Initializer"),B0=new bn("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Ng=new bn("appBootstrapListener"),U0=new bn("AnimationModuleType");let H0=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.ɵfac=function(n){return new(n||e)},e.ɵprov=on({token:e,factory:e.ɵfac,providedIn:"platform"}),e})();const dl=new bn("LocaleId",{providedIn:"root",factory:()=>Yc(dl,B.Optional|B.SkipSelf)||function V0(){return typeof $localize<"u"&&$localize.locale||Po}()}),$0=new bn("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class z0{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let G0=(()=>{class e{compileModuleSync(n){return new nc(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),i=$s(Dt(n).declarations).reduce(((o,p)=>{const y=x(p);return y&&o.push(new ra(y)),o}),[]);return new z0(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.ɵfac=function(n){return new(n||e)},e.ɵprov=on({token:e,factory:e.ɵfac,providedIn:"root"}),e})();const Y0=(()=>Promise.resolve(0))();function vc(e){typeof Zone>"u"?Y0.then((()=>{e&&e.apply(null,null)})):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class ts{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ts(!1),this.onMicrotaskEmpty=new Ts(!1),this.onStable=new Ts(!1),this.onError=new Ts(!1),typeof Zone>"u")throw new $e(908,!1);Zone.assertZonePatched();const s=this;if(s._nesting=0,s._outer=s._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const i=Zone.AsyncStackTaggingZoneSpec;s._inner=s._inner.fork(new i("Angular"))}Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!r&&n,s.shouldCoalesceRunChangeDetection=r,s.lastRequestAnimationFrameId=-1,s.nativeRequestAnimationFrame=function Z0(){let e=pt.requestAnimationFrame,t=pt.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function J0(e){const t=()=>{!function q0(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(pt,(()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",(()=>{e.lastRequestAnimationFrameId=-1,Ec(e),e.isCheckStableRunning=!0,_c(e),e.isCheckStableRunning=!1}),void 0,(()=>{}),(()=>{}))),e.fakeTopEventTask.invoke()})),Ec(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,s,i,o,p)=>{try{return kg(e),n.invokeTask(s,i,o,p)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),jg(e)}},onInvoke:(n,r,s,i,o,p,y)=>{try{return kg(e),n.invoke(s,i,o,p,y)}finally{e.shouldCoalesceRunChangeDetection&&t(),jg(e)}},onHasTask:(n,r,s,i)=>{n.hasTask(s,i),r===s&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Ec(e),_c(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,s,i)=>(n.handleError(s,i),e.runOutsideAngular((()=>e.onError.emit(i))),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ts.isInAngularZone())throw new $e(909,!1)}static assertNotInAngularZone(){if(ts.isInAngularZone())throw new $e(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,s){const i=this._inner,o=i.scheduleEventTask("NgZoneEvent: "+s,t,Q0,ul,ul);try{return i.runTask(o,n,r)}finally{i.cancelTask(o)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const Q0={};function _c(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 Ec(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function kg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function jg(e){e._nesting--,_c(e)}class X0{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ts,this.onMicrotaskEmpty=new Ts,this.onStable=new Ts,this.onError=new Ts}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,s){return t.apply(n,r)}}const Bg=new bn(""),Ug=new bn("");let Dc,ew=(()=>{class e{constructor(n,r,s){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Dc||(function tw(e){Dc=e}(s),s.addToWindow(r)),this._watchAngularEvents(),n.run((()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")}))}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular((()=>{this._ngZone.onStable.subscribe({next:()=>{ts.assertNotInAngularZone(),vc((()=>{this._isZoneStable=!0,this._runCallbacksIfReady()}))}})}))}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())vc((()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1}));else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter((r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1))),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map((n=>({source:n.source,creationLocation:n.creationLocation,data:n.data}))):[]}addCallback(n,r,s){let i=-1;r&&r>0&&(i=setTimeout((()=>{this._callbacks=this._callbacks.filter((o=>o.timeoutId!==i)),n(this._didWork,this.getPendingTasks())}),r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:s})}whenStable(n,r,s){if(s&&!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,s),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,s){return[]}}return e.ɵfac=function(n){return new(n||e)(er(ts),er(Hg),er(Ug))},e.ɵprov=on({token:e,factory:e.ɵfac}),e})(),Hg=(()=>{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 Dc?.findTestabilityInTree(this,n,r)??null}}return e.ɵfac=function(n){return new(n||e)},e.ɵprov=on({token:e,factory:e.ɵfac,providedIn:"platform"}),e})(),ui=null;const Vg=new bn("AllowMultipleToken"),wc=new bn("PlatformDestroyListeners");class sw{constructor(t,n){this.name=t,this.token=n}}function zg(e,t,n=[]){const r=`Platform: ${t}`,s=new bn(r);return(i=[])=>{let o=Cc();if(!o||o.injector.get(Vg,!1)){const p=[...n,...i,{provide:s,useValue:!0}];e?e(p):function iw(e){if(ui&&!ui.get(Vg,!1))throw new $e(400,!1);ui=e;const t=e.get(Wg);(function $g(e){const t=e.get(Og,null);t&&t.forEach((n=>n()))})(e)}(function Gg(e=[],t){return Hi.create({name:t,providers:[{provide:ru,useValue:"platform"},{provide:wc,useValue:new Set([()=>ui=null])},...e]})}(p,r))}return function aw(e){const t=Cc();if(!t)throw new $e(401,!1);return t}()}}function Cc(){return ui?.get(Wg)??null}let Wg=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const s=function Yg(e,t){let n;return n="noop"===e?new X0:("zone.js"===e?void 0:e)||new ts(t),n}(r?.ngZone,function Kg(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(r)),i=[{provide:ts,useValue:s}];return s.run((()=>{const o=Hi.create({providers:i,parent:this.injector,name:n.moduleType.name}),p=n.create(o),y=p.injector.get(ta,null);if(!y)throw new $e(402,!1);return s.runOutsideAngular((()=>{const b=s.onError.subscribe({next:L=>{y.handleError(L)}});p.onDestroy((()=>{hl(this._modules,p),b.unsubscribe()}))})),function Zg(e,t,n){try{const r=n();return $u(r)?r.catch((s=>{throw t.runOutsideAngular((()=>e.handleError(s))),s})):r}catch(r){throw t.runOutsideAngular((()=>e.handleError(r))),r}}(y,s,(()=>{const b=p.injector.get(cl);return b.runInitializers(),b.donePromise.then((()=>(function cp(e){vt(e,"Expected localeId to be defined"),"string"==typeof e&&(up=e.toLowerCase().replace(/_/g,"-"))}(p.injector.get(dl,Po)||Po),this._moduleDoBootstrap(p),p)))}))}))}bootstrapModule(n,r=[]){const s=Qg({},r);return function nw(e,t,n){const r=new nc(n);return Promise.resolve(r)}(0,0,n).then((i=>this.bootstrapModuleFactory(i,s)))}_moduleDoBootstrap(n){const r=n.injector.get(fl);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach((s=>r.bootstrap(s)));else{if(!n.instance.ngDoBootstrap)throw new $e(403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new $e(404,!1);this._modules.slice().forEach((r=>r.destroy())),this._destroyListeners.forEach((r=>r()));const n=this._injector.get(wc,null);n&&(n.forEach((r=>r())),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.ɵfac=function(n){return new(n||e)(er(Hi))},e.ɵprov=on({token:e,factory:e.ɵfac,providedIn:"platform"}),e})();function Qg(e,t){return Array.isArray(t)?t.reduce(Qg,e):{...e,...t}}let fl=(()=>{class e{constructor(n,r,s){this._zone=n,this._injector=r,this._exceptionHandler=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run((()=>{this.tick()}))}});const i=new C.y((p=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular((()=>{p.next(this._stable),p.complete()}))})),o=new C.y((p=>{let y;this._zone.runOutsideAngular((()=>{y=this._zone.onStable.subscribe((()=>{ts.assertNotInAngularZone(),vc((()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,p.next(!0))}))}))}));const b=this._zone.onUnstable.subscribe((()=>{ts.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular((()=>{p.next(!1)})))}));return()=>{y.unsubscribe(),b.unsubscribe()}}));this.isStable=function U(...e){const t=(0,R.yG)(e),n=(0,R._6)(e,1/0),r=e;return r.length?1===r.length?(0,T.Xf)(r[0]):(0,I.J)(n)((0,F.D)(r,t)):O.E}(i,o.pipe(function be(e={}){const{connector:t=(()=>new l.x),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:s=!0}=e;return i=>{let o=null,p=null,y=null,b=0,L=!1,z=!1;const ie=()=>{p?.unsubscribe(),p=null},ye=()=>{ie(),o=y=null,L=z=!1},Ne=()=>{const Ze=o;ye(),Ze?.unsubscribe()};return(0,re.e)(((Ze,st)=>{b++,!z&&!L&&ie();const yt=y=y??t();st.add((()=>{b--,0===b&&!z&&!L&&(p=he(Ne,s))})),yt.subscribe(st),o||(o=new G.Hp({next:Tt=>yt.next(Tt),error:Tt=>{z=!0,ie(),p=he(ye,n,Tt),yt.error(Tt)},complete:()=>{L=!0,ie(),p=he(ye,r),yt.complete()}}),(0,F.D)(Ze).subscribe(o))}))(i)}}()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const s=n instanceof qd;if(!this._injector.get(cl).done)throw!s&&Je(n),new $e(405,false);let o;o=s?n:this._injector.get(Xo).resolveComponentFactory(n),this.componentTypes.push(o.componentType);const p=function rw(e){return e.isBoundToModule}(o)?void 0:this._injector.get(Ro),b=o.create(Hi.NULL,[],r||o.selector,p),L=b.location.nativeElement,z=b.injector.get(Bg,null);return z?.registerApplication(L),b.onDestroy((()=>{this.detachView(b.hostView),hl(this.components,b),z?.unregisterApplication(L)})),this._loadComponent(b),b}tick(){if(this._runningTick)throw new $e(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular((()=>this._exceptionHandler.handleError(n)))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;hl(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Ng,[]).concat(this._bootstrapListeners).forEach((s=>s(n)))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach((n=>n())),this._views.slice().forEach((n=>n.destroy())),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>hl(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new $e(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.ɵfac=function(n){return new(n||e)(er(ts),er(Ui),er(ta))},e.ɵprov=on({token:e,factory:e.ɵfac,providedIn:"root"}),e})();function hl(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let Jg=!0;function uw(){Jg=!1}let cw=(()=>{class e{}return e.__NG_ELEMENT_ID__=dw,e})();function dw(e){return function fw(e,t,n){if(Kr(e)&&!n){const r=Un(e.index,t);return new na(r,r)}return 47&e.type?new na(t[16],t):null}(Nn(),He(),16==(16&e))}class rm{constructor(){}supports(t){return sa(t)}create(t){return new vw(t)}}const yw=(e,t)=>t;class vw{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||yw}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,s=0,i=null;for(;n||r;){const o=!r||n&&n.currentIndex<im(r,s,i)?n:r,p=im(o,s,i),y=o.currentIndex;if(o===r)s--,r=r._nextRemoved;else if(n=n._next,null==o.previousIndex)s++;else{i||(i=[]);const b=p-s,L=y-s;if(b!=L){for(let ie=0;ie<b;ie++){const ye=ie<i.length?i[ie]:i[ie]=0,Ne=ye+ie;L<=Ne&&Ne<b&&(i[ie]=ye+1)}i[o.previousIndex]=L-b}}p!==y&&t(o,p,y)}}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=[]),!sa(t))throw new $e(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let s,i,o,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let p=0;p<this.length;p++)i=t[p],o=this._trackByFn(p,i),null!==n&&Object.is(n.trackById,o)?(r&&(n=this._verifyReinsertion(n,i,o,p)),Object.is(n.item,i)||this._addIdentityChange(n,i)):(n=this._mismatch(n,i,o,p),r=!0),n=n._next}else s=0,function U_(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Vi()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,(p=>{o=this._trackByFn(s,p),null!==n&&Object.is(n.trackById,o)?(r&&(n=this._verifyReinsertion(n,p,o,s)),Object.is(n.item,p)||this._addIdentityChange(n,p)):(n=this._mismatch(n,p,o,s),r=!0),n=n._next,s++})),this.length=s;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,s){let i;return null===t?i=this._itTail:(i=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,i,s)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,s))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,s)):t=this._addAfter(new _w(n,r),i,s),t}_verifyReinsertion(t,n,r,s){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?t=this._reinsertAfter(i,t._prev,s):t.currentIndex!=s&&(t.currentIndex=s,this._addToMoves(t,s)),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 s=t._prevRemoved,i=t._nextRemoved;return null===s?this._removalsHead=i:s._nextRemoved=i,null===i?this._removalsTail=s:i._prevRemoved=s,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 s=null===n?this._itHead:n._next;return t._next=s,t._prev=n,null===s?this._itTail=t:s._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new sm),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 sm),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 _w{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 Ew{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 sm{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new Ew,this.map.set(n,r)),r.add(t)}get(t,n){const s=this.map.get(t);return s?s.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 im(e,t,n){const r=e.previousIndex;if(null===r)return r;let s=0;return n&&r<n.length&&(s=n[r]),r+t+s}class om{constructor(){}supports(t){return t instanceof Map||ju(t)}create(){return new Dw}}class Dw{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||ju(t)))throw new $e(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,s)=>{if(n&&n.key===s)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const i=this._getOrCreateRecordForKey(s,r);n=this._insertBeforeOrAppend(n,i)}})),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 s=this._records.get(t);this._maybeAddToChanges(s,n);const i=s._prev,o=s._next;return i&&(i._next=o),o&&(o._prev=i),s._next=null,s._prev=null,s}const r=new ww(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 ww{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 am(){return new Mc([new rm])}let Mc=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const s=r.factories.slice();n=n.concat(s)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||am()),deps:[[e,new Go,new zo]]}}find(n){const r=this.factories.find((s=>s.supports(n)));if(null!=r)return r;throw new $e(901,!1)}}return e.ɵprov=on({token:e,providedIn:"root",factory:am}),e})();function lm(){return new Ac([new om])}let Ac=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(r){const s=r.factories.slice();n=n.concat(s)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||lm()),deps:[[e,new Go,new zo]]}}find(n){const r=this.factories.find((s=>s.supports(n)));if(r)return r;throw new $e(901,!1)}}return e.ɵprov=on({token:e,providedIn:"root",factory:lm}),e})();const Tw=zg(null,"core",[]);let Sw=(()=>{class e{constructor(n){}}return e.ɵfac=function(n){return new(n||e)(er(fl))},e.ɵmod=In({type:e}),e.ɵinj=Wn({}),e})();function Iw(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}},1516:(k,S,h)=>{"use strict";h.d(S,{PW:()=>Kn});var l=h(8256),_=h(1481),C=h(7340);function T(A){return new l.vHH(3e3,!1)}function gn(){return typeof window<"u"&&typeof window.document<"u"}function Kt(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function Tn(A){switch(A.length){case 0:return new C.ZN;case 1:return A[0];default:return new C.ZE(A)}}function vt(A,u,f,E,P=new Map,V=new Map){const te=[],se=[];let Ee=-1,Oe=null;if(E.forEach((ot=>{const ft=ot.get("offset"),Ht=ft==Ee,jt=Ht&&Oe||new Map;ot.forEach(((Mt,Ot)=>{let en=Ot,fn=Mt;if("offset"!==Ot)switch(en=u.normalizePropertyName(en,te),fn){case C.k1:fn=P.get(Ot);break;case C.l3:fn=V.get(Ot);break;default:fn=u.normalizeStyleValue(Ot,en,fn,te)}jt.set(en,fn)})),Ht||se.push(jt),Oe=jt,Ee=ft})),te.length)throw function _e(A){return new l.vHH(3502,!1)}();return se}function Lt(A,u,f,E){switch(u){case"start":A.onStart((()=>E(f&&Wr(f,"start",A))));break;case"done":A.onDone((()=>E(f&&Wr(f,"done",A))));break;case"destroy":A.onDestroy((()=>E(f&&Wr(f,"destroy",A))))}}function Wr(A,u,f){const V=Gn(A.element,A.triggerName,A.fromState,A.toState,u||A.phaseName,f.totalTime??A.totalTime,!!f.disabled),te=A._data;return null!=te&&(V._data=te),V}function Gn(A,u,f,E,P="",V=0,te){return{element:A,triggerName:u,fromState:f,toState:E,phaseName:P,totalTime:V,disabled:!!te}}function Sn(A,u,f){let E=A.get(u);return E||A.set(u,E=f),E}function on(A){const u=A.indexOf(":");return[A.substring(1,u),A.slice(u+1)]}let xn=(A,u)=>!1,Wn=(A,u,f)=>[],On=null;function yn(A){const u=A.parentNode||A.host;return u===On?null:u}(Kt()||typeof Element<"u")&&(gn()?(On=(()=>document.documentElement)(),xn=(A,u)=>{for(;u;){if(u===A)return!0;u=yn(u)}return!1}):xn=(A,u)=>A.contains(u),Wn=(A,u,f)=>{if(f)return Array.from(A.querySelectorAll(u));const E=A.querySelector(u);return E?[E]:[]});let ne=null,me=!1;const $=xn,B=Wn;let Te=(()=>{class A{validateStyleProperty(f){return function Pe(A){ne||(ne=function ee(){return typeof document<"u"?document.body:null}()||{},me=!!ne.style&&"WebkitAppearance"in ne.style);let u=!0;return ne.style&&!function vn(A){return"ebkit"==A.substring(1,6)}(A)&&(u=A in ne.style,!u&&me&&(u="Webkit"+A.charAt(0).toUpperCase()+A.slice(1)in ne.style)),u}(f)}matchesElement(f,E){return!1}containsElement(f,E){return $(f,E)}getParentElement(f){return yn(f)}query(f,E,P){return B(f,E,P)}computeStyle(f,E,P){return P||""}animate(f,E,P,V,te,se=[],Ee){return new C.ZN(P,V)}}return A.ɵfac=function(f){return new(f||A)},A.ɵprov=l.Yz7({token:A,factory:A.ɵfac}),A})(),je=(()=>{class A{}return A.NOOP=new Te,A})();const Be="ng-enter",_t="ng-leave",Bt="ng-trigger",it=".ng-trigger",pt="ng-animating",at=".ng-animating";function nt(A){if("number"==typeof A)return A;const u=A.match(/^(-?[\.\d]+)(m?s)/);return!u||u.length<2?0:Zt(parseFloat(u[1]),u[2])}function Zt(A,u){return"s"===u?1e3*A:A}function Xe(A,u,f){return A.hasOwnProperty("duration")?A:function Yt(A,u,f){let P,V=0,te="";if("string"==typeof A){const se=A.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===se)return u.push(T()),{duration:0,delay:0,easing:""};P=Zt(parseFloat(se[1]),se[2]);const Ee=se[3];null!=Ee&&(V=Zt(parseFloat(Ee),se[4]));const Oe=se[5];Oe&&(te=Oe)}else P=A;if(!f){let se=!1,Ee=u.length;P<0&&(u.push(function O(){return new l.vHH(3100,!1)}()),se=!0),V<0&&(u.push(function R(){return new l.vHH(3101,!1)}()),se=!0),se&&u.splice(Ee,0,T())}return{duration:P,delay:V,easing:te}}(A,u,f)}function Ft(A,u={}){return Object.keys(A).forEach((f=>{u[f]=A[f]})),u}function lt(A){const u=new Map;return Object.keys(A).forEach((f=>{u.set(f,A[f])})),u}function bt(A,u=new Map,f){if(f)for(let[E,P]of f)u.set(E,P);for(let[E,P]of A)u.set(E,P);return u}function At(A,u,f){return f?u+":"+f+";":""}function _n(A){let u="";for(let f=0;f<A.style.length;f++){const E=A.style.item(f);u+=At(0,E,A.style.getPropertyValue(E))}for(const f in A.style)A.style.hasOwnProperty(f)&&!f.startsWith("_")&&(u+=At(0,Fe(f),A.style[f]));A.setAttribute("style",u)}function En(A,u,f){A.style&&(u.forEach(((E,P)=>{const V=W(P);f&&!f.has(P)&&f.set(P,A.style[V]),A.style[V]=E})),Kt()&&_n(A))}function Jt(A,u){A.style&&(u.forEach(((f,E)=>{const P=W(E);A.style[P]=""})),Kt()&&_n(A))}function Xt(A){return Array.isArray(A)?1==A.length?A[0]:(0,C.vP)(A):A}const Pn=new RegExp("{{\\s*(.+?)\\s*}}","g");function ce(A){let u=[];if("string"==typeof A){let f;for(;f=Pn.exec(A);)u.push(f[1]);Pn.lastIndex=0}return u}function J(A,u,f){const E=A.toString(),P=E.replace(Pn,((V,te)=>{let se=u[te];return null==se&&(f.push(function U(A){return new l.vHH(3003,!1)}()),se=""),se.toString()}));return P==E?A:P}function H(A){const u=[];let f=A.next();for(;!f.done;)u.push(f.value),f=A.next();return u}const x=/-+([a-z0-9])/g;function W(A){return A.replace(x,((...u)=>u[1].toUpperCase()))}function Fe(A){return A.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Re(A,u,f){switch(u.type){case 7:return A.visitTrigger(u,f);case 0:return A.visitState(u,f);case 1:return A.visitTransition(u,f);case 2:return A.visitSequence(u,f);case 3:return A.visitGroup(u,f);case 4:return A.visitAnimate(u,f);case 5:return A.visitKeyframes(u,f);case 6:return A.visitStyle(u,f);case 8:return A.visitReference(u,f);case 9:return A.visitAnimateChild(u,f);case 10:return A.visitAnimateRef(u,f);case 11:return A.visitQuery(u,f);case 12:return A.visitStagger(u,f);default:throw function j(A){return new l.vHH(3004,!1)}()}}function De(A,u){return window.getComputedStyle(A)[u]}function Qt(A,u){const f=[];return"string"==typeof A?A.split(/\s*,\s*/).forEach((E=>function ut(A,u,f){if(":"==A[0]){const Ee=function tr(A,u){switch(A){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(f,E)=>parseFloat(E)>parseFloat(f);case":decrement":return(f,E)=>parseFloat(E)<parseFloat(f);default:return u.push(function Qe(A){return new l.vHH(3016,!1)}()),"* => *"}}(A,f);if("function"==typeof Ee)return void u.push(Ee);A=Ee}const E=A.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==E||E.length<4)return f.push(function $e(A){return new l.vHH(3015,!1)}()),u;const P=E[1],V=E[2],te=E[3];u.push(ar(P,te));"<"==V[0]&&!("*"==P&&"*"==te)&&u.push(ar(te,P))}(E,f,u))):f.push(A),f}const Mn=new Set(["true","1"]),fr=new Set(["false","0"]);function ar(A,u){const f=Mn.has(A)||fr.has(A),E=Mn.has(u)||fr.has(u);return(P,V)=>{let te="*"==A||A==P,se="*"==u||u==V;return!te&&f&&"boolean"==typeof P&&(te=P?Mn.has(A):fr.has(A)),!se&&E&&"boolean"==typeof V&&(se=V?Mn.has(u):fr.has(u)),te&&se}}const nr=new RegExp("s*:selfs*,?","g");function lr(A,u,f,E){return new Cr(A).build(u,f,E)}class Cr{constructor(u){this._driver=u}build(u,f,E){const P=new rr(f);return this._resetContextStyleTimingState(P),Re(this,Xt(u),P)}_resetContextStyleTimingState(u){u.currentQuerySelector="",u.collectedStyles=new Map,u.collectedStyles.set("",new Map),u.currentTime=0}visitTrigger(u,f){let E=f.queryCount=0,P=f.depCount=0;const V=[],te=[];return"@"==u.name.charAt(0)&&f.errors.push(function re(){return new l.vHH(3006,!1)}()),u.definitions.forEach((se=>{if(this._resetContextStyleTimingState(f),0==se.type){const Ee=se,Oe=Ee.name;Oe.toString().split(/\s*,\s*/).forEach((ot=>{Ee.name=ot,V.push(this.visitState(Ee,f))})),Ee.name=Oe}else if(1==se.type){const Ee=this.visitTransition(se,f);E+=Ee.queryCount,P+=Ee.depCount,te.push(Ee)}else f.errors.push(function be(){return new l.vHH(3007,!1)}())})),{type:7,name:u.name,states:V,transitions:te,queryCount:E,depCount:P,options:null}}visitState(u,f){const E=this.visitStyle(u.styles,f),P=u.options&&u.options.params||null;if(E.containsDynamicStyles){const V=new Set,te=P||{};E.styles.forEach((se=>{se instanceof Map&&se.forEach((Ee=>{ce(Ee).forEach((Oe=>{te.hasOwnProperty(Oe)||V.add(Oe)}))}))})),V.size&&(H(V.values()),f.errors.push(function he(A,u){return new l.vHH(3008,!1)}()))}return{type:0,name:u.name,style:E,options:P?{params:P}:null}}visitTransition(u,f){f.queryCount=0,f.depCount=0;const E=Re(this,Xt(u.animation),f);return{type:1,matchers:Qt(u.expr,f.errors),animation:E,queryCount:f.queryCount,depCount:f.depCount,options:Rn(u.options)}}visitSequence(u,f){return{type:2,steps:u.steps.map((E=>Re(this,E,f))),options:Rn(u.options)}}visitGroup(u,f){const E=f.currentTime;let P=0;const V=u.steps.map((te=>{f.currentTime=E;const se=Re(this,te,f);return P=Math.max(P,f.currentTime),se}));return f.currentTime=P,{type:3,steps:V,options:Rn(u.options)}}visitAnimate(u,f){const E=function An(A,u){if(A.hasOwnProperty("duration"))return A;if("number"==typeof A)return Or(Xe(A,u).duration,0,"");const f=A;if(f.split(/\s+/).some((V=>"{"==V.charAt(0)&&"{"==V.charAt(1)))){const V=Or(0,0,"");return V.dynamic=!0,V.strValue=f,V}const P=Xe(f,u);return Or(P.duration,P.delay,P.easing)}(u.timings,f.errors);f.currentAnimateTimings=E;let P,V=u.styles?u.styles:(0,C.oB)({});if(5==V.type)P=this.visitKeyframes(V,f);else{let te=u.styles,se=!1;if(!te){se=!0;const Oe={};E.easing&&(Oe.easing=E.easing),te=(0,C.oB)(Oe)}f.currentTime+=E.duration+E.delay;const Ee=this.visitStyle(te,f);Ee.isEmptyStep=se,P=Ee}return f.currentAnimateTimings=null,{type:4,timings:E,style:P,options:null}}visitStyle(u,f){const E=this._makeStyleAst(u,f);return this._validateStyleAst(E,f),E}_makeStyleAst(u,f){const E=[],P=Array.isArray(u.styles)?u.styles:[u.styles];for(let se of P)"string"==typeof se?se===C.l3?E.push(se):f.errors.push(new l.vHH(3002,!1)):E.push(lt(se));let V=!1,te=null;return E.forEach((se=>{if(se instanceof Map&&(se.has("easing")&&(te=se.get("easing"),se.delete("easing")),!V))for(let Ee of se.values())if(Ee.toString().indexOf("{{")>=0){V=!0;break}})),{type:6,styles:E,easing:te,offset:u.offset,containsDynamicStyles:V,options:null}}_validateStyleAst(u,f){const E=f.currentAnimateTimings;let P=f.currentTime,V=f.currentTime;E&&V>0&&(V-=E.duration+E.delay),u.styles.forEach((te=>{"string"!=typeof te&&te.forEach(((se,Ee)=>{const Oe=f.collectedStyles.get(f.currentQuerySelector),ot=Oe.get(Ee);let ft=!0;ot&&(V!=P&&V>=ot.startTime&&P<=ot.endTime&&(f.errors.push(function we(A,u,f,E,P){return new l.vHH(3010,!1)}()),ft=!1),V=ot.startTime),ft&&Oe.set(Ee,{startTime:V,endTime:P}),f.options&&function In(A,u,f){const E=u.params||{},P=ce(A);P.length&&P.forEach((V=>{E.hasOwnProperty(V)||f.push(function F(A){return new l.vHH(3001,!1)}())}))}(se,f.options,f.errors)}))}))}visitKeyframes(u,f){const E={type:5,styles:[],options:null};if(!f.currentAnimateTimings)return f.errors.push(function ke(){return new l.vHH(3011,!1)}()),E;let V=0;const te=[];let se=!1,Ee=!1,Oe=0;const ot=u.steps.map((fn=>{const Fn=this._makeStyleAst(fn,f);let ln=null!=Fn.offset?Fn.offset:function hr(A){if("string"==typeof A)return null;let u=null;if(Array.isArray(A))A.forEach((f=>{if(f instanceof Map&&f.has("offset")){const E=f;u=parseFloat(E.get("offset")),E.delete("offset")}}));else if(A instanceof Map&&A.has("offset")){const f=A;u=parseFloat(f.get("offset")),f.delete("offset")}return u}(Fn.styles),pn=0;return null!=ln&&(V++,pn=Fn.offset=ln),Ee=Ee||pn<0||pn>1,se=se||pn<Oe,Oe=pn,te.push(pn),Fn}));Ee&&f.errors.push(function Le(){return new l.vHH(3012,!1)}()),se&&f.errors.push(function qe(){return new l.vHH(3200,!1)}());const ft=u.steps.length;let Ht=0;V>0&&V<ft?f.errors.push(function le(){return new l.vHH(3202,!1)}()):0==V&&(Ht=1/(ft-1));const jt=ft-1,Mt=f.currentTime,Ot=f.currentAnimateTimings,en=Ot.duration;return ot.forEach(((fn,Fn)=>{const ln=Ht>0?Fn==jt?1:Ht*Fn:te[Fn],pn=ln*en;f.currentTime=Mt+Ot.delay+pn,Ot.duration=pn,this._validateStyleAst(fn,f),fn.offset=ln,E.styles.push(fn)})),E}visitReference(u,f){return{type:8,animation:Re(this,Xt(u.animation),f),options:Rn(u.options)}}visitAnimateChild(u,f){return f.depCount++,{type:9,options:Rn(u.options)}}visitAnimateRef(u,f){return{type:10,animation:this.visitReference(u.animation,f),options:Rn(u.options)}}visitQuery(u,f){const E=f.currentQuerySelector,P=u.options||{};f.queryCount++,f.currentQuery=u;const[V,te]=function br(A){const u=!!A.split(/\s*,\s*/).find((f=>":self"==f));return u&&(A=A.replace(nr,"")),A=A.replace(/@\*/g,it).replace(/@\w+/g,(f=>it+"-"+f.slice(1))).replace(/:animating/g,at),[A,u]}(u.selector);f.currentQuerySelector=E.length?E+" "+V:V,Sn(f.collectedStyles,f.currentQuerySelector,new Map);const se=Re(this,Xt(u.animation),f);return f.currentQuery=null,f.currentQuerySelector=E,{type:11,selector:V,limit:P.limit||0,optional:!!P.optional,includeSelf:te,animation:se,originalSelector:u.selector,options:Rn(u.options)}}visitStagger(u,f){f.currentQuery||f.errors.push(function fe(){return new l.vHH(3013,!1)}());const E="full"===u.timings?{duration:0,delay:0,easing:"full"}:Xe(u.timings,f.errors,!0);return{type:12,animation:Re(this,Xt(u.animation),f),timings:E,options:null}}}class rr{constructor(u){this.errors=u,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 Rn(A){return A?(A=Ft(A)).params&&(A.params=function nn(A){return A?Ft(A):null}(A.params)):A={},A}function Or(A,u,f){return{duration:A,delay:u,easing:f}}function ns(A,u,f,E,P,V,te=null,se=!1){return{type:1,element:A,keyframes:u,preStyleProps:f,postStyleProps:E,duration:P,delay:V,totalTime:P+V,easing:te,subTimeline:se}}class pr{constructor(){this._map=new Map}get(u){return this._map.get(u)||[]}append(u,f){let E=this._map.get(u);E||this._map.set(u,E=[]),E.push(...f)}has(u){return this._map.has(u)}clear(){this._map.clear()}}const Qn=new RegExp(":enter","g"),sr=new RegExp(":leave","g");function Kr(A,u,f,E,P,V=new Map,te=new Map,se,Ee,Oe=[]){return(new hs).buildKeyframes(A,u,f,E,P,V,te,se,Ee,Oe)}class hs{buildKeyframes(u,f,E,P,V,te,se,Ee,Oe,ot=[]){Oe=Oe||new pr;const ft=new Ss(u,f,Oe,P,V,ot,[]);ft.options=Ee;const Ht=Ee.delay?nt(Ee.delay):0;ft.currentTimeline.delayNextStep(Ht),ft.currentTimeline.setStyles([te],null,ft.errors,Ee),Re(this,E,ft);const jt=ft.timelines.filter((Mt=>Mt.containsAnimation()));if(jt.length&&se.size){let Mt;for(let Ot=jt.length-1;Ot>=0;Ot--){const en=jt[Ot];if(en.element===f){Mt=en;break}}Mt&&!Mt.allowOnlyTimelineStyles()&&Mt.setStyles([se],null,ft.errors,Ee)}return jt.length?jt.map((Mt=>Mt.buildKeyframes())):[ns(f,[],[],[],0,Ht,"",!1)]}visitTrigger(u,f){}visitState(u,f){}visitTransition(u,f){}visitAnimateChild(u,f){const E=f.subInstructions.get(f.element);if(E){const P=f.createSubContext(u.options),V=f.currentTimeline.currentTime,te=this._visitSubInstructions(E,P,P.options);V!=te&&f.transformIntoNewTimeline(te)}f.previousNode=u}visitAnimateRef(u,f){const E=f.createSubContext(u.options);E.transformIntoNewTimeline(),this._applyAnimationRefDelays([u.options,u.animation.options],f,E),this.visitReference(u.animation,E),f.transformIntoNewTimeline(E.currentTimeline.currentTime),f.previousNode=u}_applyAnimationRefDelays(u,f,E){for(const P of u){const V=P?.delay;if(V){const te="number"==typeof V?V:nt(J(V,P?.params??{},f.errors));E.delayNextStep(te)}}}_visitSubInstructions(u,f,E){let V=f.currentTimeline.currentTime;const te=null!=E.duration?nt(E.duration):null,se=null!=E.delay?nt(E.delay):null;return 0!==te&&u.forEach((Ee=>{const Oe=f.appendInstructionToTimeline(Ee,te,se);V=Math.max(V,Oe.duration+Oe.delay)})),V}visitReference(u,f){f.updateOptions(u.options,!0),Re(this,u.animation,f),f.previousNode=u}visitSequence(u,f){const E=f.subContextCount;let P=f;const V=u.options;if(V&&(V.params||V.delay)&&(P=f.createSubContext(V),P.transformIntoNewTimeline(),null!=V.delay)){6==P.previousNode.type&&(P.currentTimeline.snapshotCurrentStyles(),P.previousNode=qn);const te=nt(V.delay);P.delayNextStep(te)}u.steps.length&&(u.steps.forEach((te=>Re(this,te,P))),P.currentTimeline.applyStylesToKeyframe(),P.subContextCount>E&&P.transformIntoNewTimeline()),f.previousNode=u}visitGroup(u,f){const E=[];let P=f.currentTimeline.currentTime;const V=u.options&&u.options.delay?nt(u.options.delay):0;u.steps.forEach((te=>{const se=f.createSubContext(u.options);V&&se.delayNextStep(V),Re(this,te,se),P=Math.max(P,se.currentTimeline.currentTime),E.push(se.currentTimeline)})),E.forEach((te=>f.currentTimeline.mergeTimelineCollectedStyles(te))),f.transformIntoNewTimeline(P),f.previousNode=u}_visitTiming(u,f){if(u.dynamic){const E=u.strValue;return Xe(f.params?J(E,f.params,f.errors):E,f.errors)}return{duration:u.duration,delay:u.delay,easing:u.easing}}visitAnimate(u,f){const E=f.currentAnimateTimings=this._visitTiming(u.timings,f),P=f.currentTimeline;E.delay&&(f.incrementTime(E.delay),P.snapshotCurrentStyles());const V=u.style;5==V.type?this.visitKeyframes(V,f):(f.incrementTime(E.duration),this.visitStyle(V,f),P.applyStylesToKeyframe()),f.currentAnimateTimings=null,f.previousNode=u}visitStyle(u,f){const E=f.currentTimeline,P=f.currentAnimateTimings;!P&&E.hasCurrentStyleProperties()&&E.forwardFrame();const V=P&&P.easing||u.easing;u.isEmptyStep?E.applyEmptyStep(V):E.setStyles(u.styles,V,f.errors,f.options),f.previousNode=u}visitKeyframes(u,f){const E=f.currentAnimateTimings,P=f.currentTimeline.duration,V=E.duration,se=f.createSubContext().currentTimeline;se.easing=E.easing,u.styles.forEach((Ee=>{se.forwardTime((Ee.offset||0)*V),se.setStyles(Ee.styles,Ee.easing,f.errors,f.options),se.applyStylesToKeyframe()})),f.currentTimeline.mergeTimelineCollectedStyles(se),f.transformIntoNewTimeline(P+V),f.previousNode=u}visitQuery(u,f){const E=f.currentTimeline.currentTime,P=u.options||{},V=P.delay?nt(P.delay):0;V&&(6===f.previousNode.type||0==E&&f.currentTimeline.hasCurrentStyleProperties())&&(f.currentTimeline.snapshotCurrentStyles(),f.previousNode=qn);let te=E;const se=f.invokeQuery(u.selector,u.originalSelector,u.limit,u.includeSelf,!!P.optional,f.errors);f.currentQueryTotal=se.length;let Ee=null;se.forEach(((Oe,ot)=>{f.currentQueryIndex=ot;const ft=f.createSubContext(u.options,Oe);V&&ft.delayNextStep(V),Oe===f.element&&(Ee=ft.currentTimeline),Re(this,u.animation,ft),ft.currentTimeline.applyStylesToKeyframe(),te=Math.max(te,ft.currentTimeline.currentTime)})),f.currentQueryIndex=0,f.currentQueryTotal=0,f.transformIntoNewTimeline(te),Ee&&(f.currentTimeline.mergeTimelineCollectedStyles(Ee),f.currentTimeline.snapshotCurrentStyles()),f.previousNode=u}visitStagger(u,f){const E=f.parentContext,P=f.currentTimeline,V=u.timings,te=Math.abs(V.duration),se=te*(f.currentQueryTotal-1);let Ee=te*f.currentQueryIndex;switch(V.duration<0?"reverse":V.easing){case"reverse":Ee=se-Ee;break;case"full":Ee=E.currentStaggerTime}const ot=f.currentTimeline;Ee&&ot.delayNextStep(Ee);const ft=ot.currentTime;Re(this,u.animation,f),f.previousNode=u,E.currentStaggerTime=P.currentTime-ft+(P.startTime-E.currentTimeline.startTime)}}const qn={};class Ss{constructor(u,f,E,P,V,te,se,Ee){this._driver=u,this.element=f,this.subInstructions=E,this._enterClassName=P,this._leaveClassName=V,this.errors=te,this.timelines=se,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=qn,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Ee||new rs(this._driver,f,0),se.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(u,f){if(!u)return;const E=u;let P=this.options;null!=E.duration&&(P.duration=nt(E.duration)),null!=E.delay&&(P.delay=nt(E.delay));const V=E.params;if(V){let te=P.params;te||(te=this.options.params={}),Object.keys(V).forEach((se=>{(!f||!te.hasOwnProperty(se))&&(te[se]=J(V[se],te,this.errors))}))}}_copyOptions(){const u={};if(this.options){const f=this.options.params;if(f){const E=u.params={};Object.keys(f).forEach((P=>{E[P]=f[P]}))}}return u}createSubContext(u=null,f,E){const P=f||this.element,V=new Ss(this._driver,P,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(P,E||0));return V.previousNode=this.previousNode,V.currentAnimateTimings=this.currentAnimateTimings,V.options=this._copyOptions(),V.updateOptions(u),V.currentQueryIndex=this.currentQueryIndex,V.currentQueryTotal=this.currentQueryTotal,V.parentContext=this,this.subContextCount++,V}transformIntoNewTimeline(u){return this.previousNode=qn,this.currentTimeline=this.currentTimeline.fork(this.element,u),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(u,f,E){const P={duration:f??u.duration,delay:this.currentTimeline.currentTime+(E??0)+u.delay,easing:""},V=new di(this._driver,u.element,u.keyframes,u.preStyleProps,u.postStyleProps,P,u.stretchStartingKeyframe);return this.timelines.push(V),P}incrementTime(u){this.currentTimeline.forwardTime(this.currentTimeline.duration+u)}delayNextStep(u){u>0&&this.currentTimeline.delayNextStep(u)}invokeQuery(u,f,E,P,V,te){let se=[];if(P&&se.push(this.element),u.length>0){u=(u=u.replace(Qn,"."+this._enterClassName)).replace(sr,"."+this._leaveClassName);let Oe=this._driver.query(this.element,u,1!=E);0!==E&&(Oe=E<0?Oe.slice(Oe.length+E,Oe.length):Oe.slice(0,E)),se.push(...Oe)}return!V&&0==se.length&&te.push(function Ye(A){return new l.vHH(3014,!1)}()),se}}class rs{constructor(u,f,E,P){this._driver=u,this.element=f,this.startTime=E,this._elementTimelineStylesLookup=P,this.duration=0,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(f),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(f,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(u){const f=1===this._keyframes.size&&this._pendingStyles.size;this.duration||f?(this.forwardTime(this.currentTime+u),f&&this.snapshotCurrentStyles()):this.startTime+=u}fork(u,f){return this.applyStylesToKeyframe(),new rs(this._driver,u,f||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(u){this.applyStylesToKeyframe(),this.duration=u,this._loadKeyframe()}_updateStyle(u,f){this._localTimelineStyles.set(u,f),this._globalTimelineStyles.set(u,f),this._styleSummary.set(u,{time:this.currentTime,value:f})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(u){u&&this._previousKeyframe.set("easing",u);for(let[f,E]of this._globalTimelineStyles)this._backFill.set(f,E||C.l3),this._currentKeyframe.set(f,C.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(u,f,E,P){f&&this._previousKeyframe.set("easing",f);const V=P&&P.params||{},te=function Ks(A,u){const f=new Map;let E;return A.forEach((P=>{if("*"===P){E=E||u.keys();for(let V of E)f.set(V,C.l3)}else bt(P,f)})),f}(u,this._globalTimelineStyles);for(let[se,Ee]of te){const Oe=J(Ee,V,E);this._pendingStyles.set(se,Oe),this._localTimelineStyles.has(se)||this._backFill.set(se,this._globalTimelineStyles.get(se)??C.l3),this._updateStyle(se,Oe)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach(((u,f)=>{this._currentKeyframe.set(f,u)})),this._pendingStyles.clear(),this._localTimelineStyles.forEach(((u,f)=>{this._currentKeyframe.has(f)||this._currentKeyframe.set(f,u)})))}snapshotCurrentStyles(){for(let[u,f]of this._localTimelineStyles)this._pendingStyles.set(u,f),this._updateStyle(u,f)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const u=[];for(let f in this._currentKeyframe)u.push(f);return u}mergeTimelineCollectedStyles(u){u._styleSummary.forEach(((f,E)=>{const P=this._styleSummary.get(E);(!P||f.time>P.time)&&this._updateStyle(E,f.value)}))}buildKeyframes(){this.applyStylesToKeyframe();const u=new Set,f=new Set,E=1===this._keyframes.size&&0===this.duration;let P=[];this._keyframes.forEach(((se,Ee)=>{const Oe=bt(se,new Map,this._backFill);Oe.forEach(((ot,ft)=>{ot===C.k1?u.add(ft):ot===C.l3&&f.add(ft)})),E||Oe.set("offset",Ee/this.duration),P.push(Oe)}));const V=u.size?H(u.values()):[],te=f.size?H(f.values()):[];if(E){const se=P[0],Ee=new Map(se);se.set("offset",0),Ee.set("offset",1),P=[se,Ee]}return ns(this.element,P,V,te,this.duration,this.startTime,this.easing,!1)}}class di extends rs{constructor(u,f,E,P,V,te,se=!1){super(u,f,te.delay),this.keyframes=E,this.preStyleProps=P,this.postStyleProps=V,this._stretchStartingKeyframe=se,this.timings={duration:te.duration,delay:te.delay,easing:te.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let u=this.keyframes,{delay:f,duration:E,easing:P}=this.timings;if(this._stretchStartingKeyframe&&f){const V=[],te=E+f,se=f/te,Ee=bt(u[0]);Ee.set("offset",0),V.push(Ee);const Oe=bt(u[0]);Oe.set("offset",Is(se)),V.push(Oe);const ot=u.length-1;for(let ft=1;ft<=ot;ft++){let Ht=bt(u[ft]);const jt=Ht.get("offset");Ht.set("offset",Is((f+jt*E)/te)),V.push(Ht)}E=te,f=0,P="",u=V}return ns(this.element,u,this.preStyleProps,this.postStyleProps,E,f,P,!0)}}function Is(A,u=3){const f=Math.pow(10,u-1);return Math.round(A*f)/f}class vr{}const hi=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 pi extends vr{normalizePropertyName(u,f){return W(u)}normalizeStyleValue(u,f,E,P){let V="";const te=E.toString().trim();if(hi.has(f)&&0!==E&&"0"!==E)if("number"==typeof E)V="px";else{const se=E.match(/^[+-]?[\d\.]+([a-z]*)$/);se&&0==se[1].length&&P.push(function G(A,u){return new l.vHH(3005,!1)}())}return te+V}}function gi(A,u,f,E,P,V,te,se,Ee,Oe,ot,ft,Ht){return{type:0,element:A,triggerName:u,isRemovalTransition:P,fromState:f,fromStyles:V,toState:E,toStyles:te,timelines:se,queriedElements:Ee,preStyleProps:Oe,postStyleProps:ot,totalTime:ft,errors:Ht}}const Nr={};class Ys{constructor(u,f,E){this._triggerName=u,this.ast=f,this._stateStyles=E}match(u,f,E,P){return function gs(A,u,f,E,P){return A.some((V=>V(u,f,E,P)))}(this.ast.matchers,u,f,E,P)}buildStyles(u,f,E){let P=this._stateStyles.get("*");return void 0!==u&&(P=this._stateStyles.get(u?.toString())||P),P?P.buildStyles(f,E):new Map}build(u,f,E,P,V,te,se,Ee,Oe,ot){const ft=[],Ht=this.ast.options&&this.ast.options.params||Nr,Mt=this.buildStyles(E,se&&se.params||Nr,ft),Ot=Ee&&Ee.params||Nr,en=this.buildStyles(P,Ot,ft),fn=new Set,Fn=new Map,ln=new Map,pn="void"===P,un={params:mi(Ot,Ht),delay:this.ast.options?.delay},ir=ot?[]:Kr(u,f,this.ast.animation,V,te,Mt,en,un,Oe,ft);let Xn=0;if(ir.forEach((kr=>{Xn=Math.max(kr.duration+kr.delay,Xn)})),ft.length)return gi(f,this._triggerName,E,P,pn,Mt,en,[],[],Fn,ln,Xn,ft);ir.forEach((kr=>{const jr=kr.element,Ai=Sn(Fn,jr,new Set);kr.preStyleProps.forEach((Ir=>Ai.add(Ir)));const zr=Sn(ln,jr,new Set);kr.postStyleProps.forEach((Ir=>zr.add(Ir))),jr!==f&&fn.add(jr)}));const Sr=H(fn.values());return gi(f,this._triggerName,E,P,pn,Mt,en,ir,Sr,Fn,ln,Xn)}}function mi(A,u){const f=Ft(u);for(const E in A)A.hasOwnProperty(E)&&null!=A[E]&&(f[E]=A[E]);return f}class Zs{constructor(u,f,E){this.styles=u,this.defaultParams=f,this.normalizer=E}buildStyles(u,f){const E=new Map,P=Ft(this.defaultParams);return Object.keys(u).forEach((V=>{const te=u[V];null!==te&&(P[V]=te)})),this.styles.styles.forEach((V=>{"string"!=typeof V&&V.forEach(((te,se)=>{te&&(te=J(te,P,f));const Ee=this.normalizer.normalizePropertyName(se,f);te=this.normalizer.normalizeStyleValue(se,Ee,te,f),E.set(Ee,te)}))})),E}}class Yr{constructor(u,f,E){this.name=u,this.ast=f,this._normalizer=E,this.transitionFactories=[],this.states=new Map,f.states.forEach((P=>{this.states.set(P.name,new Zs(P.style,P.options&&P.options.params||{},E))})),vi(this.states,"true","1"),vi(this.states,"false","0"),f.transitions.forEach((P=>{this.transitionFactories.push(new Ys(u,P,this.states))})),this.fallbackTransition=function Ur(A,u,f){return new Ys(A,{type:1,animation:{type:2,steps:[],options:null},matchers:[(te,se)=>!0],options:null,queryCount:0,depCount:0},u)}(u,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(u,f,E,P){return this.transitionFactories.find((te=>te.match(u,f,E,P)))||null}matchStyles(u,f,E){return this.fallbackTransition.buildStyles(u,f,E)}}function vi(A,u,f){A.has(u)?A.has(f)||A.set(f,A.get(u)):A.has(f)&&A.set(u,A.get(f))}const Ms=new pr;class Ki{constructor(u,f,E){this.bodyNode=u,this._driver=f,this._normalizer=E,this._animations=new Map,this._playersById=new Map,this.players=[]}register(u,f){const E=[],V=lr(this._driver,f,E,[]);if(E.length)throw function ve(A){return new l.vHH(3503,!1)}();this._animations.set(u,V)}_buildPlayer(u,f,E){const P=u.element,V=vt(0,this._normalizer,0,u.keyframes,f,E);return this._driver.animate(P,V,u.duration,u.delay,u.easing,[],!0)}create(u,f,E={}){const P=[],V=this._animations.get(u);let te;const se=new Map;if(V?(te=Kr(this._driver,f,V,Be,_t,new Map,new Map,E,Ms,P),te.forEach((ot=>{const ft=Sn(se,ot.element,new Map);ot.postStyleProps.forEach((Ht=>ft.set(Ht,null)))}))):(P.push(function Z(){return new l.vHH(3300,!1)}()),te=[]),P.length)throw function ae(A){return new l.vHH(3504,!1)}();se.forEach(((ot,ft)=>{ot.forEach(((Ht,jt)=>{ot.set(jt,this._driver.computeStyle(ft,jt,C.l3))}))}));const Oe=Tn(te.map((ot=>{const ft=se.get(ot.element);return this._buildPlayer(ot,new Map,ft)})));return this._playersById.set(u,Oe),Oe.onDestroy((()=>this.destroy(u))),this.players.push(Oe),Oe}destroy(u){const f=this._getPlayer(u);f.destroy(),this._playersById.delete(u);const E=this.players.indexOf(f);E>=0&&this.players.splice(E,1)}_getPlayer(u){const f=this._playersById.get(u);if(!f)throw function ge(A){return new l.vHH(3301,!1)}();return f}listen(u,f,E,P){const V=Gn(f,"","","");return Lt(this._getPlayer(u),E,V,P),()=>{}}command(u,f,E,P){if("register"==E)return void this.register(u,P[0]);if("create"==E)return void this.create(u,f,P[0]||{});const V=this._getPlayer(u);switch(E){case"play":V.play();break;case"pause":V.pause();break;case"reset":V.reset();break;case"restart":V.restart();break;case"finish":V.finish();break;case"init":V.init();break;case"setPosition":V.setPosition(parseFloat(P[0]));break;case"destroy":this.destroy(u)}}}const Tr="ng-animate-queued",Zr="ng-animate-disabled",Di=[],Hr={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Rs={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},$n="__ng_removed";class xs{constructor(u,f=""){this.namespaceId=f;const E=u&&u.hasOwnProperty("value");if(this.value=function Ln(A){return A??null}(E?u.value:u),E){const V=Ft(u);delete V.value,this.options=V}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(u){const f=u.params;if(f){const E=this.options.params;Object.keys(f).forEach((P=>{null==E[P]&&(E[P]=f[P])}))}}}const jn="void",Vr=new xs(jn);class wi{constructor(u,f,E){this.id=u,this.hostElement=f,this._engine=E,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+u,an(f,this._hostClassName)}listen(u,f,E,P){if(!this._triggers.has(f))throw function Y(A,u){return new l.vHH(3302,!1)}();if(null==E||0==E.length)throw function xe(A){return new l.vHH(3303,!1)}();if(!function Yi(A){return"start"==A||"done"==A}(E))throw function Ke(A,u){return new l.vHH(3400,!1)}();const V=Sn(this._elementListeners,u,[]),te={name:f,phase:E,callback:P};V.push(te);const se=Sn(this._engine.statesByElement,u,new Map);return se.has(f)||(an(u,Bt),an(u,Bt+"-"+f),se.set(f,Vr)),()=>{this._engine.afterFlush((()=>{const Ee=V.indexOf(te);Ee>=0&&V.splice(Ee,1),this._triggers.has(f)||se.delete(f)}))}}register(u,f){return!this._triggers.has(u)&&(this._triggers.set(u,f),!0)}_getTrigger(u){const f=this._triggers.get(u);if(!f)throw function wt(A){return new l.vHH(3401,!1)}();return f}trigger(u,f,E,P=!0){const V=this._getTrigger(f),te=new Ci(this.id,f,u);let se=this._engine.statesByElement.get(u);se||(an(u,Bt),an(u,Bt+"-"+f),this._engine.statesByElement.set(u,se=new Map));let Ee=se.get(f);const Oe=new xs(E,this.id);if(!(E&&E.hasOwnProperty("value"))&&Ee&&Oe.absorbOptions(Ee.options),se.set(f,Oe),Ee||(Ee=Vr),Oe.value!==jn&&Ee.value===Oe.value){if(!function qs(A,u){const f=Object.keys(A),E=Object.keys(u);if(f.length!=E.length)return!1;for(let P=0;P<f.length;P++){const V=f[P];if(!u.hasOwnProperty(V)||A[V]!==u[V])return!1}return!0}(Ee.params,Oe.params)){const Ot=[],en=V.matchStyles(Ee.value,Ee.params,Ot),fn=V.matchStyles(Oe.value,Oe.params,Ot);Ot.length?this._engine.reportError(Ot):this._engine.afterFlush((()=>{Jt(u,en),En(u,fn)}))}return}const Ht=Sn(this._engine.playersByElement,u,[]);Ht.forEach((Ot=>{Ot.namespaceId==this.id&&Ot.triggerName==f&&Ot.queued&&Ot.destroy()}));let jt=V.matchTransition(Ee.value,Oe.value,u,Oe.params),Mt=!1;if(!jt){if(!P)return;jt=V.fallbackTransition,Mt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:u,triggerName:f,transition:jt,fromState:Ee,toState:Oe,player:te,isFallbackTransition:Mt}),Mt||(an(u,Tr),te.onStart((()=>{ur(u,Tr)}))),te.onDone((()=>{let Ot=this.players.indexOf(te);Ot>=0&&this.players.splice(Ot,1);const en=this._engine.playersByElement.get(u);if(en){let fn=en.indexOf(te);fn>=0&&en.splice(fn,1)}})),this.players.push(te),Ht.push(te),te}deregister(u){this._triggers.delete(u),this._engine.statesByElement.forEach((f=>f.delete(u))),this._elementListeners.forEach(((f,E)=>{this._elementListeners.set(E,f.filter((P=>P.name!=u)))}))}clearElementCache(u){this._engine.statesByElement.delete(u),this._elementListeners.delete(u);const f=this._engine.playersByElement.get(u);f&&(f.forEach((E=>E.destroy())),this._engine.playersByElement.delete(u))}_signalRemovalForInnerTriggers(u,f){const E=this._engine.driver.query(u,it,!0);E.forEach((P=>{if(P[$n])return;const V=this._engine.fetchNamespacesByElement(P);V.size?V.forEach((te=>te.triggerLeaveAnimation(P,f,!1,!0))):this.clearElementCache(P)})),this._engine.afterFlushAnimationsDone((()=>E.forEach((P=>this.clearElementCache(P)))))}triggerLeaveAnimation(u,f,E,P){const V=this._engine.statesByElement.get(u),te=new Map;if(V){const se=[];if(V.forEach(((Ee,Oe)=>{if(te.set(Oe,Ee.value),this._triggers.has(Oe)){const ot=this.trigger(u,Oe,jn,P);ot&&se.push(ot)}})),se.length)return this._engine.markElementAsRemoved(this.id,u,!0,f,te),E&&Tn(se).onDone((()=>this._engine.processLeaveNode(u))),!0}return!1}prepareLeaveAnimationListeners(u){const f=this._elementListeners.get(u),E=this._engine.statesByElement.get(u);if(f&&E){const P=new Set;f.forEach((V=>{const te=V.name;if(P.has(te))return;P.add(te);const Ee=this._triggers.get(te).fallbackTransition,Oe=E.get(te)||Vr,ot=new xs(jn),ft=new Ci(this.id,te,u);this._engine.totalQueuedPlayers++,this._queue.push({element:u,triggerName:te,transition:Ee,fromState:Oe,toState:ot,player:ft,isFallbackTransition:!0})}))}}removeNode(u,f){const E=this._engine;if(u.childElementCount&&this._signalRemovalForInnerTriggers(u,f),this.triggerLeaveAnimation(u,f,!0))return;let P=!1;if(E.totalAnimations){const V=E.players.length?E.playersByQueriedElement.get(u):[];if(V&&V.length)P=!0;else{let te=u;for(;te=te.parentNode;)if(E.statesByElement.get(te)){P=!0;break}}}if(this.prepareLeaveAnimationListeners(u),P)E.markElementAsRemoved(this.id,u,!1,f);else{const V=u[$n];(!V||V===Hr)&&(E.afterFlush((()=>this.clearElementCache(u))),E.destroyInnerAnimations(u),E._onRemovalComplete(u,f))}}insertNode(u,f){an(u,this._hostClassName)}drainQueuedTransitions(u){const f=[];return this._queue.forEach((E=>{const P=E.player;if(P.destroyed)return;const V=E.element,te=this._elementListeners.get(V);te&&te.forEach((se=>{if(se.name==E.triggerName){const Ee=Gn(V,E.triggerName,E.fromState.value,E.toState.value);Ee._data=u,Lt(E.player,se.phase,Ee,se.callback)}})),P.markedForDestroy?this._engine.afterFlush((()=>{P.destroy()})):f.push(E)})),this._queue=[],f.sort(((E,P)=>{const V=E.transition.ast.depCount,te=P.transition.ast.depCount;return 0==V||0==te?V-te:this._engine.driver.containsElement(E.element,P.element)?1:-1}))}destroy(u){this.players.forEach((f=>f.destroy())),this._signalRemovalForInnerTriggers(this.hostElement,u)}elementContainsData(u){let f=!1;return this._elementListeners.has(u)&&(f=!0),f=!!this._queue.find((E=>E.element===u))||f,f}}class Qs{constructor(u,f,E){this.bodyNode=u,this.driver=f,this._normalizer=E,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=(P,V)=>{}}_onRemovalComplete(u,f){this.onRemovalComplete(u,f)}get queuedPlayers(){const u=[];return this._namespaceList.forEach((f=>{f.players.forEach((E=>{E.queued&&u.push(E)}))})),u}createNamespace(u,f){const E=new wi(u,f,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,f)?this._balanceNamespaceList(E,f):(this.newHostElements.set(f,E),this.collectEnterElement(f)),this._namespaceLookup[u]=E}_balanceNamespaceList(u,f){const E=this._namespaceList,P=this.namespacesByHostElement;if(E.length-1>=0){let te=!1,se=this.driver.getParentElement(f);for(;se;){const Ee=P.get(se);if(Ee){const Oe=E.indexOf(Ee);E.splice(Oe+1,0,u),te=!0;break}se=this.driver.getParentElement(se)}te||E.unshift(u)}else E.push(u);return P.set(f,u),u}register(u,f){let E=this._namespaceLookup[u];return E||(E=this.createNamespace(u,f)),E}registerTrigger(u,f,E){let P=this._namespaceLookup[u];P&&P.register(f,E)&&this.totalAnimations++}destroy(u,f){if(!u)return;const E=this._fetchNamespace(u);this.afterFlush((()=>{this.namespacesByHostElement.delete(E.hostElement),delete this._namespaceLookup[u];const P=this._namespaceList.indexOf(E);P>=0&&this._namespaceList.splice(P,1)})),this.afterFlushAnimationsDone((()=>E.destroy(f)))}_fetchNamespace(u){return this._namespaceLookup[u]}fetchNamespacesByElement(u){const f=new Set,E=this.statesByElement.get(u);if(E)for(let P of E.values())if(P.namespaceId){const V=this._fetchNamespace(P.namespaceId);V&&f.add(V)}return f}trigger(u,f,E,P){if(Qr(f)){const V=this._fetchNamespace(u);if(V)return V.trigger(f,E,P),!0}return!1}insertNode(u,f,E,P){if(!Qr(f))return;const V=f[$n];if(V&&V.setForRemoval){V.setForRemoval=!1,V.setForMove=!0;const te=this.collectedLeaveElements.indexOf(f);te>=0&&this.collectedLeaveElements.splice(te,1)}if(u){const te=this._fetchNamespace(u);te&&te.insertNode(f,E)}P&&this.collectEnterElement(f)}collectEnterElement(u){this.collectedEnterElements.push(u)}markElementAsDisabled(u,f){f?this.disabledNodes.has(u)||(this.disabledNodes.add(u),an(u,Zr)):this.disabledNodes.has(u)&&(this.disabledNodes.delete(u),ur(u,Zr))}removeNode(u,f,E,P){if(Qr(f)){const V=u?this._fetchNamespace(u):null;if(V?V.removeNode(f,P):this.markElementAsRemoved(u,f,!1,P),E){const te=this.namespacesByHostElement.get(f);te&&te.id!==u&&te.removeNode(f,P)}}else this._onRemovalComplete(f,P)}markElementAsRemoved(u,f,E,P,V){this.collectedLeaveElements.push(f),f[$n]={namespaceId:u,setForRemoval:P,hasAnimation:E,removedBeforeQueried:!1,previousTriggersValues:V}}listen(u,f,E,P,V){return Qr(f)?this._fetchNamespace(u).listen(f,E,P,V):()=>{}}_buildInstruction(u,f,E,P,V){return u.transition.build(this.driver,u.element,u.fromState.value,u.toState.value,E,P,u.fromState.options,u.toState.options,f,V)}destroyInnerAnimations(u){let f=this.driver.query(u,it,!0);f.forEach((E=>this.destroyActiveAnimationsForElement(E))),0!=this.playersByQueriedElement.size&&(f=this.driver.query(u,at,!0),f.forEach((E=>this.finishActiveQueriedAnimationOnElement(E))))}destroyActiveAnimationsForElement(u){const f=this.playersByElement.get(u);f&&f.forEach((E=>{E.queued?E.markedForDestroy=!0:E.destroy()}))}finishActiveQueriedAnimationOnElement(u){const f=this.playersByQueriedElement.get(u);f&&f.forEach((E=>E.finish()))}whenRenderingDone(){return new Promise((u=>{if(this.players.length)return Tn(this.players).onDone((()=>u()));u()}))}processLeaveNode(u){const f=u[$n];if(f&&f.setForRemoval){if(u[$n]=Hr,f.namespaceId){this.destroyInnerAnimations(u);const E=this._fetchNamespace(f.namespaceId);E&&E.clearElementCache(u)}this._onRemovalComplete(u,f.setForRemoval)}u.classList?.contains(Zr)&&this.markElementAsDisabled(u,!1),this.driver.query(u,".ng-animate-disabled",!0).forEach((E=>{this.markElementAsDisabled(E,!1)}))}flush(u=-1){let f=[];if(this.newHostElements.size&&(this.newHostElements.forEach(((E,P)=>this._balanceNamespaceList(E,P))),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let E=0;E<this.collectedEnterElements.length;E++)an(this.collectedEnterElements[E],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const E=[];try{f=this._flushAnimations(E,u)}finally{for(let P=0;P<E.length;P++)E[P]()}}else for(let E=0;E<this.collectedLeaveElements.length;E++)this.processLeaveNode(this.collectedLeaveElements[E]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach((E=>E())),this._flushFns=[],this._whenQuietFns.length){const E=this._whenQuietFns;this._whenQuietFns=[],f.length?Tn(f).onDone((()=>{E.forEach((P=>P()))})):E.forEach((P=>P()))}}reportError(u){throw function Wt(A){return new l.vHH(3402,!1)}()}_flushAnimations(u,f){const E=new pr,P=[],V=new Map,te=[],se=new Map,Ee=new Map,Oe=new Map,ot=new Set;this.disabledNodes.forEach((g=>{ot.add(g);const w=this.driver.query(g,".ng-animate-queued",!0);for(let m=0;m<w.length;m++)ot.add(w[m])}));const ft=this.bodyNode,Ht=Array.from(this.statesByElement.keys()),jt=ms(Ht,this.collectedEnterElements),Mt=new Map;let Ot=0;jt.forEach(((g,w)=>{const m=Be+Ot++;Mt.set(w,m),g.forEach((M=>an(M,m)))}));const en=[],fn=new Set,Fn=new Set;for(let g=0;g<this.collectedLeaveElements.length;g++){const w=this.collectedLeaveElements[g],m=w[$n];m&&m.setForRemoval&&(en.push(w),fn.add(w),m.hasAnimation?this.driver.query(w,".ng-star-inserted",!0).forEach((M=>fn.add(M))):Fn.add(w))}const ln=new Map,pn=ms(Ht,Array.from(fn));pn.forEach(((g,w)=>{const m=_t+Ot++;ln.set(w,m),g.forEach((M=>an(M,m)))})),u.push((()=>{jt.forEach(((g,w)=>{const m=Mt.get(w);g.forEach((M=>ur(M,m)))})),pn.forEach(((g,w)=>{const m=ln.get(w);g.forEach((M=>ur(M,m)))})),en.forEach((g=>{this.processLeaveNode(g)}))}));const un=[],ir=[];for(let g=this._namespaceList.length-1;g>=0;g--)this._namespaceList[g].drainQueuedTransitions(f).forEach((m=>{const M=m.player,Q=m.element;if(un.push(M),this.collectedEnterElements.length){const xt=Q[$n];if(xt&&xt.setForMove){if(xt.previousTriggersValues&&xt.previousTriggersValues.has(m.triggerName)){const rn=xt.previousTriggersValues.get(m.triggerName),Vt=this.statesByElement.get(m.element);if(Vt&&Vt.has(m.triggerName)){const Cn=Vt.get(m.triggerName);Cn.value=rn,Vt.set(m.triggerName,Cn)}}return void M.destroy()}}const Ce=!ft||!this.driver.containsElement(ft,Q),Ae=ln.get(Q),ct=Mt.get(Q),It=this._buildInstruction(m,E,ct,Ae,Ce);if(It.errors&&It.errors.length)return void ir.push(It);if(Ce)return M.onStart((()=>Jt(Q,It.fromStyles))),M.onDestroy((()=>En(Q,It.toStyles))),void P.push(M);if(m.isFallbackTransition)return M.onStart((()=>Jt(Q,It.fromStyles))),M.onDestroy((()=>En(Q,It.toStyles))),void P.push(M);const tn=[];It.timelines.forEach((xt=>{xt.stretchStartingKeyframe=!0,this.disabledNodes.has(xt.element)||tn.push(xt)})),It.timelines=tn,E.append(Q,It.timelines),te.push({instruction:It,player:M,element:Q}),It.queriedElements.forEach((xt=>Sn(se,xt,[]).push(M))),It.preStyleProps.forEach(((xt,rn)=>{if(xt.size){let Vt=Ee.get(rn);Vt||Ee.set(rn,Vt=new Set),xt.forEach(((Cn,gr)=>Vt.add(gr)))}})),It.postStyleProps.forEach(((xt,rn)=>{let Vt=Oe.get(rn);Vt||Oe.set(rn,Vt=new Set),xt.forEach(((Cn,gr)=>Vt.add(gr)))}))}));if(ir.length){const g=[];ir.forEach((w=>{g.push(function sn(A,u){return new l.vHH(3505,!1)}())})),un.forEach((w=>w.destroy())),this.reportError(g)}const Xn=new Map,Sr=new Map;te.forEach((g=>{const w=g.element;E.has(w)&&(Sr.set(w,w),this._beforeAnimationBuild(g.player.namespaceId,g.instruction,Xn))})),P.forEach((g=>{const w=g.element;this._getPreviousPlayers(w,!1,g.namespaceId,g.triggerName,null).forEach((M=>{Sn(Xn,w,[]).push(M),M.destroy()}))}));const kr=en.filter((g=>cr(g,Ee,Oe))),jr=new Map;Bn(jr,this.driver,Fn,Oe,C.l3).forEach((g=>{cr(g,Ee,Oe)&&kr.push(g)}));const zr=new Map;jt.forEach(((g,w)=>{Bn(zr,this.driver,new Set(g),Ee,C.k1)})),kr.forEach((g=>{const w=jr.get(g),m=zr.get(g);jr.set(g,new Map([...Array.from(w?.entries()??[]),...Array.from(m?.entries()??[])]))}));const Ir=[],as=[],Fs={};te.forEach((g=>{const{element:w,player:m,instruction:M}=g;if(E.has(w)){if(ot.has(w))return m.onDestroy((()=>En(w,M.toStyles))),m.disabled=!0,m.overrideTotalTime(M.totalTime),void P.push(m);let Q=Fs;if(Sr.size>1){let Ae=w;const ct=[];for(;Ae=Ae.parentNode;){const It=Sr.get(Ae);if(It){Q=It;break}ct.push(Ae)}ct.forEach((It=>Sr.set(It,Q)))}const Ce=this._buildAnimation(m.namespaceId,M,Xn,V,zr,jr);if(m.setRealPlayer(Ce),Q===Fs)Ir.push(m);else{const Ae=this.playersByElement.get(Q);Ae&&Ae.length&&(m.parentPlayer=Tn(Ae)),P.push(m)}}else Jt(w,M.fromStyles),m.onDestroy((()=>En(w,M.toStyles))),as.push(m),ot.has(w)&&P.push(m)})),as.forEach((g=>{const w=V.get(g.element);if(w&&w.length){const m=Tn(w);g.setRealPlayer(m)}})),P.forEach((g=>{g.parentPlayer?g.syncPlayerEvents(g.parentPlayer):g.destroy()}));for(let g=0;g<en.length;g++){const w=en[g],m=w[$n];if(ur(w,_t),m&&m.hasAnimation)continue;let M=[];if(se.size){let Ce=se.get(w);Ce&&Ce.length&&M.push(...Ce);let Ae=this.driver.query(w,at,!0);for(let ct=0;ct<Ae.length;ct++){let It=se.get(Ae[ct]);It&&It.length&&M.push(...It)}}const Q=M.filter((Ce=>!Ce.destroyed));Q.length?Un(this,w,Q):this.processLeaveNode(w)}return en.length=0,Ir.forEach((g=>{this.players.push(g),g.onDone((()=>{g.destroy();const w=this.players.indexOf(g);this.players.splice(w,1)})),g.play()})),Ir}elementContainsData(u,f){let E=!1;const P=f[$n];return P&&P.setForRemoval&&(E=!0),this.playersByElement.has(f)&&(E=!0),this.playersByQueriedElement.has(f)&&(E=!0),this.statesByElement.has(f)&&(E=!0),this._fetchNamespace(u).elementContainsData(f)||E}afterFlush(u){this._flushFns.push(u)}afterFlushAnimationsDone(u){this._whenQuietFns.push(u)}_getPreviousPlayers(u,f,E,P,V){let te=[];if(f){const se=this.playersByQueriedElement.get(u);se&&(te=se)}else{const se=this.playersByElement.get(u);if(se){const Ee=!V||V==jn;se.forEach((Oe=>{Oe.queued||!Ee&&Oe.triggerName!=P||te.push(Oe)}))}}return(E||P)&&(te=te.filter((se=>!(E&&E!=se.namespaceId||P&&P!=se.triggerName)))),te}_beforeAnimationBuild(u,f,E){const V=f.element,te=f.isRemovalTransition?void 0:u,se=f.isRemovalTransition?void 0:f.triggerName;for(const Ee of f.timelines){const Oe=Ee.element,ot=Oe!==V,ft=Sn(E,Oe,[]);this._getPreviousPlayers(Oe,ot,te,se,f.toState).forEach((jt=>{const Mt=jt.getRealPlayer();Mt.beforeDestroy&&Mt.beforeDestroy(),jt.destroy(),ft.push(jt)}))}Jt(V,f.fromStyles)}_buildAnimation(u,f,E,P,V,te){const se=f.triggerName,Ee=f.element,Oe=[],ot=new Set,ft=new Set,Ht=f.timelines.map((Mt=>{const Ot=Mt.element;ot.add(Ot);const en=Ot[$n];if(en&&en.removedBeforeQueried)return new C.ZN(Mt.duration,Mt.delay);const fn=Ot!==Ee,Fn=function Zi(A){const u=[];return is(A,u),u}((E.get(Ot)||Di).map((Xn=>Xn.getRealPlayer()))).filter((Xn=>!!Xn.element&&Xn.element===Ot)),ln=V.get(Ot),pn=te.get(Ot),un=vt(0,this._normalizer,0,Mt.keyframes,ln,pn),ir=this._buildPlayer(Mt,un,Fn);if(Mt.subTimeline&&P&&ft.add(Ot),fn){const Xn=new Ci(u,se,Ot);Xn.setRealPlayer(ir),Oe.push(Xn)}return ir}));Oe.forEach((Mt=>{Sn(this.playersByQueriedElement,Mt.element,[]).push(Mt),Mt.onDone((()=>function bi(A,u,f){let E=A.get(u);if(E){if(E.length){const P=E.indexOf(f);E.splice(P,1)}0==E.length&&A.delete(u)}return E}(this.playersByQueriedElement,Mt.element,Mt)))})),ot.forEach((Mt=>an(Mt,pt)));const jt=Tn(Ht);return jt.onDestroy((()=>{ot.forEach((Mt=>ur(Mt,pt))),En(Ee,f.toStyles)})),ft.forEach((Mt=>{Sn(P,Mt,[]).push(jt)})),jt}_buildPlayer(u,f,E){return f.length>0?this.driver.animate(u.element,f,u.duration,u.delay,u.easing,E):new C.ZN(u.duration,u.delay)}}class Ci{constructor(u,f,E){this.namespaceId=u,this.triggerName=f,this.element=E,this._player=new C.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(u){this._containsRealPlayer||(this._player=u,this._queuedCallbacks.forEach(((f,E)=>{f.forEach((P=>Lt(u,E,void 0,P)))})),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(u.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(u){this.totalTime=u}syncPlayerEvents(u){const f=this._player;f.triggerCallback&&u.onStart((()=>f.triggerCallback("start"))),u.onDone((()=>this.finish())),u.onDestroy((()=>this.destroy()))}_queueEvent(u,f){Sn(this._queuedCallbacks,u,[]).push(f)}onDone(u){this.queued&&this._queueEvent("done",u),this._player.onDone(u)}onStart(u){this.queued&&this._queueEvent("start",u),this._player.onStart(u)}onDestroy(u){this.queued&&this._queueEvent("destroy",u),this._player.onDestroy(u)}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(u){this.queued||this._player.setPosition(u)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(u){const f=this._player;f.triggerCallback&&f.triggerCallback(u)}}function Qr(A){return A&&1===A.nodeType}function ss(A,u){const f=A.style.display;return A.style.display=u??"none",f}function Bn(A,u,f,E,P){const V=[];f.forEach((Ee=>V.push(ss(Ee))));const te=[];E.forEach(((Ee,Oe)=>{const ot=new Map;Ee.forEach((ft=>{const Ht=u.computeStyle(Oe,ft,P);ot.set(ft,Ht),(!Ht||0==Ht.length)&&(Oe[$n]=Rs,te.push(Oe))})),A.set(Oe,ot)}));let se=0;return f.forEach((Ee=>ss(Ee,V[se++]))),te}function ms(A,u){const f=new Map;if(A.forEach((se=>f.set(se,[]))),0==u.length)return f;const P=new Set(u),V=new Map;function te(se){if(!se)return 1;let Ee=V.get(se);if(Ee)return Ee;const Oe=se.parentNode;return Ee=f.has(Oe)?Oe:P.has(Oe)?1:te(Oe),V.set(se,Ee),Ee}return u.forEach((se=>{const Ee=te(se);1!==Ee&&f.get(Ee).push(se)})),f}function an(A,u){A.classList?.add(u)}function ur(A,u){A.classList?.remove(u)}function Un(A,u,f){Tn(f).onDone((()=>A.processLeaveNode(u)))}function is(A,u){for(let f=0;f<A.length;f++){const E=A[f];E instanceof C.ZE?is(E.players,u):u.push(E)}}function cr(A,u,f){const E=f.get(A);if(!E)return!1;let P=u.get(A);return P?E.forEach((V=>P.add(V))):u.set(A,E),f.delete(A),!0}class os{constructor(u,f,E){this.bodyNode=u,this._driver=f,this._normalizer=E,this._triggerCache={},this.onRemovalComplete=(P,V)=>{},this._transitionEngine=new Qs(u,f,E),this._timelineEngine=new Ki(u,f,E),this._transitionEngine.onRemovalComplete=(P,V)=>this.onRemovalComplete(P,V)}registerTrigger(u,f,E,P,V){const te=u+"-"+P;let se=this._triggerCache[te];if(!se){const Ee=[],ot=lr(this._driver,V,Ee,[]);if(Ee.length)throw function ue(A,u){return new l.vHH(3404,!1)}();se=function yi(A,u,f){return new Yr(A,u,f)}(P,ot,this._normalizer),this._triggerCache[te]=se}this._transitionEngine.registerTrigger(f,P,se)}register(u,f){this._transitionEngine.register(u,f)}destroy(u,f){this._transitionEngine.destroy(u,f)}onInsert(u,f,E,P){this._transitionEngine.insertNode(u,f,E,P)}onRemove(u,f,E,P){this._transitionEngine.removeNode(u,f,P||!1,E)}disableAnimations(u,f){this._transitionEngine.markElementAsDisabled(u,f)}process(u,f,E,P){if("@"==E.charAt(0)){const[V,te]=on(E);this._timelineEngine.command(V,f,te,P)}else this._transitionEngine.trigger(u,f,E,P)}listen(u,f,E,P,V){if("@"==E.charAt(0)){const[te,se]=on(E);return this._timelineEngine.listen(te,f,se,V)}return this._transitionEngine.listen(u,f,E,P,V)}flush(u=-1){this._transitionEngine.flush(u)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let Rt=(()=>{class A{constructor(f,E,P){this._element=f,this._startStyles=E,this._endStyles=P,this._state=0;let V=A.initialStylesByElement.get(f);V||A.initialStylesByElement.set(f,V=new Map),this._initialStyles=V}start(){this._state<1&&(this._startStyles&&En(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(En(this._element,this._initialStyles),this._endStyles&&(En(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(A.initialStylesByElement.delete(this._element),this._startStyles&&(Jt(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Jt(this._element,this._endStyles),this._endStyles=null),En(this._element,this._initialStyles),this._state=3)}}return A.initialStylesByElement=new WeakMap,A})();function Lr(A){let u=null;return A.forEach(((f,E)=>{(function Qi(A){return"display"===A||"position"===A})(E)&&(u=u||new Map,u.set(E,f))})),u}class Xs{constructor(u,f,E,P){this.element=u,this.keyframes=f,this.options=E,this._specialStyles=P,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=E.duration,this._delay=E.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach((u=>u())),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const u=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,u,this.options),this._finalKeyframe=u.length?u[u.length-1]:new Map,this.domPlayer.addEventListener("finish",(()=>this._onFinish()))}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(u){const f=[];return u.forEach((E=>{f.push(Object.fromEntries(E))})),f}_triggerWebAnimation(u,f,E){return u.animate(this._convertKeyframesToObject(f),E)}onStart(u){this._originalOnStartFns.push(u),this._onStartFns.push(u)}onDone(u){this._originalOnDoneFns.push(u),this._onDoneFns.push(u)}onDestroy(u){this._onDestroyFns.push(u)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach((u=>u())),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((u=>u())),this._onDestroyFns=[])}setPosition(u){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=u*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const u=new Map;this.hasStarted()&&this._finalKeyframe.forEach(((E,P)=>{"offset"!==P&&u.set(P,this._finished?E:De(this.element,P))})),this.currentSnapshot=u}triggerCallback(u){const f="start"===u?this._onStartFns:this._onDoneFns;f.forEach((E=>E())),f.length=0}}class ys{validateStyleProperty(u){return!0}validateAnimatableStyleProperty(u){return!0}matchesElement(u,f){return!1}containsElement(u,f){return $(u,f)}getParentElement(u){return yn(u)}query(u,f,E){return B(u,f,E)}computeStyle(u,f,E){return window.getComputedStyle(u)[f]}animate(u,f,E,P,V,te=[]){const Ee={duration:E,delay:P,fill:0==P?"both":"forwards"};V&&(Ee.easing=V);const Oe=new Map,ot=te.filter((jt=>jt instanceof Xs));(function Je(A,u){return 0===A||0===u})(E,P)&&ot.forEach((jt=>{jt.currentSnapshot.forEach(((Mt,Ot)=>Oe.set(Ot,Mt)))}));let ft=function qt(A){return A.length?A[0]instanceof Map?A:A.map((u=>lt(u))):[]}(f).map((jt=>bt(jt)));ft=function Dt(A,u,f){if(f.size&&u.length){let E=u[0],P=[];if(f.forEach(((V,te)=>{E.has(te)||P.push(te),E.set(te,V)})),P.length)for(let V=1;V<u.length;V++){let te=u[V];P.forEach((se=>te.set(se,De(A,se))))}}return u}(u,ft,Oe);const Ht=function Js(A,u){let f=null,E=null;return Array.isArray(u)&&u.length?(f=Lr(u[0]),u.length>1&&(E=Lr(u[u.length-1]))):u instanceof Map&&(f=Lr(u)),f||E?new Rt(A,f,E):null}(u,ft);return new Xs(u,ft,Ee,Ht)}}var qr=h(6895);let ei=(()=>{class A extends C._j{constructor(f,E){super(),this._nextAnimationId=0,this._renderer=f.createRenderer(E.body,{id:"0",encapsulation:l.ifc.None,styles:[],data:{animation:[]}})}build(f){const E=this._nextAnimationId.toString();this._nextAnimationId++;const P=Array.isArray(f)?(0,C.vP)(f):f;return He(this._renderer,null,E,"register",[P]),new Ti(E,this._renderer)}}return A.ɵfac=function(f){return new(f||A)(l.LFG(l.FYo),l.LFG(qr.K0))},A.ɵprov=l.Yz7({token:A,factory:A.ɵfac}),A})();class Ti extends C.LC{constructor(u,f){super(),this._id=u,this._renderer=f}create(u,f){return new Si(this._id,u,f||{},this._renderer)}}class Si{constructor(u,f,E,P){this.id=u,this.element=f,this._renderer=P,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",E)}_listen(u,f){return this._renderer.listen(this.element,`@@${this.id}:${u}`,f)}_command(u,...f){return He(this._renderer,this.element,this.id,u,f)}onDone(u){this._listen("done",u)}onStart(u){this._listen("start",u)}onDestroy(u){this._listen("destroy",u)}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(u){this._command("setPosition",u)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function He(A,u,f,E,P){return A.setProperty(u,`@@${f}:${E}`,P)}const mn="@.disabled";let qi=(()=>{class A{constructor(f,E,P){this.delegate=f,this.engine=E,this._zone=P,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),E.onRemovalComplete=(V,te)=>{const se=te?.parentNode(V);se&&te.removeChild(se,V)}}createRenderer(f,E){const V=this.delegate.createRenderer(f,E);if(!(f&&E&&E.data&&E.data.animation)){let ot=this._rendererCache.get(V);return ot||(ot=new Nn("",V,this.engine,(()=>this._rendererCache.delete(V))),this._rendererCache.set(V,ot)),ot}const te=E.id,se=E.id+"-"+this._currentId;this._currentId++,this.engine.register(se,f);const Ee=ot=>{Array.isArray(ot)?ot.forEach(Ee):this.engine.registerTrigger(te,se,f,ot.name,ot)};return E.data.animation.forEach(Ee),new Os(this,se,V,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then((()=>{this._microtaskId++}))}scheduleListenerCallback(f,E,P){f>=0&&f<this._microtaskId?this._zone.run((()=>E(P))):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then((()=>{this._zone.run((()=>{this._animationCallbacksBuffer.forEach((V=>{const[te,se]=V;te(se)})),this._animationCallbacksBuffer=[]}))})),this._animationCallbacksBuffer.push([E,P]))}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()}}return A.ɵfac=function(f){return new(f||A)(l.LFG(l.FYo),l.LFG(os),l.LFG(l.R0b))},A.ɵprov=l.Yz7({token:A,factory:A.ɵfac}),A})();class Nn{constructor(u,f,E,P){this.namespaceId=u,this.delegate=f,this.engine=E,this._onDestroy=P,this.destroyNode=this.delegate.destroyNode?V=>f.destroyNode(V):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(u,f){return this.delegate.createElement(u,f)}createComment(u){return this.delegate.createComment(u)}createText(u){return this.delegate.createText(u)}appendChild(u,f){this.delegate.appendChild(u,f),this.engine.onInsert(this.namespaceId,f,u,!1)}insertBefore(u,f,E,P=!0){this.delegate.insertBefore(u,f,E),this.engine.onInsert(this.namespaceId,f,u,P)}removeChild(u,f,E){this.engine.onRemove(this.namespaceId,f,this.delegate,E)}selectRootElement(u,f){return this.delegate.selectRootElement(u,f)}parentNode(u){return this.delegate.parentNode(u)}nextSibling(u){return this.delegate.nextSibling(u)}setAttribute(u,f,E,P){this.delegate.setAttribute(u,f,E,P)}removeAttribute(u,f,E){this.delegate.removeAttribute(u,f,E)}addClass(u,f){this.delegate.addClass(u,f)}removeClass(u,f){this.delegate.removeClass(u,f)}setStyle(u,f,E,P){this.delegate.setStyle(u,f,E,P)}removeStyle(u,f,E){this.delegate.removeStyle(u,f,E)}setProperty(u,f,E){"@"==f.charAt(0)&&f==mn?this.disableAnimations(u,!!E):this.delegate.setProperty(u,f,E)}setValue(u,f){this.delegate.setValue(u,f)}listen(u,f,E){return this.delegate.listen(u,f,E)}disableAnimations(u,f){this.engine.disableAnimations(u,f)}}class Os extends Nn{constructor(u,f,E,P,V){super(f,E,P,V),this.factory=u,this.namespaceId=f}setProperty(u,f,E){"@"==f.charAt(0)?"."==f.charAt(1)&&f==mn?this.disableAnimations(u,E=void 0===E||!!E):this.engine.process(this.namespaceId,u,f.slice(1),E):this.delegate.setProperty(u,f,E)}listen(u,f,E){if("@"==f.charAt(0)){const P=function $r(A){switch(A){case"body":return document.body;case"document":return document;case"window":return window;default:return A}}(u);let V=f.slice(1),te="";return"@"!=V.charAt(0)&&([V,te]=function Jn(A){const u=A.indexOf(".");return[A.substring(0,u),A.slice(u+1)]}(V)),this.engine.listen(this.namespaceId,P,V,te,(se=>{this.factory.scheduleListenerCallback(se._data||-1,E,se)}))}return this.delegate.listen(u,f,E)}}const Ii=[{provide:C._j,useClass:ei},{provide:vr,useFactory:function Ns(){return new pi}},{provide:os,useClass:(()=>{class A extends os{constructor(f,E,P,V){super(f.body,E,P)}ngOnDestroy(){this.flush()}}return A.ɵfac=function(f){return new(f||A)(l.LFG(qr.K0),l.LFG(je),l.LFG(vr),l.LFG(l.z2F))},A.ɵprov=l.Yz7({token:A,factory:A.ɵfac}),A})()},{provide:l.FYo,useFactory:function Lo(A,u,f){return new qi(A,u,f)},deps:[_.se,os,l.R0b]}],Mi=[{provide:je,useFactory:()=>new ys},{provide:l.QbO,useValue:"BrowserAnimations"},...Ii],vs=[{provide:je,useClass:Te},{provide:l.QbO,useValue:"NoopAnimations"},...Ii];let Kn=(()=>{class A{static withConfig(f){return{ngModule:A,providers:f.disableAnimations?vs:Mi}}}return A.ɵfac=function(f){return new(f||A)},A.ɵmod=l.oAB({type:A}),A.ɵinj=l.cJS({providers:Mi,imports:[_.b2]}),A})()},1481:(k,S,h)=>{"use strict";h.d(S,{Dx:()=>ee,H7:()=>Jt,b2:()=>vn,q6:()=>Wn,se:()=>Z});var l=h(6895),_=h(8256);class C extends l.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class I extends C{static makeCurrent(){(0,l.HT)(new I)}onAndCancel(J,H,x){return J.addEventListener(H,x,!1),()=>{J.removeEventListener(H,x,!1)}}dispatchEvent(J,H){J.dispatchEvent(H)}remove(J){J.parentNode&&J.parentNode.removeChild(J)}createElement(J,H){return(H=H||this.getDefaultDocument()).createElement(J)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(J){return J.nodeType===Node.ELEMENT_NODE}isShadowRoot(J){return J instanceof DocumentFragment}getGlobalEventTarget(J,H){return"window"===H?window:"document"===H?J:"body"===H?J.body:null}getBaseHref(J){const H=function O(){return T=T||document.querySelector("base"),T?T.getAttribute("href"):null}();return null==H?null:function F(ce){R=R||document.createElement("a"),R.setAttribute("href",ce);const J=R.pathname;return"/"===J.charAt(0)?J:`/${J}`}(H)}resetBaseElement(){T=null}getUserAgent(){return window.navigator.userAgent}getCookie(J){return(0,l.Mx)(document.cookie,J)}}let R,T=null;const U=new _.OlP("TRANSITION_ID"),G=[{provide:_.ip1,useFactory:function j(ce,J,H){return()=>{H.get(_.CZH).donePromise.then((()=>{const x=(0,l.q)(),W=J.querySelectorAll(`style[ng-transition="${ce}"]`);for(let Fe=0;Fe<W.length;Fe++)x.remove(W[Fe])}))}},deps:[U,l.K0,_.zs3],multi:!0}];let be=(()=>{class ce{build(){return new XMLHttpRequest}}return ce.ɵfac=function(H){return new(H||ce)},ce.ɵprov=_.Yz7({token:ce,factory:ce.ɵfac}),ce})();const he=new _.OlP("EventManagerPlugins");let oe=(()=>{class ce{constructor(H,x){this._zone=x,this._eventNameToPlugin=new Map,H.forEach((W=>W.manager=this)),this._plugins=H.slice().reverse()}addEventListener(H,x,W){return this._findPluginFor(x).addEventListener(H,x,W)}addGlobalEventListener(H,x,W){return this._findPluginFor(x).addGlobalEventListener(H,x,W)}getZone(){return this._zone}_findPluginFor(H){const x=this._eventNameToPlugin.get(H);if(x)return x;const W=this._plugins;for(let Fe=0;Fe<W.length;Fe++){const Je=W[Fe];if(Je.supports(H))return this._eventNameToPlugin.set(H,Je),Je}throw new Error(`No event manager plugin found for event ${H}`)}}return ce.ɵfac=function(H){return new(H||ce)(_.LFG(he),_.LFG(_.R0b))},ce.ɵprov=_.Yz7({token:ce,factory:ce.ɵfac}),ce})();class Ve{constructor(J){this._doc=J}addGlobalEventListener(J,H,x){const W=(0,l.q)().getGlobalEventTarget(this._doc,J);if(!W)throw new Error(`Unsupported event target ${W} for event ${H}`);return this.addEventListener(W,H,x)}}let we=(()=>{class ce{constructor(){this._stylesSet=new Set}addStyles(H){const x=new Set;H.forEach((W=>{this._stylesSet.has(W)||(this._stylesSet.add(W),x.add(W))})),this.onStylesAdded(x)}onStylesAdded(H){}getAllStyles(){return Array.from(this._stylesSet)}}return ce.ɵfac=function(H){return new(H||ce)},ce.ɵprov=_.Yz7({token:ce,factory:ce.ɵfac}),ce})(),ke=(()=>{class ce extends we{constructor(H){super(),this._doc=H,this._hostNodes=new Map,this._hostNodes.set(H.head,[])}_addStylesToHost(H,x,W){H.forEach((Fe=>{const Je=this._doc.createElement("style");Je.textContent=Fe,W.push(x.appendChild(Je))}))}addHost(H){const x=[];this._addStylesToHost(this._stylesSet,H,x),this._hostNodes.set(H,x)}removeHost(H){const x=this._hostNodes.get(H);x&&x.forEach(Le),this._hostNodes.delete(H)}onStylesAdded(H){this._hostNodes.forEach(((x,W)=>{this._addStylesToHost(H,W,x)}))}ngOnDestroy(){this._hostNodes.forEach((H=>H.forEach(Le)))}}return ce.ɵfac=function(H){return new(H||ce)(_.LFG(l.K0))},ce.ɵprov=_.Yz7({token:ce,factory:ce.ɵfac}),ce})();function Le(ce){(0,l.q)().remove(ce)}const qe={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/MathML/"},le=/%COMP%/g;function ue(ce,J,H){for(let x=0;x<J.length;x++){let W=J[x];Array.isArray(W)?ue(ce,W,H):(W=W.replace(le,ce),H.push(W))}return H}function _e(ce){return J=>{if("__ngUnwrap__"===J)return ce;!1===ce(J)&&(J.preventDefault(),J.returnValue=!1)}}let Z=(()=>{class ce{constructor(H,x,W){this.eventManager=H,this.sharedStylesHost=x,this.appId=W,this.rendererByCompId=new Map,this.defaultRenderer=new ae(H)}createRenderer(H,x){if(!H||!x)return this.defaultRenderer;switch(x.encapsulation){case _.ifc.Emulated:{let W=this.rendererByCompId.get(x.id);return W||(W=new Ke(this.eventManager,this.sharedStylesHost,x,this.appId),this.rendererByCompId.set(x.id,W)),W.applyToHost(H),W}case 1:case _.ifc.ShadowDom:return new wt(this.eventManager,this.sharedStylesHost,H,x);default:if(!this.rendererByCompId.has(x.id)){const W=ue(x.id,x.styles,[]);this.sharedStylesHost.addStyles(W),this.rendererByCompId.set(x.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return ce.ɵfac=function(H){return new(H||ce)(_.LFG(oe),_.LFG(ke),_.LFG(_.AFp))},ce.ɵprov=_.Yz7({token:ce,factory:ce.ɵfac}),ce})();class ae{constructor(J){this.eventManager=J,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(J,H){return H?document.createElementNS(qe[H]||H,J):document.createElement(J)}createComment(J){return document.createComment(J)}createText(J){return document.createTextNode(J)}appendChild(J,H){(xe(J)?J.content:J).appendChild(H)}insertBefore(J,H,x){J&&(xe(J)?J.content:J).insertBefore(H,x)}removeChild(J,H){J&&J.removeChild(H)}selectRootElement(J,H){let x="string"==typeof J?document.querySelector(J):J;if(!x)throw new Error(`The selector "${J}" did not match any elements`);return H||(x.textContent=""),x}parentNode(J){return J.parentNode}nextSibling(J){return J.nextSibling}setAttribute(J,H,x,W){if(W){H=W+":"+H;const Fe=qe[W];Fe?J.setAttributeNS(Fe,H,x):J.setAttribute(H,x)}else J.setAttribute(H,x)}removeAttribute(J,H,x){if(x){const W=qe[x];W?J.removeAttributeNS(W,H):J.removeAttribute(`${x}:${H}`)}else J.removeAttribute(H)}addClass(J,H){J.classList.add(H)}removeClass(J,H){J.classList.remove(H)}setStyle(J,H,x,W){W&(_.JOm.DashCase|_.JOm.Important)?J.style.setProperty(H,x,W&_.JOm.Important?"important":""):J.style[H]=x}removeStyle(J,H,x){x&_.JOm.DashCase?J.style.removeProperty(H):J.style[H]=""}setProperty(J,H,x){J[H]=x}setValue(J,H){J.nodeValue=H}listen(J,H,x){return"string"==typeof J?this.eventManager.addGlobalEventListener(J,H,_e(x)):this.eventManager.addEventListener(J,H,_e(x))}}function xe(ce){return"TEMPLATE"===ce.tagName&&void 0!==ce.content}class Ke extends ae{constructor(J,H,x,W){super(J),this.component=x;const Fe=ue(W+"-"+x.id,x.styles,[]);H.addStyles(Fe),this.contentAttr=function Ie(ce){return"_ngcontent-%COMP%".replace(le,ce)}(W+"-"+x.id),this.hostAttr=function X(ce){return"_nghost-%COMP%".replace(le,ce)}(W+"-"+x.id)}applyToHost(J){super.setAttribute(J,this.hostAttr,"")}createElement(J,H){const x=super.createElement(J,H);return super.setAttribute(x,this.contentAttr,""),x}}class wt extends ae{constructor(J,H,x,W){super(J),this.sharedStylesHost=H,this.hostEl=x,this.shadowRoot=x.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Fe=ue(W.id,W.styles,[]);for(let Je=0;Je<Fe.length;Je++){const Dt=document.createElement("style");Dt.textContent=Fe[Je],this.shadowRoot.appendChild(Dt)}}nodeOrShadowRoot(J){return J===this.hostEl?this.shadowRoot:J}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(J,H){return super.appendChild(this.nodeOrShadowRoot(J),H)}insertBefore(J,H,x){return super.insertBefore(this.nodeOrShadowRoot(J),H,x)}removeChild(J,H){return super.removeChild(this.nodeOrShadowRoot(J),H)}parentNode(J){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(J)))}}let Wt=(()=>{class ce extends Ve{constructor(H){super(H)}supports(H){return!0}addEventListener(H,x,W){return H.addEventListener(x,W,!1),()=>this.removeEventListener(H,x,W)}removeEventListener(H,x,W){return H.removeEventListener(x,W)}}return ce.ɵfac=function(H){return new(H||ce)(_.LFG(l.K0))},ce.ɵprov=_.Yz7({token:ce,factory:ce.ɵfac}),ce})();const St=["alt","control","meta","shift"],sn={"\b":"Backspace","\t":"Tab","":"Delete","":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},dn={alt:ce=>ce.altKey,control:ce=>ce.ctrlKey,meta:ce=>ce.metaKey,shift:ce=>ce.shiftKey};let gn=(()=>{class ce extends Ve{constructor(H){super(H)}supports(H){return null!=ce.parseEventName(H)}addEventListener(H,x,W){const Fe=ce.parseEventName(x),Je=ce.eventCallback(Fe.fullKey,W,this.manager.getZone());return this.manager.getZone().runOutsideAngular((()=>(0,l.q)().onAndCancel(H,Fe.domEventName,Je)))}static parseEventName(H){const x=H.toLowerCase().split("."),W=x.shift();if(0===x.length||"keydown"!==W&&"keyup"!==W)return null;const Fe=ce._normalizeKey(x.pop());let Je="",Dt=x.indexOf("code");if(Dt>-1&&(x.splice(Dt,1),Je="code."),St.forEach((De=>{const pe=x.indexOf(De);pe>-1&&(x.splice(pe,1),Je+=De+".")})),Je+=Fe,0!=x.length||0===Fe.length)return null;const Re={};return Re.domEventName=W,Re.fullKey=Je,Re}static matchEventFullKeyCode(H,x){let W=sn[H.key]||H.key,Fe="";return x.indexOf("code.")>-1&&(W=H.code,Fe="code."),!(null==W||!W)&&(W=W.toLowerCase()," "===W?W="space":"."===W&&(W="dot"),St.forEach((Je=>{Je!==W&&(0,dn[Je])(H)&&(Fe+=Je+".")})),Fe+=W,Fe===x)}static eventCallback(H,x,W){return Fe=>{ce.matchEventFullKeyCode(Fe,H)&&W.runGuarded((()=>x(Fe)))}}static _normalizeKey(H){return"esc"===H?"escape":H}}return ce.ɵfac=function(H){return new(H||ce)(_.LFG(l.K0))},ce.ɵprov=_.Yz7({token:ce,factory:ce.ɵfac}),ce})();const Wn=(0,_.eFA)(_._c5,"browser",[{provide:_.Lbi,useValue:l.bD},{provide:_.g9A,useValue:function Gn(){I.makeCurrent()},multi:!0},{provide:l.K0,useFactory:function on(){return(0,_.RDi)(document),document},deps:[]}]),On=new _.OlP(""),yn=[{provide:_.rWj,useClass:class re{addToWindow(J){_.dqk.getAngularTestability=(x,W=!0)=>{const Fe=J.findTestabilityInTree(x,W);if(null==Fe)throw new Error("Could not find testability for element.");return Fe},_.dqk.getAllAngularTestabilities=()=>J.getAllTestabilities(),_.dqk.getAllAngularRootElements=()=>J.getAllRootElements(),_.dqk.frameworkStabilizers||(_.dqk.frameworkStabilizers=[]),_.dqk.frameworkStabilizers.push((x=>{const W=_.dqk.getAllAngularTestabilities();let Fe=W.length,Je=!1;const Dt=function(Re){Je=Je||Re,Fe--,0==Fe&&x(Je)};W.forEach((function(Re){Re.whenStable(Dt)}))}))}findTestabilityInTree(J,H,x){return null==H?null:J.getTestability(H)??(x?(0,l.q)().isShadowRoot(H)?this.findTestabilityInTree(J,H.host,!0):this.findTestabilityInTree(J,H.parentElement,!0):null)}},deps:[]},{provide:_.lri,useClass:_.dDg,deps:[_.R0b,_.eoX,_.rWj]},{provide:_.dDg,useClass:_.dDg,deps:[_.R0b,_.eoX,_.rWj]}],xr=[{provide:_.zSh,useValue:"root"},{provide:_.qLn,useFactory:function Sn(){return new _.qLn},deps:[]},{provide:he,useClass:Wt,multi:!0,deps:[l.K0,_.R0b,_.Lbi]},{provide:he,useClass:gn,multi:!0,deps:[l.K0]},{provide:Z,useClass:Z,deps:[oe,ke,_.AFp]},{provide:_.FYo,useExisting:Z},{provide:we,useExisting:ke},{provide:ke,useClass:ke,deps:[l.K0]},{provide:oe,useClass:oe,deps:[he,_.R0b]},{provide:l.JF,useClass:be,deps:[]},[]];let vn=(()=>{class ce{constructor(H){}static withServerTransition(H){return{ngModule:ce,providers:[{provide:_.AFp,useValue:H.appId},{provide:U,useExisting:_.AFp},G]}}}return ce.ɵfac=function(H){return new(H||ce)(_.LFG(On,12))},ce.ɵmod=_.oAB({type:ce}),ce.ɵinj=_.cJS({providers:[...xr,...yn],imports:[l.ez,_.hGG]}),ce})(),ee=(()=>{class ce{constructor(H){this._doc=H}getTitle(){return this._doc.title}setTitle(H){this._doc.title=H||""}}return ce.ɵfac=function(H){return new(H||ce)(_.LFG(l.K0))},ce.ɵprov=_.Yz7({token:ce,factory:function(H){let x=null;return x=H?new H:function Se(){return new ee((0,_.LFG)(l.K0))}(),x},providedIn:"root"}),ce})();typeof window<"u"&&window;let Jt=(()=>{class ce{}return ce.ɵfac=function(H){return new(H||ce)},ce.ɵprov=_.Yz7({token:ce,factory:function(H){let x=null;return x=H?new(H||ce):_.LFG(In),x},providedIn:"root"}),ce})(),In=(()=>{class ce extends Jt{constructor(H){super(),this._doc=H}sanitize(H,x){if(null==x)return null;switch(H){case _.q3G.NONE:return x;case _.q3G.HTML:return(0,_.qzn)(x,"HTML")?(0,_.z3N)(x):(0,_.EiD)(this._doc,String(x)).toString();case _.q3G.STYLE:return(0,_.qzn)(x,"Style")?(0,_.z3N)(x):x;case _.q3G.SCRIPT:if((0,_.qzn)(x,"Script"))return(0,_.z3N)(x);throw new Error("unsafe value used in a script context");case _.q3G.URL:return(0,_.qzn)(x,"URL")?(0,_.z3N)(x):(0,_.mCW)(String(x));case _.q3G.RESOURCE_URL:if((0,_.qzn)(x,"ResourceURL"))return(0,_.z3N)(x);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${H} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(H){return(0,_.JVY)(H)}bypassSecurityTrustStyle(H){return(0,_.L6k)(H)}bypassSecurityTrustScript(H){return(0,_.eBb)(H)}bypassSecurityTrustUrl(H){return(0,_.LAX)(H)}bypassSecurityTrustResourceUrl(H){return(0,_.pB0)(H)}}return ce.ɵfac=function(H){return new(H||ce)(_.LFG(l.K0))},ce.ɵprov=_.Yz7({token:ce,factory:function(H){let x=null;return x=H?new H:function Xt(ce){return new In(ce.get(l.K0))}(_.LFG(_.zs3)),x},providedIn:"root"}),ce})()},5579:(k,S,h)=>{"use strict";h.d(S,{y6:()=>Hr,F0:()=>Hn,Bz:()=>Vc,lC:()=>$n});var l=h(8256),_=h(2076),C=h(9646),I=h(7579);class T extends I.x{constructor(d){super(),this._value=d}get value(){return this.getValue()}_subscribe(d){const a=super._subscribe(d);return!a.closed&&d.next(this._value),a}getValue(){const{hasError:d,thrownError:a,_value:v}=this;if(d)throw a;return this._throwIfClosed(),v}next(d){super.next(this._value=d)}}const R=(0,h(3888).d)((c=>function(){c(this),this.name="EmptyError",this.message="no elements in sequence"}));var F=h(9841),U=h(7272),j=h(9751),G=h(8421);function re(c){return new j.y((d=>{(0,G.Xf)(c()).subscribe(d)}))}var be=h(9635),he=h(2843),oe=h(515),Ve=h(727),we=h(4482),ke=h(5403);function Le(){return(0,we.e)(((c,d)=>{let a=null;c._refCount++;const v=new ke.Q(d,void 0,void 0,void 0,(()=>{if(!c||c._refCount<=0||0<--c._refCount)return void(a=null);const D=c._connection,N=a;a=null,D&&(!N||D===N)&&D.unsubscribe(),d.unsubscribe()}));c.subscribe(v),v.closed||(a=c.connect())}))}class qe extends j.y{constructor(d,a){super(),this.source=d,this.subjectFactory=a,this._subject=null,this._refCount=0,this._connection=null,(0,we.A)(d)&&(this.lift=d.lift)}_subscribe(d){return this.getSubject().subscribe(d)}getSubject(){const d=this._subject;return(!d||d.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:d}=this;this._subject=this._connection=null,d?.unsubscribe()}connect(){let d=this._connection;if(!d){d=this._connection=new Ve.w0;const a=this.getSubject();d.add(this.source.subscribe(new ke.Q(a,void 0,(()=>{this._teardown(),a.complete()}),(v=>{this._teardown(),a.error(v)}),(()=>this._teardown())))),d.closed&&(this._connection=null,d=Ve.w0.EMPTY)}return d}refCount(){return Le()(this)}}var le=h(6895),fe=h(4004);function Ye(c,d){return(0,we.e)(((a,v)=>{let D=null,N=0,K=!1;const q=()=>K&&!D&&v.complete();a.subscribe(new ke.Q(v,(Me=>{D?.unsubscribe();let tt=0;const Ut=N++;(0,G.Xf)(c(Me,Ut)).subscribe(D=new ke.Q(v,(ht=>v.next(d?d(Me,ht,Ut,tt++):ht)),(()=>{D=null,q()})))}),(()=>{K=!0,q()})))}))}var $e=h(5698),Qe=h(8675),Ie=h(9300),X=h(5577);function ue(c){return(0,we.e)(((d,a)=>{let v=!1;d.subscribe(new ke.Q(a,(D=>{v=!0,a.next(D)}),(()=>{v||a.next(c),a.complete()})))}))}function _e(c=ve){return(0,we.e)(((d,a)=>{let v=!1;d.subscribe(new ke.Q(a,(D=>{v=!0,a.next(D)}),(()=>v?a.complete():a.error(c()))))}))}function ve(){return new R}var Z=h(4671);function ae(c,d){const a=arguments.length>=2;return v=>v.pipe(c?(0,Ie.h)(((D,N)=>c(D,N,v))):Z.y,(0,$e.q)(1),a?ue(d):_e((()=>new R)))}var ge=h(4351),Y=h(8505),xe=h(262);function Ke(c,d,a,v,D){return(N,K)=>{let q=a,Me=d,tt=0;N.subscribe(new ke.Q(K,(Ut=>{const ht=tt++;Me=q?c(Me,Ut,ht):(q=!0,Ut),v&&K.next(Me)}),D&&(()=>{q&&K.next(Me),K.complete()})))}}function wt(c,d){return(0,we.e)(Ke(c,d,arguments.length>=2,!0))}function Wt(c){return c<=0?()=>oe.E:(0,we.e)(((d,a)=>{let v=[];d.subscribe(new ke.Q(a,(D=>{v.push(D),c<v.length&&v.shift()}),(()=>{for(const D of v)a.next(D);a.complete()}),void 0,(()=>{v=null})))}))}function St(c,d){const a=arguments.length>=2;return v=>v.pipe(c?(0,Ie.h)(((D,N)=>c(D,N,v))):Z.y,Wt(1),a?ue(d):_e((()=>new R)))}var gn=h(8746),Kt=h(8189),Tn=h(1481);const vt="primary",Lt=Symbol("RouteTitle");class Wr{constructor(d){this.params=d||{}}has(d){return Object.prototype.hasOwnProperty.call(this.params,d)}get(d){if(this.has(d)){const a=this.params[d];return Array.isArray(a)?a[0]:a}return null}getAll(d){if(this.has(d)){const a=this.params[d];return Array.isArray(a)?a:[a]}return[]}get keys(){return Object.keys(this.params)}}function Gn(c){return new Wr(c)}function Sn(c,d,a){const v=a.path.split("/");if(v.length>c.length||"full"===a.pathMatch&&(d.hasChildren()||v.length<c.length))return null;const D={};for(let N=0;N<v.length;N++){const K=v[N],q=c[N];if(K.startsWith(":"))D[K.substring(1)]=q;else if(K!==q.path)return null}return{consumed:c.slice(0,v.length),posParams:D}}function xn(c,d){const a=c?Object.keys(c):void 0,v=d?Object.keys(d):void 0;if(!a||!v||a.length!=v.length)return!1;let D;for(let N=0;N<a.length;N++)if(D=a[N],!Wn(c[D],d[D]))return!1;return!0}function Wn(c,d){if(Array.isArray(c)&&Array.isArray(d)){if(c.length!==d.length)return!1;const a=[...c].sort(),v=[...d].sort();return a.every(((D,N)=>v[N]===D))}return c===d}function On(c){return Array.prototype.concat.apply([],c)}function yn(c){return c.length>0?c[c.length-1]:null}function vn(c,d){for(const a in c)c.hasOwnProperty(a)&&d(c[a],a)}function ne(c){return(0,l.CqO)(c)?c:(0,l.QGY)(c)?(0,_.D)(Promise.resolve(c)):(0,C.of)(c)}const Se={exact:function de(c,d,a){if(!it(c.segments,d.segments)||!mt(c.segments,d.segments,a)||c.numberOfChildren!==d.numberOfChildren)return!1;for(const v in d.children)if(!c.children[v]||!de(c.children[v],d.children[v],a))return!1;return!0},subset:je},ee={exact:function B(c,d){return xn(c,d)},subset:function Te(c,d){return Object.keys(d).length<=Object.keys(c).length&&Object.keys(d).every((a=>Wn(c[a],d[a])))},ignored:()=>!0};function $(c,d,a){return Se[a.paths](c.root,d.root,a.matrixParams)&&ee[a.queryParams](c.queryParams,d.queryParams)&&!("exact"===a.fragment&&c.fragment!==d.fragment)}function je(c,d,a){return Ge(c,d,d.segments,a)}function Ge(c,d,a,v){if(c.segments.length>a.length){const D=c.segments.slice(0,a.length);return!(!it(D,a)||d.hasChildren()||!mt(D,a,v))}if(c.segments.length===a.length){if(!it(c.segments,a)||!mt(c.segments,a,v))return!1;for(const D in d.children)if(!c.children[D]||!je(c.children[D],d.children[D],v))return!1;return!0}{const D=a.slice(0,c.segments.length),N=a.slice(c.segments.length);return!!(it(c.segments,D)&&mt(c.segments,D,v)&&c.children[vt])&&Ge(c.children[vt],d,N,v)}}function mt(c,d,a){return d.every(((v,D)=>ee[a](c[D].parameters,v.parameters)))}class We{constructor(d,a,v){this.root=d,this.queryParams=a,this.fragment=v}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Gn(this.queryParams)),this._queryParamMap}toString(){return Zt.serialize(this)}}class Be{constructor(d,a){this.segments=d,this.children=a,this.parent=null,vn(a,((v,D)=>v.parent=this))}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Xe(this)}}class _t{constructor(d,a){this.path=d,this.parameters=a}get parameterMap(){return this._parameterMap||(this._parameterMap=Gn(this.parameters)),this._parameterMap}toString(){return _n(this)}}function it(c,d){return c.length===d.length&&c.every(((a,v)=>a.path===d[v].path))}let at=(()=>{class c{}return c.ɵfac=function(a){return new(a||c)},c.ɵprov=l.Yz7({token:c,factory:function(){return new nt},providedIn:"root"}),c})();class nt{parse(d){const a=new x(d);return new We(a.parseRootSegment(),a.parseQueryParams(),a.parseFragment())}serialize(d){const a=`/${Yt(d.root,!0)}`,v=function Jt(c){const d=Object.keys(c).map((a=>{const v=c[a];return Array.isArray(v)?v.map((D=>`${lt(a)}=${lt(D)}`)).join("&"):`${lt(a)}=${lt(v)}`})).filter((a=>!!a));return d.length?`?${d.join("&")}`:""}(d.queryParams);return`${a}${v}${"string"==typeof d.fragment?`#${function qt(c){return encodeURI(c)}(d.fragment)}`:""}`}}const Zt=new nt;function Xe(c){return c.segments.map((d=>_n(d))).join("/")}function Yt(c,d){if(!c.hasChildren())return Xe(c);if(d){const a=c.children[vt]?Yt(c.children[vt],!1):"",v=[];return vn(c.children,((D,N)=>{N!==vt&&v.push(`${N}:${Yt(D,!1)}`)})),v.length>0?`${a}(${v.join("//")})`:a}{const a=function pt(c,d){let a=[];return vn(c.children,((v,D)=>{D===vt&&(a=a.concat(d(v,D)))})),vn(c.children,((v,D)=>{D!==vt&&(a=a.concat(d(v,D)))})),a}(c,((v,D)=>D===vt?[Yt(c.children[vt],!1)]:[`${D}:${Yt(v,!1)}`]));return 1===Object.keys(c.children).length&&null!=c.children[vt]?`${Xe(c)}/${a[0]}`:`${Xe(c)}/(${a.join("//")})`}}function Ft(c){return encodeURIComponent(c).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function lt(c){return Ft(c).replace(/%3B/gi,";")}function rt(c){return Ft(c).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function bt(c){return decodeURIComponent(c)}function At(c){return bt(c.replace(/\+/g,"%20"))}function _n(c){return`${rt(c.path)}${function En(c){return Object.keys(c).map((d=>`;${rt(d)}=${rt(c[d])}`)).join("")}(c.parameters)}`}const Xt=/^[^\/()?;=#]+/;function In(c){const d=c.match(Xt);return d?d[0]:""}const Pn=/^[^=?&#]+/,J=/^[^&#]+/;class x{constructor(d){this.url=d,this.remaining=d}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Be([],{}):new Be([],this.parseChildren())}parseQueryParams(){const d={};if(this.consumeOptional("?"))do{this.parseQueryParam(d)}while(this.consumeOptional("&"));return d}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const d=[];for(this.peekStartsWith("(")||d.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),d.push(this.parseSegment());let a={};this.peekStartsWith("/(")&&(this.capture("/"),a=this.parseParens(!0));let v={};return this.peekStartsWith("(")&&(v=this.parseParens(!1)),(d.length>0||Object.keys(a).length>0)&&(v[vt]=new Be(d,a)),v}parseSegment(){const d=In(this.remaining);if(""===d&&this.peekStartsWith(";"))throw new l.vHH(4009,!1);return this.capture(d),new _t(bt(d),this.parseMatrixParams())}parseMatrixParams(){const d={};for(;this.consumeOptional(";");)this.parseParam(d);return d}parseParam(d){const a=In(this.remaining);if(!a)return;this.capture(a);let v="";if(this.consumeOptional("=")){const D=In(this.remaining);D&&(v=D,this.capture(v))}d[bt(a)]=bt(v)}parseQueryParam(d){const a=function ce(c){const d=c.match(Pn);return d?d[0]:""}(this.remaining);if(!a)return;this.capture(a);let v="";if(this.consumeOptional("=")){const K=function H(c){const d=c.match(J);return d?d[0]:""}(this.remaining);K&&(v=K,this.capture(v))}const D=At(a),N=At(v);if(d.hasOwnProperty(D)){let K=d[D];Array.isArray(K)||(K=[K],d[D]=K),K.push(N)}else d[D]=N}parseParens(d){const a={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const v=In(this.remaining),D=this.remaining[v.length];if("/"!==D&&")"!==D&&";"!==D)throw new l.vHH(4010,!1);let N;v.indexOf(":")>-1?(N=v.slice(0,v.indexOf(":")),this.capture(N),this.capture(":")):d&&(N=vt);const K=this.parseChildren();a[N]=1===Object.keys(K).length?K[vt]:new Be([],K),this.consumeOptional("//")}return a}peekStartsWith(d){return this.remaining.startsWith(d)}consumeOptional(d){return!!this.peekStartsWith(d)&&(this.remaining=this.remaining.substring(d.length),!0)}capture(d){if(!this.consumeOptional(d))throw new l.vHH(4011,!1)}}function W(c){return c.segments.length>0?new Be([],{[vt]:c}):c}function Fe(c){const d={};for(const v of Object.keys(c.children)){const N=Fe(c.children[v]);(N.segments.length>0||N.hasChildren())&&(d[v]=N)}return function Je(c){if(1===c.numberOfChildren&&c.children[vt]){const d=c.children[vt];return new Be(c.segments.concat(d.segments),d.children)}return c}(new Be(c.segments,d))}function Dt(c){return c instanceof We}function dt(c,d,a,v,D){if(0===a.length)return Ct(d.root,d.root,d.root,v,D);const N=function Qt(c){if("string"==typeof c[0]&&1===c.length&&"/"===c[0])return new Pt(!0,0,c);let d=0,a=!1;const v=c.reduce(((D,N,K)=>{if("object"==typeof N&&null!=N){if(N.outlets){const q={};return vn(N.outlets,((Me,tt)=>{q[tt]="string"==typeof Me?Me.split("/"):Me})),[...D,{outlets:q}]}if(N.segmentPath)return[...D,N.segmentPath]}return"string"!=typeof N?[...D,N]:0===K?(N.split("/").forEach(((q,Me)=>{0==Me&&"."===q||(0==Me&&""===q?a=!0:".."===q?d++:""!=q&&D.push(q))})),D):[...D,N]}),[]);return new Pt(a,d,v)}(a);return N.toRoot()?Ct(d.root,d.root,new Be([],{}),v,D):function K(Me){const tt=function Mn(c,d,a,v){if(c.isAbsolute)return new ut(d.root,!0,0);if(-1===v)return new ut(a,a===d.root,0);return function fr(c,d,a){let v=c,D=d,N=a;for(;N>D;){if(N-=D,v=v.parent,!v)throw new l.vHH(4005,!1);D=v.segments.length}return new ut(v,!1,D-N)}(a,v+(Et(c.commands[0])?0:1),c.numberOfDoubleDots)}(N,d,c.snapshot?._urlSegment,Me),Ut=tt.processChildren?nr(tt.segmentGroup,tt.index,N.commands):Dn(tt.segmentGroup,tt.index,N.commands);return Ct(d.root,tt.segmentGroup,Ut,v,D)}(c.snapshot?._lastPathIndex)}function Et(c){return"object"==typeof c&&null!=c&&!c.outlets&&!c.segmentPath}function et(c){return"object"==typeof c&&null!=c&&c.outlets}function Ct(c,d,a,v,D){let K,N={};v&&vn(v,((Me,tt)=>{N[tt]=Array.isArray(Me)?Me.map((Ut=>`${Ut}`)):`${Me}`})),K=c===d?a:gt(c,d,a);const q=W(Fe(K));return new We(q,N,D)}function gt(c,d,a){const v={};return vn(c.children,((D,N)=>{v[N]=D===d?a:gt(D,d,a)})),new Be(c.segments,v)}class Pt{constructor(d,a,v){if(this.isAbsolute=d,this.numberOfDoubleDots=a,this.commands=v,d&&v.length>0&&Et(v[0]))throw new l.vHH(4003,!1);const D=v.find(et);if(D&&D!==yn(v))throw new l.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class ut{constructor(d,a,v){this.segmentGroup=d,this.processChildren=a,this.index=v}}function Dn(c,d,a){if(c||(c=new Be([],{})),0===c.segments.length&&c.hasChildren())return nr(c,d,a);const v=function lr(c,d,a){let v=0,D=d;const N={match:!1,pathIndex:0,commandIndex:0};for(;D<c.segments.length;){if(v>=a.length)return N;const K=c.segments[D],q=a[v];if(et(q))break;const Me=`${q}`,tt=v<a.length-1?a[v+1]:null;if(D>0&&void 0===Me)break;if(Me&&tt&&"object"==typeof tt&&void 0===tt.outlets){if(!nn(Me,tt,K))return N;v+=2}else{if(!nn(Me,{},K))return N;v++}D++}return{match:!0,pathIndex:D,commandIndex:v}}(c,d,a),D=a.slice(v.commandIndex);if(v.match&&v.pathIndex<c.segments.length){const N=new Be(c.segments.slice(0,v.pathIndex),{});return N.children[vt]=new Be(c.segments.slice(v.pathIndex),c.children),nr(N,0,D)}return v.match&&0===D.length?new Be(c.segments,{}):v.match&&!c.hasChildren()?wn(c,d,a):v.match?nr(c,0,D):wn(c,d,a)}function nr(c,d,a){if(0===a.length)return new Be(c.segments,{});{const v=function ar(c){return et(c[0])?c[0].outlets:{[vt]:c}}(a),D={};return vn(v,((N,K)=>{"string"==typeof N&&(N=[N]),null!==N&&(D[K]=Dn(c.children[K],d,N))})),vn(c.children,((N,K)=>{void 0===v[K]&&(D[K]=N)})),new Be(c.segments,D)}}function wn(c,d,a){const v=c.segments.slice(0,d);let D=0;for(;D<a.length;){const N=a[D];if(et(N)){const Me=Cr(N.outlets);return new Be(v,Me)}if(0===D&&Et(a[0])){v.push(new _t(c.segments[d].path,br(a[0]))),D++;continue}const K=et(N)?N.outlets[vt]:`${N}`,q=D<a.length-1?a[D+1]:null;K&&q&&Et(q)?(v.push(new _t(K,br(q))),D+=2):(v.push(new _t(K,{})),D++)}return new Be(v,{})}function Cr(c){const d={};return vn(c,((a,v)=>{"string"==typeof a&&(a=[a]),null!==a&&(d[v]=wn(new Be([],{}),0,a))})),d}function br(c){const d={};return vn(c,((a,v)=>d[v]=`${a}`)),d}function nn(c,d,a){return c==a.path&&xn(d,a.parameters)}class rr{constructor(d,a){this.id=d,this.url=a}}class hr extends rr{constructor(d,a,v="imperative",D=null){super(d,a),this.type=0,this.navigationTrigger=v,this.restoredState=D}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class An extends rr{constructor(d,a,v){super(d,a),this.urlAfterRedirects=v,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Rn extends rr{constructor(d,a,v,D){super(d,a),this.reason=v,this.code=D,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Or extends rr{constructor(d,a,v,D){super(d,a),this.error=v,this.target=D,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class ns extends rr{constructor(d,a,v,D){super(d,a),this.urlAfterRedirects=v,this.state=D,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class pr extends rr{constructor(d,a,v,D){super(d,a),this.urlAfterRedirects=v,this.state=D,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Vn extends rr{constructor(d,a,v,D,N){super(d,a),this.urlAfterRedirects=v,this.state=D,this.shouldActivate=N,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class ci extends rr{constructor(d,a,v,D){super(d,a),this.urlAfterRedirects=v,this.state=D,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Qn extends rr{constructor(d,a,v,D){super(d,a),this.urlAfterRedirects=v,this.state=D,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class yr{constructor(d){this.route=d,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class sr{constructor(d){this.route=d,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Kr{constructor(d){this.snapshot=d,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class hs{constructor(d){this.snapshot=d,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class qn{constructor(d){this.snapshot=d,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ss{constructor(d){this.snapshot=d,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class rs{constructor(d,a,v){this.routerEvent=d,this.position=a,this.anchor=v,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Is{constructor(d){this._root=d}get root(){return this._root.value}parent(d){const a=this.pathFromRoot(d);return a.length>1?a[a.length-2]:null}children(d){const a=Ks(d,this._root);return a?a.children.map((v=>v.value)):[]}firstChild(d){const a=Ks(d,this._root);return a&&a.children.length>0?a.children[0].value:null}siblings(d){const a=fi(d,this._root);return a.length<2?[]:a[a.length-2].children.map((D=>D.value)).filter((D=>D!==d))}pathFromRoot(d){return fi(d,this._root).map((a=>a.value))}}function Ks(c,d){if(c===d.value)return d;for(const a of d.children){const v=Ks(c,a);if(v)return v}return null}function fi(c,d){if(c===d.value)return[d];for(const a of d.children){const v=fi(c,a);if(v.length)return v.unshift(d),v}return[]}class vr{constructor(d,a){this.value=d,this.children=a}toString(){return`TreeNode(${this.value})`}}function ps(c){const d={};return c&&c.children.forEach((a=>d[a.value.outlet]=a)),d}class hi extends Is{constructor(d,a){super(d),this.snapshot=a,Zs(this,d)}toString(){return this.snapshot.toString()}}function pi(c,d){const a=function gi(c,d){const K=new gs([],{},{},"",{},vt,d,null,c.root,-1,{});return new mi("",new vr(K,[]))}(c,d),v=new T([new _t("",{})]),D=new T({}),N=new T({}),K=new T({}),q=new T(""),Me=new Nr(v,D,K,q,N,vt,d,a.root);return Me.snapshot=a.root,new hi(new vr(Me,[]),a)}class Nr{constructor(d,a,v,D,N,K,q,Me){this.url=d,this.params=a,this.queryParams=v,this.fragment=D,this.data=N,this.outlet=K,this.component=q,this.title=this.data?.pipe((0,fe.U)((tt=>tt[Lt])))??(0,C.of)(void 0),this._futureSnapshot=Me}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._paramMap=this.params.pipe((0,fe.U)((d=>Gn(d))))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,fe.U)((d=>Gn(d))))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Ys(c,d="emptyOnly"){const a=c.pathFromRoot;let v=0;if("always"!==d)for(v=a.length-1;v>=1;){const D=a[v],N=a[v-1];if(D.routeConfig&&""===D.routeConfig.path)v--;else{if(N.component)break;v--}}return function No(c){return c.reduce(((d,a)=>({params:{...d.params,...a.params},data:{...d.data,...a.data},resolve:{...a.data,...d.resolve,...a.routeConfig?.data,...a._resolvedData}})),{params:{},data:{},resolve:{}})}(a.slice(v))}class gs{constructor(d,a,v,D,N,K,q,Me,tt,Ut,ht,Gt){this.url=d,this.params=a,this.queryParams=v,this.fragment=D,this.data=N,this.outlet=K,this.component=q,this.title=this.data?.[Lt],this.routeConfig=Me,this._urlSegment=tt,this._lastPathIndex=Ut,this._correctedLastPathIndex=Gt??Ut,this._resolve=ht}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._paramMap=Gn(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Gn(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map((v=>v.toString())).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class mi extends Is{constructor(d,a){super(a),this.url=d,Zs(this,a)}toString(){return yi(this._root)}}function Zs(c,d){d.value._routerState=c,d.children.forEach((a=>Zs(c,a)))}function yi(c){const d=c.children.length>0?` { ${c.children.map(yi).join(", ")} } `:"";return`${c.value}${d}`}function Yr(c){if(c.snapshot){const d=c.snapshot,a=c._futureSnapshot;c.snapshot=a,xn(d.queryParams,a.queryParams)||c.queryParams.next(a.queryParams),d.fragment!==a.fragment&&c.fragment.next(a.fragment),xn(d.params,a.params)||c.params.next(a.params),function on(c,d){if(c.length!==d.length)return!1;for(let a=0;a<c.length;++a)if(!xn(c[a],d[a]))return!1;return!0}(d.url,a.url)||c.url.next(a.url),xn(d.data,a.data)||c.data.next(a.data)}else c.snapshot=c._futureSnapshot,c.data.next(c._futureSnapshot.data)}function Ur(c,d){const a=xn(c.params,d.params)&&function Bt(c,d){return it(c,d)&&c.every(((a,v)=>xn(a.parameters,d[v].parameters)))}(c.url,d.url);return a&&!(!c.parent!=!d.parent)&&(!c.parent||Ur(c.parent,d.parent))}function Ms(c,d,a){if(a&&c.shouldReuseRoute(d.value,a.value.snapshot)){const v=a.value;v._futureSnapshot=d.value;const D=function Ki(c,d,a){return d.children.map((v=>{for(const D of a.children)if(c.shouldReuseRoute(v.value,D.value.snapshot))return Ms(c,v,D);return Ms(c,v)}))}(c,d,a);return new vr(v,D)}{if(c.shouldAttach(d.value)){const N=c.retrieve(d.value);if(null!==N){const K=N.route;return K.value._futureSnapshot=d.value,K.children=d.children.map((q=>Ms(c,q))),K}}const v=function Tr(c){return new Nr(new T(c.url),new T(c.params),new T(c.queryParams),new T(c.fragment),new T(c.data),c.outlet,c.component,c)}(d.value),D=d.children.map((N=>Ms(c,N)));return new vr(v,D)}}const As="ngNavigationCancelingError";function Zr(c,d){const{redirectTo:a,navigationBehaviorOptions:v}=Dt(d)?{redirectTo:d,navigationBehaviorOptions:void 0}:d,D=Ps(!1,0,d);return D.url=a,D.navigationBehaviorOptions=v,D}function Ps(c,d,a){const v=new Error("NavigationCancelingError: "+(c||""));return v[As]=!0,v.cancellationCode=d,a&&(v.url=a),v}function _i(c){return Ei(c)&&Dt(c.url)}function Ei(c){return c&&c[As]}class Di{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new Hr,this.attachRef=null}}let Hr=(()=>{class c{constructor(){this.contexts=new Map}onChildOutletCreated(a,v){const D=this.getOrCreateContext(a);D.outlet=v,this.contexts.set(a,D)}onChildOutletDestroyed(a){const v=this.getContext(a);v&&(v.outlet=null,v.attachRef=null)}onOutletDeactivated(){const a=this.contexts;return this.contexts=new Map,a}onOutletReAttached(a){this.contexts=a}getOrCreateContext(a){let v=this.getContext(a);return v||(v=new Di,this.contexts.set(a,v)),v}getContext(a){return this.contexts.get(a)||null}}return c.ɵfac=function(a){return new(a||c)},c.ɵprov=l.Yz7({token:c,factory:c.ɵfac,providedIn:"root"}),c})();const Rs=!1;let $n=(()=>{class c{constructor(a,v,D,N,K){this.parentContexts=a,this.location=v,this.changeDetector=N,this.environmentInjector=K,this.activated=null,this._activatedRoute=null,this.activateEvents=new l.vpe,this.deactivateEvents=new l.vpe,this.attachEvents=new l.vpe,this.detachEvents=new l.vpe,this.name=D||vt,a.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.getContext(this.name)?.outlet===this&&this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const a=this.parentContexts.getContext(this.name);a&&a.route&&(a.attachRef?this.attach(a.attachRef,a.route):this.activateWith(a.route,a.injector))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new l.vHH(4012,Rs);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new l.vHH(4012,Rs);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new l.vHH(4012,Rs);this.location.detach();const a=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(a.instance),a}attach(a,v){this.activated=a,this._activatedRoute=v,this.location.insert(a.hostView),this.attachEvents.emit(a.instance)}deactivate(){if(this.activated){const a=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(a)}}activateWith(a,v){if(this.isActivated)throw new l.vHH(4013,Rs);this._activatedRoute=a;const D=this.location,K=a._futureSnapshot.component,q=this.parentContexts.getOrCreateContext(this.name).children,Me=new xs(a,q,D.injector);if(v&&function jn(c){return!!c.resolveComponentFactory}(v)){const tt=v.resolveComponentFactory(K);this.activated=D.createComponent(tt,D.length,Me)}else this.activated=D.createComponent(K,{index:D.length,injector:Me,environmentInjector:v??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return c.ɵfac=function(a){return new(a||c)(l.Y36(Hr),l.Y36(l.s_b),l.$8M("name"),l.Y36(l.sBO),l.Y36(l.lqb))},c.ɵdir=l.lG2({type:c,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0}),c})();class xs{constructor(d,a,v){this.route=d,this.childContexts=a,this.parent=v}get(d,a){return d===Nr?this.route:d===Hr?this.childContexts:this.parent.get(d,a)}}let Vr=(()=>{class c{}return c.ɵfac=function(a){return new(a||c)},c.ɵcmp=l.Xpm({type:c,selectors:[["ng-component"]],standalone:!0,features:[l.jDz],decls:1,vars:0,template:function(a,v){1&a&&l._UZ(0,"router-outlet")},dependencies:[$n],encapsulation:2}),c})();function wi(c,d){return c.providers&&!c._injector&&(c._injector=(0,l.MMx)(c.providers,d,`Route: ${c.path}`)),c._injector??d}function ms(c){const d=c.children&&c.children.map(ms),a=d?{...c,children:d}:{...c};return!a.component&&!a.loadComponent&&(d||a.loadChildren)&&a.outlet&&a.outlet!==vt&&(a.component=Vr),a}function an(c){return c.outlet||vt}function ur(c,d){const a=c.filter((v=>an(v)===d));return a.push(...c.filter((v=>an(v)!==d))),a}function Un(c){if(!c)return null;if(c.routeConfig?._injector)return c.routeConfig._injector;for(let d=c.parent;d;d=d.parent){const a=d.routeConfig;if(a?._loadedInjector)return a._loadedInjector;if(a?._injector)return a._injector}return null}class is{constructor(d,a,v,D){this.routeReuseStrategy=d,this.futureState=a,this.currState=v,this.forwardEvent=D}activate(d){const a=this.futureState._root,v=this.currState?this.currState._root:null;this.deactivateChildRoutes(a,v,d),Yr(this.futureState.root),this.activateChildRoutes(a,v,d)}deactivateChildRoutes(d,a,v){const D=ps(a);d.children.forEach((N=>{const K=N.value.outlet;this.deactivateRoutes(N,D[K],v),delete D[K]})),vn(D,((N,K)=>{this.deactivateRouteAndItsChildren(N,v)}))}deactivateRoutes(d,a,v){const D=d.value,N=a?a.value:null;if(D===N)if(D.component){const K=v.getContext(D.outlet);K&&this.deactivateChildRoutes(d,a,K.children)}else this.deactivateChildRoutes(d,a,v);else N&&this.deactivateRouteAndItsChildren(a,v)}deactivateRouteAndItsChildren(d,a){d.value.component&&this.routeReuseStrategy.shouldDetach(d.value.snapshot)?this.detachAndStoreRouteSubtree(d,a):this.deactivateRouteAndOutlet(d,a)}detachAndStoreRouteSubtree(d,a){const v=a.getContext(d.value.outlet),D=v&&d.value.component?v.children:a,N=ps(d);for(const K of Object.keys(N))this.deactivateRouteAndItsChildren(N[K],D);if(v&&v.outlet){const K=v.outlet.detach(),q=v.children.onOutletDeactivated();this.routeReuseStrategy.store(d.value.snapshot,{componentRef:K,route:d,contexts:q})}}deactivateRouteAndOutlet(d,a){const v=a.getContext(d.value.outlet),D=v&&d.value.component?v.children:a,N=ps(d);for(const K of Object.keys(N))this.deactivateRouteAndItsChildren(N[K],D);v&&v.outlet&&(v.outlet.deactivate(),v.children.onOutletDeactivated(),v.attachRef=null,v.resolver=null,v.route=null)}activateChildRoutes(d,a,v){const D=ps(a);d.children.forEach((N=>{this.activateRoutes(N,D[N.value.outlet],v),this.forwardEvent(new Ss(N.value.snapshot))})),d.children.length&&this.forwardEvent(new hs(d.value.snapshot))}activateRoutes(d,a,v){const D=d.value,N=a?a.value:null;if(Yr(D),D===N)if(D.component){const K=v.getOrCreateContext(D.outlet);this.activateChildRoutes(d,a,K.children)}else this.activateChildRoutes(d,a,v);else if(D.component){const K=v.getOrCreateContext(D.outlet);if(this.routeReuseStrategy.shouldAttach(D.snapshot)){const q=this.routeReuseStrategy.retrieve(D.snapshot);this.routeReuseStrategy.store(D.snapshot,null),K.children.onOutletReAttached(q.contexts),K.attachRef=q.componentRef,K.route=q.route.value,K.outlet&&K.outlet.attach(q.componentRef,q.route.value),Yr(q.route.value),this.activateChildRoutes(d,null,K.children)}else{const q=Un(D.snapshot),Me=q?.get(l._Vd)??null;K.attachRef=null,K.route=D,K.resolver=Me,K.injector=q,K.outlet&&K.outlet.activateWith(D,K.injector),this.activateChildRoutes(d,null,K.children)}}else this.activateChildRoutes(d,null,v)}}class qs{constructor(d){this.path=d,this.route=this.path[this.path.length-1]}}class cr{constructor(d,a){this.component=d,this.route=a}}function os(c,d,a){const v=c._root;return Lr(v,d?d._root:null,a,[v.value])}function Rt(c,d){const a=Symbol(),v=d.get(c,a);return v===a?"function"!=typeof c||(0,l.Z0I)(c)?d.get(c):c:v}function Lr(c,d,a,v,D={canDeactivateChecks:[],canActivateChecks:[]}){const N=ps(d);return c.children.forEach((K=>{(function Qi(c,d,a,v,D={canDeactivateChecks:[],canActivateChecks:[]}){const N=c.value,K=d?d.value:null,q=a?a.getContext(c.value.outlet):null;if(K&&N.routeConfig===K.routeConfig){const Me=function Xs(c,d,a){if("function"==typeof a)return a(c,d);switch(a){case"pathParamsChange":return!it(c.url,d.url);case"pathParamsOrQueryParamsChange":return!it(c.url,d.url)||!xn(c.queryParams,d.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ur(c,d)||!xn(c.queryParams,d.queryParams);default:return!Ur(c,d)}}(K,N,N.routeConfig.runGuardsAndResolvers);Me?D.canActivateChecks.push(new qs(v)):(N.data=K.data,N._resolvedData=K._resolvedData),Lr(c,d,N.component?q?q.children:null:a,v,D),Me&&q&&q.outlet&&q.outlet.isActivated&&D.canDeactivateChecks.push(new cr(q.outlet.component,K))}else K&&ys(d,q,D),D.canActivateChecks.push(new qs(v)),Lr(c,null,N.component?q?q.children:null:a,v,D)})(K,N[K.value.outlet],a,v.concat([K.value]),D),delete N[K.value.outlet]})),vn(N,((K,q)=>ys(K,a.getContext(q),D))),D}function ys(c,d,a){const v=ps(c),D=c.value;vn(v,((N,K)=>{ys(N,D.component?d?d.children.getContext(K):null:d,a)})),a.canDeactivateChecks.push(new cr(D.component&&d&&d.outlet&&d.outlet.isActivated?d.outlet.component:null,D))}function qr(c){return"function"==typeof c}function Os(c){return c instanceof R||"EmptyError"===c?.name}const $r=Symbol("INITIAL_VALUE");function Jn(){return Ye((c=>(0,F.a)(c.map((d=>d.pipe((0,$e.q)(1),(0,Qe.O)($r))))).pipe((0,fe.U)((d=>{for(const a of d)if(!0!==a){if(a===$r)return $r;if(!1===a||a instanceof We)return a}return!0})),(0,Ie.h)((d=>d!==$r)),(0,$e.q)(1))))}function _r(c){return(0,be.z)((0,Y.b)((d=>{if(Dt(d))throw Zr(0,d)})),(0,fe.U)((d=>!0===d)))}const u={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function f(c,d,a,v,D){const N=E(c,d,a);return N.matched?function A(c,d,a,v){const D=d.canMatch;if(!D||0===D.length)return(0,C.of)(!0);const N=D.map((K=>{const q=Rt(K,c);return ne(function mn(c){return c&&qr(c.canMatch)}(q)?q.canMatch(d,a):c.runInContext((()=>q(d,a))))}));return(0,C.of)(N).pipe(Jn(),_r())}(v=wi(d,v),d,a).pipe((0,fe.U)((K=>!0===K?N:{...u}))):(0,C.of)(N)}function E(c,d,a){if(""===d.path)return"full"===d.pathMatch&&(c.hasChildren()||a.length>0)?{...u}:{matched:!0,consumedSegments:[],remainingSegments:a,parameters:{},positionalParamSegments:{}};const D=(d.matcher||Sn)(a,c,d);if(!D)return{...u};const N={};vn(D.posParams,((q,Me)=>{N[Me]=q.path}));const K=D.consumed.length>0?{...N,...D.consumed[D.consumed.length-1].parameters}:N;return{matched:!0,consumedSegments:D.consumed,remainingSegments:a.slice(D.consumed.length),parameters:K,positionalParamSegments:D.posParams??{}}}function P(c,d,a,v,D="corrected"){if(a.length>0&&function se(c,d,a){return a.some((v=>Oe(c,d,v)&&an(v)!==vt))}(c,a,v)){const K=new Be(d,function te(c,d,a,v){const D={};D[vt]=v,v._sourceSegment=c,v._segmentIndexShift=d.length;for(const N of a)if(""===N.path&&an(N)!==vt){const K=new Be([],{});K._sourceSegment=c,K._segmentIndexShift=d.length,D[an(N)]=K}return D}(c,d,v,new Be(a,c.children)));return K._sourceSegment=c,K._segmentIndexShift=d.length,{segmentGroup:K,slicedSegments:[]}}if(0===a.length&&function Ee(c,d,a){return a.some((v=>Oe(c,d,v)))}(c,a,v)){const K=new Be(c.segments,function V(c,d,a,v,D,N){const K={};for(const q of v)if(Oe(c,a,q)&&!D[an(q)]){const Me=new Be([],{});Me._sourceSegment=c,Me._segmentIndexShift="legacy"===N?c.segments.length:d.length,K[an(q)]=Me}return{...D,...K}}(c,d,a,v,c.children,D));return K._sourceSegment=c,K._segmentIndexShift=d.length,{segmentGroup:K,slicedSegments:a}}const N=new Be(c.segments,c.children);return N._sourceSegment=c,N._segmentIndexShift=d.length,{segmentGroup:N,slicedSegments:a}}function Oe(c,d,a){return(!(c.hasChildren()||d.length>0)||"full"!==a.pathMatch)&&""===a.path}function ot(c,d,a,v){return!!(an(c)===v||v!==vt&&Oe(d,a,c))&&("**"===c.path||E(d,c,a).matched)}function ft(c,d,a){return 0===d.length&&!c.children[a]}const Ht=!1;class jt{constructor(d){this.segmentGroup=d||null}}class Mt{constructor(d){this.urlTree=d}}function Ot(c){return(0,he._)(new jt(c))}function en(c){return(0,he._)(new Mt(c))}class pn{constructor(d,a,v,D,N){this.injector=d,this.configLoader=a,this.urlSerializer=v,this.urlTree=D,this.config=N,this.allowRedirects=!0}apply(){const d=P(this.urlTree.root,[],[],this.config).segmentGroup,a=new Be(d.segments,d.children);return this.expandSegmentGroup(this.injector,this.config,a,vt).pipe((0,fe.U)((N=>this.createUrlTree(Fe(N),this.urlTree.queryParams,this.urlTree.fragment)))).pipe((0,xe.K)((N=>{if(N instanceof Mt)return this.allowRedirects=!1,this.match(N.urlTree);throw N instanceof jt?this.noMatchError(N):N})))}match(d){return this.expandSegmentGroup(this.injector,this.config,d.root,vt).pipe((0,fe.U)((D=>this.createUrlTree(Fe(D),d.queryParams,d.fragment)))).pipe((0,xe.K)((D=>{throw D instanceof jt?this.noMatchError(D):D})))}noMatchError(d){return new l.vHH(4002,Ht)}createUrlTree(d,a,v){const D=W(d);return new We(D,a,v)}expandSegmentGroup(d,a,v,D){return 0===v.segments.length&&v.hasChildren()?this.expandChildren(d,a,v).pipe((0,fe.U)((N=>new Be([],N)))):this.expandSegment(d,v,a,v.segments,D,!0)}expandChildren(d,a,v){const D=[];for(const N of Object.keys(v.children))"primary"===N?D.unshift(N):D.push(N);return(0,_.D)(D).pipe((0,ge.b)((N=>{const K=v.children[N],q=ur(a,N);return this.expandSegmentGroup(d,q,K,N).pipe((0,fe.U)((Me=>({segment:Me,outlet:N}))))})),wt(((N,K)=>(N[K.outlet]=K.segment,N)),{}),St())}expandSegment(d,a,v,D,N,K){return(0,_.D)(v).pipe((0,ge.b)((q=>this.expandSegmentAgainstRoute(d,a,v,q,D,N,K).pipe((0,xe.K)((tt=>{if(tt instanceof jt)return(0,C.of)(null);throw tt}))))),ae((q=>!!q)),(0,xe.K)(((q,Me)=>{if(Os(q))return ft(a,D,N)?(0,C.of)(new Be([],{})):Ot(a);throw q})))}expandSegmentAgainstRoute(d,a,v,D,N,K,q){return ot(D,a,N,K)?void 0===D.redirectTo?this.matchSegmentAgainstRoute(d,a,D,N,K):q&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(d,a,v,D,N,K):Ot(a):Ot(a)}expandSegmentAgainstRouteUsingRedirect(d,a,v,D,N,K){return"**"===D.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(d,v,D,K):this.expandRegularSegmentAgainstRouteUsingRedirect(d,a,v,D,N,K)}expandWildCardWithParamsAgainstRouteUsingRedirect(d,a,v,D){const N=this.applyRedirectCommands([],v.redirectTo,{});return v.redirectTo.startsWith("/")?en(N):this.lineralizeSegments(v,N).pipe((0,X.z)((K=>{const q=new Be(K,{});return this.expandSegment(d,q,a,K,D,!1)})))}expandRegularSegmentAgainstRouteUsingRedirect(d,a,v,D,N,K){const{matched:q,consumedSegments:Me,remainingSegments:tt,positionalParamSegments:Ut}=E(a,D,N);if(!q)return Ot(a);const ht=this.applyRedirectCommands(Me,D.redirectTo,Ut);return D.redirectTo.startsWith("/")?en(ht):this.lineralizeSegments(D,ht).pipe((0,X.z)((Gt=>this.expandSegment(d,a,v,Gt.concat(tt),K,!1))))}matchSegmentAgainstRoute(d,a,v,D,N){return"**"===v.path?(d=wi(v,d),v.loadChildren?(v._loadedRoutes?(0,C.of)({routes:v._loadedRoutes,injector:v._loadedInjector}):this.configLoader.loadChildren(d,v)).pipe((0,fe.U)((q=>(v._loadedRoutes=q.routes,v._loadedInjector=q.injector,new Be(D,{}))))):(0,C.of)(new Be(D,{}))):f(a,v,D,d).pipe(Ye((({matched:K,consumedSegments:q,remainingSegments:Me})=>K?this.getChildConfig(d=v._injector??d,v,D).pipe((0,X.z)((Ut=>{const ht=Ut.injector??d,Gt=Ut.routes,{segmentGroup:dr,slicedSegments:Er}=P(a,q,Me,Gt),oi=new Be(dr.segments,dr.children);if(0===Er.length&&oi.hasChildren())return this.expandChildren(ht,Gt,oi).pipe((0,fe.U)((Cl=>new Be(q,Cl))));if(0===Gt.length&&0===Er.length)return(0,C.of)(new Be(q,{}));const Br=an(v)===N;return this.expandSegment(ht,oi,Gt,Er,Br?vt:N,!0).pipe((0,fe.U)((Li=>new Be(q.concat(Li.segments),Li.children))))}))):Ot(a))))}getChildConfig(d,a,v){return a.children?(0,C.of)({routes:a.children,injector:d}):a.loadChildren?void 0!==a._loadedRoutes?(0,C.of)({routes:a._loadedRoutes,injector:a._loadedInjector}):function Ls(c,d,a,v){const D=d.canLoad;if(void 0===D||0===D.length)return(0,C.of)(!0);const N=D.map((K=>{const q=Rt(K,c);return ne(function Ti(c){return c&&qr(c.canLoad)}(q)?q.canLoad(d,a):c.runInContext((()=>q(d,a))))}));return(0,C.of)(N).pipe(Jn(),_r())}(d,a,v).pipe((0,X.z)((D=>D?this.configLoader.loadChildren(d,a).pipe((0,Y.b)((N=>{a._loadedRoutes=N.routes,a._loadedInjector=N.injector}))):function Fn(c){return(0,he._)(Ps(Ht,3))}()))):(0,C.of)({routes:[],injector:d})}lineralizeSegments(d,a){let v=[],D=a.root;for(;;){if(v=v.concat(D.segments),0===D.numberOfChildren)return(0,C.of)(v);if(D.numberOfChildren>1||!D.children[vt])return(0,he._)(new l.vHH(4e3,Ht));D=D.children[vt]}}applyRedirectCommands(d,a,v){return this.applyRedirectCreateUrlTree(a,this.urlSerializer.parse(a),d,v)}applyRedirectCreateUrlTree(d,a,v,D){const N=this.createSegmentGroup(d,a.root,v,D);return new We(N,this.createQueryParams(a.queryParams,this.urlTree.queryParams),a.fragment)}createQueryParams(d,a){const v={};return vn(d,((D,N)=>{if("string"==typeof D&&D.startsWith(":")){const q=D.substring(1);v[N]=a[q]}else v[N]=D})),v}createSegmentGroup(d,a,v,D){const N=this.createSegments(d,a.segments,v,D);let K={};return vn(a.children,((q,Me)=>{K[Me]=this.createSegmentGroup(d,q,v,D)})),new Be(N,K)}createSegments(d,a,v,D){return a.map((N=>N.path.startsWith(":")?this.findPosParam(d,N,D):this.findOrReturn(N,v)))}findPosParam(d,a,v){const D=v[a.path.substring(1)];if(!D)throw new l.vHH(4001,Ht);return D}findOrReturn(d,a){let v=0;for(const D of a){if(D.path===d.path)return a.splice(v),D;v++}return d}}class Xn{}class jr{constructor(d,a,v,D,N,K,q,Me){this.injector=d,this.rootComponentType=a,this.config=v,this.urlTree=D,this.url=N,this.paramsInheritanceStrategy=K,this.relativeLinkResolution=q,this.urlSerializer=Me}recognize(){const d=P(this.urlTree.root,[],[],this.config.filter((a=>void 0===a.redirectTo)),this.relativeLinkResolution).segmentGroup;return this.processSegmentGroup(this.injector,this.config,d,vt).pipe((0,fe.U)((a=>{if(null===a)return null;const v=new gs([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},vt,this.rootComponentType,null,this.urlTree.root,-1,{}),D=new vr(v,a),N=new mi(this.url,D);return this.inheritParamsAndData(N._root),N})))}inheritParamsAndData(d){const a=d.value,v=Ys(a,this.paramsInheritanceStrategy);a.params=Object.freeze(v.params),a.data=Object.freeze(v.data),d.children.forEach((D=>this.inheritParamsAndData(D)))}processSegmentGroup(d,a,v,D){return 0===v.segments.length&&v.hasChildren()?this.processChildren(d,a,v):this.processSegment(d,a,v,v.segments,D)}processChildren(d,a,v){return(0,_.D)(Object.keys(v.children)).pipe((0,ge.b)((D=>{const N=v.children[D],K=ur(a,D);return this.processSegmentGroup(d,K,N,D)})),wt(((D,N)=>D&&N?(D.push(...N),D):null)),function sn(c,d=!1){return(0,we.e)(((a,v)=>{let D=0;a.subscribe(new ke.Q(v,(N=>{const K=c(N,D++);(K||d)&&v.next(N),!K&&v.complete()})))}))}((D=>null!==D)),ue(null),St(),(0,fe.U)((D=>{if(null===D)return null;const N=as(D);return function Ai(c){c.sort(((d,a)=>d.value.outlet===vt?-1:a.value.outlet===vt?1:d.value.outlet.localeCompare(a.value.outlet)))}(N),N})))}processSegment(d,a,v,D,N){return(0,_.D)(a).pipe((0,ge.b)((K=>this.processSegmentAgainstRoute(K._injector??d,K,v,D,N))),ae((K=>!!K)),(0,xe.K)((K=>{if(Os(K))return ft(v,D,N)?(0,C.of)([]):(0,C.of)(null);throw K})))}processSegmentAgainstRoute(d,a,v,D,N){if(a.redirectTo||!ot(a,v,D,N))return(0,C.of)(null);let K;if("**"===a.path){const q=D.length>0?yn(D).parameters:{},Me=w(v)+D.length,tt=new gs(D,q,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,M(a),an(a),a.component??a._loadedComponent??null,a,g(v),Me,Q(a),Me);K=(0,C.of)({snapshot:tt,consumedSegments:[],remainingSegments:[]})}else K=f(v,a,D,d).pipe((0,fe.U)((({matched:q,consumedSegments:Me,remainingSegments:tt,parameters:Ut})=>{if(!q)return null;const ht=w(v)+Me.length;return{snapshot:new gs(Me,Ut,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,M(a),an(a),a.component??a._loadedComponent??null,a,g(v),ht,Q(a),ht),consumedSegments:Me,remainingSegments:tt}})));return K.pipe(Ye((q=>{if(null===q)return(0,C.of)(null);const{snapshot:Me,consumedSegments:tt,remainingSegments:Ut}=q;d=a._injector??d;const ht=a._loadedInjector??d,Gt=function zr(c){return c.children?c.children:c.loadChildren?c._loadedRoutes:[]}(a),{segmentGroup:dr,slicedSegments:Er}=P(v,tt,Ut,Gt.filter((Br=>void 0===Br.redirectTo)),this.relativeLinkResolution);if(0===Er.length&&dr.hasChildren())return this.processChildren(ht,Gt,dr).pipe((0,fe.U)((Br=>null===Br?null:[new vr(Me,Br)])));if(0===Gt.length&&0===Er.length)return(0,C.of)([new vr(Me,[])]);const oi=an(a)===N;return this.processSegment(ht,Gt,dr,Er,oi?vt:N).pipe((0,fe.U)((Br=>null===Br?null:[new vr(Me,Br)])))})))}}function Ir(c){const d=c.value.routeConfig;return d&&""===d.path&&void 0===d.redirectTo}function as(c){const d=[],a=new Set;for(const v of c){if(!Ir(v)){d.push(v);continue}const D=d.find((N=>v.value.routeConfig===N.value.routeConfig));void 0!==D?(D.children.push(...v.children),a.add(D)):d.push(v)}for(const v of a){const D=as(v.children);d.push(new vr(v.value,D))}return d.filter((v=>!a.has(v)))}function g(c){let d=c;for(;d._sourceSegment;)d=d._sourceSegment;return d}function w(c){let d=c,a=d._segmentIndexShift??0;for(;d._sourceSegment;)d=d._sourceSegment,a+=d._segmentIndexShift??0;return a-1}function M(c){return c.data||{}}function Q(c){return c.resolve||{}}function xt(c){return"string"==typeof c.title||null===c.title}function rn(c){return Ye((d=>{const a=c(d);return a?(0,_.D)(a).pipe((0,fe.U)((()=>d))):(0,C.of)(d)}))}let Vt=(()=>{class c{buildTitle(a){let v,D=a.root;for(;void 0!==D;)v=this.getResolvedTitleForRoute(D)??v,D=D.children.find((N=>N.outlet===vt));return v}getResolvedTitleForRoute(a){return a.data[Lt]}}return c.ɵfac=function(a){return new(a||c)},c.ɵprov=l.Yz7({token:c,factory:function(){return(0,l.f3M)(Cn)},providedIn:"root"}),c})(),Cn=(()=>{class c extends Vt{constructor(a){super(),this.title=a}updateTitle(a){const v=this.buildTitle(a);void 0!==v&&this.title.setTitle(v)}}return c.ɵfac=function(a){return new(a||c)(l.LFG(Tn.Dx))},c.ɵprov=l.Yz7({token:c,factory:c.ɵfac,providedIn:"root"}),c})();class Mr{}class mr extends class Jr{shouldDetach(d){return!1}store(d,a){}shouldAttach(d){return!1}retrieve(d){return null}shouldReuseRoute(d,a){return d.routeConfig===a.routeConfig}}{}const Ar=new l.OlP("",{providedIn:"root",factory:()=>({})}),ri=new l.OlP("ROUTES");let ma=(()=>{class c{constructor(a,v){this.injector=a,this.compiler=v,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(a){if(this.componentLoaders.get(a))return this.componentLoaders.get(a);if(a._loadedComponent)return(0,C.of)(a._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(a);const v=ne(a.loadComponent()).pipe((0,Y.b)((N=>{this.onLoadEndListener&&this.onLoadEndListener(a),a._loadedComponent=N})),(0,gn.x)((()=>{this.componentLoaders.delete(a)}))),D=new qe(v,(()=>new I.x)).pipe(Le());return this.componentLoaders.set(a,D),D}loadChildren(a,v){if(this.childrenLoaders.get(v))return this.childrenLoaders.get(v);if(v._loadedRoutes)return(0,C.of)({routes:v._loadedRoutes,injector:v._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(v);const N=this.loadModuleFactoryOrRoutes(v.loadChildren).pipe((0,fe.U)((q=>{this.onLoadEndListener&&this.onLoadEndListener(v);let Me,tt,Ut=!1;Array.isArray(q)?tt=q:(Me=q.create(a).injector,tt=On(Me.get(ri,[],l.XFs.Self|l.XFs.Optional)));return{routes:tt.map(ms),injector:Me}})),(0,gn.x)((()=>{this.childrenLoaders.delete(v)}))),K=new qe(N,(()=>new I.x)).pipe(Le());return this.childrenLoaders.set(v,K),K}loadModuleFactoryOrRoutes(a){return ne(a()).pipe((0,X.z)((v=>v instanceof l.YKP||Array.isArray(v)?(0,C.of)(v):(0,_.D)(this.compiler.compileModuleAsync(v)))))}}return c.ɵfac=function(a){return new(a||c)(l.LFG(l.zs3),l.LFG(l.Sil))},c.ɵprov=l.Yz7({token:c,factory:c.ɵfac,providedIn:"root"}),c})();class ya{}class va{shouldProcessUrl(d){return!0}extract(d){return d}merge(d,a){return d}}function Xr(c){throw c}function ml(c,d,a){return d.parse("/")}const Pi={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Fo={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function Ri(){const c=(0,l.f3M)(at),d=(0,l.f3M)(Hr),a=(0,l.f3M)(le.Ye),v=(0,l.f3M)(l.zs3),D=(0,l.f3M)(l.Sil),N=(0,l.f3M)(ri,{optional:!0})??[],K=(0,l.f3M)(Ar,{optional:!0})??{},q=(0,l.f3M)(Cn),Me=(0,l.f3M)(Vt,{optional:!0}),tt=(0,l.f3M)(ya,{optional:!0}),Ut=(0,l.f3M)(Mr,{optional:!0}),ht=new Hn(null,c,d,a,v,D,On(N));return tt&&(ht.urlHandlingStrategy=tt),Ut&&(ht.routeReuseStrategy=Ut),ht.titleStrategy=Me??q,function ko(c,d){c.errorHandler&&(d.errorHandler=c.errorHandler),c.malformedUriErrorHandler&&(d.malformedUriErrorHandler=c.malformedUriErrorHandler),c.onSameUrlNavigation&&(d.onSameUrlNavigation=c.onSameUrlNavigation),c.paramsInheritanceStrategy&&(d.paramsInheritanceStrategy=c.paramsInheritanceStrategy),c.relativeLinkResolution&&(d.relativeLinkResolution=c.relativeLinkResolution),c.urlUpdateStrategy&&(d.urlUpdateStrategy=c.urlUpdateStrategy),c.canceledNavigationResolution&&(d.canceledNavigationResolution=c.canceledNavigationResolution)}(K,ht),ht}let Hn=(()=>{class c{constructor(a,v,D,N,K,q,Me){this.rootComponentType=a,this.urlSerializer=v,this.rootContexts=D,this.location=N,this.config=Me,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new I.x,this.errorHandler=Xr,this.malformedUriErrorHandler=ml,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>(0,C.of)(void 0),this.urlHandlingStrategy=new va,this.routeReuseStrategy=new mr,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.configLoader=K.get(ma),this.configLoader.onLoadEndListener=Gt=>this.triggerEvent(new sr(Gt)),this.configLoader.onLoadStartListener=Gt=>this.triggerEvent(new yr(Gt)),this.ngModule=K.get(l.h0i),this.console=K.get(l.c2e);const ht=K.get(l.R0b);this.isNgZoneEnabled=ht instanceof l.R0b&&l.R0b.isInAngularZone(),this.resetConfig(Me),this.currentUrlTree=function Pe(){return new We(new Be([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=pi(this.currentUrlTree,this.rootComponentType),this.transitions=new T({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){return this.location.getState()?.ɵrouterPageId}setupNavigations(a){const v=this.events;return a.pipe((0,Ie.h)((D=>0!==D.id)),(0,fe.U)((D=>({...D,extractedUrl:this.urlHandlingStrategy.extract(D.rawUrl)}))),Ye((D=>{let N=!1,K=!1;return(0,C.of)(D).pipe((0,Y.b)((q=>{this.currentNavigation={id:q.id,initialUrl:q.rawUrl,extractedUrl:q.extractedUrl,trigger:q.source,extras:q.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}})),Ye((q=>{const Me=this.browserUrlTree.toString(),tt=!this.navigated||q.extractedUrl.toString()!==Me||Me!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||tt)&&this.urlHandlingStrategy.shouldProcessUrl(q.rawUrl))return jo(q.source)&&(this.browserUrlTree=q.extractedUrl),(0,C.of)(q).pipe(Ye((ht=>{const Gt=this.transitions.getValue();return v.next(new hr(ht.id,this.serializeUrl(ht.extractedUrl),ht.source,ht.restoredState)),Gt!==this.transitions.getValue()?oe.E:Promise.resolve(ht)})),function un(c,d,a,v){return Ye((D=>function ln(c,d,a,v,D){return new pn(c,d,a,v,D).apply()}(c,d,a,D.extractedUrl,v).pipe((0,fe.U)((N=>({...D,urlAfterRedirects:N}))))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,Y.b)((ht=>{this.currentNavigation={...this.currentNavigation,finalUrl:ht.urlAfterRedirects},D.urlAfterRedirects=ht.urlAfterRedirects})),function Ce(c,d,a,v,D,N){return(0,X.z)((K=>function kr(c,d,a,v,D,N,K="emptyOnly",q="legacy"){return new jr(c,d,a,v,D,K,q,N).recognize().pipe(Ye((Me=>null===Me?function Sr(c){return new j.y((d=>d.error(c)))}(new Xn):(0,C.of)(Me))))}(c,d,a,K.urlAfterRedirects,v.serialize(K.urlAfterRedirects),v,D,N).pipe((0,fe.U)((q=>({...K,targetSnapshot:q}))))))}(this.ngModule.injector,this.rootComponentType,this.config,this.urlSerializer,this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,Y.b)((ht=>{if(D.targetSnapshot=ht.targetSnapshot,"eager"===this.urlUpdateStrategy){if(!ht.extras.skipLocationChange){const dr=this.urlHandlingStrategy.merge(ht.urlAfterRedirects,ht.rawUrl);this.setBrowserUrl(dr,ht)}this.browserUrlTree=ht.urlAfterRedirects}const Gt=new ns(ht.id,this.serializeUrl(ht.extractedUrl),this.serializeUrl(ht.urlAfterRedirects),ht.targetSnapshot);v.next(Gt)})));if(tt&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:Gt,extractedUrl:dr,source:Er,restoredState:oi,extras:Br}=q,Ca=new hr(Gt,this.serializeUrl(dr),Er,oi);v.next(Ca);const Li=pi(dr,this.rootComponentType).snapshot;return D={...q,targetSnapshot:Li,urlAfterRedirects:dr,extras:{...Br,skipLocationChange:!1,replaceUrl:!1}},(0,C.of)(D)}return this.rawUrlTree=q.rawUrl,q.resolve(null),oe.E})),(0,Y.b)((q=>{const Me=new pr(q.id,this.serializeUrl(q.extractedUrl),this.serializeUrl(q.urlAfterRedirects),q.targetSnapshot);this.triggerEvent(Me)})),(0,fe.U)((q=>D={...q,guards:os(q.targetSnapshot,q.currentSnapshot,this.rootContexts)})),function ti(c,d){return(0,X.z)((a=>{const{targetSnapshot:v,currentSnapshot:D,guards:{canActivateChecks:N,canDeactivateChecks:K}}=a;return 0===K.length&&0===N.length?(0,C.of)({...a,guardsResult:!0}):function Ns(c,d,a,v){return(0,_.D)(c).pipe((0,X.z)((D=>function Fr(c,d,a,v,D){const N=d&&d.routeConfig?d.routeConfig.canDeactivate:null;if(!N||0===N.length)return(0,C.of)(!0);const K=N.map((q=>{const Me=Un(d)??D,tt=Rt(q,Me);return ne(function zt(c){return c&&qr(c.canDeactivate)}(tt)?tt.canDeactivate(c,d,a,v):Me.runInContext((()=>tt(c,d,a,v)))).pipe(ae())}));return(0,C.of)(K).pipe(Jn())}(D.component,D.route,a,d,v))),ae((D=>!0!==D),!0))}(K,v,D,c).pipe((0,X.z)((q=>q&&function ei(c){return"boolean"==typeof c}(q)?function Lo(c,d,a,v){return(0,_.D)(d).pipe((0,ge.b)((D=>(0,U.z)(function Mi(c,d){return null!==c&&d&&d(new Kr(c)),(0,C.of)(!0)}(D.route.parent,v),function Ii(c,d){return null!==c&&d&&d(new qn(c)),(0,C.of)(!0)}(D.route,v),function Kn(c,d,a){const v=d[d.length-1],N=d.slice(0,d.length-1).reverse().map((K=>function Js(c){const d=c.routeConfig?c.routeConfig.canActivateChild:null;return d&&0!==d.length?{node:c,guards:d}:null}(K))).filter((K=>null!==K)).map((K=>re((()=>{const q=K.guards.map((Me=>{const tt=Un(K.node)??a,Ut=Rt(Me,tt);return ne(function He(c){return c&&qr(c.canActivateChild)}(Ut)?Ut.canActivateChild(v,c):tt.runInContext((()=>Ut(v,c)))).pipe(ae())}));return(0,C.of)(q).pipe(Jn())}))));return(0,C.of)(N).pipe(Jn())}(c,D.path,a),function vs(c,d,a){const v=d.routeConfig?d.routeConfig.canActivate:null;if(!v||0===v.length)return(0,C.of)(!0);const D=v.map((N=>re((()=>{const K=Un(d)??a,q=Rt(N,K);return ne(function Si(c){return c&&qr(c.canActivate)}(q)?q.canActivate(d,c):K.runInContext((()=>q(d,c)))).pipe(ae())}))));return(0,C.of)(D).pipe(Jn())}(c,D.route,a)))),ae((D=>!0!==D),!0))}(v,N,c,d):(0,C.of)(q))),(0,fe.U)((q=>({...a,guardsResult:q}))))}))}(this.ngModule.injector,(q=>this.triggerEvent(q))),(0,Y.b)((q=>{if(D.guardsResult=q.guardsResult,Dt(q.guardsResult))throw Zr(0,q.guardsResult);const Me=new Vn(q.id,this.serializeUrl(q.extractedUrl),this.serializeUrl(q.urlAfterRedirects),q.targetSnapshot,!!q.guardsResult);this.triggerEvent(Me)})),(0,Ie.h)((q=>!!q.guardsResult||(this.restoreHistory(q),this.cancelNavigationTransition(q,"",3),!1))),rn((q=>{if(q.guards.canActivateChecks.length)return(0,C.of)(q).pipe((0,Y.b)((Me=>{const tt=new ci(Me.id,this.serializeUrl(Me.extractedUrl),this.serializeUrl(Me.urlAfterRedirects),Me.targetSnapshot);this.triggerEvent(tt)})),Ye((Me=>{let tt=!1;return(0,C.of)(Me).pipe(function Ae(c,d){return(0,X.z)((a=>{const{targetSnapshot:v,guards:{canActivateChecks:D}}=a;if(!D.length)return(0,C.of)(a);let N=0;return(0,_.D)(D).pipe((0,ge.b)((K=>function ct(c,d,a,v){const D=c.routeConfig,N=c._resolve;return void 0!==D?.title&&!xt(D)&&(N[Lt]=D.title),function It(c,d,a,v){const D=function tn(c){return[...Object.keys(c),...Object.getOwnPropertySymbols(c)]}(c);if(0===D.length)return(0,C.of)({});const N={};return(0,_.D)(D).pipe((0,X.z)((K=>function cn(c,d,a,v){const D=Un(d)??v,N=Rt(c,D);return ne(N.resolve?N.resolve(d,a):D.runInContext((()=>N(d,a))))}(c[K],d,a,v).pipe(ae(),(0,Y.b)((q=>{N[K]=q}))))),Wt(1),function dn(c){return(0,fe.U)((()=>c))}(N),(0,xe.K)((K=>Os(K)?oe.E:(0,he._)(K))))}(N,c,d,v).pipe((0,fe.U)((K=>(c._resolvedData=K,c.data=Ys(c,a).resolve,D&&xt(D)&&(c.data[Lt]=D.title),null))))}(K.route,v,c,d))),(0,Y.b)((()=>N++)),Wt(1),(0,X.z)((K=>N===D.length?(0,C.of)(a):oe.E)))}))}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,Y.b)({next:()=>tt=!0,complete:()=>{tt||(this.restoreHistory(Me),this.cancelNavigationTransition(Me,"",2))}}))})),(0,Y.b)((Me=>{const tt=new Qn(Me.id,this.serializeUrl(Me.extractedUrl),this.serializeUrl(Me.urlAfterRedirects),Me.targetSnapshot);this.triggerEvent(tt)})))})),rn((q=>{const Me=tt=>{const Ut=[];tt.routeConfig?.loadComponent&&!tt.routeConfig._loadedComponent&&Ut.push(this.configLoader.loadComponent(tt.routeConfig).pipe((0,Y.b)((ht=>{tt.component=ht})),(0,fe.U)((()=>{}))));for(const ht of tt.children)Ut.push(...Me(ht));return Ut};return(0,F.a)(Me(q.targetSnapshot.root)).pipe(ue(),(0,$e.q)(1))})),rn((()=>this.afterPreactivation())),(0,fe.U)((q=>{const Me=function vi(c,d,a){const v=Ms(c,d._root,a?a._root:void 0);return new hi(v,d)}(this.routeReuseStrategy,q.targetSnapshot,q.currentRouterState);return D={...q,targetRouterState:Me}})),(0,Y.b)((q=>{this.currentUrlTree=q.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(q.urlAfterRedirects,q.rawUrl),this.routerState=q.targetRouterState,"deferred"===this.urlUpdateStrategy&&(q.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,q),this.browserUrlTree=q.urlAfterRedirects)})),((c,d,a)=>(0,fe.U)((v=>(new is(d,v.targetRouterState,v.currentRouterState,a).activate(c),v))))(this.rootContexts,this.routeReuseStrategy,(q=>this.triggerEvent(q))),(0,Y.b)({next(){N=!0},complete(){N=!0}}),(0,gn.x)((()=>{N||K||this.cancelNavigationTransition(D,"",1),this.currentNavigation?.id===D.id&&(this.currentNavigation=null)})),(0,xe.K)((q=>{if(K=!0,Ei(q)){_i(q)||(this.navigated=!0,this.restoreHistory(D,!0));const Me=new Rn(D.id,this.serializeUrl(D.extractedUrl),q.message,q.cancellationCode);if(v.next(Me),_i(q)){const tt=this.urlHandlingStrategy.merge(q.url,this.rawUrlTree),Ut={skipLocationChange:D.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||jo(D.source)};this.scheduleNavigation(tt,"imperative",null,Ut,{resolve:D.resolve,reject:D.reject,promise:D.promise})}else D.resolve(!1)}else{this.restoreHistory(D,!0);const Me=new Or(D.id,this.serializeUrl(D.extractedUrl),q,D.targetSnapshot??void 0);v.next(Me);try{D.resolve(this.errorHandler(q))}catch(tt){D.reject(tt)}}return oe.E})))})))}resetRootComponentType(a){this.rootComponentType=a,this.routerState.root.component=this.rootComponentType}setTransition(a){this.transitions.next({...this.transitions.value,...a})}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe((a=>{const v="popstate"===a.type?"popstate":"hashchange";"popstate"===v&&setTimeout((()=>{const D={replaceUrl:!0},N=a.state?.navigationId?a.state:null;if(N){const q={...N};delete q.navigationId,delete q.ɵrouterPageId,0!==Object.keys(q).length&&(D.state=q)}const K=this.parseUrl(a.url);this.scheduleNavigation(K,v,N,D)}),0)})))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(a){this.events.next(a)}resetConfig(a){this.config=a.map(ms),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(a,v={}){const{relativeTo:D,queryParams:N,fragment:K,queryParamsHandling:q,preserveFragment:Me}=v,tt=D||this.routerState.root,Ut=Me?this.currentUrlTree.fragment:K;let ht=null;switch(q){case"merge":ht={...this.currentUrlTree.queryParams,...N};break;case"preserve":ht=this.currentUrlTree.queryParams;break;default:ht=N||null}return null!==ht&&(ht=this.removeEmptyProps(ht)),dt(tt,this.currentUrlTree,a,ht,Ut??null)}navigateByUrl(a,v={skipLocationChange:!1}){const D=Dt(a)?a:this.parseUrl(a),N=this.urlHandlingStrategy.merge(D,this.rawUrlTree);return this.scheduleNavigation(N,"imperative",null,v)}navigate(a,v={skipLocationChange:!1}){return function yl(c){for(let d=0;d<c.length;d++){if(null==c[d])throw new l.vHH(4008,false)}}(a),this.navigateByUrl(this.createUrlTree(a,v),v)}serializeUrl(a){return this.urlSerializer.serialize(a)}parseUrl(a){let v;try{v=this.urlSerializer.parse(a)}catch(D){v=this.malformedUriErrorHandler(D,this.urlSerializer,a)}return v}isActive(a,v){let D;if(D=!0===v?{...Pi}:!1===v?{...Fo}:v,Dt(a))return $(this.currentUrlTree,a,D);const N=this.parseUrl(a);return $(this.currentUrlTree,N,D)}removeEmptyProps(a){return Object.keys(a).reduce(((v,D)=>{const N=a[D];return null!=N&&(v[D]=N),v}),{})}processNavigations(){this.navigations.subscribe((a=>{this.navigated=!0,this.lastSuccessfulId=a.id,this.currentPageId=a.targetPageId,this.events.next(new An(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.titleStrategy?.updateTitle(this.routerState.snapshot),a.resolve(!0)}),(a=>{this.console.warn(`Unhandled Navigation Error: ${a}`)}))}scheduleNavigation(a,v,D,N,K){if(this.disposed)return Promise.resolve(!1);let q,Me,tt;K?(q=K.resolve,Me=K.reject,tt=K.promise):tt=new Promise(((Gt,dr)=>{q=Gt,Me=dr}));const Ut=++this.navigationId;let ht;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(D=this.location.getState()),ht=D&&D.ɵrouterPageId?D.ɵrouterPageId:N.replaceUrl||N.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):ht=0,this.setTransition({id:Ut,targetPageId:ht,source:v,restoredState:D,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:a,extras:N,resolve:q,reject:Me,promise:tt,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),tt.catch((Gt=>Promise.reject(Gt)))}setBrowserUrl(a,v){const D=this.urlSerializer.serialize(a),N={...v.extras.state,...this.generateNgRouterState(v.id,v.targetPageId)};this.location.isCurrentPathEqualTo(D)||v.extras.replaceUrl?this.location.replaceState(D,"",N):this.location.go(D,"",N)}restoreHistory(a,v=!1){if("computed"===this.canceledNavigationResolution){const D=this.currentPageId-a.targetPageId;"popstate"!==a.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.currentNavigation?.finalUrl||0===D?this.currentUrlTree===this.currentNavigation?.finalUrl&&0===D&&(this.resetState(a),this.browserUrlTree=a.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(D)}else"replace"===this.canceledNavigationResolution&&(v&&this.resetState(a),this.resetUrlToCurrentUrlTree())}resetState(a){this.routerState=a.currentRouterState,this.currentUrlTree=a.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,a.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(a,v,D){const N=new Rn(a.id,this.serializeUrl(a.extractedUrl),v,D);this.triggerEvent(N),a.resolve(!1)}generateNgRouterState(a,v){return"computed"===this.canceledNavigationResolution?{navigationId:a,"ɵrouterPageId":v}:{navigationId:a}}}return c.ɵfac=function(a){l.$Z()},c.ɵprov=l.Yz7({token:c,factory:function(){return Ri()},providedIn:"root"}),c})();function jo(c){return"imperative"!==c}class xi{}let Ea=(()=>{class c{constructor(a,v,D,N,K){this.router=a,this.injector=D,this.preloadingStrategy=N,this.loader=K}setUpPreloading(){this.subscription=this.router.events.pipe((0,Ie.h)((a=>a instanceof An)),(0,ge.b)((()=>this.preload()))).subscribe((()=>{}))}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(a,v){const D=[];for(const N of v){N.providers&&!N._injector&&(N._injector=(0,l.MMx)(N.providers,a,`Route: ${N.path}`));const K=N._injector??a,q=N._loadedInjector??K;N.loadChildren&&!N._loadedRoutes&&void 0===N.canLoad||N.loadComponent&&!N._loadedComponent?D.push(this.preloadConfig(K,N)):(N.children||N._loadedRoutes)&&D.push(this.processRoutes(q,N.children??N._loadedRoutes))}return(0,_.D)(D).pipe((0,Kt.J)())}preloadConfig(a,v){return this.preloadingStrategy.preload(v,(()=>{let D;D=v.loadChildren&&void 0===v.canLoad?this.loader.loadChildren(a,v):(0,C.of)(null);const N=D.pipe((0,X.z)((K=>null===K?(0,C.of)(void 0):(v._loadedRoutes=K.routes,v._loadedInjector=K.injector,this.processRoutes(K.injector??a,K.routes)))));if(v.loadComponent&&!v._loadedComponent){const K=this.loader.loadComponent(v);return(0,_.D)([N,K]).pipe((0,Kt.J)())}return N}))}}return c.ɵfac=function(a){return new(a||c)(l.LFG(Hn),l.LFG(l.Sil),l.LFG(l.lqb),l.LFG(xi),l.LFG(ma))},c.ɵprov=l.Yz7({token:c,factory:c.ɵfac,providedIn:"root"}),c})();const no=new l.OlP("");let js=(()=>{class c{constructor(a,v,D={}){this.router=a,this.viewportScroller=v,this.options=D,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},D.scrollPositionRestoration=D.scrollPositionRestoration||"disabled",D.anchorScrolling=D.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe((a=>{a instanceof hr?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=a.navigationTrigger,this.restoredId=a.restoredState?a.restoredState.navigationId:0):a instanceof An&&(this.lastId=a.id,this.scheduleScrollEvent(a,this.router.parseUrl(a.urlAfterRedirects).fragment))}))}consumeScrollEvents(){return this.router.events.subscribe((a=>{a instanceof rs&&(a.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(a.position):a.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(a.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))}))}scheduleScrollEvent(a,v){this.router.triggerEvent(new rs(a,"popstate"===this.lastSource?this.store[this.restoredId]:null,v))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return c.ɵfac=function(a){l.$Z()},c.ɵprov=l.Yz7({token:c,factory:c.ɵfac}),c})();function si(c,d){return{"ɵkind":c,"ɵproviders":d}}function io(c){return[{provide:ri,multi:!0,useValue:c}]}function Bs(){const c=(0,l.f3M)(l.zs3);return d=>{const a=c.get(l.z2F);if(d!==a.components[0])return;const v=c.get(Hn),D=c.get(Us);1===c.get(_s)&&v.initialNavigation(),c.get(El,null,l.XFs.Optional)?.setUpPreloading(),c.get(no,null,l.XFs.Optional)?.init(),v.resetRootComponentType(a.componentTypes[0]),D.closed||(D.next(),D.unsubscribe())}}const Us=new l.OlP("",{factory:()=>new I.x}),_s=new l.OlP("",{providedIn:"root",factory:()=>1});const El=new l.OlP("");function Dl(c){return si(0,[{provide:El,useExisting:Ea},{provide:xi,useExisting:c}])}const wl=new l.OlP("ROUTER_FORROOT_GUARD"),Uc=[le.Ye,{provide:at,useClass:nt},{provide:Hn,useFactory:Ri},Hr,{provide:Nr,useFactory:function so(c){return c.routerState.root},deps:[Hn]},ma];function Hc(){return new l.PXZ("Router",Hn)}let Vc=(()=>{class c{constructor(a){}static forRoot(a,v){return{ngModule:c,providers:[Uc,[],io(a),{provide:wl,useFactory:Gc,deps:[[Hn,new l.FiY,new l.tp0]]},{provide:Ar,useValue:v||{}},v?.useHash?{provide:le.S$,useClass:le.Do}:{provide:le.S$,useClass:le.b0},{provide:no,useFactory:()=>{const c=(0,l.f3M)(Hn),d=(0,l.f3M)(le.EM),a=(0,l.f3M)(Ar);return a.scrollOffset&&d.setOffset(a.scrollOffset),new js(c,d,a)}},v?.preloadingStrategy?Dl(v.preloadingStrategy).ɵproviders:[],{provide:l.PXZ,multi:!0,useFactory:Hc},v?.initialNavigation?Yn(v):[],[{provide:oo,useFactory:Bs},{provide:l.tb,multi:!0,useExisting:oo}]]}}static forChild(a){return{ngModule:c,providers:[io(a)]}}}return c.ɵfac=function(a){return new(a||c)(l.LFG(wl,8))},c.ɵmod=l.oAB({type:c}),c.ɵinj=l.cJS({imports:[Vr]}),c})();function Gc(c){return"guarded"}function Yn(c){return["disabled"===c.initialNavigation?si(3,[{provide:l.ip1,multi:!0,useFactory:()=>{const d=(0,l.f3M)(Hn);return()=>{d.setUpLocationChangeListener()}}},{provide:_s,useValue:2}]).ɵproviders:[],"enabledBlocking"===c.initialNavigation?si(2,[{provide:_s,useValue:0},{provide:l.ip1,multi:!0,deps:[l.zs3],useFactory:d=>{const a=d.get(le.V_,Promise.resolve());let v=!1;return()=>a.then((()=>new Promise((N=>{const K=d.get(Hn),q=d.get(Us);(function D(N){d.get(Hn).events.pipe((0,Ie.h)((q=>q instanceof An||q instanceof Rn||q instanceof Or)),(0,fe.U)((q=>q instanceof An||q instanceof Rn&&(0===q.code||1===q.code)&&null)),(0,Ie.h)((q=>null!==q)),(0,$e.q)(1)).subscribe((()=>{N()}))})((()=>{N(!0),v=!0})),K.afterPreactivation=()=>(N(!0),v||q.closed?(0,C.of)(void 0):q),K.initialNavigation()}))))}}]).ɵproviders:[]]}const oo=new l.OlP("")},5419:(k,S,h)=>{"use strict";h.d(S,{A4:()=>_e});var l=h(8256),_=h(529),C=h(4004),I=h(109),T=h(3022);const j={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 G{constructor(Z){this.unprotectedPaths=["/resetpass","/invitation"],this.protocol=Z.protocol;let ae=Z.port;ae||(function O(ve){return/^https:$/i.test(ve)}(this.protocol)?ae="443":function R(ve){return/^http:$/i.test(ve)}(this.protocol)&&(ae="80")),this.domain=Z.hostname,this.port=parseInt(ae,10),this.path=Z.pathname;const ge=this.path.match(/((?:\/cpsess\d+)?)(?:\/([^\/]+))?/)||[];if(this.applicationName=/^whm\./.test(this.domain)?j[2087]:/^cpanel\./.test(this.domain)?j[2083]:/^webmail\./.test(this.domain)?j[2095]:j[ae.toString()]||j[ge[2]]||"whostmgr",this.securityToken=ge[1]||"",this.applicationPath=this.securityToken?this.path.replace(this.securityToken,""):this.path,this.theme="",!this.isUnprotected&&(this.isCpanel||this.isWebmail)){const xe=this.path.split("/");this.theme=xe[3]}this.themePath="";let Y=this.securityToken+"/";this.isUnprotected?Y="/":this.isCpanel?Y+="frontend/"+this.theme+"/":this.isWebmail?Y+="webmail/"+this.theme+"/":this.isOther&&(Y="/"),this.themePath=Y,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 F(ve){return ve&&ve.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(Z){return this.themePath+Z}buildFullPath(Z){return this.protocol+"//"+this.domain+":"+this.port+this.buildPath(Z)}buildTokenPath(Z){return this.protocol+"//"+this.domain+":"+this.port+this.securityToken+Z}}class re{get pathname(){return window.location.pathname}get port(){return window.location.port}get hostname(){return window.location.hostname}get protocol(){return window.location.protocol}}var be=h(4235),he=h.n(be),oe=h(1305),Ve=h.n(oe),we=(()=>{return(ve=we||(we={}))[ve.Error=0]="Error",ve[ve.Warning=1]="Warning",ve[ve.Information=2]="Information",ve[ve.Unknown=3]="Unknown",we;var ve})();const ke={isPaged:!1,isFiltered:!1,record:0,page:0,pageSize:0,totalRecords:0,totalPages:0,recordsBeforeFilter:0,batch:!1,properties:{}};class le{constructor(Z){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={},Z.chunk&&(this.isPaged=!0,this.record=parseInt(Z.chunk.start,10)||0,this.page=parseInt(Z.chunk.current,10)||0,this.pageSize=parseInt(Z.chunk.size,10)||0,this.totalPages=parseInt(Z.chunk.chunks,10)||0,this.totalRecords=parseInt(Z.chunk.records,10)||0),Z.filter&&(this.isFiltered=!0,this.recordsBeforeFilter=parseInt(Z.filter.filtered,10)||0);const ae=new Set(["paginate","filter"]);Object.keys(Z).filter((ge=>!ae.has(ge))).forEach((ge=>{this.properties[ge]=Z[ge]}))}}class fe extends class qe{constructor(Z,ae){if(this.status=0,this.messages=[],this.meta=function Le(ve){return JSON.parse(JSON.stringify(ve))}(ke),this.options={keepUnprocessedResponse:!1},he()(Z)||Ve()(Z))throw new Error("The response was unexpectedly undefined or null");ae&&(this.options=ae),this.options.keepUnprocessedResponse&&(this.raw=JSON.parse(JSON.stringify(Z)))}get success(){return this.status>0}get failed(){return 0===this.status}_getMessages(Z){return this.messages.filter((ae=>ae.type===Z))}get errors(){return this._getMessages(we.Error)}get warnings(){return this._getMessages(we.Warning)}get infoMessages(){return this._getMessages(we.Information)}_hasMessages(Z){return this.messages.filter((ae=>ae.type===Z)).length>0}get hasErrors(){return this._hasMessages(we.Error)}get hasWarnings(){return this._hasMessages(we.Warning)}get hasInfoMessages(){return this._hasMessages(we.Information)}get isPaged(){return this.meta.isPaged}get isFiltered(){return this.meta.isFiltered}}{_parseStatus(Z){if(this.status=0,typeof Z.result>"u")throw new Error("The response should have a numeric status property indicating the API succeeded (>0) or failed (=0)");this.status=parseInt(Z.result,10)}_parseMessages(Z){if(!Z.result){const ae=[Z.reason];ae&&ae.length&&ae.forEach((ge=>{this.messages.push({type:we.Error,message:ge})}))}}_reduce_list_data(Z){if("object"==typeof Z&&!(Z instanceof Array)){const ae=Object.keys(Z);if(1===ae.length){const ge=Z[ae[0]];ge?ge instanceof Array&&(Z=ge):Z=[]}}return Z}constructor(Z,ae){if(super(Z,ae),!Z)throw new Error("Response object should be defined.");Z.metadata&&(this._parseStatus(Z.metadata),this._parseMessages(Z.metadata),this.meta=new le(Z.metadata)),this.data=this._reduce_list_data(Z.data)}}let _e=(()=>{class ve{constructor(ae){this.http=ae}get(ae){const ge=ae.generate({verb:I.F.GET,encoder:new T.VN}),Y=this.packageUrl(ge);return this.http.get(Y,{headers:this.packageHeaders(ge)}).pipe((0,C.U)(this.packageResponseHandler(Y)))}post(ae){const ge=ae.generate(),Y=this.packageUrl(ge);return this.http.post(Y,ge.body,{headers:this.packageHeaders(ge)}).pipe((0,C.U)(this.packageResponseHandler(Y)))}packageHeaders(ae){const ge={};return ae.headers.forEach((Y=>{ge[Y.name]=Y.value})),new _.WM(ge)}packageUrl(ae){return new G(new re).buildTokenPath(ae.url)}packageResponseHandler(ae){return ge=>{const Y=new fe(ge);return Y.meta.properties.url=ae,Y}}}return ve.ɵfac=function(ae){return new(ae||ve)(l.LFG(_.eN))},ve.ɵprov=l.Yz7({token:ve,factory:ve.ɵfac,providedIn:"root"}),ve})()},348:(k,S,h)=>{"use strict";h.d(S,{m:()=>T});var l=h(8256),_=h(269);const C=new l.OlP("window"),I=O=>new _.g(O.CLDR,O.LEXICON);let T=(()=>{class O{}return O.ɵfac=function(F){return new(F||O)},O.ɵmod=l.oAB({type:O}),O.ɵinj=l.cJS({providers:[{provide:C,useValue:window},{provide:_.g,useFactory:I,deps:[C]}]}),O})()}}]);
Back to Directory
File Manager