Viewing File: /usr/local/cpanel/whostmgr/docroot/templates/initial-setup-wizard/vendor.74d921c6dcf1c181.min.js

(self.webpackChunkinitial_setup_wizard=self.webpackChunkinitial_setup_wizard||[]).push([[736],{109:(j,w,f)=>{"use strict";f.d(w,{F:()=>h});var h=(()=>{return(p=h||(h={}))[p.GET=0]="GET",p[p.HEAD=1]="HEAD",p[p.POST=2]="POST",p[p.PUT=3]="PUT",p[p.DELETE=4]="DELETE",p[p.CONNECT=5]="CONNECT",p[p.OPTIONS=6]="OPTIONS",p[p.TRACE=7]="TRACE",p[p.PATCH=8]="PATCH",h;var p})()},3022:(j,w,f)=>{"use strict";f.d(w,{tO:()=>ot,VN:()=>Pe});var h=f(4235),p=f.n(h),A=f(1305),T=f.n(A),C=f(4798),M=f.n(C),x=f(9138),P=f.n(x),B=f(248),I=f.n(B),F=f(1503),$=f.n(F),X=f(7614),Z=f.n(X);function ie(xe){if(p()(xe)||T()(xe)||M()(xe)||P()(xe)||I()(xe))return!0;if(!Z()(xe)&&!$()(xe))return!1;for(const Oe in xe)if(!ie(xe[Oe]))return!1;return!0}class Pe{constructor(){this.contentType="application/x-www-form-urlencoded",this.separatorStart="",this.separatorEnd="",this.recordSeparator="&"}encode(Oe,$e,Ee){if(!Oe)throw new Error("Name must have a non-empty value");return`${Oe}=${encodeURIComponent($e.toString())}`+(Ee?"":this.recordSeparator)}}class ot{constructor(){this.contentType="application/json",this.separatorStart="{",this.separatorEnd="}",this.recordSeparator=","}encode(Oe,$e,Ee){if(!Oe)throw new Error("Name must have a non-empty value");if(!ie($e))throw new Error("The passed in value can not be serialized to JSON");return JSON.stringify(Oe)+":"+JSON.stringify($e)+(Ee?"":this.recordSeparator)}}},6154:(j,w,f)=>{"use strict";f.d(w,{r:()=>ge,N:()=>ce});var h=f(1978),p=f.n(h);function A(Ce){return Ce?"1":"0"}var M=(()=>{return(Ce=M||(M={}))[Ce.Ascending=0]="Ascending",Ce[Ce.Descending=1]="Descending",M;var Ce})(),x=(()=>{return(Ce=x||(x={}))[Ce.Lexicographic=0]="Lexicographic",Ce[Ce.Ipv4=1]="Ipv4",Ce[Ce.Numeric=2]="Numeric",Ce[Ce.NumericZeroAsMax=3]="NumericZeroAsMax",x;var Ce})();class P{constructor(ee,Me=M.Ascending,wt=x.Lexicographic){if(!ee)throw new Error("You must provide a non-empty column name for a Sort rule.");this.column=ee,this.direction=Me,this.type=wt}}var B=(()=>{return(Ce=B||(B={}))[Ce.Contains=0]="Contains",Ce[Ce.Begins=1]="Begins",Ce[Ce.Ends=2]="Ends",Ce[Ce.Matches=3]="Matches",Ce[Ce.Equal=4]="Equal",Ce[Ce.NotEqual=5]="NotEqual",Ce[Ce.LessThan=6]="LessThan",Ce[Ce.LessThanUnlimited=7]="LessThanUnlimited",Ce[Ce.GreaterThan=8]="GreaterThan",Ce[Ce.GreaterThanUnlimited=9]="GreaterThanUnlimited",Ce[Ce.Defined=10]="Defined",Ce[Ce.Undefined=11]="Undefined",B;var Ce})();class I{constructor(ee,Me,wt){if(!ee)throw new Error("You must define a non-empty column name.");this.column=ee,this.operator=Me,this.value=wt}}class F{constructor(ee,Me){if(!ee)throw new Error("You must provide a name when creating a name/value argument");this.name=ee,this.value=Me}}const Z=Number.POSITIVE_INFINITY;class ie{constructor(ee=1,Me=20){if(ee<=0)throw new Error("The page must be 1 or greater. This is the logical page, not a programming index.");if(Me<=0)throw new Error("The pageSize must be set to 'ALL' or a number > 0");this.page=ee,this.pageSize=Me}all(){return this.pageSize===Z}}class ae{constructor(ee=[]){this.headers=ee}push(ee){this.headers.push(ee)}forEach(ee,Me){this.headers.forEach(ee,Me)}toArray(){const ee=[];return this.headers.forEach((Me=>ee.push({name:Me.name,value:Me.value}))),ee}toObject(){return this.headers.reduce(((ee,Me)=>(ee[Me.name]=Me.value,ee)),{})}}class Pe{constructor(ee){this._header=ee}get name(){return this._header.name}get value(){return this._header.value}}class ot extends Error{constructor(ee){super(ee),this.name="CpanelApiTokenInvalidError",Object.setPrototypeOf(this,ot.prototype)}}class xe extends Error{constructor(ee){super(ee),this.name="CpanelApiTokenMismatchError",Object.setPrototypeOf(this,xe.prototype)}}class Oe extends Pe{constructor(ee,Me){if(!ee)throw new ot("You must pass a valid token to the constructor.");if(!Me&&!/^.+[:]/.test(ee))throw new ot("You must pass a cPanel username associated with the cPanel API token.");if(!Me&&!/[:].+$/.test(ee))throw new ot("You must pass a valid cPanel API token.");super({name:"Authorization",value:`cpanel ${Me?Me+":":""}${ee}`})}}Error,Error;var Ve=f(109);const Vt=new class at{constructor(){this.map={},this.map.DEFAULT={verb:"DEFAULT",dataInBody:!0},[Ve.F.GET,Ve.F.DELETE,Ve.F.HEAD].forEach((ee=>{const Me=Ve.F[ee].toString();this.map[Me]={verb:Me,dataInBody:!1}})),[Ve.F.POST,Ve.F.PUT,Ve.F.PATCH].forEach((ee=>{const Me=Ve.F[ee].toString();this.map[Me]={verb:Me,dataInBody:!0}}))}getRule(ee){const Me="string"==typeof ee?ee:Ve.F[ee].toString();let wt=this.map[Me];return wt||(wt=this.map.DEFAULT),wt}};var Ye=f(3022),Rt=f(8448),ke=f.n(Rt),ce=(()=>{return(Ce=ce||(ce={})).JsonApi="json-api",Ce.XmlApi="xml-api",ce;var Ce})();class ge extends class Gt{constructor(ee){this.namespace="",this.method="",this.arguments=[],this.sorts=[],this.filters=[],this.columns=[],this.pager=new ie,this.headers=new ae,this._usePager=!1,this.defaultConfig={analytics:!1,json:!1},this.config=this.defaultConfig,ee&&(this.method=ee.method,ee.namespace&&(this.namespace=ee.namespace),ee.arguments&&ee.arguments.forEach((Me=>{this.addArgument(Me)})),ee.sorts&&ee.sorts.forEach((Me=>{this.addSort(Me)})),ee.filters&&ee.filters.forEach((Me=>{this.addFilter(Me)})),ee.columns&&ee.columns.forEach((Me=>this.addColumn(Me))),ee.pager&&this.paginate(ee.pager),this.config=ee.config?ee.config:this.defaultConfig,ee.headers&&ee.headers.forEach((Me=>{this.addHeader(Me)})))}get usePager(){return this._usePager}addArgument(ee){return this.arguments.push(ee instanceof F?ee:new F(ee.name,ee.value)),this}addSort(ee){return this.sorts.push(ee instanceof P?ee:new P(ee.column,ee.direction,ee.type)),this}addFilter(ee){return this.filters.push(ee instanceof I?ee:new I(ee.column,ee.operator,ee.value)),this}addColumn(ee){return this.columns.push(ee),this}addHeader(ee){return this.headers.push(ee instanceof Pe?ee:new Pe(ee)),this}paginate(ee){return this.pager=ee instanceof ie?ee:new ie(ee.page,ee.pageSize||20),this._usePager=!0,this}}{constructor(ee,Me){if(super(Me),this.apiType=ce.JsonApi,ee!=ce.JsonApi&&ee!=ce.XmlApi)throw new Error("You must define the API type for the whmapi call before you generate a request.");if(this.apiType=ee,!this.method)throw new Error("You must define a method for the WHM API call before you generate a request")}addHeader(ee){if(ee instanceof Oe)throw new xe("A CpanelApiTokenHeader cannot be used on a WhmApiRequest");return super.addHeader(ee),this}_build(ee,Me){let wt="";return ee.forEach((($t,an,Qt)=>{wt+=Me.encode($t.name,$t.value,an===Qt.length-1)})),Me.separatorStart+wt+Me.separatorEnd}_make_whm_api_fieldspec_from_number(ee){return ke()("",Math.floor(ee/26),"z")+"abcdefghijklmnopqrstuvwxyz".charAt(ee%26)}_generateArguments(ee){ee.push({name:"api.version",value:1}),this.arguments.forEach((wt=>ee.push(wt)))}_generateSorts(ee){this.sorts.forEach(((Me,wt)=>{0===wt&&ee.push({name:"api.sort.enable",value:A(!0)});const $t=`api.sort.${this._make_whm_api_fieldspec_from_number(wt)}`;ee.push({name:`${$t}.field`,value:Me.column}),ee.push({name:`${$t}.reverse`,value:A(Me.direction!==M.Ascending)}),ee.push({name:`${$t}.method`,value:p()(x[Me.type])})}))}_lookupFilterOperator(ee){switch(ee){case B.GreaterThanUnlimited:return"gt_handle_unlimited";case B.GreaterThan:return"gt";case B.LessThanUnlimited:return"lt_handle_unlimited";case B.LessThan:return"lt";case B.Equal:return"eq";case B.Begins:return"begins";case B.Contains:return"contains";default:throw new Error(`Unrecoginzed FilterOperator ${B[ee]} for WHM API 1`)}}_generateFilters(ee){this.filters.forEach(((Me,wt)=>{0===wt&&(ee.push({name:"api.filter.enable",value:A(!0)}),ee.push({name:"api.filter.verbose",value:A(!0)}));const $t=`api.filter.${this._make_whm_api_fieldspec_from_number(wt)}`;ee.push({name:`${$t}.field`,value:Me.column}),ee.push({name:`${$t}.type`,value:this._lookupFilterOperator(Me.operator)}),ee.push({name:`${$t}.arg0`,value:Me.value})}))}_translatePageToStart(ee){return(ee.page-1)*ee.pageSize+1}_generatePagination(ee){if(!this.usePager)return;const Me=this.pager.all();ee.push({name:"api.chunk.enable",value:A(!0)}),ee.push({name:"api.chunk.verbose",value:A(!0)}),ee.push({name:"api.chunk.start",value:Me?-1:this._translatePageToStart(this.pager)}),Me||ee.push({name:"api.chunk.size",value:this.pager.pageSize})}generate(ee){ee||(ee={verb:Ve.F.POST,encoder:this.config.json?new Ye.tO:new Ye.VN}),ee.encoder||(ee.encoder=this.config.json?new Ye.tO:new Ye.VN);const Me=Vt.getRule(ee.verb),wt={headers:new ae([{name:"Content-Type",value:ee.encoder.contentType}]),url:["",this.apiType,this.method].map(encodeURIComponent).join("/"),body:""},$t=[];this._generateArguments($t),this._generateSorts($t),this._generateFilters($t),this._generatePagination($t);const an=this._build($t,ee.encoder);return Me.dataInBody?wt.body=an:wt.url+=ee.verb===Ve.F.GET?`?${an}`:an,this.headers.forEach((Qt=>{wt.headers.push({name:Qt.name,value:Qt.value})})),wt}}},269:(j,w,f)=>{"use strict";w.g=void 0;const p=f(1680);Object.defineProperty(w,"g",{enumerable:!0,get:function(){return p.Locale}})},5074:(j,w)=>{"use strict";Object.defineProperty(w,"__esModule",{value:!0}),w.CLDR=void 0,w.CLDR=class f{constructor(p){this.rawData=p,this.validateCLDR(this.rawData)}validateCLDR(p){if(!p)throw new Error("CLDR data cannot be null");if(!p.locale)throw new Error("CLDR data is missing locale information");if(!Object.prototype.hasOwnProperty.call(p,"functions")||Object.prototype.hasOwnProperty.call(p,"get_plural_form")||"function"!=typeof p.functions.get_plural_form)throw new Error("CLDR data is missing function get_plural_form");if(!Object.prototype.hasOwnProperty.call(p,"datetime_info"))throw new Error("CLDR data is missing datetime_info");if(!Object.prototype.hasOwnProperty.call(p,"misc_info"))throw new Error("CLDR data is missing misc_info");if(!Object.prototype.hasOwnProperty.call(p.misc_info,"cldr_formats"))throw new Error("CLDR data is missing cldr_formats");if(!Object.prototype.hasOwnProperty.call(p.misc_info,"orientation")||!Object.prototype.hasOwnProperty.call(p.misc_info.orientation,"characters"))throw new Error("CLDR data is missing orientation information");if(!Object.prototype.hasOwnProperty.call(p.misc_info,"delimiters"))throw new Error("CLDR data is missing delimiter information");return!0}getLocale(){return this.rawData.locale}getPluralForm(p,...A){return this.rawData.functions.get_plural_form(p,...A)}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:(j,w,f)=>{"use strict";Object.defineProperty(w,"__esModule",{value:!0}),w.Locale=void 0;const h=f(2889),p=f(9483),A=f(741),T=f(786),C=f(5074);w.Locale=class M{constructor(P,B={}){this.lexicon=B,this._cldr=new C.CLDR(P)}maketext(P,...B){return h.maketext({cldr:this._cldr,lexicon:this.lexicon,template:P,args:B})}localDatetime(P,B){return this._datetimeWrapper(p.local_datetime,P,B)}datetime(P,B){return this._datetimeWrapper(p.datetime,P,B)}_datetimeWrapper(P,B,I){return P({cldr:this._cldr,args:[B,I]})}getCurrentLocale(){return this._cldr.getLocale()}get isRtl(){return this._cldr.isRtl()}get isLtr(){return this._cldr.isLtr()}get cldr(){return this._cldr}numf(P,B){return this._formatNumber(A.numf,P,B)}format_bytes(P,B){return this._formatNumber(A.format_bytes,P,B)}_formatNumber(P,...B){return this._callCLDRFunc(P,B)}list_and(...P){return this._callCLDRFunc(T.list_and,P)}list_and_quoted(...P){return this._callCLDRFunc(T.list_and_quoted,P)}list_or(...P){return this._callCLDRFunc(T.list_or,P)}list_or_quoted(...P){return this._callCLDRFunc(T.list_or_quoted,P)}_callCLDRFunc(P,B){return P({cldr:this._cldr,args:B})}}},7296:(j,w,f)=>{"use strict";Object.defineProperty(w,"__esModule",{value:!0}),w.asis=void 0;const h=f(5247);w.asis=function p({args:[A,...T]}){if(!A||T.length>0||"string"!=typeof A)throw new Error("asis function accepts one non translatable string.");return(A=A.replace(/chr\((\d+)\)/g,(function(C,M){return h.functions.chr(Number(M))}))).replace(/amp\(\)/g,(function(C){return h.functions.amp()}))}},527:(j,w)=>{"use strict";Object.defineProperty(w,"__esModule",{value:!0}),w.boolean=void 0,w.boolean=function f({args:[h,p,A,T]}){if(null==p||0===p.length||null==A||0===A.length)throw new Error("boolean function needs a valid whenTrue, whenFalse arguments.");return String(typeof h<"u"&&h?p:T&&null==h?T:A)}},9076:(j,w)=>{"use strict";Object.defineProperty(w,"__esModule",{value:!0}),w.comment=void 0,w.comment=function f({args:[h]}){return""}},9483:(j,w,f)=>{"use strict";Object.defineProperty(w,"__esModule",{value:!0}),w.local_datetime=w.datetime=w.dateToLocalDayNum=void 0;const h=f(5074),p=function(I){const F=I.getUTCDay()-1;return F<0?6:F},A=[7,1,2,3,4,5,6];function T(I,F){return(A[I.getUTCDay()]+7-F)%7+1}w.dateToLocalDayNum=T;const C=function(I,F,$){let X="",Z=0;return F=F||0,$=String(void 0===$?" ":$),Z=F-String(I).length,Z>0&&(X=[...Array(Z)].map(String.prototype.valueOf,$).join("")),X+I};function M({cldr:I,args:[F=new Date,$],tzString:X="UTC"}){if("number"==typeof F&&/^-?\d+$/.test(F.toString())&&(F=new Date(1e3*F)),!(F instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(I instanceof h.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const Z=I.getDateTimeInfo();return"string"==typeof $&&/^(?:date|time|datetime|special)_format_/.test($)&&($=Z[$]),$||($=Z.date_format_long),$.replace(/('[^']+')|(([a-zA-Z])\3*)/g,(function(ie,ae,Pe){return ae?function x(I){return I.substr(1,I.length-2)}(ae):function P(I,F,$,X){switch($){case"yy":return Math.abs(I.getUTCFullYear()).toString().slice(-2);case"y":case"yyy":case"yyyy":return String(Math.abs(I.getUTCFullYear()));case"MMMMM":return F.month_format_narrow[I.getUTCMonth()];case"LLLLL":return F.month_stand_alone_narrow[I.getUTCMonth()];case"MMMM":return F.month_format_wide[I.getUTCMonth()];case"LLLL":return F.month_stand_alone_wide[I.getUTCMonth()];case"MMM":return F.month_format_abbreviated[I.getUTCMonth()];case"LLL":return F.month_stand_alone_abbreviated[I.getUTCMonth()];case"MM":case"LL":return C((I.getUTCMonth()+1).toString(),2,"0");case"M":case"L":return String(I.getUTCMonth()+1);case"EEEE":return F.day_format_wide[p(I)];case"EEE":case"EE":case"E":return F.day_format_abbreviated[p(I)];case"EEEEE":return F.day_format_narrow[p(I)];case"cccc":return F.day_stand_alone_wide[p(I)];case"ccc":return F.day_stand_alone_abbreviated[p(I)];case"cc":case"c":return String(T(I,Number(F.first_day_of_week)));case"ccccc":return F.day_stand_alone_narrow[p(I)];case"dd":return C(I.getUTCDate().toString(),2,"0");case"d":return String(I.getUTCDate());case"h":case"hh":{let Z=I.getUTCHours();Z>12&&(Z-=12),0===Z&&(Z=12);const ie="hh"===$?C(Z.toString(),2,"0"):Z;return String(ie)}case"H":return String(I.getUTCHours());case"HH":return C(I.getUTCHours().toString(),2,"0");case"m":return String(I.getUTCMinutes());case"mm":return C(I.getUTCMinutes().toString(),2,"0");case"s":return String(I.getUTCSeconds());case"ss":return C(I.getUTCSeconds().toString(),2,"0");case"a":return I.getUTCHours()<12?F.am_pm_abbreviated[0]:F.am_pm_abbreviated[1];case"z":case"zzzz":case"v":case"vvvv":return X;case"G":case"GG":case"GGG":return F.era_abbreviated[I.getUTCFullYear()<0?0:1];case"GGGGG":return F.era_narrow[I.getUTCFullYear()<0?0:1];case"GGGG":return F.era_wide[I.getUTCFullYear()<0?0:1]}return $}(F,Z,Pe,X)}))}w.datetime=M,w.local_datetime=function B({cldr:I,args:[F=new Date,$]}){if("number"==typeof F&&/^-?\d+$/.test(F.toString())&&(F=new Date(1e3*F)),!(F instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(I instanceof h.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const X=F.getTimezoneOffset();(F=new Date(F)).setMinutes(F.getMinutes()-X);const Z=X>0?"-":"+",ie=Math.floor(Math.abs(X)/60),ae=Math.abs(X%60);return M({cldr:I,args:[F,$],tzString:"GMT"+Z+C(ie.toString(),2,"0")+C(ae.toString(),2,"0")})}},40:(j,w,f)=>{"use strict";Object.defineProperty(w,"__esModule",{value:!0}),w.functions=void 0;const h=f(7296),p=f(5247),A=f(9076),T=f(527),C=f(741),M=f(9483),x=f(786);w.functions={asis:h.asis,output:p.output,comment:A.comment,boolean:T.boolean,numf:C.numf,numerate:C.numerate,quant:C.quant,format_bytes:C.format_bytes,datetime:M.datetime,local_datetime:M.local_datetime,list_and:x.list_and,list_or:x.list_or,list_or_quoted:x.list_or_quoted,list_and_quoted:x.list_and_quoted}},786:(j,w)=>{"use strict";function h(x,P,...B){let I=B.slice();switch(1===I.length&&Array.isArray(I[0])&&(I=I[0].slice()),(typeof I>"u"||0===I.length)&&(I=[""]),I=I.map((F=>function f(x,P){const B=x.getDelimiters();return B&&Object.prototype.hasOwnProperty.call(B,"quotation_start")&&Object.prototype.hasOwnProperty.call(B,"quotation_end")?B.quotation_start+P+B.quotation_end:P}(x,F))),P){case"list_and":return C({cldr:x,args:I});case"list_or":return M({cldr:x,args:I});default:throw new Error("Did you mean list_and_quoted or list_or_quoted?")}}function T(x,P,...B){let I=B.slice();1===I.length&&Array.isArray(I[0])&&(I=I[0].slice());const F=I.length;let $,X,Z,ie;try{$=x.getFormats()[P]}catch{throw new Error("CLDR Data is missing information related to formatting list.")}const ae=function(Pe,ot){switch(ot){case"0":return Z;case"1":return I[ie++]}};switch(F){case 0:return"";case 1:return String(I[0]);default:if(Z=2===F?$[2]:$.start,Z=Z.replace(/\{([01])\}/g,(function(Pe,ot){return I[ot]})),2===F)return Z;for(ie=2;ie<F;)X=$[ie===F-1?"end":"middle"],Z=X.replace(/\{([01])\}/g,ae);return Z}}function C({cldr:x,args:[...P]}){return T(x,"list",...P)}function M({cldr:x,args:[...P]}){return T(x,"list_or",...P)}Object.defineProperty(w,"__esModule",{value:!0}),w.list_or=w.list_and=w.list_or_quoted=w.list_and_quoted=void 0,w.list_and_quoted=function p({cldr:x,args:[...P]}){return h(x,"list_and",...P)},w.list_or_quoted=function A({cldr:x,args:[...P]}){return h(x,"list_or",...P)},w.list_and=C,w.list_or=M},5247:(j,w,f)=>{"use strict";Object.defineProperty(w,"__esModule",{value:!0}),w.functions=w.output=void 0;const h=f(7906),p=f(8533);w.output=function A({args:[T,...C]}){if(C&&"string"==typeof C[0]&&(C[0]=C[0].replace(/chr\((\d+)\)/g,(function(M,x){return w.functions.chr(Number(x))})),C[0]=C[0].replace(/amp\(\)/g,(function(M){return w.functions.amp()}))),"function"==typeof w.functions[T])return w.functions[T](...C);throw new Error(`Locale output function '${T}' is not implemented.`)},w.functions={amp:()=>h.htmlEscape("&"),apos:()=>h.htmlEscape("'"),quot:()=>h.htmlEscape('"'),underline:T=>`<u>${T}</u>`,strong:T=>`<strong>${T}</strong>`,em:T=>`<em>${T}</em>`,abbr:(T,C)=>`<abbr title="${C}">${T}</abbr>`,acronym:(T,C)=>`<abbr title="${C}" class="initialism">${T}</abbr>`,class:(T,...C)=>`<span class="${C.join(" ")}">${T}</span>`,chr(T){if("string"==typeof T&&(T=Number(T)),"number"!=typeof T||isNaN(T))throw new Error("chr needs a number as argument");return h.htmlEscape(String.fromCharCode(T))},url(T,...C){let M,x;if("object"==typeof C[C.length-1])if(M=C[C.length-1],2===C.length){if(M.html)throw new Error("Cannot provide both text and configuration with html attribute");x=C[0]}else M&&M.html?(x=M.html,delete M.html):x=T;else C.length%2==0?(M=p.listToObject(...C),M&&"html"in M&&""!==M.html?(x=M.html,delete M.html):x=T):(x=C.shift(),M=p.listToObject(...C));"_type"in M&&"offsite"===M._type&&(M.class="offsite",M.target="_blank",delete M._type);let P=`<a href="${T}"`;if("object"==typeof M)for(const B in M)Object.prototype.hasOwnProperty.call(M,B)&&(P+=` ${B}="${M[B]}"`);return P+=`>${x}</a>`,P}}},741:(j,w,f)=>{"use strict";Object.defineProperty(w,"__esModule",{value:!0}),w.format_bytes=w.numf=w.quant=w.numerate=void 0;const h=f(5074);function A({cldr:x,args:[P,...B]}){if(!(x instanceof h.CLDR))throw new Error("`quant` function requires a valid CLDR instance for the `cldr` parameter.");let I,F=3;P instanceof Array?(F=P[1],I=P[0]):I=P;const $=x.getPluralForm(I,...B),X=$[0]?$[0]:B[B.length-1];if($&&$.length>=2&&$[1])return X;const ie=C({cldr:x,args:[I,F]});return-1!==X.indexOf("%s")?X.replace(/%s/g,ie):x.isRtl()?X+" "+ie:ie+" "+X}function C({cldr:x,args:[P,B=6]}){if(!(x instanceof h.CLDR))throw new Error("`numf` function requires a valid CLDR instance for the `cldr` parameter.");if(/e/.test(P.toString()))return String(P);const{decimalFormat:I,decimalGroup:F,decimalDecimal:$}=function T(x){const P={},B=x.getFormats();return Object.prototype.hasOwnProperty.call(B,"decimal")&&(P.decimalFormat=B.decimal),Object.prototype.hasOwnProperty.call(B,"_decimal_format_group")&&(P.decimalGroup=B._decimal_format_group),Object.prototype.hasOwnProperty.call(B,"_decimal_format_decimal")&&(P.decimalDecimal=B._decimal_format_decimal),P}(x);if(!I||!F||!$)throw new Error("CLDR Data is missing information related to formatting decimals.");const X=P<0;P=Math.abs(P);let ie,ae,Z=Math.floor(P);/(?!')\.(?!')/.test(P.toString())&&(ie=String(P).replace(/^[^.]+/,"0"),ie=Number(ie).toFixed(B),/^1/.test(ie)?(Z++,P=Z,ie=void 0):ie=ie.replace(/^.*\./,"").replace(/0+$/,"")),ae=/(?!');(?!')/.test(I)?I.split(/(?!');(?!')/)[X?1:0]:(X?"-":"")+I;const xe=ae.match(/[0#].*[0#]/)[0].split(/(?!')\.(?!')/)[0].split("").reverse().join("").split(/(?!'),(?!')/);let Oe;1===xe.length?Oe="":(xe.pop(),Oe=F);const $e=String(Z).split("").reverse(),Ee=[];let Ge;const Gt=function(at){switch(at){case"#":return $e.shift()||"";case"0":return $e.shift()||"0"}};for(;$e.length;){xe.length&&(Ge=xe.shift());const at=Ge.replace(/(?!')[0#]|[0#](?!')/g,Gt).replace(/'([.,0#;\xa4%E])'$/,"").replace(/'([.,0#;\xa4%E])'/,"$1");Ee.push(at)}const Ve=Ee.join(Oe).split("").reverse().join("")+(ie?$+ie:"");return ae.replace(/[0#].*[0#]/,Ve)}w.numerate=function p({cldr:x,args:[P,...B]}){if(!(x instanceof h.CLDR))throw new Error("`numerate` function requires a valid CLDR instance for the `cldr` parameter.");const I=x.getPluralForm(P,...B);return I?I[0]:B[B.length-1]},w.quant=A,w.numf=C,w.format_bytes=function M({cldr:x,args:[P,B=2]}){if(!(x instanceof h.CLDR))throw new Error("`format_bytes` function requires a valid CLDR instance for the `cldr` parameter.");const I=["KB","MB","GB","TB","PB","EB","ZB","YB"],$=P&&Math.min(Math.floor(Math.log(P)/Math.log(1024)),I.length);return $?C({cldr:x,args:[P/Math.pow(1024,$),B]})+" "+I[$-1]:A({cldr:x,args:[P,"%s byte","%s bytes"]})}},2889:(j,w,f)=>{"use strict";Object.defineProperty(w,"__esModule",{value:!0}),w.maketext=w.functions=w.config=void 0;const h=f(40);function C(M,x){const P=[];let B=!1,I=!1;return M.forEach(((F,$)=>{if("_"===F.charAt(0))if("_*"===F){if(I)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";P.push(...x),B=!0}else{const X=F.match(w.config.underscoreDigitRe);if(X){if(B)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";const[Z,ie]=X,ae=Number(ie)-1;if(!(ae in x))throw`The "${Z}" substitution argument was not passed to the maketext function.`;P.push(x[ae]),I=!0}}else P.push(F)})),P}w.config={bracketRe:/([^~\[\]]+|~.|\[|\]|~)/g,underscoreDigitRe:/^_(\d+)$/,fauxComma:"",fauxCommaRe:new RegExp("","g"),tildeChars:new Set(["[","]","~"])},w.functions={...h.functions},w.maketext=function A({cldr:M,lexicon:x,template:P,args:B}){if("string"!=typeof P)throw"You must pass a string template to the maketext function.";if(-1===(P=x&&x[P]||P).indexOf("["))return P;const I=P.match(w.config.bracketRe)||[],F=[];let $=!1,X="";if(I.forEach((Z=>{if("["===Z){if($)throw Error(`Invalid maketext string: ${P} \nThe string contains nested brackets.`);$=!0}else if("]"===Z){if(!$)throw Error(`Invalid maketext string: ${P} \nThe string contains an unmatched closing bracket character (]).`);if(!X)throw Error(`Invalid maketext string: ${P} \nThe string contains empty brackets. Use the escape character (~) if the bracket characters were meant to be printed literally.`);let ie;$=!1;try{ie=function T(M,x,P){let B=x.split(",");if(B=B.map(($=>$.replace(w.config.fauxCommaRe,","))),1===B.length){if(!w.config.underscoreDigitRe.test(B[0]))throw"A bracket must contain more than one argument, unless it is a pure substition.\n Example: Number of accounts: [_1]";const[$]=C(B,P);return String($)}const I=B.shift();if(!I||"function"!=typeof w.functions[I])throw`Invalid function "${I}" in maketext string.`;const F=C(B,P);return w.functions[I]({cldr:M,args:F})}(M,X,B)}catch(ae){throw Error(`Invalid maketext string: ${P} \n${ae}`)}X="",F.push(ie)}else if("~"===Z.charAt(0)){const ie=Z.charAt(1)||"~";$?X+=","===ie?w.config.fauxComma:ie:w.config.tildeChars.has(ie)?F.push(ie):F.push(Z)}else $?X+=Z:F.push(Z)})),$)throw Error(`Invalid maketext string: ${P} \nThe string contains an unmatched opening bracket character ([).`);return F.join("")}},7906:(j,w)=>{"use strict";Object.defineProperty(w,"__esModule",{value:!0}),w.htmlEscape=w.entityMap=void 0,w.entityMap={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"},w.htmlEscape=function f(h){return String(h).replace(/[&<>"'\/]/g,(p=>w.entityMap[p]))}},8533:(j,w)=>{"use strict";Object.defineProperty(w,"__esModule",{value:!0}),w.listToObject=void 0,w.listToObject=function p(...A){let T={};return function f(A){if(A.length%2>0)throw new Error("An associative list must have an even number of parts: {name1}, {value1}, {name2}, {value2} ...");for(let C=0,M=A.length;C<M;C+=2){const x=A[C];if("string"!=typeof x||""===x)throw new Error("An associative list must provide non-empty string names in the 1st, 3rd, ... positions.")}return!0}(A)&&(T=function h(A){const T=A.length,C={};let x,P,M=0;for(;M<T;)x=A[M],P=A[++M],C[x]=P,M++;return C}(A)),T}},50:(j,w,f)=>{"use strict";Object.defineProperty(w,"__esModule",{value:!0}),w.commonValidators=void 0;const h=f(2257);w.commonValidators=new class p extends h.BaseValidator{constructor(){super(...arguments),this.prefix="common",this.STARTS_WITH_LETTER=/^[a-zA-Z]/,this.CONTAINS_SPACES=/^\S*$/}required(T){const C=T||this.locale.maketext("This field is required.");return M=>{let x={},P=M.value;return P&&(P=P.toString()),P&&P.length?null:(x=this.addError(x,"required",C),x)}}requiredTrue(T){const C=T||this.locale.maketext("This control's value should be true.");return M=>{let x={};return!0!==M.value?(x=this.addError(x,"requiredTrue",C),x):null}}startsWithLetter(T){return C=>{let M={};return C.value&&!this.STARTS_WITH_LETTER.test(C.value)?(M=this.addError(M,"doesNotStartWithLetter",T),M):null}}containsSpaces(T){return C=>{let M={};return C.value&&!this.CONTAINS_SPACES.test(C.value)?(M=this.addError(M,"containsSpace",T),M):null}}minLength(T,C){return M=>{let x={};return M.value&&M.value.length<C?(x=this.addError(x,"minLength",T),x):null}}maxLength(T,C){return M=>{let x={};return M.value&&M.value.length>C?(x=this.addError(x,"maxLength",T),x):null}}}},7414:(j,w,f)=>{"use strict";Object.defineProperty(w,"__esModule",{value:!0}),w.cPUserNoteValidators=void 0;const h=f(2257),p=f(9761),T=/[^ \n\P{White_Space}]|[^ \n\P{Control}]|[^ \P{Separator}]/u;w.cPUserNoteValidators=new class C extends h.BaseValidator{constructor(){super(...arguments),this.prefix="note"}validate(x=250,P=""){return B=>{let I=p.stringValidators.validUnicode()(B);if(!I){const F=this.locale.maketext("This note is too long.");I=p.stringValidators.maxCharacterLength(F)(x,B)}if(!I){const F=B.match(T);if(F){I={};const $=F.index,X=F[0].codePointAt(0);this.addError(I,"character",this.locale.maketext("[asis,Unicode] character [numf,_1] (position [numf,_2]) is forbidden.",X,1+$))}}return I}}}},6128:(j,w,f)=>{"use strict";Object.defineProperty(w,"__esModule",{value:!0}),w.cpanelUsernameValidators=void 0;const h=f(2257);w.cpanelUsernameValidators=new class p extends h.BaseValidator{constructor(){super(...arguments),this.prefix="cpanelUsername",this.VALID_USERNAME=/^(?![-.0-9])[a-z0-9]{1,16}$/}cpanelUsername(T){const C=T||this.locale.maketext("This is not a valid username.");return M=>{let x={};return M.value&&!this.VALID_USERNAME.test(M.value)?(x=this.addError(x,"invalidUsername",C),x):null}}}},6156:(j,w,f)=>{"use strict";Object.defineProperty(w,"__esModule",{value:!0}),w.databaseValidators=void 0;const h=f(2257),p=f(6369);w.databaseValidators=new class A extends h.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(C,M,x){return P=>C===p.DatabaseType.MySQL?(this._dbPrefix=M||"",this.validateMySQLDatabaseName(P.value,x||"")):null}validateMySQLDatabaseName(C,M){const x=this._performMySqlDatabaseNameValidation(C,M);let P={};return x?(P=this.addError(P,"databaseName",x),P):null}_performMySqlDatabaseNameValidation(C,M){let x=null;return x=this._verifyNameLengthLimit(C),null!==x||(x=this._verifyDatabaseNameIgnoreLength(C),null!==x)||(x=this._verifyDatabaseName(C,M)),x}_verifyNameLengthLimit(C){let M=null,x=this.DATABASE_NAME_LENGTH_LIMIT;this._dbPrefix&&(x-=this._dbPrefix.length+1);const P=unescape(encodeURIComponent(C)).length-x;return P>0&&(M={message:this.locale.maketext("This value is too long by [quant,_1,character,characters]. The maximum length is [quant,_2,character,characters].",P,x)}),M}_verifyDatabaseNameIgnoreLength(C){return this.ANYTHING_BUT_PRINTABLE_7_BIT_ASCII.test(C)?{message:this.locale.maketext("This system allows only printable [asis,ASCII] characters in database names.")}:this.MYSQL_DB_NAME_INVALID_CHARACTERS.test(C)?{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(C,M){if(null!==C&&C.endsWith(" "))return{message:this.locale.maketext("A [asis,MariaDB]/[asis,MySQL] database name cannot end with a space character.")};const x=this._verifySpecialWildcardsInDatabaseNames(C);return null!==x?x:M&&this._convertVersionStringToNumber(M)<this.MYSQL_STARTED_ALLOWING_FILESYS_CHARACTERS&&/\./.test(C)?{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.",M,".")}:null}_convertVersionStringToNumber(C){return C.match(/mariadb/i)&&(C=C.replace(/^[^-]+-/,"")),parseInt(C.replace(/-.*/,"").split(/\./).map((function(M){return M.padStart(2,"0")})).join(""),10)}_verifySpecialWildcardsInDatabaseNames(C){if(null===C)return null;const M=C.replace(this.MYSQL_DB_NAME_WILDCARDS,"\\$1").length;let x=this.DATABASE_NAME_LENGTH_LIMIT;this._dbPrefix&&(x-=this._dbPrefix.length+1);const P=M-x;return P>0?{message:this.locale.maketext("This database name has too many wildcard-sensitive characters ([list_and_quoted,_1]). The system stores each of these as two characters internally, up to a limit of [quant,_2,character,characters]. This name would take up [quant,_3,character,characters] of internal storage, which is [numf,_4] too many.",["\\","_","%"],x,M,P)}:null}}},4559:function(j,w,f){"use strict";var h=this&&this.__importDefault||function(x){return x&&x.__esModule?x:{default:x}};Object.defineProperty(w,"__esModule",{value:!0}),w.domainValidators=void 0;const p=f(549),A=h(f(4879)),T=h(f(836)),C=f(2257);w.domainValidators=new class M extends C.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(P){const B=[],I=A.default.ucs2.decode(P);for(let F=0;F<I.length;F++)I[F]>this.UNICODE_ASCII_CUTOFF&&B.push(A.default.ucs2.encode([I[F]]));return T.default(B)}_validateLabelBasics(){return P=>{let B={};if(P.value&&0!==P.value.length){if(P.value.length>this.MAX_LABEL_BYTES)B=this.addError(B,"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("-"===P.value[0])B=this.addError(B,"charCondition",this.locale.maketext("A label must not begin with “[_1]”.","-"));else if("-"===P.value[P.value.length-1])B=this.addError(B,"charCondition",this.locale.maketext("A label must not end with “[_1]”.","-"));else if(A.default.toASCII(P.value).length>this.MAX_LABEL_BYTES){const I=this._getNonASCII(P.value);B=this.addError(B,"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,I[0]))}}else B=this.addError(B,"length",this.locale.maketext("A label must not be empty."));return B}}validDomainLength(){return P=>{let B={};if(P.value.length>this.MAX_DOMAIN_BYTES)return B=this.addError(B,"length",this.locale.maketext("The domain name cannot exceed [quant,_1,character,characters].",this.MAX_DOMAIN_BYTES)),B;if(A.default.toASCII(P.value).length>this.MAX_DOMAIN_BYTES){const F=this._getNonASCII(P.value);return B=this.addError(B,"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,F[0])),B}return null}}validateLabel(){return P=>p.runValidationGroup(P,[this._validateLabelBasics(),B=>{let I={};return this.NONINITIAL_LABEL_REGEX.test(B.value)||(I=this.addError(I,"charCondition",this.locale.maketext("The label must contain only the following characters: [list_and,_1].",["a-z","A-Z","0-9","-"]))),I}])}validateTLD(){return P=>{let B={};return!this.VALID_TLD_REGEX.test(P.value)&&!this.VALID_IDN_TLD_REGEX.test(P.value)&&(B=this.addError(B,"tld",this.locale.maketext("The domain name must include a valid [output,acronym,TLD,Top Level Domain]."))),B}}fqdn(){return P=>{const B=P.value.split("."),I=B[B.length-1],F=B[0],$=P.value,X=[()=>{let Z={};const ie=this.IPv4_REGEX.test($),ae=this.IPv6_REGEX.test($);return ie||ae?Z=this.addError(Z,"ipAddr",this.locale.maketext("You [output,strong,must] enter a hostname.")):B.length<2?Z=this.addError(Z,"oneDomain",this.locale.maketext("The domain name must include at least two labels.")):null},this.validDomainLength(),this.validateLabel().bind(this,{value:F}),this.validateTLD().bind(this,{value:"."+I})];return B.forEach((Z=>{X.push(this.validateLabel().bind(this,{value:Z}))})),p.runValidationGroup(P,X)}}fqdnOrIP(){return P=>{const B=p.runValidationGroup(P,[this.anyIP()]),I=P.value.split("."),F=I[I.length-1],$=I[0],X=[ie=>{let ae={};return I.length<2&&(ae=this.addError(ae,"oneDomain",this.locale.maketext("The domain name must include at least two labels."))),ae},this.validDomainLength(),this.validateLabel().bind(this,{value:$}),this.validateTLD().bind(this,{value:"."+F})];I.forEach((ie=>{X.push(this.validateLabel().bind(this,{value:ie}))}));const Z=p.runValidationGroup(P,X);return B&&Z?{...B,...Z}:null}}ipv4(){return P=>{let B={};return P.value&&!this.IPv4_REGEX.test(P.value)?(B=this.addError(B,"ipv4",this.locale.maketext("Invalid [asis,IPv4] compatible address.")),B):null}}ipv6(){return P=>{let B={};return P.value&&!this.IPv6_REGEX.test(P.value)?(B=this.addError(B,"ipv6",this.locale.maketext("Invalid [asis,IPv6] compatible address.")),B):null}}anyIP(){return P=>{let B={};return!P.value||this.IPv4_REGEX.test(P.value)||this.IPv6_REGEX.test(P.value)?null:(B=this.addError(B,"anyIP",this.locale.maketext("Invalid [asis,IPv4] or [asis,IPv6] compatible address.")),B)}}}},8415:(j,w,f)=>{"use strict";Object.defineProperty(w,"__esModule",{value:!0}),w.emailValidators=void 0;const h=f(2257);w.emailValidators=new class p extends h.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(T){const C=T||this.locale.maketext("Make sure to use a valid email format. For example, [asis,user@example.com].");return M=>{let x={};return M.value&&!this.VALID_EMAIL.test(M.value)?(x=this.addError(x,"invalidEmail",C),x):null}}}},7348:(j,w,f)=>{"use strict";Object.defineProperty(w,"__esModule",{value:!0}),w.equalityValidators=void 0;const h=f(2257);w.equalityValidators=new class p extends h.BaseValidator{constructor(){super(...arguments),this.prefix="equality"}equalTo(T,C,M){return x=>{const P=x.get(C).value;let I={};return P===x.get(M).value&&""!==P?(I=this.addError(I,"equalFields",T),I):null}}}},2502:(j,w,f)=>{"use strict";w.uZ=w.Tt=w.Xz=void 0;f(50);const A=f(4559);Object.defineProperty(w,"Xz",{enumerable:!0,get:function(){return A.domainValidators}});const T=f(2257);Object.defineProperty(w,"uZ",{enumerable:!0,get:function(){return T.BaseValidator}});f(6156),f(6369),f(6128);const P=f(8415);Object.defineProperty(w,"Tt",{enumerable:!0,get:function(){return P.emailValidators}});f(7348),f(7414),f(9761)},2257:(j,w)=>{"use strict";Object.defineProperty(w,"__esModule",{value:!0}),w.BaseValidator=void 0;let f,h=!0;w.BaseValidator=class A{constructor(){this.prefix="",f={maketext:C=>{throw"DEVELOPER: You must specify a locale engine through the static variable BaseValidator.locale = myLocaleEngine"}}}static set locale(C){f=C}get locale(){return f}_buildKey(C){return h?`cpanel.${this.prefix}.${C}`:C}static disablePrefixing(){h=!1}static enablePrefixing(){h=!0}addError(C={},M,x){return"string"==typeof x&&(x={message:x}),C[this._buildKey(M)]=x,C}}},6369:(j,w)=>{"use strict";var h;Object.defineProperty(w,"__esModule",{value:!0}),w.DatabaseType=void 0,(h=w.DatabaseType||(w.DatabaseType={})).MySQL="MySQL",h.PostgreSQL="PostgreSQL"},91:(j,w)=>{"use strict";function A(C){return"0x"+C.toString(16)}Object.defineProperty(w,"__esModule",{value:!0}),w.characterLength=void 0,w.characterLength=function T(C,M){let x=0;for(let P=0;P<C.length;P++){x++;const B=C.charCodeAt(P);if(55296==(64512&B)){if(P++,P===C.length)throw new Error(M.maketext("This string ends with an incomplete [asis,UTF-16] surrogate pair ([_1]).",A(B)));const I=C.charCodeAt(P);if(56320!=(64512&I))throw new Error(M.maketext("This string contains an invalid [asis,UTF-16] surrogate pair ([join,~, ,_1]) at position [numf,_2].",[B,I].map(A),P))}}return x}},549:function(j,w,f){"use strict";var h=this&&this.__importDefault||function(T){return T&&T.__esModule?T:{default:T}};Object.defineProperty(w,"__esModule",{value:!0}),w.runValidationGroup=void 0;const p=h(f(9721));w.runValidationGroup=function A(T,C){const M={};return C.forEach((x=>{p.default(M,x(T))})),Object.keys(M).length?M:null}},9761:(j,w,f)=>{"use strict";Object.defineProperty(w,"__esModule",{value:!0}),w.stringValidators=void 0;const h=f(2257),p=f(91);w.stringValidators=new class T extends h.BaseValidator{constructor(){super(...arguments),this.prefix="string"}validUnicode(){return M=>{let x;try{x=p.characterLength(M,this.locale)}catch(P){const B={};return this.addError(B,"unicode",P.message),B}return null}}maxCharacterLength(M){return(x,P)=>{if(p.characterLength(P,this.locale)>x){const $={};return this.addError($,"length",M),$}return null}}maxUTF8Length(M){return(x,P)=>{if(function A(C){return unescape(encodeURIComponent(C)).length}(P)>x){const B={};return this.addError(B,"length",M),B}return null}}}},4994:(j,w,f)=>{var h=f(4312),p=f(6421),A=f(5764),T=f(8685),C=f(6676);function M(x){var P=-1,B=null==x?0:x.length;for(this.clear();++P<B;){var I=x[P];this.set(I[0],I[1])}}M.prototype.clear=h,M.prototype.delete=p,M.prototype.get=A,M.prototype.has=T,M.prototype.set=C,j.exports=M},9215:(j,w,f)=>{var h=f(1840),p=f(4378),A=f(4981),T=f(7343),C=f(8895);function M(x){var P=-1,B=null==x?0:x.length;for(this.clear();++P<B;){var I=x[P];this.set(I[0],I[1])}}M.prototype.clear=h,M.prototype.delete=p,M.prototype.get=A,M.prototype.has=T,M.prototype.set=C,j.exports=M},1501:(j,w,f)=>{var A=f(3436)(f(2119),"Map");j.exports=A},9850:(j,w,f)=>{var h=f(638),p=f(1184),A=f(866),T=f(3771),C=f(1772);function M(x){var P=-1,B=null==x?0:x.length;for(this.clear();++P<B;){var I=x[P];this.set(I[0],I[1])}}M.prototype.clear=h,M.prototype.delete=p,M.prototype.get=A,M.prototype.has=T,M.prototype.set=C,j.exports=M},6323:(j,w,f)=>{var A=f(3436)(f(2119),"Set");j.exports=A},8849:(j,w,f)=>{var h=f(9850),p=f(4600),A=f(1387);function T(C){var M=-1,x=null==C?0:C.length;for(this.__data__=new h;++M<x;)this.add(C[M])}T.prototype.add=T.prototype.push=p,T.prototype.has=A,j.exports=T},443:(j,w,f)=>{var h=f(2119);j.exports=h.Symbol},6999:j=>{j.exports=function w(f,h,p){switch(p.length){case 0:return f.call(h);case 1:return f.call(h,p[0]);case 2:return f.call(h,p[0],p[1]);case 3:return f.call(h,p[0],p[1],p[2])}return f.apply(h,p)}},1253:(j,w,f)=>{var h=f(4164);j.exports=function p(A,T){return!(null==A||!A.length)&&h(A,T,0)>-1}},177:j=>{j.exports=function w(f,h,p){for(var A=-1,T=null==f?0:f.length;++A<T;)if(p(h,f[A]))return!0;return!1}},2271:(j,w,f)=>{var h=f(5334),p=f(7151),A=f(1503),T=f(891),C=f(8442),M=f(8159),P=Object.prototype.hasOwnProperty;j.exports=function B(I,F){var $=A(I),X=!$&&p(I),Z=!$&&!X&&T(I),ie=!$&&!X&&!Z&&M(I),ae=$||X||Z||ie,Pe=ae?h(I.length,String):[],ot=Pe.length;for(var xe in I)(F||P.call(I,xe))&&(!ae||!("length"==xe||Z&&("offset"==xe||"parent"==xe)||ie&&("buffer"==xe||"byteLength"==xe||"byteOffset"==xe)||C(xe,ot)))&&Pe.push(xe);return Pe}},4633:j=>{j.exports=function w(f,h){for(var p=-1,A=null==f?0:f.length,T=Array(A);++p<A;)T[p]=h(f[p],p,f);return T}},8745:j=>{j.exports=function w(f,h,p,A){var T=-1,C=null==f?0:f.length;for(A&&C&&(p=f[++T]);++T<C;)p=h(p,f[T],T,f);return p}},5481:(j,w,f)=>{var p=f(1847)("length");j.exports=p},6422:j=>{j.exports=function w(f){return f.split("")}},69:j=>{var w=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;j.exports=function f(h){return h.match(w)||[]}},9719:(j,w,f)=>{var h=f(5683),p=f(217),T=Object.prototype.hasOwnProperty;j.exports=function C(M,x,P){var B=M[x];(!T.call(M,x)||!p(B,P)||void 0===P&&!(x in M))&&h(M,x,P)}},3503:(j,w,f)=>{var h=f(217);j.exports=function p(A,T){for(var C=A.length;C--;)if(h(A[C][0],T))return C;return-1}},5683:(j,w,f)=>{var h=f(6713);j.exports=function p(A,T,C){"__proto__"==T&&h?h(A,T,{configurable:!0,enumerable:!0,value:C,writable:!0}):A[T]=C}},5317:j=>{j.exports=function w(f,h,p,A){for(var T=f.length,C=p+(A?1:-1);A?C--:++C<T;)if(h(f[C],C,f))return C;return-1}},3337:(j,w,f)=>{var h=f(443),p=f(1318),A=f(2902),M=h?h.toStringTag:void 0;j.exports=function x(P){return null==P?void 0===P?"[object Undefined]":"[object Null]":M&&M in Object(P)?p(P):A(P)}},4164:(j,w,f)=>{var h=f(5317),p=f(968),A=f(4977);j.exports=function T(C,M,x){return M==M?A(C,M,x):h(C,p,x)}},186:(j,w,f)=>{var h=f(3337),p=f(2671);j.exports=function T(C){return p(C)&&"[object Arguments]"==h(C)}},968:j=>{j.exports=function w(f){return f!=f}},7304:(j,w,f)=>{var h=f(5946),p=f(1943),A=f(5940),T=f(2827),M=/^\[object .+?Constructor\]$/,F=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");j.exports=function $(X){return!(!A(X)||p(X))&&(h(X)?F:M).test(T(X))}},1083:(j,w,f)=>{var h=f(3337),p=f(6231),A=f(2671),Ye={};Ye["[object Float32Array]"]=Ye["[object Float64Array]"]=Ye["[object Int8Array]"]=Ye["[object Int16Array]"]=Ye["[object Int32Array]"]=Ye["[object Uint8Array]"]=Ye["[object Uint8ClampedArray]"]=Ye["[object Uint16Array]"]=Ye["[object Uint32Array]"]=!0,Ye["[object Arguments]"]=Ye["[object Array]"]=Ye["[object ArrayBuffer]"]=Ye["[object Boolean]"]=Ye["[object DataView]"]=Ye["[object Date]"]=Ye["[object Error]"]=Ye["[object Function]"]=Ye["[object Map]"]=Ye["[object Number]"]=Ye["[object Object]"]=Ye["[object RegExp]"]=Ye["[object Set]"]=Ye["[object String]"]=Ye["[object WeakMap]"]=!1,j.exports=function Rt(ke){return A(ke)&&p(ke.length)&&!!Ye[h(ke)]}},2809:(j,w,f)=>{var h=f(5940),p=f(5488),A=f(2158),C=Object.prototype.hasOwnProperty;j.exports=function M(x){if(!h(x))return A(x);var P=p(x),B=[];for(var I in x)"constructor"==I&&(P||!C.call(x,I))||B.push(I);return B}},1847:j=>{j.exports=function w(f){return function(h){return null==h?void 0:h[f]}}},2724:j=>{j.exports=function w(f){return function(h){return null==f?void 0:f[h]}}},7065:j=>{var f=Math.floor;j.exports=function h(p,A){var T="";if(!p||A<1||A>9007199254740991)return T;do{A%2&&(T+=p),(A=f(A/2))&&(p+=p)}while(A);return T}},3269:(j,w,f)=>{var h=f(2608),p=f(3983),A=f(2185);j.exports=function T(C,M){return A(p(C,M,h),C+"")}},9510:(j,w,f)=>{var h=f(6684),p=f(6713),A=f(2608);j.exports=p?function(C,M){return p(C,"toString",{configurable:!0,enumerable:!1,value:h(M),writable:!0})}:A},4363:j=>{j.exports=function w(f,h,p){var A=-1,T=f.length;h<0&&(h=-h>T?0:T+h),(p=p>T?T:p)<0&&(p+=T),T=h>p?0:p-h>>>0,h>>>=0;for(var C=Array(T);++A<T;)C[A]=f[A+h];return C}},5334:j=>{j.exports=function w(f,h){for(var p=-1,A=Array(f);++p<f;)A[p]=h(p);return A}},3935:(j,w,f)=>{var h=f(443),p=f(4633),A=f(1503),T=f(4129),M=h?h.prototype:void 0,x=M?M.toString:void 0;j.exports=function P(B){if("string"==typeof B)return B;if(A(B))return p(B,P)+"";if(T(B))return x?x.call(B):"";var I=B+"";return"0"==I&&1/B==-1/0?"-0":I}},3348:(j,w,f)=>{var h=f(2760),p=/^\s+/;j.exports=function A(T){return T&&T.slice(0,h(T)+1).replace(p,"")}},5647:j=>{j.exports=function w(f){return function(h){return f(h)}}},707:(j,w,f)=>{var h=f(8849),p=f(1253),A=f(177),T=f(5972),C=f(4575),M=f(4174);j.exports=function P(B,I,F){var $=-1,X=p,Z=B.length,ie=!0,ae=[],Pe=ae;if(F)ie=!1,X=A;else if(Z>=200){var ot=I?null:C(B);if(ot)return M(ot);ie=!1,X=T,Pe=new h}else Pe=I?[]:ae;e:for(;++$<Z;){var xe=B[$],Oe=I?I(xe):xe;if(xe=F||0!==xe?xe:0,ie&&Oe==Oe){for(var $e=Pe.length;$e--;)if(Pe[$e]===Oe)continue e;I&&Pe.push(Oe),ae.push(xe)}else X(Pe,Oe,F)||(Pe!==ae&&Pe.push(Oe),ae.push(xe))}return ae}},5972:j=>{j.exports=function w(f,h){return f.has(h)}},2329:(j,w,f)=>{var h=f(4363);j.exports=function p(A,T,C){var M=A.length;return C=void 0===C?M:C,!T&&C>=M?A:h(A,T,C)}},1989:(j,w,f)=>{var h=f(9719),p=f(5683);j.exports=function A(T,C,M,x){var P=!M;M||(M={});for(var B=-1,I=C.length;++B<I;){var F=C[B],$=x?x(M[F],T[F],F,M,T):void 0;void 0===$&&($=T[F]),P?p(M,F,$):h(M,F,$)}return M}},4610:(j,w,f)=>{var h=f(2119);j.exports=h["__core-js_shared__"]},4944:(j,w,f)=>{var h=f(3269),p=f(3342);j.exports=function A(T){return h((function(C,M){var x=-1,P=M.length,B=P>1?M[P-1]:void 0,I=P>2?M[2]:void 0;for(B=T.length>3&&"function"==typeof B?(P--,B):void 0,I&&p(M[0],M[1],I)&&(B=P<3?void 0:B,P=1),C=Object(C);++x<P;){var F=M[x];F&&T(C,F,x,B)}return C}))}},1491:(j,w,f)=>{var h=f(8745),p=f(4707),A=f(7188),C=RegExp("['’]","g");j.exports=function M(x){return function(P){return h(A(p(P).replace(C,"")),x,"")}}},5171:(j,w,f)=>{var h=f(7065),p=f(3935),A=f(2329),T=f(7609),C=f(2315),M=f(6007),x=Math.ceil;j.exports=function P(B,I){var F=(I=void 0===I?" ":p(I)).length;if(F<2)return F?h(I,B):I;var $=h(I,x(B/C(I)));return T(I)?A(M($),0,B).join(""):$.slice(0,B)}},4575:(j,w,f)=>{var h=f(6323),p=f(2552),A=f(4174),C=h&&1/A(new h([,-0]))[1]==1/0?function(M){return new h(M)}:p;j.exports=C},9148:(j,w,f)=>{var A=f(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"});j.exports=A},6713:(j,w,f)=>{var h=f(3436),p=function(){try{var A=h(Object,"defineProperty");return A({},"",{}),A}catch{}}();j.exports=p},9122:j=>{var w="object"==typeof global&&global&&global.Object===Object&&global;j.exports=w},4537:(j,w,f)=>{var h=f(3819);j.exports=function p(A,T){var C=A.__data__;return h(T)?C["string"==typeof T?"string":"hash"]:C.map}},3436:(j,w,f)=>{var h=f(7304),p=f(1990);j.exports=function A(T,C){var M=p(T,C);return h(M)?M:void 0}},9519:(j,w,f)=>{var p=f(9385)(Object.getPrototypeOf,Object);j.exports=p},1318:(j,w,f)=>{var h=f(443),p=Object.prototype,A=p.hasOwnProperty,T=p.toString,C=h?h.toStringTag:void 0;j.exports=function M(x){var P=A.call(x,C),B=x[C];try{x[C]=void 0;var I=!0}catch{}var F=T.call(x);return I&&(P?x[C]=B:delete x[C]),F}},1990:j=>{j.exports=function w(f,h){return null==f?void 0:f[h]}},7609:j=>{var M=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");j.exports=function x(P){return M.test(P)}},9062:j=>{var w=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;j.exports=function f(h){return w.test(h)}},4312:(j,w,f)=>{var h=f(862);j.exports=function p(){this.__data__=h?h(null):{},this.size=0}},6421:j=>{j.exports=function w(f){var h=this.has(f)&&delete this.__data__[f];return this.size-=h?1:0,h}},5764:(j,w,f)=>{var h=f(862),T=Object.prototype.hasOwnProperty;j.exports=function C(M){var x=this.__data__;if(h){var P=x[M];return"__lodash_hash_undefined__"===P?void 0:P}return T.call(x,M)?x[M]:void 0}},8685:(j,w,f)=>{var h=f(862),A=Object.prototype.hasOwnProperty;j.exports=function T(C){var M=this.__data__;return h?void 0!==M[C]:A.call(M,C)}},6676:(j,w,f)=>{var h=f(862);j.exports=function A(T,C){var M=this.__data__;return this.size+=this.has(T)?0:1,M[T]=h&&void 0===C?"__lodash_hash_undefined__":C,this}},8442:j=>{var f=/^(?:0|[1-9]\d*)$/;j.exports=function h(p,A){var T=typeof p;return!!(A=A??9007199254740991)&&("number"==T||"symbol"!=T&&f.test(p))&&p>-1&&p%1==0&&p<A}},3342:(j,w,f)=>{var h=f(217),p=f(6507),A=f(8442),T=f(5940);j.exports=function C(M,x,P){if(!T(P))return!1;var B=typeof x;return!!("number"==B?p(P)&&A(x,P.length):"string"==B&&x in P)&&h(P[x],M)}},3819:j=>{j.exports=function w(f){var h=typeof f;return"string"==h||"number"==h||"symbol"==h||"boolean"==h?"__proto__"!==f:null===f}},1943:(j,w,f)=>{var T,h=f(4610),p=(T=/[^.]+$/.exec(h&&h.keys&&h.keys.IE_PROTO||""))?"Symbol(src)_1."+T:"";j.exports=function A(T){return!!p&&p in T}},5488:j=>{var w=Object.prototype;j.exports=function f(h){var p=h&&h.constructor;return h===("function"==typeof p&&p.prototype||w)}},1840:j=>{j.exports=function w(){this.__data__=[],this.size=0}},4378:(j,w,f)=>{var h=f(3503),A=Array.prototype.splice;j.exports=function T(C){var M=this.__data__,x=h(M,C);return!(x<0||(x==M.length-1?M.pop():A.call(M,x,1),--this.size,0))}},4981:(j,w,f)=>{var h=f(3503);j.exports=function p(A){var T=this.__data__,C=h(T,A);return C<0?void 0:T[C][1]}},7343:(j,w,f)=>{var h=f(3503);j.exports=function p(A){return h(this.__data__,A)>-1}},8895:(j,w,f)=>{var h=f(3503);j.exports=function p(A,T){var C=this.__data__,M=h(C,A);return M<0?(++this.size,C.push([A,T])):C[M][1]=T,this}},638:(j,w,f)=>{var h=f(4994),p=f(9215),A=f(1501);j.exports=function T(){this.size=0,this.__data__={hash:new h,map:new(A||p),string:new h}}},1184:(j,w,f)=>{var h=f(4537);j.exports=function p(A){var T=h(this,A).delete(A);return this.size-=T?1:0,T}},866:(j,w,f)=>{var h=f(4537);j.exports=function p(A){return h(this,A).get(A)}},3771:(j,w,f)=>{var h=f(4537);j.exports=function p(A){return h(this,A).has(A)}},1772:(j,w,f)=>{var h=f(4537);j.exports=function p(A,T){var C=h(this,A),M=C.size;return C.set(A,T),this.size+=C.size==M?0:1,this}},862:(j,w,f)=>{var p=f(3436)(Object,"create");j.exports=p},2158:j=>{j.exports=function w(f){var h=[];if(null!=f)for(var p in Object(f))h.push(p);return h}},3597:(j,w,f)=>{j=f.nmd(j);var h=f(9122),p=w&&!w.nodeType&&w,A=p&&j&&!j.nodeType&&j,C=A&&A.exports===p&&h.process,M=function(){try{return A&&A.require&&A.require("util").types||C&&C.binding&&C.binding("util")}catch{}}();j.exports=M},2902:j=>{var f=Object.prototype.toString;j.exports=function h(p){return f.call(p)}},9385:j=>{j.exports=function w(f,h){return function(p){return f(h(p))}}},3983:(j,w,f)=>{var h=f(6999),p=Math.max;j.exports=function A(T,C,M){return C=p(void 0===C?T.length-1:C,0),function(){for(var x=arguments,P=-1,B=p(x.length-C,0),I=Array(B);++P<B;)I[P]=x[C+P];P=-1;for(var F=Array(C+1);++P<C;)F[P]=x[P];return F[C]=M(I),h(T,this,F)}}},2119:(j,w,f)=>{var h=f(9122),p="object"==typeof self&&self&&self.Object===Object&&self,A=h||p||Function("return this")();j.exports=A},4600:j=>{j.exports=function f(h){return this.__data__.set(h,"__lodash_hash_undefined__"),this}},1387:j=>{j.exports=function w(f){return this.__data__.has(f)}},4174:j=>{j.exports=function w(f){var h=-1,p=Array(f.size);return f.forEach((function(A){p[++h]=A})),p}},2185:(j,w,f)=>{var h=f(9510),A=f(29)(h);j.exports=A},29:j=>{var h=Date.now;j.exports=function p(A){var T=0,C=0;return function(){var M=h(),x=16-(M-C);if(C=M,x>0){if(++T>=800)return arguments[0]}else T=0;return A.apply(void 0,arguments)}}},4977:j=>{j.exports=function w(f,h,p){for(var A=p-1,T=f.length;++A<T;)if(f[A]===h)return A;return-1}},2315:(j,w,f)=>{var h=f(5481),p=f(7609),A=f(1149);j.exports=function T(C){return p(C)?A(C):h(C)}},6007:(j,w,f)=>{var h=f(6422),p=f(7609),A=f(6319);j.exports=function T(C){return p(C)?A(C):h(C)}},2827:j=>{var f=Function.prototype.toString;j.exports=function h(p){if(null!=p){try{return f.call(p)}catch{}try{return p+""}catch{}}return""}},2760:j=>{var w=/\s/;j.exports=function f(h){for(var p=h.length;p--&&w.test(h.charAt(p)););return p}},1149:j=>{var w="\\ud800-\\udfff",C="["+w+"]",M="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",x="\\ud83c[\\udffb-\\udfff]",B="[^"+w+"]",I="(?:\\ud83c[\\udde6-\\uddff]){2}",F="[\\ud800-\\udbff][\\udc00-\\udfff]",X="(?:"+M+"|"+x+")?",Z="[\\ufe0e\\ufe0f]?",ae=Z+X+"(?:\\u200d(?:"+[B,I,F].join("|")+")"+Z+X+")*",Pe="(?:"+[B+M+"?",M,I,F,C].join("|")+")",ot=RegExp(x+"(?="+x+")|"+Pe+ae,"g");j.exports=function xe(Oe){for(var $e=ot.lastIndex=0;ot.test(Oe);)++$e;return $e}},6319:j=>{var w="\\ud800-\\udfff",C="["+w+"]",M="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",x="\\ud83c[\\udffb-\\udfff]",B="[^"+w+"]",I="(?:\\ud83c[\\udde6-\\uddff]){2}",F="[\\ud800-\\udbff][\\udc00-\\udfff]",X="(?:"+M+"|"+x+")?",Z="[\\ufe0e\\ufe0f]?",ae=Z+X+"(?:\\u200d(?:"+[B,I,F].join("|")+")"+Z+X+")*",Pe="(?:"+[B+M+"?",M,I,F,C].join("|")+")",ot=RegExp(x+"(?="+x+")|"+Pe+ae,"g");j.exports=function xe(Oe){return Oe.match(ot)||[]}},910:j=>{var w="\\ud800-\\udfff",T="\\u2700-\\u27bf",C="a-z\\xdf-\\xf6\\xf8-\\xff",I="A-Z\\xc0-\\xd6\\xd8-\\xde",$="\\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",Z="["+$+"]",ae="\\d+",Pe="["+T+"]",ot="["+C+"]",xe="[^"+w+$+ae+T+C+I+"]",Ge="(?:\\ud83c[\\udde6-\\uddff]){2}",Gt="[\\ud800-\\udbff][\\udc00-\\udfff]",Ve="["+I+"]",Vt="(?:"+ot+"|"+xe+")",Ye="(?:"+Ve+"|"+xe+")",Rt="(?:['’](?:d|ll|m|re|s|t|ve))?",ke="(?:['’](?:D|LL|M|RE|S|T|VE))?",ce="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",ge="[\\ufe0e\\ufe0f]?",wt=ge+ce+"(?:\\u200d(?:"+["[^"+w+"]",Ge,Gt].join("|")+")"+ge+ce+")*",$t="(?:"+[Pe,Ge,Gt].join("|")+")"+wt,an=RegExp([Ve+"?"+ot+"+"+Rt+"(?="+[Z,Ve,"$"].join("|")+")",Ye+"+"+ke+"(?="+[Z,Ve+Vt,"$"].join("|")+")",Ve+"?"+Vt+"+"+Rt,Ve+"+"+ke,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ae,$t].join("|"),"g");j.exports=function Qt(Rn){return Rn.match(an)||[]}},9919:(j,w,f)=>{var h=f(1989),p=f(4944),A=f(6555),T=p((function(C,M){h(M,A(M),C)}));j.exports=T},6684:j=>{j.exports=function w(f){return function(){return f}}},4707:(j,w,f)=>{var h=f(9148),p=f(3943),A=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,B=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");j.exports=function I(F){return(F=p(F))&&F.replace(A,h).replace(B,"")}},217:j=>{j.exports=function w(f,h){return f===h||f!=f&&h!=h}},9721:(j,w,f)=>{j.exports=f(9919)},2608:j=>{j.exports=function w(f){return f}},7151:(j,w,f)=>{var h=f(186),p=f(2671),A=Object.prototype,T=A.hasOwnProperty,C=A.propertyIsEnumerable,M=h(function(){return arguments}())?h:function(x){return p(x)&&T.call(x,"callee")&&!C.call(x,"callee")};j.exports=M},1503:j=>{j.exports=Array.isArray},6507:(j,w,f)=>{var h=f(5946),p=f(6231);j.exports=function A(T){return null!=T&&p(T.length)&&!h(T)}},4798:(j,w,f)=>{var h=f(3337),p=f(2671);j.exports=function T(C){return!0===C||!1===C||p(C)&&"[object Boolean]"==h(C)}},891:(j,w,f)=>{j=f.nmd(j);var h=f(2119),p=f(3580),A=w&&!w.nodeType&&w,T=A&&j&&!j.nodeType&&j,M=T&&T.exports===A?h.Buffer:void 0;j.exports=(M?M.isBuffer:void 0)||p},5946:(j,w,f)=>{var h=f(3337),p=f(5940);j.exports=function x(P){if(!p(P))return!1;var B=h(P);return"[object Function]"==B||"[object GeneratorFunction]"==B||"[object AsyncFunction]"==B||"[object Proxy]"==B}},6231:j=>{j.exports=function f(h){return"number"==typeof h&&h>-1&&h%1==0&&h<=9007199254740991}},1305:j=>{j.exports=function w(f){return null===f}},9138:(j,w,f)=>{var h=f(3337),p=f(2671);j.exports=function T(C){return"number"==typeof C||p(C)&&"[object Number]"==h(C)}},5940:j=>{j.exports=function w(f){var h=typeof f;return null!=f&&("object"==h||"function"==h)}},2671:j=>{j.exports=function w(f){return null!=f&&"object"==typeof f}},7614:(j,w,f)=>{var h=f(3337),p=f(9519),A=f(2671),x=Function.prototype.toString,P=Object.prototype.hasOwnProperty,B=x.call(Object);j.exports=function I(F){if(!A(F)||"[object Object]"!=h(F))return!1;var $=p(F);if(null===$)return!0;var X=P.call($,"constructor")&&$.constructor;return"function"==typeof X&&X instanceof X&&x.call(X)==B}},248:(j,w,f)=>{var h=f(3337),p=f(1503),A=f(2671);j.exports=function C(M){return"string"==typeof M||!p(M)&&A(M)&&"[object String]"==h(M)}},4129:(j,w,f)=>{var h=f(3337),p=f(2671);j.exports=function T(C){return"symbol"==typeof C||p(C)&&"[object Symbol]"==h(C)}},8159:(j,w,f)=>{var h=f(1083),p=f(5647),A=f(3597),T=A&&A.isTypedArray,C=T?p(T):h;j.exports=C},4235:j=>{j.exports=function w(f){return void 0===f}},6555:(j,w,f)=>{var h=f(2271),p=f(2809),A=f(6507);j.exports=function T(C){return A(C)?h(C,!0):p(C)}},2552:j=>{j.exports=function w(){}},8448:(j,w,f)=>{var h=f(5171),p=f(2315),A=f(4401),T=f(3943);j.exports=function C(M,x,P){M=T(M);var B=(x=A(x))?p(M):0;return x&&B<x?h(x-B,P)+M:M}},1978:(j,w,f)=>{var p=f(1491)((function(A,T,C){return A+(C?"_":"")+T.toLowerCase()}));j.exports=p},3580:j=>{j.exports=function w(){return!1}},2232:(j,w,f)=>{var h=f(1467),p=1/0;j.exports=function T(C){return C?(C=h(C))===p||C===-p?17976931348623157e292*(C<0?-1:1):C==C?C:0:0===C?C:0}},4401:(j,w,f)=>{var h=f(2232);j.exports=function p(A){var T=h(A),C=T%1;return T==T?C?T-C:T:0}},1467:(j,w,f)=>{var h=f(3348),p=f(5940),A=f(4129),C=/^[-+]0x[0-9a-f]+$/i,M=/^0b[01]+$/i,x=/^0o[0-7]+$/i,P=parseInt;j.exports=function B(I){if("number"==typeof I)return I;if(A(I))return NaN;if(p(I)){var F="function"==typeof I.valueOf?I.valueOf():I;I=p(F)?F+"":F}if("string"!=typeof I)return 0===I?I:+I;I=h(I);var $=M.test(I);return $||x.test(I)?P(I.slice(2),$?2:8):C.test(I)?NaN:+I}},3943:(j,w,f)=>{var h=f(3935);j.exports=function p(A){return null==A?"":h(A)}},836:(j,w,f)=>{var h=f(707);j.exports=function p(A){return A&&A.length?h(A):[]}},7188:(j,w,f)=>{var h=f(69),p=f(9062),A=f(3943),T=f(910);j.exports=function C(M,x,P){return M=A(M),void 0===(x=P?void 0:x)?p(M)?T(M):h(M):M.match(x)||[]}},4879:(j,w,f)=>{"use strict";f.r(w),f.d(w,{decode:()=>Ve,default:()=>ke,encode:()=>at,toASCII:()=>Ye,toUnicode:()=>Vt,ucs2decode:()=>Oe,ucs2encode:()=>$e});const h=2147483647,p=36,I=/^xn--/,F=/[^\0-\x7E]/,$=/[\x2E\u3002\uFF0E\uFF61]/g,X={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},ie=Math.floor,ae=String.fromCharCode;function Pe(ce){throw new RangeError(X[ce])}function xe(ce,ge){const Ce=ce.split("@");let ee="";Ce.length>1&&(ee=Ce[0]+"@",ce=Ce[1]);const wt=function ot(ce,ge){const Ce=[];let ee=ce.length;for(;ee--;)Ce[ee]=ge(ce[ee]);return Ce}((ce=ce.replace($,".")).split("."),ge).join(".");return ee+wt}function Oe(ce){const ge=[];let Ce=0;const ee=ce.length;for(;Ce<ee;){const Me=ce.charCodeAt(Ce++);if(Me>=55296&&Me<=56319&&Ce<ee){const wt=ce.charCodeAt(Ce++);56320==(64512&wt)?ge.push(((1023&Me)<<10)+(1023&wt)+65536):(ge.push(Me),Ce--)}else ge.push(Me)}return ge}const $e=ce=>String.fromCodePoint(...ce),Ee=function(ce){return ce-48<10?ce-22:ce-65<26?ce-65:ce-97<26?ce-97:p},Ge=function(ce,ge){return ce+22+75*(ce<26)-((0!=ge)<<5)},Gt=function(ce,ge,Ce){let ee=0;for(ce=Ce?ie(ce/700):ce>>1,ce+=ie(ce/ge);ce>455;ee+=p)ce=ie(ce/35);return ie(ee+36*ce/(ce+38))},Ve=function(ce){const ge=[],Ce=ce.length;let ee=0,Me=128,wt=72,$t=ce.lastIndexOf("-");$t<0&&($t=0);for(let an=0;an<$t;++an)ce.charCodeAt(an)>=128&&Pe("not-basic"),ge.push(ce.charCodeAt(an));for(let an=$t>0?$t+1:0;an<Ce;){let Qt=ee;for(let wn=1,An=p;;An+=p){an>=Ce&&Pe("invalid-input");const Tn=Ee(ce.charCodeAt(an++));(Tn>=p||Tn>ie((h-ee)/wn))&&Pe("overflow"),ee+=Tn*wn;const Ft=An<=wt?1:An>=wt+26?26:An-wt;if(Tn<Ft)break;const Lt=p-Ft;wn>ie(h/Lt)&&Pe("overflow"),wn*=Lt}const Rn=ge.length+1;wt=Gt(ee-Qt,Rn,0==Qt),ie(ee/Rn)>h-Me&&Pe("overflow"),Me+=ie(ee/Rn),ee%=Rn,ge.splice(ee++,0,Me)}return String.fromCodePoint(...ge)},at=function(ce){const ge=[];let Ce=(ce=Oe(ce)).length,ee=128,Me=0,wt=72;for(const Qt of ce)Qt<128&&ge.push(ae(Qt));let $t=ge.length,an=$t;for($t&&ge.push("-");an<Ce;){let Qt=h;for(const wn of ce)wn>=ee&&wn<Qt&&(Qt=wn);const Rn=an+1;Qt-ee>ie((h-Me)/Rn)&&Pe("overflow"),Me+=(Qt-ee)*Rn,ee=Qt;for(const wn of ce)if(wn<ee&&++Me>h&&Pe("overflow"),wn==ee){let An=Me;for(let Tn=p;;Tn+=p){const Ft=Tn<=wt?1:Tn>=wt+26?26:Tn-wt;if(An<Ft)break;const Lt=An-Ft,ir=p-Ft;ge.push(ae(Ge(Ft+Lt%ir,0))),An=ie(Lt/ir)}ge.push(ae(Ge(An,0))),wt=Gt(Me,Rn,an==$t),Me=0,++an}++Me,++ee}return ge.join("")},Vt=function(ce){return xe(ce,(function(ge){return I.test(ge)?Ve(ge.slice(4).toLowerCase()):ge}))},Ye=function(ce){return xe(ce,(function(ge){return F.test(ge)?"xn--"+at(ge):ge}))},ke={version:"2.1.0",ucs2:{decode:Oe,encode:$e},decode:Ve,encode:at,toASCII:Ye,toUnicode:Vt}},1869:(j,w,f)=>{"use strict";f.d(w,{d:()=>p});var h=f(3489);class p extends h.L{constructor(T,C,M){super(),this.parent=T,this.outerValue=C,this.outerIndex=M,this.index=0}_next(T){this.parent.notifyNext(this.outerValue,T,this.outerIndex,this.index++,this)}_error(T){this.parent.notifyError(T,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}},2916:(j,w,f)=>{"use strict";f.d(w,{y:()=>F});var h=f(3489),A=f(7668),T=f(3292),M=f(3821),x=f(5379);var I=f(2830);let F=(()=>{class X{constructor(ie){this._isScalar=!1,ie&&(this._subscribe=ie)}lift(ie){const ae=new X;return ae.source=this,ae.operator=ie,ae}subscribe(ie,ae,Pe){const{operator:ot}=this,xe=function C(X,Z,ie){if(X){if(X instanceof h.L)return X;if(X[A.b])return X[A.b]()}return X||Z||ie?new h.L(X,Z,ie):new h.L(T.c)}(ie,ae,Pe);if(xe.add(ot?ot.call(xe,this.source):this.source||I.v.useDeprecatedSynchronousErrorHandling&&!xe.syncErrorThrowable?this._subscribe(xe):this._trySubscribe(xe)),I.v.useDeprecatedSynchronousErrorHandling&&xe.syncErrorThrowable&&(xe.syncErrorThrowable=!1,xe.syncErrorThrown))throw xe.syncErrorValue;return xe}_trySubscribe(ie){try{return this._subscribe(ie)}catch(ae){I.v.useDeprecatedSynchronousErrorHandling&&(ie.syncErrorThrown=!0,ie.syncErrorValue=ae),function p(X){for(;X;){const{closed:Z,destination:ie,isStopped:ae}=X;if(Z||ae)return!1;X=ie&&ie instanceof h.L?ie:null}return!0}(ie)?ie.error(ae):console.warn(ae)}}forEach(ie,ae){return new(ae=$(ae))(((Pe,ot)=>{let xe;xe=this.subscribe((Oe=>{try{ie(Oe)}catch($e){ot($e),xe&&xe.unsubscribe()}}),ot,Pe)}))}_subscribe(ie){const{source:ae}=this;return ae&&ae.subscribe(ie)}[M.L](){return this}pipe(...ie){return 0===ie.length?this:function B(X){return 0===X.length?x.y:1===X.length?X[0]:function(ie){return X.reduce(((ae,Pe)=>Pe(ae)),ie)}}(ie)(this)}toPromise(ie){return new(ie=$(ie))(((ae,Pe)=>{let ot;this.subscribe((xe=>ot=xe),(xe=>Pe(xe)),(()=>ae(ot)))}))}}return X.create=Z=>new X(Z),X})();function $(X){if(X||(X=I.v.Promise||Promise),!X)throw new Error("no Promise impl found");return X}},3292:(j,w,f)=>{"use strict";f.d(w,{c:()=>A});var h=f(2830),p=f(2782);const A={closed:!0,next(T){},error(T){if(h.v.useDeprecatedSynchronousErrorHandling)throw T;(0,p.z)(T)},complete(){}}},826:(j,w,f)=>{"use strict";f.d(w,{L:()=>p});var h=f(3489);class p extends h.L{notifyNext(T,C,M,x,P){this.destination.next(C)}notifyError(T,C){this.destination.error(T)}notifyComplete(T){this.destination.complete()}}},5529:(j,w,f)=>{"use strict";f.d(w,{xQ:()=>P,Yc:()=>x});var h=f(2916),p=f(3489),A=f(2654),T=f(5279);class C extends A.w{constructor(F,$){super(),this.subject=F,this.subscriber=$,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const F=this.subject,$=F.observers;if(this.subject=null,!$||0===$.length||F.isStopped||F.closed)return;const X=$.indexOf(this.subscriber);-1!==X&&$.splice(X,1)}}var M=f(7668);class x extends p.L{constructor(F){super(F),this.destination=F}}let P=(()=>{class I extends h.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[M.b](){return new x(this)}lift($){const X=new B(this,this);return X.operator=$,X}next($){if(this.closed)throw new T.N;if(!this.isStopped){const{observers:X}=this,Z=X.length,ie=X.slice();for(let ae=0;ae<Z;ae++)ie[ae].next($)}}error($){if(this.closed)throw new T.N;this.hasError=!0,this.thrownError=$,this.isStopped=!0;const{observers:X}=this,Z=X.length,ie=X.slice();for(let ae=0;ae<Z;ae++)ie[ae].error($);this.observers.length=0}complete(){if(this.closed)throw new T.N;this.isStopped=!0;const{observers:$}=this,X=$.length,Z=$.slice();for(let ie=0;ie<X;ie++)Z[ie].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe($){if(this.closed)throw new T.N;return super._trySubscribe($)}_subscribe($){if(this.closed)throw new T.N;return this.hasError?($.error(this.thrownError),A.w.EMPTY):this.isStopped?($.complete(),A.w.EMPTY):(this.observers.push($),new C(this,$))}asObservable(){const $=new h.y;return $.source=this,$}}return I.create=(F,$)=>new B(F,$),I})();class B extends P{constructor(F,$){super(),this.destination=F,this.source=$}next(F){const{destination:$}=this;$&&$.next&&$.next(F)}error(F){const{destination:$}=this;$&&$.error&&this.destination.error(F)}complete(){const{destination:F}=this;F&&F.complete&&this.destination.complete()}_subscribe(F){const{source:$}=this;return $?this.source.subscribe(F):A.w.EMPTY}}},3489:(j,w,f)=>{"use strict";f.d(w,{L:()=>x});var h=f(7043),p=f(3292),A=f(2654),T=f(7668),C=f(2830),M=f(2782);class x extends A.w{constructor(I,F,$){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=p.c;break;case 1:if(!I){this.destination=p.c;break}if("object"==typeof I){I instanceof x?(this.syncErrorThrowable=I.syncErrorThrowable,this.destination=I,I.add(this)):(this.syncErrorThrowable=!0,this.destination=new P(this,I));break}default:this.syncErrorThrowable=!0,this.destination=new P(this,I,F,$)}}[T.b](){return this}static create(I,F,$){const X=new x(I,F,$);return X.syncErrorThrowable=!1,X}next(I){this.isStopped||this._next(I)}error(I){this.isStopped||(this.isStopped=!0,this._error(I))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(I){this.destination.next(I)}_error(I){this.destination.error(I),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:I}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=I,this}}class P extends x{constructor(I,F,$,X){super(),this._parentSubscriber=I;let Z,ie=this;(0,h.m)(F)?Z=F:F&&(Z=F.next,$=F.error,X=F.complete,F!==p.c&&(ie=Object.create(F),(0,h.m)(ie.unsubscribe)&&this.add(ie.unsubscribe.bind(ie)),ie.unsubscribe=this.unsubscribe.bind(this))),this._context=ie,this._next=Z,this._error=$,this._complete=X}next(I){if(!this.isStopped&&this._next){const{_parentSubscriber:F}=this;C.v.useDeprecatedSynchronousErrorHandling&&F.syncErrorThrowable?this.__tryOrSetError(F,this._next,I)&&this.unsubscribe():this.__tryOrUnsub(this._next,I)}}error(I){if(!this.isStopped){const{_parentSubscriber:F}=this,{useDeprecatedSynchronousErrorHandling:$}=C.v;if(this._error)$&&F.syncErrorThrowable?(this.__tryOrSetError(F,this._error,I),this.unsubscribe()):(this.__tryOrUnsub(this._error,I),this.unsubscribe());else if(F.syncErrorThrowable)$?(F.syncErrorValue=I,F.syncErrorThrown=!0):(0,M.z)(I),this.unsubscribe();else{if(this.unsubscribe(),$)throw I;(0,M.z)(I)}}}complete(){if(!this.isStopped){const{_parentSubscriber:I}=this;if(this._complete){const F=()=>this._complete.call(this._context);C.v.useDeprecatedSynchronousErrorHandling&&I.syncErrorThrowable?(this.__tryOrSetError(I,F),this.unsubscribe()):(this.__tryOrUnsub(F),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(I,F){try{I.call(this._context,F)}catch($){if(this.unsubscribe(),C.v.useDeprecatedSynchronousErrorHandling)throw $;(0,M.z)($)}}__tryOrSetError(I,F,$){if(!C.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{F.call(this._context,$)}catch(X){return C.v.useDeprecatedSynchronousErrorHandling?(I.syncErrorValue=X,I.syncErrorThrown=!0,!0):((0,M.z)(X),!0)}return!1}_unsubscribe(){const{_parentSubscriber:I}=this;this._context=null,this._parentSubscriber=null,I.unsubscribe()}}},2654:(j,w,f)=>{"use strict";f.d(w,{w:()=>M});var h=f(6688),p=f(7830),A=f(7043);const C=(()=>{function P(B){return Error.call(this),this.message=B?`${B.length} errors occurred during unsubscription:\n${B.map(((I,F)=>`${F+1}) ${I.toString()}`)).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=B,this}return P.prototype=Object.create(Error.prototype),P})();class M{constructor(B){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,B&&(this._unsubscribe=B)}unsubscribe(){let B;if(this.closed)return;let{_parentOrParents:I,_unsubscribe:F,_subscriptions:$}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,I instanceof M)I.remove(this);else if(null!==I)for(let X=0;X<I.length;++X)I[X].remove(this);if((0,A.m)(F))try{F.call(this)}catch(X){B=X instanceof C?x(X.errors):[X]}if((0,h.k)($)){let X=-1,Z=$.length;for(;++X<Z;){const ie=$[X];if((0,p.K)(ie))try{ie.unsubscribe()}catch(ae){B=B||[],ae instanceof C?B=B.concat(x(ae.errors)):B.push(ae)}}}if(B)throw new C(B)}add(B){let I=B;if(!B)return M.EMPTY;switch(typeof B){case"function":I=new M(B);case"object":if(I===this||I.closed||"function"!=typeof I.unsubscribe)return I;if(this.closed)return I.unsubscribe(),I;if(!(I instanceof M)){const X=I;I=new M,I._subscriptions=[X]}break;default:throw new Error("unrecognized teardown "+B+" added to Subscription.")}let{_parentOrParents:F}=I;if(null===F)I._parentOrParents=this;else if(F instanceof M){if(F===this)return I;I._parentOrParents=[F,this]}else{if(-1!==F.indexOf(this))return I;F.push(this)}const $=this._subscriptions;return null===$?this._subscriptions=[I]:$.push(I),I}remove(B){const I=this._subscriptions;if(I){const F=I.indexOf(B);-1!==F&&I.splice(F,1)}}}var P;function x(P){return P.reduce(((B,I)=>B.concat(I instanceof C?I.errors:I)),[])}M.EMPTY=((P=new M).closed=!0,P)},2830:(j,w,f)=>{"use strict";f.d(w,{v:()=>p});let h=!1;const p={Promise:void 0,set useDeprecatedSynchronousErrorHandling(A){if(A){const T=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+T.stack)}else h&&console.log("RxJS: Back to a better error behavior. Thank you. <3");h=A},get useDeprecatedSynchronousErrorHandling(){return h}}},1762:(j,w,f)=>{"use strict";f.d(w,{N:()=>M,c:()=>C});var h=f(5529),p=f(2916),A=f(2654),T=f(4327);class C extends p.y{constructor(F,$){super(),this.source=F,this.subjectFactory=$,this._refCount=0,this._isComplete=!1}_subscribe(F){return this.getSubject().subscribe(F)}getSubject(){const F=this._subject;return(!F||F.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let F=this._connection;return F||(this._isComplete=!1,F=this._connection=new A.w,F.add(this.source.subscribe(new x(this.getSubject(),this))),F.closed&&(this._connection=null,F=A.w.EMPTY)),F}refCount(){return(0,T.x)()(this)}}const M=(()=>{const I=C.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:I._subscribe},_isComplete:{value:I._isComplete,writable:!0},getSubject:{value:I.getSubject},connect:{value:I.connect},refCount:{value:I.refCount}}})();class x extends h.Yc{constructor(F,$){super(F),this.connectable=$}_error(F){this._unsubscribe(),super._error(F)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const F=this.connectable;if(F){this.connectable=null;const $=F._connection;F._refCount=0,F._subject=null,F._connection=null,$&&$.unsubscribe()}}}},6053:(j,w,f)=>{"use strict";f.d(w,{aj:()=>x});var h=f(2866),p=f(6688),A=f(826),T=f(9054),C=f(3009);const M={};function x(...I){let F=null,$=null;return(0,h.K)(I[I.length-1])&&($=I.pop()),"function"==typeof I[I.length-1]&&(F=I.pop()),1===I.length&&(0,p.k)(I[0])&&(I=I[0]),(0,C.n)(I,$).lift(new P(F))}class P{constructor(F){this.resultSelector=F}call(F,$){return $.subscribe(new B(F,this.resultSelector))}}class B extends A.L{constructor(F,$){super(F),this.resultSelector=$,this.active=0,this.values=[],this.observables=[]}_next(F){this.values.push(M),this.observables.push(F)}_complete(){const F=this.observables,$=F.length;if(0===$)this.destination.complete();else{this.active=$,this.toRespond=$;for(let X=0;X<$;X++){const Z=F[X];this.add((0,T.D)(this,Z,Z,X))}}}notifyComplete(F){0==(this.active-=1)&&this.destination.complete()}notifyNext(F,$,X,Z,ie){const ae=this.values,ot=this.toRespond?ae[X]===M?--this.toRespond:this.toRespond:0;ae[X]=$,0===ot&&(this.resultSelector?this._tryResultSelector(ae):this.destination.next(ae.slice()))}_tryResultSelector(F){let $;try{$=this.resultSelector.apply(this,F)}catch(X){return void this.destination.error(X)}this.destination.next($)}}},1221:(j,w,f)=>{"use strict";f.d(w,{z:()=>T});var h=f(1086),p=f(9146);function T(...C){return function A(){return(0,p.J)(1)}()((0,h.of)(...C))}},5254:(j,w,f)=>{"use strict";f.d(w,{D:()=>ie});var h=f(2916),p=f(9249),A=f(2654),T=f(3821),x=f(6454),P=f(5430),F=f(8955),$=f(8515);function ie(ae,Pe){return Pe?function Z(ae,Pe){if(null!=ae){if(function I(ae){return ae&&"function"==typeof ae[T.L]}(ae))return function C(ae,Pe){return new h.y((ot=>{const xe=new A.w;return xe.add(Pe.schedule((()=>{const Oe=ae[T.L]();xe.add(Oe.subscribe({next($e){xe.add(Pe.schedule((()=>ot.next($e))))},error($e){xe.add(Pe.schedule((()=>ot.error($e))))},complete(){xe.add(Pe.schedule((()=>ot.complete())))}}))}))),xe}))}(ae,Pe);if((0,F.t)(ae))return function M(ae,Pe){return new h.y((ot=>{const xe=new A.w;return xe.add(Pe.schedule((()=>ae.then((Oe=>{xe.add(Pe.schedule((()=>{ot.next(Oe),xe.add(Pe.schedule((()=>ot.complete())))})))}),(Oe=>{xe.add(Pe.schedule((()=>ot.error(Oe))))}))))),xe}))}(ae,Pe);if((0,$.z)(ae))return(0,x.r)(ae,Pe);if(function X(ae){return ae&&"function"==typeof ae[P.hZ]}(ae)||"string"==typeof ae)return function B(ae,Pe){if(!ae)throw new Error("Iterable cannot be null");return new h.y((ot=>{const xe=new A.w;let Oe;return xe.add((()=>{Oe&&"function"==typeof Oe.return&&Oe.return()})),xe.add(Pe.schedule((()=>{Oe=ae[P.hZ](),xe.add(Pe.schedule((function(){if(ot.closed)return;let $e,Ee;try{const Ge=Oe.next();$e=Ge.value,Ee=Ge.done}catch(Ge){return void ot.error(Ge)}Ee?ot.complete():(ot.next($e),this.schedule())})))}))),xe}))}(ae,Pe)}throw new TypeError((null!==ae&&typeof ae||ae)+" is not observable")}(ae,Pe):ae instanceof h.y?ae:new h.y((0,p.s)(ae))}},3009:(j,w,f)=>{"use strict";f.d(w,{n:()=>T});var h=f(2916),p=f(3650),A=f(6454);function T(C,M){return M?(0,A.r)(C,M):new h.y((0,p.V)(C))}},3753:(j,w,f)=>{"use strict";f.d(w,{R:()=>M});var h=f(2916),p=f(6688),A=f(7043),T=f(4850);function M(F,$,X,Z){return(0,A.m)(X)&&(Z=X,X=void 0),Z?M(F,$,X).pipe((0,T.U)((ie=>(0,p.k)(ie)?Z(...ie):Z(ie)))):new h.y((ie=>{x(F,$,(function ae(Pe){ie.next(arguments.length>1?Array.prototype.slice.call(arguments):Pe)}),ie,X)}))}function x(F,$,X,Z,ie){let ae;if(function I(F){return F&&"function"==typeof F.addEventListener&&"function"==typeof F.removeEventListener}(F)){const Pe=F;F.addEventListener($,X,ie),ae=()=>Pe.removeEventListener($,X,ie)}else if(function B(F){return F&&"function"==typeof F.on&&"function"==typeof F.off}(F)){const Pe=F;F.on($,X),ae=()=>Pe.off($,X)}else if(function P(F){return F&&"function"==typeof F.addListener&&"function"==typeof F.removeListener}(F)){const Pe=F;F.addListener($,X),ae=()=>Pe.removeListener($,X)}else{if(!F||!F.length)throw new TypeError("Invalid event target");for(let Pe=0,ot=F.length;Pe<ot;Pe++)x(F[Pe],$,X,Z,ie)}Z.add(ae)}},1086:(j,w,f)=>{"use strict";f.d(w,{of:()=>T});var h=f(2866),p=f(3009),A=f(6454);function T(...C){let M=C[C.length-1];return(0,h.K)(M)?(C.pop(),(0,A.r)(C,M)):(0,p.n)(C)}},1737:(j,w,f)=>{"use strict";f.d(w,{_:()=>p});var h=f(2916);function p(T,C){return new h.y(C?M=>C.schedule(A,0,{error:T,subscriber:M}):M=>M.error(T))}function A({error:T,subscriber:C}){C.error(T)}},7221:(j,w,f)=>{"use strict";f.d(w,{K:()=>T});var h=f(826),p=f(1869),A=f(9054);function T(x){return function(B){const I=new C(x),F=B.lift(I);return I.caught=F}}class C{constructor(P){this.selector=P}call(P,B){return B.subscribe(new M(P,this.selector,this.caught))}}class M extends h.L{constructor(P,B,I){super(P),this.selector=B,this.caught=I}error(P){if(!this.isStopped){let B;try{B=this.selector(P,this.caught)}catch($){return void super.error($)}this._unsubscribeAndRecycle();const I=new p.d(this,void 0,void 0);this.add(I);const F=(0,A.D)(this,B,void 0,void 0,I);F!==I&&this.add(F)}}}},1406:(j,w,f)=>{"use strict";f.d(w,{b:()=>p});var h=f(1709);function p(A,T){return(0,h.zg)(A,T,1)}},2198:(j,w,f)=>{"use strict";f.d(w,{h:()=>p});var h=f(3489);function p(C,M){return function(P){return P.lift(new A(C,M))}}class A{constructor(M,x){this.predicate=M,this.thisArg=x}call(M,x){return x.subscribe(new T(M,this.predicate,this.thisArg))}}class T extends h.L{constructor(M,x,P){super(M),this.predicate=x,this.thisArg=P,this.count=0}_next(M){let x;try{x=this.predicate.call(this.thisArg,M,this.count++)}catch(P){return void this.destination.error(P)}x&&this.destination.next(M)}}},537:(j,w,f)=>{"use strict";f.d(w,{x:()=>A});var h=f(3489),p=f(2654);function A(M){return x=>x.lift(new T(M))}class T{constructor(x){this.callback=x}call(x,P){return P.subscribe(new C(x,this.callback))}}class C extends h.L{constructor(x,P){super(x),this.add(new p.w(P))}}},4850:(j,w,f)=>{"use strict";f.d(w,{U:()=>p});var h=f(3489);function p(C,M){return function(P){if("function"!=typeof C)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return P.lift(new A(C,M))}}class A{constructor(M,x){this.project=M,this.thisArg=x}call(M,x){return x.subscribe(new T(M,this.project,this.thisArg))}}class T extends h.L{constructor(M,x,P){super(M),this.project=x,this.count=0,this.thisArg=P||this}_next(M){let x;try{x=this.project.call(this.thisArg,M,this.count++)}catch(P){return void this.destination.error(P)}this.destination.next(x)}}},9146:(j,w,f)=>{"use strict";f.d(w,{J:()=>A});var h=f(1709),p=f(5379);function A(T=Number.POSITIVE_INFINITY){return(0,h.zg)(p.y,T)}},1709:(j,w,f)=>{"use strict";f.d(w,{zg:()=>M});var h=f(9054),p=f(826),A=f(1869),T=f(4850),C=f(5254);function M(B,I,F=Number.POSITIVE_INFINITY){return"function"==typeof I?$=>$.pipe(M(((X,Z)=>(0,C.D)(B(X,Z)).pipe((0,T.U)(((ie,ae)=>I(X,ie,Z,ae))))),F)):("number"==typeof I&&(F=I),$=>$.lift(new x(B,F)))}class x{constructor(I,F=Number.POSITIVE_INFINITY){this.project=I,this.concurrent=F}call(I,F){return F.subscribe(new P(I,this.project,this.concurrent))}}class P extends p.L{constructor(I,F,$=Number.POSITIVE_INFINITY){super(I),this.project=F,this.concurrent=$,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(I){this.active<this.concurrent?this._tryNext(I):this.buffer.push(I)}_tryNext(I){let F;const $=this.index++;try{F=this.project(I,$)}catch(X){return void this.destination.error(X)}this.active++,this._innerSub(F,I,$)}_innerSub(I,F,$){const X=new A.d(this,F,$),Z=this.destination;Z.add(X);const ie=(0,h.D)(this,I,void 0,void 0,X);ie!==X&&Z.add(ie)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(I,F,$,X,Z){this.destination.next(F)}notifyComplete(I){const F=this.buffer;this.remove(I),this.active--,F.length>0?this._next(F.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},4327:(j,w,f)=>{"use strict";f.d(w,{x:()=>p});var h=f(3489);function p(){return function(M){return M.lift(new A(M))}}class A{constructor(M){this.connectable=M}call(M,x){const{connectable:P}=this;P._refCount++;const B=new T(M,P),I=x.subscribe(B);return B.closed||(B.connection=P.connect()),I}}class T extends h.L{constructor(M,x){super(M),this.connectable=x}_unsubscribe(){const{connectable:M}=this;if(!M)return void(this.connection=null);this.connectable=null;const x=M._refCount;if(x<=0)return void(this.connection=null);if(M._refCount=x-1,x>1)return void(this.connection=null);const{connection:P}=this,B=M._connection;this.connection=null,B&&(!P||B===P)&&B.unsubscribe()}}},1059:(j,w,f)=>{"use strict";f.d(w,{O:()=>A});var h=f(1221),p=f(2866);function A(...T){const C=T[T.length-1];return(0,p.K)(C)?(T.pop(),M=>(0,h.z)(T,M,C)):M=>(0,h.z)(T,M)}},2868:(j,w,f)=>{"use strict";f.d(w,{b:()=>T});var h=f(3489);function p(){}var A=f(7043);function T(x,P,B){return function(F){return F.lift(new C(x,P,B))}}class C{constructor(P,B,I){this.nextOrObserver=P,this.error=B,this.complete=I}call(P,B){return B.subscribe(new M(P,this.nextOrObserver,this.error,this.complete))}}class M extends h.L{constructor(P,B,I,F){super(P),this._tapNext=p,this._tapError=p,this._tapComplete=p,this._tapError=I||p,this._tapComplete=F||p,(0,A.m)(B)?(this._context=this,this._tapNext=B):B&&(this._context=B,this._tapNext=B.next||p,this._tapError=B.error||p,this._tapComplete=B.complete||p)}_next(P){try{this._tapNext.call(this._context,P)}catch(B){return void this.destination.error(B)}this.destination.next(P)}_error(P){try{this._tapError.call(this._context,P)}catch(B){return void this.destination.error(B)}this.destination.error(P)}_complete(){try{this._tapComplete.call(this._context)}catch(P){return void this.destination.error(P)}return this.destination.complete()}}},6454:(j,w,f)=>{"use strict";f.d(w,{r:()=>A});var h=f(2916),p=f(2654);function A(T,C){return new h.y((M=>{const x=new p.w;let P=0;return x.add(C.schedule((function(){P!==T.length?(M.next(T[P++]),M.closed||x.add(this.schedule())):M.complete()}))),x}))}},5430:(j,w,f)=>{"use strict";f.d(w,{hZ:()=>p});const p=function h(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3821:(j,w,f)=>{"use strict";f.d(w,{L:()=>h});const h="function"==typeof Symbol&&Symbol.observable||"@@observable"},7668:(j,w,f)=>{"use strict";f.d(w,{b:()=>h});const h="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},5279:(j,w,f)=>{"use strict";f.d(w,{N:()=>p});const p=(()=>{function A(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return A.prototype=Object.create(Error.prototype),A})()},2782:(j,w,f)=>{"use strict";function h(p){setTimeout((()=>{throw p}),0)}f.d(w,{z:()=>h})},5379:(j,w,f)=>{"use strict";function h(p){return p}f.d(w,{y:()=>h})},6688:(j,w,f)=>{"use strict";f.d(w,{k:()=>h});const h=Array.isArray||(p=>p&&"number"==typeof p.length)},8515:(j,w,f)=>{"use strict";f.d(w,{z:()=>h});const h=p=>p&&"number"==typeof p.length&&"function"!=typeof p},7043:(j,w,f)=>{"use strict";function h(p){return"function"==typeof p}f.d(w,{m:()=>h})},7830:(j,w,f)=>{"use strict";function h(p){return null!==p&&"object"==typeof p}f.d(w,{K:()=>h})},8955:(j,w,f)=>{"use strict";function h(p){return!!p&&"function"!=typeof p.subscribe&&"function"==typeof p.then}f.d(w,{t:()=>h})},2866:(j,w,f)=>{"use strict";function h(p){return p&&"function"==typeof p.schedule}f.d(w,{K:()=>h})},9249:(j,w,f)=>{"use strict";f.d(w,{s:()=>F});var h=f(3650),p=f(2782),T=f(5430),M=f(3821),P=f(8515),B=f(8955),I=f(7830);const F=$=>{if($&&"function"==typeof $[M.L])return($=>X=>{const Z=$[M.L]();if("function"!=typeof Z.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return Z.subscribe(X)})($);if((0,P.z)($))return(0,h.V)($);if((0,B.t)($))return($=>X=>($.then((Z=>{X.closed||(X.next(Z),X.complete())}),(Z=>X.error(Z))).then(null,p.z),X))($);if($&&"function"==typeof $[T.hZ])return($=>X=>{const Z=$[T.hZ]();for(;;){const ie=Z.next();if(ie.done){X.complete();break}if(X.next(ie.value),X.closed)break}return"function"==typeof Z.return&&X.add((()=>{Z.return&&Z.return()})),X})($);{const Z=`You provided ${(0,I.K)($)?"an invalid object":`'${$}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(Z)}}},3650:(j,w,f)=>{"use strict";f.d(w,{V:()=>h});const h=p=>A=>{for(let T=0,C=p.length;T<C&&!A.closed;T++)A.next(p[T]);A.complete()}},9054:(j,w,f)=>{"use strict";f.d(w,{D:()=>T});var h=f(1869),p=f(9249),A=f(2916);function T(C,M,x,P,B=new h.d(C,x,P)){if(!B.closed)return M instanceof A.y?M.subscribe(B):(0,p.s)(M)(B)}},8583:()=>{"use strict";!function(J){const he=J.performance;function K(Xe){he&&he.mark&&he.mark(Xe)}function H(Xe,Ke){he&&he.measure&&he.measure(Xe,Ke)}K("Zone");const L=J.__Zone_symbol_prefix||"__zone_symbol__";function oe(Xe){return L+Xe}const de=!0===J[oe("forceDuplicateZoneCheck")];if(J.Zone){if(de||"function"!=typeof J.Zone.__symbol__)throw new Error("Zone already loaded.");return J.Zone}let me=(()=>{class Xe{constructor(te,ve){this._parent=te,this._name=ve?ve.name||"unnamed":"<root>",this._properties=ve&&ve.properties||{},this._zoneDelegate=new rt(this,this._parent&&this._parent._zoneDelegate,ve)}static assertZonePatched(){if(J.Promise!==ue.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 te=Xe.current;for(;te.parent;)te=te.parent;return te}static get current(){return G.zone}static get currentTask(){return le}static __load_patch(te,ve,ut=!1){if(ue.hasOwnProperty(te)){if(!ut&&de)throw Error("Already loaded patch: "+te)}else if(!J["__Zone_disable_"+te]){const ct="Zone:"+te;K(ct),ue[te]=ve(J,Xe,Q),H(ct,ct)}}get parent(){return this._parent}get name(){return this._name}get(te){const ve=this.getZoneWith(te);if(ve)return ve._properties[te]}getZoneWith(te){let ve=this;for(;ve;){if(ve._properties.hasOwnProperty(te))return ve;ve=ve._parent}return null}fork(te){if(!te)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,te)}wrap(te,ve){if("function"!=typeof te)throw new Error("Expecting function got: "+te);const ut=this._zoneDelegate.intercept(this,te,ve),ct=this;return function(){return ct.runGuarded(ut,this,arguments,ve)}}run(te,ve,ut,ct){G={parent:G,zone:this};try{return this._zoneDelegate.invoke(this,te,ve,ut,ct)}finally{G=G.parent}}runGuarded(te,ve=null,ut,ct){G={parent:G,zone:this};try{try{return this._zoneDelegate.invoke(this,te,ve,ut,ct)}catch(Kt){if(this._zoneDelegate.handleError(this,Kt))throw Kt}}finally{G=G.parent}}runTask(te,ve,ut){if(te.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(te.zone||cn).name+"; Execution: "+this.name+")");if(te.state===Yt&&(te.type===gn||te.type===lt))return;const ct=te.state!=st;ct&&te._transitionTo(st,ht),te.runCount++;const Kt=le;le=te,G={parent:G,zone:this};try{te.type==lt&&te.data&&!te.data.isPeriodic&&(te.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,te,ve,ut)}catch(be){if(this._zoneDelegate.handleError(this,be))throw be}}finally{te.state!==Yt&&te.state!==Je&&(te.type==gn||te.data&&te.data.isPeriodic?ct&&te._transitionTo(ht,st):(te.runCount=0,this._updateTaskCount(te,-1),ct&&te._transitionTo(Yt,st,Yt))),G=G.parent,le=Kt}}scheduleTask(te){if(te.zone&&te.zone!==this){let ut=this;for(;ut;){if(ut===te.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${te.zone.name}`);ut=ut.parent}}te._transitionTo(Jt,Yt);const ve=[];te._zoneDelegates=ve,te._zone=this;try{te=this._zoneDelegate.scheduleTask(this,te)}catch(ut){throw te._transitionTo(Je,Jt,Yt),this._zoneDelegate.handleError(this,ut),ut}return te._zoneDelegates===ve&&this._updateTaskCount(te,1),te.state==Jt&&te._transitionTo(ht,Jt),te}scheduleMicroTask(te,ve,ut,ct){return this.scheduleTask(new Fe(At,te,ve,ut,ct,void 0))}scheduleMacroTask(te,ve,ut,ct,Kt){return this.scheduleTask(new Fe(lt,te,ve,ut,ct,Kt))}scheduleEventTask(te,ve,ut,ct,Kt){return this.scheduleTask(new Fe(gn,te,ve,ut,ct,Kt))}cancelTask(te){if(te.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(te.zone||cn).name+"; Execution: "+this.name+")");te._transitionTo(kt,ht,st);try{this._zoneDelegate.cancelTask(this,te)}catch(ve){throw te._transitionTo(Je,kt),this._zoneDelegate.handleError(this,ve),ve}return this._updateTaskCount(te,-1),te._transitionTo(Yt,kt),te.runCount=0,te}_updateTaskCount(te,ve){const ut=te._zoneDelegates;-1==ve&&(te._zoneDelegates=null);for(let ct=0;ct<ut.length;ct++)ut[ct]._updateTaskCount(te.type,ve)}}return Xe.__symbol__=oe,Xe})();const Ae={name:"",onHasTask:(Xe,Ke,te,ve)=>Xe.hasTask(te,ve),onScheduleTask:(Xe,Ke,te,ve)=>Xe.scheduleTask(te,ve),onInvokeTask:(Xe,Ke,te,ve,ut,ct)=>Xe.invokeTask(te,ve,ut,ct),onCancelTask:(Xe,Ke,te,ve)=>Xe.cancelTask(te,ve)};class rt{constructor(Ke,te,ve){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=Ke,this._parentDelegate=te,this._forkZS=ve&&(ve&&ve.onFork?ve:te._forkZS),this._forkDlgt=ve&&(ve.onFork?te:te._forkDlgt),this._forkCurrZone=ve&&(ve.onFork?this.zone:te._forkCurrZone),this._interceptZS=ve&&(ve.onIntercept?ve:te._interceptZS),this._interceptDlgt=ve&&(ve.onIntercept?te:te._interceptDlgt),this._interceptCurrZone=ve&&(ve.onIntercept?this.zone:te._interceptCurrZone),this._invokeZS=ve&&(ve.onInvoke?ve:te._invokeZS),this._invokeDlgt=ve&&(ve.onInvoke?te:te._invokeDlgt),this._invokeCurrZone=ve&&(ve.onInvoke?this.zone:te._invokeCurrZone),this._handleErrorZS=ve&&(ve.onHandleError?ve:te._handleErrorZS),this._handleErrorDlgt=ve&&(ve.onHandleError?te:te._handleErrorDlgt),this._handleErrorCurrZone=ve&&(ve.onHandleError?this.zone:te._handleErrorCurrZone),this._scheduleTaskZS=ve&&(ve.onScheduleTask?ve:te._scheduleTaskZS),this._scheduleTaskDlgt=ve&&(ve.onScheduleTask?te:te._scheduleTaskDlgt),this._scheduleTaskCurrZone=ve&&(ve.onScheduleTask?this.zone:te._scheduleTaskCurrZone),this._invokeTaskZS=ve&&(ve.onInvokeTask?ve:te._invokeTaskZS),this._invokeTaskDlgt=ve&&(ve.onInvokeTask?te:te._invokeTaskDlgt),this._invokeTaskCurrZone=ve&&(ve.onInvokeTask?this.zone:te._invokeTaskCurrZone),this._cancelTaskZS=ve&&(ve.onCancelTask?ve:te._cancelTaskZS),this._cancelTaskDlgt=ve&&(ve.onCancelTask?te:te._cancelTaskDlgt),this._cancelTaskCurrZone=ve&&(ve.onCancelTask?this.zone:te._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const ut=ve&&ve.onHasTask;(ut||te&&te._hasTaskZS)&&(this._hasTaskZS=ut?ve:Ae,this._hasTaskDlgt=te,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=Ke,ve.onScheduleTask||(this._scheduleTaskZS=Ae,this._scheduleTaskDlgt=te,this._scheduleTaskCurrZone=this.zone),ve.onInvokeTask||(this._invokeTaskZS=Ae,this._invokeTaskDlgt=te,this._invokeTaskCurrZone=this.zone),ve.onCancelTask||(this._cancelTaskZS=Ae,this._cancelTaskDlgt=te,this._cancelTaskCurrZone=this.zone))}fork(Ke,te){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,Ke,te):new me(Ke,te)}intercept(Ke,te,ve){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,Ke,te,ve):te}invoke(Ke,te,ve,ut,ct){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,Ke,te,ve,ut,ct):te.apply(ve,ut)}handleError(Ke,te){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,Ke,te)}scheduleTask(Ke,te){let ve=te;if(this._scheduleTaskZS)this._hasTaskZS&&ve._zoneDelegates.push(this._hasTaskDlgtOwner),ve=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,Ke,te),ve||(ve=te);else if(te.scheduleFn)te.scheduleFn(te);else{if(te.type!=At)throw new Error("Task is missing scheduleFn.");Dt(te)}return ve}invokeTask(Ke,te,ve,ut){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,Ke,te,ve,ut):te.callback.apply(ve,ut)}cancelTask(Ke,te){let ve;if(this._cancelTaskZS)ve=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,Ke,te);else{if(!te.cancelFn)throw Error("Task is not cancelable");ve=te.cancelFn(te)}return ve}hasTask(Ke,te){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,Ke,te)}catch(ve){this.handleError(Ke,ve)}}_updateTaskCount(Ke,te){const ve=this._taskCounts,ut=ve[Ke],ct=ve[Ke]=ut+te;if(ct<0)throw new Error("More tasks executed then were scheduled.");0!=ut&&0!=ct||this.hasTask(this.zone,{microTask:ve.microTask>0,macroTask:ve.macroTask>0,eventTask:ve.eventTask>0,change:Ke})}}class Fe{constructor(Ke,te,ve,ut,ct,Kt){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=Ke,this.source=te,this.data=ut,this.scheduleFn=ct,this.cancelFn=Kt,!ve)throw new Error("callback is not defined");this.callback=ve;const be=this;this.invoke=Ke===gn&&ut&&ut.useG?Fe.invokeTask:function(){return Fe.invokeTask.call(J,be,this,arguments)}}static invokeTask(Ke,te,ve){Ke||(Ke=this),Te++;try{return Ke.runCount++,Ke.zone.runTask(Ke,te,ve)}finally{1==Te&&Re(),Te--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(Yt,Jt)}_transitionTo(Ke,te,ve){if(this._state!==te&&this._state!==ve)throw new Error(`${this.type} '${this.source}': can not transition to '${Ke}', expecting state '${te}'${ve?" or '"+ve+"'":""}, was '${this._state}'.`);this._state=Ke,Ke==Yt&&(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 it=oe("setTimeout"),Tt=oe("Promise"),gt=oe("then");let Ut,St=[],Ze=!1;function Be(Xe){if(Ut||J[Tt]&&(Ut=J[Tt].resolve(0)),Ut){let Ke=Ut[gt];Ke||(Ke=Ut.then),Ke.call(Ut,Xe)}else J[it](Xe,0)}function Dt(Xe){0===Te&&0===St.length&&Be(Re),Xe&&St.push(Xe)}function Re(){if(!Ze){for(Ze=!0;St.length;){const Xe=St;St=[];for(let Ke=0;Ke<Xe.length;Ke++){const te=Xe[Ke];try{te.zone.runTask(te,null,null)}catch(ve){Q.onUnhandledError(ve)}}}Q.microtaskDrainDone(),Ze=!1}}const cn={name:"NO ZONE"},Yt="notScheduled",Jt="scheduling",ht="scheduled",st="running",kt="canceling",Je="unknown",At="microTask",lt="macroTask",gn="eventTask",ue={},Q={symbol:oe,currentZoneFrame:()=>G,onUnhandledError:tt,microtaskDrainDone:tt,scheduleMicroTask:Dt,showUncaughtError:()=>!me[oe("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:tt,patchMethod:()=>tt,bindArguments:()=>[],patchThen:()=>tt,patchMacroTask:()=>tt,patchEventPrototype:()=>tt,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>tt,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>tt,wrapWithCurrentZone:()=>tt,filterProperties:()=>[],attachOriginToPatched:()=>tt,_redefineProperty:()=>tt,patchCallbacks:()=>tt,nativeScheduleMicroTask:Be};let G={parent:null,zone:new me(null,null)},le=null,Te=0;function tt(){}H("Zone","Zone"),J.Zone=me}(typeof window<"u"&&window||typeof self<"u"&&self||global);const j=Object.getOwnPropertyDescriptor,w=Object.defineProperty,f=Object.getPrototypeOf,h=Object.create,p=Array.prototype.slice,A="addEventListener",T="removeEventListener",C=Zone.__symbol__(A),M=Zone.__symbol__(T),x="true",P="false",B=Zone.__symbol__("");function I(J,he){return Zone.current.wrap(J,he)}function F(J,he,K,H,L){return Zone.current.scheduleMacroTask(J,he,K,H,L)}const $=Zone.__symbol__,X=typeof window<"u",Z=X?window:void 0,ie=X&&Z||"object"==typeof self&&self||global;function Pe(J,he){for(let K=J.length-1;K>=0;K--)"function"==typeof J[K]&&(J[K]=I(J[K],he+"_"+K));return J}function xe(J){return!J||!1!==J.writable&&!("function"==typeof J.get&&typeof J.set>"u")}const Oe=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,$e=!("nw"in ie)&&typeof ie.process<"u"&&"[object process]"==={}.toString.call(ie.process),Ee=!$e&&!Oe&&!(!X||!Z.HTMLElement),Ge=typeof ie.process<"u"&&"[object process]"==={}.toString.call(ie.process)&&!Oe&&!(!X||!Z.HTMLElement),Gt={},Ve=function(J){if(!(J=J||ie.event))return;let he=Gt[J.type];he||(he=Gt[J.type]=$("ON_PROPERTY"+J.type));const K=this||J.target||ie,H=K[he];let L;if(Ee&&K===Z&&"error"===J.type){const oe=J;L=H&&H.call(this,oe.message,oe.filename,oe.lineno,oe.colno,oe.error),!0===L&&J.preventDefault()}else L=H&&H.apply(this,arguments),null!=L&&!L&&J.preventDefault();return L};function at(J,he,K){let H=j(J,he);if(!H&&K&&j(K,he)&&(H={enumerable:!0,configurable:!0}),!H||!H.configurable)return;const L=$("on"+he+"patched");if(J.hasOwnProperty(L)&&J[L])return;delete H.writable,delete H.value;const oe=H.get,de=H.set,me=he.slice(2);let Ae=Gt[me];Ae||(Ae=Gt[me]=$("ON_PROPERTY"+me)),H.set=function(rt){let Fe=this;!Fe&&J===ie&&(Fe=ie),Fe&&("function"==typeof Fe[Ae]&&Fe.removeEventListener(me,Ve),de&&de.call(Fe,null),Fe[Ae]=rt,"function"==typeof rt&&Fe.addEventListener(me,Ve,!1))},H.get=function(){let rt=this;if(!rt&&J===ie&&(rt=ie),!rt)return null;const Fe=rt[Ae];if(Fe)return Fe;if(oe){let it=oe.call(this);if(it)return H.set.call(this,it),"function"==typeof rt.removeAttribute&&rt.removeAttribute(he),it}return null},w(J,he,H),J[L]=!0}function Vt(J,he,K){if(he)for(let H=0;H<he.length;H++)at(J,"on"+he[H],K);else{const H=[];for(const L in J)"on"==L.slice(0,2)&&H.push(L);for(let L=0;L<H.length;L++)at(J,H[L],K)}}const Ye=$("originalInstance");function Rt(J){const he=ie[J];if(!he)return;ie[$(J)]=he,ie[J]=function(){const L=Pe(arguments,J);switch(L.length){case 0:this[Ye]=new he;break;case 1:this[Ye]=new he(L[0]);break;case 2:this[Ye]=new he(L[0],L[1]);break;case 3:this[Ye]=new he(L[0],L[1],L[2]);break;case 4:this[Ye]=new he(L[0],L[1],L[2],L[3]);break;default:throw new Error("Arg list too long.")}},ge(ie[J],he);const K=new he((function(){}));let H;for(H in K)"XMLHttpRequest"===J&&"responseBlob"===H||function(L){"function"==typeof K[L]?ie[J].prototype[L]=function(){return this[Ye][L].apply(this[Ye],arguments)}:w(ie[J].prototype,L,{set:function(oe){"function"==typeof oe?(this[Ye][L]=I(oe,J+"."+L),ge(this[Ye][L],oe)):this[Ye][L]=oe},get:function(){return this[Ye][L]}})}(H);for(H in he)"prototype"!==H&&he.hasOwnProperty(H)&&(ie[J][H]=he[H])}function ke(J,he,K){let H=J;for(;H&&!H.hasOwnProperty(he);)H=f(H);!H&&J[he]&&(H=J);const L=$(he);let oe=null;if(H&&(!(oe=H[L])||!H.hasOwnProperty(L))&&(oe=H[L]=H[he],xe(H&&j(H,he)))){const me=K(oe,L,he);H[he]=function(){return me(this,arguments)},ge(H[he],oe)}return oe}function ce(J,he,K){let H=null;function L(oe){const de=oe.data;return de.args[de.cbIdx]=function(){oe.invoke.apply(this,arguments)},H.apply(de.target,de.args),oe}H=ke(J,he,(oe=>function(de,me){const Ae=K(de,me);return Ae.cbIdx>=0&&"function"==typeof me[Ae.cbIdx]?F(Ae.name,me[Ae.cbIdx],Ae,L):oe.apply(de,me)}))}function ge(J,he){J[$("OriginalDelegate")]=he}let Ce=!1,ee=!1;function wt(){if(Ce)return ee;Ce=!0;try{const J=Z.navigator.userAgent;(-1!==J.indexOf("MSIE ")||-1!==J.indexOf("Trident/")||-1!==J.indexOf("Edge/"))&&(ee=!0)}catch{}return ee}Zone.__load_patch("ZoneAwarePromise",((J,he,K)=>{const H=Object.getOwnPropertyDescriptor,L=Object.defineProperty,de=K.symbol,me=[],Ae=!0===J[de("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],rt=de("Promise"),Fe=de("then");K.onUnhandledError=be=>{if(K.showUncaughtError()){const Ue=be&&be.rejection;Ue?console.error("Unhandled Promise rejection:",Ue instanceof Error?Ue.message:Ue,"; Zone:",be.zone.name,"; Task:",be.task&&be.task.source,"; Value:",Ue,Ue instanceof Error?Ue.stack:void 0):console.error(be)}},K.microtaskDrainDone=()=>{for(;me.length;){const be=me.shift();try{be.zone.runGuarded((()=>{throw be.throwOriginal?be.rejection:be}))}catch(Ue){gt(Ue)}}};const Tt=de("unhandledPromiseRejectionHandler");function gt(be){K.onUnhandledError(be);try{const Ue=he[Tt];"function"==typeof Ue&&Ue.call(this,be)}catch{}}function St(be){return be&&be.then}function Ze(be){return be}function Ut(be){return te.reject(be)}const Be=de("state"),Dt=de("value"),Re=de("finally"),cn=de("parentPromiseValue"),Yt=de("parentPromiseState"),ht=null,kt=!1;function At(be,Ue){return _e=>{try{Q(be,Ue,_e)}catch(ye){Q(be,!1,ye)}}}const lt=function(){let be=!1;return function(_e){return function(){be||(be=!0,_e.apply(null,arguments))}}},ue=de("currentTaskTrace");function Q(be,Ue,_e){const ye=lt();if(be===_e)throw new TypeError("Promise resolved with itself");if(be[Be]===ht){let He=null;try{("object"==typeof _e||"function"==typeof _e)&&(He=_e&&_e.then)}catch(nt){return ye((()=>{Q(be,!1,nt)}))(),be}if(Ue!==kt&&_e instanceof te&&_e.hasOwnProperty(Be)&&_e.hasOwnProperty(Dt)&&_e[Be]!==ht)le(_e),Q(be,_e[Be],_e[Dt]);else if(Ue!==kt&&"function"==typeof He)try{He.call(_e,ye(At(be,Ue)),ye(At(be,!1)))}catch(nt){ye((()=>{Q(be,!1,nt)}))()}else{be[Be]=Ue;const nt=be[Dt];if(be[Dt]=_e,be[Re]===Re&&!0===Ue&&(be[Be]=be[Yt],be[Dt]=be[cn]),Ue===kt&&_e instanceof Error){const qe=he.currentTask&&he.currentTask.data&&he.currentTask.data.__creationTrace__;qe&&L(_e,ue,{configurable:!0,enumerable:!1,writable:!0,value:qe})}for(let qe=0;qe<nt.length;)Te(be,nt[qe++],nt[qe++],nt[qe++],nt[qe++]);if(0==nt.length&&Ue==kt){be[Be]=0;let qe=_e;try{throw new Error("Uncaught (in promise): "+function oe(be){return be&&be.toString===Object.prototype.toString?(be.constructor&&be.constructor.name||"")+": "+JSON.stringify(be):be?be.toString():Object.prototype.toString.call(be)}(_e)+(_e&&_e.stack?"\n"+_e.stack:""))}catch(Pt){qe=Pt}Ae&&(qe.throwOriginal=!0),qe.rejection=_e,qe.promise=be,qe.zone=he.current,qe.task=he.currentTask,me.push(qe),K.scheduleMicroTask()}}}return be}const G=de("rejectionHandledHandler");function le(be){if(0===be[Be]){try{const Ue=he[G];Ue&&"function"==typeof Ue&&Ue.call(this,{rejection:be[Dt],promise:be})}catch{}be[Be]=kt;for(let Ue=0;Ue<me.length;Ue++)be===me[Ue].promise&&me.splice(Ue,1)}}function Te(be,Ue,_e,ye,He){le(be);const nt=be[Be],qe=nt?"function"==typeof ye?ye:Ze:"function"==typeof He?He:Ut;Ue.scheduleMicroTask("Promise.then",(()=>{try{const Pt=be[Dt],dt=!!_e&&Re===_e[Re];dt&&(_e[cn]=Pt,_e[Yt]=nt);const bt=Ue.run(qe,void 0,dt&&qe!==Ut&&qe!==Ze?[]:[Pt]);Q(_e,!0,bt)}catch(Pt){Q(_e,!1,Pt)}}),_e)}const Xe=function(){},Ke=J.AggregateError;class te{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(Ue){return Q(new this(null),!0,Ue)}static reject(Ue){return Q(new this(null),kt,Ue)}static any(Ue){if(!Ue||"function"!=typeof Ue[Symbol.iterator])return Promise.reject(new Ke([],"All promises were rejected"));const _e=[];let ye=0;try{for(let qe of Ue)ye++,_e.push(te.resolve(qe))}catch{return Promise.reject(new Ke([],"All promises were rejected"))}if(0===ye)return Promise.reject(new Ke([],"All promises were rejected"));let He=!1;const nt=[];return new te(((qe,Pt)=>{for(let dt=0;dt<_e.length;dt++)_e[dt].then((bt=>{He||(He=!0,qe(bt))}),(bt=>{nt.push(bt),ye--,0===ye&&(He=!0,Pt(new Ke(nt,"All promises were rejected")))}))}))}static race(Ue){let _e,ye,He=new this(((Pt,dt)=>{_e=Pt,ye=dt}));function nt(Pt){_e(Pt)}function qe(Pt){ye(Pt)}for(let Pt of Ue)St(Pt)||(Pt=this.resolve(Pt)),Pt.then(nt,qe);return He}static all(Ue){return te.allWithCallback(Ue)}static allSettled(Ue){return(this&&this.prototype instanceof te?this:te).allWithCallback(Ue,{thenCallback:ye=>({status:"fulfilled",value:ye}),errorCallback:ye=>({status:"rejected",reason:ye})})}static allWithCallback(Ue,_e){let ye,He,nt=new this(((bt,Et)=>{ye=bt,He=Et})),qe=2,Pt=0;const dt=[];for(let bt of Ue){St(bt)||(bt=this.resolve(bt));const Et=Pt;try{bt.then((zt=>{dt[Et]=_e?_e.thenCallback(zt):zt,qe--,0===qe&&ye(dt)}),(zt=>{_e?(dt[Et]=_e.errorCallback(zt),qe--,0===qe&&ye(dt)):He(zt)}))}catch(zt){He(zt)}qe++,Pt++}return qe-=2,0===qe&&ye(dt),nt}constructor(Ue){const _e=this;if(!(_e instanceof te))throw new Error("Must be an instanceof Promise.");_e[Be]=ht,_e[Dt]=[];try{const ye=lt();Ue&&Ue(ye(At(_e,!0)),ye(At(_e,kt)))}catch(ye){Q(_e,!1,ye)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return te}then(Ue,_e){var ye;let He=null===(ye=this.constructor)||void 0===ye?void 0:ye[Symbol.species];(!He||"function"!=typeof He)&&(He=this.constructor||te);const nt=new He(Xe),qe=he.current;return this[Be]==ht?this[Dt].push(qe,nt,Ue,_e):Te(this,qe,nt,Ue,_e),nt}catch(Ue){return this.then(null,Ue)}finally(Ue){var _e;let ye=null===(_e=this.constructor)||void 0===_e?void 0:_e[Symbol.species];(!ye||"function"!=typeof ye)&&(ye=te);const He=new ye(Xe);He[Re]=Re;const nt=he.current;return this[Be]==ht?this[Dt].push(nt,He,Ue,Ue):Te(this,nt,He,Ue,Ue),He}}te.resolve=te.resolve,te.reject=te.reject,te.race=te.race,te.all=te.all;const ve=J[rt]=J.Promise;J.Promise=te;const ut=de("thenPatched");function ct(be){const Ue=be.prototype,_e=H(Ue,"then");if(_e&&(!1===_e.writable||!_e.configurable))return;const ye=Ue.then;Ue[Fe]=ye,be.prototype.then=function(He,nt){return new te(((Pt,dt)=>{ye.call(this,Pt,dt)})).then(He,nt)},be[ut]=!0}return K.patchThen=ct,ve&&(ct(ve),ke(J,"fetch",(be=>function Kt(be){return function(Ue,_e){let ye=be.apply(Ue,_e);if(ye instanceof te)return ye;let He=ye.constructor;return He[ut]||ct(He),ye}}(be)))),Promise[he.__symbol__("uncaughtPromiseErrors")]=me,te})),Zone.__load_patch("toString",(J=>{const he=Function.prototype.toString,K=$("OriginalDelegate"),H=$("Promise"),L=$("Error"),oe=function(){if("function"==typeof this){const rt=this[K];if(rt)return"function"==typeof rt?he.call(rt):Object.prototype.toString.call(rt);if(this===Promise){const Fe=J[H];if(Fe)return he.call(Fe)}if(this===Error){const Fe=J[L];if(Fe)return he.call(Fe)}}return he.call(this)};oe[K]=he,Function.prototype.toString=oe;const de=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":de.call(this)}}));let $t=!1;if(typeof window<"u")try{const J=Object.defineProperty({},"passive",{get:function(){$t=!0}});window.addEventListener("test",J,J),window.removeEventListener("test",J,J)}catch{$t=!1}const an={useG:!0},Qt={},Rn={},wn=new RegExp("^"+B+"(\\w+)(true|false)$"),An=$("propagationStopped");function Tn(J,he){const K=(he?he(J):J)+P,H=(he?he(J):J)+x,L=B+K,oe=B+H;Qt[J]={},Qt[J][P]=L,Qt[J][x]=oe}function Ft(J,he,K,H){const L=H&&H.add||A,oe=H&&H.rm||T,de=H&&H.listeners||"eventListeners",me=H&&H.rmAll||"removeAllListeners",Ae=$(L),rt="."+L+":",Tt=function(Dt,Re,cn){if(Dt.isRemoved)return;const Yt=Dt.callback;let Jt;"object"==typeof Yt&&Yt.handleEvent&&(Dt.callback=st=>Yt.handleEvent(st),Dt.originalDelegate=Yt);try{Dt.invoke(Dt,Re,[cn])}catch(st){Jt=st}const ht=Dt.options;return ht&&"object"==typeof ht&&ht.once&&Re[oe].call(Re,cn.type,Dt.originalDelegate?Dt.originalDelegate:Dt.callback,ht),Jt};function gt(Dt,Re,cn){if(!(Re=Re||J.event))return;const Yt=Dt||Re.target||J,Jt=Yt[Qt[Re.type][cn?x:P]];if(Jt){const ht=[];if(1===Jt.length){const st=Tt(Jt[0],Yt,Re);st&&ht.push(st)}else{const st=Jt.slice();for(let kt=0;kt<st.length&&(!Re||!0!==Re[An]);kt++){const Je=Tt(st[kt],Yt,Re);Je&&ht.push(Je)}}if(1===ht.length)throw ht[0];for(let st=0;st<ht.length;st++){const kt=ht[st];he.nativeScheduleMicroTask((()=>{throw kt}))}}}const St=function(Dt){return gt(this,Dt,!1)},Ze=function(Dt){return gt(this,Dt,!0)};function Ut(Dt,Re){if(!Dt)return!1;let cn=!0;Re&&void 0!==Re.useG&&(cn=Re.useG);const Yt=Re&&Re.vh;let Jt=!0;Re&&void 0!==Re.chkDup&&(Jt=Re.chkDup);let ht=!1;Re&&void 0!==Re.rt&&(ht=Re.rt);let st=Dt;for(;st&&!st.hasOwnProperty(L);)st=f(st);if(!st&&Dt[L]&&(st=Dt),!st||st[Ae])return!1;const kt=Re&&Re.eventNameToString,Je={},At=st[Ae]=st[L],lt=st[$(oe)]=st[oe],gn=st[$(de)]=st[de],ue=st[$(me)]=st[me];let Q;function G(_e,ye){return!$t&&"object"==typeof _e&&_e?!!_e.capture:$t&&ye?"boolean"==typeof _e?{capture:_e,passive:!0}:_e?"object"==typeof _e&&!1!==_e.passive?Object.assign(Object.assign({},_e),{passive:!0}):_e:{passive:!0}:_e}Re&&Re.prepend&&(Q=st[$(Re.prepend)]=st[Re.prepend]);const te=cn?function(_e){if(!Je.isExisting)return At.call(Je.target,Je.eventName,Je.capture?Ze:St,Je.options)}:function(_e){return At.call(Je.target,Je.eventName,_e.invoke,Je.options)},ve=cn?function(_e){if(!_e.isRemoved){const ye=Qt[_e.eventName];let He;ye&&(He=ye[_e.capture?x:P]);const nt=He&&_e.target[He];if(nt)for(let qe=0;qe<nt.length;qe++)if(nt[qe]===_e){nt.splice(qe,1),_e.isRemoved=!0,0===nt.length&&(_e.allRemoved=!0,_e.target[He]=null);break}}if(_e.allRemoved)return lt.call(_e.target,_e.eventName,_e.capture?Ze:St,_e.options)}:function(_e){return lt.call(_e.target,_e.eventName,_e.invoke,_e.options)},ct=Re&&Re.diff?Re.diff:function(_e,ye){const He=typeof ye;return"function"===He&&_e.callback===ye||"object"===He&&_e.originalDelegate===ye},Kt=Zone[$("UNPATCHED_EVENTS")],be=J[$("PASSIVE_EVENTS")],Ue=function(_e,ye,He,nt,qe=!1,Pt=!1){return function(){const dt=this||J;let bt=arguments[0];Re&&Re.transferEventName&&(bt=Re.transferEventName(bt));let Et=arguments[1];if(!Et)return _e.apply(this,arguments);if($e&&"uncaughtException"===bt)return _e.apply(this,arguments);let zt=!1;if("function"!=typeof Et){if(!Et.handleEvent)return _e.apply(this,arguments);zt=!0}if(Yt&&!Yt(_e,Et,dt,arguments))return;const Gn=$t&&!!be&&-1!==be.indexOf(bt),yt=G(arguments[2],Gn);if(Kt)for(let qn=0;qn<Kt.length;qn++)if(bt===Kt[qn])return Gn?_e.call(dt,bt,Et,yt):_e.apply(this,arguments);const dr=!!yt&&("boolean"==typeof yt||yt.capture),ar=!(!yt||"object"!=typeof yt)&&yt.once,Lr=Zone.current;let fr=Qt[bt];fr||(Tn(bt,kt),fr=Qt[bt]);const Pn=fr[dr?x:P];let Bn,hr=dt[Pn],tr=!1;if(hr){if(tr=!0,Jt)for(let qn=0;qn<hr.length;qn++)if(ct(hr[qn],Et))return}else hr=dt[Pn]=[];const tn=dt.constructor.name,zr=Rn[tn];zr&&(Bn=zr[bt]),Bn||(Bn=tn+ye+(kt?kt(bt):bt)),Je.options=yt,ar&&(Je.options.once=!1),Je.target=dt,Je.capture=dr,Je.eventName=bt,Je.isExisting=tr;const zn=cn?an:void 0;zn&&(zn.taskData=Je);const Wn=Lr.scheduleEventTask(Bn,Et,zn,He,nt);return Je.target=null,zn&&(zn.taskData=null),ar&&(yt.once=!0),!$t&&"boolean"==typeof Wn.options||(Wn.options=yt),Wn.target=dt,Wn.capture=dr,Wn.eventName=bt,zt&&(Wn.originalDelegate=Et),Pt?hr.unshift(Wn):hr.push(Wn),qe?dt:void 0}};return st[L]=Ue(At,rt,te,ve,ht),Q&&(st.prependListener=Ue(Q,".prependListener:",(function(_e){return Q.call(Je.target,Je.eventName,_e.invoke,Je.options)}),ve,ht,!0)),st[oe]=function(){const _e=this||J;let ye=arguments[0];Re&&Re.transferEventName&&(ye=Re.transferEventName(ye));const He=arguments[2],nt=!!He&&("boolean"==typeof He||He.capture),qe=arguments[1];if(!qe)return lt.apply(this,arguments);if(Yt&&!Yt(lt,qe,_e,arguments))return;const Pt=Qt[ye];let dt;Pt&&(dt=Pt[nt?x:P]);const bt=dt&&_e[dt];if(bt)for(let Et=0;Et<bt.length;Et++){const zt=bt[Et];if(ct(zt,qe))return bt.splice(Et,1),zt.isRemoved=!0,0===bt.length&&(zt.allRemoved=!0,_e[dt]=null,"string"==typeof ye)&&(_e[B+"ON_PROPERTY"+ye]=null),zt.zone.cancelTask(zt),ht?_e:void 0}return lt.apply(this,arguments)},st[de]=function(){const _e=this||J;let ye=arguments[0];Re&&Re.transferEventName&&(ye=Re.transferEventName(ye));const He=[],nt=Lt(_e,kt?kt(ye):ye);for(let qe=0;qe<nt.length;qe++){const Pt=nt[qe];He.push(Pt.originalDelegate?Pt.originalDelegate:Pt.callback)}return He},st[me]=function(){const _e=this||J;let ye=arguments[0];if(ye){Re&&Re.transferEventName&&(ye=Re.transferEventName(ye));const He=Qt[ye];if(He){const Pt=_e[He[P]],dt=_e[He[x]];if(Pt){const bt=Pt.slice();for(let Et=0;Et<bt.length;Et++){const zt=bt[Et];this[oe].call(this,ye,zt.originalDelegate?zt.originalDelegate:zt.callback,zt.options)}}if(dt){const bt=dt.slice();for(let Et=0;Et<bt.length;Et++){const zt=bt[Et];this[oe].call(this,ye,zt.originalDelegate?zt.originalDelegate:zt.callback,zt.options)}}}}else{const He=Object.keys(_e);for(let nt=0;nt<He.length;nt++){const Pt=wn.exec(He[nt]);let dt=Pt&&Pt[1];dt&&"removeListener"!==dt&&this[me].call(this,dt)}this[me].call(this,"removeListener")}if(ht)return this},ge(st[L],At),ge(st[oe],lt),ue&&ge(st[me],ue),gn&&ge(st[de],gn),!0}let Be=[];for(let Dt=0;Dt<K.length;Dt++)Be[Dt]=Ut(K[Dt],H);return Be}function Lt(J,he){if(!he){const oe=[];for(let de in J){const me=wn.exec(de);let Ae=me&&me[1];if(Ae&&(!he||Ae===he)){const rt=J[de];if(rt)for(let Fe=0;Fe<rt.length;Fe++)oe.push(rt[Fe])}}return oe}let K=Qt[he];K||(Tn(he),K=Qt[he]);const H=J[K[P]],L=J[K[x]];return H?L?H.concat(L):H.slice():L?L.slice():[]}function ir(J,he){const K=J.Event;K&&K.prototype&&he.patchMethod(K.prototype,"stopImmediatePropagation",(H=>function(L,oe){L[An]=!0,H&&H.apply(L,oe)}))}function Dr(J,he,K,H,L){const oe=Zone.__symbol__(H);if(he[oe])return;const de=he[oe]=he[H];he[H]=function(me,Ae,rt){return Ae&&Ae.prototype&&L.forEach((function(Fe){const it=`${K}.${H}::`+Fe,Tt=Ae.prototype;try{if(Tt.hasOwnProperty(Fe)){const gt=J.ObjectGetOwnPropertyDescriptor(Tt,Fe);gt&&gt.value?(gt.value=J.wrapWithCurrentZone(gt.value,it),J._redefineProperty(Ae.prototype,Fe,gt)):Tt[Fe]&&(Tt[Fe]=J.wrapWithCurrentZone(Tt[Fe],it))}else Tt[Fe]&&(Tt[Fe]=J.wrapWithCurrentZone(Tt[Fe],it))}catch{}})),de.call(he,me,Ae,rt)},J.attachOriginToPatched(he[H],de)}function Vn(J,he,K){if(!K||0===K.length)return he;const H=K.filter((oe=>oe.target===J));if(!H||0===H.length)return he;const L=H[0].ignoreProperties;return he.filter((oe=>-1===L.indexOf(oe)))}function qt(J,he,K,H){J&&Vt(J,Vn(J,he,K),H)}function $n(J){return Object.getOwnPropertyNames(J).filter((he=>he.startsWith("on")&&he.length>2)).map((he=>he.substring(2)))}Zone.__load_patch("util",((J,he,K)=>{const H=$n(J);K.patchOnProperties=Vt,K.patchMethod=ke,K.bindArguments=Pe,K.patchMacroTask=ce;const L=he.__symbol__("BLACK_LISTED_EVENTS"),oe=he.__symbol__("UNPATCHED_EVENTS");J[oe]&&(J[L]=J[oe]),J[L]&&(he[L]=he[oe]=J[L]),K.patchEventPrototype=ir,K.patchEventTarget=Ft,K.isIEOrEdge=wt,K.ObjectDefineProperty=w,K.ObjectGetOwnPropertyDescriptor=j,K.ObjectCreate=h,K.ArraySlice=p,K.patchClass=Rt,K.wrapWithCurrentZone=I,K.filterProperties=Vn,K.attachOriginToPatched=ge,K._redefineProperty=Object.defineProperty,K.patchCallbacks=Dr,K.getGlobalObjects=()=>({globalSources:Rn,zoneSymbolEventNames:Qt,eventNames:H,isBrowser:Ee,isMix:Ge,isNode:$e,TRUE_STR:x,FALSE_STR:P,ZONE_SYMBOL_PREFIX:B,ADD_EVENT_LISTENER_STR:A,REMOVE_EVENT_LISTENER_STR:T})}));const hn=$("zoneTask");function pn(J,he,K,H){let L=null,oe=null;K+=H;const de={};function me(rt){const Fe=rt.data;return Fe.args[0]=function(){return rt.invoke.apply(this,arguments)},Fe.handleId=L.apply(J,Fe.args),rt}function Ae(rt){return oe.call(J,rt.data.handleId)}L=ke(J,he+=H,(rt=>function(Fe,it){if("function"==typeof it[0]){const Tt={isPeriodic:"Interval"===H,delay:"Timeout"===H||"Interval"===H?it[1]||0:void 0,args:it},gt=it[0];it[0]=function(){try{return gt.apply(this,arguments)}finally{Tt.isPeriodic||("number"==typeof Tt.handleId?delete de[Tt.handleId]:Tt.handleId&&(Tt.handleId[hn]=null))}};const St=F(he,it[0],Tt,me,Ae);if(!St)return St;const Ze=St.data.handleId;return"number"==typeof Ze?de[Ze]=St:Ze&&(Ze[hn]=St),Ze&&Ze.ref&&Ze.unref&&"function"==typeof Ze.ref&&"function"==typeof Ze.unref&&(St.ref=Ze.ref.bind(Ze),St.unref=Ze.unref.bind(Ze)),"number"==typeof Ze||Ze?Ze:St}return rt.apply(J,it)})),oe=ke(J,K,(rt=>function(Fe,it){const Tt=it[0];let gt;"number"==typeof Tt?gt=de[Tt]:(gt=Tt&&Tt[hn],gt||(gt=Tt)),gt&&"string"==typeof gt.type?"notScheduled"!==gt.state&&(gt.cancelFn&&gt.data.isPeriodic||0===gt.runCount)&&("number"==typeof Tt?delete de[Tt]:Tt&&(Tt[hn]=null),gt.zone.cancelTask(gt)):rt.apply(J,it)}))}Zone.__load_patch("legacy",(J=>{const he=J[Zone.__symbol__("legacyPatch")];he&&he()})),Zone.__load_patch("queueMicrotask",((J,he,K)=>{K.patchMethod(J,"queueMicrotask",(H=>function(L,oe){he.current.scheduleMicroTask("queueMicrotask",oe[0])}))})),Zone.__load_patch("timers",(J=>{const K="clear";pn(J,"set",K,"Timeout"),pn(J,"set",K,"Interval"),pn(J,"set",K,"Immediate")})),Zone.__load_patch("requestAnimationFrame",(J=>{pn(J,"request","cancel","AnimationFrame"),pn(J,"mozRequest","mozCancel","AnimationFrame"),pn(J,"webkitRequest","webkitCancel","AnimationFrame")})),Zone.__load_patch("blocking",((J,he)=>{const K=["alert","prompt","confirm"];for(let H=0;H<K.length;H++)ke(J,K[H],((oe,de,me)=>function(Ae,rt){return he.current.run(oe,J,rt,me)}))})),Zone.__load_patch("EventTarget",((J,he,K)=>{(function or(J,he){he.patchEventPrototype(J,he)})(J,K),function jn(J,he){if(Zone[he.symbol("patchEventTarget")])return;const{eventNames:K,zoneSymbolEventNames:H,TRUE_STR:L,FALSE_STR:oe,ZONE_SYMBOL_PREFIX:de}=he.getGlobalObjects();for(let Ae=0;Ae<K.length;Ae++){const rt=K[Ae],Tt=de+(rt+oe),gt=de+(rt+L);H[rt]={},H[rt][oe]=Tt,H[rt][L]=gt}const me=J.EventTarget;me&&me.prototype&&he.patchEventTarget(J,he,[me&&me.prototype])}(J,K);const H=J.XMLHttpRequestEventTarget;H&&H.prototype&&K.patchEventTarget(J,K,[H.prototype])})),Zone.__load_patch("MutationObserver",((J,he,K)=>{Rt("MutationObserver"),Rt("WebKitMutationObserver")})),Zone.__load_patch("IntersectionObserver",((J,he,K)=>{Rt("IntersectionObserver")})),Zone.__load_patch("FileReader",((J,he,K)=>{Rt("FileReader")})),Zone.__load_patch("on_property",((J,he,K)=>{!function In(J,he){if($e&&!Ge||Zone[J.symbol("patchEvents")])return;const K=he.__Zone_ignore_on_properties;let H=[];if(Ee){const L=window;H=H.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const oe=function Me(){try{const J=Z.navigator.userAgent;if(-1!==J.indexOf("MSIE ")||-1!==J.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:L,ignoreProperties:["error"]}]:[];qt(L,$n(L),K&&K.concat(oe),f(L))}H=H.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let L=0;L<H.length;L++){const oe=he[H[L]];oe&&oe.prototype&&qt(oe.prototype,$n(oe.prototype),K)}}(K,J)})),Zone.__load_patch("customElements",((J,he,K)=>{!function Gr(J,he){const{isBrowser:K,isMix:H}=he.getGlobalObjects();(K||H)&&J.customElements&&"customElements"in J&&he.patchCallbacks(he,J.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(J,K)})),Zone.__load_patch("XHR",((J,he)=>{!function Ae(rt){const Fe=rt.XMLHttpRequest;if(!Fe)return;const it=Fe.prototype;let gt=it[C],St=it[M];if(!gt){const Je=rt.XMLHttpRequestEventTarget;if(Je){const At=Je.prototype;gt=At[C],St=At[M]}}const Ze="readystatechange",Ut="scheduled";function Be(Je){const At=Je.data,lt=At.target;lt[oe]=!1,lt[me]=!1;const gn=lt[L];gt||(gt=lt[C],St=lt[M]),gn&&St.call(lt,Ze,gn);const ue=lt[L]=()=>{if(lt.readyState===lt.DONE)if(!At.aborted&&lt[oe]&&Je.state===Ut){const G=lt[he.__symbol__("loadfalse")];if(0!==lt.status&&G&&G.length>0){const le=Je.invoke;Je.invoke=function(){const Te=lt[he.__symbol__("loadfalse")];for(let tt=0;tt<Te.length;tt++)Te[tt]===Je&&Te.splice(tt,1);!At.aborted&&Je.state===Ut&&le.call(Je)},G.push(Je)}else Je.invoke()}else!At.aborted&&!1===lt[oe]&&(lt[me]=!0)};return gt.call(lt,Ze,ue),lt[K]||(lt[K]=Je),st.apply(lt,At.args),lt[oe]=!0,Je}function Dt(){}function Re(Je){const At=Je.data;return At.aborted=!0,kt.apply(At.target,At.args)}const cn=ke(it,"open",(()=>function(Je,At){return Je[H]=0==At[2],Je[de]=At[1],cn.apply(Je,At)})),Jt=$("fetchTaskAborting"),ht=$("fetchTaskScheduling"),st=ke(it,"send",(()=>function(Je,At){if(!0===he.current[ht]||Je[H])return st.apply(Je,At);{const lt={target:Je,url:Je[de],isPeriodic:!1,args:At,aborted:!1},gn=F("XMLHttpRequest.send",Dt,lt,Be,Re);Je&&!0===Je[me]&&!lt.aborted&&gn.state===Ut&&gn.invoke()}})),kt=ke(it,"abort",(()=>function(Je,At){const lt=function Tt(Je){return Je[K]}(Je);if(lt&&"string"==typeof lt.type){if(null==lt.cancelFn||lt.data&&lt.data.aborted)return;lt.zone.cancelTask(lt)}else if(!0===he.current[Jt])return kt.apply(Je,At)}))}(J);const K=$("xhrTask"),H=$("xhrSync"),L=$("xhrListener"),oe=$("xhrScheduled"),de=$("xhrURL"),me=$("xhrErrorBeforeScheduled")})),Zone.__load_patch("geolocation",(J=>{J.navigator&&J.navigator.geolocation&&function ot(J,he){const K=J.constructor.name;for(let H=0;H<he.length;H++){const L=he[H],oe=J[L];if(oe){if(!xe(j(J,L)))continue;J[L]=(me=>{const Ae=function(){return me.apply(this,Pe(arguments,K+"."+L))};return ge(Ae,me),Ae})(oe)}}}(J.navigator.geolocation,["getCurrentPosition","watchPosition"])})),Zone.__load_patch("PromiseRejectionEvent",((J,he)=>{function K(H){return function(L){Lt(J,H).forEach((de=>{const me=J.PromiseRejectionEvent;if(me){const Ae=new me(H,{promise:L.promise,reason:L.rejection});de.invoke(Ae)}}))}}J.PromiseRejectionEvent&&(he[$("unhandledPromiseRejectionHandler")]=K("unhandledrejection"),he[$("rejectionHandledHandler")]=K("rejectionhandled"))}))},7340:(j,w,f)=>{"use strict";f.d(w,{IO:()=>ie,LC:()=>p,X$:()=>T,ZE:()=>xe,ZN:()=>ot,_j:()=>h,eR:()=>F,jt:()=>C,k1:()=>Oe,l3:()=>A,oB:()=>P,pV:()=>X,ru:()=>M,vP:()=>x});class h{}class p{}const A="*";function T($e,Ee){return{type:7,name:$e,definitions:Ee,options:{}}}function C($e,Ee=null){return{type:4,styles:Ee,timings:$e}}function M($e,Ee=null){return{type:3,steps:$e,options:Ee}}function x($e,Ee=null){return{type:2,steps:$e,options:Ee}}function P($e){return{type:6,styles:$e,offset:null}}function F($e,Ee,Ge=null){return{type:1,expr:$e,animation:Ee,options:Ge}}function X($e=null){return{type:9,options:$e}}function ie($e,Ee,Ge=null){return{type:11,selector:$e,animation:Ee,options:Ge}}function Pe($e){Promise.resolve(null).then($e)}class ot{constructor(Ee=0,Ge=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=Ee+Ge}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach((Ee=>Ee())),this._onDoneFns=[])}onStart(Ee){this._onStartFns.push(Ee)}onDone(Ee){this._onDoneFns.push(Ee)}onDestroy(Ee){this._onDestroyFns.push(Ee)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Pe((()=>this._onFinish()))}_onStart(){this._onStartFns.forEach((Ee=>Ee())),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach((Ee=>Ee())),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(Ee){this._position=this.totalTime?Ee*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(Ee){const Ge="start"==Ee?this._onStartFns:this._onDoneFns;Ge.forEach((Gt=>Gt())),Ge.length=0}}class xe{constructor(Ee){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=Ee;let Ge=0,Gt=0,Ve=0;const at=this.players.length;0==at?Pe((()=>this._onFinish())):this.players.forEach((Vt=>{Vt.onDone((()=>{++Ge==at&&this._onFinish()})),Vt.onDestroy((()=>{++Gt==at&&this._onDestroy()})),Vt.onStart((()=>{++Ve==at&&this._onStart()}))})),this.totalTime=this.players.reduce(((Vt,Ye)=>Math.max(Vt,Ye.totalTime)),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach((Ee=>Ee())),this._onDoneFns=[])}init(){this.players.forEach((Ee=>Ee.init()))}onStart(Ee){this._onStartFns.push(Ee)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach((Ee=>Ee())),this._onStartFns=[])}onDone(Ee){this._onDoneFns.push(Ee)}onDestroy(Ee){this._onDestroyFns.push(Ee)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach((Ee=>Ee.play()))}pause(){this.players.forEach((Ee=>Ee.pause()))}restart(){this.players.forEach((Ee=>Ee.restart()))}finish(){this._onFinish(),this.players.forEach((Ee=>Ee.finish()))}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach((Ee=>Ee.destroy())),this._onDestroyFns.forEach((Ee=>Ee())),this._onDestroyFns=[])}reset(){this.players.forEach((Ee=>Ee.reset())),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(Ee){const Ge=Ee*this.totalTime;this.players.forEach((Gt=>{const Ve=Gt.totalTime?Math.min(1,Ge/Gt.totalTime):1;Gt.setPosition(Ve)}))}getPosition(){const Ee=this.players.reduce(((Ge,Gt)=>null===Ge||Gt.totalTime>Ge.totalTime?Gt:Ge),null);return null!=Ee?Ee.getPosition():0}beforeDestroy(){this.players.forEach((Ee=>{Ee.beforeDestroy&&Ee.beforeDestroy()}))}triggerCallback(Ee){const Ge="start"==Ee?this._onStartFns:this._onDoneFns;Ge.forEach((Gt=>Gt())),Ge.length=0}}const Oe="!"},6895:(j,w,f)=>{"use strict";f.d(w,{Do:()=>$e,EM:()=>lr,HT:()=>C,JF:()=>di,K0:()=>x,Mx:()=>yt,O5:()=>tr,Ov:()=>xs,S$:()=>Pe,V_:()=>I,Ye:()=>Ee,b0:()=>Oe,bD:()=>Ls,ez:()=>Fs,lw:()=>P,mr:()=>xe,q:()=>A,sg:()=>fr,w_:()=>M});var h=f(6738);let p=null;function A(){return p}function C(_){p||(p=_)}class M{}const x=new h.OlP("DocumentToken");let P=(()=>{class _{historyGo(E){throw new Error("Not implemented")}}return _.ɵfac=function(E){return new(E||_)},_.ɵprov=h.Yz7({token:_,factory:function(){return function B(){return(0,h.LFG)(F)}()},providedIn:"platform"}),_})();const I=new h.OlP("Location Initialized");let F=(()=>{class _ extends P{constructor(E){super(),this._doc=E,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return A().getBaseHref(this._doc)}onPopState(E){const U=A().getGlobalEventTarget(this._doc,"window");return U.addEventListener("popstate",E,!1),()=>U.removeEventListener("popstate",E)}onHashChange(E){const U=A().getGlobalEventTarget(this._doc,"window");return U.addEventListener("hashchange",E,!1),()=>U.removeEventListener("hashchange",E)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(E){this.location.pathname=E}pushState(E,U,se){$()?this._history.pushState(E,U,se):this.location.hash=se}replaceState(E,U,se){$()?this._history.replaceState(E,U,se):this.location.hash=se}forward(){this._history.forward()}back(){this._history.back()}historyGo(E=0){this._history.go(E)}getState(){return this._history.state}}return _.ɵfac=function(E){return new(E||_)(h.LFG(x))},_.ɵprov=h.Yz7({token:_,factory:function(){return function X(){return new F((0,h.LFG)(x))}()},providedIn:"platform"}),_})();function $(){return!!window.history.pushState}function Z(_,O){if(0==_.length)return O;if(0==O.length)return _;let E=0;return _.endsWith("/")&&E++,O.startsWith("/")&&E++,2==E?_+O.substring(1):1==E?_+O:_+"/"+O}function ie(_){const O=_.match(/#|\?|$/),E=O&&O.index||_.length;return _.slice(0,E-("/"===_[E-1]?1:0))+_.slice(E)}function ae(_){return _&&"?"!==_[0]?"?"+_:_}let Pe=(()=>{class _{historyGo(E){throw new Error("Not implemented")}}return _.ɵfac=function(E){return new(E||_)},_.ɵprov=h.Yz7({token:_,factory:function(){return function ot(_){const O=(0,h.LFG)(x).location;return new Oe((0,h.LFG)(P),O&&O.origin||"")}()},providedIn:"root"}),_})();const xe=new h.OlP("appBaseHref");let Oe=(()=>{class _ extends Pe{constructor(E,U){if(super(),this._platformLocation=E,this._removeListenerFns=[],null==U&&(U=this._platformLocation.getBaseHrefFromDOM()),null==U)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=U}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(E){this._removeListenerFns.push(this._platformLocation.onPopState(E),this._platformLocation.onHashChange(E))}getBaseHref(){return this._baseHref}prepareExternalUrl(E){return Z(this._baseHref,E)}path(E=!1){const U=this._platformLocation.pathname+ae(this._platformLocation.search),se=this._platformLocation.hash;return se&&E?`${U}${se}`:U}pushState(E,U,se,De){const Le=this.prepareExternalUrl(se+ae(De));this._platformLocation.pushState(E,U,Le)}replaceState(E,U,se,De){const Le=this.prepareExternalUrl(se+ae(De));this._platformLocation.replaceState(E,U,Le)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(E=0){this._platformLocation.historyGo?.(E)}}return _.ɵfac=function(E){return new(E||_)(h.LFG(P),h.LFG(xe,8))},_.ɵprov=h.Yz7({token:_,factory:_.ɵfac}),_})(),$e=(()=>{class _ extends Pe{constructor(E,U){super(),this._platformLocation=E,this._baseHref="",this._removeListenerFns=[],null!=U&&(this._baseHref=U)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(E){this._removeListenerFns.push(this._platformLocation.onPopState(E),this._platformLocation.onHashChange(E))}getBaseHref(){return this._baseHref}path(E=!1){let U=this._platformLocation.hash;return null==U&&(U="#"),U.length>0?U.substring(1):U}prepareExternalUrl(E){const U=Z(this._baseHref,E);return U.length>0?"#"+U:U}pushState(E,U,se,De){let Le=this.prepareExternalUrl(se+ae(De));0==Le.length&&(Le=this._platformLocation.pathname),this._platformLocation.pushState(E,U,Le)}replaceState(E,U,se,De){let Le=this.prepareExternalUrl(se+ae(De));0==Le.length&&(Le=this._platformLocation.pathname),this._platformLocation.replaceState(E,U,Le)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(E=0){this._platformLocation.historyGo?.(E)}}return _.ɵfac=function(E){return new(E||_)(h.LFG(P),h.LFG(xe,8))},_.ɵprov=h.Yz7({token:_,factory:_.ɵfac}),_})(),Ee=(()=>{class _{constructor(E,U){this._subject=new h.vpe,this._urlChangeListeners=[],this._platformStrategy=E;const se=this._platformStrategy.getBaseHref();this._platformLocation=U,this._baseHref=ie(Ve(se)),this._platformStrategy.onPopState((De=>{this._subject.emit({url:this.path(!0),pop:!0,state:De.state,type:De.type})}))}path(E=!1){return this.normalize(this._platformStrategy.path(E))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(E,U=""){return this.path()==this.normalize(E+ae(U))}normalize(E){return _.stripTrailingSlash(function Gt(_,O){return _&&O.startsWith(_)?O.substring(_.length):O}(this._baseHref,Ve(E)))}prepareExternalUrl(E){return E&&"/"!==E[0]&&(E="/"+E),this._platformStrategy.prepareExternalUrl(E)}go(E,U="",se=null){this._platformStrategy.pushState(se,"",E,U),this._notifyUrlChangeListeners(this.prepareExternalUrl(E+ae(U)),se)}replaceState(E,U="",se=null){this._platformStrategy.replaceState(se,"",E,U),this._notifyUrlChangeListeners(this.prepareExternalUrl(E+ae(U)),se)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(E=0){this._platformStrategy.historyGo?.(E)}onUrlChange(E){this._urlChangeListeners.push(E),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe((U=>{this._notifyUrlChangeListeners(U.url,U.state)})))}_notifyUrlChangeListeners(E="",U){this._urlChangeListeners.forEach((se=>se(E,U)))}subscribe(E,U,se){return this._subject.subscribe({next:E,error:U,complete:se})}}return _.normalizeQueryParams=ae,_.joinWithSlash=Z,_.stripTrailingSlash=ie,_.ɵfac=function(E){return new(E||_)(h.LFG(Pe),h.LFG(P))},_.ɵprov=h.Yz7({token:_,factory:function(){return function Ge(){return new Ee((0,h.LFG)(Pe),(0,h.LFG)(P))}()},providedIn:"root"}),_})();function Ve(_){return _.replace(/\/index.html$/,"")}function yt(_,O){O=encodeURIComponent(O);for(const E of _.split(";")){const U=E.indexOf("="),[se,De]=-1==U?[E,""]:[E.slice(0,U),E.slice(U+1)];if(se.trim()===O)return decodeURIComponent(De)}return null}class Lr{constructor(O,E,U,se){this.$implicit=O,this.ngForOf=E,this.index=U,this.count=se}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let fr=(()=>{class _{constructor(E,U,se){this._viewContainer=E,this._template=U,this._differs=se,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(E){this._ngForOf=E,this._ngForOfDirty=!0}set ngForTrackBy(E){this._trackByFn=E}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(E){E&&(this._template=E)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const E=this._ngForOf;!this._differ&&E&&(this._differ=this._differs.find(E).create(this.ngForTrackBy))}if(this._differ){const E=this._differ.diff(this._ngForOf);E&&this._applyChanges(E)}}_applyChanges(E){const U=this._viewContainer;E.forEachOperation(((se,De,Le)=>{if(null==se.previousIndex)U.createEmbeddedView(this._template,new Lr(se.item,this._ngForOf,-1,-1),null===Le?void 0:Le);else if(null==Le)U.remove(null===De?void 0:De);else if(null!==De){const We=U.get(De);U.move(We,Le),Pn(We,se)}}));for(let se=0,De=U.length;se<De;se++){const We=U.get(se).context;We.index=se,We.count=De,We.ngForOf=this._ngForOf}E.forEachIdentityChange((se=>{Pn(U.get(se.currentIndex),se)}))}static ngTemplateContextGuard(E,U){return!0}}return _.ɵfac=function(E){return new(E||_)(h.Y36(h.s_b),h.Y36(h.Rgc),h.Y36(h.ZZ4))},_.ɵdir=h.lG2({type:_,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),_})();function Pn(_,O){_.context.$implicit=O.item}let tr=(()=>{class _{constructor(E,U){this._viewContainer=E,this._context=new Bn,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=U}set ngIf(E){this._context.$implicit=this._context.ngIf=E,this._updateView()}set ngIfThen(E){tn("ngIfThen",E),this._thenTemplateRef=E,this._thenViewRef=null,this._updateView()}set ngIfElse(E){tn("ngIfElse",E),this._elseTemplateRef=E,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(E,U){return!0}}return _.ɵfac=function(E){return new(E||_)(h.Y36(h.s_b),h.Y36(h.Rgc))},_.ɵdir=h.lG2({type:_,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),_})();class Bn{constructor(){this.$implicit=null,this.ngIf=null}}function tn(_,O){if(O&&!O.createEmbeddedView)throw new Error(`${_} must be a TemplateRef, but received '${(0,h.AaK)(O)}'.`)}class Ir{createSubscription(O,E){return O.subscribe({next:E,error:U=>{throw U}})}dispose(O){O.unsubscribe()}onDestroy(O){O.unsubscribe()}}class Pr{createSubscription(O,E){return O.then(E,(U=>{throw U}))}dispose(O){}onDestroy(O){}}const Wr=new Pr,Ln=new Ir;let xs=(()=>{class _{constructor(E){this._ref=E,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(E){return this._obj?E!==this._obj?(this._dispose(),this.transform(E)):this._latestValue:(E&&this._subscribe(E),this._latestValue)}_subscribe(E){this._obj=E,this._strategy=this._selectStrategy(E),this._subscription=this._strategy.createSubscription(E,(U=>this._updateLatestValue(E,U)))}_selectStrategy(E){if((0,h.QGY)(E))return Wr;if((0,h.F4k)(E))return Ln;throw function Cn(_,O){return new h.vHH(2100,"")}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(E,U){E===this._obj&&(this._latestValue=U,this._ref.markForCheck())}}return _.ɵfac=function(E){return new(E||_)(h.Y36(h.sBO,16))},_.ɵpipe=h.Yjl({name:"async",type:_,pure:!1}),_})(),Fs=(()=>{class _{}return _.ɵfac=function(E){return new(E||_)},_.ɵmod=h.oAB({type:_}),_.ɵinj=h.cJS({}),_})();const Ls="browser";let lr=(()=>{class _{}return _.ɵprov=(0,h.Yz7)({token:_,providedIn:"root",factory:()=>new ns((0,h.LFG)(x),window)}),_})();class ns{constructor(O,E){this.document=O,this.window=E,this.offset=()=>[0,0]}setOffset(O){this.offset=Array.isArray(O)?()=>O:O}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(O){this.supportsScrolling()&&this.window.scrollTo(O[0],O[1])}scrollToAnchor(O){if(!this.supportsScrolling())return;const E=function cr(_,O){const E=_.getElementById(O)||_.getElementsByName(O)[0];if(E)return E;if("function"==typeof _.createTreeWalker&&_.body&&(_.body.createShadowRoot||_.body.attachShadow)){const U=_.createTreeWalker(_.body,NodeFilter.SHOW_ELEMENT);let se=U.currentNode;for(;se;){const De=se.shadowRoot;if(De){const Le=De.getElementById(O)||De.querySelector(`[name="${O}"]`);if(Le)return Le}se=U.nextNode()}}return null}(this.document,O);E&&(this.scrollToElement(E),E.focus())}setHistoryScrollRestoration(O){if(this.supportScrollRestoration()){const E=this.window.history;E&&E.scrollRestoration&&(E.scrollRestoration=O)}}scrollToElement(O){const E=O.getBoundingClientRect(),U=E.left+this.window.pageXOffset,se=E.top+this.window.pageYOffset,De=this.offset();this.window.scrollTo(U-De[0],se-De[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const O=xr(this.window.history)||xr(Object.getPrototypeOf(this.window.history));return!(!O||!O.writable&&!O.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function xr(_){return Object.getOwnPropertyDescriptor(_,"scrollRestoration")}class di{}},529:(j,w,f)=>{"use strict";f.d(w,{JF:()=>or,WM:()=>I,eN:()=>ge});var h=f(6895),p=f(6738),A=f(1086),T=f(2916),C=f(1406),M=f(2198),x=f(4850);class P{}class B{}class I{constructor(H){this.normalizedNames=new Map,this.lazyUpdate=null,H?this.lazyInit="string"==typeof H?()=>{this.headers=new Map,H.split("\n").forEach((L=>{const oe=L.indexOf(":");if(oe>0){const de=L.slice(0,oe),me=de.toLowerCase(),Ae=L.slice(oe+1).trim();this.maybeSetNormalizedName(de,me),this.headers.has(me)?this.headers.get(me).push(Ae):this.headers.set(me,[Ae])}}))}:()=>{this.headers=new Map,Object.keys(H).forEach((L=>{let oe=H[L];const de=L.toLowerCase();"string"==typeof oe&&(oe=[oe]),oe.length>0&&(this.headers.set(de,oe),this.maybeSetNormalizedName(L,de))}))}:this.headers=new Map}has(H){return this.init(),this.headers.has(H.toLowerCase())}get(H){this.init();const L=this.headers.get(H.toLowerCase());return L&&L.length>0?L[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(H){return this.init(),this.headers.get(H.toLowerCase())||null}append(H,L){return this.clone({name:H,value:L,op:"a"})}set(H,L){return this.clone({name:H,value:L,op:"s"})}delete(H,L){return this.clone({name:H,value:L,op:"d"})}maybeSetNormalizedName(H,L){this.normalizedNames.has(L)||this.normalizedNames.set(L,H)}init(){this.lazyInit&&(this.lazyInit instanceof I?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach((H=>this.applyUpdate(H))),this.lazyUpdate=null))}copyFrom(H){H.init(),Array.from(H.headers.keys()).forEach((L=>{this.headers.set(L,H.headers.get(L)),this.normalizedNames.set(L,H.normalizedNames.get(L))}))}clone(H){const L=new I;return L.lazyInit=this.lazyInit&&this.lazyInit instanceof I?this.lazyInit:this,L.lazyUpdate=(this.lazyUpdate||[]).concat([H]),L}applyUpdate(H){const L=H.name.toLowerCase();switch(H.op){case"a":case"s":let oe=H.value;if("string"==typeof oe&&(oe=[oe]),0===oe.length)return;this.maybeSetNormalizedName(H.name,L);const de=("a"===H.op?this.headers.get(L):void 0)||[];de.push(...oe),this.headers.set(L,de);break;case"d":const me=H.value;if(me){let Ae=this.headers.get(L);if(!Ae)return;Ae=Ae.filter((rt=>-1===me.indexOf(rt))),0===Ae.length?(this.headers.delete(L),this.normalizedNames.delete(L)):this.headers.set(L,Ae)}else this.headers.delete(L),this.normalizedNames.delete(L)}}forEach(H){this.init(),Array.from(this.normalizedNames.keys()).forEach((L=>H(this.normalizedNames.get(L),this.headers.get(L))))}}class F{encodeKey(H){return ie(H)}encodeValue(H){return ie(H)}decodeKey(H){return decodeURIComponent(H)}decodeValue(H){return decodeURIComponent(H)}}const X=/%(\d[a-f0-9])/gi,Z={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function ie(K){return encodeURIComponent(K).replace(X,((H,L)=>Z[L]??H))}function ae(K){return`${K}`}class Pe{constructor(H={}){if(this.updates=null,this.cloneFrom=null,this.encoder=H.encoder||new F,H.fromString){if(H.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function $(K,H){const L=new Map;return K.length>0&&K.replace(/^\?/,"").split("&").forEach((de=>{const me=de.indexOf("="),[Ae,rt]=-1==me?[H.decodeKey(de),""]:[H.decodeKey(de.slice(0,me)),H.decodeValue(de.slice(me+1))],Fe=L.get(Ae)||[];Fe.push(rt),L.set(Ae,Fe)})),L}(H.fromString,this.encoder)}else H.fromObject?(this.map=new Map,Object.keys(H.fromObject).forEach((L=>{const oe=H.fromObject[L];this.map.set(L,Array.isArray(oe)?oe:[oe])}))):this.map=null}has(H){return this.init(),this.map.has(H)}get(H){this.init();const L=this.map.get(H);return L?L[0]:null}getAll(H){return this.init(),this.map.get(H)||null}keys(){return this.init(),Array.from(this.map.keys())}append(H,L){return this.clone({param:H,value:L,op:"a"})}appendAll(H){const L=[];return Object.keys(H).forEach((oe=>{const de=H[oe];Array.isArray(de)?de.forEach((me=>{L.push({param:oe,value:me,op:"a"})})):L.push({param:oe,value:de,op:"a"})})),this.clone(L)}set(H,L){return this.clone({param:H,value:L,op:"s"})}delete(H,L){return this.clone({param:H,value:L,op:"d"})}toString(){return this.init(),this.keys().map((H=>{const L=this.encoder.encodeKey(H);return this.map.get(H).map((oe=>L+"="+this.encoder.encodeValue(oe))).join("&")})).filter((H=>""!==H)).join("&")}clone(H){const L=new Pe({encoder:this.encoder});return L.cloneFrom=this.cloneFrom||this,L.updates=(this.updates||[]).concat(H),L}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach((H=>this.map.set(H,this.cloneFrom.map.get(H)))),this.updates.forEach((H=>{switch(H.op){case"a":case"s":const L=("a"===H.op?this.map.get(H.param):void 0)||[];L.push(ae(H.value)),this.map.set(H.param,L);break;case"d":if(void 0===H.value){this.map.delete(H.param);break}{let oe=this.map.get(H.param)||[];const de=oe.indexOf(ae(H.value));-1!==de&&oe.splice(de,1),oe.length>0?this.map.set(H.param,oe):this.map.delete(H.param)}}})),this.cloneFrom=this.updates=null)}}class xe{constructor(){this.map=new Map}set(H,L){return this.map.set(H,L),this}get(H){return this.map.has(H)||this.map.set(H,H.defaultValue()),this.map.get(H)}delete(H){return this.map.delete(H),this}has(H){return this.map.has(H)}keys(){return this.map.keys()}}function $e(K){return typeof ArrayBuffer<"u"&&K instanceof ArrayBuffer}function Ee(K){return typeof Blob<"u"&&K instanceof Blob}function Ge(K){return typeof FormData<"u"&&K instanceof FormData}class Ve{constructor(H,L,oe,de){let me;if(this.url=L,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=H.toUpperCase(),function Oe(K){switch(K){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||de?(this.body=void 0!==oe?oe:null,me=de):me=oe,me&&(this.reportProgress=!!me.reportProgress,this.withCredentials=!!me.withCredentials,me.responseType&&(this.responseType=me.responseType),me.headers&&(this.headers=me.headers),me.context&&(this.context=me.context),me.params&&(this.params=me.params)),this.headers||(this.headers=new I),this.context||(this.context=new xe),this.params){const Ae=this.params.toString();if(0===Ae.length)this.urlWithParams=L;else{const rt=L.indexOf("?");this.urlWithParams=L+(-1===rt?"?":rt<L.length-1?"&":"")+Ae}}else this.params=new Pe,this.urlWithParams=L}serializeBody(){return null===this.body?null:$e(this.body)||Ee(this.body)||Ge(this.body)||function Gt(K){return typeof URLSearchParams<"u"&&K instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof Pe?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||Ge(this.body)?null:Ee(this.body)?this.body.type||null:$e(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Pe?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(H={}){const L=H.method||this.method,oe=H.url||this.url,de=H.responseType||this.responseType,me=void 0!==H.body?H.body:this.body,Ae=void 0!==H.withCredentials?H.withCredentials:this.withCredentials,rt=void 0!==H.reportProgress?H.reportProgress:this.reportProgress;let Fe=H.headers||this.headers,it=H.params||this.params;const Tt=H.context??this.context;return void 0!==H.setHeaders&&(Fe=Object.keys(H.setHeaders).reduce(((gt,St)=>gt.set(St,H.setHeaders[St])),Fe)),H.setParams&&(it=Object.keys(H.setParams).reduce(((gt,St)=>gt.set(St,H.setParams[St])),it)),new Ve(L,oe,me,{params:it,headers:Fe,context:Tt,reportProgress:rt,responseType:de,withCredentials:Ae})}}var at=(()=>((at=at||{})[at.Sent=0]="Sent",at[at.UploadProgress=1]="UploadProgress",at[at.ResponseHeader=2]="ResponseHeader",at[at.DownloadProgress=3]="DownloadProgress",at[at.Response=4]="Response",at[at.User=5]="User",at))();class Vt{constructor(H,L=200,oe="OK"){this.headers=H.headers||new I,this.status=void 0!==H.status?H.status:L,this.statusText=H.statusText||oe,this.url=H.url||null,this.ok=this.status>=200&&this.status<300}}class Ye extends Vt{constructor(H={}){super(H),this.type=at.ResponseHeader}clone(H={}){return new Ye({headers:H.headers||this.headers,status:void 0!==H.status?H.status:this.status,statusText:H.statusText||this.statusText,url:H.url||this.url||void 0})}}class Rt extends Vt{constructor(H={}){super(H),this.type=at.Response,this.body=void 0!==H.body?H.body:null}clone(H={}){return new Rt({body:void 0!==H.body?H.body:this.body,headers:H.headers||this.headers,status:void 0!==H.status?H.status:this.status,statusText:H.statusText||this.statusText,url:H.url||this.url||void 0})}}class ke extends Vt{constructor(H){super(H,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${H.url||"(unknown url)"}`:`Http failure response for ${H.url||"(unknown url)"}: ${H.status} ${H.statusText}`,this.error=H.error||null}}function ce(K,H){return{body:H,headers:K.headers,context:K.context,observe:K.observe,params:K.params,reportProgress:K.reportProgress,responseType:K.responseType,withCredentials:K.withCredentials}}let ge=(()=>{class K{constructor(L){this.handler=L}request(L,oe,de={}){let me;if(L instanceof Ve)me=L;else{let Fe,it;Fe=de.headers instanceof I?de.headers:new I(de.headers),de.params&&(it=de.params instanceof Pe?de.params:new Pe({fromObject:de.params})),me=new Ve(L,oe,void 0!==de.body?de.body:null,{headers:Fe,context:de.context,params:it,reportProgress:de.reportProgress,responseType:de.responseType||"json",withCredentials:de.withCredentials})}const Ae=(0,A.of)(me).pipe((0,C.b)((Fe=>this.handler.handle(Fe))));if(L instanceof Ve||"events"===de.observe)return Ae;const rt=Ae.pipe((0,M.h)((Fe=>Fe instanceof Rt)));switch(de.observe||"body"){case"body":switch(me.responseType){case"arraybuffer":return rt.pipe((0,x.U)((Fe=>{if(null!==Fe.body&&!(Fe.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Fe.body})));case"blob":return rt.pipe((0,x.U)((Fe=>{if(null!==Fe.body&&!(Fe.body instanceof Blob))throw new Error("Response is not a Blob.");return Fe.body})));case"text":return rt.pipe((0,x.U)((Fe=>{if(null!==Fe.body&&"string"!=typeof Fe.body)throw new Error("Response is not a string.");return Fe.body})));default:return rt.pipe((0,x.U)((Fe=>Fe.body)))}case"response":return rt;default:throw new Error(`Unreachable: unhandled observe type ${de.observe}}`)}}delete(L,oe={}){return this.request("DELETE",L,oe)}get(L,oe={}){return this.request("GET",L,oe)}head(L,oe={}){return this.request("HEAD",L,oe)}jsonp(L,oe){return this.request("JSONP",L,{params:(new Pe).append(oe,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(L,oe={}){return this.request("OPTIONS",L,oe)}patch(L,oe,de={}){return this.request("PATCH",L,ce(de,oe))}post(L,oe,de={}){return this.request("POST",L,ce(de,oe))}put(L,oe,de={}){return this.request("PUT",L,ce(de,oe))}}return K.ɵfac=function(L){return new(L||K)(p.LFG(P))},K.ɵprov=p.Yz7({token:K,factory:K.ɵfac}),K})();class Ce{constructor(H,L){this.next=H,this.interceptor=L}handle(H){return this.interceptor.intercept(H,this.next)}}const ee=new p.OlP("HTTP_INTERCEPTORS");let Me=(()=>{class K{intercept(L,oe){return oe.handle(L)}}return K.ɵfac=function(L){return new(L||K)},K.ɵprov=p.Yz7({token:K,factory:K.ɵfac}),K})();const Ft=/^\)\]\}',?\n/;let ir=(()=>{class K{constructor(L){this.xhrFactory=L}handle(L){if("JSONP"===L.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new T.y((oe=>{const de=this.xhrFactory.build();if(de.open(L.method,L.urlWithParams),L.withCredentials&&(de.withCredentials=!0),L.headers.forEach(((Ze,Ut)=>de.setRequestHeader(Ze,Ut.join(",")))),L.headers.has("Accept")||de.setRequestHeader("Accept","application/json, text/plain, */*"),!L.headers.has("Content-Type")){const Ze=L.detectContentTypeHeader();null!==Ze&&de.setRequestHeader("Content-Type",Ze)}if(L.responseType){const Ze=L.responseType.toLowerCase();de.responseType="json"!==Ze?Ze:"text"}const me=L.serializeBody();let Ae=null;const rt=()=>{if(null!==Ae)return Ae;const Ze=de.statusText||"OK",Ut=new I(de.getAllResponseHeaders()),Be=function Lt(K){return"responseURL"in K&&K.responseURL?K.responseURL:/^X-Request-URL:/m.test(K.getAllResponseHeaders())?K.getResponseHeader("X-Request-URL"):null}(de)||L.url;return Ae=new Ye({headers:Ut,status:de.status,statusText:Ze,url:Be}),Ae},Fe=()=>{let{headers:Ze,status:Ut,statusText:Be,url:Dt}=rt(),Re=null;204!==Ut&&(Re=typeof de.response>"u"?de.responseText:de.response),0===Ut&&(Ut=Re?200:0);let cn=Ut>=200&&Ut<300;if("json"===L.responseType&&"string"==typeof Re){const Yt=Re;Re=Re.replace(Ft,"");try{Re=""!==Re?JSON.parse(Re):null}catch(Jt){Re=Yt,cn&&(cn=!1,Re={error:Jt,text:Re})}}cn?(oe.next(new Rt({body:Re,headers:Ze,status:Ut,statusText:Be,url:Dt||void 0})),oe.complete()):oe.error(new ke({error:Re,headers:Ze,status:Ut,statusText:Be,url:Dt||void 0}))},it=Ze=>{const{url:Ut}=rt(),Be=new ke({error:Ze,status:de.status||0,statusText:de.statusText||"Unknown Error",url:Ut||void 0});oe.error(Be)};let Tt=!1;const gt=Ze=>{Tt||(oe.next(rt()),Tt=!0);let Ut={type:at.DownloadProgress,loaded:Ze.loaded};Ze.lengthComputable&&(Ut.total=Ze.total),"text"===L.responseType&&!!de.responseText&&(Ut.partialText=de.responseText),oe.next(Ut)},St=Ze=>{let Ut={type:at.UploadProgress,loaded:Ze.loaded};Ze.lengthComputable&&(Ut.total=Ze.total),oe.next(Ut)};return de.addEventListener("load",Fe),de.addEventListener("error",it),de.addEventListener("timeout",it),de.addEventListener("abort",it),L.reportProgress&&(de.addEventListener("progress",gt),null!==me&&de.upload&&de.upload.addEventListener("progress",St)),de.send(me),oe.next({type:at.Sent}),()=>{de.removeEventListener("error",it),de.removeEventListener("abort",it),de.removeEventListener("load",Fe),de.removeEventListener("timeout",it),L.reportProgress&&(de.removeEventListener("progress",gt),null!==me&&de.upload&&de.upload.removeEventListener("progress",St)),de.readyState!==de.DONE&&de.abort()}}))}}return K.ɵfac=function(L){return new(L||K)(p.LFG(h.JF))},K.ɵprov=p.Yz7({token:K,factory:K.ɵfac}),K})();const Dr=new p.OlP("XSRF_COOKIE_NAME"),Vn=new p.OlP("XSRF_HEADER_NAME");class qt{}let $n=(()=>{class K{constructor(L,oe,de){this.doc=L,this.platform=oe,this.cookieName=de,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const L=this.doc.cookie||"";return L!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,h.Mx)(L,this.cookieName),this.lastCookieString=L),this.lastToken}}return K.ɵfac=function(L){return new(L||K)(p.LFG(h.K0),p.LFG(p.Lbi),p.LFG(Dr))},K.ɵprov=p.Yz7({token:K,factory:K.ɵfac}),K})(),In=(()=>{class K{constructor(L,oe){this.tokenService=L,this.headerName=oe}intercept(L,oe){const de=L.url.toLowerCase();if("GET"===L.method||"HEAD"===L.method||de.startsWith("http://")||de.startsWith("https://"))return oe.handle(L);const me=this.tokenService.getToken();return null!==me&&!L.headers.has(this.headerName)&&(L=L.clone({headers:L.headers.set(this.headerName,me)})),oe.handle(L)}}return K.ɵfac=function(L){return new(L||K)(p.LFG(qt),p.LFG(Vn))},K.ɵprov=p.Yz7({token:K,factory:K.ɵfac}),K})(),hn=(()=>{class K{constructor(L,oe){this.backend=L,this.injector=oe,this.chain=null}handle(L){if(null===this.chain){const oe=this.injector.get(ee,[]);this.chain=oe.reduceRight(((de,me)=>new Ce(de,me)),this.backend)}return this.chain.handle(L)}}return K.ɵfac=function(L){return new(L||K)(p.LFG(B),p.LFG(p.zs3))},K.ɵprov=p.Yz7({token:K,factory:K.ɵfac}),K})(),jn=(()=>{class K{static disable(){return{ngModule:K,providers:[{provide:In,useClass:Me}]}}static withOptions(L={}){return{ngModule:K,providers:[L.cookieName?{provide:Dr,useValue:L.cookieName}:[],L.headerName?{provide:Vn,useValue:L.headerName}:[]]}}}return K.ɵfac=function(L){return new(L||K)},K.ɵmod=p.oAB({type:K}),K.ɵinj=p.cJS({providers:[In,{provide:ee,useExisting:In,multi:!0},{provide:qt,useClass:$n},{provide:Dr,useValue:"XSRF-TOKEN"},{provide:Vn,useValue:"X-XSRF-TOKEN"}]}),K})(),or=(()=>{class K{}return K.ɵfac=function(L){return new(L||K)},K.ɵmod=p.oAB({type:K}),K.ɵinj=p.cJS({providers:[ge,{provide:P,useClass:hn},ir,{provide:B,useExisting:ir}],imports:[[jn.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),K})()},6738:(j,w,f)=>{"use strict";f.d(w,{deG:()=>Sg,tb:()=>sg,AFp:()=>tg,ip1:()=>eg,CZH:()=>Vl,hGG:()=>G0,z2F:()=>Ql,sBO:()=>M0,Sil:()=>a0,_Vd:()=>ka,EJc:()=>s0,SBq:()=>Qo,qLn:()=>ga,vpe:()=>Ps,tBr:()=>aa,XFs:()=>L,OlP:()=>Un,zs3:()=>Ss,ZZ4:()=>nc,aQg:()=>rc,soG:()=>Gl,YKP:()=>pp,h0i:()=>ao,PXZ:()=>E0,R0b:()=>ds,FiY:()=>Po,Lbi:()=>t0,g9A:()=>rg,Qsj:()=>qE,FYo:()=>cp,JOm:()=>bs,q3G:()=>Qn,tp0:()=>xo,Rgc:()=>ea,dDg:()=>ag,GfV:()=>dp,s_b:()=>Ua,ifc:()=>St,eFA:()=>cg,G48:()=>A0,Gpc:()=>xe,_c5:()=>$0,VLi:()=>y0,c2e:()=>n0,zSh:()=>Qu,wAp:()=>Ot,vHH:()=>Ge,EiD:()=>ld,mCW:()=>Lo,qzn:()=>Bi,JVY:()=>xm,pB0:()=>Fm,eBb:()=>Nm,L6k:()=>Rm,LAX:()=>Om,cg1:()=>_l,kL8:()=>Oh,yhl:()=>td,dqk:()=>Re,sIi:()=>Vo,CqO:()=>Uf,QGY:()=>fl,F4k:()=>Bf,RDi:()=>se,AaK:()=>ae,z3N:()=>zs,qOj:()=>tl,TTD:()=>gs,_Bn:()=>ap,xp6:()=>vd,uIk:()=>sl,Tol:()=>uh,ekj:()=>gl,Suo:()=>Np,Xpm:()=>Q,lG2:()=>ve,Yz7:()=>qt,cJS:()=>In,oAB:()=>Xe,Yjl:()=>ut,Y36:()=>Go,_UZ:()=>dl,BQk:()=>Ma,ynx:()=>Aa,qZA:()=>Sa,TgZ:()=>Ta,EpF:()=>jf,n5z:()=>yn,LFG:()=>pr,$8M:()=>$s,$Z:()=>Lf,NdJ:()=>hl,CRH:()=>Op,kcU:()=>xt,O4$:()=>pt,oxw:()=>Gf,ALo:()=>wp,lcZ:()=>Tp,Q6J:()=>ll,MGl:()=>Ia,VKq:()=>vp,iGM:()=>xp,CHM:()=>ys,oJD:()=>cd,LSH:()=>Tu,YNc:()=>Tf,_uU:()=>gh,Oqu:()=>yl,hij:()=>xa,AsE:()=>vl,Gf:()=>Rp});var h=f(2916),p=f(2866),A=f(9146),T=f(3009),M=f(5529),x=f(2654),P=f(1762);class I{constructor(t,n){this.subjectFactory=t,this.selector=n}call(t,n){const{selector:r}=this,s=this.subjectFactory(),i=r(s).subscribe(t);return i.add(n.subscribe(s)),i}}var F=f(4327);function $(){return new M.xQ}function Z(e){for(let t in e)if(e[t]===Z)return t;throw Error("Could not find renamed property on target object.")}function ie(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ae(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ae).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 Pe(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const ot=Z({__forward_ref__:Z});function xe(e){return e.__forward_ref__=xe,e.toString=function(){return ae(this())},e}function Oe(e){return $e(e)?e():e}function $e(e){return"function"==typeof e&&e.hasOwnProperty(ot)&&e.__forward_ref__===xe}class Ge extends Error{constructor(t,n){super(function Gt(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function Ve(e){return"string"==typeof e?e:null==e?"":String(e)}function at(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Ve(e)}function ke(e,t){const n=t?` in ${t}`:"";throw new Ge(-201,`No provider for ${at(e)} found${n}`)}function Ft(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 qt(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function In(e){return{providers:e.providers||[],imports:e.imports||[]}}function hn(e){return pn(e,J)||pn(e,K)}function pn(e,t){return e.hasOwnProperty(t)?e[t]:null}function or(e){return e&&(e.hasOwnProperty(he)||e.hasOwnProperty(H))?e[he]:null}const J=Z({"ɵprov":Z}),he=Z({"ɵinj":Z}),K=Z({ngInjectableDef:Z}),H=Z({ngInjectorDef:Z});var L=(()=>((L=L||{})[L.Default=0]="Default",L[L.Host=1]="Host",L[L.Self=2]="Self",L[L.SkipSelf=4]="SkipSelf",L[L.Optional=8]="Optional",L))();let oe;function me(e){const t=oe;return oe=e,t}function Ae(e,t,n){const r=hn(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&L.Optional?null:void 0!==t?t:void ke(ae(e),"Injector")}function Fe(e){return{toString:e}.toString()}var it=(()=>((it=it||{})[it.OnPush=0]="OnPush",it[it.Default=1]="Default",it))(),St=(()=>{return(e=St||(St={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",St;var e})();const Ze=typeof globalThis<"u"&&globalThis,Ut=typeof window<"u"&&window,Be=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,Re=Ze||typeof global<"u"&&global||Ut||Be,Jt={},ht=[],st=Z({"ɵcmp":Z}),kt=Z({"ɵdir":Z}),Je=Z({"ɵpipe":Z}),At=Z({"ɵmod":Z}),lt=Z({"ɵfac":Z}),gn=Z({__NG_ELEMENT_ID__:Z});let ue=0;function Q(e){return Fe((()=>{const n={},r={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:n,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===it.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||ht,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||St.Emulated,id:"c",styles:e.styles||ht,_:null,setInput:null,schemas:e.schemas||null,tView:null},s=e.directives,i=e.features,o=e.pipes;return r.id+=ue++,r.inputs=te(e.inputs,n),r.outputs=te(e.outputs),i&&i.forEach((d=>d(r))),r.directiveDefs=s?()=>("function"==typeof s?s():s).map(le):null,r.pipeDefs=o?()=>("function"==typeof o?o():o).map(Te):null,r}))}function le(e){return ct(e)||function Kt(e){return e[kt]||null}(e)}function Te(e){return function be(e){return e[Je]||null}(e)}const tt={};function Xe(e){return Fe((()=>{const t={type:e.type,bootstrap:e.bootstrap||ht,declarations:e.declarations||ht,imports:e.imports||ht,exports:e.exports||ht,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(tt[e.id]=e.type),t}))}function te(e,t){if(null==e)return Jt;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 ve=Q;function ut(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function ct(e){return e[st]||null}function Ue(e,t){const n=e[At]||null;if(!n&&!0===t)throw new Error(`Type ${ae(e)} does not have 'ɵmod' property.`);return n}function gr(e){return Array.isArray(e)&&"object"==typeof e[1]}function Cn(e){return Array.isArray(e)&&!0===e[1]}function Ir(e){return 0!=(8&e.flags)}function Pr(e){return 2==(2&e.flags)}function Wr(e){return 1==(1&e.flags)}function Ln(e){return null!==e.template}function xs(e){return 0!=(512&e[2])}function Cr(e,t){return e.hasOwnProperty(lt)?e[lt]:null}class li{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function gs(){return ei}function ei(e){return e.type.prototype.ngOnChanges&&(e.setInput=Ai),ci}function ci(){const e=ts(this),t=e?.current;if(t){const n=e.previous;if(n===Jt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Ai(e,t,n,r){const s=ts(e)||function lr(e,t){return e[ur]=t}(e,{previous:Jt,current:null}),i=s.current||(s.current={}),o=s.previous,d=this.declaredInputs[n],m=o[d];i[d]=new li(m&&m.currentValue,t,o===Jt),e[r]=t}gs.ngInherit=!0;const ur="__ngSimpleChanges__";function ts(e){return e[ur]||null}const _="math";let U;function se(e){U=e}function De(){return void 0!==U?U:typeof document<"u"?document:void 0}function We(e){return!!e.listen}const fn={createRenderer:(e,t)=>De()};function jt(e){for(;Array.isArray(e);)e=e[0];return e}function sn(e,t){return jt(t[e])}function un(e,t){return jt(t[e.index])}function Jn(e,t){return e.data[t]}function xn(e,t){const n=t[e];return gr(n)?n:n[0]}function ks(e){return 4==(4&e[2])}function Yr(e){return 128==(128&e[2])}function jr(e,t){return null==t?null:e[t]}function fi(e){e[18]=0}function ss(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 Nt={lFrame:Zn(null),bindingsEnabled:!0};function Ii(){return Nt.bindingsEnabled}function je(){return Nt.lFrame.lView}function en(){return Nt.lFrame.tView}function ys(e){return Nt.lFrame.contextLView=e,e[8]}function Nn(){let e=Pi();for(;null!==e&&64===e.type;)e=e.parent;return e}function Pi(){return Nt.lFrame.currentTNode}function Br(e,t){const n=Nt.lFrame;n.currentTNode=e,n.isParent=t}function S(){return Nt.lFrame.isParent}function a(){Nt.lFrame.isParent=!1}function Y(){const e=Nt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function we(){return Nt.lFrame.bindingIndex++}function Qe(e){const t=Nt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Zt(e,t){const n=Nt.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ht(t)}function Ht(e){Nt.lFrame.currentDirectiveIndex=e}function On(){return Nt.lFrame.currentQueryIndex}function Fn(e){Nt.lFrame.currentQueryIndex=e}function Xn(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Kn(e,t,n){if(n&L.SkipSelf){let s=t,i=e;for(;!(s=s.parent,null!==s||n&L.Host||(s=Xn(i),null===s||(i=i[15],10&s.type))););if(null===s)return!1;t=s,e=i}const r=Nt.lFrame=mr();return r.currentTNode=t,r.lView=e,!0}function Nr(e){const t=mr(),n=e[1];Nt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function mr(){const e=Nt.lFrame,t=null===e?null:e.child;return null===t?Zn(e):t}function Zn(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 Tr(){const e=Nt.lFrame;return Nt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Or=Tr;function yr(){const e=Tr();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 Mn(){return Nt.lFrame.selectedIndex}function Ur(e){Nt.lFrame.selectedIndex=e}function _n(){const e=Nt.lFrame;return Jn(e.tView,e.selectedIndex)}function pt(){Nt.lFrame.currentNamespace="svg"}function xt(){!function nn(){Nt.lFrame.currentNamespace=null}()}function er(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const i=e.data[n].type.prototype,{ngAfterContentInit:o,ngAfterContentChecked:d,ngAfterViewInit:m,ngAfterViewChecked:b,ngOnDestroy:N}=i;o&&(e.contentHooks||(e.contentHooks=[])).push(-n,o),d&&((e.contentHooks||(e.contentHooks=[])).push(n,d),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,d)),m&&(e.viewHooks||(e.viewHooks=[])).push(-n,m),b&&((e.viewHooks||(e.viewHooks=[])).push(n,b),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,b)),null!=N&&(e.destroyHooks||(e.destroyHooks=[])).push(n,N)}}function Sr(e,t,n){Ri(e,t,3,n)}function En(e,t,n,r){(3&e[2])===n&&Ri(e,t,n,r)}function Bs(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function Ri(e,t,n,r){const i=r??-1,o=t.length-1;let d=0;for(let m=void 0!==r?65535&e[18]:0;m<o;m++)if("number"==typeof t[m+1]){if(d=t[m],null!=r&&d>=r)break}else t[m]<0&&(e[18]+=65536),(d<i||-1==i)&&(nr(e,n,t,m),e[18]=(4294901760&e[18])+m+2),m++}function nr(e,t,n,r){const s=n[r]<0,i=n[r+1],d=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(d)}finally{}}}else try{i.call(d)}finally{}}class vr{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function pi(e,t,n){const r=We(e);let s=0;for(;s<n.length;){const i=n[s];if("number"==typeof i){if(0!==i)break;s++;const o=n[s++],d=n[s++],m=n[s++];r?e.setAttribute(t,d,m,o):t.setAttributeNS(o,d,m)}else{const o=i,d=n[++s];gi(o)?r&&e.setProperty(t,o,d):r?e.setAttribute(t,o,d):t.setAttribute(o,d),s++}}return s}function mo(e){return 3===e||4===e||6===e}function gi(e){return 64===e.charCodeAt(0)}function yo(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||_s(e,n,s,null,-1===n||2===n?t[++r]:null)}}return e}function _s(e,t,n,r,s){let i=0,o=e.length;if(-1===t)o=-1;else for(;i<e.length;){const d=e[i++];if("number"==typeof d){if(d===t){o=-1;break}if(d>t){o=i-1;break}}}for(;i<e.length;){const d=e[i];if("number"==typeof d)break;if(d===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 vo(e){return-1!==e}function ti(e){return 32767&e}function ni(e,t){let n=function Za(e){return e>>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let _o=!0;function Ni(e){const t=_o;return _o=e,t}let Qa=0;function Vs(e,t){const n=bo(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,Do(r.data,e),Do(t,null),Do(r.blueprint,null));const s=mi(e,t),i=e.injectorIndex;if(vo(s)){const o=ti(s),d=ni(s,t),m=d[1].data;for(let b=0;b<8;b++)t[i+b]=d[o+b]|m[o+b]}return t[i+8]=s,i}function Do(e,t){e.push(0,0,0,0,0,0,0,0,t)}function bo(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function mi(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,s=t;for(;null!==s;){const i=s[1],o=i.type;if(r=2===o?i.declTNode:1===o?s[6]:null,null===r)return-1;if(n++,s=s[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function Oi(e,t,n){!function qa(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(gn)&&(r=n[gn]),null==r&&(r=n[gn]=Qa++);const s=255&r;t.data[e+(s>>5)]|=1<<s}(e,t,n)}function g(e,t,n){if(n&L.Optional)return e;ke(t,"NodeInjector")}function l(e,t,n,r){if(n&L.Optional&&void 0===r&&(r=null),0==(n&(L.Self|L.Host))){const s=e[9],i=me(void 0);try{return s?s.get(t,r,n&L.Optional):Ae(t,r,n&L.Optional)}finally{me(i)}}return g(r,t,n)}function u(e,t,n,r=L.Default,s){if(null!==e){const i=function Ie(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(gn)?e[gn]:void 0;return"number"==typeof t?t>=0?255&t:D:t}(n);if("function"==typeof i){if(!Kn(t,e,r))return r&L.Host?g(s,n,r):l(t,n,r,s);try{const o=i(r);if(null!=o||r&L.Optional)return o;ke(n)}finally{Or()}}else if("number"==typeof i){let o=null,d=bo(e,t),m=-1,b=r&L.Host?t[16][6]:null;for((-1===d||r&L.SkipSelf)&&(m=-1===d?mi(e,t):t[d+8],-1!==m&&on(r,!1)?(o=t[1],d=ti(m),t=ni(m,t)):d=-1);-1!==d;){const N=t[1];if(ft(i,d,N.data)){const z=k(d,t,n,o,r,b);if(z!==v)return z}m=t[d+8],-1!==m&&on(r,t[1].data[d+8]===b)&&ft(i,d,t)?(o=N,d=ti(m),t=ni(m,t)):d=-1}}}return l(t,n,r,s)}const v={};function D(){return new _t(Nn(),je())}function k(e,t,n,r,s,i){const o=t[1],d=o.data[e+8],N=W(d,o,n,null==r?Pr(d)&&_o:r!=o&&0!=(3&d.type),s&L.Host&&i===d);return null!==N?re(t,o,N,d):v}function W(e,t,n,r,s){const i=e.providerIndexes,o=t.data,d=1048575&i,m=e.directiveStart,N=i>>20,ne=s?d+N:e.directiveEnd;for(let fe=r?d:d+N;fe<ne;fe++){const Se=o[fe];if(fe<m&&n===Se||fe>=m&&Se.type===n)return fe}if(s){const fe=o[m];if(fe&&Ln(fe)&&fe.type===n)return m}return null}function re(e,t,n,r){let s=e[n];const i=t.data;if(function Zr(e){return e instanceof vr}(s)){const o=s;o.resolving&&function Vt(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new Ge(-200,`Circular dependency in DI detected for ${e}${n}`)}(at(i[n]));const d=Ni(o.canSeeViewProviders);o.resolving=!0;const m=o.injectImpl?me(o.injectImpl):null;Kn(e,r,L.Default);try{s=e[n]=o.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function Fr(e,t,n){const{ngOnChanges:r,ngOnInit:s,ngDoCheck:i}=t.type.prototype;if(r){const o=ei(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!==m&&me(m),Ni(d),o.resolving=!1,Or()}}return s}function ft(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function on(e,t){return!(e&L.Self||e&L.Host&&t)}class _t{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return u(this._tNode,this._lView,t,r,n)}}function yn(e){return Fe((()=>{const t=e.prototype.constructor,n=t[lt]||Dn(t),r=Object.prototype;let s=Object.getPrototypeOf(e.prototype).constructor;for(;s&&s!==r;){const i=s[lt]||Dn(s);if(i&&i!==n)return i;s=Object.getPrototypeOf(s)}return i=>new i}))}function Dn(e){return $e(e)?()=>{const t=Dn(Oe(e));return t&&t()}:Cr(e)}function $s(e){return function gc(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(mo(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 Es="__parameters__";function Fi(e,t,n){return Fe((()=>{const r=function Co(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 d.annotation=o,d;function d(m,b,N){const z=m.hasOwnProperty(Es)?m[Es]:Object.defineProperty(m,Es,{value:[]})[Es];for(;z.length<=N;)z.push(null);return(z[N]=z[N]||[]).push(o),m}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s}))}class Un{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=qt({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}toString(){return`InjectionToken ${this._desc}`}}const Sg=new Un("AnalyzeForEntryComponents");function qr(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)),qr(r,t)):t!==e&&t.push(r)}return t}function Ds(e,t){e.forEach((n=>Array.isArray(n)?Ds(n,t):t(n)))}function mc(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function sa(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Hr(e,t,n){let r=Li(e,t);return r>=0?e[1|r]=n:(r=~r,function Ig(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 Xa(e,t){const n=Li(e,t);if(n>=0)return e[1|n]}function Li(e,t){return function _c(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 Ao={},tu="__NG_DI_FLAG__",oa="ngTempTokenPath",Lg=/\n/gm,Dc="__source",jg=Z({provide:String,useValue:Z});let Mo;function bc(e){const t=Mo;return Mo=e,t}function Bg(e,t=L.Default){if(void 0===Mo)throw new Ge(203,"");return null===Mo?Ae(e,void 0,t):Mo.get(e,t&L.Optional?null:void 0,t)}function pr(e,t=L.Default){return(function de(){return oe}()||Bg)(Oe(e),t)}const Ug=pr;function nu(e){const t=[];for(let n=0;n<e.length;n++){const r=Oe(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Ge(900,"");let s,i=L.Default;for(let o=0;o<r.length;o++){const d=r[o],m=Hg(d);"number"==typeof m?-1===m?s=d.token:i|=m:s=d}t.push(pr(s,i))}else t.push(pr(r))}return t}function Io(e,t){return e[tu]=t,e.prototype[tu]=t,e}function Hg(e){return e[tu]}const aa=Io(Fi("Inject",(e=>({token:e}))),-1),Po=Io(Fi("Optional"),8),xo=Io(Fi("SkipSelf"),4);var bs=(()=>((bs=bs||{})[bs.Important=1]="Important",bs[bs.DashCase=2]="DashCase",bs))();const Pc="__ngContext__";function _r(e,t){e[Pc]=t}function iu(e){const t=function No(e){return e[Pc]||null}(e);return t?Array.isArray(t)?t:t.lView:null}function au(e,t){return undefined(e,t)}function Oo(e){const t=e[3];return Cn(t)?t[3]:t}function uu(e){return kc(e[13])}function lu(e){return kc(e[4])}function kc(e){for(;null!==e&&!Cn(e);)e=e[4];return e}function ji(e,t,n,r,s){if(null!=r){let i,o=!1;Cn(r)?i=r:gr(r)&&(o=!0,r=r[0]);const d=jt(r);0===e&&null!==n?null==s?$c(t,n,d):yi(t,n,d,s||null,!0):1===e&&null!==n?yi(t,n,d,s||null,!0):2===e?function mu(e,t,n){const r=la(e,t);r&&function vm(e,t,n,r){We(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}(t,d,o):3===e&&t.destroyNode(d),null!=i&&function Dm(e,t,n,r,s){const i=n[7];i!==jt(n)&&ji(t,e,r,i,s);for(let d=10;d<n.length;d++){const m=n[d];Fo(m[1],m,e,t,r,i)}}(t,e,i,n,s)}}function du(e,t,n){if(We(e))return e.createElement(t,n);{const r=null!==n?function E(e){const t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":t===_?"http://www.w3.org/1998/MathML/":null}(n):null;return null===r?e.createElement(t):e.createElementNS(r,t)}}function Bc(e,t){const n=e[9],r=n.indexOf(t),s=t[3];1024&t[2]&&(t[2]&=-1025,ss(s,-1)),n.splice(r,1)}function fu(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const s=r[17];null!==s&&s!==e&&Bc(s,r),t>0&&(e[n-1][4]=r[4]);const i=sa(e,10+t);!function cm(e,t){Fo(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]&=-129}return r}function Uc(e,t){if(!(256&t[2])){const n=t[11];We(n)&&n.destroyNode&&Fo(e,t,n,3,null,null),function hm(e){let t=e[13];if(!t)return hu(e[1],e);for(;t;){let n=null;if(gr(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)gr(t)&&hu(t[1],t),t=t[3];null===t&&(t=e),gr(t)&&hu(t[1],t),n=t&&t[4]}t=n}}(t)}}function hu(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function ym(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 vr)){const i=n[r+1];if(Array.isArray(i))for(let o=0;o<i.length;o+=2){const d=s[i[o]],m=i[o+1];try{m.call(d)}finally{}}else try{i.call(s)}finally{}}}}(e,t),function mm(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],d="function"==typeof o?o(t):jt(t[o]),m=r[s=n[i+2]],b=n[i+3];"boolean"==typeof b?d.removeEventListener(n[i],m,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++)r[i]();t[7]=null}}(e,t),1===t[1].type&&We(t[11])&&t[11].destroy();const n=t[17];if(null!==n&&Cn(t[3])){n!==t[3]&&Bc(n,t);const r=t[19];null!==r&&r.detachView(e)}}}function Hc(e,t,n){return function Vc(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===St.None||s===St.Emulated)return null}return un(r,n)}(e,t.parent,n)}function yi(e,t,n,r,s){We(e)?e.insertBefore(t,n,r,s):t.insertBefore(n,r,s)}function $c(e,t,n){We(e)?e.appendChild(t,n):t.appendChild(n)}function Gc(e,t,n,r,s){null!==r?yi(e,t,n,r,s):$c(e,t,n)}function la(e,t){return We(e)?e.parentNode(t):t.parentNode}let fa,ha,Yc=function Wc(e,t,n){return 40&e.type?un(e,n):null};function ca(e,t,n,r){const s=Hc(e,r,t),i=t[11],d=function zc(e,t,n){return Yc(e,t,n)}(r.parent||t[6],r,t);if(null!=s)if(Array.isArray(n))for(let m=0;m<n.length;m++)Gc(i,s,n[m],d,!1);else Gc(i,s,n,d,!1)}function da(e,t){if(null!==t){const n=t.type;if(3&n)return un(t,e);if(4&n)return gu(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return da(e,r);{const s=e[t.index];return Cn(s)?gu(-1,s):jt(s)}}if(32&n)return au(t,e)()||jt(e[t.index]);{const r=Zc(e,t);return null!==r?Array.isArray(r)?r[0]:da(Oo(e[16]),r):da(e,t.next)}}return null}function Zc(e,t){return null!==t?e[16][6].projection[t.projection]:null}function gu(e,t){const n=10+e+1;if(n<t.length){const r=t[n],s=r[1].firstChild;if(null!==s)return da(r,s)}return t[7]}function yu(e,t,n,r,s,i,o){for(;null!=n;){const d=r[n.index],m=n.type;if(o&&0===t&&(d&&_r(jt(d),r),n.flags|=4),64!=(64&n.flags))if(8&m)yu(e,t,n.child,r,s,i,!1),ji(t,e,s,d,i);else if(32&m){const b=au(n,r);let N;for(;N=b();)ji(t,e,s,N,i);ji(t,e,s,d,i)}else 16&m?Qc(e,t,r,n,s,i):ji(t,e,s,d,i);n=o?n.projectionNext:n.next}}function Fo(e,t,n,r,s,i){yu(n,r,e.firstChild,t,s,i,!1)}function Qc(e,t,n,r,s,i){const o=n[16],m=o[6].projection[r.projection];if(Array.isArray(m))for(let b=0;b<m.length;b++)ji(t,e,s,m[b],i);else yu(e,t,m,o[3],s,i,!0)}function qc(e,t,n){We(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function vu(e,t,n){We(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}function vi(e){return function _u(){if(void 0===fa&&(fa=null,Re.trustedTypes))try{fa=Re.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return fa}()?.createHTML(e)||e}function Jc(e){return function Eu(){if(void 0===ha&&(ha=null,Re.trustedTypes))try{ha=Re.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ha}()?.createHTML(e)||e}class _i{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Sm extends _i{getTypeName(){return"HTML"}}class Am extends _i{getTypeName(){return"Style"}}class Mm extends _i{getTypeName(){return"Script"}}class Im extends _i{getTypeName(){return"URL"}}class Pm extends _i{getTypeName(){return"ResourceURL"}}function zs(e){return e instanceof _i?e.changingThisBreaksApplicationSecurity:e}function Bi(e,t){const n=td(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 td(e){return e instanceof _i&&e.getTypeName()||null}function xm(e){return new Sm(e)}function Rm(e){return new Am(e)}function Nm(e){return new Mm(e)}function Om(e){return new Im(e)}function Fm(e){return new Pm(e)}class Lm{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(vi(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class km{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=vi(t),n;const r=this.inertDocument.createElement("body");return r.innerHTML=vi(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 Bm=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,Um=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function Lo(e){return(e=String(e)).match(Bm)||e.match(Um)?e:"unsafe:"+e}function Cs(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function ko(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const sd=Cs("area,br,col,hr,img,wbr"),id=Cs("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),od=Cs("rp,rt"),Du=ko(sd,ko(id,Cs("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")),ko(od,Cs("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")),ko(od,id)),bu=Cs("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Cu=Cs("srcset"),ad=ko(bu,Cu,Cs("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,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Cs("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")),Hm=Cs("script,style,template");class Vm{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(!Du.hasOwnProperty(n))return this.sanitizedSomething=!0,!Hm.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,d=o.toLowerCase();if(!ad.hasOwnProperty(d)){this.sanitizedSomething=!0;continue}let m=i.value;bu[d]&&(m=Lo(m)),Cu[d]&&(e=m,m=(e=String(e)).split(",").map((t=>Lo(t.trim()))).join(", ")),this.buf.push(" ",o,'="',ud(m),'"')}var e;return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();Du.hasOwnProperty(n)&&!sd.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(ud(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 $m=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Gm=/([^\#-~ |!])/g;function ud(e){return e.replace(/&/g,"&amp;").replace($m,(function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"})).replace(Gm,(function(t){return"&#"+t.charCodeAt(0)+";"})).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let pa;function ld(e,t){let n=null;try{pa=pa||function nd(e){const t=new km(e);return function jm(){try{return!!(new window.DOMParser).parseFromString(vi(""),"text/html")}catch{return!1}}()?new Lm(t):t}(e);let r=t?String(t):"";n=pa.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=pa.getInertBodyElement(r)}while(r!==i);return vi((new Vm).sanitizeChildren(wu(n)||n))}finally{if(n){const r=wu(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function wu(e){return"content"in e&&function zm(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Qn=(()=>((Qn=Qn||{})[Qn.NONE=0]="NONE",Qn[Qn.HTML=1]="HTML",Qn[Qn.STYLE=2]="STYLE",Qn[Qn.SCRIPT=3]="SCRIPT",Qn[Qn.URL=4]="URL",Qn[Qn.RESOURCE_URL=5]="RESOURCE_URL",Qn))();function cd(e){const t=jo();return t?Jc(t.sanitize(Qn.HTML,e)||""):Bi(e,"HTML")?Jc(zs(e)):ld(De(),Ve(e))}function Tu(e){const t=jo();return t?t.sanitize(Qn.URL,e)||"":Bi(e,"URL")?zs(e):Lo(Ve(e))}function jo(){const e=je();return e&&e[12]}function Au(e){return e.ngOriginalError}function ty(e,...t){e.error(...t)}class ga{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t),r=function ey(e){return e&&e.ngErrorLogger||ty}(t);r(this._console,"ERROR",t),n&&r(this._console,"ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Au(t);for(;n&&Au(n);)n=Au(n);return n||null}}const uy=(()=>(typeof requestAnimationFrame<"u"&&requestAnimationFrame||setTimeout).bind(Re))();function ws(e){return e instanceof Function?e():e}function hd(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 pd="ng-template";function fy(e,t,n){let r=0;for(;r<e.length;){let s=e[r++];if(n&&"class"===s){if(s=e[r],-1!==hd(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 gd(e){return 4===e.type&&e.value!==pd}function hy(e,t,n){return t===(4!==e.type||n?e.value:pd)}function py(e,t,n){let r=4;const s=e.attrs||[],i=function yy(e){for(let t=0;t<e.length;t++)if(mo(e[t]))return t;return e.length}(s);let o=!1;for(let d=0;d<t.length;d++){const m=t[d];if("number"!=typeof m){if(!o)if(4&r){if(r=2|1&r,""!==m&&!hy(e,m,n)||""===m&&1===t.length){if(os(r))return!1;o=!0}}else{const b=8&r?m:t[++d];if(8&r&&null!==e.attrs){if(!fy(e.attrs,b,n)){if(os(r))return!1;o=!0}continue}const z=gy(8&r?"class":m,s,gd(e),n);if(-1===z){if(os(r))return!1;o=!0;continue}if(""!==b){let ne;ne=z>i?"":s[z+1].toLowerCase();const fe=8&r?ne:null;if(fe&&-1!==hd(fe,b,0)||2&r&&b!==ne){if(os(r))return!1;o=!0}}}}else{if(!o&&!os(r)&&!os(m))return!1;if(o&&os(m))continue;o=!1,r=m|1&r}}return os(r)||o}function os(e){return 0==(1&e)}function gy(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 d=t[++s];for(;"string"==typeof d;)d=t[++s];continue}if(4===o)break;if(0===o){s+=4;continue}}s+=i?1:2}return-1}return function vy(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 md(e,t,n=!1){for(let r=0;r<t.length;r++)if(py(e,t[r],n))return!0;return!1}function yd(e,t){return e?":not("+t.trim()+")":t}function Ey(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 d=e[++n];s+="["+o+(d.length>0?'="'+d+'"':"")+"]"}else 8&r?s+="."+o:4&r&&(s+=" "+o);else""!==s&&!os(o)&&(t+=yd(i,s),s=""),r=o,i=i||!os(r);n++}return""!==s&&(t+=yd(i,s)),t}const Wt={};function vd(e){_d(en(),je(),Mn()+e,!1)}function _d(e,t,n,r){if(!r)if(3==(3&t[2])){const i=e.preOrderCheckHooks;null!==i&&Sr(t,i,n)}else{const i=e.preOrderHooks;null!==i&&En(t,i,0,n)}Ur(n)}function ma(e,t){return e<<17|t<<2}function as(e){return e>>17&32767}function Mu(e){return 2|e}function Ws(e){return(131068&e)>>2}function Iu(e,t){return-131069&e|t<<2}function Pu(e){return 1|e}function Pd(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];Fn(s),o.contentQueries(2,t[i],i)}}}function Bo(e,t,n,r,s,i,o,d,m,b){const N=t.blueprint.slice();return N[0]=s,N[2]=140|r,fi(N),N[3]=N[15]=e,N[8]=n,N[10]=o||e&&e[10],N[11]=d||e&&e[11],N[12]=m||e&&e[12]||null,N[9]=b||e&&e[9]||null,N[6]=i,N[16]=2==t.type?e[16]:N,N}function Hi(e,t,n,r,s){let i=e.data[t];if(null===i)i=function Bu(e,t,n,r,s){const i=Pi(),o=S(),m=e.data[t]=function jy(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=m),null!==i&&(o?null==i.child&&null!==m.parent&&(i.child=m):null===i.next&&(i.next=m)),m}(e,t,n,r,s),function vt(){return Nt.lFrame.inI18n}()&&(i.flags|=64);else if(64&i.type){i.type=n,i.value=r,i.attrs=s;const o=function Kr(){const e=Nt.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===o?-1:o.injectorIndex}return Br(i,!0),i}function Vi(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 Uo(e,t,n){Nr(t);try{const r=e.viewQuery;null!==r&&Ku(1,r,n);const s=e.template;null!==s&&xd(e,t,s,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Pd(e,t),e.staticViewQueries&&Ku(2,e.viewQuery,n);const i=e.components;null!==i&&function Fy(e,t){for(let n=0;n<t.length;n++)nv(e,t[n])}(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,yr()}}function $i(e,t,n,r){const s=t[2];if(256!=(256&s)){Nr(t);try{fi(t),function pe(e){return Nt.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&xd(e,t,n,2,r);const o=3==(3&s);if(o){const b=e.preOrderCheckHooks;null!==b&&Sr(t,b,null)}else{const b=e.preOrderHooks;null!==b&&En(t,b,0,null),Bs(t,0)}if(function ev(e){for(let t=uu(e);null!==t;t=lu(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==(1024&s[2])&&ss(i,1),s[2]|=1024}}}(t),function Xy(e){for(let t=uu(e);null!==t;t=lu(t))for(let n=10;n<t.length;n++){const r=t[n],s=r[1];Yr(r)&&$i(s,r,s.template,r[8])}}(t),null!==e.contentQueries&&Pd(e,t),o){const b=e.contentCheckHooks;null!==b&&Sr(t,b)}else{const b=e.contentHooks;null!==b&&En(t,b,1),Bs(t,1)}!function Ny(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)Ur(~s);else{const i=s,o=n[++r],d=n[++r];Zt(o,i),d(2,t[i])}}}finally{Ur(-1)}}(e,t);const d=e.components;null!==d&&function Oy(e,t){for(let n=0;n<t.length;n++)tv(e,t[n])}(t,d);const m=e.viewQuery;if(null!==m&&Ku(2,m,r),o){const b=e.viewCheckHooks;null!==b&&Sr(t,b)}else{const b=e.viewHooks;null!==b&&En(t,b,2),Bs(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[2]&=-73,1024&t[2]&&(t[2]&=-1025,ss(t[3],-1))}finally{yr()}}}function Ly(e,t,n,r){const s=t[10],o=ks(t);try{!o&&s.begin&&s.begin(),o&&Uo(e,t,r),$i(e,t,n,r)}finally{!o&&s.end&&s.end()}}function xd(e,t,n,r,s){const i=Mn(),o=2&r;try{Ur(-1),o&&t.length>20&&_d(e,t,20,!1),n(r,s)}finally{Ur(i)}}function Rd(e,t,n){if(Ir(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 Uu(e,t,n){!Ii()||(function zy(e,t,n,r){const s=n.directiveStart,i=n.directiveEnd;e.firstCreatePass||Vs(n,t),_r(r,t);const o=n.initialInputs;for(let d=s;d<i;d++){const m=e.data[d],b=Ln(m);b&&Qy(t,n,m);const N=re(t,e,d,n);_r(N,t),null!==o&&qy(0,d-s,N,m,0,o),b&&(xn(n.index,t)[8]=N)}}(e,t,n,un(n,t)),128==(128&n.flags)&&function Wy(e,t,n){const r=n.directiveStart,s=n.directiveEnd,o=n.index,d=function Mt(){return Nt.lFrame.currentDirectiveIndex}();try{Ur(o);for(let m=r;m<s;m++){const b=e.data[m],N=t[m];Ht(m),(null!==b.hostBindings||0!==b.hostVars||null!==b.hostAttrs)&&Ud(b,N)}}finally{Ur(-1),Ht(d)}}(e,t,n))}function Hu(e,t,n=un){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],d=-1===o?n(t,e):e[o];e[s++]=d}}}function Nd(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=_a(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function _a(e,t,n,r,s,i,o,d,m,b){const N=20+r,z=N+s,ne=function ky(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:Wt);return n}(N,z),fe="function"==typeof b?b():b;return ne[1]={type:e,blueprint:ne,template:n,queries:null,viewQuery:d,declTNode:t,data:ne.slice().fill(null,N),bindingStartIndex:N,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:m,consts:fe,incompleteFirstPass:!1}}function Ld(e,t,n,r){const s=Wd(t);null===n?s.push(r):(s.push(n),e.firstCreatePass&&Yd(e).push(r,s.length-1))}function kd(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 Vr(e,t,n,r,s,i,o,d){const m=un(t,n);let N,b=t.inputs;!d&&null!=b&&(N=b[r])?(Qd(e,n,N,r,s),Pr(t)&&function Hy(e,t){const n=xn(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3&t.type&&(r=function Uy(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,We(i)?i.setProperty(m,r,s):gi(r)||(m.setProperty?m.setProperty(r,s):m[r]=s))}function Vu(e,t,n,r){let s=!1;if(Ii()){const i=function Yy(e,t,n){const r=e.directiveRegistry;let s=null;if(r)for(let i=0;i<r.length;i++){const o=r[i];md(n,o.selectors,!1)&&(s||(s=[]),Oi(Vs(n,t),e,o.type),Ln(o)?(Hd(e,n),s.unshift(o)):s.push(o))}return s}(e,t,n),o=null===r?null:{"":-1};if(null!==i){s=!0,Vd(n,e.data.length,i.length);for(let N=0;N<i.length;N++){const z=i[N];z.providersResolver&&z.providersResolver(z)}let d=!1,m=!1,b=Vi(e,t,i.length,null);for(let N=0;N<i.length;N++){const z=i[N];n.mergedAttrs=yo(n.mergedAttrs,z.hostAttrs),$d(e,n,t,b,z),Zy(b,z,o),null!==z.contentQueries&&(n.flags|=8),(null!==z.hostBindings||null!==z.hostAttrs||0!==z.hostVars)&&(n.flags|=128);const ne=z.type.prototype;!d&&(ne.ngOnChanges||ne.ngOnInit||ne.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),d=!0),!m&&(ne.ngOnChanges||ne.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),m=!0),b++}!function By(e,t){const r=t.directiveEnd,s=e.data,i=t.attrs,o=[];let d=null,m=null;for(let b=t.directiveStart;b<r;b++){const N=s[b],z=N.inputs,ne=null===i||gd(t)?null:Jy(z,i);o.push(ne),d=kd(z,b,d),m=kd(N.outputs,b,m)}null!==d&&(d.hasOwnProperty("class")&&(t.flags|=16),d.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=o,t.inputs=d,t.outputs=m}(e,n)}o&&function Ky(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 Ge(-301,!1);r.push(t[s],i)}}}(n,r,o)}return n.mergedAttrs=yo(n.mergedAttrs,n.attrs),s}function Bd(e,t,n,r,s,i){const o=i.hostBindings;if(o){let d=e.hostBindingOpCodes;null===d&&(d=e.hostBindingOpCodes=[]);const m=~t.index;(function Gy(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(d)!=m&&d.push(m),d.push(r,s,o)}}function Ud(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Hd(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function Zy(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Ln(t)&&(n[""]=e)}}function Vd(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function $d(e,t,n,r,s){e.data[r]=s;const i=s.factory||(s.factory=Cr(s.type)),o=new vr(i,Ln(s),null);e.blueprint[r]=o,n[r]=o,Bd(e,t,0,r,Vi(e,n,s.hostVars,Wt),s)}function Qy(e,t,n){const r=un(t,e),s=Nd(n),i=e[10],o=Ea(e,Bo(e,s,null,n.onPush?64:16,r,t,i,i.createRenderer(r,n),null,null));e[t.index]=o}function Ts(e,t,n,r,s,i){const o=un(e,t);!function $u(e,t,n,r,s,i,o){if(null==i)We(e)?e.removeAttribute(t,s,n):t.removeAttribute(s);else{const d=null==o?Ve(i):o(i,r||"",s);We(e)?e.setAttribute(t,s,d,n):n?t.setAttributeNS(n,s,d):t.setAttribute(s,d)}}(t[11],o,i,e.value,n,r,s)}function qy(e,t,n,r,s,i){const o=i[t];if(null!==o){const d=r.setInput;for(let m=0;m<o.length;){const b=o[m++],N=o[m++],z=o[m++];null!==d?r.setInput(n,z,b,N):n[N]=z}}}function Jy(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 Gd(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function tv(e,t){const n=xn(t,e);if(Yr(n)){const r=n[1];80&n[2]?$i(r,n,r.template,n[8]):n[5]>0&&Gu(n)}}function Gu(e){for(let r=uu(e);null!==r;r=lu(r))for(let s=10;s<r.length;s++){const i=r[s];if(1024&i[2]){const o=i[1];$i(o,i,o.template,i[8])}else i[5]>0&&Gu(i)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const s=xn(n[r],e);Yr(s)&&s[5]>0&&Gu(s)}}function nv(e,t){const n=xn(t,e),r=n[1];(function rv(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(r,n),Uo(r,n,n[8])}function Ea(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function zu(e){for(;e;){e[2]|=64;const t=Oo(e);if(xs(e)&&!t)return e;e=t}return null}function zd(e){!function Wu(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],r=iu(n),s=r[1];Ly(s,r,s.template,n)}}(e[8])}function Ku(e,t,n){Fn(0),t(e,n)}const iv=(()=>Promise.resolve(null))();function Wd(e){return e[7]||(e[7]=[])}function Yd(e){return e.cleanup||(e.cleanup=[])}function Zd(e,t){const n=e[9],r=n?n.get(ga,null):null;r&&r.handleError(t)}function Qd(e,t,n,r,s){for(let i=0;i<n.length;){const o=n[i++],d=n[i++],m=t[o],b=e.data[o];null!==b.setInput?b.setInput(m,s,r,d):m[d]=s}}function Ys(e,t,n){const r=sn(t,e);!function jc(e,t,n){We(e)?e.setValue(t,n):t.textContent=n}(e[11],r,n)}function Da(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 d=t[o];"number"==typeof d?i=d:1==i?s=Pe(s,d):2==i&&(r=Pe(r,d+": "+t[++o]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=s:e.classesWithoutHost=s}const Zu=new Un("INJECTOR",-1);class qd{get(t,n=Ao){if(n===Ao){const r=new Error(`NullInjectorError: No provider for ${ae(t)}!`);throw r.name="NullInjectorError",r}return n}}const Qu=new Un("Set Injector scope."),Ho={},uv={};let qu;function Jd(){return void 0===qu&&(qu=new qd),qu}function Xd(e,t=null,n=null,r){const s=ef(e,t,n,r);return s._resolveInjectorDefTypes(),s}function ef(e,t=null,n=null,r){return new lv(e,n,t||Jd(),r)}class lv{constructor(t,n,r,s=null){this.parent=r,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const i=[];n&&Ds(n,(d=>this.processProvider(d,t,n))),Ds([t],(d=>this.processInjectorType(d,[],i))),this.records.set(Zu,Gi(void 0,this));const o=this.records.get(Qu);this.scope=null!=o?o.value:null,this.source=s||("object"==typeof t?null:ae(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach((t=>t.ngOnDestroy()))}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,n=Ao,r=L.Default){this.assertNotDestroyed();const s=bc(this),i=me(void 0);try{if(!(r&L.SkipSelf)){let d=this.records.get(t);if(void 0===d){const m=function yv(e){return"function"==typeof e||"object"==typeof e&&e instanceof Un}(t)&&hn(t);d=m&&this.injectableDefInScope(m)?Gi(Ju(t),Ho):null,this.records.set(t,d)}if(null!=d)return this.hydrate(t,d)}return(r&L.Self?Jd():this.parent).get(t,n=r&L.Optional&&n===Ao?null:n)}catch(o){if("NullInjectorError"===o.name){if((o[oa]=o[oa]||[]).unshift(ae(t)),s)throw o;return function Vg(e,t,n,r){const s=e[oa];throw t[Dc]&&s.unshift(t[Dc]),e.message=function $g(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"ɵ"==e.charAt(1)?e.substr(2):e;let s=ae(t);if(Array.isArray(t))s=t.map(ae).join(" -> ");else if("object"==typeof t){let i=[];for(let o in t)if(t.hasOwnProperty(o)){let d=t[o];i.push(o+":"+("string"==typeof d?JSON.stringify(d):ae(d)))}s=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${s}]: ${e.replace(Lg,"\n  ")}`}("\n"+e.message,s,n,r),e.ngTokenPath=s,e[oa]=null,e}(o,t,"R3InjectorError",this.source)}throw o}finally{me(i),bc(s)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach((t=>this.get(t)))}toString(){const t=[];return this.records.forEach(((r,s)=>t.push(ae(s)))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Ge(205,!1)}processInjectorType(t,n,r){if(!(t=Oe(t)))return!1;let s=or(t);const i=null==s&&t.ngModule||void 0,o=void 0===i?t:i,d=-1!==r.indexOf(o);if(void 0!==i&&(s=or(i)),null==s)return!1;if(null!=s.imports&&!d){let N;r.push(o);try{Ds(s.imports,(z=>{this.processInjectorType(z,n,r)&&(void 0===N&&(N=[]),N.push(z))}))}finally{}if(void 0!==N)for(let z=0;z<N.length;z++){const{ngModule:ne,providers:fe}=N[z];Ds(fe,(Se=>this.processProvider(Se,ne,fe||ht)))}}this.injectorDefTypes.add(o);const m=Cr(o)||(()=>new o);this.records.set(o,Gi(m,Ho));const b=s.providers;if(null!=b&&!d){const N=t;Ds(b,(z=>this.processProvider(z,N,b)))}return void 0!==i&&void 0!==t.providers}processProvider(t,n,r){let s=zi(t=Oe(t))?t:Oe(t&&t.provide);const i=function dv(e,t,n){return nf(e)?Gi(void 0,e.useValue):Gi(tf(e),Ho)}(t);if(zi(t)||!0!==t.multi)this.records.get(s);else{let o=this.records.get(s);o||(o=Gi(void 0,Ho,!0),o.factory=()=>nu(o.multi),this.records.set(s,o)),s=t,o.multi.push(t)}this.records.set(s,i)}hydrate(t,n){return n.value===Ho&&(n.value=uv,n.value=n.factory()),"object"==typeof n.value&&n.value&&function mv(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this.onDestroy.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=Oe(t.providedIn);return"string"==typeof n?"any"===n||n===this.scope:this.injectorDefTypes.has(n)}}function Ju(e){const t=hn(e),n=null!==t?t.factory:Cr(e);if(null!==n)return n;if(e instanceof Un)throw new Ge(204,!1);if(e instanceof Function)return function cv(e){const t=e.length;if(t>0)throw function So(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}(t,"?"),new Ge(204,!1);const n=function Gr(e){const t=e&&(e[J]||e[K]);if(t){const n=function jn(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 Ge(204,!1)}function tf(e,t,n){let r;if(zi(e)){const s=Oe(e);return Cr(s)||Ju(s)}if(nf(e))r=()=>Oe(e.useValue);else if(function hv(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...nu(e.deps||[]));else if(function fv(e){return!(!e||!e.useExisting)}(e))r=()=>pr(Oe(e.useExisting));else{const s=Oe(e&&(e.useClass||e.provide));if(!function gv(e){return!!e.deps}(e))return Cr(s)||Ju(s);r=()=>new s(...nu(e.deps))}return r}function Gi(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function nf(e){return null!==e&&"object"==typeof e&&jg in e}function zi(e){return"function"==typeof e}let Ss=(()=>{class e{static create(n,r){if(Array.isArray(n))return Xd({name:""},r,n,"");{const s=n.name??"";return Xd({name:s},n.parent,n.providers,s)}}}return e.THROW_IF_NOT_FOUND=Ao,e.NULL=new qd,e.ɵprov=qt({token:e,providedIn:"any",factory:()=>pr(Zu)}),e.__NG_ELEMENT_ID__=-1,e})();function Tv(e,t){er(iu(e)[1],Nn())}function tl(e){let t=function gf(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let s;if(Ln(e))s=t.ɵcmp||t.ɵdir;else{if(t.ɵcmp)throw new Ge(903,"");s=t.ɵdir}if(s){if(n){r.push(s);const o=e;o.inputs=nl(e.inputs),o.declaredInputs=nl(e.declaredInputs),o.outputs=nl(e.outputs);const d=s.hostBindings;d&&Iv(e,d);const m=s.viewQuery,b=s.contentQueries;if(m&&Av(e,m),b&&Mv(e,b),ie(e.inputs,s.inputs),ie(e.declaredInputs,s.declaredInputs),ie(e.outputs,s.outputs),Ln(s)&&s.data.animation){const N=e.data;N.animation=(N.animation||[]).concat(s.data.animation)}}const i=s.features;if(i)for(let o=0;o<i.length;o++){const d=i[o];d&&d.ngInherit&&d(e),d===tl&&(n=!1)}}t=Object.getPrototypeOf(t)}!function Sv(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=yo(s.hostAttrs,n=yo(n,s.hostAttrs))}}(r)}function nl(e){return e===Jt?{}:e===ht?[]:e}function Av(e,t){const n=e.viewQuery;e.viewQuery=n?(r,s)=>{t(r,s),n(r,s)}:t}function Mv(e,t){const n=e.contentQueries;e.contentQueries=n?(r,s,i)=>{t(r,s,i),n(r,s,i)}:t}function Iv(e,t){const n=e.hostBindings;e.hostBindings=n?(r,s)=>{t(r,s),n(r,s)}:t}let ba=null;function Wi(){if(!ba){const e=Re.Symbol;if(e&&e.iterator)ba=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&&(ba=r)}}}return ba}function Vo(e){return!!rl(e)&&(Array.isArray(e)||!(e instanceof Map)&&Wi()in e)}function rl(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Er(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function sl(e,t,n,r){const s=je();return Er(s,we(),t)&&(en(),Ts(_n(),s,e,t,n,r)),sl}function Ki(e,t,n,r){return Er(e,we(),n)?t+Ve(n)+r:Wt}function Zi(e,t,n,r,s,i){const d=function Ei(e,t,n,r){const s=Er(e,t,n);return Er(e,t+1,r)||s}(e,function q(){return Nt.lFrame.bindingIndex}(),n,s);return Qe(2),d?t+Ve(n)+r+Ve(s)+i:Wt}function Tf(e,t,n,r,s,i,o,d){const m=je(),b=en(),N=e+20,z=b.firstCreatePass?function Lv(e,t,n,r,s,i,o,d,m){const b=t.consts,N=Hi(t,e,4,o||null,jr(b,d));Vu(t,n,N,jr(b,m)),er(t,N);const z=N.tViews=_a(2,N,r,s,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,b);return null!==t.queries&&(t.queries.template(t,N),z.queries=t.queries.embeddedTView(N)),N}(N,b,m,t,n,r,s,i,o):b.data[N];Br(z,!1);const ne=m[11].createComment("");ca(b,m,ne,z),_r(ne,m),Ea(m,m[N]=Gd(ne,m,ne,z)),Wr(z)&&Uu(b,m,z),null!=o&&Hu(m,z,d)}function Go(e,t=L.Default){const n=je();return null===n?pr(e,t):u(Nn(),n,Oe(e),t)}function Lf(){throw new Error("invalid")}function ll(e,t,n){const r=je();return Er(r,we(),t)&&Vr(en(),_n(),r,e,t,r[11],n,!1),ll}function cl(e,t,n,r,s){const o=s?"class":"style";Qd(e,n,t.inputs[o],o,r)}function Ta(e,t,n,r){const s=je(),i=en(),o=20+e,d=s[11],m=s[o]=du(d,t,function kn(){return Nt.lFrame.currentNamespace}()),b=i.firstCreatePass?function s_(e,t,n,r,s,i,o){const d=t.consts,b=Hi(t,e,2,s,jr(d,i));return Vu(t,n,b,jr(d,o)),null!==b.attrs&&Da(b,b.attrs,!1),null!==b.mergedAttrs&&Da(b,b.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,b),b}(o,i,s,0,t,n,r):i.data[o];Br(b,!0);const N=b.mergedAttrs;null!==N&&pi(d,m,N);const z=b.classes;null!==z&&vu(d,m,z);const ne=b.styles;return null!==ne&&qc(d,m,ne),64!=(64&b.flags)&&ca(i,s,m,b),0===function Mi(){return Nt.lFrame.elementDepthCount}()&&_r(m,s),function ho(){Nt.lFrame.elementDepthCount++}(),Wr(b)&&(Uu(i,s,b),Rd(i,b,s)),null!==r&&Hu(s,b),Ta}function Sa(){let e=Nn();S()?a():(e=e.parent,Br(e,!1));const t=e;!function po(){Nt.lFrame.elementDepthCount--}();const n=en();return n.firstCreatePass&&(er(n,e),Ir(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Wa(e){return 0!=(16&e.flags)}(t)&&cl(n,t,je(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Ya(e){return 0!=(32&e.flags)}(t)&&cl(n,t,je(),t.stylesWithoutHost,!1),Sa}function dl(e,t,n,r){return Ta(e,t,n,r),Sa(),dl}function Aa(e,t,n){const r=je(),s=en(),i=e+20,o=s.firstCreatePass?function i_(e,t,n,r,s){const i=t.consts,o=jr(i,r),d=Hi(t,e,8,"ng-container",o);return null!==o&&Da(d,o,!0),Vu(t,n,d,jr(i,s)),null!==t.queries&&t.queries.elementStart(t,d),d}(i,s,r,t,n):s.data[i];Br(o,!0);const d=r[i]=r[11].createComment("");return ca(s,r,d,o),_r(d,r),Wr(o)&&(Uu(s,r,o),Rd(s,o,r)),null!=n&&Hu(r,o),Aa}function Ma(){let e=Nn();const t=en();return S()?a():(e=e.parent,Br(e,!1)),t.firstCreatePass&&(er(t,e),Ir(e)&&t.queries.elementEnd(e)),Ma}function jf(){return je()}function fl(e){return!!e&&"function"==typeof e.then}function Bf(e){return!!e&&"function"==typeof e.subscribe}const Uf=Bf;function hl(e,t,n,r){const s=je(),i=en(),o=Nn();return function Vf(e,t,n,r,s,i,o,d){const m=Wr(r),N=e.firstCreatePass&&Yd(e),z=t[8],ne=Wd(t);let fe=!0;if(3&r.type||d){const et=un(r,t),mt=d?d(et):et,Ne=ne.length,It=d?rn=>d(jt(rn[r.index])):r.index;if(We(n)){let rn=null;if(!d&&m&&(rn=function o_(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 d=t[7],m=s[i+2];return d.length>m?d[m]:null}"string"==typeof o&&(i+=2)}return null}(e,t,s,r.index)),null!==rn)(rn.__ngLastListenerFn__||rn).__ngNextListenerFn__=i,rn.__ngLastListenerFn__=i,fe=!1;else{i=pl(r,t,z,i,!1);const bn=n.listen(mt,s,i);ne.push(i,bn),N&&N.push(s,It,Ne,Ne+1)}}else i=pl(r,t,z,i,!0),mt.addEventListener(s,i,o),ne.push(i),N&&N.push(s,It,Ne,o)}else i=pl(r,t,z,i,!1);const Se=r.outputs;let ze;if(fe&&null!==Se&&(ze=Se[s])){const et=ze.length;if(et)for(let mt=0;mt<et;mt+=2){const $r=t[ze[mt]][ze[mt+1]].subscribe(i),Ci=ne.length;ne.push(i,$r),N&&N.push(s,r.index,Ci,-(Ci+1))}}}(i,s,s[11],o,e,t,!!n,r),hl}function $f(e,t,n,r){try{return!1!==n(r)}catch(s){return Zd(e,s),!1}}function pl(e,t,n,r,s){return function i(o){if(o===Function)return r;const d=2&e.flags?xn(e.index,t):t;0==(32&t[2])&&zu(d);let m=$f(t,0,r,o),b=i.__ngNextListenerFn__;for(;b;)m=$f(t,0,b,o)&&m,b=b.__ngNextListenerFn__;return s&&!1===m&&(o.preventDefault(),o.returnValue=!1),m}}function Gf(e=1){return function xi(e){return(Nt.lFrame.contextLView=function js(e,t){for(;e>0;)t=t[15],e--;return t}(e,Nt.lFrame.contextLView))[8]}(e)}function Ia(e,t,n,r,s){const i=je(),o=Ki(i,t,n,r);return o!==Wt&&Vr(en(),_n(),i,e,o,i[11],s,!1),Ia}function eh(e,t,n,r,s){const i=e[n+1],o=null===t;let d=r?as(i):Ws(i),m=!1;for(;0!==d&&(!1===m||o);){const N=e[d+1];f_(e[d],t)&&(m=!0,e[d+1]=r?Pu(N):Mu(N)),d=r?as(N):Ws(N)}m&&(e[n+1]=r?Mu(i):Pu(i))}function f_(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Li(e,t)>=0}const sr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function th(e){return e.substring(sr.key,sr.keyEnd)}function nh(e,t){const n=sr.textEnd;return n===t?-1:(t=sr.keyEnd=function m_(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,sr.key=t,n),ro(e,t,n))}function ro(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function gl(e,t){return function ls(e,t,n,r){const s=je(),i=en(),o=Qe(2);i.firstUpdatePass&&ch(i,e,o,r),t!==Wt&&Er(s,o,t)&&fh(i,i.data[Mn()],s,s[11],e,s[o+1]=function S_(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=ae(zs(e)))),e}(t,n),r,o)}(e,t,null,!0),gl}function uh(e){!function cs(e,t,n,r){const s=en(),i=Qe(2);s.firstUpdatePass&&ch(s,null,i,r);const o=je();if(n!==Wt&&Er(o,i,n)){const d=s.data[Mn()];if(ph(d,r)&&!lh(s,i)){let m=r?d.classesWithoutHost:d.stylesWithoutHost;null!==m&&(n=Pe(m,n||"")),cl(s,d,o,n,r)}else!function T_(e,t,n,r,s,i,o,d){s===Wt&&(s=ht);let m=0,b=0,N=0<s.length?s[0]:null,z=0<i.length?i[0]:null;for(;null!==N||null!==z;){const ne=m<s.length?s[m+1]:void 0,fe=b<i.length?i[b+1]:void 0;let ze,Se=null;N===z?(m+=2,b+=2,ne!==fe&&(Se=z,ze=fe)):null===z||null!==N&&N<z?(m+=2,Se=N):(b+=2,Se=z,ze=fe),null!==Se&&fh(e,t,n,r,Se,ze,o,d),N=m<s.length?s[m]:null,z=b<i.length?i[b]:null}}(s,d,o,o[11],o[i+1],o[i+1]=function w_(e,t,n){if(null==n||""===n)return ht;const r=[],s=zs(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)}}(Hr,Is,e,!0)}function Is(e,t){for(let n=function p_(e){return function sh(e){sr.key=0,sr.keyEnd=0,sr.value=0,sr.valueEnd=0,sr.textEnd=e.length}(e),nh(e,ro(e,0,sr.textEnd))}(t);n>=0;n=nh(t,n))Hr(e,th(t),!0)}function lh(e,t){return t>=e.expandoStartIndex}function ch(e,t,n,r){const s=e.data;if(null===s[n+1]){const i=s[Mn()],o=lh(e,n);ph(i,r)&&null===t&&!o&&(t=!1),t=function E_(e,t,n,r){const s=function ln(e){const t=Nt.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=zo(n=ml(null,e,t,n,r),t.attrs,r),i=null);else{const o=t.directiveStylingLast;if(-1===o||e[o]!==s)if(n=ml(s,e,t,n,r),null===i){let m=function D_(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Ws(r))return e[as(r)]}(e,t,r);void 0!==m&&Array.isArray(m)&&(m=ml(null,e,t,m[1],r),m=zo(m,t.attrs,r),function b_(e,t,n,r){e[as(n?t.classBindings:t.styleBindings)]=r}(e,t,r,m))}else i=function C_(e,t,n){let r;const s=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<s;i++)r=zo(r,e[i].hostAttrs,n);return zo(r,t.attrs,n)}(e,t,r)}return void 0!==i&&(r?t.residualClasses=i:t.residualStyles=i),n}(s,i,t,r),function c_(e,t,n,r,s,i){let o=i?t.classBindings:t.styleBindings,d=as(o),m=Ws(o);e[r]=n;let N,b=!1;if(Array.isArray(n)){const z=n;N=z[1],(null===N||Li(z,N)>0)&&(b=!0)}else N=n;if(s)if(0!==m){const ne=as(e[d+1]);e[r+1]=ma(ne,d),0!==ne&&(e[ne+1]=Iu(e[ne+1],r)),e[d+1]=function Cy(e,t){return 131071&e|t<<17}(e[d+1],r)}else e[r+1]=ma(d,0),0!==d&&(e[d+1]=Iu(e[d+1],r)),d=r;else e[r+1]=ma(m,0),0===d?d=r:e[m+1]=Iu(e[m+1],r),m=r;b&&(e[r+1]=Mu(e[r+1])),eh(e,N,r,!0),eh(e,N,r,!1),function d_(e,t,n,r,s){const i=s?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&Li(i,t)>=0&&(n[r+1]=Pu(n[r+1]))}(t,N,e,r,i),o=ma(d,m),i?t.classBindings=o:t.styleBindings=o}(s,i,t,n,o,r)}}function ml(e,t,n,r,s){let i=null;const o=n.directiveEnd;let d=n.directiveStylingLast;for(-1===d?d=n.directiveStart:d++;d<o&&(i=t[d],r=zo(r,i.hostAttrs,s),i!==e);)d++;return null!==e&&(n.directiveStylingLast=d),r}function zo(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]),Hr(e,o,!!n||t[++i]))}return void 0===e?null:e}function fh(e,t,n,r,s,i,o,d){if(!(3&t.type))return;const m=e.data,b=m[d+1];Pa(function bd(e){return 1==(1&e)}(b)?hh(m,t,n,s,Ws(b),o):void 0)||(Pa(i)||function Dd(e){return 2==(2&e)}(b)&&(i=hh(m,null,n,s,d,o)),function bm(e,t,n,r,s){const i=We(e);if(t)s?i?e.addClass(n,r):n.classList.add(r):i?e.removeClass(n,r):n.classList.remove(r);else{let o=-1===r.indexOf("-")?void 0:bs.DashCase;if(null==s)i?e.removeStyle(n,r,o):n.style.removeProperty(r);else{const d="string"==typeof s&&s.endsWith("!important");d&&(s=s.slice(0,-10),o|=bs.Important),i?e.setStyle(n,r,s,o):n.style.setProperty(r,s,d?"important":"")}}}(r,o,sn(Mn(),n),s,i))}function hh(e,t,n,r,s,i){const o=null===t;let d;for(;s>0;){const m=e[s],b=Array.isArray(m),N=b?m[1]:m,z=null===N;let ne=n[s+1];ne===Wt&&(ne=z?ht:void 0);let fe=z?Xa(ne,r):N===r?ne:void 0;if(b&&!Pa(fe)&&(fe=Xa(m,r)),Pa(fe)&&(d=fe,o))return d;const Se=e[s+1];s=o?as(Se):Ws(Se)}if(null!==t){let m=i?t.residualClasses:t.residualStyles;null!=m&&(d=Xa(m,r))}return d}function Pa(e){return void 0!==e}function ph(e,t){return 0!=(e.flags&(t?16:32))}function gh(e,t=""){const n=je(),r=en(),s=e+20,i=r.firstCreatePass?Hi(r,s,1,t,null):r.data[s],o=n[s]=function cu(e,t){return We(e)?e.createText(t):e.createTextNode(t)}(n[11],t);ca(r,n,o,i),Br(i,!1)}function yl(e){return xa("",e,""),yl}function xa(e,t,n){const r=je(),s=Ki(r,e,t,n);return s!==Wt&&Ys(r,Mn(),s),xa}function vl(e,t,n,r,s){const i=je(),o=Zi(i,e,t,n,r,s);return o!==Wt&&Ys(i,Mn(),o),vl}const Di=void 0;var W_=["en",[["a","p"],["AM","PM"],Di],[["AM","PM"],Di,Di],[["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"]],Di,[["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"]],Di,[["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}",Di,"{1} 'at' {0}",Di],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function z_(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let so={};function _l(e){const t=function Y_(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Fh(t);if(n)return n;const r=t.split("-")[0];if(n=Fh(r),n)return n;if("en"===r)return W_;throw new Error(`Missing locale data for the locale "${e}".`)}function Oh(e){return _l(e)[Ot.PluralCase]}function Fh(e){return e in so||(so[e]=Re.ng&&Re.ng.common&&Re.ng.common.locales&&Re.ng.common.locales[e]),so[e]}var Ot=(()=>((Ot=Ot||{})[Ot.LocaleId=0]="LocaleId",Ot[Ot.DayPeriodsFormat=1]="DayPeriodsFormat",Ot[Ot.DayPeriodsStandalone=2]="DayPeriodsStandalone",Ot[Ot.DaysFormat=3]="DaysFormat",Ot[Ot.DaysStandalone=4]="DaysStandalone",Ot[Ot.MonthsFormat=5]="MonthsFormat",Ot[Ot.MonthsStandalone=6]="MonthsStandalone",Ot[Ot.Eras=7]="Eras",Ot[Ot.FirstDayOfWeek=8]="FirstDayOfWeek",Ot[Ot.WeekendRange=9]="WeekendRange",Ot[Ot.DateFormat=10]="DateFormat",Ot[Ot.TimeFormat=11]="TimeFormat",Ot[Ot.DateTimeFormat=12]="DateTimeFormat",Ot[Ot.NumberSymbols=13]="NumberSymbols",Ot[Ot.NumberFormats=14]="NumberFormats",Ot[Ot.CurrencyCode=15]="CurrencyCode",Ot[Ot.CurrencySymbol=16]="CurrencySymbol",Ot[Ot.CurrencyName=17]="CurrencyName",Ot[Ot.Currencies=18]="Currencies",Ot[Ot.Directionality=19]="Directionality",Ot[Ot.PluralCase=20]="PluralCase",Ot[Ot.ExtraData=21]="ExtraData",Ot))();const Ra="en-US";let Lh=Ra;function bl(e,t,n,r,s){if(e=Oe(e),Array.isArray(e))for(let i=0;i<e.length;i++)bl(e[i],t,n,r,s);else{const i=en(),o=je();let d=zi(e)?e:Oe(e.provide),m=tf(e);const b=Nn(),N=1048575&b.providerIndexes,z=b.directiveStart,ne=b.providerIndexes>>20;if(zi(e)||!e.multi){const fe=new vr(m,s,Go),Se=wl(d,t,s?N:N+ne,z);-1===Se?(Oi(Vs(b,o),i,d),Cl(i,e,t.length),t.push(d),b.directiveStart++,b.directiveEnd++,s&&(b.providerIndexes+=1048576),n.push(fe),o.push(fe)):(n[Se]=fe,o[Se]=fe)}else{const fe=wl(d,t,N+ne,z),Se=wl(d,t,N,N+ne),ze=fe>=0&&n[fe],et=Se>=0&&n[Se];if(s&&!et||!s&&!ze){Oi(Vs(b,o),i,d);const mt=function zE(e,t,n,r,s){const i=new vr(e,n,Go);return i.multi=[],i.index=t,i.componentProviders=0,op(i,s,r&&!n),i}(s?GE:$E,n.length,s,r,m);!s&&et&&(n[Se].providerFactory=mt),Cl(i,e,t.length,0),t.push(d),b.directiveStart++,b.directiveEnd++,s&&(b.providerIndexes+=1048576),n.push(mt),o.push(mt)}else Cl(i,e,fe>-1?fe:Se,op(n[s?Se:fe],m,!s&&r));!s&&r&&et&&n[Se].componentProviders++}}}function Cl(e,t,n,r){const s=zi(t),i=function pv(e){return!!e.useClass}(t);if(s||i){const m=(i?Oe(t.useClass):t).prototype.ngOnDestroy;if(m){const b=e.destroyHooks||(e.destroyHooks=[]);if(!s&&t.multi){const N=b.indexOf(n);-1===N?b.push(n,[r,m]):b[N+1].push(r,m)}else b.push(n,m)}}}function op(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function wl(e,t,n,r){for(let s=n;s<r;s++)if(t[s]===e)return s;return-1}function $E(e,t,n,r){return Tl(this.multi,[])}function GE(e,t,n,r){const s=this.multi;let i;if(this.providerFactory){const o=this.providerFactory.componentProviders,d=re(n,n[1],this.providerFactory.index,r);i=d.slice(0,o),Tl(s,i);for(let m=o;m<d.length;m++)i.push(d[m])}else i=[],Tl(s,i);return i}function Tl(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function ap(e,t=[]){return n=>{n.providersResolver=(r,s)=>function VE(e,t,n){const r=en();if(r.firstCreatePass){const s=Ln(e);bl(n,r.data,r.blueprint,s,!0),bl(t,r.data,r.blueprint,s,!1)}}(r,s?s(e):e,t)}}class up{}class KE{resolveComponentFactory(t){throw function YE(e){const t=Error(`No component factory found for ${ae(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let ka=(()=>{class e{}return e.NULL=new KE,e})();function ZE(){return oo(Nn(),je())}function oo(e,t){return new Qo(un(e,t))}let Qo=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=ZE,e})();function QE(e){return e instanceof Qo?e.nativeElement:e}class cp{}let qE=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function XE(){const e=je(),n=xn(Nn().index,e);return function JE(e){return e[11]}(gr(n)?n:e)}(),e})(),eD=(()=>{class e{}return e.ɵprov=qt({token:e,providedIn:"root",factory:()=>null}),e})();class dp{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const tD=new dp("13.3.12"),Sl={};function ja(e,t,n,r,s=!1){for(;null!==n;){const i=t[n.index];if(null!==i&&r.push(jt(i)),Cn(i))for(let d=10;d<i.length;d++){const m=i[d],b=m[1].firstChild;null!==b&&ja(m[1],m,b,r)}const o=n.type;if(8&o)ja(e,t,n.child,r);else if(32&o){const d=au(n,t);let m;for(;m=d();)r.push(m)}else if(16&o){const d=Zc(t,n);if(Array.isArray(d))r.push(...d);else{const m=Oo(t[16]);ja(m[1],m,d,r,!0)}}n=s?n.projectionNext:n.next}return r}class qo{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 ja(n,t,n.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(Cn(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(fu(t,r),sa(n,r))}this._attachedToViewContainer=!1}Uc(this._lView[1],this._lView)}onDestroy(t){Ld(this._lView[1],this._lView,null,t)}markForCheck(){zu(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){!function Yu(e,t,n){const r=t[10];r.begin&&r.begin();try{$i(e,t,e.template,n)}catch(s){throw Zd(t,s),s}finally{r.end&&r.end()}}(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Ge(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function fm(e,t){Fo(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Ge(902,"");this._appRef=t}}class nD extends qo{constructor(t){super(t),this._view=t}detectChanges(){zd(this._view)}checkNoChanges(){}get context(){return null}}class fp extends ka{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=ct(t);return new Al(n,this.ngModule)}}function hp(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class Al extends up{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Dy(e){return e.map(Ey).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return hp(this.componentDef.inputs)}get outputs(){return hp(this.componentDef.outputs)}create(t,n,r,s){const i=(s=s||this.ngModule)?function sD(e,t){return{get:(n,r,s)=>{const i=e.get(n,Sl,s);return i!==Sl||r===Sl?i:t.get(n,r,s)}}}(t,s.injector):t,o=i.get(cp,fn),d=i.get(eD,null),m=o.createRenderer(null,this.componentDef),b=this.componentDef.selectors[0][0]||"div",N=r?function Fd(e,t,n){if(We(e))return e.selectRootElement(t,n===St.ShadowDom);let r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}(m,r,this.componentDef.encapsulation):du(o.createRenderer(null,this.componentDef),b,function rD(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?_:null}(b)),z=this.componentDef.onPush?576:528,ne=function pf(e,t){return{components:[],scheduler:e||uy,clean:iv,playerHandler:t||null,flags:0}}(),fe=_a(0,null,null,1,0,null,null,null,null,null),Se=Bo(null,fe,ne,z,null,null,o,m,d,i);let ze,et;Nr(Se);try{const mt=function ff(e,t,n,r,s,i){const o=n[1];n[20]=e;const m=Hi(o,20,2,"#host",null),b=m.mergedAttrs=t.hostAttrs;null!==b&&(Da(m,b,!0),null!==e&&(pi(s,e,b),null!==m.classes&&vu(s,e,m.classes),null!==m.styles&&qc(s,e,m.styles)));const N=r.createRenderer(e,t),z=Bo(n,Nd(t),null,t.onPush?64:16,n[20],m,r,N,i||null,null);return o.firstCreatePass&&(Oi(Vs(m,n),o,t.type),Hd(o,m),Vd(m,n.length,1)),Ea(n,z),n[20]=z}(N,this.componentDef,Se,o,m);if(N)if(r)pi(m,N,["ng-version",tD.full]);else{const{attrs:Ne,classes:It}=function by(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(!os(s))break;s=i}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);Ne&&pi(m,N,Ne),It&&It.length>0&&vu(m,N,It.join(" "))}if(et=Jn(fe,20),void 0!==n){const Ne=et.projection=[];for(let It=0;It<this.ngContentSelectors.length;It++){const rn=n[It];Ne.push(null!=rn?Array.from(rn):null)}}ze=function hf(e,t,n,r,s){const i=n[1],o=function $y(e,t,n){const r=Nn();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),$d(e,r,t,Vi(e,t,1,null),n));const s=re(t,e,r.directiveStart,r);_r(s,t);const i=un(r,t);return i&&_r(i,t),s}(i,n,t);if(r.components.push(o),e[8]=o,s&&s.forEach((m=>m(o,t))),t.contentQueries){const m=Nn();t.contentQueries(1,o,m.directiveStart)}const d=Nn();return!i.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(Ur(d.index),Bd(n[1],d,0,d.directiveStart,d.directiveEnd,t),Ud(t,o)),o}(mt,this.componentDef,Se,ne,[Tv]),Uo(fe,Se,null)}finally{yr()}return new oD(this.componentType,ze,oo(et,Se),Se,et)}}class oD extends class WE{}{constructor(t,n,r,s,i){super(),this.location=r,this._rootLView=s,this._tNode=i,this.instance=n,this.hostView=this.changeDetectorRef=new nD(s),this.componentType=t}get injector(){return new _t(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}class ao{}class pp{}const uo=new Map;class yp extends ao{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new fp(this);const r=Ue(t);this._bootstrapComponents=ws(r.bootstrap),this._r3Injector=ef(t,n,[{provide:ao,useValue:this},{provide:ka,useValue:this.componentFactoryResolver}],ae(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,n=Ss.THROW_IF_NOT_FOUND,r=L.Default){return t===Ss||t===ao||t===Zu?this:this._r3Injector.get(t,n,r)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach((n=>n())),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Ml extends pp{constructor(t){super(),this.moduleType=t,null!==Ue(t)&&function uD(e){const t=new Set;!function n(r){const s=Ue(r,!0),i=s.id;null!==i&&(function gp(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${ae(t)} vs ${ae(t.name)}`)}(i,uo.get(i),r),uo.set(i,r));const o=ws(s.imports);for(const d of o)t.has(d)||(t.add(d),n(d))}(e)}(t)}create(t){return new yp(this.moduleType,t)}}function vp(e,t,n,r){return _p(je(),Y(),e,t,n,r)}function _p(e,t,n,r,s,i){const o=t+n;return Er(e,o,s)?function As(e,t,n){return e[t]=n}(e,o+1,i?r.call(i,s):r(s)):function Jo(e,t){const n=e[t];return n===Wt?void 0:n}(e,o+1)}function wp(e,t){const n=en();let r;const s=e+20;n.firstCreatePass?(r=function vD(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=Cr(r.type)),o=me(Go);try{const d=Ni(!1),m=i();return Ni(d),function kv(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,je(),s,m),m}finally{me(o)}}function Tp(e,t,n){const r=e+20,s=je(),i=function wr(e,t){return e[t]}(s,r);return function Xo(e,t){return e[1].data[t].pure}(s,r)?_p(s,Y(),t,i.transform,n,i):i.transform(n)}function Il(e){return t=>{setTimeout(e,void 0,t)}}const Ps=class CD extends M.xQ{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 m=t;s=m.next?.bind(m),i=m.error?.bind(m),o=m.complete?.bind(m)}this.__isAsync&&(i=Il(i),s&&(s=Il(s)),o&&(o=Il(o)));const d=super.subscribe({next:s,error:i,complete:o});return t instanceof x.w&&t.add(d),d}};function wD(){return this._results[Wi()]()}class Pl{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=Wi(),r=Pl.prototype;r[n]||(r[n]=wD)}get changes(){return this._changes||(this._changes=new Ps)}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=qr(t);(this._changesDetected=!function Ag(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()}}Symbol;let ea=(()=>{class e{}return e.__NG_ELEMENT_ID__=AD,e})();const TD=ea,SD=class extends TD{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t){const n=this._declarationTContainer.tViews,r=Bo(this._declarationLView,n,t,16,null,n.declTNode,null,null,null,null);r[17]=this._declarationLView[this._declarationTContainer.index];const i=this._declarationLView[19];return null!==i&&(r[19]=i.createEmbeddedView(n)),Uo(n,r,t),new qo(r)}};function AD(){return Ba(Nn(),je())}function Ba(e,t){return 4&e.type?new SD(t,e,oo(e,t)):null}let Ua=(()=>{class e{}return e.__NG_ELEMENT_ID__=MD,e})();function MD(){return Mp(Nn(),je())}const ID=Ua,Sp=class extends ID{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return oo(this._hostTNode,this._hostLView)}get injector(){return new _t(this._hostTNode,this._hostLView)}get parentInjector(){const t=mi(this._hostTNode,this._hostLView);if(vo(t)){const n=ni(t,this._hostLView),r=ti(t);return new _t(n[1].data[r+8],n)}return new _t(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Ap(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){const s=t.createEmbeddedView(n||{});return this.insert(s,r),s}createComponent(t,n,r,s,i){const o=t&&!function To(e){return"function"==typeof e}(t);let d;if(o)d=n;else{const z=n||{};d=z.index,r=z.injector,s=z.projectableNodes,i=z.ngModuleRef}const m=o?t:new Al(ct(t)),b=r||this.parentInjector;if(!i&&null==m.ngModule){const ne=(o?b:this.parentInjector).get(ao,null);ne&&(i=ne)}const N=m.create(b,s,void 0,i);return this.insert(N.hostView,d),N}insert(t,n){const r=t._lView,s=r[1];if(function rs(e){return Cn(e[3])}(r)){const N=this.indexOf(t);if(-1!==N)this.detach(N);else{const z=r[3],ne=new Sp(z,z[6],z[3]);ne.detach(ne.indexOf(t))}}const i=this._adjustIndex(n),o=this._lContainer;!function pm(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],mc(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const o=t[17];null!==o&&n!==o&&function gm(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 d=t[19];null!==d&&d.insertView(e),t[2]|=128}(s,r,o,i);const d=gu(i,o),m=r[11],b=la(m,o[7]);return null!==b&&function dm(e,t,n,r,s,i){r[0]=s,r[6]=t,Fo(e,r,n,1,s,i)}(s,o[6],m,r,b,d),t.attachToViewContainerRef(),mc(xl(o),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Ap(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=fu(this._lContainer,n);r&&(sa(xl(this._lContainer),n),Uc(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=fu(this._lContainer,n);return r&&null!=sa(xl(this._lContainer),n)?new qo(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Ap(e){return e[8]}function xl(e){return e[8]||(e[8]=[])}function Mp(e,t){let n;const r=t[e.index];if(Cn(r))n=r;else{let s;if(8&e.type)s=jt(r);else{const i=t[11];s=i.createComment("");const o=un(e,t);yi(i,la(i,o),s,function _m(e,t){return We(e)?e.nextSibling(t):t.nextSibling}(i,o),!1)}t[e.index]=n=Gd(r,t,s,e),Ea(t,n)}return new Sp(n,e,t)}class Rl{constructor(t){this.queryList=t,this.matches=null}clone(){return new Rl(this.queryList)}setDirty(){this.queryList.setDirty()}}class Nl{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 Nl(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!==kp(t,n).matches&&this.queries[n].setDirty()}}class Ip{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class Ol{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 Ol(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 Fl{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 Fl(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,RD(n,i)),this.matchTNodeWithReadOption(t,n,W(n,t,i,!1,!1))}else r===ea?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,W(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const s=this.metadata.read;if(null!==s)if(s===Qo||s===Ua||s===ea&&4&n.type)this.addMatch(n.index,-2);else{const i=W(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 RD(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 OD(e,t,n,r){return-1===n?function ND(e,t){return 11&e.type?oo(e,t):4&e.type?Ba(e,t):null}(t,e):-2===n?function FD(e,t,n){return n===Qo?oo(t,e):n===ea?Ba(t,e):n===Ua?Mp(t,e):void 0}(e,t,r):re(e,e[1],n,t)}function Pp(e,t,n,r){const s=t[19].queries[r];if(null===s.matches){const i=e.data,o=n.matches,d=[];for(let m=0;m<o.length;m+=2){const b=o[m];d.push(b<0?null:OD(t,i[b],o[m+1],n.metadata.read))}s.matches=d}return s.matches}function Ll(e,t,n,r){const s=e.queries.getByIndex(n),i=s.matches;if(null!==i){const o=Pp(e,t,s,n);for(let d=0;d<i.length;d+=2){const m=i[d];if(m>0)r.push(o[d/2]);else{const b=i[d+1],N=t[-m];for(let z=10;z<N.length;z++){const ne=N[z];ne[17]===ne[3]&&Ll(ne[1],ne,b,r)}if(null!==N[9]){const z=N[9];for(let ne=0;ne<z.length;ne++){const fe=z[ne];Ll(fe[1],fe,b,r)}}}}}return r}function xp(e){const t=je(),n=en(),r=On();Fn(r+1);const s=kp(n,r);if(e.dirty&&ks(t)===(2==(2&s.metadata.flags))){if(null===s.matches)e.reset([]);else{const i=s.crossesNgTemplate?Ll(n,t,r,[]):Pp(n,t,s,r);e.reset(i,QE),e.notifyOnChanges()}return!0}return!1}function Rp(e,t,n){const r=en();r.firstCreatePass&&(Lp(r,new Ip(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),Fp(r,je(),t)}function Np(e,t,n,r){const s=en();if(s.firstCreatePass){const i=Nn();Lp(s,new Ip(t,n,r),i.index),function kD(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)}Fp(s,je(),n)}function Op(){return function LD(e,t){return e[19].queries[t].queryList}(je(),On())}function Fp(e,t,n){const r=new Pl(4==(4&n));Ld(e,t,r,r.destroy),null===t[19]&&(t[19]=new Nl),t[19].queries.push(new Rl(r))}function Lp(e,t,n){null===e.queries&&(e.queries=new Ol),e.queries.track(new Fl(t,n))}function kp(e,t){return e.queries.getByIndex(t)}function $a(...e){}const eg=new Un("Application Initializer");let Vl=(()=>{class e{constructor(n){this.appInits=n,this.resolve=$a,this.reject=$a,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(fl(i))n.push(i);else if(Uf(i)){const o=new Promise(((d,m)=>{i.subscribe({complete:d,error:m})}));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)(pr(eg,8))},e.ɵprov=qt({token:e,factory:e.ɵfac,providedIn:"root"}),e})();const tg=new Un("AppId",{providedIn:"root",factory:function ng(){return`${$l()}${$l()}${$l()}`}});function $l(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const rg=new Un("Platform Initializer"),t0=new Un("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),sg=new Un("appBootstrapListener");let n0=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.ɵfac=function(n){return new(n||e)},e.ɵprov=qt({token:e,factory:e.ɵfac,providedIn:"platform"}),e})();const Gl=new Un("LocaleId",{providedIn:"root",factory:()=>Ug(Gl,L.Optional|L.SkipSelf)||function r0(){return typeof $localize<"u"&&$localize.locale||Ra}()}),s0=new Un("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class o0{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let a0=(()=>{class e{compileModuleSync(n){return new Ml(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),i=ws(Ue(n).declarations).reduce(((o,d)=>{const m=ct(d);return m&&o.push(new Al(m)),o}),[]);return new o0(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=qt({token:e,factory:e.ɵfac,providedIn:"root"}),e})();const l0=(()=>Promise.resolve(0))();function zl(e){typeof Zone>"u"?l0.then((()=>{e&&e.apply(null,null)})):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class ds{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ps(!1),this.onMicrotaskEmpty=new Ps(!1),this.onStable=new Ps(!1),this.onError=new Ps(!1),typeof Zone>"u")throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,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 c0(){let e=Re.requestAnimationFrame,t=Re.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 h0(e){const t=()=>{!function f0(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Re,(()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",(()=>{e.lastRequestAnimationFrameId=-1,Yl(e),e.isCheckStableRunning=!0,Wl(e),e.isCheckStableRunning=!1}),void 0,(()=>{}),(()=>{}))),e.fakeTopEventTask.invoke()})),Yl(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,s,i,o,d)=>{try{return ig(e),n.invokeTask(s,i,o,d)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),og(e)}},onInvoke:(n,r,s,i,o,d,m)=>{try{return ig(e),n.invoke(s,i,o,d,m)}finally{e.shouldCoalesceRunChangeDetection&&t(),og(e)}},onHasTask:(n,r,s,i)=>{n.hasTask(s,i),r===s&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Yl(e),Wl(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(!ds.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(ds.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}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,d0,$a,$a);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 d0={};function Wl(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 Yl(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function ig(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function og(e){e._nesting--,Wl(e)}class p0{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ps,this.onMicrotaskEmpty=new Ps,this.onStable=new Ps,this.onError=new Ps}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)}}let ag=(()=>{class e{constructor(n){this._ngZone=n,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,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:()=>{ds.assertNotInAngularZone(),zl((()=>{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())zl((()=>{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}findProviders(n,r,s){return[]}}return e.ɵfac=function(n){return new(n||e)(pr(ds))},e.ɵprov=qt({token:e,factory:e.ɵfac}),e})(),g0=(()=>{class e{constructor(){this._applications=new Map,Kl.addToWindow(this)}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 Kl.findTestabilityInTree(this,n,r)}}return e.ɵfac=function(n){return new(n||e)},e.ɵprov=qt({token:e,factory:e.ɵfac,providedIn:"platform"}),e})();class m0{addToWindow(t){}findTestabilityInTree(t,n,r){return null}}function y0(e){Kl=e}let Kl=new m0,na=null;const ug=new Un("AllowMultipleToken"),lg=new Un("PlatformOnDestroy");class E0{constructor(t,n){this.name=t,this.token=n}}function cg(e,t,n=[]){const r=`Platform: ${t}`,s=new Un(r);return(i=[])=>{let o=Zl();if(!o||o.injector.get(ug,!1)){const d=[...n,...i,{provide:s,useValue:!0}];e?e(d):function D0(e){if(na&&!na.get(ug,!1))throw new Ge(400,"");na=e;const t=e.get(dg),n=e.get(rg,null);n&&n.forEach((r=>r()))}(function C0(e=[],t){return Ss.create({name:t,providers:[{provide:Qu,useValue:"platform"},{provide:lg,useValue:()=>na=null},...e]})}(d,r))}return function b0(e){const t=Zl();if(!t)throw new Ge(401,"");return t}()}}function Zl(){return na?.get(dg)??null}let dg=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const d=function w0(e,t){let n;return n="noop"===e?new p0:("zone.js"===e?void 0:e)||new ds({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!t?.ngZoneEventCoalescing,shouldCoalesceRunChangeDetection:!!t?.ngZoneRunCoalescing}),n}(r?r.ngZone:void 0,{ngZoneEventCoalescing:r&&r.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:r&&r.ngZoneRunCoalescing||!1}),m=[{provide:ds,useValue:d}];return d.run((()=>{const b=Ss.create({providers:m,parent:this.injector,name:n.moduleType.name}),N=n.create(b),z=N.injector.get(ga,null);if(!z)throw new Ge(402,"");return d.runOutsideAngular((()=>{const ne=d.onError.subscribe({next:fe=>{z.handleError(fe)}});N.onDestroy((()=>{ql(this._modules,N),ne.unsubscribe()}))})),function T0(e,t,n){try{const r=n();return fl(r)?r.catch((s=>{throw t.runOutsideAngular((()=>e.handleError(s))),s})):r}catch(r){throw t.runOutsideAngular((()=>e.handleError(r))),r}}(z,d,(()=>{const ne=N.injector.get(Vl);return ne.runInitializers(),ne.donePromise.then((()=>(function q_(e){Ft(e,"Expected localeId to be defined"),"string"==typeof e&&(Lh=e.toLowerCase().replace(/_/g,"-"))}(N.injector.get(Gl,Ra)||Ra),this._moduleDoBootstrap(N),N)))}))}))}bootstrapModule(n,r=[]){const s=fg({},r);return function v0(e,t,n){const r=new Ml(n);return Promise.resolve(r)}(0,0,n).then((i=>this.bootstrapModuleFactory(i,s)))}_moduleDoBootstrap(n){const r=n.injector.get(Ql);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach((s=>r.bootstrap(s)));else{if(!n.instance.ngDoBootstrap)throw new Ge(403,"");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 Ge(404,"");this._modules.slice().forEach((r=>r.destroy())),this._destroyListeners.forEach((r=>r())),this._injector.get(lg,null)?.(),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.ɵfac=function(n){return new(n||e)(pr(Ss))},e.ɵprov=qt({token:e,factory:e.ɵfac,providedIn:"platform"}),e})();function fg(e,t){return Array.isArray(t)?t.reduce(fg,e):{...e,...t}}let Ql=(()=>{class e{constructor(n,r,s,i){this._zone=n,this._injector=r,this._exceptionHandler=s,this._initStatus=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run((()=>{this.tick()}))}});const o=new h.y((m=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular((()=>{m.next(this._stable),m.complete()}))})),d=new h.y((m=>{let b;this._zone.runOutsideAngular((()=>{b=this._zone.onStable.subscribe((()=>{ds.assertNotInAngularZone(),zl((()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,m.next(!0))}))}))}));const N=this._zone.onUnstable.subscribe((()=>{ds.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular((()=>{m.next(!1)})))}));return()=>{b.unsubscribe(),N.unsubscribe()}}));this.isStable=function C(...e){let t=Number.POSITIVE_INFINITY,n=null,r=e[e.length-1];return(0,p.K)(r)?(n=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(t=e.pop())):"number"==typeof r&&(t=e.pop()),null===n&&1===e.length&&e[0]instanceof h.y?e[0]:(0,A.J)(t)((0,T.n)(e,n))}(o,d.pipe(function X(){return e=>(0,F.x)()(function B(e,t){return function(r){let s;if(s="function"==typeof e?e:function(){return e},"function"==typeof t)return r.lift(new I(s,t));const i=Object.create(r,P.N);return i.source=r,i.subjectFactory=s,i}}($)(e))}()))}bootstrap(n,r){if(!this._initStatus.done)throw new Ge(405,"");let s;s=n instanceof up?n:this._injector.get(ka).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const i=function _0(e){return e.isBoundToModule}(s)?void 0:this._injector.get(ao),d=s.create(Ss.NULL,[],r||s.selector,i),m=d.location.nativeElement,b=d.injector.get(ag,null),N=b&&d.injector.get(g0);return b&&N&&N.registerApplication(m,b),d.onDestroy((()=>{this.detachView(d.hostView),ql(this.components,d),N&&N.unregisterApplication(m)})),this._loadComponent(d),d}tick(){if(this._runningTick)throw new Ge(101,"");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;ql(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(sg,[]).concat(this._bootstrapListeners).forEach((s=>s(n)))}ngOnDestroy(){this._views.slice().forEach((n=>n.destroy())),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return e.ɵfac=function(n){return new(n||e)(pr(ds),pr(Ss),pr(ga),pr(Vl))},e.ɵprov=qt({token:e,factory:e.ɵfac,providedIn:"root"}),e})();function ql(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let pg=!0;function A0(){pg=!1}let M0=(()=>{class e{}return e.__NG_ELEMENT_ID__=I0,e})();function I0(e){return function P0(e,t,n){if(Pr(e)&&!n){const r=xn(e.index,t);return new qo(r,r)}return 47&e.type?new qo(t[16],t):null}(Nn(),je(),16==(16&e))}class _g{constructor(){}supports(t){return Vo(t)}create(t){return new L0(t)}}const F0=(e,t)=>t;class L0{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||F0}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<Dg(r,s,i)?n:r,d=Dg(o,s,i),m=o.currentIndex;if(o===r)s--,r=r._nextRemoved;else if(n=n._next,null==o.previousIndex)s++;else{i||(i=[]);const b=d-s,N=m-s;if(b!=N){for(let ne=0;ne<b;ne++){const fe=ne<i.length?i[ne]:i[ne]=0,Se=fe+ne;N<=Se&&Se<b&&(i[ne]=fe+1)}i[o.previousIndex]=N-b}}d!==m&&t(o,d,m)}}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=[]),!Vo(t))throw new Ge(900,"");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 d=0;d<this.length;d++)i=t[d],o=this._trackByFn(d,i),null!==n&&Object.is(n.trackById,o)?(r&&(n=this._verifyReinsertion(n,i,o,d)),Object.is(n.item,i)||this._addIdentityChange(n,i)):(n=this._mismatch(n,i,o,d),r=!0),n=n._next}else s=0,function Fv(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Wi()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,(d=>{o=this._trackByFn(s,d),null!==n&&Object.is(n.trackById,o)?(r&&(n=this._verifyReinsertion(n,d,o,s)),Object.is(n.item,d)||this._addIdentityChange(n,d)):(n=this._mismatch(n,d,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 k0(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 Eg),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 Eg),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 k0{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 j0{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 Eg{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new j0,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 Dg(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 bg{constructor(){}supports(t){return t instanceof Map||rl(t)}create(){return new B0}}class B0{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||rl(t)))throw new Ge(900,"")}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 U0(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 U0{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 Cg(){return new nc([new _g])}let nc=(()=>{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||Cg()),deps:[[e,new xo,new Po]]}}find(n){const r=this.factories.find((s=>s.supports(n)));if(null!=r)return r;throw new Ge(901,"")}}return e.ɵprov=qt({token:e,providedIn:"root",factory:Cg}),e})();function wg(){return new rc([new bg])}let rc=(()=>{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||wg()),deps:[[e,new xo,new Po]]}}find(n){const r=this.factories.find((i=>i.supports(n)));if(r)return r;throw new Ge(901,"")}}return e.ɵprov=qt({token:e,providedIn:"root",factory:wg}),e})();const $0=cg(null,"core",[]);let G0=(()=>{class e{constructor(n){}}return e.ɵfac=function(n){return new(n||e)(pr(Ql))},e.ɵmod=Xe({type:e}),e.ɵinj=In({}),e})()},8746:(j,w,f)=>{"use strict";f.d(w,{PW:()=>Kr});var h=f(6738),p=f(1481),A=f(7340);const T=!1;function M(S){return new h.vHH(3e3,T)}function An(){return typeof window<"u"&&typeof window.document<"u"}function Tn(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function Ft(S){switch(S.length){case 0:return new A.ZN;case 1:return S[0];default:return new A.ZE(S)}}function Lt(S,a,c,y,R={},V={}){const Y=[],q=[];let pe=-1,we=null;if(y.forEach((Qe=>{const vt=Qe.offset,Bt=vt==pe,Zt=Bt&&we||{};Object.keys(Qe).forEach((Mt=>{let Ht=Mt,ln=Qe[Mt];if("offset"!==Mt)switch(Ht=a.normalizePropertyName(Ht,Y),ln){case A.k1:ln=R[Mt];break;case A.l3:ln=V[Mt];break;default:ln=a.normalizeStyleValue(Mt,Ht,ln,Y)}Zt[Ht]=ln})),Bt||q.push(Zt),we=Zt,pe=vt})),Y.length)throw function ke(S){return new h.vHH(3502,T)}();return q}function ir(S,a,c,y){switch(a){case"start":S.onStart((()=>y(c&&Dr(c,"start",S))));break;case"done":S.onDone((()=>y(c&&Dr(c,"done",S))));break;case"destroy":S.onDestroy((()=>y(c&&Dr(c,"destroy",S))))}}function Dr(S,a,c){const V=Vn(S.element,S.triggerName,S.fromState,S.toState,a||S.phaseName,c.totalTime??S.totalTime,!!c.disabled),Y=S._data;return null!=Y&&(V._data=Y),V}function Vn(S,a,c,y,R="",V=0,Y){return{element:S,triggerName:a,fromState:c,toState:y,phaseName:R,totalTime:V,disabled:!!Y}}function qt(S,a,c){let y;return S instanceof Map?(y=S.get(a),y||S.set(a,y=c)):(y=S[a],y||(y=S[a]=c)),y}function $n(S){const a=S.indexOf(":");return[S.substring(1,a),S.substr(a+1)]}let In=(S,a)=>!1,hn=(S,a,c)=>[],pn=null;function Gr(S){const a=S.parentNode||S.host;return a===pn?null:a}(Tn()||typeof Element<"u")&&(An()?(pn=(()=>document.documentElement)(),In=(S,a)=>{for(;a;){if(a===S)return!0;a=Gr(a)}return!1}):In=(S,a)=>S.contains(a),hn=(S,a,c)=>{if(c)return Array.from(S.querySelectorAll(a));const y=S.querySelector(a);return y?[y]:[]});let J=null,he=!1;function K(S){J||(J=function H(){return typeof document<"u"?document.body:null}()||{},he=!!J.style&&"WebkitAppearance"in J.style);let a=!0;return J.style&&!function or(S){return"ebkit"==S.substring(1,6)}(S)&&(a=S in J.style,!a&&he&&(a="Webkit"+S.charAt(0).toUpperCase()+S.substr(1)in J.style)),a}const L=In,oe=hn;let me=(()=>{class S{validateStyleProperty(c){return K(c)}matchesElement(c,y){return!1}containsElement(c,y){return L(c,y)}getParentElement(c){return Gr(c)}query(c,y,R){return oe(c,y,R)}computeStyle(c,y,R){return R||""}animate(c,y,R,V,Y,q=[],pe){return new A.ZN(R,V)}}return S.ɵfac=function(c){return new(c||S)},S.ɵprov=h.Yz7({token:S,factory:S.ɵfac}),S})(),Ae=(()=>{class S{}return S.NOOP=new me,S})();const Tt="ng-enter",gt="ng-leave",St="ng-trigger",Ze=".ng-trigger",Ut="ng-animating",Be=".ng-animating";function Dt(S){if("number"==typeof S)return S;const a=S.match(/^(-?[\.\d]+)(m?s)/);return!a||a.length<2?0:Re(parseFloat(a[1]),a[2])}function Re(S,a){return"s"===a?1e3*S:S}function cn(S,a,c){return S.hasOwnProperty("duration")?S:function Yt(S,a,c){let R,V=0,Y="";if("string"==typeof S){const q=S.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===q)return a.push(M()),{duration:0,delay:0,easing:""};R=Re(parseFloat(q[1]),q[2]);const pe=q[3];null!=pe&&(V=Re(parseFloat(pe),q[4]));const we=q[5];we&&(Y=we)}else R=S;if(!c){let q=!1,pe=a.length;R<0&&(a.push(function x(){return new h.vHH(3100,T)}()),q=!0),V<0&&(a.push(function P(){return new h.vHH(3101,T)}()),q=!0),q&&a.splice(pe,0,M())}return{duration:R,delay:V,easing:Y}}(S,a,c)}function Jt(S,a={}){return Object.keys(S).forEach((c=>{a[c]=S[c]})),a}function st(S,a,c={}){if(a)for(let y in S)c[y]=S[y];else Jt(S,c);return c}function kt(S,a,c){return c?a+":"+c+";":""}function Je(S){let a="";for(let c=0;c<S.style.length;c++){const y=S.style.item(c);a+=kt(0,y,S.style.getPropertyValue(y))}for(const c in S.style)S.style.hasOwnProperty(c)&&!c.startsWith("_")&&(a+=kt(0,Ke(c),S.style[c]));S.setAttribute("style",a)}function At(S,a,c){S.style&&(Object.keys(a).forEach((y=>{const R=Xe(y);c&&!c.hasOwnProperty(y)&&(c[y]=S.style[R]),S.style[R]=a[y]})),Tn()&&Je(S))}function lt(S,a){S.style&&(Object.keys(a).forEach((c=>{const y=Xe(c);S.style[y]=""})),Tn()&&Je(S))}function gn(S){return Array.isArray(S)?1==S.length?S[0]:(0,A.vP)(S):S}const Q=new RegExp("{{\\s*(.+?)\\s*}}","g");function G(S){let a=[];if("string"==typeof S){let c;for(;c=Q.exec(S);)a.push(c[1]);Q.lastIndex=0}return a}function le(S,a,c){const y=S.toString(),R=y.replace(Q,((V,Y)=>{let q=a[Y];return a.hasOwnProperty(Y)||(c.push(function I(S){return new h.vHH(3003,T)}()),q=""),q.toString()}));return R==y?S:R}function Te(S){const a=[];let c=S.next();for(;!c.done;)a.push(c.value),c=S.next();return a}const tt=/-+([a-z0-9])/g;function Xe(S){return S.replace(tt,((...a)=>a[1].toUpperCase()))}function Ke(S){return S.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function ut(S,a,c){switch(a.type){case 7:return S.visitTrigger(a,c);case 0:return S.visitState(a,c);case 1:return S.visitTransition(a,c);case 2:return S.visitSequence(a,c);case 3:return S.visitGroup(a,c);case 4:return S.visitAnimate(a,c);case 5:return S.visitKeyframes(a,c);case 6:return S.visitStyle(a,c);case 8:return S.visitReference(a,c);case 9:return S.visitAnimateChild(a,c);case 10:return S.visitAnimateRef(a,c);case 11:return S.visitQuery(a,c);case 12:return S.visitStagger(a,c);default:throw function F(S){return new h.vHH(3004,T)}()}}function ct(S,a){return window.getComputedStyle(S)[a]}function Pt(S,a){const c=[];return"string"==typeof S?S.split(/\s*,\s*/).forEach((y=>function dt(S,a,c){if(":"==S[0]){const pe=function bt(S,a){switch(S){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(c,y)=>parseFloat(y)>parseFloat(c);case":decrement":return(c,y)=>parseFloat(y)<parseFloat(c);default:return a.push(function at(S){return new h.vHH(3016,T)}()),"* => *"}}(S,c);if("function"==typeof pe)return void a.push(pe);S=pe}const y=S.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==y||y.length<4)return c.push(function Ve(S){return new h.vHH(3015,T)}()),a;const R=y[1],V=y[2],Y=y[3];a.push(Gn(R,Y));"<"==V[0]&&!("*"==R&&"*"==Y)&&a.push(Gn(Y,R))}(y,c,a))):c.push(S),c}const Et=new Set(["true","1"]),zt=new Set(["false","0"]);function Gn(S,a){const c=Et.has(S)||zt.has(S),y=Et.has(a)||zt.has(a);return(R,V)=>{let Y="*"==S||S==R,q="*"==a||a==V;return!Y&&c&&"boolean"==typeof R&&(Y=R?Et.has(S):zt.has(S)),!q&&y&&"boolean"==typeof V&&(q=V?Et.has(a):zt.has(a)),Y&&q}}const dr=new RegExp("s*:selfs*,?","g");function ar(S,a,c,y){return new fr(S).build(a,c,y)}class fr{constructor(a){this._driver=a}build(a,c,y){const R=new tr(c);this._resetContextStyleTimingState(R);const V=ut(this,gn(a),R);return R.unsupportedCSSPropertiesFound.size&&R.unsupportedCSSPropertiesFound.keys(),V}_resetContextStyleTimingState(a){a.currentQuerySelector="",a.collectedStyles={},a.collectedStyles[""]={},a.currentTime=0}visitTrigger(a,c){let y=c.queryCount=0,R=c.depCount=0;const V=[],Y=[];return"@"==a.name.charAt(0)&&c.errors.push(function X(){return new h.vHH(3006,T)}()),a.definitions.forEach((q=>{if(this._resetContextStyleTimingState(c),0==q.type){const pe=q,we=pe.name;we.toString().split(/\s*,\s*/).forEach((Qe=>{pe.name=Qe,V.push(this.visitState(pe,c))})),pe.name=we}else if(1==q.type){const pe=this.visitTransition(q,c);y+=pe.queryCount,R+=pe.depCount,Y.push(pe)}else c.errors.push(function Z(){return new h.vHH(3007,T)}())})),{type:7,name:a.name,states:V,transitions:Y,queryCount:y,depCount:R,options:null}}visitState(a,c){const y=this.visitStyle(a.styles,c),R=a.options&&a.options.params||null;if(y.containsDynamicStyles){const V=new Set,Y=R||{};y.styles.forEach((q=>{if(tn(q)){const pe=q;Object.keys(pe).forEach((we=>{G(pe[we]).forEach((Qe=>{Y.hasOwnProperty(Qe)||V.add(Qe)}))}))}})),V.size&&(Te(V.values()),c.errors.push(function ie(S,a){return new h.vHH(3008,T)}()))}return{type:0,name:a.name,style:y,options:R?{params:R}:null}}visitTransition(a,c){c.queryCount=0,c.depCount=0;const y=ut(this,gn(a.animation),c);return{type:1,matchers:Pt(a.expr,c.errors),animation:y,queryCount:c.queryCount,depCount:c.depCount,options:zn(a.options)}}visitSequence(a,c){return{type:2,steps:a.steps.map((y=>ut(this,y,c))),options:zn(a.options)}}visitGroup(a,c){const y=c.currentTime;let R=0;const V=a.steps.map((Y=>{c.currentTime=y;const q=ut(this,Y,c);return R=Math.max(R,c.currentTime),q}));return c.currentTime=R,{type:3,steps:V,options:zn(a.options)}}visitAnimate(a,c){const y=function zr(S,a){if(S.hasOwnProperty("duration"))return S;if("number"==typeof S)return Wn(cn(S,a).duration,0,"");const c=S;if(c.split(/\s+/).some((V=>"{"==V.charAt(0)&&"{"==V.charAt(1)))){const V=Wn(0,0,"");return V.dynamic=!0,V.strValue=c,V}const R=cn(c,a);return Wn(R.duration,R.delay,R.easing)}(a.timings,c.errors);c.currentAnimateTimings=y;let R,V=a.styles?a.styles:(0,A.oB)({});if(5==V.type)R=this.visitKeyframes(V,c);else{let Y=a.styles,q=!1;if(!Y){q=!0;const we={};y.easing&&(we.easing=y.easing),Y=(0,A.oB)(we)}c.currentTime+=y.duration+y.delay;const pe=this.visitStyle(Y,c);pe.isEmptyStep=q,R=pe}return c.currentAnimateTimings=null,{type:4,timings:y,style:R,options:null}}visitStyle(a,c){const y=this._makeStyleAst(a,c);return this._validateStyleAst(y,c),y}_makeStyleAst(a,c){const y=[];Array.isArray(a.styles)?a.styles.forEach((Y=>{"string"==typeof Y?Y==A.l3?y.push(Y):c.errors.push(function ae(S){return new h.vHH(3002,T)}()):y.push(Y)})):y.push(a.styles);let R=!1,V=null;return y.forEach((Y=>{if(tn(Y)){const q=Y,pe=q.easing;if(pe&&(V=pe,delete q.easing),!R)for(let we in q)if(q[we].toString().indexOf("{{")>=0){R=!0;break}}})),{type:6,styles:y,easing:V,offset:a.offset,containsDynamicStyles:R,options:null}}_validateStyleAst(a,c){const y=c.currentAnimateTimings;let R=c.currentTime,V=c.currentTime;y&&V>0&&(V-=y.duration+y.delay),a.styles.forEach((Y=>{"string"!=typeof Y&&Object.keys(Y).forEach((q=>{if(!this._driver.validateStyleProperty(q))return delete Y[q],void c.unsupportedCSSPropertiesFound.add(q);const pe=c.collectedStyles[c.currentQuerySelector],we=pe[q];let Qe=!0;we&&(V!=R&&V>=we.startTime&&R<=we.endTime&&(c.errors.push(function ot(S,a,c,y,R){return new h.vHH(3010,T)}()),Qe=!1),V=we.startTime),Qe&&(pe[q]={startTime:V,endTime:R}),c.options&&function ue(S,a,c){const y=a.params||{},R=G(S);R.length&&R.forEach((V=>{y.hasOwnProperty(V)||c.push(function B(S){return new h.vHH(3001,T)}())}))}(Y[q],c.options,c.errors)}))}))}visitKeyframes(a,c){const y={type:5,styles:[],options:null};if(!c.currentAnimateTimings)return c.errors.push(function xe(){return new h.vHH(3011,T)}()),y;let V=0;const Y=[];let q=!1,pe=!1,we=0;const Qe=a.steps.map((On=>{const Fn=this._makeStyleAst(On,c);let Xn=null!=Fn.offset?Fn.offset:function Bn(S){if("string"==typeof S)return null;let a=null;if(Array.isArray(S))S.forEach((c=>{if(tn(c)&&c.hasOwnProperty("offset")){const y=c;a=parseFloat(y.offset),delete y.offset}}));else if(tn(S)&&S.hasOwnProperty("offset")){const c=S;a=parseFloat(c.offset),delete c.offset}return a}(Fn.styles),Kn=0;return null!=Xn&&(V++,Kn=Fn.offset=Xn),pe=pe||Kn<0||Kn>1,q=q||Kn<we,we=Kn,Y.push(Kn),Fn}));pe&&c.errors.push(function Oe(){return new h.vHH(3012,T)}()),q&&c.errors.push(function $e(){return new h.vHH(3200,T)}());const vt=a.steps.length;let Bt=0;V>0&&V<vt?c.errors.push(function Ee(){return new h.vHH(3202,T)}()):0==V&&(Bt=1/(vt-1));const Zt=vt-1,Mt=c.currentTime,Ht=c.currentAnimateTimings,ln=Ht.duration;return Qe.forEach(((On,Fn)=>{const Xn=Bt>0?Fn==Zt?1:Bt*Fn:Y[Fn],Kn=Xn*ln;c.currentTime=Mt+Ht.delay+Kn,Ht.duration=Kn,this._validateStyleAst(On,c),On.offset=Xn,y.styles.push(On)})),y}visitReference(a,c){return{type:8,animation:ut(this,gn(a.animation),c),options:zn(a.options)}}visitAnimateChild(a,c){return c.depCount++,{type:9,options:zn(a.options)}}visitAnimateRef(a,c){return{type:10,animation:this.visitReference(a.animation,c),options:zn(a.options)}}visitQuery(a,c){const y=c.currentQuerySelector,R=a.options||{};c.queryCount++,c.currentQuery=a;const[V,Y]=function Pn(S){const a=!!S.split(/\s*,\s*/).find((c=>":self"==c));return a&&(S=S.replace(dr,"")),S=S.replace(/@\*/g,Ze).replace(/@\w+/g,(c=>Ze+"-"+c.substr(1))).replace(/:animating/g,Be),[S,a]}(a.selector);c.currentQuerySelector=y.length?y+" "+V:V,qt(c.collectedStyles,c.currentQuerySelector,{});const q=ut(this,gn(a.animation),c);return c.currentQuery=null,c.currentQuerySelector=y,{type:11,selector:V,limit:R.limit||0,optional:!!R.optional,includeSelf:Y,animation:q,originalSelector:a.selector,options:zn(a.options)}}visitStagger(a,c){c.currentQuery||c.errors.push(function Ge(){return new h.vHH(3013,T)}());const y="full"===a.timings?{duration:0,delay:0,easing:"full"}:cn(a.timings,c.errors,!0);return{type:12,animation:ut(this,gn(a.animation),c),timings:y,options:null}}}class tr{constructor(a){this.errors=a,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function tn(S){return!Array.isArray(S)&&"object"==typeof S}function zn(S){return S?(S=Jt(S)).params&&(S.params=function hr(S){return S?Jt(S):null}(S.params)):S={},S}function Wn(S,a,c){return{duration:S,delay:a,easing:c}}function qn(S,a,c,y,R,V,Y=null,q=!1){return{type:1,element:S,keyframes:a,preStyleProps:c,postStyleProps:y,duration:R,delay:V,totalTime:R+V,easing:Y,subTimeline:q}}class br{constructor(){this._map=new Map}get(a){return this._map.get(a)||[]}append(a,c){let y=this._map.get(a);y||this._map.set(a,y=[]),y.push(...c)}has(a){return this._map.has(a)}clear(){this._map.clear()}}const Sn=new RegExp(":enter","g"),gr=new RegExp(":leave","g");function Cn(S,a,c,y,R,V={},Y={},q,pe,we=[]){return(new Ir).buildKeyframes(S,a,c,y,R,V,Y,q,pe,we)}class Ir{buildKeyframes(a,c,y,R,V,Y,q,pe,we,Qe=[]){we=we||new br;const vt=new Wr(a,c,we,R,V,Qe,[]);vt.options=pe,vt.currentTimeline.setStyles([Y],null,vt.errors,pe),ut(this,y,vt);const Bt=vt.timelines.filter((Zt=>Zt.containsAnimation()));if(Object.keys(q).length){let Zt;for(let Mt=Bt.length-1;Mt>=0;Mt--){const Ht=Bt[Mt];if(Ht.element===c){Zt=Ht;break}}Zt&&!Zt.allowOnlyTimelineStyles()&&Zt.setStyles([q],null,vt.errors,pe)}return Bt.length?Bt.map((Zt=>Zt.buildKeyframes())):[qn(c,[],[],[],0,0,"",!1)]}visitTrigger(a,c){}visitState(a,c){}visitTransition(a,c){}visitAnimateChild(a,c){const y=c.subInstructions.get(c.element);if(y){const R=c.createSubContext(a.options),V=c.currentTimeline.currentTime,Y=this._visitSubInstructions(y,R,R.options);V!=Y&&c.transformIntoNewTimeline(Y)}c.previousNode=a}visitAnimateRef(a,c){const y=c.createSubContext(a.options);y.transformIntoNewTimeline(),this.visitReference(a.animation,y),c.transformIntoNewTimeline(y.currentTimeline.currentTime),c.previousNode=a}_visitSubInstructions(a,c,y){let V=c.currentTimeline.currentTime;const Y=null!=y.duration?Dt(y.duration):null,q=null!=y.delay?Dt(y.delay):null;return 0!==Y&&a.forEach((pe=>{const we=c.appendInstructionToTimeline(pe,Y,q);V=Math.max(V,we.duration+we.delay)})),V}visitReference(a,c){c.updateOptions(a.options,!0),ut(this,a.animation,c),c.previousNode=a}visitSequence(a,c){const y=c.subContextCount;let R=c;const V=a.options;if(V&&(V.params||V.delay)&&(R=c.createSubContext(V),R.transformIntoNewTimeline(),null!=V.delay)){6==R.previousNode.type&&(R.currentTimeline.snapshotCurrentStyles(),R.previousNode=Pr);const Y=Dt(V.delay);R.delayNextStep(Y)}a.steps.length&&(a.steps.forEach((Y=>ut(this,Y,R))),R.currentTimeline.applyStylesToKeyframe(),R.subContextCount>y&&R.transformIntoNewTimeline()),c.previousNode=a}visitGroup(a,c){const y=[];let R=c.currentTimeline.currentTime;const V=a.options&&a.options.delay?Dt(a.options.delay):0;a.steps.forEach((Y=>{const q=c.createSubContext(a.options);V&&q.delayNextStep(V),ut(this,Y,q),R=Math.max(R,q.currentTimeline.currentTime),y.push(q.currentTimeline)})),y.forEach((Y=>c.currentTimeline.mergeTimelineCollectedStyles(Y))),c.transformIntoNewTimeline(R),c.previousNode=a}_visitTiming(a,c){if(a.dynamic){const y=a.strValue;return cn(c.params?le(y,c.params,c.errors):y,c.errors)}return{duration:a.duration,delay:a.delay,easing:a.easing}}visitAnimate(a,c){const y=c.currentAnimateTimings=this._visitTiming(a.timings,c),R=c.currentTimeline;y.delay&&(c.incrementTime(y.delay),R.snapshotCurrentStyles());const V=a.style;5==V.type?this.visitKeyframes(V,c):(c.incrementTime(y.duration),this.visitStyle(V,c),R.applyStylesToKeyframe()),c.currentAnimateTimings=null,c.previousNode=a}visitStyle(a,c){const y=c.currentTimeline,R=c.currentAnimateTimings;!R&&y.getCurrentStyleProperties().length&&y.forwardFrame();const V=R&&R.easing||a.easing;a.isEmptyStep?y.applyEmptyStep(V):y.setStyles(a.styles,V,c.errors,c.options),c.previousNode=a}visitKeyframes(a,c){const y=c.currentAnimateTimings,R=c.currentTimeline.duration,V=y.duration,q=c.createSubContext().currentTimeline;q.easing=y.easing,a.styles.forEach((pe=>{q.forwardTime((pe.offset||0)*V),q.setStyles(pe.styles,pe.easing,c.errors,c.options),q.applyStylesToKeyframe()})),c.currentTimeline.mergeTimelineCollectedStyles(q),c.transformIntoNewTimeline(R+V),c.previousNode=a}visitQuery(a,c){const y=c.currentTimeline.currentTime,R=a.options||{},V=R.delay?Dt(R.delay):0;V&&(6===c.previousNode.type||0==y&&c.currentTimeline.getCurrentStyleProperties().length)&&(c.currentTimeline.snapshotCurrentStyles(),c.previousNode=Pr);let Y=y;const q=c.invokeQuery(a.selector,a.originalSelector,a.limit,a.includeSelf,!!R.optional,c.errors);c.currentQueryTotal=q.length;let pe=null;q.forEach(((we,Qe)=>{c.currentQueryIndex=Qe;const vt=c.createSubContext(a.options,we);V&&vt.delayNextStep(V),we===c.element&&(pe=vt.currentTimeline),ut(this,a.animation,vt),vt.currentTimeline.applyStylesToKeyframe(),Y=Math.max(Y,vt.currentTimeline.currentTime)})),c.currentQueryIndex=0,c.currentQueryTotal=0,c.transformIntoNewTimeline(Y),pe&&(c.currentTimeline.mergeTimelineCollectedStyles(pe),c.currentTimeline.snapshotCurrentStyles()),c.previousNode=a}visitStagger(a,c){const y=c.parentContext,R=c.currentTimeline,V=a.timings,Y=Math.abs(V.duration),q=Y*(c.currentQueryTotal-1);let pe=Y*c.currentQueryIndex;switch(V.duration<0?"reverse":V.easing){case"reverse":pe=q-pe;break;case"full":pe=y.currentStaggerTime}const Qe=c.currentTimeline;pe&&Qe.delayNextStep(pe);const vt=Qe.currentTime;ut(this,a.animation,c),c.previousNode=a,y.currentStaggerTime=R.currentTime-vt+(R.startTime-y.currentTimeline.startTime)}}const Pr={};class Wr{constructor(a,c,y,R,V,Y,q,pe){this._driver=a,this.element=c,this.subInstructions=y,this._enterClassName=R,this._leaveClassName=V,this.errors=Y,this.timelines=q,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Pr,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=pe||new Ln(this._driver,c,0),q.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(a,c){if(!a)return;const y=a;let R=this.options;null!=y.duration&&(R.duration=Dt(y.duration)),null!=y.delay&&(R.delay=Dt(y.delay));const V=y.params;if(V){let Y=R.params;Y||(Y=this.options.params={}),Object.keys(V).forEach((q=>{(!c||!Y.hasOwnProperty(q))&&(Y[q]=le(V[q],Y,this.errors))}))}}_copyOptions(){const a={};if(this.options){const c=this.options.params;if(c){const y=a.params={};Object.keys(c).forEach((R=>{y[R]=c[R]}))}}return a}createSubContext(a=null,c,y){const R=c||this.element,V=new Wr(this._driver,R,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(R,y||0));return V.previousNode=this.previousNode,V.currentAnimateTimings=this.currentAnimateTimings,V.options=this._copyOptions(),V.updateOptions(a),V.currentQueryIndex=this.currentQueryIndex,V.currentQueryTotal=this.currentQueryTotal,V.parentContext=this,this.subContextCount++,V}transformIntoNewTimeline(a){return this.previousNode=Pr,this.currentTimeline=this.currentTimeline.fork(this.element,a),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(a,c,y){const R={duration:c??a.duration,delay:this.currentTimeline.currentTime+(y??0)+a.delay,easing:""},V=new xs(this._driver,a.element,a.keyframes,a.preStyleProps,a.postStyleProps,R,a.stretchStartingKeyframe);return this.timelines.push(V),R}incrementTime(a){this.currentTimeline.forwardTime(this.currentTimeline.duration+a)}delayNextStep(a){a>0&&this.currentTimeline.delayNextStep(a)}invokeQuery(a,c,y,R,V,Y){let q=[];if(R&&q.push(this.element),a.length>0){a=(a=a.replace(Sn,"."+this._enterClassName)).replace(gr,"."+this._leaveClassName);let we=this._driver.query(this.element,a,1!=y);0!==y&&(we=y<0?we.slice(we.length+y,we.length):we.slice(0,y)),q.push(...we)}return!V&&0==q.length&&Y.push(function Gt(S){return new h.vHH(3014,T)}()),q}}class Ln{constructor(a,c,y,R){this._driver=a,this.element=c,this.startTime=y,this._elementTimelineStylesLookup=R,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(c),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(c,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(a){const c=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||c?(this.forwardTime(this.currentTime+a),c&&this.snapshotCurrentStyles()):this.startTime+=a}fork(a,c){return this.applyStylesToKeyframe(),new Ln(this._driver,a,c||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(a){this.applyStylesToKeyframe(),this.duration=a,this._loadKeyframe()}_updateStyle(a,c){this._localTimelineStyles[a]=c,this._globalTimelineStyles[a]=c,this._styleSummary[a]={time:this.currentTime,value:c}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(a){a&&(this._previousKeyframe.easing=a),Object.keys(this._globalTimelineStyles).forEach((c=>{this._backFill[c]=this._globalTimelineStyles[c]||A.l3,this._currentKeyframe[c]=A.l3})),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(a,c,y,R){c&&(this._previousKeyframe.easing=c);const V=R&&R.params||{},Y=function Zs(S,a){const c={};let y;return S.forEach((R=>{"*"===R?(y=y||Object.keys(a),y.forEach((V=>{c[V]=A.l3}))):st(R,!1,c)})),c}(a,this._globalTimelineStyles);Object.keys(Y).forEach((q=>{const pe=le(Y[q],V,y);this._pendingStyles[q]=pe,this._localTimelineStyles.hasOwnProperty(q)||(this._backFill[q]=this._globalTimelineStyles.hasOwnProperty(q)?this._globalTimelineStyles[q]:A.l3),this._updateStyle(q,pe)}))}applyStylesToKeyframe(){const a=this._pendingStyles,c=Object.keys(a);0!=c.length&&(this._pendingStyles={},c.forEach((y=>{this._currentKeyframe[y]=a[y]})),Object.keys(this._localTimelineStyles).forEach((y=>{this._currentKeyframe.hasOwnProperty(y)||(this._currentKeyframe[y]=this._localTimelineStyles[y])})))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach((a=>{const c=this._localTimelineStyles[a];this._pendingStyles[a]=c,this._updateStyle(a,c)}))}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const a=[];for(let c in this._currentKeyframe)a.push(c);return a}mergeTimelineCollectedStyles(a){Object.keys(a._styleSummary).forEach((c=>{const y=this._styleSummary[c],R=a._styleSummary[c];(!y||R.time>y.time)&&this._updateStyle(c,R.value)}))}buildKeyframes(){this.applyStylesToKeyframe();const a=new Set,c=new Set,y=1===this._keyframes.size&&0===this.duration;let R=[];this._keyframes.forEach(((q,pe)=>{const we=st(q,!0);Object.keys(we).forEach((Qe=>{const vt=we[Qe];vt==A.k1?a.add(Qe):vt==A.l3&&c.add(Qe)})),y||(we.offset=pe/this.duration),R.push(we)}));const V=a.size?Te(a.values()):[],Y=c.size?Te(c.values()):[];if(y){const q=R[0],pe=Jt(q);q.offset=0,pe.offset=1,R=[q,pe]}return qn(this.element,R,V,Y,this.duration,this.startTime,this.easing,!1)}}class xs extends Ln{constructor(a,c,y,R,V,Y,q=!1){super(a,c,Y.delay),this.keyframes=y,this.preStyleProps=R,this.postStyleProps=V,this._stretchStartingKeyframe=q,this.timings={duration:Y.duration,delay:Y.delay,easing:Y.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let a=this.keyframes,{delay:c,duration:y,easing:R}=this.timings;if(this._stretchStartingKeyframe&&c){const V=[],Y=y+c,q=c/Y,pe=st(a[0],!1);pe.offset=0,V.push(pe);const we=st(a[0],!1);we.offset=Rs(q),V.push(we);const Qe=a.length-1;for(let vt=1;vt<=Qe;vt++){let Bt=st(a[vt],!1);Bt.offset=Rs((c+Bt.offset*y)/Y),V.push(Bt)}y=Y,c=0,R="",a=V}return qn(this.element,a,this.preStyleProps,this.postStyleProps,y,c,R,!0)}}function Rs(S,a=3){const c=Math.pow(10,a-1);return Math.round(S*c)/c}class fs{}class hs extends fs{normalizePropertyName(a,c){return Xe(a)}normalizeStyleValue(a,c,y,R){let V="";const Y=y.toString().trim();if(wi[c]&&0!==y&&"0"!==y)if("number"==typeof y)V="px";else{const q=y.match(/^[+-]?[\d\.]+([a-z]*)$/);q&&0==q[1].length&&R.push(function $(S,a){return new h.vHH(3005,T)}())}return Y+V}}const wi=(()=>function Ti(S){const a={};return S.forEach((c=>a[c]=!0)),a}("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".split(",")))();function oi(S,a,c,y,R,V,Y,q,pe,we,Qe,vt,Bt){return{type:0,element:S,triggerName:a,isRemovalTransition:R,fromState:c,fromStyles:V,toState:y,toStyles:Y,timelines:q,queriedElements:pe,preStyleProps:we,postStyleProps:Qe,totalTime:vt,errors:Bt}}const Xr={};class es{constructor(a,c,y){this._triggerName=a,this.ast=c,this._stateStyles=y}match(a,c,y,R){return function qs(S,a,c,y,R){return S.some((V=>V(a,c,y,R)))}(this.ast.matchers,a,c,y,R)}buildStyles(a,c,y){const R=this._stateStyles["*"],V=this._stateStyles[a],Y=R?R.buildStyles(c,y):{};return V?V.buildStyles(c,y):Y}build(a,c,y,R,V,Y,q,pe,we,Qe){const vt=[],Bt=this.ast.options&&this.ast.options.params||Xr,Mt=this.buildStyles(y,q&&q.params||Xr,vt),Ht=pe&&pe.params||Xr,ln=this.buildStyles(R,Ht,vt),On=new Set,Fn=new Map,Xn=new Map,Kn="void"===R,Nr={params:{...Bt,...Ht}},mr=Qe?[]:Cn(a,c,this.ast.animation,V,Y,Mt,ln,Nr,we,vt);let Zn=0;if(mr.forEach((Or=>{Zn=Math.max(Or.duration+Or.delay,Zn)})),vt.length)return oi(c,this._triggerName,y,R,Kn,Mt,ln,[],[],Fn,Xn,Zn,vt);mr.forEach((Or=>{const yr=Or.element,xi=qt(Fn,yr,{});Or.preStyleProps.forEach((Mn=>xi[Mn]=!0));const js=qt(Xn,yr,{});Or.postStyleProps.forEach((Mn=>js[Mn]=!0)),yr!==c&&On.add(yr)}));const Tr=Te(On.values());return oi(c,this._triggerName,y,R,Kn,Mt,ln,mr,Tr,Fn,Xn,Zn)}}class Js{constructor(a,c,y){this.styles=a,this.defaultParams=c,this.normalizer=y}buildStyles(a,c){const y={},R=Jt(this.defaultParams);return Object.keys(a).forEach((V=>{const Y=a[V];null!=Y&&(R[V]=Y)})),this.styles.styles.forEach((V=>{if("string"!=typeof V){const Y=V;Object.keys(Y).forEach((q=>{let pe=Y[q];pe.length>1&&(pe=le(pe,R,c));const we=this.normalizer.normalizePropertyName(q,c);pe=this.normalizer.normalizeStyleValue(q,we,pe,c),y[we]=pe}))}})),y}}class Si{constructor(a,c,y){this.name=a,this.ast=c,this._normalizer=y,this.transitionFactories=[],this.states={},c.states.forEach((R=>{this.states[R.name]=new Js(R.style,R.options&&R.options.params||{},y)})),Ns(this.states,"true","1"),Ns(this.states,"false","0"),c.transitions.forEach((R=>{this.transitionFactories.push(new es(a,R,this.states))})),this.fallbackTransition=function Xs(S,a,c){return new es(S,{type:1,animation:{type:2,steps:[],options:null},matchers:[(Y,q)=>!0],options:null,queryCount:0,depCount:0},a)}(a,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(a,c,y,R){return this.transitionFactories.find((Y=>Y.match(a,c,y,R)))||null}matchStyles(a,c,y){return this.fallbackTransition.buildStyles(a,c,y)}}function Ns(S,a,c){S.hasOwnProperty(a)?S.hasOwnProperty(c)||(S[c]=S[a]):S.hasOwnProperty(c)&&(S[a]=S[c])}const ps=new br;class Os{constructor(a,c,y){this.bodyNode=a,this._driver=c,this._normalizer=y,this._animations={},this._playersById={},this.players=[]}register(a,c){const y=[],V=ar(this._driver,c,y,[]);if(y.length)throw function ce(S){return new h.vHH(3503,T)}();this._animations[a]=V}_buildPlayer(a,c,y){const R=a.element,V=Lt(0,this._normalizer,0,a.keyframes,c,y);return this._driver.animate(R,V,a.duration,a.delay,a.easing,[],!0)}create(a,c,y={}){const R=[],V=this._animations[a];let Y;const q=new Map;if(V?(Y=Cn(this._driver,c,V,Tt,gt,{},{},y,ps,R),Y.forEach((Qe=>{const vt=qt(q,Qe.element,{});Qe.postStyleProps.forEach((Bt=>vt[Bt]=null))}))):(R.push(function ge(){return new h.vHH(3300,T)}()),Y=[]),R.length)throw function Ce(S){return new h.vHH(3504,T)}();q.forEach(((Qe,vt)=>{Object.keys(Qe).forEach((Bt=>{Qe[Bt]=this._driver.computeStyle(vt,Bt,A.l3)}))}));const we=Ft(Y.map((Qe=>{const vt=q.get(Qe.element);return this._buildPlayer(Qe,{},vt)})));return this._playersById[a]=we,we.onDestroy((()=>this.destroy(a))),this.players.push(we),we}destroy(a){const c=this._getPlayer(a);c.destroy(),delete this._playersById[a];const y=this.players.indexOf(c);y>=0&&this.players.splice(y,1)}_getPlayer(a){const c=this._playersById[a];if(!c)throw function ee(S){return new h.vHH(3301,T)}();return c}listen(a,c,y,R){const V=Vn(c,"","","");return ir(this._getPlayer(a),y,V,R),()=>{}}command(a,c,y,R){if("register"==y)return void this.register(a,R[0]);if("create"==y)return void this.create(a,c,R[0]||{});const V=this._getPlayer(a);switch(y){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(R[0]));break;case"destroy":this.destroy(a)}}}const ui="ng-animate-queued",Ls="ng-animate-disabled",ei=[],ci={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ai={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ur="__ng_removed";class ts{constructor(a,c=""){this.namespaceId=c;const y=a&&a.hasOwnProperty("value");if(this.value=function _(S){return S??null}(y?a.value:a),y){const V=Jt(a);delete V.value,this.options=V}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(a){const c=a.params;if(c){const y=this.options.params;Object.keys(c).forEach((R=>{null==y[R]&&(y[R]=c[R])}))}}}const lr="void",ns=new ts(lr);class xr{constructor(a,c,y){this.id=a,this.hostElement=c,this._engine=y,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+a,Le(c,this._hostClassName)}listen(a,c,y,R){if(!this._triggers.hasOwnProperty(c))throw function Me(S,a){return new h.vHH(3302,T)}();if(null==y||0==y.length)throw function wt(S){return new h.vHH(3303,T)}();if(!function E(S){return"start"==S||"done"==S}(y))throw function $t(S,a){return new h.vHH(3400,T)}();const V=qt(this._elementListeners,a,[]),Y={name:c,phase:y,callback:R};V.push(Y);const q=qt(this._engine.statesByElement,a,{});return q.hasOwnProperty(c)||(Le(a,St),Le(a,St+"-"+c),q[c]=ns),()=>{this._engine.afterFlush((()=>{const pe=V.indexOf(Y);pe>=0&&V.splice(pe,1),this._triggers[c]||delete q[c]}))}}register(a,c){return!this._triggers[a]&&(this._triggers[a]=c,!0)}_getTrigger(a){const c=this._triggers[a];if(!c)throw function an(S){return new h.vHH(3401,T)}();return c}trigger(a,c,y,R=!0){const V=this._getTrigger(c),Y=new ms(this.id,c,a);let q=this._engine.statesByElement.get(a);q||(Le(a,St),Le(a,St+"-"+c),this._engine.statesByElement.set(a,q={}));let pe=q[c];const we=new ts(y,this.id);if(!(y&&y.hasOwnProperty("value"))&&pe&&we.absorbOptions(pe.options),q[c]=we,pe||(pe=ns),we.value!==lr&&pe.value===we.value){if(!function Xt(S,a){const c=Object.keys(S),y=Object.keys(a);if(c.length!=y.length)return!1;for(let R=0;R<c.length;R++){const V=c[R];if(!a.hasOwnProperty(V)||S[V]!==a[V])return!1}return!0}(pe.params,we.params)){const Ht=[],ln=V.matchStyles(pe.value,pe.params,Ht),On=V.matchStyles(we.value,we.params,Ht);Ht.length?this._engine.reportError(Ht):this._engine.afterFlush((()=>{lt(a,ln),At(a,On)}))}return}const Bt=qt(this._engine.playersByElement,a,[]);Bt.forEach((Ht=>{Ht.namespaceId==this.id&&Ht.triggerName==c&&Ht.queued&&Ht.destroy()}));let Zt=V.matchTransition(pe.value,we.value,a,we.params),Mt=!1;if(!Zt){if(!R)return;Zt=V.fallbackTransition,Mt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:c,transition:Zt,fromState:pe,toState:we,player:Y,isFallbackTransition:Mt}),Mt||(Le(a,ui),Y.onStart((()=>{We(a,ui)}))),Y.onDone((()=>{let Ht=this.players.indexOf(Y);Ht>=0&&this.players.splice(Ht,1);const ln=this._engine.playersByElement.get(a);if(ln){let On=ln.indexOf(Y);On>=0&&ln.splice(On,1)}})),this.players.push(Y),Bt.push(Y),Y}deregister(a){delete this._triggers[a],this._engine.statesByElement.forEach(((c,y)=>{delete c[a]})),this._elementListeners.forEach(((c,y)=>{this._elementListeners.set(y,c.filter((R=>R.name!=a)))}))}clearElementCache(a){this._engine.statesByElement.delete(a),this._elementListeners.delete(a);const c=this._engine.playersByElement.get(a);c&&(c.forEach((y=>y.destroy())),this._engine.playersByElement.delete(a))}_signalRemovalForInnerTriggers(a,c){const y=this._engine.driver.query(a,Ze,!0);y.forEach((R=>{if(R[ur])return;const V=this._engine.fetchNamespacesByElement(R);V.size?V.forEach((Y=>Y.triggerLeaveAnimation(R,c,!1,!0))):this.clearElementCache(R)})),this._engine.afterFlushAnimationsDone((()=>y.forEach((R=>this.clearElementCache(R)))))}triggerLeaveAnimation(a,c,y,R){const V=this._engine.statesByElement.get(a),Y=new Map;if(V){const q=[];if(Object.keys(V).forEach((pe=>{if(Y.set(pe,V[pe].value),this._triggers[pe]){const we=this.trigger(a,pe,lr,R);we&&q.push(we)}})),q.length)return this._engine.markElementAsRemoved(this.id,a,!0,c,Y),y&&Ft(q).onDone((()=>this._engine.processLeaveNode(a))),!0}return!1}prepareLeaveAnimationListeners(a){const c=this._elementListeners.get(a),y=this._engine.statesByElement.get(a);if(c&&y){const R=new Set;c.forEach((V=>{const Y=V.name;if(R.has(Y))return;R.add(Y);const pe=this._triggers[Y].fallbackTransition,we=y[Y]||ns,Qe=new ts(lr),vt=new ms(this.id,Y,a);this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:Y,transition:pe,fromState:we,toState:Qe,player:vt,isFallbackTransition:!0})}))}}removeNode(a,c){const y=this._engine;if(a.childElementCount&&this._signalRemovalForInnerTriggers(a,c),this.triggerLeaveAnimation(a,c,!0))return;let R=!1;if(y.totalAnimations){const V=y.players.length?y.playersByQueriedElement.get(a):[];if(V&&V.length)R=!0;else{let Y=a;for(;Y=Y.parentNode;)if(y.statesByElement.get(Y)){R=!0;break}}}if(this.prepareLeaveAnimationListeners(a),R)y.markElementAsRemoved(this.id,a,!1,c);else{const V=a[ur];(!V||V===ci)&&(y.afterFlush((()=>this.clearElementCache(a))),y.destroyInnerAnimations(a),y._onRemovalComplete(a,c))}}insertNode(a,c){Le(a,this._hostClassName)}drainQueuedTransitions(a){const c=[];return this._queue.forEach((y=>{const R=y.player;if(R.destroyed)return;const V=y.element,Y=this._elementListeners.get(V);Y&&Y.forEach((q=>{if(q.name==y.triggerName){const pe=Vn(V,y.triggerName,y.fromState.value,y.toState.value);pe._data=a,ir(y.player,q.phase,pe,q.callback)}})),R.markedForDestroy?this._engine.afterFlush((()=>{R.destroy()})):c.push(y)})),this._queue=[],c.sort(((y,R)=>{const V=y.transition.ast.depCount,Y=R.transition.ast.depCount;return 0==V||0==Y?V-Y:this._engine.driver.containsElement(y.element,R.element)?1:-1}))}destroy(a){this.players.forEach((c=>c.destroy())),this._signalRemovalForInnerTriggers(this.hostElement,a)}elementContainsData(a){let c=!1;return this._elementListeners.has(a)&&(c=!0),c=!!this._queue.find((y=>y.element===a))||c,c}}class cr{constructor(a,c,y){this.bodyNode=a,this.driver=c,this._normalizer=y,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=(R,V)=>{}}_onRemovalComplete(a,c){this.onRemovalComplete(a,c)}get queuedPlayers(){const a=[];return this._namespaceList.forEach((c=>{c.players.forEach((y=>{y.queued&&a.push(y)}))})),a}createNamespace(a,c){const y=new xr(a,c,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,c)?this._balanceNamespaceList(y,c):(this.newHostElements.set(c,y),this.collectEnterElement(c)),this._namespaceLookup[a]=y}_balanceNamespaceList(a,c){const y=this._namespaceList,R=this.namespacesByHostElement,V=y.length-1;if(V>=0){let Y=!1;if(void 0!==this.driver.getParentElement){let q=this.driver.getParentElement(c);for(;q;){const pe=R.get(q);if(pe){const we=y.indexOf(pe);y.splice(we+1,0,a),Y=!0;break}q=this.driver.getParentElement(q)}}else for(let q=V;q>=0;q--)if(this.driver.containsElement(y[q].hostElement,c)){y.splice(q+1,0,a),Y=!0;break}Y||y.unshift(a)}else y.push(a);return R.set(c,a),a}register(a,c){let y=this._namespaceLookup[a];return y||(y=this.createNamespace(a,c)),y}registerTrigger(a,c,y){let R=this._namespaceLookup[a];R&&R.register(c,y)&&this.totalAnimations++}destroy(a,c){if(!a)return;const y=this._fetchNamespace(a);this.afterFlush((()=>{this.namespacesByHostElement.delete(y.hostElement),delete this._namespaceLookup[a];const R=this._namespaceList.indexOf(y);R>=0&&this._namespaceList.splice(R,1)})),this.afterFlushAnimationsDone((()=>y.destroy(c)))}_fetchNamespace(a){return this._namespaceLookup[a]}fetchNamespacesByElement(a){const c=new Set,y=this.statesByElement.get(a);if(y){const R=Object.keys(y);for(let V=0;V<R.length;V++){const Y=y[R[V]].namespaceId;if(Y){const q=this._fetchNamespace(Y);q&&c.add(q)}}}return c}trigger(a,c,y,R){if(O(c)){const V=this._fetchNamespace(a);if(V)return V.trigger(c,y,R),!0}return!1}insertNode(a,c,y,R){if(!O(c))return;const V=c[ur];if(V&&V.setForRemoval){V.setForRemoval=!1,V.setForMove=!0;const Y=this.collectedLeaveElements.indexOf(c);Y>=0&&this.collectedLeaveElements.splice(Y,1)}if(a){const Y=this._fetchNamespace(a);Y&&Y.insertNode(c,y)}R&&this.collectEnterElement(c)}collectEnterElement(a){this.collectedEnterElements.push(a)}markElementAsDisabled(a,c){c?this.disabledNodes.has(a)||(this.disabledNodes.add(a),Le(a,Ls)):this.disabledNodes.has(a)&&(this.disabledNodes.delete(a),We(a,Ls))}removeNode(a,c,y,R){if(O(c)){const V=a?this._fetchNamespace(a):null;if(V?V.removeNode(c,R):this.markElementAsRemoved(a,c,!1,R),y){const Y=this.namespacesByHostElement.get(c);Y&&Y.id!==a&&Y.removeNode(c,R)}}else this._onRemovalComplete(c,R)}markElementAsRemoved(a,c,y,R,V){this.collectedLeaveElements.push(c),c[ur]={namespaceId:a,setForRemoval:R,hasAnimation:y,removedBeforeQueried:!1,previousTriggersValues:V}}listen(a,c,y,R,V){return O(c)?this._fetchNamespace(a).listen(c,y,R,V):()=>{}}_buildInstruction(a,c,y,R,V){return a.transition.build(this.driver,a.element,a.fromState.value,a.toState.value,y,R,a.fromState.options,a.toState.options,c,V)}destroyInnerAnimations(a){let c=this.driver.query(a,Ze,!0);c.forEach((y=>this.destroyActiveAnimationsForElement(y))),0!=this.playersByQueriedElement.size&&(c=this.driver.query(a,Be,!0),c.forEach((y=>this.finishActiveQueriedAnimationOnElement(y))))}destroyActiveAnimationsForElement(a){const c=this.playersByElement.get(a);c&&c.forEach((y=>{y.queued?y.markedForDestroy=!0:y.destroy()}))}finishActiveQueriedAnimationOnElement(a){const c=this.playersByQueriedElement.get(a);c&&c.forEach((y=>y.finish()))}whenRenderingDone(){return new Promise((a=>{if(this.players.length)return Ft(this.players).onDone((()=>a()));a()}))}processLeaveNode(a){const c=a[ur];if(c&&c.setForRemoval){if(a[ur]=ci,c.namespaceId){this.destroyInnerAnimations(a);const y=this._fetchNamespace(c.namespaceId);y&&y.clearElementCache(a)}this._onRemovalComplete(a,c.setForRemoval)}a.classList?.contains(Ls)&&this.markElementAsDisabled(a,!1),this.driver.query(a,".ng-animate-disabled",!0).forEach((y=>{this.markElementAsDisabled(y,!1)}))}flush(a=-1){let c=[];if(this.newHostElements.size&&(this.newHostElements.forEach(((y,R)=>this._balanceNamespaceList(y,R))),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let y=0;y<this.collectedEnterElements.length;y++)Le(this.collectedEnterElements[y],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const y=[];try{c=this._flushAnimations(y,a)}finally{for(let R=0;R<y.length;R++)y[R]()}}else for(let y=0;y<this.collectedLeaveElements.length;y++)this.processLeaveNode(this.collectedLeaveElements[y]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach((y=>y())),this._flushFns=[],this._whenQuietFns.length){const y=this._whenQuietFns;this._whenQuietFns=[],c.length?Ft(c).onDone((()=>{y.forEach((R=>R()))})):y.forEach((R=>R()))}}reportError(a){throw function Qt(S){return new h.vHH(3402,T)}()}_flushAnimations(a,c){const y=new br,R=[],V=new Map,Y=[],q=new Map,pe=new Map,we=new Map,Qe=new Set;this.disabledNodes.forEach((pt=>{Qe.add(pt);const Ct=this.driver.query(pt,".ng-animate-queued",!0);for(let xt=0;xt<Ct.length;xt++)Qe.add(Ct[xt])}));const vt=this.bodyNode,Bt=Array.from(this.statesByElement.keys()),Zt=De(Bt,this.collectedEnterElements),Mt=new Map;let Ht=0;Zt.forEach(((pt,Ct)=>{const xt=Tt+Ht++;Mt.set(Ct,xt),pt.forEach((nn=>Le(nn,xt)))}));const ln=[],On=new Set,Fn=new Set;for(let pt=0;pt<this.collectedLeaveElements.length;pt++){const Ct=this.collectedLeaveElements[pt],xt=Ct[ur];xt&&xt.setForRemoval&&(ln.push(Ct),On.add(Ct),xt.hasAnimation?this.driver.query(Ct,".ng-star-inserted",!0).forEach((nn=>On.add(nn))):Fn.add(Ct))}const Xn=new Map,Kn=De(Bt,Array.from(On));Kn.forEach(((pt,Ct)=>{const xt=gt+Ht++;Xn.set(Ct,xt),pt.forEach((nn=>Le(nn,xt)))})),a.push((()=>{Zt.forEach(((pt,Ct)=>{const xt=Mt.get(Ct);pt.forEach((nn=>We(nn,xt)))})),Kn.forEach(((pt,Ct)=>{const xt=Xn.get(Ct);pt.forEach((nn=>We(nn,xt)))})),ln.forEach((pt=>{this.processLeaveNode(pt)}))}));const Nr=[],mr=[];for(let pt=this._namespaceList.length-1;pt>=0;pt--)this._namespaceList[pt].drainQueuedTransitions(c).forEach((xt=>{const nn=xt.player,kn=xt.element;if(Nr.push(nn),this.collectedEnterElements.length){const nr=kn[ur];if(nr&&nr.setForMove){if(nr.previousTriggersValues&&nr.previousTriggersValues.has(xt.triggerName)){const mn=nr.previousTriggersValues.get(xt.triggerName),vr=this.statesByElement.get(xt.element);vr&&vr[xt.triggerName]&&(vr[xt.triggerName].value=mn)}return void nn.destroy()}}const Fr=!vt||!this.driver.containsElement(vt,kn),er=Xn.get(kn),Sr=Mt.get(kn),En=this._buildInstruction(xt,y,Sr,er,Fr);if(En.errors&&En.errors.length)return void mr.push(En);if(Fr)return nn.onStart((()=>lt(kn,En.fromStyles))),nn.onDestroy((()=>At(kn,En.toStyles))),void R.push(nn);if(xt.isFallbackTransition)return nn.onStart((()=>lt(kn,En.fromStyles))),nn.onDestroy((()=>At(kn,En.toStyles))),void R.push(nn);const Bs=[];En.timelines.forEach((nr=>{nr.stretchStartingKeyframe=!0,this.disabledNodes.has(nr.element)||Bs.push(nr)})),En.timelines=Bs,y.append(kn,En.timelines),Y.push({instruction:En,player:nn,element:kn}),En.queriedElements.forEach((nr=>qt(q,nr,[]).push(nn))),En.preStyleProps.forEach(((nr,mn)=>{const vr=Object.keys(nr);if(vr.length){let Zr=pe.get(mn);Zr||pe.set(mn,Zr=new Set),vr.forEach((Us=>Zr.add(Us)))}})),En.postStyleProps.forEach(((nr,mn)=>{const vr=Object.keys(nr);let Zr=we.get(mn);Zr||we.set(mn,Zr=new Set),vr.forEach((Us=>Zr.add(Us)))}))}));if(mr.length){const pt=[];mr.forEach((Ct=>{pt.push(function wn(S,a){return new h.vHH(3505,T)}())})),Nr.forEach((Ct=>Ct.destroy())),this.reportError(pt)}const Zn=new Map,Tr=new Map;Y.forEach((pt=>{const Ct=pt.element;y.has(Ct)&&(Tr.set(Ct,Ct),this._beforeAnimationBuild(pt.player.namespaceId,pt.instruction,Zn))})),R.forEach((pt=>{const Ct=pt.element;this._getPreviousPlayers(Ct,!1,pt.namespaceId,pt.triggerName,null).forEach((nn=>{qt(Zn,Ct,[]).push(nn),nn.destroy()}))}));const Or=ln.filter((pt=>dn(pt,pe,we))),yr=new Map;se(yr,this.driver,Fn,we,A.l3).forEach((pt=>{dn(pt,pe,we)&&Or.push(pt)}));const js=new Map;Zt.forEach(((pt,Ct)=>{se(js,this.driver,new Set(pt),pe,A.k1)})),Or.forEach((pt=>{const Ct=yr.get(pt),xt=js.get(pt);yr.set(pt,{...Ct,...xt})}));const Mn=[],Ur=[],_n={};Y.forEach((pt=>{const{element:Ct,player:xt,instruction:nn}=pt;if(y.has(Ct)){if(Qe.has(Ct))return xt.onDestroy((()=>At(Ct,nn.toStyles))),xt.disabled=!0,xt.overrideTotalTime(nn.totalTime),void R.push(xt);let kn=_n;if(Tr.size>1){let er=Ct;const Sr=[];for(;er=er.parentNode;){const En=Tr.get(er);if(En){kn=En;break}Sr.push(er)}Sr.forEach((En=>Tr.set(En,kn)))}const Fr=this._buildAnimation(xt.namespaceId,nn,Zn,V,js,yr);if(xt.setRealPlayer(Fr),kn===_n)Mn.push(xt);else{const er=this.playersByElement.get(kn);er&&er.length&&(xt.parentPlayer=Ft(er)),R.push(xt)}}else lt(Ct,nn.fromStyles),xt.onDestroy((()=>At(Ct,nn.toStyles))),Ur.push(xt),Qe.has(Ct)&&R.push(xt)})),Ur.forEach((pt=>{const Ct=V.get(pt.element);if(Ct&&Ct.length){const xt=Ft(Ct);pt.setRealPlayer(xt)}})),R.forEach((pt=>{pt.parentPlayer?pt.syncPlayerEvents(pt.parentPlayer):pt.destroy()}));for(let pt=0;pt<ln.length;pt++){const Ct=ln[pt],xt=Ct[ur];if(We(Ct,gt),xt&&xt.hasAnimation)continue;let nn=[];if(q.size){let Fr=q.get(Ct);Fr&&Fr.length&&nn.push(...Fr);let er=this.driver.query(Ct,Be,!0);for(let Sr=0;Sr<er.length;Sr++){let En=q.get(er[Sr]);En&&En.length&&nn.push(...En)}}const kn=nn.filter((Fr=>!Fr.destroyed));kn.length?fn(this,Ct,kn):this.processLeaveNode(Ct)}return ln.length=0,Mn.forEach((pt=>{this.players.push(pt),pt.onDone((()=>{pt.destroy();const Ct=this.players.indexOf(pt);this.players.splice(Ct,1)})),pt.play()})),Mn}elementContainsData(a,c){let y=!1;const R=c[ur];return R&&R.setForRemoval&&(y=!0),this.playersByElement.has(c)&&(y=!0),this.playersByQueriedElement.has(c)&&(y=!0),this.statesByElement.has(c)&&(y=!0),this._fetchNamespace(a).elementContainsData(c)||y}afterFlush(a){this._flushFns.push(a)}afterFlushAnimationsDone(a){this._whenQuietFns.push(a)}_getPreviousPlayers(a,c,y,R,V){let Y=[];if(c){const q=this.playersByQueriedElement.get(a);q&&(Y=q)}else{const q=this.playersByElement.get(a);if(q){const pe=!V||V==lr;q.forEach((we=>{we.queued||!pe&&we.triggerName!=R||Y.push(we)}))}}return(y||R)&&(Y=Y.filter((q=>!(y&&y!=q.namespaceId||R&&R!=q.triggerName)))),Y}_beforeAnimationBuild(a,c,y){const V=c.element,Y=c.isRemovalTransition?void 0:a,q=c.isRemovalTransition?void 0:c.triggerName;for(const pe of c.timelines){const we=pe.element,Qe=we!==V,vt=qt(y,we,[]);this._getPreviousPlayers(we,Qe,Y,q,c.toState).forEach((Zt=>{const Mt=Zt.getRealPlayer();Mt.beforeDestroy&&Mt.beforeDestroy(),Zt.destroy(),vt.push(Zt)}))}lt(V,c.fromStyles)}_buildAnimation(a,c,y,R,V,Y){const q=c.triggerName,pe=c.element,we=[],Qe=new Set,vt=new Set,Bt=c.timelines.map((Mt=>{const Ht=Mt.element;Qe.add(Ht);const ln=Ht[ur];if(ln&&ln.removedBeforeQueried)return new A.ZN(Mt.duration,Mt.delay);const On=Ht!==pe,Fn=function vn(S){const a=[];return jt(S,a),a}((y.get(Ht)||ei).map((Zn=>Zn.getRealPlayer()))).filter((Zn=>!!Zn.element&&Zn.element===Ht)),Xn=V.get(Ht),Kn=Y.get(Ht),Nr=Lt(0,this._normalizer,0,Mt.keyframes,Xn,Kn),mr=this._buildPlayer(Mt,Nr,Fn);if(Mt.subTimeline&&R&&vt.add(Ht),On){const Zn=new ms(a,q,Ht);Zn.setRealPlayer(mr),we.push(Zn)}return mr}));we.forEach((Mt=>{qt(this.playersByQueriedElement,Mt.element,[]).push(Mt),Mt.onDone((()=>function di(S,a,c){let y;if(S instanceof Map){if(y=S.get(a),y){if(y.length){const R=y.indexOf(c);y.splice(R,1)}0==y.length&&S.delete(a)}}else if(y=S[a],y){if(y.length){const R=y.indexOf(c);y.splice(R,1)}0==y.length&&delete S[a]}return y}(this.playersByQueriedElement,Mt.element,Mt)))})),Qe.forEach((Mt=>Le(Mt,Ut)));const Zt=Ft(Bt);return Zt.onDestroy((()=>{Qe.forEach((Mt=>We(Mt,Ut))),At(pe,c.toStyles)})),vt.forEach((Mt=>{qt(R,Mt,[]).push(Zt)})),Zt}_buildPlayer(a,c,y){return c.length>0?this.driver.animate(a.element,c,a.duration,a.delay,a.easing,y):new A.ZN(a.duration,a.delay)}}class ms{constructor(a,c,y){this.namespaceId=a,this.triggerName=c,this.element=y,this._player=new A.ZN,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(a){this._containsRealPlayer||(this._player=a,Object.keys(this._queuedCallbacks).forEach((c=>{this._queuedCallbacks[c].forEach((y=>ir(a,c,void 0,y)))})),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(a.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(a){this.totalTime=a}syncPlayerEvents(a){const c=this._player;c.triggerCallback&&a.onStart((()=>c.triggerCallback("start"))),a.onDone((()=>this.finish())),a.onDestroy((()=>this.destroy()))}_queueEvent(a,c){qt(this._queuedCallbacks,a,[]).push(c)}onDone(a){this.queued&&this._queueEvent("done",a),this._player.onDone(a)}onStart(a){this.queued&&this._queueEvent("start",a),this._player.onStart(a)}onDestroy(a){this.queued&&this._queueEvent("destroy",a),this._player.onDestroy(a)}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(a){this.queued||this._player.setPosition(a)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(a){const c=this._player;c.triggerCallback&&c.triggerCallback(a)}}function O(S){return S&&1===S.nodeType}function U(S,a){const c=S.style.display;return S.style.display=a??"none",c}function se(S,a,c,y,R){const V=[];c.forEach((pe=>V.push(U(pe))));const Y=[];y.forEach(((pe,we)=>{const Qe={};pe.forEach((vt=>{const Bt=Qe[vt]=a.computeStyle(we,vt,R);(!Bt||0==Bt.length)&&(we[ur]=Ai,Y.push(we))})),S.set(we,Qe)}));let q=0;return c.forEach((pe=>U(pe,V[q++]))),Y}function De(S,a){const c=new Map;if(S.forEach((q=>c.set(q,[]))),0==a.length)return c;const R=new Set(a),V=new Map;function Y(q){if(!q)return 1;let pe=V.get(q);if(pe)return pe;const we=q.parentNode;return pe=c.has(we)?we:R.has(we)?1:Y(we),V.set(q,pe),pe}return a.forEach((q=>{const pe=Y(q);1!==pe&&c.get(pe).push(q)})),c}function Le(S,a){S.classList?.add(a)}function We(S,a){S.classList?.remove(a)}function fn(S,a,c){Ft(c).onDone((()=>S.processLeaveNode(a)))}function jt(S,a){for(let c=0;c<S.length;c++){const y=S[c];y instanceof A.ZE?jt(y.players,a):a.push(y)}}function dn(S,a,c){const y=c.get(S);if(!y)return!1;let R=a.get(S);return R?y.forEach((V=>R.add(V))):a.set(S,y),c.delete(S),!0}class sn{constructor(a,c,y){this.bodyNode=a,this._driver=c,this._normalizer=y,this._triggerCache={},this.onRemovalComplete=(R,V)=>{},this._transitionEngine=new cr(a,c,y),this._timelineEngine=new Os(a,c,y),this._transitionEngine.onRemovalComplete=(R,V)=>this.onRemovalComplete(R,V)}registerTrigger(a,c,y,R,V){const Y=a+"-"+R;let q=this._triggerCache[Y];if(!q){const pe=[],Qe=ar(this._driver,V,pe,[]);if(pe.length)throw function Rt(S,a){return new h.vHH(3404,T)}();q=function ai(S,a,c){return new Si(S,a,c)}(R,Qe,this._normalizer),this._triggerCache[Y]=q}this._transitionEngine.registerTrigger(c,R,q)}register(a,c){this._transitionEngine.register(a,c)}destroy(a,c){this._transitionEngine.destroy(a,c)}onInsert(a,c,y,R){this._transitionEngine.insertNode(a,c,y,R)}onRemove(a,c,y,R){this._transitionEngine.removeNode(a,c,R||!1,y)}disableAnimations(a,c){this._transitionEngine.markElementAsDisabled(a,c)}process(a,c,y,R){if("@"==y.charAt(0)){const[V,Y]=$n(y);this._timelineEngine.command(V,c,Y,R)}else this._transitionEngine.trigger(a,c,y,R)}listen(a,c,y,R,V){if("@"==y.charAt(0)){const[Y,q]=$n(y);return this._timelineEngine.listen(Y,c,q,V)}return this._transitionEngine.listen(a,c,y,R,V)}flush(a=-1){this._transitionEngine.flush(a)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let Rr=(()=>{class S{constructor(c,y,R){this._element=c,this._startStyles=y,this._endStyles=R,this._state=0;let V=S.initialStylesByElement.get(c);V||S.initialStylesByElement.set(c,V={}),this._initialStyles=V}start(){this._state<1&&(this._startStyles&&At(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(At(this._element,this._initialStyles),this._endStyles&&(At(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(S.initialStylesByElement.delete(this._element),this._startStyles&&(lt(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(lt(this._element,this._endStyles),this._endStyles=null),At(this._element,this._initialStyles),this._state=3)}}return S.initialStylesByElement=new WeakMap,S})();function Jn(S){let a=null;const c=Object.keys(S);for(let y=0;y<c.length;y++){const R=c[y];wr(R)&&(a=a||{},a[R]=S[R])}return a}function wr(S){return"display"===S||"position"===S}class xn{constructor(a,c,y,R){this.element=a,this.keyframes=c,this.options=y,this._specialStyles=R,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=y.duration,this._delay=y.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach((a=>a())),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const a=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,a,this.options),this._finalKeyframe=a.length?a[a.length-1]:{},this.domPlayer.addEventListener("finish",(()=>this._onFinish()))}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(a,c,y){return a.animate(c,y)}onStart(a){this._onStartFns.push(a)}onDone(a){this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach((a=>a())),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}_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((a=>a())),this._onDestroyFns=[])}setPosition(a){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=a*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const a={};if(this.hasStarted()){const c=this._finalKeyframe;Object.keys(c).forEach((y=>{"offset"!=y&&(a[y]=this._finished?c[y]:ct(this.element,y))}))}this.currentSnapshot=a}triggerCallback(a){const c="start"==a?this._onStartFns:this._onDoneFns;c.forEach((y=>y())),c.length=0}}class ks{validateStyleProperty(a){return K(a)}matchesElement(a,c){return!1}containsElement(a,c){return L(a,c)}getParentElement(a){return Gr(a)}query(a,c,y){return oe(a,c,y)}computeStyle(a,c,y){return window.getComputedStyle(a)[c]}animate(a,c,y,R,V,Y=[]){const pe={duration:y,delay:R,fill:0==R?"both":"forwards"};V&&(pe.easing=V);const we={},Qe=Y.filter((Bt=>Bt instanceof xn));(function te(S,a){return 0===S||0===a})(y,R)&&Qe.forEach((Bt=>{let Zt=Bt.currentSnapshot;Object.keys(Zt).forEach((Mt=>we[Mt]=Zt[Mt]))})),c=function ve(S,a,c){const y=Object.keys(c);if(y.length&&a.length){let V=a[0],Y=[];if(y.forEach((q=>{V.hasOwnProperty(q)||Y.push(q),V[q]=c[q]})),Y.length)for(var R=1;R<a.length;R++){let q=a[R];Y.forEach((function(pe){q[pe]=ct(S,pe)}))}}return a}(a,c=c.map((Bt=>st(Bt,!1))),we);const vt=function un(S,a){let c=null,y=null;return Array.isArray(a)&&a.length?(c=Jn(a[0]),a.length>1&&(y=Jn(a[a.length-1]))):a&&(c=Jn(a)),c||y?new Rr(S,c,y):null}(a,c);return new xn(a,c,pe,vt)}}var Yr=f(6895);let rs=(()=>{class S extends A._j{constructor(c,y){super(),this._nextAnimationId=0,this._renderer=c.createRenderer(y.body,{id:"0",encapsulation:h.ifc.None,styles:[],data:{animation:[]}})}build(c){const y=this._nextAnimationId.toString();this._nextAnimationId++;const R=Array.isArray(c)?(0,A.vP)(c):c;return ss(this._renderer,null,y,"register",[R]),new jr(y,this._renderer)}}return S.ɵfac=function(c){return new(c||S)(h.LFG(h.FYo),h.LFG(Yr.K0))},S.ɵprov=h.Yz7({token:S,factory:S.ɵfac}),S})();class jr extends A.LC{constructor(a,c){super(),this._id=a,this._renderer=c}create(a,c){return new fi(this._id,a,c||{},this._renderer)}}class fi{constructor(a,c,y,R){this.id=a,this.element=c,this._renderer=R,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",y)}_listen(a,c){return this._renderer.listen(this.element,`@@${this.id}:${a}`,c)}_command(a,...c){return ss(this._renderer,this.element,this.id,a,c)}onDone(a){this._listen("done",a)}onStart(a){this._listen("start",a)}onDestroy(a){this._listen("destroy",a)}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(a){this._command("setPosition",a)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function ss(S,a,c,y,R){return S.setProperty(a,`@@${c}:${y}`,R)}const is="@.disabled";let fo=(()=>{class S{constructor(c,y,R){this.delegate=c,this.engine=y,this._zone=R,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),y.onRemovalComplete=(V,Y)=>{const q=Y?.parentNode(V);q&&Y.removeChild(q,V)}}createRenderer(c,y){const V=this.delegate.createRenderer(c,y);if(!(c&&y&&y.data&&y.data.animation)){let Qe=this._rendererCache.get(V);return Qe||(Qe=new Mi("",V,this.engine),this._rendererCache.set(V,Qe)),Qe}const Y=y.id,q=y.id+"-"+this._currentId;this._currentId++,this.engine.register(q,c);const pe=Qe=>{Array.isArray(Qe)?Qe.forEach(pe):this.engine.registerTrigger(Y,q,c,Qe.name,Qe)};return y.data.animation.forEach(pe),new ho(this,q,V,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then((()=>{this._microtaskId++}))}scheduleListenerCallback(c,y,R){c>=0&&c<this._microtaskId?this._zone.run((()=>y(R))):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then((()=>{this._zone.run((()=>{this._animationCallbacksBuffer.forEach((V=>{const[Y,q]=V;Y(q)})),this._animationCallbacksBuffer=[]}))})),this._animationCallbacksBuffer.push([y,R]))}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 S.ɵfac=function(c){return new(c||S)(h.LFG(h.FYo),h.LFG(sn),h.LFG(h.R0b))},S.ɵprov=h.Yz7({token:S,factory:S.ɵfac}),S})();class Mi{constructor(a,c,y){this.namespaceId=a,this.delegate=c,this.engine=y,this.destroyNode=this.delegate.destroyNode?R=>c.destroyNode(R):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(a,c){return this.delegate.createElement(a,c)}createComment(a){return this.delegate.createComment(a)}createText(a){return this.delegate.createText(a)}appendChild(a,c){this.delegate.appendChild(a,c),this.engine.onInsert(this.namespaceId,c,a,!1)}insertBefore(a,c,y,R=!0){this.delegate.insertBefore(a,c,y),this.engine.onInsert(this.namespaceId,c,a,R)}removeChild(a,c,y){this.engine.onRemove(this.namespaceId,c,this.delegate,y)}selectRootElement(a,c){return this.delegate.selectRootElement(a,c)}parentNode(a){return this.delegate.parentNode(a)}nextSibling(a){return this.delegate.nextSibling(a)}setAttribute(a,c,y,R){this.delegate.setAttribute(a,c,y,R)}removeAttribute(a,c,y){this.delegate.removeAttribute(a,c,y)}addClass(a,c){this.delegate.addClass(a,c)}removeClass(a,c){this.delegate.removeClass(a,c)}setStyle(a,c,y,R){this.delegate.setStyle(a,c,y,R)}removeStyle(a,c,y){this.delegate.removeStyle(a,c,y)}setProperty(a,c,y){"@"==c.charAt(0)&&c==is?this.disableAnimations(a,!!y):this.delegate.setProperty(a,c,y)}setValue(a,c){this.delegate.setValue(a,c)}listen(a,c,y){return this.delegate.listen(a,c,y)}disableAnimations(a,c){this.engine.disableAnimations(a,c)}}class ho extends Mi{constructor(a,c,y,R){super(c,y,R),this.factory=a,this.namespaceId=c}setProperty(a,c,y){"@"==c.charAt(0)?"."==c.charAt(1)&&c==is?this.disableAnimations(a,y=void 0===y||!!y):this.engine.process(this.namespaceId,a,c.substr(1),y):this.delegate.setProperty(a,c,y)}listen(a,c,y){if("@"==c.charAt(0)){const R=function po(S){switch(S){case"body":return document.body;case"document":return document;case"window":return window;default:return S}}(a);let V=c.substr(1),Y="";return"@"!=V.charAt(0)&&([V,Y]=function Ii(S){const a=S.indexOf(".");return[S.substring(0,a),S.substr(a+1)]}(V)),this.engine.listen(this.namespaceId,R,V,Y,(q=>{this.factory.scheduleListenerCallback(q._data||-1,y,q)}))}return this.delegate.listen(a,c,y)}}let go=(()=>{class S extends sn{constructor(c,y,R){super(c.body,y,R)}ngOnDestroy(){this.flush()}}return S.ɵfac=function(c){return new(c||S)(h.LFG(Yr.K0),h.LFG(Ae),h.LFG(fs))},S.ɵprov=h.Yz7({token:S,factory:S.ɵfac}),S})();const en=new h.OlP("AnimationModuleType"),ys=[{provide:A._j,useClass:rs},{provide:fs,useFactory:function hi(){return new hs}},{provide:sn,useClass:go},{provide:h.FYo,useFactory:function je(S,a,c){return new fo(S,a,c)},deps:[p.se,sn,h.R0b]}],Nn=[{provide:Ae,useFactory:()=>new ks},{provide:en,useValue:"BrowserAnimations"},...ys],Pi=[{provide:Ae,useClass:me},{provide:en,useValue:"NoopAnimations"},...ys];let Kr=(()=>{class S{static withConfig(c){return{ngModule:S,providers:c.disableAnimations?Pi:Nn}}}return S.ɵfac=function(c){return new(c||S)},S.ɵmod=h.oAB({type:S}),S.ɵinj=h.cJS({providers:Nn,imports:[p.b2]}),S})()},1481:(j,w,f)=>{"use strict";f.d(w,{H7:()=>Je,b2:()=>In,q6:()=>qt,se:()=>ce});var h=f(6895),p=f(6738);class A extends h.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class T extends A{static makeCurrent(){(0,h.HT)(new T)}onAndCancel(Q,G,le){return Q.addEventListener(G,le,!1),()=>{Q.removeEventListener(G,le,!1)}}dispatchEvent(Q,G){Q.dispatchEvent(G)}remove(Q){Q.parentNode&&Q.parentNode.removeChild(Q)}createElement(Q,G){return(G=G||this.getDefaultDocument()).createElement(Q)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(Q){return Q.nodeType===Node.ELEMENT_NODE}isShadowRoot(Q){return Q instanceof DocumentFragment}getGlobalEventTarget(Q,G){return"window"===G?window:"document"===G?Q:"body"===G?Q.body:null}getBaseHref(Q){const G=function M(){return C=C||document.querySelector("base"),C?C.getAttribute("href"):null}();return null==G?null:function P(ue){x=x||document.createElement("a"),x.setAttribute("href",ue);const Q=x.pathname;return"/"===Q.charAt(0)?Q:`/${Q}`}(G)}resetBaseElement(){C=null}getUserAgent(){return window.navigator.userAgent}getCookie(Q){return(0,h.Mx)(document.cookie,Q)}}let x,C=null;const B=new p.OlP("TRANSITION_ID"),F=[{provide:p.ip1,useFactory:function I(ue,Q,G){return()=>{G.get(p.CZH).donePromise.then((()=>{const le=(0,h.q)(),Te=Q.querySelectorAll(`style[ng-transition="${ue}"]`);for(let tt=0;tt<Te.length;tt++)le.remove(Te[tt])}))}},deps:[B,h.K0,p.zs3],multi:!0}];class ${static init(){(0,p.VLi)(new $)}addToWindow(Q){p.dqk.getAngularTestability=(le,Te=!0)=>{const tt=Q.findTestabilityInTree(le,Te);if(null==tt)throw new Error("Could not find testability for element.");return tt},p.dqk.getAllAngularTestabilities=()=>Q.getAllTestabilities(),p.dqk.getAllAngularRootElements=()=>Q.getAllRootElements(),p.dqk.frameworkStabilizers||(p.dqk.frameworkStabilizers=[]),p.dqk.frameworkStabilizers.push((le=>{const Te=p.dqk.getAllAngularTestabilities();let tt=Te.length,Xe=!1;const Ke=function(te){Xe=Xe||te,tt--,0==tt&&le(Xe)};Te.forEach((function(te){te.whenStable(Ke)}))}))}findTestabilityInTree(Q,G,le){return null==G?null:Q.getTestability(G)??(le?(0,h.q)().isShadowRoot(G)?this.findTestabilityInTree(Q,G.host,!0):this.findTestabilityInTree(Q,G.parentElement,!0):null)}}let X=(()=>{class ue{build(){return new XMLHttpRequest}}return ue.ɵfac=function(G){return new(G||ue)},ue.ɵprov=p.Yz7({token:ue,factory:ue.ɵfac}),ue})();const Z=new p.OlP("EventManagerPlugins");let ie=(()=>{class ue{constructor(G,le){this._zone=le,this._eventNameToPlugin=new Map,G.forEach((Te=>Te.manager=this)),this._plugins=G.slice().reverse()}addEventListener(G,le,Te){return this._findPluginFor(le).addEventListener(G,le,Te)}addGlobalEventListener(G,le,Te){return this._findPluginFor(le).addGlobalEventListener(G,le,Te)}getZone(){return this._zone}_findPluginFor(G){const le=this._eventNameToPlugin.get(G);if(le)return le;const Te=this._plugins;for(let tt=0;tt<Te.length;tt++){const Xe=Te[tt];if(Xe.supports(G))return this._eventNameToPlugin.set(G,Xe),Xe}throw new Error(`No event manager plugin found for event ${G}`)}}return ue.ɵfac=function(G){return new(G||ue)(p.LFG(Z),p.LFG(p.R0b))},ue.ɵprov=p.Yz7({token:ue,factory:ue.ɵfac}),ue})();class ae{constructor(Q){this._doc=Q}addGlobalEventListener(Q,G,le){const Te=(0,h.q)().getGlobalEventTarget(this._doc,Q);if(!Te)throw new Error(`Unsupported event target ${Te} for event ${G}`);return this.addEventListener(Te,G,le)}}let Pe=(()=>{class ue{constructor(){this._stylesSet=new Set}addStyles(G){const le=new Set;G.forEach((Te=>{this._stylesSet.has(Te)||(this._stylesSet.add(Te),le.add(Te))})),this.onStylesAdded(le)}onStylesAdded(G){}getAllStyles(){return Array.from(this._stylesSet)}}return ue.ɵfac=function(G){return new(G||ue)},ue.ɵprov=p.Yz7({token:ue,factory:ue.ɵfac}),ue})(),ot=(()=>{class ue extends Pe{constructor(G){super(),this._doc=G,this._hostNodes=new Map,this._hostNodes.set(G.head,[])}_addStylesToHost(G,le,Te){G.forEach((tt=>{const Xe=this._doc.createElement("style");Xe.textContent=tt,Te.push(le.appendChild(Xe))}))}addHost(G){const le=[];this._addStylesToHost(this._stylesSet,G,le),this._hostNodes.set(G,le)}removeHost(G){const le=this._hostNodes.get(G);le&&le.forEach(xe),this._hostNodes.delete(G)}onStylesAdded(G){this._hostNodes.forEach(((le,Te)=>{this._addStylesToHost(G,Te,le)}))}ngOnDestroy(){this._hostNodes.forEach((G=>G.forEach(xe)))}}return ue.ɵfac=function(G){return new(G||ue)(p.LFG(h.K0))},ue.ɵprov=p.Yz7({token:ue,factory:ue.ɵfac}),ue})();function xe(ue){(0,h.q)().remove(ue)}const Oe={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/"},$e=/%COMP%/g;function Ye(ue,Q,G){for(let le=0;le<Q.length;le++){let Te=Q[le];Array.isArray(Te)?Ye(ue,Te,G):(Te=Te.replace($e,ue),G.push(Te))}return G}function Rt(ue){return Q=>{if("__ngUnwrap__"===Q)return ue;!1===ue(Q)&&(Q.preventDefault(),Q.returnValue=!1)}}let ce=(()=>{class ue{constructor(G,le,Te){this.eventManager=G,this.sharedStylesHost=le,this.appId=Te,this.rendererByCompId=new Map,this.defaultRenderer=new ge(G)}createRenderer(G,le){if(!G||!le)return this.defaultRenderer;switch(le.encapsulation){case p.ifc.Emulated:{let Te=this.rendererByCompId.get(le.id);return Te||(Te=new Me(this.eventManager,this.sharedStylesHost,le,this.appId),this.rendererByCompId.set(le.id,Te)),Te.applyToHost(G),Te}case 1:case p.ifc.ShadowDom:return new wt(this.eventManager,this.sharedStylesHost,G,le);default:if(!this.rendererByCompId.has(le.id)){const Te=Ye(le.id,le.styles,[]);this.sharedStylesHost.addStyles(Te),this.rendererByCompId.set(le.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return ue.ɵfac=function(G){return new(G||ue)(p.LFG(ie),p.LFG(ot),p.LFG(p.AFp))},ue.ɵprov=p.Yz7({token:ue,factory:ue.ɵfac}),ue})();class ge{constructor(Q){this.eventManager=Q,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(Q,G){return G?document.createElementNS(Oe[G]||G,Q):document.createElement(Q)}createComment(Q){return document.createComment(Q)}createText(Q){return document.createTextNode(Q)}appendChild(Q,G){Q.appendChild(G)}insertBefore(Q,G,le){Q&&Q.insertBefore(G,le)}removeChild(Q,G){Q&&Q.removeChild(G)}selectRootElement(Q,G){let le="string"==typeof Q?document.querySelector(Q):Q;if(!le)throw new Error(`The selector "${Q}" did not match any elements`);return G||(le.textContent=""),le}parentNode(Q){return Q.parentNode}nextSibling(Q){return Q.nextSibling}setAttribute(Q,G,le,Te){if(Te){G=Te+":"+G;const tt=Oe[Te];tt?Q.setAttributeNS(tt,G,le):Q.setAttribute(G,le)}else Q.setAttribute(G,le)}removeAttribute(Q,G,le){if(le){const Te=Oe[le];Te?Q.removeAttributeNS(Te,G):Q.removeAttribute(`${le}:${G}`)}else Q.removeAttribute(G)}addClass(Q,G){Q.classList.add(G)}removeClass(Q,G){Q.classList.remove(G)}setStyle(Q,G,le,Te){Te&(p.JOm.DashCase|p.JOm.Important)?Q.style.setProperty(G,le,Te&p.JOm.Important?"important":""):Q.style[G]=le}removeStyle(Q,G,le){le&p.JOm.DashCase?Q.style.removeProperty(G):Q.style[G]=""}setProperty(Q,G,le){Q[G]=le}setValue(Q,G){Q.nodeValue=G}listen(Q,G,le){return"string"==typeof Q?this.eventManager.addGlobalEventListener(Q,G,Rt(le)):this.eventManager.addEventListener(Q,G,Rt(le))}}class Me extends ge{constructor(Q,G,le,Te){super(Q),this.component=le;const tt=Ye(Te+"-"+le.id,le.styles,[]);G.addStyles(tt),this.contentAttr=function at(ue){return"_ngcontent-%COMP%".replace($e,ue)}(Te+"-"+le.id),this.hostAttr=function Vt(ue){return"_nghost-%COMP%".replace($e,ue)}(Te+"-"+le.id)}applyToHost(Q){super.setAttribute(Q,this.hostAttr,"")}createElement(Q,G){const le=super.createElement(Q,G);return super.setAttribute(le,this.contentAttr,""),le}}class wt extends ge{constructor(Q,G,le,Te){super(Q),this.sharedStylesHost=G,this.hostEl=le,this.shadowRoot=le.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const tt=Ye(Te.id,Te.styles,[]);for(let Xe=0;Xe<tt.length;Xe++){const Ke=document.createElement("style");Ke.textContent=tt[Xe],this.shadowRoot.appendChild(Ke)}}nodeOrShadowRoot(Q){return Q===this.hostEl?this.shadowRoot:Q}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(Q,G){return super.appendChild(this.nodeOrShadowRoot(Q),G)}insertBefore(Q,G,le){return super.insertBefore(this.nodeOrShadowRoot(Q),G,le)}removeChild(Q,G){return super.removeChild(this.nodeOrShadowRoot(Q),G)}parentNode(Q){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(Q)))}}let $t=(()=>{class ue extends ae{constructor(G){super(G)}supports(G){return!0}addEventListener(G,le,Te){return G.addEventListener(le,Te,!1),()=>this.removeEventListener(G,le,Te)}removeEventListener(G,le,Te){return G.removeEventListener(le,Te)}}return ue.ɵfac=function(G){return new(G||ue)(p.LFG(h.K0))},ue.ɵprov=p.Yz7({token:ue,factory:ue.ɵfac}),ue})();const an=["alt","control","meta","shift"],Rn={"\b":"Backspace","\t":"Tab","":"Delete","":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},wn={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","":"NumLock"},An={alt:ue=>ue.altKey,control:ue=>ue.ctrlKey,meta:ue=>ue.metaKey,shift:ue=>ue.shiftKey};let Tn=(()=>{class ue extends ae{constructor(G){super(G)}supports(G){return null!=ue.parseEventName(G)}addEventListener(G,le,Te){const tt=ue.parseEventName(le),Xe=ue.eventCallback(tt.fullKey,Te,this.manager.getZone());return this.manager.getZone().runOutsideAngular((()=>(0,h.q)().onAndCancel(G,tt.domEventName,Xe)))}static parseEventName(G){const le=G.toLowerCase().split("."),Te=le.shift();if(0===le.length||"keydown"!==Te&&"keyup"!==Te)return null;const tt=ue._normalizeKey(le.pop());let Xe="";if(an.forEach((te=>{const ve=le.indexOf(te);ve>-1&&(le.splice(ve,1),Xe+=te+".")})),Xe+=tt,0!=le.length||0===tt.length)return null;const Ke={};return Ke.domEventName=Te,Ke.fullKey=Xe,Ke}static getEventFullKey(G){let le="",Te=function Ft(ue){let Q=ue.key;if(null==Q){if(Q=ue.keyIdentifier,null==Q)return"Unidentified";Q.startsWith("U+")&&(Q=String.fromCharCode(parseInt(Q.substring(2),16)),3===ue.location&&wn.hasOwnProperty(Q)&&(Q=wn[Q]))}return Rn[Q]||Q}(G);return Te=Te.toLowerCase()," "===Te?Te="space":"."===Te&&(Te="dot"),an.forEach((tt=>{tt!=Te&&An[tt](G)&&(le+=tt+".")})),le+=Te,le}static eventCallback(G,le,Te){return tt=>{ue.getEventFullKey(tt)===G&&Te.runGuarded((()=>le(tt)))}}static _normalizeKey(G){return"esc"===G?"escape":G}}return ue.ɵfac=function(G){return new(G||ue)(p.LFG(h.K0))},ue.ɵprov=p.Yz7({token:ue,factory:ue.ɵfac}),ue})();const qt=(0,p.eFA)(p._c5,"browser",[{provide:p.Lbi,useValue:h.bD},{provide:p.g9A,useValue:function Lt(){T.makeCurrent(),$.init()},multi:!0},{provide:h.K0,useFactory:function Dr(){return(0,p.RDi)(document),document},deps:[]}]),$n=[{provide:p.zSh,useValue:"root"},{provide:p.qLn,useFactory:function ir(){return new p.qLn},deps:[]},{provide:Z,useClass:$t,multi:!0,deps:[h.K0,p.R0b,p.Lbi]},{provide:Z,useClass:Tn,multi:!0,deps:[h.K0]},{provide:ce,useClass:ce,deps:[ie,ot,p.AFp]},{provide:p.FYo,useExisting:ce},{provide:Pe,useExisting:ot},{provide:ot,useClass:ot,deps:[h.K0]},{provide:p.dDg,useClass:p.dDg,deps:[p.R0b]},{provide:ie,useClass:ie,deps:[Z,p.R0b]},{provide:h.JF,useClass:X,deps:[]}];let In=(()=>{class ue{constructor(G){if(G)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(G){return{ngModule:ue,providers:[{provide:p.AFp,useValue:G.appId},{provide:B,useExisting:p.AFp},F]}}}return ue.ɵfac=function(G){return new(G||ue)(p.LFG(ue,12))},ue.ɵmod=p.oAB({type:ue}),ue.ɵinj=p.cJS({providers:$n,imports:[h.ez,p.hGG]}),ue})();typeof window<"u"&&window;let Je=(()=>{class ue{}return ue.ɵfac=function(G){return new(G||ue)},ue.ɵprov=p.Yz7({token:ue,factory:function(G){let le=null;return le=G?new(G||ue):p.LFG(lt),le},providedIn:"root"}),ue})(),lt=(()=>{class ue extends Je{constructor(G){super(),this._doc=G}sanitize(G,le){if(null==le)return null;switch(G){case p.q3G.NONE:return le;case p.q3G.HTML:return(0,p.qzn)(le,"HTML")?(0,p.z3N)(le):(0,p.EiD)(this._doc,String(le)).toString();case p.q3G.STYLE:return(0,p.qzn)(le,"Style")?(0,p.z3N)(le):le;case p.q3G.SCRIPT:if((0,p.qzn)(le,"Script"))return(0,p.z3N)(le);throw new Error("unsafe value used in a script context");case p.q3G.URL:return(0,p.yhl)(le),(0,p.qzn)(le,"URL")?(0,p.z3N)(le):(0,p.mCW)(String(le));case p.q3G.RESOURCE_URL:if((0,p.qzn)(le,"ResourceURL"))return(0,p.z3N)(le);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${G} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(G){return(0,p.JVY)(G)}bypassSecurityTrustStyle(G){return(0,p.L6k)(G)}bypassSecurityTrustScript(G){return(0,p.eBb)(G)}bypassSecurityTrustUrl(G){return(0,p.LAX)(G)}bypassSecurityTrustResourceUrl(G){return(0,p.pB0)(G)}}return ue.ɵfac=function(G){return new(G||ue)(p.LFG(h.K0))},ue.ɵprov=p.Yz7({token:ue,factory:function(G){let le=null;return le=G?new G:function At(ue){return new lt(ue.get(h.K0))}(p.LFG(p.zs3)),le},providedIn:"root"}),ue})()},208:(j,w,f)=>{"use strict";f.d(w,{y6:()=>se,F0:()=>mn,Bz:()=>ni,lC:()=>De});var h=f(6895),p=f(6738),A=f(5529),T=f(5279);class C extends A.xQ{constructor(l){super(),this._value=l}get value(){return this.getValue()}_subscribe(l){const u=super._subscribe(l);return u&&!u.closed&&l.next(this._value),u}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new T.N;return this._value}next(l){super.next(this._value=l)}}const x=(()=>{function g(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return g.prototype=Object.create(Error.prototype),g})();var P=f(2916),B=f(5254);const I=new P.y((g=>g.complete()));function F(g){return g?function $(g){return new P.y((l=>g.schedule((()=>l.complete()))))}(g):I}function X(g){return new P.y((l=>{let u;try{u=g()}catch(D){return void l.error(D)}return(u?(0,B.D)(u):F()).subscribe(l)}))}var Z=f(1086),ie=f(6053),ae=f(1737),Pe=f(1221),ot=f(1762),xe=f(826),Oe=f(1869),$e=f(9054),Ee=f(4850);function Ge(g,l){return"function"==typeof l?u=>u.pipe(Ge(((v,D)=>(0,B.D)(g(v,D)).pipe((0,Ee.U)(((k,W)=>l(v,k,D,W))))))):u=>u.lift(new Gt(g))}class Gt{constructor(l){this.project=l}call(l,u){return u.subscribe(new Ve(l,this.project))}}class Ve extends xe.L{constructor(l,u){super(l),this.project=u,this.index=0}_next(l){let u;const v=this.index++;try{u=this.project(l,v)}catch(D){return void this.destination.error(D)}this._innerSub(u,l,v)}_innerSub(l,u,v){const D=this.innerSubscription;D&&D.unsubscribe();const k=new Oe.d(this,u,v),W=this.destination;W.add(k),this.innerSubscription=(0,$e.D)(this,l,void 0,void 0,k),this.innerSubscription!==k&&W.add(this.innerSubscription)}_complete(){const{innerSubscription:l}=this;(!l||l.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(l){this.destination.remove(l),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(l,u,v,D,k){this.destination.next(u)}}var at=f(3489);const Ye=(()=>{function g(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return g.prototype=Object.create(Error.prototype),g})();function Rt(g){return l=>0===g?F():l.lift(new ke(g))}class ke{constructor(l){if(this.total=l,this.total<0)throw new Ye}call(l,u){return u.subscribe(new ce(l,this.total))}}class ce extends at.L{constructor(l,u){super(l),this.total=u,this.count=0}_next(l){const u=this.total,v=++this.count;v<=u&&(this.destination.next(l),v===u&&(this.destination.complete(),this.unsubscribe()))}}function ge(g,l){let u=!1;return arguments.length>=2&&(u=!0),function(D){return D.lift(new Ce(g,l,u))}}class Ce{constructor(l,u,v=!1){this.accumulator=l,this.seed=u,this.hasSeed=v}call(l,u){return u.subscribe(new ee(l,this.accumulator,this.seed,this.hasSeed))}}class ee extends at.L{constructor(l,u,v,D){super(l),this.accumulator=u,this._seed=v,this.hasSeed=D,this.index=0}get seed(){return this._seed}set seed(l){this.hasSeed=!0,this._seed=l}_next(l){if(this.hasSeed)return this._tryNext(l);this.seed=l,this.destination.next(l)}_tryNext(l){const u=this.index++;let v;try{v=this.accumulator(this.seed,l,u)}catch(D){this.destination.error(D)}this.seed=v,this.destination.next(v)}}var Me=f(2198);function wt(g){return function(u){return 0===g?F():u.lift(new $t(g))}}class $t{constructor(l){if(this.total=l,this.total<0)throw new Ye}call(l,u){return u.subscribe(new an(l,this.total))}}class an extends at.L{constructor(l,u){super(l),this.total=u,this.ring=new Array,this.count=0}_next(l){const u=this.ring,v=this.total,D=this.count++;u.length<v?u.push(l):u[D%v]=l}_complete(){const l=this.destination;let u=this.count;if(u>0){const v=this.count>=this.total?this.total:this.count,D=this.ring;for(let k=0;k<v;k++){const W=u++%v;l.next(D[W])}}l.complete()}}function Qt(g=An){return l=>l.lift(new Rn(g))}class Rn{constructor(l){this.errorFactory=l}call(l,u){return u.subscribe(new wn(l,this.errorFactory))}}class wn extends at.L{constructor(l,u){super(l),this.errorFactory=u,this.hasValue=!1}_next(l){this.hasValue=!0,this.destination.next(l)}_complete(){if(this.hasValue)return this.destination.complete();{let l;try{l=this.errorFactory()}catch(u){l=u}this.destination.error(l)}}}function An(){return new x}function Tn(g=null){return l=>l.lift(new Ft(g))}class Ft{constructor(l){this.defaultValue=l}call(l,u){return u.subscribe(new Lt(l,this.defaultValue))}}class Lt extends at.L{constructor(l,u){super(l),this.defaultValue=u,this.isEmpty=!0}_next(l){this.isEmpty=!1,this.destination.next(l)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}var ir=f(5379);function Vn(g,l){const u=arguments.length>=2;return v=>v.pipe(g?(0,Me.h)(((D,k)=>g(D,k,v))):ir.y,Rt(1),u?Tn(l):Qt((()=>new x)))}var qt=f(1059),$n=f(7221),In=f(1406),hn=f(1709),pn=f(2868),Gr=f(4327),jn=f(537),or=f(9146);class J{constructor(l,u){this.id=l,this.url=u}}class he extends J{constructor(l,u,v="imperative",D=null){super(l,u),this.navigationTrigger=v,this.restoredState=D}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class K extends J{constructor(l,u,v){super(l,u),this.urlAfterRedirects=v}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class H extends J{constructor(l,u,v){super(l,u),this.reason=v}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class L extends J{constructor(l,u,v){super(l,u),this.error=v}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class oe extends J{constructor(l,u,v,D){super(l,u),this.urlAfterRedirects=v,this.state=D}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class de extends J{constructor(l,u,v,D){super(l,u),this.urlAfterRedirects=v,this.state=D}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class me extends J{constructor(l,u,v,D,k){super(l,u),this.urlAfterRedirects=v,this.state=D,this.shouldActivate=k}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Ae extends J{constructor(l,u,v,D){super(l,u),this.urlAfterRedirects=v,this.state=D}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class rt extends J{constructor(l,u,v,D){super(l,u),this.urlAfterRedirects=v,this.state=D}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Fe{constructor(l){this.route=l}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class it{constructor(l){this.route=l}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Tt{constructor(l){this.snapshot=l}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class gt{constructor(l){this.snapshot=l}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class St{constructor(l){this.snapshot=l}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ze{constructor(l){this.snapshot=l}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ut{constructor(l,u,v){this.routerEvent=l,this.position=u,this.anchor=v}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const Be="primary";class Dt{constructor(l){this.params=l||{}}has(l){return Object.prototype.hasOwnProperty.call(this.params,l)}get(l){if(this.has(l)){const u=this.params[l];return Array.isArray(u)?u[0]:u}return null}getAll(l){if(this.has(l)){const u=this.params[l];return Array.isArray(u)?u:[u]}return[]}get keys(){return Object.keys(this.params)}}function Re(g){return new Dt(g)}const cn="ngNavigationCancelingError";function Yt(g){const l=Error("NavigationCancelingError: "+g);return l[cn]=!0,l}function ht(g,l,u){const v=u.path.split("/");if(v.length>g.length||"full"===u.pathMatch&&(l.hasChildren()||v.length<g.length))return null;const D={};for(let k=0;k<v.length;k++){const W=v[k],re=g[k];if(W.startsWith(":"))D[W.substring(1)]=re;else if(W!==re.path)return null}return{consumed:g.slice(0,v.length),posParams:D}}function kt(g,l){const u=g?Object.keys(g):void 0,v=l?Object.keys(l):void 0;if(!u||!v||u.length!=v.length)return!1;let D;for(let k=0;k<u.length;k++)if(D=u[k],!Je(g[D],l[D]))return!1;return!0}function Je(g,l){if(Array.isArray(g)&&Array.isArray(l)){if(g.length!==l.length)return!1;const u=[...g].sort(),v=[...l].sort();return u.every(((D,k)=>v[k]===D))}return g===l}function At(g){return Array.prototype.concat.apply([],g)}function lt(g){return g.length>0?g[g.length-1]:null}function ue(g,l){for(const u in g)g.hasOwnProperty(u)&&l(g[u],u)}function Q(g){return(0,p.CqO)(g)?g:(0,p.QGY)(g)?(0,B.D)(Promise.resolve(g)):(0,Z.of)(g)}const le={exact:function Ke(g,l,u){if(!ye(g.segments,l.segments)||!ct(g.segments,l.segments,u)||g.numberOfChildren!==l.numberOfChildren)return!1;for(const v in l.children)if(!g.children[v]||!Ke(g.children[v],l.children[v],u))return!1;return!0},subset:ve},Te={exact:function Xe(g,l){return kt(g,l)},subset:function te(g,l){return Object.keys(l).length<=Object.keys(g).length&&Object.keys(l).every((u=>Je(g[u],l[u])))},ignored:()=>!0};function tt(g,l,u){return le[u.paths](g.root,l.root,u.matrixParams)&&Te[u.queryParams](g.queryParams,l.queryParams)&&!("exact"===u.fragment&&g.fragment!==l.fragment)}function ve(g,l,u){return ut(g,l,l.segments,u)}function ut(g,l,u,v){if(g.segments.length>u.length){const D=g.segments.slice(0,u.length);return!(!ye(D,u)||l.hasChildren()||!ct(D,u,v))}if(g.segments.length===u.length){if(!ye(g.segments,u)||!ct(g.segments,u,v))return!1;for(const D in l.children)if(!g.children[D]||!ve(g.children[D],l.children[D],v))return!1;return!0}{const D=u.slice(0,g.segments.length),k=u.slice(g.segments.length);return!!(ye(g.segments,D)&&ct(g.segments,D,v)&&g.children[Be])&&ut(g.children[Be],l,k,v)}}function ct(g,l,u){return l.every(((v,D)=>Te[u](g[D].parameters,v.parameters)))}class Kt{constructor(l,u,v){this.root=l,this.queryParams=u,this.fragment=v}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Re(this.queryParams)),this._queryParamMap}toString(){return Pt.serialize(this)}}class be{constructor(l,u){this.segments=l,this.children=u,this.parent=null,ue(u,((v,D)=>v.parent=this))}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return dt(this)}}class Ue{constructor(l,u){this.path=l,this.parameters=u}get parameterMap(){return this._parameterMap||(this._parameterMap=Re(this.parameters)),this._parameterMap}toString(){return Lr(this)}}function ye(g,l){return g.length===l.length&&g.every(((u,v)=>u.path===l[v].path))}class nt{}class qe{parse(l){const u=new Wn(l);return new Kt(u.parseRootSegment(),u.parseQueryParams(),u.parseFragment())}serialize(l){const u=`/${bt(l.root,!0)}`,v=function Pn(g){const l=Object.keys(g).map((u=>{const v=g[u];return Array.isArray(v)?v.map((D=>`${zt(u)}=${zt(D)}`)).join("&"):`${zt(u)}=${zt(v)}`})).filter((u=>!!u));return l.length?`?${l.join("&")}`:""}(l.queryParams);return`${u}${v}${"string"==typeof l.fragment?`#${function Gn(g){return encodeURI(g)}(l.fragment)}`:""}`}}const Pt=new qe;function dt(g){return g.segments.map((l=>Lr(l))).join("/")}function bt(g,l){if(!g.hasChildren())return dt(g);if(l){const u=g.children[Be]?bt(g.children[Be],!1):"",v=[];return ue(g.children,((D,k)=>{k!==Be&&v.push(`${k}:${bt(D,!1)}`)})),v.length>0?`${u}(${v.join("//")})`:u}{const u=function He(g,l){let u=[];return ue(g.children,((v,D)=>{D===Be&&(u=u.concat(l(v,D)))})),ue(g.children,((v,D)=>{D!==Be&&(u=u.concat(l(v,D)))})),u}(g,((v,D)=>D===Be?[bt(g.children[Be],!1)]:[`${D}:${bt(v,!1)}`]));return 1===Object.keys(g.children).length&&null!=g.children[Be]?`${dt(g)}/${u[0]}`:`${dt(g)}/(${u.join("//")})`}}function Et(g){return encodeURIComponent(g).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function zt(g){return Et(g).replace(/%3B/gi,";")}function yt(g){return Et(g).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function dr(g){return decodeURIComponent(g)}function ar(g){return dr(g.replace(/\+/g,"%20"))}function Lr(g){return`${yt(g.path)}${function fr(g){return Object.keys(g).map((l=>`;${yt(l)}=${yt(g[l])}`)).join("")}(g.parameters)}`}const hr=/^[^\/()?;=#]+/;function tr(g){const l=g.match(hr);return l?l[0]:""}const Bn=/^[^=?&#]+/,zr=/^[^&#]+/;class Wn{constructor(l){this.url=l,this.remaining=l}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new be([],{}):new be([],this.parseChildren())}parseQueryParams(){const l={};if(this.consumeOptional("?"))do{this.parseQueryParam(l)}while(this.consumeOptional("&"));return l}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const l=[];for(this.peekStartsWith("(")||l.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),l.push(this.parseSegment());let u={};this.peekStartsWith("/(")&&(this.capture("/"),u=this.parseParens(!0));let v={};return this.peekStartsWith("(")&&(v=this.parseParens(!1)),(l.length>0||Object.keys(u).length>0)&&(v[Be]=new be(l,u)),v}parseSegment(){const l=tr(this.remaining);if(""===l&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(l),new Ue(dr(l),this.parseMatrixParams())}parseMatrixParams(){const l={};for(;this.consumeOptional(";");)this.parseParam(l);return l}parseParam(l){const u=tr(this.remaining);if(!u)return;this.capture(u);let v="";if(this.consumeOptional("=")){const D=tr(this.remaining);D&&(v=D,this.capture(v))}l[dr(u)]=dr(v)}parseQueryParam(l){const u=function tn(g){const l=g.match(Bn);return l?l[0]:""}(this.remaining);if(!u)return;this.capture(u);let v="";if(this.consumeOptional("=")){const W=function zn(g){const l=g.match(zr);return l?l[0]:""}(this.remaining);W&&(v=W,this.capture(v))}const D=ar(u),k=ar(v);if(l.hasOwnProperty(D)){let W=l[D];Array.isArray(W)||(W=[W],l[D]=W),W.push(k)}else l[D]=k}parseParens(l){const u={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const v=tr(this.remaining),D=this.remaining[v.length];if("/"!==D&&")"!==D&&";"!==D)throw new Error(`Cannot parse url '${this.url}'`);let k;v.indexOf(":")>-1?(k=v.substr(0,v.indexOf(":")),this.capture(k),this.capture(":")):l&&(k=Be);const W=this.parseChildren();u[k]=1===Object.keys(W).length?W[Be]:new be([],W),this.consumeOptional("//")}return u}peekStartsWith(l){return this.remaining.startsWith(l)}consumeOptional(l){return!!this.peekStartsWith(l)&&(this.remaining=this.remaining.substring(l.length),!0)}capture(l){if(!this.consumeOptional(l))throw new Error(`Expected "${l}".`)}}class qn{constructor(l){this._root=l}get root(){return this._root.value}parent(l){const u=this.pathFromRoot(l);return u.length>1?u[u.length-2]:null}children(l){const u=br(l,this._root);return u?u.children.map((v=>v.value)):[]}firstChild(l){const u=br(l,this._root);return u&&u.children.length>0?u.children[0].value:null}siblings(l){const u=kr(l,this._root);return u.length<2?[]:u[u.length-2].children.map((D=>D.value)).filter((D=>D!==l))}pathFromRoot(l){return kr(l,this._root).map((u=>u.value))}}function br(g,l){if(g===l.value)return l;for(const u of l.children){const v=br(g,u);if(v)return v}return null}function kr(g,l){if(g===l.value)return[l];for(const u of l.children){const v=kr(g,u);if(v.length)return v.unshift(l),v}return[]}class Yn{constructor(l,u){this.value=l,this.children=u}toString(){return`TreeNode(${this.value})`}}function Sn(g){const l={};return g&&g.children.forEach((u=>l[u.value.outlet]=u)),l}class Ks extends qn{constructor(l,u){super(l),this.snapshot=u,Rs(this,l)}toString(){return this.snapshot.toString()}}function gr(g,l){const u=function Cn(g,l){const W=new Ln([],{},{},"",{},Be,l,null,g.root,-1,{});return new xs("",new Yn(W,[]))}(g,l),v=new C([new Ue("",{})]),D=new C({}),k=new C({}),W=new C({}),re=new C(""),Ie=new Ir(v,D,W,re,k,Be,l,u.root);return Ie.snapshot=u.root,new Ks(new Yn(Ie,[]),u)}class Ir{constructor(l,u,v,D,k,W,re,Ie){this.url=l,this.params=u,this.queryParams=v,this.fragment=D,this.data=k,this.outlet=W,this.component=re,this._futureSnapshot=Ie}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,Ee.U)((l=>Re(l))))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,Ee.U)((l=>Re(l))))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Pr(g,l="emptyOnly"){const u=g.pathFromRoot;let v=0;if("always"!==l)for(v=u.length-1;v>=1;){const D=u[v],k=u[v-1];if(D.routeConfig&&""===D.routeConfig.path)v--;else{if(k.component)break;v--}}return function Wr(g){return g.reduce(((l,u)=>({params:{...l.params,...u.params},data:{...l.data,...u.data},resolve:{...l.resolve,...u._resolvedData}})),{params:{},data:{},resolve:{}})}(u.slice(v))}class Ln{constructor(l,u,v,D,k,W,re,Ie,ft,on,_t){this.url=l,this.params=u,this.queryParams=v,this.fragment=D,this.data=k,this.outlet=W,this.component=re,this.routeConfig=Ie,this._urlSegment=ft,this._lastPathIndex=on,this._resolve=_t}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=Re(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Re(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map((v=>v.toString())).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class xs extends qn{constructor(l,u){super(u),this.url=l,Rs(this,u)}toString(){return Zs(this._root)}}function Rs(g,l){l.value._routerState=g,l.children.forEach((u=>Rs(g,u)))}function Zs(g){const l=g.children.length>0?` { ${g.children.map(Zs).join(", ")} } `:"";return`${g.value}${l}`}function Qs(g){if(g.snapshot){const l=g.snapshot,u=g._futureSnapshot;g.snapshot=u,kt(l.queryParams,u.queryParams)||g.queryParams.next(u.queryParams),l.fragment!==u.fragment&&g.fragment.next(u.fragment),kt(l.params,u.params)||g.params.next(u.params),function st(g,l){if(g.length!==l.length)return!1;for(let u=0;u<g.length;++u)if(!kt(g[u],l[u]))return!1;return!0}(l.url,u.url)||g.url.next(u.url),kt(l.data,u.data)||g.data.next(u.data)}else g.snapshot=g._futureSnapshot,g.data.next(g._futureSnapshot.data)}function fs(g,l){const u=kt(g.params,l.params)&&function _e(g,l){return ye(g,l)&&g.every(((u,v)=>kt(u.parameters,l[v].parameters)))}(g.url,l.url);return u&&!(!g.parent!=!l.parent)&&(!g.parent||fs(g.parent,l.parent))}function hs(g,l,u){if(u&&g.shouldReuseRoute(l.value,u.value.snapshot)){const v=u.value;v._futureSnapshot=l.value;const D=function wi(g,l,u){return l.children.map((v=>{for(const D of u.children)if(g.shouldReuseRoute(v.value,D.value.snapshot))return hs(g,v,D);return hs(g,v)}))}(g,l,u);return new Yn(v,D)}{if(g.shouldAttach(l.value)){const k=g.retrieve(l.value);if(null!==k){const W=k.route;return W.value._futureSnapshot=l.value,W.children=l.children.map((re=>hs(g,re))),W}}const v=function Ti(g){return new Ir(new C(g.url),new C(g.params),new C(g.queryParams),new C(g.fragment),new C(g.data),g.outlet,g.component,g)}(l.value),D=l.children.map((k=>hs(g,k)));return new Yn(v,D)}}function Xr(g){return"object"==typeof g&&null!=g&&!g.outlets&&!g.segmentPath}function es(g){return"object"==typeof g&&null!=g&&g.outlets}function qs(g,l,u,v,D){let k={};if(v&&ue(v,((re,Ie)=>{k[Ie]=Array.isArray(re)?re.map((ft=>`${ft}`)):`${re}`})),g===l)return new Kt(u,k,D);const W=Js(g,l,u);return new Kt(W,k,D)}function Js(g,l,u){const v={};return ue(g.children,((D,k)=>{v[k]=D===l?u:Js(D,l,u)})),new be(g.segments,v)}class ai{constructor(l,u,v){if(this.isAbsolute=l,this.numberOfDoubleDots=u,this.commands=v,l&&v.length>0&&Xr(v[0]))throw new Error("Root segment cannot have matrix parameters");const D=v.find(es);if(D&&D!==lt(v))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Xs{constructor(l,u,v){this.segmentGroup=l,this.processChildren=u,this.index=v}}function ui(g,l,u){if(g||(g=new be([],{})),0===g.segments.length&&g.hasChildren())return Fs(g,l,u);const v=function Ls(g,l,u){let v=0,D=l;const k={match:!1,pathIndex:0,commandIndex:0};for(;D<g.segments.length;){if(v>=u.length)return k;const W=g.segments[D],re=u[v];if(es(re))break;const Ie=`${re}`,ft=v<u.length-1?u[v+1]:null;if(D>0&&void 0===Ie)break;if(Ie&&ft&&"object"==typeof ft&&void 0===ft.outlets){if(!ei(Ie,ft,W))return k;v+=2}else{if(!ei(Ie,{},W))return k;v++}D++}return{match:!0,pathIndex:D,commandIndex:v}}(g,l,u),D=u.slice(v.commandIndex);if(v.match&&v.pathIndex<g.segments.length){const k=new be(g.segments.slice(0,v.pathIndex),{});return k.children[Be]=new be(g.segments.slice(v.pathIndex),g.children),Fs(k,0,D)}return v.match&&0===D.length?new be(g.segments,{}):v.match&&!g.hasChildren()?Cr(g,l,u):v.match?Fs(g,0,D):Cr(g,l,u)}function Fs(g,l,u){if(0===u.length)return new be(g.segments,{});{const v=function Os(g){return es(g[0])?g[0].outlets:{[Be]:g}}(u),D={};return ue(v,((k,W)=>{"string"==typeof k&&(k=[k]),null!==k&&(D[W]=ui(g.children[W],l,k))})),ue(g.children,((k,W)=>{void 0===v[W]&&(D[W]=k)})),new be(g.segments,D)}}function Cr(g,l,u){const v=g.segments.slice(0,l);let D=0;for(;D<u.length;){const k=u[D];if(es(k)){const Ie=li(k.outlets);return new be(v,Ie)}if(0===D&&Xr(u[0])){v.push(new Ue(g.segments[l].path,gs(u[0]))),D++;continue}const W=es(k)?k.outlets[Be]:`${k}`,re=D<u.length-1?u[D+1]:null;W&&re&&Xr(re)?(v.push(new Ue(W,gs(re))),D+=2):(v.push(new Ue(W,{})),D++)}return new be(v,{})}function li(g){const l={};return ue(g,((u,v)=>{"string"==typeof u&&(u=[u]),null!==u&&(l[v]=Cr(new be([],{}),0,u))})),l}function gs(g){const l={};return ue(g,((u,v)=>l[v]=`${u}`)),l}function ei(g,l,u){return g==u.path&&kt(l,u.parameters)}class Ai{constructor(l,u,v,D){this.routeReuseStrategy=l,this.futureState=u,this.currState=v,this.forwardEvent=D}activate(l){const u=this.futureState._root,v=this.currState?this.currState._root:null;this.deactivateChildRoutes(u,v,l),Qs(this.futureState.root),this.activateChildRoutes(u,v,l)}deactivateChildRoutes(l,u,v){const D=Sn(u);l.children.forEach((k=>{const W=k.value.outlet;this.deactivateRoutes(k,D[W],v),delete D[W]})),ue(D,((k,W)=>{this.deactivateRouteAndItsChildren(k,v)}))}deactivateRoutes(l,u,v){const D=l.value,k=u?u.value:null;if(D===k)if(D.component){const W=v.getContext(D.outlet);W&&this.deactivateChildRoutes(l,u,W.children)}else this.deactivateChildRoutes(l,u,v);else k&&this.deactivateRouteAndItsChildren(u,v)}deactivateRouteAndItsChildren(l,u){l.value.component&&this.routeReuseStrategy.shouldDetach(l.value.snapshot)?this.detachAndStoreRouteSubtree(l,u):this.deactivateRouteAndOutlet(l,u)}detachAndStoreRouteSubtree(l,u){const v=u.getContext(l.value.outlet),D=v&&l.value.component?v.children:u,k=Sn(l);for(const W of Object.keys(k))this.deactivateRouteAndItsChildren(k[W],D);if(v&&v.outlet){const W=v.outlet.detach(),re=v.children.onOutletDeactivated();this.routeReuseStrategy.store(l.value.snapshot,{componentRef:W,route:l,contexts:re})}}deactivateRouteAndOutlet(l,u){const v=u.getContext(l.value.outlet),D=v&&l.value.component?v.children:u,k=Sn(l);for(const W of Object.keys(k))this.deactivateRouteAndItsChildren(k[W],D);v&&v.outlet&&(v.outlet.deactivate(),v.children.onOutletDeactivated(),v.attachRef=null,v.resolver=null,v.route=null)}activateChildRoutes(l,u,v){const D=Sn(u);l.children.forEach((k=>{this.activateRoutes(k,D[k.value.outlet],v),this.forwardEvent(new Ze(k.value.snapshot))})),l.children.length&&this.forwardEvent(new gt(l.value.snapshot))}activateRoutes(l,u,v){const D=l.value,k=u?u.value:null;if(Qs(D),D===k)if(D.component){const W=v.getOrCreateContext(D.outlet);this.activateChildRoutes(l,u,W.children)}else this.activateChildRoutes(l,u,v);else if(D.component){const W=v.getOrCreateContext(D.outlet);if(this.routeReuseStrategy.shouldAttach(D.snapshot)){const re=this.routeReuseStrategy.retrieve(D.snapshot);this.routeReuseStrategy.store(D.snapshot,null),W.children.onOutletReAttached(re.contexts),W.attachRef=re.componentRef,W.route=re.route.value,W.outlet&&W.outlet.attach(re.componentRef,re.route.value),Qs(re.route.value),this.activateChildRoutes(l,null,W.children)}else{const re=function ur(g){for(let l=g.parent;l;l=l.parent){const u=l.routeConfig;if(u&&u._loadedConfig)return u._loadedConfig;if(u&&u.component)return null}return null}(D.snapshot),Ie=re?re.module.componentFactoryResolver:null;W.attachRef=null,W.route=D,W.resolver=Ie,W.outlet&&W.outlet.activateWith(D,Ie),this.activateChildRoutes(l,null,W.children)}}else this.activateChildRoutes(l,null,v)}}class ts{constructor(l,u){this.routes=l,this.module=u}}function lr(g){return"function"==typeof g}function xr(g){return g instanceof Kt}const O=Symbol("INITIAL_VALUE");function E(){return Ge((g=>(0,ie.aj)(g.map((l=>l.pipe(Rt(1),(0,qt.O)(O))))).pipe(ge(((l,u)=>{let v=!1;return u.reduce(((D,k,W)=>D!==O?D:(k===O&&(v=!0),v||!1!==k&&W!==u.length-1&&!xr(k)?D:k)),l)}),O),(0,Me.h)((l=>l!==O)),(0,Ee.U)((l=>xr(l)?l:!0===l)),Rt(1))))}class U{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new se,this.attachRef=null}}class se{constructor(){this.contexts=new Map}onChildOutletCreated(l,u){const v=this.getOrCreateContext(l);v.outlet=u,this.contexts.set(l,v)}onChildOutletDestroyed(l){const u=this.getContext(l);u&&(u.outlet=null,u.attachRef=null)}onOutletDeactivated(){const l=this.contexts;return this.contexts=new Map,l}onOutletReAttached(l){this.contexts=l}getOrCreateContext(l){let u=this.getContext(l);return u||(u=new U,this.contexts.set(l,u)),u}getContext(l){return this.contexts.get(l)||null}}let De=(()=>{class g{constructor(u,v,D,k,W){this.parentContexts=u,this.location=v,this.resolver=D,this.changeDetector=W,this.activated=null,this._activatedRoute=null,this.activateEvents=new p.vpe,this.deactivateEvents=new p.vpe,this.attachEvents=new p.vpe,this.detachEvents=new p.vpe,this.name=k||Be,u.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const u=this.parentContexts.getContext(this.name);u&&u.route&&(u.attachRef?this.attach(u.attachRef,u.route):this.activateWith(u.route,u.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const u=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(u.instance),u}attach(u,v){this.activated=u,this._activatedRoute=v,this.location.insert(u.hostView),this.attachEvents.emit(u.instance)}deactivate(){if(this.activated){const u=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(u)}}activateWith(u,v){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=u;const W=(v=v||this.resolver).resolveComponentFactory(u._futureSnapshot.routeConfig.component),re=this.parentContexts.getOrCreateContext(this.name).children,Ie=new Le(u,re,this.location.injector);this.activated=this.location.createComponent(W,this.location.length,Ie),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return g.ɵfac=function(u){return new(u||g)(p.Y36(se),p.Y36(p.s_b),p.Y36(p._Vd),p.$8M("name"),p.Y36(p.sBO))},g.ɵdir=p.lG2({type:g,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),g})();class Le{constructor(l,u,v){this.route=l,this.childContexts=u,this.parent=v}get(l,u){return l===Ir?this.route:l===se?this.childContexts:this.parent.get(l,u)}}let We=(()=>{class g{}return g.ɵfac=function(u){return new(u||g)},g.ɵcmp=p.Xpm({type:g,selectors:[["ng-component"]],decls:1,vars:0,template:function(u,v){1&u&&p._UZ(0,"router-outlet")},directives:[De],encapsulation:2}),g})();function fn(g,l=""){for(let u=0;u<g.length;u++){const v=g[u];vn(v,jt(l,v))}}function vn(g,l){g.children&&fn(g.children,l)}function jt(g,l){return l?g||l.path?g&&!l.path?`${g}/`:!g&&l.path?l.path:`${g}/${l.path}`:"":g}function Xt(g){const l=g.children&&g.children.map(Xt),u=l?{...g,children:l}:{...g};return!u.component&&(l||u.loadChildren)&&u.outlet&&u.outlet!==Be&&(u.component=We),u}function dn(g){return g.outlet||Be}function sn(g,l){const u=g.filter((v=>dn(v)===l));return u.push(...g.filter((v=>dn(v)!==l))),u}const un={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Rr(g,l,u){if(""===l.path)return"full"===l.pathMatch&&(g.hasChildren()||u.length>0)?{...un}:{matched:!0,consumedSegments:[],remainingSegments:u,parameters:{},positionalParamSegments:{}};const D=(l.matcher||ht)(u,g,l);if(!D)return{...un};const k={};ue(D.posParams,((re,Ie)=>{k[Ie]=re.path}));const W=D.consumed.length>0?{...k,...D.consumed[D.consumed.length-1].parameters}:k;return{matched:!0,consumedSegments:D.consumed,remainingSegments:u.slice(D.consumed.length),parameters:W,positionalParamSegments:D.posParams??{}}}function Jn(g,l,u,v,D="corrected"){if(u.length>0&&function ks(g,l,u){return u.some((v=>rs(g,l,v)&&dn(v)!==Be))}(g,u,v)){const W=new be(l,function xn(g,l,u,v){const D={};D[Be]=v,v._sourceSegment=g,v._segmentIndexShift=l.length;for(const k of u)if(""===k.path&&dn(k)!==Be){const W=new be([],{});W._sourceSegment=g,W._segmentIndexShift=l.length,D[dn(k)]=W}return D}(g,l,v,new be(u,g.children)));return W._sourceSegment=g,W._segmentIndexShift=l.length,{segmentGroup:W,slicedSegments:[]}}if(0===u.length&&function Yr(g,l,u){return u.some((v=>rs(g,l,v)))}(g,u,v)){const W=new be(g.segments,function wr(g,l,u,v,D,k){const W={};for(const re of v)if(rs(g,u,re)&&!D[dn(re)]){const Ie=new be([],{});Ie._sourceSegment=g,Ie._segmentIndexShift="legacy"===k?g.segments.length:l.length,W[dn(re)]=Ie}return{...D,...W}}(g,l,u,v,g.children,D));return W._sourceSegment=g,W._segmentIndexShift=l.length,{segmentGroup:W,slicedSegments:u}}const k=new be(g.segments,g.children);return k._sourceSegment=g,k._segmentIndexShift=l.length,{segmentGroup:k,slicedSegments:u}}function rs(g,l,u){return(!(g.hasChildren()||l.length>0)||"full"!==u.pathMatch)&&""===u.path}function jr(g,l,u,v){return!!(dn(g)===v||v!==Be&&rs(l,u,g))&&("**"===g.path||Rr(l,g,u).matched)}function fi(g,l,u){return 0===l.length&&!g.children[u]}class ss{constructor(l){this.segmentGroup=l||null}}class Nt{constructor(l){this.urlTree=l}}function is(g){return(0,ae._)(new ss(g))}function fo(g){return(0,ae._)(new Nt(g))}class Ii{constructor(l,u,v,D,k){this.configLoader=u,this.urlSerializer=v,this.urlTree=D,this.config=k,this.allowRedirects=!0,this.ngModule=l.get(p.h0i)}apply(){const l=Jn(this.urlTree.root,[],[],this.config).segmentGroup,u=new be(l.segments,l.children);return this.expandSegmentGroup(this.ngModule,this.config,u,Be).pipe((0,Ee.U)((k=>this.createUrlTree(hi(k),this.urlTree.queryParams,this.urlTree.fragment)))).pipe((0,$n.K)((k=>{if(k instanceof Nt)return this.allowRedirects=!1,this.match(k.urlTree);throw k instanceof ss?this.noMatchError(k):k})))}match(l){return this.expandSegmentGroup(this.ngModule,this.config,l.root,Be).pipe((0,Ee.U)((D=>this.createUrlTree(hi(D),l.queryParams,l.fragment)))).pipe((0,$n.K)((D=>{throw D instanceof ss?this.noMatchError(D):D})))}noMatchError(l){return new Error(`Cannot match any routes. URL Segment: '${l.segmentGroup}'`)}createUrlTree(l,u,v){const D=l.segments.length>0?new be([],{[Be]:l}):l;return new Kt(D,u,v)}expandSegmentGroup(l,u,v,D){return 0===v.segments.length&&v.hasChildren()?this.expandChildren(l,u,v).pipe((0,Ee.U)((k=>new be([],k)))):this.expandSegment(l,v,u,v.segments,D,!0)}expandChildren(l,u,v){const D=[];for(const k of Object.keys(v.children))"primary"===k?D.unshift(k):D.push(k);return(0,B.D)(D).pipe((0,In.b)((k=>{const W=v.children[k],re=sn(u,k);return this.expandSegmentGroup(l,re,W,k).pipe((0,Ee.U)((Ie=>({segment:Ie,outlet:k}))))})),ge(((k,W)=>(k[W.outlet]=W.segment,k)),{}),function Dr(g,l){const u=arguments.length>=2;return v=>v.pipe(g?(0,Me.h)(((D,k)=>g(D,k,v))):ir.y,wt(1),u?Tn(l):Qt((()=>new x)))}())}expandSegment(l,u,v,D,k,W){return(0,B.D)(v).pipe((0,In.b)((re=>this.expandSegmentAgainstRoute(l,u,v,re,D,k,W).pipe((0,$n.K)((ft=>{if(ft instanceof ss)return(0,Z.of)(null);throw ft}))))),Vn((re=>!!re)),(0,$n.K)(((re,Ie)=>{if(re instanceof x||"EmptyError"===re.name)return fi(u,D,k)?(0,Z.of)(new be([],{})):is(u);throw re})))}expandSegmentAgainstRoute(l,u,v,D,k,W,re){return jr(D,u,k,W)?void 0===D.redirectTo?this.matchSegmentAgainstRoute(l,u,D,k,W):re&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(l,u,v,D,k,W):is(u):is(u)}expandSegmentAgainstRouteUsingRedirect(l,u,v,D,k,W){return"**"===D.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(l,v,D,W):this.expandRegularSegmentAgainstRouteUsingRedirect(l,u,v,D,k,W)}expandWildCardWithParamsAgainstRouteUsingRedirect(l,u,v,D){const k=this.applyRedirectCommands([],v.redirectTo,{});return v.redirectTo.startsWith("/")?fo(k):this.lineralizeSegments(v,k).pipe((0,hn.zg)((W=>{const re=new be(W,{});return this.expandSegment(l,re,u,W,D,!1)})))}expandRegularSegmentAgainstRouteUsingRedirect(l,u,v,D,k,W){const{matched:re,consumedSegments:Ie,remainingSegments:ft,positionalParamSegments:on}=Rr(u,D,k);if(!re)return is(u);const _t=this.applyRedirectCommands(Ie,D.redirectTo,on);return D.redirectTo.startsWith("/")?fo(_t):this.lineralizeSegments(D,_t).pipe((0,hn.zg)((yn=>this.expandSegment(l,u,v,yn.concat(ft),W,!1))))}matchSegmentAgainstRoute(l,u,v,D,k){if("**"===v.path)return v.loadChildren?(v._loadedConfig?(0,Z.of)(v._loadedConfig):this.configLoader.load(l.injector,v)).pipe((0,Ee.U)((_t=>(v._loadedConfig=_t,new be(D,{}))))):(0,Z.of)(new be(D,{}));const{matched:W,consumedSegments:re,remainingSegments:Ie}=Rr(u,v,D);return W?this.getChildConfig(l,v,D).pipe((0,hn.zg)((on=>{const _t=on.module,yn=on.routes,{segmentGroup:Dn,slicedSegments:$s}=Jn(u,re,Ie,yn),Qr=new be(Dn.segments,Dn.children);if(0===$s.length&&Qr.hasChildren())return this.expandChildren(_t,yn,Qr).pipe((0,Ee.U)((Co=>new be(re,Co))));if(0===yn.length&&0===$s.length)return(0,Z.of)(new be(re,{}));const Es=dn(v)===k;return this.expandSegment(_t,Qr,yn,$s,Es?Be:k,!0).pipe((0,Ee.U)((ri=>new be(re.concat(ri.segments),ri.children))))}))):is(u)}getChildConfig(l,u,v){return u.children?(0,Z.of)(new ts(u.children,l)):u.loadChildren?void 0!==u._loadedConfig?(0,Z.of)(u._loadedConfig):this.runCanLoadGuards(l.injector,u,v).pipe((0,hn.zg)((D=>D?this.configLoader.load(l.injector,u).pipe((0,Ee.U)((k=>(u._loadedConfig=k,k)))):function ho(g){return(0,ae._)(Yt(`Cannot load children because the guard of the route "path: '${g.path}'" returned false`))}(u)))):(0,Z.of)(new ts([],l))}runCanLoadGuards(l,u,v){const D=u.canLoad;if(!D||0===D.length)return(0,Z.of)(!0);const k=D.map((W=>{const re=l.get(W);let Ie;if(function cr(g){return g&&lr(g.canLoad)}(re))Ie=re.canLoad(u,v);else{if(!lr(re))throw new Error("Invalid CanLoad guard");Ie=re(u,v)}return Q(Ie)}));return(0,Z.of)(k).pipe(E(),(0,pn.b)((W=>{if(!xr(W))return;const re=Yt(`Redirecting to "${this.urlSerializer.serialize(W)}"`);throw re.url=W,re})),(0,Ee.U)((W=>!0===W)))}lineralizeSegments(l,u){let v=[],D=u.root;for(;;){if(v=v.concat(D.segments),0===D.numberOfChildren)return(0,Z.of)(v);if(D.numberOfChildren>1||!D.children[Be])return(0,ae._)(new Error(`Only absolute redirects can have named outlets. redirectTo: '${l.redirectTo}'`));D=D.children[Be]}}applyRedirectCommands(l,u,v){return this.applyRedirectCreatreUrlTree(u,this.urlSerializer.parse(u),l,v)}applyRedirectCreatreUrlTree(l,u,v,D){const k=this.createSegmentGroup(l,u.root,v,D);return new Kt(k,this.createQueryParams(u.queryParams,this.urlTree.queryParams),u.fragment)}createQueryParams(l,u){const v={};return ue(l,((D,k)=>{if("string"==typeof D&&D.startsWith(":")){const re=D.substring(1);v[k]=u[re]}else v[k]=D})),v}createSegmentGroup(l,u,v,D){const k=this.createSegments(l,u.segments,v,D);let W={};return ue(u.children,((re,Ie)=>{W[Ie]=this.createSegmentGroup(l,re,v,D)})),new be(k,W)}createSegments(l,u,v,D){return u.map((k=>k.path.startsWith(":")?this.findPosParam(l,k,D):this.findOrReturn(k,v)))}findPosParam(l,u,v){const D=v[u.path.substring(1)];if(!D)throw new Error(`Cannot redirect to '${l}'. Cannot find '${u.path}'.`);return D}findOrReturn(l,u){let v=0;for(const D of u){if(D.path===l.path)return u.splice(v),D;v++}return l}}function hi(g){const l={};for(const v of Object.keys(g.children)){const k=hi(g.children[v]);(k.segments.length>0||k.hasChildren())&&(l[v]=k)}return function go(g){if(1===g.numberOfChildren&&g.children[Be]){const l=g.children[Be];return new be(g.segments.concat(l.segments),l.children)}return g}(new be(g.segments,l))}class en{constructor(l){this.path=l,this.route=this.path[this.path.length-1]}}class ys{constructor(l,u){this.component=l,this.route=u}}function Nn(g,l,u){const v=g._root;return S(v,l?l._root:null,u,[v.value])}function Kr(g,l,u){const v=function Br(g){if(!g)return null;for(let l=g.parent;l;l=l.parent){const u=l.routeConfig;if(u&&u._loadedConfig)return u._loadedConfig}return null}(l);return(v?v.module.injector:u).get(g)}function S(g,l,u,v,D={canDeactivateChecks:[],canActivateChecks:[]}){const k=Sn(l);return g.children.forEach((W=>{(function a(g,l,u,v,D={canDeactivateChecks:[],canActivateChecks:[]}){const k=g.value,W=l?l.value:null,re=u?u.getContext(g.value.outlet):null;if(W&&k.routeConfig===W.routeConfig){const Ie=function c(g,l,u){if("function"==typeof u)return u(g,l);switch(u){case"pathParamsChange":return!ye(g.url,l.url);case"pathParamsOrQueryParamsChange":return!ye(g.url,l.url)||!kt(g.queryParams,l.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!fs(g,l)||!kt(g.queryParams,l.queryParams);default:return!fs(g,l)}}(W,k,k.routeConfig.runGuardsAndResolvers);Ie?D.canActivateChecks.push(new en(v)):(k.data=W.data,k._resolvedData=W._resolvedData),S(g,l,k.component?re?re.children:null:u,v,D),Ie&&re&&re.outlet&&re.outlet.isActivated&&D.canDeactivateChecks.push(new ys(re.outlet.component,W))}else W&&y(l,re,D),D.canActivateChecks.push(new en(v)),S(g,null,k.component?re?re.children:null:u,v,D)})(W,k[W.value.outlet],u,v.concat([W.value]),D),delete k[W.value.outlet]})),ue(k,((W,re)=>y(W,u.getContext(re),D))),D}function y(g,l,u){const v=Sn(g),D=g.value;ue(v,((k,W)=>{y(k,D.component?l?l.children.getContext(W):null:l,u)})),u.canDeactivateChecks.push(new ys(D.component&&l&&l.outlet&&l.outlet.isActivated?l.outlet.component:null,D))}class Bt{}function Zt(g){return new P.y((l=>l.error(g)))}class Ht{constructor(l,u,v,D,k,W){this.rootComponentType=l,this.config=u,this.urlTree=v,this.url=D,this.paramsInheritanceStrategy=k,this.relativeLinkResolution=W}recognize(){const l=Jn(this.urlTree.root,[],[],this.config.filter((W=>void 0===W.redirectTo)),this.relativeLinkResolution).segmentGroup,u=this.processSegmentGroup(this.config,l,Be);if(null===u)return null;const v=new Ln([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Be,this.rootComponentType,null,this.urlTree.root,-1,{}),D=new Yn(v,u),k=new xs(this.url,D);return this.inheritParamsAndData(k._root),k}inheritParamsAndData(l){const u=l.value,v=Pr(u,this.paramsInheritanceStrategy);u.params=Object.freeze(v.params),u.data=Object.freeze(v.data),l.children.forEach((D=>this.inheritParamsAndData(D)))}processSegmentGroup(l,u,v){return 0===u.segments.length&&u.hasChildren()?this.processChildren(l,u):this.processSegment(l,u,u.segments,v)}processChildren(l,u){const v=[];for(const k of Object.keys(u.children)){const W=u.children[k],re=sn(l,k),Ie=this.processSegmentGroup(re,W,k);if(null===Ie)return null;v.push(...Ie)}const D=Xn(v);return function ln(g){g.sort(((l,u)=>l.value.outlet===Be?-1:u.value.outlet===Be?1:l.value.outlet.localeCompare(u.value.outlet)))}(D),D}processSegment(l,u,v,D){for(const k of l){const W=this.processSegmentAgainstRoute(k,u,v,D);if(null!==W)return W}return fi(u,v,D)?[]:null}processSegmentAgainstRoute(l,u,v,D){if(l.redirectTo||!jr(l,u,v,D))return null;let k,W=[],re=[];if("**"===l.path){const Dn=v.length>0?lt(v).parameters:{};k=new Ln(v,Dn,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Zn(l),dn(l),l.component,l,Nr(u),mr(u)+v.length,Tr(l))}else{const Dn=Rr(u,l,v);if(!Dn.matched)return null;W=Dn.consumedSegments,re=Dn.remainingSegments,k=new Ln(W,Dn.parameters,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Zn(l),dn(l),l.component,l,Nr(u),mr(u)+W.length,Tr(l))}const Ie=function On(g){return g.children?g.children:g.loadChildren?g._loadedConfig.routes:[]}(l),{segmentGroup:ft,slicedSegments:on}=Jn(u,W,re,Ie.filter((Dn=>void 0===Dn.redirectTo)),this.relativeLinkResolution);if(0===on.length&&ft.hasChildren()){const Dn=this.processChildren(Ie,ft);return null===Dn?null:[new Yn(k,Dn)]}if(0===Ie.length&&0===on.length)return[new Yn(k,[])];const _t=dn(l)===D,yn=this.processSegment(Ie,ft,on,_t?Be:D);return null===yn?null:[new Yn(k,yn)]}}function Fn(g){const l=g.value.routeConfig;return l&&""===l.path&&void 0===l.redirectTo}function Xn(g){const l=[],u=new Set;for(const v of g){if(!Fn(v)){l.push(v);continue}const D=l.find((k=>v.value.routeConfig===k.value.routeConfig));void 0!==D?(D.children.push(...v.children),u.add(D)):l.push(v)}for(const v of u){const D=Xn(v.children);l.push(new Yn(v.value,D))}return l.filter((v=>!u.has(v)))}function Nr(g){let l=g;for(;l._sourceSegment;)l=l._sourceSegment;return l}function mr(g){let l=g,u=l._segmentIndexShift?l._segmentIndexShift:0;for(;l._sourceSegment;)l=l._sourceSegment,u+=l._segmentIndexShift?l._segmentIndexShift:0;return u-1}function Zn(g){return g.data||{}}function Tr(g){return g.resolve||{}}function Mn(g){return[...Object.keys(g),...Object.getOwnPropertySymbols(g)]}function _n(g){return Ge((l=>{const u=g(l);return u?(0,B.D)(u).pipe((0,Ee.U)((()=>l))):(0,Z.of)(l)}))}class xt extends class Ct{shouldDetach(l){return!1}store(l,u){}shouldAttach(l){return!1}retrieve(l){return null}shouldReuseRoute(l,u){return l.routeConfig===u.routeConfig}}{}const nn=new p.OlP("ROUTES");class kn{constructor(l,u,v,D){this.injector=l,this.compiler=u,this.onLoadStartListener=v,this.onLoadEndListener=D}load(l,u){if(u._loader$)return u._loader$;this.onLoadStartListener&&this.onLoadStartListener(u);const D=this.loadModuleFactory(u.loadChildren).pipe((0,Ee.U)((k=>{this.onLoadEndListener&&this.onLoadEndListener(u);const W=k.create(l);return new ts(At(W.injector.get(nn,void 0,p.XFs.Self|p.XFs.Optional)).map(Xt),W)})),(0,$n.K)((k=>{throw u._loader$=void 0,k})));return u._loader$=new ot.c(D,(()=>new A.xQ)).pipe((0,Gr.x)()),u._loader$}loadModuleFactory(l){return Q(l()).pipe((0,hn.zg)((u=>u instanceof p.YKP?(0,Z.of)(u):(0,B.D)(this.compiler.compileModuleAsync(u)))))}}class er{shouldProcessUrl(l){return!0}extract(l){return l}merge(l,u){return l}}function Sr(g){throw g}function En(g,l,u){return l.parse("/")}function Bs(g,l){return(0,Z.of)(null)}const Ri={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},nr={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let mn=(()=>{class g{constructor(u,v,D,k,W,re,Ie){this.rootComponentType=u,this.urlSerializer=v,this.rootContexts=D,this.location=k,this.config=Ie,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new A.xQ,this.errorHandler=Sr,this.malformedUriErrorHandler=En,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Bs,afterPreactivation:Bs},this.urlHandlingStrategy=new er,this.routeReuseStrategy=new xt,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=W.get(p.h0i),this.console=W.get(p.c2e);const _t=W.get(p.R0b);this.isNgZoneEnabled=_t instanceof p.R0b&&p.R0b.isInAngularZone(),this.resetConfig(Ie),this.currentUrlTree=function G(){return new Kt(new be([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new kn(W,re,(yn=>this.triggerEvent(new Fe(yn))),(yn=>this.triggerEvent(new it(yn)))),this.routerState=gr(this.currentUrlTree,this.rootComponentType),this.transitions=new C({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(u){const v=this.events;return u.pipe((0,Me.h)((D=>0!==D.id)),(0,Ee.U)((D=>({...D,extractedUrl:this.urlHandlingStrategy.extract(D.rawUrl)}))),Ge((D=>{let k=!1,W=!1;return(0,Z.of)(D).pipe((0,pn.b)((re=>{this.currentNavigation={id:re.id,initialUrl:re.currentRawUrl,extractedUrl:re.extractedUrl,trigger:re.source,extras:re.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}})),Ge((re=>{const Ie=this.browserUrlTree.toString(),ft=!this.navigated||re.extractedUrl.toString()!==Ie||Ie!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||ft)&&this.urlHandlingStrategy.shouldProcessUrl(re.rawUrl))return Zr(re.source)&&(this.browserUrlTree=re.extractedUrl),(0,Z.of)(re).pipe(Ge((_t=>{const yn=this.transitions.getValue();return v.next(new he(_t.id,this.serializeUrl(_t.extractedUrl),_t.source,_t.restoredState)),yn!==this.transitions.getValue()?I:Promise.resolve(_t)})),function je(g,l,u,v){return Ge((D=>function po(g,l,u,v,D){return new Ii(g,l,u,v,D).apply()}(g,l,u,D.extractedUrl,v).pipe((0,Ee.U)((k=>({...D,urlAfterRedirects:k}))))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,pn.b)((_t=>{this.currentNavigation={...this.currentNavigation,finalUrl:_t.urlAfterRedirects}})),function Or(g,l,u,v,D){return(0,hn.zg)((k=>function Mt(g,l,u,v,D="emptyOnly",k="legacy"){try{const W=new Ht(g,l,u,v,D,k).recognize();return null===W?Zt(new Bt):(0,Z.of)(W)}catch(W){return Zt(W)}}(g,l,k.urlAfterRedirects,u(k.urlAfterRedirects),v,D).pipe((0,Ee.U)((W=>({...k,targetSnapshot:W}))))))}(this.rootComponentType,this.config,(_t=>this.serializeUrl(_t)),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,pn.b)((_t=>{if("eager"===this.urlUpdateStrategy){if(!_t.extras.skipLocationChange){const Dn=this.urlHandlingStrategy.merge(_t.urlAfterRedirects,_t.rawUrl);this.setBrowserUrl(Dn,_t)}this.browserUrlTree=_t.urlAfterRedirects}const yn=new oe(_t.id,this.serializeUrl(_t.extractedUrl),this.serializeUrl(_t.urlAfterRedirects),_t.targetSnapshot);v.next(yn)})));if(ft&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:yn,extractedUrl:Dn,source:$s,restoredState:Qr,extras:Es}=re,Gs=new he(yn,this.serializeUrl(Dn),$s,Qr);v.next(Gs);const ri=gr(Dn,this.rootComponentType).snapshot;return(0,Z.of)({...re,targetSnapshot:ri,urlAfterRedirects:Dn,extras:{...Es,skipLocationChange:!1,replaceUrl:!1}})}return this.rawUrlTree=re.rawUrl,re.resolve(null),I})),_n((re=>{const{targetSnapshot:Ie,id:ft,extractedUrl:on,rawUrl:_t,extras:{skipLocationChange:yn,replaceUrl:Dn}}=re;return this.hooks.beforePreactivation(Ie,{navigationId:ft,appliedUrlTree:on,rawUrlTree:_t,skipLocationChange:!!yn,replaceUrl:!!Dn})})),(0,pn.b)((re=>{const Ie=new de(re.id,this.serializeUrl(re.extractedUrl),this.serializeUrl(re.urlAfterRedirects),re.targetSnapshot);this.triggerEvent(Ie)})),(0,Ee.U)((re=>({...re,guards:Nn(re.targetSnapshot,re.currentSnapshot,this.rootContexts)}))),function R(g,l){return(0,hn.zg)((u=>{const{targetSnapshot:v,currentSnapshot:D,guards:{canActivateChecks:k,canDeactivateChecks:W}}=u;return 0===W.length&&0===k.length?(0,Z.of)({...u,guardsResult:!0}):function V(g,l,u,v){return(0,B.D)(g).pipe((0,hn.zg)((D=>function vt(g,l,u,v,D){const k=l&&l.routeConfig?l.routeConfig.canDeactivate:null;if(!k||0===k.length)return(0,Z.of)(!0);const W=k.map((re=>{const Ie=Kr(re,l,D);let ft;if(function _(g){return g&&lr(g.canDeactivate)}(Ie))ft=Q(Ie.canDeactivate(g,l,u,v));else{if(!lr(Ie))throw new Error("Invalid CanDeactivate guard");ft=Q(Ie(g,l,u,v))}return ft.pipe(Vn())}));return(0,Z.of)(W).pipe(E())}(D.component,D.route,u,l,v))),Vn((D=>!0!==D),!0))}(W,v,D,g).pipe((0,hn.zg)((re=>re&&function ns(g){return"boolean"==typeof g}(re)?function Y(g,l,u,v){return(0,B.D)(l).pipe((0,In.b)((D=>(0,Pe.z)(function pe(g,l){return null!==g&&l&&l(new Tt(g)),(0,Z.of)(!0)}(D.route.parent,v),function q(g,l){return null!==g&&l&&l(new St(g)),(0,Z.of)(!0)}(D.route,v),function Qe(g,l,u){const v=l[l.length-1],k=l.slice(0,l.length-1).reverse().map((W=>function Pi(g){const l=g.routeConfig?g.routeConfig.canActivateChild:null;return l&&0!==l.length?{node:g,guards:l}:null}(W))).filter((W=>null!==W)).map((W=>X((()=>{const re=W.guards.map((Ie=>{const ft=Kr(Ie,W.node,u);let on;if(function di(g){return g&&lr(g.canActivateChild)}(ft))on=Q(ft.canActivateChild(v,g));else{if(!lr(ft))throw new Error("Invalid CanActivateChild guard");on=Q(ft(v,g))}return on.pipe(Vn())}));return(0,Z.of)(re).pipe(E())}))));return(0,Z.of)(k).pipe(E())}(g,D.path,u),function we(g,l,u){const v=l.routeConfig?l.routeConfig.canActivate:null;if(!v||0===v.length)return(0,Z.of)(!0);const D=v.map((k=>X((()=>{const W=Kr(k,l,u);let re;if(function ms(g){return g&&lr(g.canActivate)}(W))re=Q(W.canActivate(l,g));else{if(!lr(W))throw new Error("Invalid CanActivate guard");re=Q(W(l,g))}return re.pipe(Vn())}))));return(0,Z.of)(D).pipe(E())}(g,D.route,u)))),Vn((D=>!0!==D),!0))}(v,k,g,l):(0,Z.of)(re))),(0,Ee.U)((re=>({...u,guardsResult:re}))))}))}(this.ngModule.injector,(re=>this.triggerEvent(re))),(0,pn.b)((re=>{if(xr(re.guardsResult)){const ft=Yt(`Redirecting to "${this.serializeUrl(re.guardsResult)}"`);throw ft.url=re.guardsResult,ft}const Ie=new me(re.id,this.serializeUrl(re.extractedUrl),this.serializeUrl(re.urlAfterRedirects),re.targetSnapshot,!!re.guardsResult);this.triggerEvent(Ie)})),(0,Me.h)((re=>!!re.guardsResult||(this.restoreHistory(re),this.cancelNavigationTransition(re,""),!1))),_n((re=>{if(re.guards.canActivateChecks.length)return(0,Z.of)(re).pipe((0,pn.b)((Ie=>{const ft=new Ae(Ie.id,this.serializeUrl(Ie.extractedUrl),this.serializeUrl(Ie.urlAfterRedirects),Ie.targetSnapshot);this.triggerEvent(ft)})),Ge((Ie=>{let ft=!1;return(0,Z.of)(Ie).pipe(function yr(g,l){return(0,hn.zg)((u=>{const{targetSnapshot:v,guards:{canActivateChecks:D}}=u;if(!D.length)return(0,Z.of)(u);let k=0;return(0,B.D)(D).pipe((0,In.b)((W=>function xi(g,l,u,v){return function js(g,l,u,v){const D=Mn(g);if(0===D.length)return(0,Z.of)({});const k={};return(0,B.D)(D).pipe((0,hn.zg)((W=>function Ur(g,l,u,v){const D=Kr(g,l,v);return Q(D.resolve?D.resolve(l,u):D(l,u))}(g[W],l,u,v).pipe((0,pn.b)((re=>{k[W]=re}))))),wt(1),(0,hn.zg)((()=>Mn(k).length===D.length?(0,Z.of)(k):I)))}(g._resolve,g,l,v).pipe((0,Ee.U)((k=>(g._resolvedData=k,g.data={...g.data,...Pr(g,u).resolve},null))))}(W.route,v,g,l))),(0,pn.b)((()=>k++)),wt(1),(0,hn.zg)((W=>k===D.length?(0,Z.of)(u):I)))}))}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,pn.b)({next:()=>ft=!0,complete:()=>{ft||(this.restoreHistory(Ie),this.cancelNavigationTransition(Ie,"At least one route resolver didn't emit any value."))}}))})),(0,pn.b)((Ie=>{const ft=new rt(Ie.id,this.serializeUrl(Ie.extractedUrl),this.serializeUrl(Ie.urlAfterRedirects),Ie.targetSnapshot);this.triggerEvent(ft)})))})),_n((re=>{const{targetSnapshot:Ie,id:ft,extractedUrl:on,rawUrl:_t,extras:{skipLocationChange:yn,replaceUrl:Dn}}=re;return this.hooks.afterPreactivation(Ie,{navigationId:ft,appliedUrlTree:on,rawUrlTree:_t,skipLocationChange:!!yn,replaceUrl:!!Dn})})),(0,Ee.U)((re=>{const Ie=function co(g,l,u){const v=hs(g,l._root,u?u._root:void 0);return new Ks(v,l)}(this.routeReuseStrategy,re.targetSnapshot,re.currentRouterState);return{...re,targetRouterState:Ie}})),(0,pn.b)((re=>{this.currentUrlTree=re.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(re.urlAfterRedirects,re.rawUrl),this.routerState=re.targetRouterState,"deferred"===this.urlUpdateStrategy&&(re.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,re),this.browserUrlTree=re.urlAfterRedirects)})),((g,l,u)=>(0,Ee.U)((v=>(new Ai(l,v.targetRouterState,v.currentRouterState,u).activate(g),v))))(this.rootContexts,this.routeReuseStrategy,(re=>this.triggerEvent(re))),(0,pn.b)({next(){k=!0},complete(){k=!0}}),(0,jn.x)((()=>{k||W||this.cancelNavigationTransition(D,`Navigation ID ${D.id} is not equal to the current navigation id ${this.navigationId}`),this.currentNavigation?.id===D.id&&(this.currentNavigation=null)})),(0,$n.K)((re=>{if(W=!0,function Jt(g){return g&&g[cn]}(re)){const Ie=xr(re.url);Ie||(this.navigated=!0,this.restoreHistory(D,!0));const ft=new H(D.id,this.serializeUrl(D.extractedUrl),re.message);v.next(ft),Ie?setTimeout((()=>{const on=this.urlHandlingStrategy.merge(re.url,this.rawUrlTree),_t={skipLocationChange:D.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Zr(D.source)};this.scheduleNavigation(on,"imperative",null,_t,{resolve:D.resolve,reject:D.reject,promise:D.promise})}),0):D.resolve(!1)}else{this.restoreHistory(D,!0);const Ie=new L(D.id,this.serializeUrl(D.extractedUrl),re);v.next(Ie);try{D.resolve(this.errorHandler(re))}catch(ft){D.reject(ft)}}return I})))})))}resetRootComponentType(u){this.rootComponentType=u,this.routerState.root.component=this.rootComponentType}setTransition(u){this.transitions.next({...this.transitions.value,...u})}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe((u=>{const v="popstate"===u.type?"popstate":"hashchange";"popstate"===v&&setTimeout((()=>{const D={replaceUrl:!0},k=u.state?.navigationId?u.state:null;if(k){const re={...k};delete re.navigationId,delete re.ɵrouterPageId,0!==Object.keys(re).length&&(D.state=re)}const W=this.parseUrl(u.url);this.scheduleNavigation(W,v,k,D)}),0)})))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(u){this.events.next(u)}resetConfig(u){fn(u),this.config=u.map(Xt),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(u,v={}){const{relativeTo:D,queryParams:k,fragment:W,queryParamsHandling:re,preserveFragment:Ie}=v,ft=D||this.routerState.root,on=Ie?this.currentUrlTree.fragment:W;let _t=null;switch(re){case"merge":_t={...this.currentUrlTree.queryParams,...k};break;case"preserve":_t=this.currentUrlTree.queryParams;break;default:_t=k||null}return null!==_t&&(_t=this.removeEmptyProps(_t)),function oi(g,l,u,v,D){if(0===u.length)return qs(l.root,l.root,l.root,v,D);const k=function Si(g){if("string"==typeof g[0]&&1===g.length&&"/"===g[0])return new ai(!0,0,g);let l=0,u=!1;const v=g.reduce(((D,k,W)=>{if("object"==typeof k&&null!=k){if(k.outlets){const re={};return ue(k.outlets,((Ie,ft)=>{re[ft]="string"==typeof Ie?Ie.split("/"):Ie})),[...D,{outlets:re}]}if(k.segmentPath)return[...D,k.segmentPath]}return"string"!=typeof k?[...D,k]:0===W?(k.split("/").forEach(((re,Ie)=>{0==Ie&&"."===re||(0==Ie&&""===re?u=!0:".."===re?l++:""!=re&&D.push(re))})),D):[...D,k]}),[]);return new ai(u,l,v)}(u);if(k.toRoot())return qs(l.root,l.root,new be([],{}),v,D);const W=function Ns(g,l,u){if(g.isAbsolute)return new Xs(l.root,!0,0);if(-1===u.snapshot._lastPathIndex){const k=u.snapshot._urlSegment;return new Xs(k,k===l.root,0)}const v=Xr(g.commands[0])?0:1;return function ps(g,l,u){let v=g,D=l,k=u;for(;k>D;){if(k-=D,v=v.parent,!v)throw new Error("Invalid number of '../'");D=v.segments.length}return new Xs(v,!1,D-k)}(u.snapshot._urlSegment,u.snapshot._lastPathIndex+v,g.numberOfDoubleDots)}(k,l,g),re=W.processChildren?Fs(W.segmentGroup,W.index,k.commands):ui(W.segmentGroup,W.index,k.commands);return qs(l.root,W.segmentGroup,re,v,D)}(ft,this.currentUrlTree,u,_t,on??null)}navigateByUrl(u,v={skipLocationChange:!1}){const D=xr(u)?u:this.parseUrl(u),k=this.urlHandlingStrategy.merge(D,this.rawUrlTree);return this.scheduleNavigation(k,"imperative",null,v)}navigate(u,v={skipLocationChange:!1}){return function vr(g){for(let l=0;l<g.length;l++){const u=g[l];if(null==u)throw new Error(`The requested path contains ${u} segment at index ${l}`)}}(u),this.navigateByUrl(this.createUrlTree(u,v),v)}serializeUrl(u){return this.urlSerializer.serialize(u)}parseUrl(u){let v;try{v=this.urlSerializer.parse(u)}catch(D){v=this.malformedUriErrorHandler(D,this.urlSerializer,u)}return v}isActive(u,v){let D;if(D=!0===v?{...Ri}:!1===v?{...nr}:v,xr(u))return tt(this.currentUrlTree,u,D);const k=this.parseUrl(u);return tt(this.currentUrlTree,k,D)}removeEmptyProps(u){return Object.keys(u).reduce(((v,D)=>{const k=u[D];return null!=k&&(v[D]=k),v}),{})}processNavigations(){this.navigations.subscribe((u=>{this.navigated=!0,this.lastSuccessfulId=u.id,this.currentPageId=u.targetPageId,this.events.next(new K(u.id,this.serializeUrl(u.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,u.resolve(!0)}),(u=>{this.console.warn(`Unhandled Navigation Error: ${u}`)}))}scheduleNavigation(u,v,D,k,W){if(this.disposed)return Promise.resolve(!1);let re,Ie,ft;W?(re=W.resolve,Ie=W.reject,ft=W.promise):ft=new Promise(((yn,Dn)=>{re=yn,Ie=Dn}));const on=++this.navigationId;let _t;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(D=this.location.getState()),_t=D&&D.ɵrouterPageId?D.ɵrouterPageId:k.replaceUrl||k.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):_t=0,this.setTransition({id:on,targetPageId:_t,source:v,restoredState:D,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:u,extras:k,resolve:re,reject:Ie,promise:ft,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),ft.catch((yn=>Promise.reject(yn)))}setBrowserUrl(u,v){const D=this.urlSerializer.serialize(u),k={...v.extras.state,...this.generateNgRouterState(v.id,v.targetPageId)};this.location.isCurrentPathEqualTo(D)||v.extras.replaceUrl?this.location.replaceState(D,"",k):this.location.go(D,"",k)}restoreHistory(u,v=!1){if("computed"===this.canceledNavigationResolution){const D=this.currentPageId-u.targetPageId;"popstate"!==u.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.currentNavigation?.finalUrl||0===D?this.currentUrlTree===this.currentNavigation?.finalUrl&&0===D&&(this.resetState(u),this.browserUrlTree=u.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(D)}else"replace"===this.canceledNavigationResolution&&(v&&this.resetState(u),this.resetUrlToCurrentUrlTree())}resetState(u){this.routerState=u.currentRouterState,this.currentUrlTree=u.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,u.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(u,v){const D=new H(u.id,this.serializeUrl(u.extractedUrl),v);this.triggerEvent(D),u.resolve(!1)}generateNgRouterState(u,v){return"computed"===this.canceledNavigationResolution?{navigationId:u,"ɵrouterPageId":v}:{navigationId:u}}}return g.ɵfac=function(u){p.$Z()},g.ɵprov=p.Yz7({token:g,factory:g.ɵfac}),g})();function Zr(g){return"imperative"!==g}class Ka{}class pi{preload(l,u){return(0,Z.of)(null)}}let mo=(()=>{class g{constructor(u,v,D,k){this.router=u,this.injector=D,this.preloadingStrategy=k,this.loader=new kn(D,v,(Ie=>u.triggerEvent(new Fe(Ie))),(Ie=>u.triggerEvent(new it(Ie))))}setUpPreloading(){this.subscription=this.router.events.pipe((0,Me.h)((u=>u instanceof K)),(0,In.b)((()=>this.preload()))).subscribe((()=>{}))}preload(){const u=this.injector.get(p.h0i);return this.processRoutes(u,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(u,v){const D=[];for(const k of v)if(k.loadChildren&&!k.canLoad&&k._loadedConfig){const W=k._loadedConfig;D.push(this.processRoutes(W.module,W.routes))}else k.loadChildren&&!k.canLoad?D.push(this.preloadConfig(u,k)):k.children&&D.push(this.processRoutes(u,k.children));return(0,B.D)(D).pipe((0,or.J)(),(0,Ee.U)((k=>{})))}preloadConfig(u,v){return this.preloadingStrategy.preload(v,(()=>(v._loadedConfig?(0,Z.of)(v._loadedConfig):this.loader.load(u.injector,v)).pipe((0,hn.zg)((k=>(v._loadedConfig=k,this.processRoutes(k.module,k.routes)))))))}}return g.ɵfac=function(u){return new(u||g)(p.LFG(mn),p.LFG(p.Sil),p.LFG(p.zs3),p.LFG(Ka))},g.ɵprov=p.Yz7({token:g,factory:g.ɵfac}),g})(),gi=(()=>{class g{constructor(u,v,D={}){this.router=u,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((u=>{u instanceof he?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=u.navigationTrigger,this.restoredId=u.restoredState?u.restoredState.navigationId:0):u instanceof K&&(this.lastId=u.id,this.scheduleScrollEvent(u,this.router.parseUrl(u.urlAfterRedirects).fragment))}))}consumeScrollEvents(){return this.router.events.subscribe((u=>{u instanceof Ut&&(u.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(u.position):u.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(u.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))}))}scheduleScrollEvent(u,v){this.router.triggerEvent(new Ut(u,"popstate"===this.lastSource?this.store[this.restoredId]:null,v))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return g.ɵfac=function(u){p.$Z()},g.ɵprov=p.Yz7({token:g,factory:g.ɵfac}),g})();const _s=new p.OlP("ROUTER_CONFIGURATION"),vo=new p.OlP("ROUTER_FORROOT_GUARD"),ti=[h.Ye,{provide:nt,useClass:qe},{provide:mn,useFactory:function ra(g,l,u,v,D,k,W={},re,Ie){const ft=new mn(null,g,l,u,v,D,At(k));return re&&(ft.urlHandlingStrategy=re),Ie&&(ft.routeReuseStrategy=Ie),function Qa(g,l){g.errorHandler&&(l.errorHandler=g.errorHandler),g.malformedUriErrorHandler&&(l.malformedUriErrorHandler=g.malformedUriErrorHandler),g.onSameUrlNavigation&&(l.onSameUrlNavigation=g.onSameUrlNavigation),g.paramsInheritanceStrategy&&(l.paramsInheritanceStrategy=g.paramsInheritanceStrategy),g.relativeLinkResolution&&(l.relativeLinkResolution=g.relativeLinkResolution),g.urlUpdateStrategy&&(l.urlUpdateStrategy=g.urlUpdateStrategy),g.canceledNavigationResolution&&(l.canceledNavigationResolution=g.canceledNavigationResolution)}(W,ft),W.enableTracing&&ft.events.subscribe((on=>{console.group?.(`Router Event: ${on.constructor.name}`),console.log(on.toString()),console.log(on),console.groupEnd?.()})),ft},deps:[nt,se,h.Ye,p.zs3,p.Sil,nn,_s,[class Fr{},new p.FiY],[class pt{},new p.FiY]]},se,{provide:Ir,useFactory:function qa(g){return g.routerState.root},deps:[mn]},mo,pi,class hc{preload(l,u){return u().pipe((0,$n.K)((()=>(0,Z.of)(null))))}},{provide:_s,useValue:{enableTracing:!1}}];function Za(){return new p.PXZ("Router",mn)}let ni=(()=>{class g{constructor(u,v){}static forRoot(u,v){return{ngModule:g,providers:[ti,Eo(u),{provide:vo,useFactory:pc,deps:[[mn,new p.FiY,new p.tp0]]},{provide:_s,useValue:v||{}},{provide:h.S$,useFactory:Ni,deps:[h.lw,[new p.tBr(h.mr),new p.FiY],_s]},{provide:gi,useFactory:_o,deps:[mn,h.EM,_s]},{provide:Ka,useExisting:v&&v.preloadingStrategy?v.preloadingStrategy:pi},{provide:p.PXZ,multi:!0,useFactory:Za},[Vs,{provide:p.ip1,multi:!0,useFactory:Do,deps:[Vs]},{provide:mi,useFactory:bo,deps:[Vs]},{provide:p.tb,multi:!0,useExisting:mi}]]}}static forChild(u){return{ngModule:g,providers:[Eo(u)]}}}return g.ɵfac=function(u){return new(u||g)(p.LFG(vo,8),p.LFG(mn,8))},g.ɵmod=p.oAB({type:g}),g.ɵinj=p.cJS({}),g})();function _o(g,l,u){return u.scrollOffset&&l.setOffset(u.scrollOffset),new gi(g,l,u)}function Ni(g,l,u={}){return u.useHash?new h.Do(g,l):new h.b0(g,l)}function pc(g){return"guarded"}function Eo(g){return[{provide:p.deG,multi:!0,useValue:g},{provide:nn,multi:!0,useValue:g}]}let Vs=(()=>{class g{constructor(u){this.injector=u,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new A.xQ}appInitializer(){return this.injector.get(h.V_,Promise.resolve(null)).then((()=>{if(this.destroyed)return Promise.resolve(!0);let v=null;const D=new Promise((re=>v=re)),k=this.injector.get(mn),W=this.injector.get(_s);return"disabled"===W.initialNavigation?(k.setUpLocationChangeListener(),v(!0)):"enabled"===W.initialNavigation||"enabledBlocking"===W.initialNavigation?(k.hooks.afterPreactivation=()=>this.initNavigation?(0,Z.of)(null):(this.initNavigation=!0,v(!0),this.resultOfPreactivationDone),k.initialNavigation()):v(!0),D}))}bootstrapListener(u){const v=this.injector.get(_s),D=this.injector.get(mo),k=this.injector.get(gi),W=this.injector.get(mn),re=this.injector.get(p.z2F);u===re.components[0]&&(("enabledNonBlocking"===v.initialNavigation||void 0===v.initialNavigation)&&W.initialNavigation(),D.setUpPreloading(),k.init(),W.resetRootComponentType(re.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return g.ɵfac=function(u){return new(u||g)(p.LFG(p.zs3))},g.ɵprov=p.Yz7({token:g,factory:g.ɵfac}),g})();function Do(g){return g.appInitializer.bind(g)}function bo(g){return g.bootstrapListener.bind(g)}const mi=new p.OlP("Router Initializer")},5419:(j,w,f)=>{"use strict";f.d(w,{A4:()=>Rt});var h=f(6738),p=f(529),A=f(4850);const P={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 B{constructor(ce){this.unprotectedPaths=["/resetpass","/invitation"],this.protocol=ce.protocol;let ge=ce.port;ge||(function T(ke){return/^https:$/i.test(ke)}(this.protocol)?ge="443":function C(ke){return/^http:$/i.test(ke)}(this.protocol)&&(ge="80")),this.domain=ce.hostname,this.port=parseInt(ge,10),this.path=ce.pathname;const Ce=this.path.match(/((?:\/cpsess\d+)?)(?:\/([^\/]+))?/)||[];if(this.applicationName=/^whm\./.test(this.domain)?P[2087]:/^cpanel\./.test(this.domain)?P[2083]:/^webmail\./.test(this.domain)?P[2095]:P[ge.toString()]||P[Ce[2]]||"whostmgr",this.securityToken=Ce[1]||"",this.applicationPath=this.securityToken?this.path.replace(this.securityToken,""):this.path,this.theme="",!this.isUnprotected&&(this.isCpanel||this.isWebmail)){const Me=this.path.split("/");this.theme=Me[3]}this.themePath="";let ee=this.securityToken+"/";this.isUnprotected?ee="/":this.isCpanel?ee+="frontend/"+this.theme+"/":this.isWebmail?ee+="webmail/"+this.theme+"/":this.isOther&&(ee="/"),this.themePath=ee,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 M(ke){return ke&&ke.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(ce){return this.themePath+ce}buildFullPath(ce){return this.protocol+"//"+this.domain+":"+this.port+this.buildPath(ce)}buildTokenPath(ce){return this.protocol+"//"+this.domain+":"+this.port+this.securityToken+ce}}class I{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 F=f(4235),$=f.n(F),X=f(1305),Z=f.n(X),ie=(()=>{return(ke=ie||(ie={}))[ke.Error=0]="Error",ke[ke.Warning=1]="Warning",ke[ke.Information=2]="Information",ke[ke.Unknown=3]="Unknown",ie;var ke})();const ae={isPaged:!1,isFiltered:!1,record:0,page:0,pageSize:0,totalRecords:0,totalPages:0,recordsBeforeFilter:0,batch:!1,properties:{}};class xe{constructor(ce){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={},ce.chunk&&(this.isPaged=!0,this.record=parseInt(ce.chunk.start,10)||0,this.page=parseInt(ce.chunk.current,10)||0,this.pageSize=parseInt(ce.chunk.size,10)||0,this.totalPages=parseInt(ce.chunk.chunks,10)||0,this.totalRecords=parseInt(ce.chunk.records,10)||0),ce.filter&&(this.isFiltered=!0,this.recordsBeforeFilter=parseInt(ce.filter.filtered,10)||0);const ge=new Set(["paginate","filter"]);Object.keys(ce).filter((Ce=>!ge.has(Ce))).forEach((Ce=>{this.properties[Ce]=ce[Ce]}))}}class Oe extends class ot{constructor(ce,ge){if(this.status=0,this.messages=[],this.meta=function Pe(ke){return JSON.parse(JSON.stringify(ke))}(ae),this.options={keepUnprocessedResponse:!1},$()(ce)||Z()(ce))throw new Error("The response was unexpectedly undefined or null");ge&&(this.options=ge),this.options.keepUnprocessedResponse&&(this.raw=JSON.parse(JSON.stringify(ce)))}get success(){return this.status>0}get failed(){return 0===this.status}_getMessages(ce){return this.messages.filter((ge=>ge.type===ce))}get errors(){return this._getMessages(ie.Error)}get warnings(){return this._getMessages(ie.Warning)}get infoMessages(){return this._getMessages(ie.Information)}_hasMessages(ce){return this.messages.filter((ge=>ge.type===ce)).length>0}get hasErrors(){return this._hasMessages(ie.Error)}get hasWarnings(){return this._hasMessages(ie.Warning)}get hasInfoMessages(){return this._hasMessages(ie.Information)}get isPaged(){return this.meta.isPaged}get isFiltered(){return this.meta.isFiltered}}{_parseStatus(ce){if(this.status=0,typeof ce.result>"u")throw new Error("The response should have a numeric status property indicating the API succeeded (>0) or failed (=0)");this.status=parseInt(ce.result,10)}_parseMessages(ce){if(!ce.result){const ge=[ce.reason];ge&&ge.length&&ge.forEach((Ce=>{this.messages.push({type:ie.Error,message:Ce})}))}}_reduce_list_data(ce){if("object"==typeof ce&&!(ce instanceof Array)){const ge=Object.keys(ce);if(1===ge.length){const Ce=ce[ge[0]];Ce?Ce instanceof Array&&(ce=Ce):ce=[]}}return ce}constructor(ce,ge){if(super(ce,ge),!ce)throw new Error("Response object should be defined.");ce.metadata&&(this._parseStatus(ce.metadata),this._parseMessages(ce.metadata),this.meta=new xe(ce.metadata)),this.data=this._reduce_list_data(ce.data)}}var $e=f(109),Ee=f(3022);let Rt=(()=>{class ke{constructor(ge){this.http=ge}get(ge){const Ce=ge.generate({verb:$e.F.GET,encoder:new Ee.VN}),ee=this.packageUrl(Ce);return this.http.get(ee,{headers:this.packageHeaders(Ce)}).pipe((0,A.U)(this.packageResponseHandler(ee)))}post(ge){const Ce=ge.generate(),ee=this.packageUrl(Ce);return this.http.post(ee,Ce.body,{headers:this.packageHeaders(Ce)}).pipe((0,A.U)(this.packageResponseHandler(ee)))}packageHeaders(ge){const Ce={};return ge.headers.forEach((ee=>{Ce[ee.name]=ee.value})),new p.WM(Ce)}packageUrl(ge){return new B(new I).buildTokenPath(ge.url)}packageResponseHandler(ge){return Ce=>{const ee=new Oe(Ce);return ee.meta.properties.url=ge,ee}}}return ke.ɵfac=function(ge){return new(ge||ke)(h.LFG(p.eN))},ke.ɵprov=h.Yz7({token:ke,factory:ke.ɵfac,providedIn:"root"}),ke})()},348:(j,w,f)=>{"use strict";f.d(w,{m:()=>C});var h=f(6738),p=f(269);const A=new h.OlP("window"),T=M=>new p.g(M.CLDR,M.LEXICON);let C=(()=>{class M{}return M.ɵfac=function(P){return new(P||M)},M.ɵmod=h.oAB({type:M}),M.ɵinj=h.cJS({providers:[{provide:A,useValue:window},{provide:p.g,useFactory:T,deps:[A]}],imports:[[]]}),M})()}}]);
Back to Directory File Manager