Viewing File: /usr/local/cpanel/whostmgr/docroot/templates/connected-applications/vendor.js
(self.webpackChunkconnected_applications=self.webpackChunkconnected_applications||[]).push([[736],{109:(ve,G,S)=>{"use strict";S.d(G,{F:()=>C});var C=(()=>{return(p=C||(C={}))[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",C;var p})()},7709:(ve,G,S)=>{"use strict";S.d(G,{h:()=>C});class C{constructor(W,F){if(!W)throw new Error("You must provide a name when creating a name/value argument");this.name=W,this.value=F}}},3022:(ve,G,S)=>{"use strict";S.d(G,{tO:()=>At,VN:()=>Ae});var C=S(4235),p=S.n(C),J=S(1305),W=S.n(J),F=S(4798),z=S.n(F),$=S(9138),V=S.n($),Y=S(248),N=S.n(Y),j=S(1503),q=S.n(j),ie=S(7614),re=S.n(ie);function de(et){if(p()(et)||W()(et)||z()(et)||V()(et)||N()(et))return!0;if(!re()(et)&&!q()(et))return!1;for(const Ze in et)if(!de(et[Ze]))return!1;return!0}class Ae{constructor(){this.contentType="application/x-www-form-urlencoded",this.separatorStart="",this.separatorEnd="",this.recordSeparator="&"}encode(Ze,Bt,Wt){if(!Ze)throw new Error("Name must have a non-empty value");return`${Ze}=${encodeURIComponent(Bt.toString())}`+(Wt?"":this.recordSeparator)}}class At{constructor(){this.contentType="application/json",this.separatorStart="{",this.separatorEnd="}",this.recordSeparator=","}encode(Ze,Bt,Wt){if(!Ze)throw new Error("Name must have a non-empty value");if(!de(Bt))throw new Error("The passed in value can not be serialized to JSON");return JSON.stringify(Ze)+":"+JSON.stringify(Bt)+(Wt?"":this.recordSeparator)}}},4642:(ve,G,S)=>{"use strict";S.d(G,{r:()=>Ue,N:()=>He});var C=S(1978),p=S.n(C);function J(pe){return pe?"1":"0"}var z=(()=>{return(pe=z||(z={}))[pe.Ascending=0]="Ascending",pe[pe.Descending=1]="Descending",z;var pe})(),$=(()=>{return(pe=$||($={}))[pe.Lexicographic=0]="Lexicographic",pe[pe.Ipv4=1]="Ipv4",pe[pe.Numeric=2]="Numeric",pe[pe.NumericZeroAsMax=3]="NumericZeroAsMax",$;var pe})();class V{constructor(he,je=z.Ascending,Xt=$.Lexicographic){if(!he)throw new Error("You must provide a non-empty column name for a Sort rule.");this.column=he,this.direction=je,this.type=Xt}}var Y=(()=>{return(pe=Y||(Y={}))[pe.Contains=0]="Contains",pe[pe.Begins=1]="Begins",pe[pe.Ends=2]="Ends",pe[pe.Matches=3]="Matches",pe[pe.Equal=4]="Equal",pe[pe.NotEqual=5]="NotEqual",pe[pe.LessThan=6]="LessThan",pe[pe.LessThanUnlimited=7]="LessThanUnlimited",pe[pe.GreaterThan=8]="GreaterThan",pe[pe.GreaterThanUnlimited=9]="GreaterThanUnlimited",pe[pe.Defined=10]="Defined",pe[pe.Undefined=11]="Undefined",Y;var pe})();class N{constructor(he,je,Xt){if(!he)throw new Error("You must define a non-empty column name.");this.column=he,this.operator=je,this.value=Xt}}var j=S(7709);const ie=Number.POSITIVE_INFINITY;class re{constructor(he=1,je=20){if(he<=0)throw new Error("The page must be 1 or greater. This is the logical page, not a programming index.");if(je<=0)throw new Error("The pageSize must be set to 'ALL' or a number > 0");this.page=he,this.pageSize=je}all(){return this.pageSize===ie}}class de{constructor(he=[]){this.headers=he}push(he){this.headers.push(he)}forEach(he,je){this.headers.forEach(he,je)}toArray(){const he=[];return this.headers.forEach(je=>he.push({name:je.name,value:je.value})),he}toObject(){return this.headers.reduce((he,je)=>(he[je.name]=je.value,he),{})}}class _e{constructor(he){this._header=he}get name(){return this._header.name}get value(){return this._header.value}}class Ae extends Error{constructor(he){super(he),this.name="CpanelApiTokenInvalidError",Object.setPrototypeOf(this,Ae.prototype)}}class At extends Error{constructor(he){super(he),this.name="CpanelApiTokenMismatchError",Object.setPrototypeOf(this,At.prototype)}}class et extends _e{constructor(he,je){if(!he)throw new Ae("You must pass a valid token to the constructor.");if(!je&&!/^.+[:]/.test(he))throw new Ae("You must pass a cPanel username associated with the cPanel API token.");if(!je&&!/[:].+$/.test(he))throw new Ae("You must pass a valid cPanel API token.");super({name:"Authorization",value:`cpanel ${je?je+":":""}${he}`})}}Error,Error;var pn=S(109);const tt=new class ht{constructor(){this.map={},this.map.DEFAULT={verb:"DEFAULT",dataInBody:!0},[pn.F.GET,pn.F.DELETE,pn.F.HEAD].forEach(he=>{const je=pn.F[he].toString();this.map[je]={verb:je,dataInBody:!1}}),[pn.F.POST,pn.F.PUT,pn.F.PATCH].forEach(he=>{const je=pn.F[he].toString();this.map[je]={verb:je,dataInBody:!0}})}getRule(he){const je="string"==typeof he?he:pn.F[he].toString();let Xt=this.map[je];return Xt||(Xt=this.map.DEFAULT),Xt}};var mn=S(3022),_t=S(8448),Zt=S.n(_t),He=(()=>{return(pe=He||(He={})).JsonApi="json-api",pe.XmlApi="xml-api",He;var pe})();class Ue extends class mt{constructor(he){this.namespace="",this.method="",this.arguments=[],this.sorts=[],this.filters=[],this.columns=[],this.pager=new re,this.headers=new de,this._usePager=!1,this.defaultConfig={analytics:!1,json:!1},this.config=this.defaultConfig,he&&(this.method=he.method,he.namespace&&(this.namespace=he.namespace),he.arguments&&he.arguments.forEach(je=>{this.addArgument(je)}),he.sorts&&he.sorts.forEach(je=>{this.addSort(je)}),he.filters&&he.filters.forEach(je=>{this.addFilter(je)}),he.columns&&he.columns.forEach(je=>this.addColumn(je)),he.pager&&this.paginate(he.pager),this.config=he.config?he.config:this.defaultConfig,he.headers&&he.headers.forEach(je=>{this.addHeader(je)}))}get usePager(){return this._usePager}addArgument(he){return this.arguments.push(he instanceof j.h?he:new j.h(he.name,he.value)),this}addSort(he){return this.sorts.push(he instanceof V?he:new V(he.column,he.direction,he.type)),this}addFilter(he){return this.filters.push(he instanceof N?he:new N(he.column,he.operator,he.value)),this}addColumn(he){return this.columns.push(he),this}addHeader(he){return this.headers.push(he instanceof _e?he:new _e(he)),this}paginate(he){return this.pager=he instanceof re?he:new re(he.page,he.pageSize||20),this._usePager=!0,this}}{constructor(he,je){if(super(je),this.apiType=He.JsonApi,he!=He.JsonApi&&he!=He.XmlApi)throw new Error("You must define the API type for the whmapi call before you generate a request.");if(this.apiType=he,!this.method)throw new Error("You must define a method for the WHM API call before you generate a request")}addHeader(he){if(he instanceof et)throw new At("A CpanelApiTokenHeader cannot be used on a WhmApiRequest");return super.addHeader(he),this}_build(he,je){let Xt="";return he.forEach((Bn,Vn,Kr)=>{Xt+=je.encode(Bn.name,Bn.value,Vn===Kr.length-1)}),je.separatorStart+Xt+je.separatorEnd}_make_whm_api_fieldspec_from_number(he){return Zt()("",Math.floor(he/26),"z")+"abcdefghijklmnopqrstuvwxyz".charAt(he%26)}_generateArguments(he){he.push({name:"api.version",value:1}),this.arguments.forEach(Xt=>he.push(Xt))}_generateSorts(he){this.sorts.forEach((je,Xt)=>{0===Xt&&he.push({name:"api.sort.enable",value:J(!0)});const Bn=`api.sort.${this._make_whm_api_fieldspec_from_number(Xt)}`;he.push({name:`${Bn}.field`,value:je.column}),he.push({name:`${Bn}.reverse`,value:J(je.direction!==z.Ascending)}),he.push({name:`${Bn}.method`,value:p()($[je.type])})})}_lookupFilterOperator(he){switch(he){case Y.GreaterThanUnlimited:return"gt_handle_unlimited";case Y.GreaterThan:return"gt";case Y.LessThanUnlimited:return"lt_handle_unlimited";case Y.LessThan:return"lt";case Y.Equal:return"eq";case Y.Begins:return"begins";case Y.Contains:return"contains";default:throw new Error(`Unrecoginzed FilterOperator ${Y[he]} for WHM API 1`)}}_generateFilters(he){this.filters.forEach((je,Xt)=>{0===Xt&&(he.push({name:"api.filter.enable",value:J(!0)}),he.push({name:"api.filter.verbose",value:J(!0)}));const Bn=`api.filter.${this._make_whm_api_fieldspec_from_number(Xt)}`;he.push({name:`${Bn}.field`,value:je.column}),he.push({name:`${Bn}.type`,value:this._lookupFilterOperator(je.operator)}),he.push({name:`${Bn}.arg0`,value:je.value})})}_translatePageToStart(he){return(he.page-1)*he.pageSize+1}_generatePagination(he){if(!this.usePager)return;const je=this.pager.all();he.push({name:"api.chunk.enable",value:J(!0)}),he.push({name:"api.chunk.verbose",value:J(!0)}),he.push({name:"api.chunk.start",value:je?-1:this._translatePageToStart(this.pager)}),je||he.push({name:"api.chunk.size",value:this.pager.pageSize})}generate(he){he||(he={verb:pn.F.POST,encoder:this.config.json?new mn.tO:new mn.VN}),he.encoder||(he.encoder=this.config.json?new mn.tO:new mn.VN);const je=tt.getRule(he.verb),Xt={headers:new de([{name:"Content-Type",value:he.encoder.contentType}]),url:["",this.apiType,this.method].map(encodeURIComponent).join("/"),body:""},Bn=[];this._generateArguments(Bn),this._generateSorts(Bn),this._generateFilters(Bn),this._generatePagination(Bn);const Vn=this._build(Bn,he.encoder);return je.dataInBody?Xt.body=Vn:Xt.url+=he.verb===pn.F.GET?`?${Vn}`:Vn,this.headers.forEach(Kr=>{Xt.headers.push({name:Kr.name,value:Kr.value})}),Xt}}},269:(ve,G,S)=>{"use strict";G.g=void 0;const p=S(1680);Object.defineProperty(G,"g",{enumerable:!0,get:function(){return p.Locale}})},5074:(ve,G)=>{"use strict";Object.defineProperty(G,"__esModule",{value:!0}),G.CLDR=void 0,G.CLDR=class S{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,...J){return this.rawData.functions.get_plural_form(p,...J)}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:(ve,G,S)=>{"use strict";Object.defineProperty(G,"__esModule",{value:!0}),G.Locale=void 0;const C=S(2889),p=S(9483),J=S(741),W=S(786),F=S(5074);G.Locale=class z{constructor(V,Y={}){this.lexicon=Y,this._cldr=new F.CLDR(V)}maketext(V,...Y){return C.maketext({cldr:this._cldr,lexicon:this.lexicon,template:V,args:Y})}localDatetime(V,Y){return this._datetimeWrapper(p.local_datetime,V,Y)}datetime(V,Y){return this._datetimeWrapper(p.datetime,V,Y)}_datetimeWrapper(V,Y,N){return V({cldr:this._cldr,args:[Y,N]})}getCurrentLocale(){return this._cldr.getLocale()}get isRtl(){return this._cldr.isRtl()}get isLtr(){return this._cldr.isLtr()}get cldr(){return this._cldr}numf(V,Y){return this._formatNumber(J.numf,V,Y)}format_bytes(V,Y){return this._formatNumber(J.format_bytes,V,Y)}_formatNumber(V,...Y){return this._callCLDRFunc(V,Y)}list_and(...V){return this._callCLDRFunc(W.list_and,V)}list_and_quoted(...V){return this._callCLDRFunc(W.list_and_quoted,V)}list_or(...V){return this._callCLDRFunc(W.list_or,V)}list_or_quoted(...V){return this._callCLDRFunc(W.list_or_quoted,V)}_callCLDRFunc(V,Y){return V({cldr:this._cldr,args:Y})}}},7296:(ve,G,S)=>{"use strict";Object.defineProperty(G,"__esModule",{value:!0}),G.asis=void 0;const C=S(5247);G.asis=function p({args:[J,...W]}){if(!J||W.length>0||"string"!=typeof J)throw new Error("asis function accepts one non translatable string.");return(J=J.replace(/chr\((\d+)\)/g,function(F,z){return C.functions.chr(Number(z))})).replace(/amp\(\)/g,function(F){return C.functions.amp()})}},527:(ve,G)=>{"use strict";Object.defineProperty(G,"__esModule",{value:!0}),G.boolean=void 0,G.boolean=function S({args:[C,p,J,W]}){if(null==p||0===p.length||null==J||0===J.length)throw new Error("boolean function needs a valid whenTrue, whenFalse arguments.");return String(typeof C<"u"&&C?p:W&&null==C?W:J)}},9076:(ve,G)=>{"use strict";Object.defineProperty(G,"__esModule",{value:!0}),G.comment=void 0,G.comment=function S({args:[C]}){return""}},9483:(ve,G,S)=>{"use strict";Object.defineProperty(G,"__esModule",{value:!0}),G.local_datetime=G.datetime=G.dateToLocalDayNum=void 0;const C=S(5074),p=function(N){const j=N.getUTCDay()-1;return j<0?6:j},J=[7,1,2,3,4,5,6];function W(N,j){return(J[N.getUTCDay()]+7-j)%7+1}G.dateToLocalDayNum=W;const F=function(N,j,q){let ie="",re=0;return j=j||0,q=String(void 0===q?" ":q),re=j-String(N).length,re>0&&(ie=[...Array(re)].map(String.prototype.valueOf,q).join("")),ie+N};function z({cldr:N,args:[j=new Date,q],tzString:ie="UTC"}){if("number"==typeof j&&/^-?\d+$/.test(j.toString())&&(j=new Date(1e3*j)),!(j instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(N instanceof C.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const re=N.getDateTimeInfo();return"string"==typeof q&&/^(?:date|time|datetime|special)_format_/.test(q)&&(q=re[q]),q||(q=re.date_format_long),q.replace(/('[^']+')|(([a-zA-Z])\3*)/g,function(de,_e,Ae){return _e?function $(N){return N.substr(1,N.length-2)}(_e):function V(N,j,q,ie){switch(q){case"yy":return Math.abs(N.getUTCFullYear()).toString().slice(-2);case"y":case"yyy":case"yyyy":return String(Math.abs(N.getUTCFullYear()));case"MMMMM":return j.month_format_narrow[N.getUTCMonth()];case"LLLLL":return j.month_stand_alone_narrow[N.getUTCMonth()];case"MMMM":return j.month_format_wide[N.getUTCMonth()];case"LLLL":return j.month_stand_alone_wide[N.getUTCMonth()];case"MMM":return j.month_format_abbreviated[N.getUTCMonth()];case"LLL":return j.month_stand_alone_abbreviated[N.getUTCMonth()];case"MM":case"LL":return F((N.getUTCMonth()+1).toString(),2,"0");case"M":case"L":return String(N.getUTCMonth()+1);case"EEEE":return j.day_format_wide[p(N)];case"EEE":case"EE":case"E":return j.day_format_abbreviated[p(N)];case"EEEEE":return j.day_format_narrow[p(N)];case"cccc":return j.day_stand_alone_wide[p(N)];case"ccc":return j.day_stand_alone_abbreviated[p(N)];case"cc":case"c":return String(W(N,Number(j.first_day_of_week)));case"ccccc":return j.day_stand_alone_narrow[p(N)];case"dd":return F(N.getUTCDate().toString(),2,"0");case"d":return String(N.getUTCDate());case"h":case"hh":{let re=N.getUTCHours();re>12&&(re-=12),0===re&&(re=12);const de="hh"===q?F(re.toString(),2,"0"):re;return String(de)}case"H":return String(N.getUTCHours());case"HH":return F(N.getUTCHours().toString(),2,"0");case"m":return String(N.getUTCMinutes());case"mm":return F(N.getUTCMinutes().toString(),2,"0");case"s":return String(N.getUTCSeconds());case"ss":return F(N.getUTCSeconds().toString(),2,"0");case"a":return N.getUTCHours()<12?j.am_pm_abbreviated[0]:j.am_pm_abbreviated[1];case"z":case"zzzz":case"v":case"vvvv":return ie;case"G":case"GG":case"GGG":return j.era_abbreviated[N.getUTCFullYear()<0?0:1];case"GGGGG":return j.era_narrow[N.getUTCFullYear()<0?0:1];case"GGGG":return j.era_wide[N.getUTCFullYear()<0?0:1]}return q}(j,re,Ae,ie)})}G.datetime=z,G.local_datetime=function Y({cldr:N,args:[j=new Date,q]}){if("number"==typeof j&&/^-?\d+$/.test(j.toString())&&(j=new Date(1e3*j)),!(j instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(N instanceof C.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const ie=j.getTimezoneOffset();(j=new Date(j)).setMinutes(j.getMinutes()-ie);const re=ie>0?"-":"+",de=Math.floor(Math.abs(ie)/60),_e=Math.abs(ie%60);return z({cldr:N,args:[j,q],tzString:"GMT"+re+F(de.toString(),2,"0")+F(_e.toString(),2,"0")})}},40:(ve,G,S)=>{"use strict";Object.defineProperty(G,"__esModule",{value:!0}),G.functions=void 0;const C=S(7296),p=S(5247),J=S(9076),W=S(527),F=S(741),z=S(9483),$=S(786);G.functions={asis:C.asis,output:p.output,comment:J.comment,boolean:W.boolean,numf:F.numf,numerate:F.numerate,quant:F.quant,format_bytes:F.format_bytes,datetime:z.datetime,local_datetime:z.local_datetime,list_and:$.list_and,list_or:$.list_or,list_or_quoted:$.list_or_quoted,list_and_quoted:$.list_and_quoted}},786:(ve,G)=>{"use strict";function C($,V,...Y){let N=Y.slice();switch(1===N.length&&Array.isArray(N[0])&&(N=N[0].slice()),(typeof N>"u"||0===N.length)&&(N=[""]),N=N.map(j=>function S($,V){const Y=$.getDelimiters();return Y&&Object.prototype.hasOwnProperty.call(Y,"quotation_start")&&Object.prototype.hasOwnProperty.call(Y,"quotation_end")?Y.quotation_start+V+Y.quotation_end:V}($,j)),V){case"list_and":return F({cldr:$,args:N});case"list_or":return z({cldr:$,args:N});default:throw new Error("Did you mean list_and_quoted or list_or_quoted?")}}function W($,V,...Y){let N=Y.slice();1===N.length&&Array.isArray(N[0])&&(N=N[0].slice());const j=N.length;let q,ie,re,de;try{q=$.getFormats()[V]}catch{throw new Error("CLDR Data is missing information related to formatting list.")}const _e=function(Ae,At){switch(At){case"0":return re;case"1":return N[de++]}};switch(j){case 0:return"";case 1:return String(N[0]);default:if(re=2===j?q[2]:q.start,re=re.replace(/\{([01])\}/g,function(Ae,At){return N[At]}),2===j)return re;for(de=2;de<j;)ie=q[de===j-1?"end":"middle"],re=ie.replace(/\{([01])\}/g,_e);return re}}function F({cldr:$,args:[...V]}){return W($,"list",...V)}function z({cldr:$,args:[...V]}){return W($,"list_or",...V)}Object.defineProperty(G,"__esModule",{value:!0}),G.list_or=G.list_and=G.list_or_quoted=G.list_and_quoted=void 0,G.list_and_quoted=function p({cldr:$,args:[...V]}){return C($,"list_and",...V)},G.list_or_quoted=function J({cldr:$,args:[...V]}){return C($,"list_or",...V)},G.list_and=F,G.list_or=z},5247:(ve,G,S)=>{"use strict";Object.defineProperty(G,"__esModule",{value:!0}),G.functions=G.output=void 0;const C=S(7906),p=S(8533);G.output=function J({args:[W,...F]}){if(F&&"string"==typeof F[0]&&(F[0]=F[0].replace(/chr\((\d+)\)/g,function(z,$){return G.functions.chr(Number($))}),F[0]=F[0].replace(/amp\(\)/g,function(z){return G.functions.amp()})),"function"==typeof G.functions[W])return G.functions[W](...F);throw new Error(`Locale output function '${W}' is not implemented.`)},G.functions={amp:()=>C.htmlEscape("&"),apos:()=>C.htmlEscape("'"),quot:()=>C.htmlEscape('"'),underline:W=>`<u>${W}</u>`,strong:W=>`<strong>${W}</strong>`,em:W=>`<em>${W}</em>`,abbr:(W,F)=>`<abbr title="${F}">${W}</abbr>`,acronym:(W,F)=>`<abbr title="${F}" class="initialism">${W}</abbr>`,class:(W,...F)=>`<span class="${F.join(" ")}">${W}</span>`,chr(W){if("string"==typeof W&&(W=Number(W)),"number"!=typeof W||isNaN(W))throw new Error("chr needs a number as argument");return C.htmlEscape(String.fromCharCode(W))},url(W,...F){let z,$;if("object"==typeof F[F.length-1])if(z=F[F.length-1],2===F.length){if(z.html)throw new Error("Cannot provide both text and configuration with html attribute");$=F[0]}else z&&z.html?($=z.html,delete z.html):$=W;else F.length%2==0?(z=p.listToObject(...F),z&&"html"in z&&""!==z.html?($=z.html,delete z.html):$=W):($=F.shift(),z=p.listToObject(...F));"_type"in z&&"offsite"===z._type&&(z.class="offsite",z.target="_blank",delete z._type);let V=`<a href="${W}"`;if("object"==typeof z)for(const Y in z)Object.prototype.hasOwnProperty.call(z,Y)&&(V+=` ${Y}="${z[Y]}"`);return V+=`>${$}</a>`,V}}},741:(ve,G,S)=>{"use strict";Object.defineProperty(G,"__esModule",{value:!0}),G.format_bytes=G.numf=G.quant=G.numerate=void 0;const C=S(5074);function J({cldr:$,args:[V,...Y]}){if(!($ instanceof C.CLDR))throw new Error("`quant` function requires a valid CLDR instance for the `cldr` parameter.");let N,j=3;V instanceof Array?(j=V[1],N=V[0]):N=V;const q=$.getPluralForm(N,...Y),ie=q[0]?q[0]:Y[Y.length-1];if(q&&q.length>=2&&q[1])return ie;const de=F({cldr:$,args:[N,j]});return-1!==ie.indexOf("%s")?ie.replace(/%s/g,de):$.isRtl()?ie+" "+de:de+" "+ie}function F({cldr:$,args:[V,Y=6]}){if(!($ instanceof C.CLDR))throw new Error("`numf` function requires a valid CLDR instance for the `cldr` parameter.");if(/e/.test(V.toString()))return String(V);const{decimalFormat:N,decimalGroup:j,decimalDecimal:q}=function W($){const V={},Y=$.getFormats();return Object.prototype.hasOwnProperty.call(Y,"decimal")&&(V.decimalFormat=Y.decimal),Object.prototype.hasOwnProperty.call(Y,"_decimal_format_group")&&(V.decimalGroup=Y._decimal_format_group),Object.prototype.hasOwnProperty.call(Y,"_decimal_format_decimal")&&(V.decimalDecimal=Y._decimal_format_decimal),V}($);if(!N||!j||!q)throw new Error("CLDR Data is missing information related to formatting decimals.");const ie=V<0;V=Math.abs(V);let de,_e,re=Math.floor(V);/(?!')\.(?!')/.test(V.toString())&&(de=String(V).replace(/^[^.]+/,"0"),de=Number(de).toFixed(Y),/^1/.test(de)?(re++,V=re,de=void 0):de=de.replace(/^.*\./,"").replace(/0+$/,"")),_e=/(?!');(?!')/.test(N)?N.split(/(?!');(?!')/)[ie?1:0]:(ie?"-":"")+N;const et=_e.match(/[0#].*[0#]/)[0].split(/(?!')\.(?!')/)[0].split("").reverse().join("").split(/(?!'),(?!')/);let Ze;1===et.length?Ze="":(et.pop(),Ze=j);const Bt=String(re).split("").reverse(),Wt=[];let mt;const pn=function(tt){switch(tt){case"#":return Bt.shift()||"";case"0":return Bt.shift()||"0"}};for(;Bt.length;){et.length&&(mt=et.shift());const tt=mt.replace(/(?!')[0#]|[0#](?!')/g,pn).replace(/'([.,0#;\xa4%E])'$/,"").replace(/'([.,0#;\xa4%E])'/,"$1");Wt.push(tt)}const ht=Wt.join(Ze).split("").reverse().join("")+(de?q+de:"");return _e.replace(/[0#].*[0#]/,ht)}G.numerate=function p({cldr:$,args:[V,...Y]}){if(!($ instanceof C.CLDR))throw new Error("`numerate` function requires a valid CLDR instance for the `cldr` parameter.");const N=$.getPluralForm(V,...Y);return N?N[0]:Y[Y.length-1]},G.quant=J,G.numf=F,G.format_bytes=function z({cldr:$,args:[V,Y=2]}){if(!($ instanceof C.CLDR))throw new Error("`format_bytes` function requires a valid CLDR instance for the `cldr` parameter.");const N=["KB","MB","GB","TB","PB","EB","ZB","YB"],q=V&&Math.min(Math.floor(Math.log(V)/Math.log(1024)),N.length);return q?F({cldr:$,args:[V/Math.pow(1024,q),Y]})+"\xa0"+N[q-1]:J({cldr:$,args:[V,"%s\xa0byte","%s\xa0bytes"]})}},2889:(ve,G,S)=>{"use strict";Object.defineProperty(G,"__esModule",{value:!0}),G.maketext=G.functions=G.config=void 0;const C=S(40);function F(z,$){const V=[];let Y=!1,N=!1;return z.forEach((j,q)=>{if("_"===j.charAt(0))if("_*"===j){if(N)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";V.push(...$),Y=!0}else{const ie=j.match(G.config.underscoreDigitRe);if(ie){if(Y)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";const[re,de]=ie,_e=Number(de)-1;if(!(_e in $))throw`The "${re}" substitution argument was not passed to the maketext function.`;V.push($[_e]),N=!0}}else V.push(j)}),V}G.config={bracketRe:/([^~\[\]]+|~.|\[|\]|~)/g,underscoreDigitRe:/^_(\d+)$/,fauxComma:"\x07",fauxCommaRe:new RegExp("\x07","g"),tildeChars:new Set(["[","]","~"])},G.functions={...C.functions},G.maketext=function J({cldr:z,lexicon:$,template:V,args:Y}){if("string"!=typeof V)throw"You must pass a string template to the maketext function.";if(-1===(V=$&&$[V]||V).indexOf("["))return V;const N=V.match(G.config.bracketRe)||[],j=[];let q=!1,ie="";if(N.forEach(re=>{if("["===re){if(q)throw Error(`Invalid maketext string: ${V} \nThe string contains nested brackets.`);q=!0}else if("]"===re){if(!q)throw Error(`Invalid maketext string: ${V} \nThe string contains an unmatched closing bracket character (]).`);if(!ie)throw Error(`Invalid maketext string: ${V} \nThe string contains empty brackets. Use the escape character (~) if the bracket characters were meant to be printed literally.`);let de;q=!1;try{de=function W(z,$,V){let Y=$.split(",");if(Y=Y.map(q=>q.replace(G.config.fauxCommaRe,",")),1===Y.length){if(!G.config.underscoreDigitRe.test(Y[0]))throw"A bracket must contain more than one argument, unless it is a pure substition.\n Example: Number of accounts: [_1]";const[q]=F(Y,V);return String(q)}const N=Y.shift();if(!N||"function"!=typeof G.functions[N])throw`Invalid function "${N}" in maketext string.`;const j=F(Y,V);return G.functions[N]({cldr:z,args:j})}(z,ie,Y)}catch(_e){throw Error(`Invalid maketext string: ${V} \n${_e}`)}ie="",j.push(de)}else if("~"===re.charAt(0)){const de=re.charAt(1)||"~";q?ie+=","===de?G.config.fauxComma:de:G.config.tildeChars.has(de)?j.push(de):j.push(re)}else q?ie+=re:j.push(re)}),q)throw Error(`Invalid maketext string: ${V} \nThe string contains an unmatched opening bracket character ([).`);return j.join("")}},7906:(ve,G)=>{"use strict";Object.defineProperty(G,"__esModule",{value:!0}),G.htmlEscape=G.entityMap=void 0,G.entityMap={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},G.htmlEscape=function S(C){return String(C).replace(/[&<>"'\/]/g,p=>G.entityMap[p])}},8533:(ve,G)=>{"use strict";Object.defineProperty(G,"__esModule",{value:!0}),G.listToObject=void 0,G.listToObject=function p(...J){let W={};return function S(J){if(J.length%2>0)throw new Error("An associative list must have an even number of parts: {name1}, {value1}, {name2}, {value2} ...");for(let F=0,z=J.length;F<z;F+=2){const $=J[F];if("string"!=typeof $||""===$)throw new Error("An associative list must provide non-empty string names in the 1st, 3rd, ... positions.")}return!0}(J)&&(W=function C(J){const W=J.length,F={};let $,V,z=0;for(;z<W;)$=J[z],V=J[++z],F[$]=V,z++;return F}(J)),W}},443:(ve,G,S)=>{var C=S(2119);ve.exports=C.Symbol},4633:ve=>{ve.exports=function G(S,C){for(var p=-1,J=null==S?0:S.length,W=Array(J);++p<J;)W[p]=C(S[p],p,S);return W}},8745:ve=>{ve.exports=function G(S,C,p,J){var W=-1,F=null==S?0:S.length;for(J&&F&&(p=S[++W]);++W<F;)p=C(p,S[W],W,S);return p}},5481:(ve,G,S)=>{var p=S(1847)("length");ve.exports=p},6422:ve=>{ve.exports=function G(S){return S.split("")}},69:ve=>{var G=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;ve.exports=function S(C){return C.match(G)||[]}},3337:(ve,G,S)=>{var C=S(443),p=S(1318),J=S(2902),z=C?C.toStringTag:void 0;ve.exports=function $(V){return null==V?void 0===V?"[object Undefined]":"[object Null]":z&&z in Object(V)?p(V):J(V)}},1847:ve=>{ve.exports=function G(S){return function(C){return null==C?void 0:C[S]}}},2724:ve=>{ve.exports=function G(S){return function(C){return null==S?void 0:S[C]}}},7065:ve=>{var S=Math.floor;ve.exports=function C(p,J){var W="";if(!p||J<1||J>9007199254740991)return W;do{J%2&&(W+=p),(J=S(J/2))&&(p+=p)}while(J);return W}},4363:ve=>{ve.exports=function G(S,C,p){var J=-1,W=S.length;C<0&&(C=-C>W?0:W+C),(p=p>W?W:p)<0&&(p+=W),W=C>p?0:p-C>>>0,C>>>=0;for(var F=Array(W);++J<W;)F[J]=S[J+C];return F}},3935:(ve,G,S)=>{var C=S(443),p=S(4633),J=S(1503),W=S(4129),z=C?C.prototype:void 0,$=z?z.toString:void 0;ve.exports=function V(Y){if("string"==typeof Y)return Y;if(J(Y))return p(Y,V)+"";if(W(Y))return $?$.call(Y):"";var N=Y+"";return"0"==N&&1/Y==-1/0?"-0":N}},3348:(ve,G,S)=>{var C=S(2760),p=/^\s+/;ve.exports=function J(W){return W&&W.slice(0,C(W)+1).replace(p,"")}},2329:(ve,G,S)=>{var C=S(4363);ve.exports=function p(J,W,F){var z=J.length;return F=void 0===F?z:F,!W&&F>=z?J:C(J,W,F)}},1491:(ve,G,S)=>{var C=S(8745),p=S(4707),J=S(7188),F=RegExp("['\u2019]","g");ve.exports=function z($){return function(V){return C(J(p(V).replace(F,"")),$,"")}}},5171:(ve,G,S)=>{var C=S(7065),p=S(3935),J=S(2329),W=S(7609),F=S(2315),z=S(6007),$=Math.ceil;ve.exports=function V(Y,N){var j=(N=void 0===N?" ":p(N)).length;if(j<2)return j?C(N,Y):N;var q=C(N,$(Y/F(N)));return W(N)?J(z(q),0,Y).join(""):q.slice(0,Y)}},9148:(ve,G,S)=>{var J=S(2724)({\u00c0:"A",\u00c1:"A",\u00c2:"A",\u00c3:"A",\u00c4:"A",\u00c5:"A",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u00e3:"a",\u00e4:"a",\u00e5:"a",\u00c7:"C",\u00e7:"c",\u00d0:"D",\u00f0:"d",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u00cb:"E",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u00eb:"e",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u00cf:"I",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u00ef:"i",\u00d1:"N",\u00f1:"n",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u00d5:"O",\u00d6:"O",\u00d8:"O",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u00f5:"o",\u00f6:"o",\u00f8:"o",\u00d9:"U",\u00da:"U",\u00db:"U",\u00dc:"U",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u00fc:"u",\u00dd:"Y",\u00fd:"y",\u00ff:"y",\u00c6:"Ae",\u00e6:"ae",\u00de:"Th",\u00fe:"th",\u00df:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u010e:"D",\u0110:"D",\u010f:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011a:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011b:"e",\u011c:"G",\u011e:"G",\u0120:"G",\u0122:"G",\u011d:"g",\u011f:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012a:"I",\u012c:"I",\u012e:"I",\u0130:"I",\u0129:"i",\u012b:"i",\u012d:"i",\u012f:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013b:"L",\u013d:"L",\u013f:"L",\u0141:"L",\u013a:"l",\u013c:"l",\u013e:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014a:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014b:"n",\u014c:"O",\u014e:"O",\u0150:"O",\u014d:"o",\u014f:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015a:"S",\u015c:"S",\u015e:"S",\u0160:"S",\u015b:"s",\u015d:"s",\u015f:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016a:"U",\u016c:"U",\u016e:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016b:"u",\u016d:"u",\u016f:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017b:"Z",\u017d:"Z",\u017a:"z",\u017c:"z",\u017e:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017f:"s"});ve.exports=J},9122:ve=>{var G="object"==typeof global&&global&&global.Object===Object&&global;ve.exports=G},9519:(ve,G,S)=>{var p=S(9385)(Object.getPrototypeOf,Object);ve.exports=p},1318:(ve,G,S)=>{var C=S(443),p=Object.prototype,J=p.hasOwnProperty,W=p.toString,F=C?C.toStringTag:void 0;ve.exports=function z($){var V=J.call($,F),Y=$[F];try{$[F]=void 0;var N=!0}catch{}var j=W.call($);return N&&(V?$[F]=Y:delete $[F]),j}},7609:ve=>{var z=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");ve.exports=function $(V){return z.test(V)}},9062:ve=>{var G=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;ve.exports=function S(C){return G.test(C)}},2902:ve=>{var S=Object.prototype.toString;ve.exports=function C(p){return S.call(p)}},9385:ve=>{ve.exports=function G(S,C){return function(p){return S(C(p))}}},2119:(ve,G,S)=>{var C=S(9122),p="object"==typeof self&&self&&self.Object===Object&&self,J=C||p||Function("return this")();ve.exports=J},2315:(ve,G,S)=>{var C=S(5481),p=S(7609),J=S(1149);ve.exports=function W(F){return p(F)?J(F):C(F)}},6007:(ve,G,S)=>{var C=S(6422),p=S(7609),J=S(6319);ve.exports=function W(F){return p(F)?J(F):C(F)}},2760:ve=>{var G=/\s/;ve.exports=function S(C){for(var p=C.length;p--&&G.test(C.charAt(p)););return p}},1149:ve=>{var G="\\ud800-\\udfff",F="["+G+"]",z="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",$="\\ud83c[\\udffb-\\udfff]",Y="[^"+G+"]",N="(?:\\ud83c[\\udde6-\\uddff]){2}",j="[\\ud800-\\udbff][\\udc00-\\udfff]",ie="(?:"+z+"|"+$+")?",re="[\\ufe0e\\ufe0f]?",_e=re+ie+"(?:\\u200d(?:"+[Y,N,j].join("|")+")"+re+ie+")*",Ae="(?:"+[Y+z+"?",z,N,j,F].join("|")+")",At=RegExp($+"(?="+$+")|"+Ae+_e,"g");ve.exports=function et(Ze){for(var Bt=At.lastIndex=0;At.test(Ze);)++Bt;return Bt}},6319:ve=>{var G="\\ud800-\\udfff",F="["+G+"]",z="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",$="\\ud83c[\\udffb-\\udfff]",Y="[^"+G+"]",N="(?:\\ud83c[\\udde6-\\uddff]){2}",j="[\\ud800-\\udbff][\\udc00-\\udfff]",ie="(?:"+z+"|"+$+")?",re="[\\ufe0e\\ufe0f]?",_e=re+ie+"(?:\\u200d(?:"+[Y,N,j].join("|")+")"+re+ie+")*",Ae="(?:"+[Y+z+"?",z,N,j,F].join("|")+")",At=RegExp($+"(?="+$+")|"+Ae+_e,"g");ve.exports=function et(Ze){return Ze.match(At)||[]}},910:ve=>{var G="\\ud800-\\udfff",W="\\u2700-\\u27bf",F="a-z\\xdf-\\xf6\\xf8-\\xff",N="A-Z\\xc0-\\xd6\\xd8-\\xde",q="\\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",re="["+q+"]",_e="\\d+",Ae="["+W+"]",At="["+F+"]",et="[^"+G+q+_e+W+F+N+"]",mt="(?:\\ud83c[\\udde6-\\uddff]){2}",pn="[\\ud800-\\udbff][\\udc00-\\udfff]",ht="["+N+"]",mn="(?:"+At+"|"+et+")",_t="(?:"+ht+"|"+et+")",Zt="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",He="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",Ue="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",pe="[\\ufe0e\\ufe0f]?",Bn=pe+Ue+"(?:\\u200d(?:"+["[^"+G+"]",mt,pn].join("|")+")"+pe+Ue+")*",Vn="(?:"+[Ae,mt,pn].join("|")+")"+Bn,Kr=RegExp([ht+"?"+At+"+"+Zt+"(?="+[re,ht,"$"].join("|")+")",_t+"+"+He+"(?="+[re,ht+mn,"$"].join("|")+")",ht+"?"+mn+"+"+Zt,ht+"+"+He,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",_e,Vn].join("|"),"g");ve.exports=function ur(Bi){return Bi.match(Kr)||[]}},4707:(ve,G,S)=>{var C=S(9148),p=S(3943),J=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Y=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");ve.exports=function N(j){return(j=p(j))&&j.replace(J,C).replace(Y,"")}},1503:ve=>{ve.exports=Array.isArray},4798:(ve,G,S)=>{var C=S(3337),p=S(2671);ve.exports=function W(F){return!0===F||!1===F||p(F)&&"[object Boolean]"==C(F)}},1305:ve=>{ve.exports=function G(S){return null===S}},9138:(ve,G,S)=>{var C=S(3337),p=S(2671);ve.exports=function W(F){return"number"==typeof F||p(F)&&"[object Number]"==C(F)}},5940:ve=>{ve.exports=function G(S){var C=typeof S;return null!=S&&("object"==C||"function"==C)}},2671:ve=>{ve.exports=function G(S){return null!=S&&"object"==typeof S}},7614:(ve,G,S)=>{var C=S(3337),p=S(9519),J=S(2671),$=Function.prototype.toString,V=Object.prototype.hasOwnProperty,Y=$.call(Object);ve.exports=function N(j){if(!J(j)||"[object Object]"!=C(j))return!1;var q=p(j);if(null===q)return!0;var ie=V.call(q,"constructor")&&q.constructor;return"function"==typeof ie&&ie instanceof ie&&$.call(ie)==Y}},248:(ve,G,S)=>{var C=S(3337),p=S(1503),J=S(2671);ve.exports=function F(z){return"string"==typeof z||!p(z)&&J(z)&&"[object String]"==C(z)}},4129:(ve,G,S)=>{var C=S(3337),p=S(2671);ve.exports=function W(F){return"symbol"==typeof F||p(F)&&"[object Symbol]"==C(F)}},4235:ve=>{ve.exports=function G(S){return void 0===S}},7489:function(ve,G,S){var C;ve=S.nmd(ve),function(){var p,z="Expected a function",V="__lodash_hash_undefined__",N="__lodash_placeholder__",he=1/0,je=9007199254740991,Vn=4294967295,Bi=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],Ir="[object Arguments]",cr="[object Array]",Sn="[object Boolean]",nn="[object Date]",Ci="[object Error]",ci="[object Function]",qn="[object GeneratorFunction]",pr="[object Map]",Cr="[object Number]",or="[object Object]",Oo="[object Promise]",Ar="[object RegExp]",se="[object Set]",Ce="[object String]",te="[object Symbol]",I="[object WeakMap]",ye="[object ArrayBuffer]",be="[object DataView]",Re="[object Float32Array]",st="[object Float64Array]",Ge="[object Int8Array]",ut="[object Int16Array]",bt="[object Int32Array]",Pt="[object Uint8Array]",yt="[object Uint8ClampedArray]",lt="[object Uint16Array]",Yt="[object Uint32Array]",Rt=/\b__p \+= '';/g,Qt=/\b(__p \+=) '' \+/g,Ke=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Jn=/&(?:amp|lt|gt|quot|#39);/g,_n=/[&<>"']/g,yn=RegExp(Jn.source),xt=RegExp(_n.source),wt=/<%-([\s\S]+?)%>/g,bn=/<%([\s\S]+?)%>/g,pt=/<%=([\s\S]+?)%>/g,dn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Lt=/^\w*$/,Xn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Te=/[\\^$.*+?()[\]{}|]/g,X=RegExp(Te.source),Q=/^\s+/,Se=/\s/,Fe=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,dt=/\{\n\/\* \[wrapped with (.+)\] \*/,ft=/,? & /,at=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ae=/[()=,{}\[\]\/\s]/,De=/\\(\\)?/g,Ot=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Mt=/\w*$/,In=/^[-+]0x[0-9a-f]+$/i,Xe=/^0b[01]+$/i,Ve=/^\[object .+?Constructor\]$/,xe=/^0o[0-7]+$/i,Pe=/^(?:0|[1-9]\d*)$/,Ye=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ct=/($^)/,ot=/['\n\r\u2028\u2029\\]/g,kt="\\ud800-\\udfff",En="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",sr="\\u2700-\\u27bf",St="a-z\\xdf-\\xf6\\xf8-\\xff",dr="A-Z\\xc0-\\xd6\\xd8-\\xde",Kn="\\ufe0e\\ufe0f",Zr="\\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",vn="["+kt+"]",fi="["+Zr+"]",Fr="["+En+"]",gr="\\d+",wi="["+sr+"]",go="["+St+"]",ni="[^"+kt+Zr+gr+sr+St+dr+"]",bi="\\ud83c[\\udffb-\\udfff]",Ws="[^"+kt+"]",Lr="(?:\\ud83c[\\udde6-\\uddff]){2}",Wn="[\\ud800-\\udbff][\\udc00-\\udfff]",ri="["+dr+"]",Ao="(?:"+go+"|"+ni+")",Yr="(?:"+ri+"|"+ni+")",ws="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",Pa="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",bs="(?:"+Fr+"|"+bi+")?",ns="["+Kn+"]?",Ks=ns+bs+"(?:\\u200d(?:"+[Ws,Lr,Wn].join("|")+")"+ns+bs+")*",eo="(?:"+[wi,Lr,Wn].join("|")+")"+Ks,Zs="(?:"+[Ws+Fr+"?",Fr,Lr,Wn,vn].join("|")+")",Hi=RegExp("['\u2019]","g"),rs=RegExp(Fr,"g"),Ys=RegExp(bi+"(?="+bi+")|"+Zs+Ks,"g"),is=RegExp([ri+"?"+go+"+"+ws+"(?="+[fi,ri,"$"].join("|")+")",Yr+"+"+Pa+"(?="+[fi,ri+Ao,"$"].join("|")+")",ri+"?"+Ao+"+"+ws,ri+"+"+Pa,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",gr,eo].join("|"),"g"),xa=RegExp("[\\u200d"+kt+En+Kn+"]"),Qs=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Oa=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],_o=-1,Nn={};Nn[Re]=Nn[st]=Nn[Ge]=Nn[ut]=Nn[bt]=Nn[Pt]=Nn[yt]=Nn[lt]=Nn[Yt]=!0,Nn[Ir]=Nn[cr]=Nn[ye]=Nn[Sn]=Nn[be]=Nn[nn]=Nn[Ci]=Nn[ci]=Nn[pr]=Nn[Cr]=Nn[or]=Nn[Ar]=Nn[se]=Nn[Ce]=Nn[I]=!1;var An={};An[Ir]=An[cr]=An[ye]=An[be]=An[Sn]=An[nn]=An[Re]=An[st]=An[Ge]=An[ut]=An[bt]=An[pr]=An[Cr]=An[or]=An[Ar]=An[se]=An[Ce]=An[te]=An[Pt]=An[yt]=An[lt]=An[Yt]=!0,An[Ci]=An[ci]=An[I]=!1;var $i={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},os=parseFloat,yo=parseInt,vo="object"==typeof global&&global&&global.Object===Object&&global,ol="object"==typeof self&&self&&self.Object===Object&&self,Dr=vo||ol||Function("return this")(),Js=G&&!G.nodeType&&G,to=Js&&ve&&!ve.nodeType&&ve,Ds=to&&to.exports===Js,no=Ds&&vo.process,kr=function(){try{return to&&to.require&&to.require("util").types||no&&no.binding&&no.binding("util")}catch{}}(),Br=kr&&kr.isArrayBuffer,Co=kr&&kr.isDate,Xs=kr&&kr.isMap,E=kr&&kr.isRegExp,A=kr&&kr.isSet,D=kr&&kr.isTypedArray;function L(me,Ne,Ie){switch(Ie.length){case 0:return me.call(Ne);case 1:return me.call(Ne,Ie[0]);case 2:return me.call(Ne,Ie[0],Ie[1]);case 3:return me.call(Ne,Ie[0],Ie[1],Ie[2])}return me.apply(Ne,Ie)}function fe(me,Ne,Ie,Dt){for(var cn=-1,Rn=null==me?0:me.length;++cn<Rn;){var Tr=me[cn];Ne(Dt,Tr,Ie(Tr),me)}return Dt}function Oe(me,Ne){for(var Ie=-1,Dt=null==me?0:me.length;++Ie<Dt&&!1!==Ne(me[Ie],Ie,me););return me}function Je(me,Ne){for(var Ie=null==me?0:me.length;Ie--&&!1!==Ne(me[Ie],Ie,me););return me}function nt(me,Ne){for(var Ie=-1,Dt=null==me?0:me.length;++Ie<Dt;)if(!Ne(me[Ie],Ie,me))return!1;return!0}function fn(me,Ne){for(var Ie=-1,Dt=null==me?0:me.length,cn=0,Rn=[];++Ie<Dt;){var Tr=me[Ie];Ne(Tr,Ie,me)&&(Rn[cn++]=Tr)}return Rn}function Hn(me,Ne){return!(null==me||!me.length)&&zi(me,Ne,0)>-1}function $t(me,Ne,Ie){for(var Dt=-1,cn=null==me?0:me.length;++Dt<cn;)if(Ie(Ne,me[Dt]))return!0;return!1}function Ut(me,Ne){for(var Ie=-1,Dt=null==me?0:me.length,cn=Array(Dt);++Ie<Dt;)cn[Ie]=Ne(me[Ie],Ie,me);return cn}function er(me,Ne){for(var Ie=-1,Dt=Ne.length,cn=me.length;++Ie<Dt;)me[cn+Ie]=Ne[Ie];return me}function Un(me,Ne,Ie,Dt){var cn=-1,Rn=null==me?0:me.length;for(Dt&&Rn&&(Ie=me[++cn]);++cn<Rn;)Ie=Ne(Ie,me[cn],cn,me);return Ie}function gn(me,Ne,Ie,Dt){var cn=null==me?0:me.length;for(Dt&&cn&&(Ie=me[--cn]);cn--;)Ie=Ne(Ie,me[cn],cn,me);return Ie}function Qr(me,Ne){for(var Ie=-1,Dt=null==me?0:me.length;++Ie<Dt;)if(Ne(me[Ie],Ie,me))return!0;return!1}var Mr=en("length");function wo(me,Ne,Ie){var Dt;return Ie(me,function(cn,Rn,Tr){if(Ne(cn,Rn,Tr))return Dt=Rn,!1}),Dt}function Ei(me,Ne,Ie,Dt){for(var cn=me.length,Rn=Ie+(Dt?1:-1);Dt?Rn--:++Rn<cn;)if(Ne(me[Rn],Rn,me))return Rn;return-1}function zi(me,Ne,Ie){return Ne==Ne?function so(me,Ne,Ie){for(var Dt=Ie-1,cn=me.length;++Dt<cn;)if(me[Dt]===Ne)return Dt;return-1}(me,Ne,Ie):Ei(me,ss,Ie)}function ro(me,Ne,Ie,Dt){for(var cn=Ie-1,Rn=me.length;++cn<Rn;)if(Dt(me[cn],Ne))return cn;return-1}function ss(me){return me!=me}function ea(me,Ne){var Ie=null==me?0:me.length;return Ie?Pi(me,Ne)/Ie:NaN}function en(me){return function(Ne){return null==Ne?p:Ne[me]}}function Ur(me){return function(Ne){return null==me?p:me[Ne]}}function Aa(me,Ne,Ie,Dt,cn){return cn(me,function(Rn,Tr,Yn){Ie=Dt?(Dt=!1,Rn):Ne(Ie,Rn,Tr,Yn)}),Ie}function Pi(me,Ne){for(var Ie,Dt=-1,cn=me.length;++Dt<cn;){var Rn=Ne(me[Dt]);Rn!==p&&(Ie=Ie===p?Rn:Ie+Rn)}return Ie}function as(me,Ne){for(var Ie=-1,Dt=Array(me);++Ie<me;)Dt[Ie]=Ne(Ie);return Dt}function Ra(me){return me&&me.slice(0,us(me)+1).replace(Q,"")}function gi(me){return function(Ne){return me(Ne)}}function We(me,Ne){return Ut(Ne,function(Ie){return me[Ie]})}function un(me,Ne){return me.has(Ne)}function ta(me,Ne){for(var Ie=-1,Dt=me.length;++Ie<Dt&&zi(Ne,me[Ie],0)>-1;);return Ie}function fr(me,Ne){for(var Ie=me.length;Ie--&&zi(Ne,me[Ie],0)>-1;);return Ie}function No(me,Ne){for(var Ie=me.length,Dt=0;Ie--;)me[Ie]===Ne&&++Dt;return Dt}var ls=Ur({\u00c0:"A",\u00c1:"A",\u00c2:"A",\u00c3:"A",\u00c4:"A",\u00c5:"A",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u00e3:"a",\u00e4:"a",\u00e5:"a",\u00c7:"C",\u00e7:"c",\u00d0:"D",\u00f0:"d",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u00cb:"E",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u00eb:"e",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u00cf:"I",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u00ef:"i",\u00d1:"N",\u00f1:"n",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u00d5:"O",\u00d6:"O",\u00d8:"O",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u00f5:"o",\u00f6:"o",\u00f8:"o",\u00d9:"U",\u00da:"U",\u00db:"U",\u00dc:"U",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u00fc:"u",\u00dd:"Y",\u00fd:"y",\u00ff:"y",\u00c6:"Ae",\u00e6:"ae",\u00de:"Th",\u00fe:"th",\u00df:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u010e:"D",\u0110:"D",\u010f:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011a:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011b:"e",\u011c:"G",\u011e:"G",\u0120:"G",\u0122:"G",\u011d:"g",\u011f:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012a:"I",\u012c:"I",\u012e:"I",\u0130:"I",\u0129:"i",\u012b:"i",\u012d:"i",\u012f:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013b:"L",\u013d:"L",\u013f:"L",\u0141:"L",\u013a:"l",\u013c:"l",\u013e:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014a:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014b:"n",\u014c:"O",\u014e:"O",\u0150:"O",\u014d:"o",\u014f:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015a:"S",\u015c:"S",\u015e:"S",\u0160:"S",\u015b:"s",\u015d:"s",\u015f:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016a:"U",\u016c:"U",\u016e:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016b:"u",\u016d:"u",\u016f:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017b:"Z",\u017d:"Z",\u017a:"z",\u017c:"z",\u017e:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017f:"s"}),Jr=Ur({"&":"&","<":"<",">":">",'"':""","'":"'"});function na(me){return"\\"+$i[me]}function Ms(me){return xa.test(me)}function io(me){var Ne=-1,Ie=Array(me.size);return me.forEach(function(Dt,cn){Ie[++Ne]=[cn,Dt]}),Ie}function Sr(me,Ne){return function(Ie){return me(Ne(Ie))}}function jr(me,Ne){for(var Ie=-1,Dt=me.length,cn=0,Rn=[];++Ie<Dt;){var Tr=me[Ie];(Tr===Ne||Tr===N)&&(me[Ie]=N,Rn[cn++]=Ie)}return Rn}function Fo(me){var Ne=-1,Ie=Array(me.size);return me.forEach(function(Dt){Ie[++Ne]=Dt}),Ie}function Gi(me){return Ms(me)?function ia(me){for(var Ne=Ys.lastIndex=0;Ys.test(me);)++Ne;return Ne}(me):Mr(me)}function xi(me){return Ms(me)?function Lo(me){return me.match(Ys)||[]}(me):function hi(me){return me.split("")}(me)}function us(me){for(var Ne=me.length;Ne--&&Se.test(me.charAt(Ne)););return Ne}var ra=Ur({"&":"&","<":"<",">":">",""":'"',"'":"'"}),oa=function me(Ne){var r,Ie=(Ne=null==Ne?Dr:oa.defaults(Dr.Object(),Ne,oa.pick(Dr,Oa))).Array,Dt=Ne.Date,cn=Ne.Error,Rn=Ne.Function,Tr=Ne.Math,Yn=Ne.Object,Vr=Ne.RegExp,bo=Ne.String,Fn=Ne.TypeError,La=Ie.prototype,sa=Yn.prototype,aa=Ne["__core-js_shared__"],la=Rn.prototype.toString,$n=sa.hasOwnProperty,ua=0,ca=(r=/[^.]+$/.exec(aa&&aa.keys&&aa.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",ko=sa.toString,ka=la.call(Yn),al=Dr._,ll=Vr("^"+la.call($n).replace(Te,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Oi=Ds?Ne.Buffer:p,ii=Ne.Symbol,da=Ne.Uint8Array,Ul=Oi?Oi.allocUnsafe:p,Bo=Sr(Yn.getPrototypeOf,Yn),Ss=Yn.create,ul=sa.propertyIsEnumerable,Ba=La.splice,fu=ii?ii.isConcatSpreadable:p,fa=ii?ii.iterator:p,Wi=ii?ii.toStringTag:p,Ts=function(){try{var r=Za(Yn,"defineProperty");return r({},"",{}),r}catch{}}(),cl=Ne.clearTimeout!==Dr.clearTimeout&&Ne.clearTimeout,Ua=Dt&&Dt.now!==Dr.Date.now&&Dt.now,oi=Ne.setTimeout!==Dr.setTimeout&&Ne.setTimeout,Ps=Tr.ceil,ao=Tr.floor,ha=Yn.getOwnPropertySymbols,Uo=Oi?Oi.isBuffer:p,Eo=Ne.isFinite,ja=La.join,oc=Sr(Yn.keys,Yn),mr=Tr.max,Hr=Tr.min,jl=Dt.now,Vl=Ne.parseInt,jo=Tr.random,qi=La.reverse,Qn=Za(Ne,"DataView"),Do=Za(Ne,"Map"),xs=Za(Ne,"Promise"),Os=Za(Ne,"Set"),si=Za(Ne,"WeakMap"),cs=Za(Yn,"create"),pa=si&&new si,ds={},Hl=Xa(Qn),hu=Xa(Do),Va=Xa(xs),ga=Xa(Os),dl=Xa(si),ma=ii?ii.prototype:p,Is=ma?ma.valueOf:p,Vo=ma?ma.toString:p;function k(r){if(Or(r)&&!wn(r)&&!(r instanceof c)){if(r instanceof h)return r;if($n.call(r,"__wrapped__"))return lf(r)}return new h(r)}var fs=function(){function r(){}return function(s){if(!vr(s))return{};if(Ss)return Ss(s);r.prototype=s;var d=new r;return r.prototype=p,d}}();function m(){}function h(r,s){this.__wrapped__=r,this.__actions__=[],this.__chain__=!!s,this.__index__=0,this.__values__=p}function c(r){this.__wrapped__=r,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Vn,this.__views__=[]}function Z(r){var s=-1,d=null==r?0:r.length;for(this.clear();++s<d;){var b=r[s];this.set(b[0],b[1])}}function On(r){var s=-1,d=null==r?0:r.length;for(this.clear();++s<d;){var b=r[s];this.set(b[0],b[1])}}function Di(r){var s=-1,d=null==r?0:r.length;for(this.clear();++s<d;){var b=r[s];this.set(b[0],b[1])}}function Xr(r){var s=-1,d=null==r?0:r.length;for(this.__data__=new Di;++s<d;)this.add(r[s])}function Ii(r){var s=this.__data__=new On(r);this.size=s.size}function Id(r,s){var d=wn(r),b=!d&&nl(r),x=!d&&!b&&vs(r),H=!d&&!b&&!x&&El(r),ne=d||b||x||H,ce=ne?as(r.length,bo):[],we=ce.length;for(var $e in r)(s||$n.call(r,$e))&&(!ne||!("length"==$e||x&&("offset"==$e||"parent"==$e)||H&&("buffer"==$e||"byteLength"==$e||"byteOffset"==$e)||Qi($e,we)))&&ce.push($e);return ce}function gu(r){var s=r.length;return s?r[bu(0,s-1)]:p}function Ki(r,s){return Fu(Yi(r),y(s,0,r.length))}function mu(r){return Fu(Yi(r))}function Rs(r,s,d){(d!==p&&!Yo(r[s],d)||d===p&&!(s in r))&&gs(r,s,d)}function $l(r,s,d){var b=r[s];(!$n.call(r,s)||!Yo(b,d)||d===p&&!(s in r))&&gs(r,s,d)}function pl(r,s){for(var d=r.length;d--;)if(Yo(r[d][0],s))return d;return-1}function Ad(r,s,d,b){return ee(r,function(x,H,ne){s(b,x,d(x),ne)}),b}function lc(r,s){return r&&Ko(s,ui(s),r)}function gs(r,s,d){"__proto__"==s&&Ts?Ts(r,s,{configurable:!0,enumerable:!0,value:d,writable:!0}):r[s]=d}function _u(r,s){for(var d=-1,b=s.length,x=Ie(b),H=null==r;++d<b;)x[d]=H?p:id(r,s[d]);return x}function y(r,s,d){return r==r&&(d!==p&&(r=r<=d?r:d),s!==p&&(r=r>=s?r:s)),r}function l(r,s,d,b,x,H){var ne,ce=1&s,we=2&s,$e=4&s;if(d&&(ne=x?d(r,b,x,H):d(r)),ne!==p)return ne;if(!vr(r))return r;var ze=wn(r);if(ze){if(ne=function wp(r){var s=r.length,d=new r.constructor(s);return s&&"string"==typeof r[0]&&$n.call(r,"index")&&(d.index=r.index,d.input=r.input),d}(r),!ce)return Yi(r,ne)}else{var Qe=yi(r),vt=Qe==ci||Qe==qn;if(vs(r))return cp(r,ce);if(Qe==or||Qe==Ir||vt&&!x){if(ne=we||vt?{}:Yd(r),!ce)return we?function hp(r,s){return Ko(r,Kd(r),s)}(r,function Rd(r,s){return r&&Ko(s,ei(s),r)}(ne,r)):function Su(r,s){return Ko(r,Sc(r),s)}(r,lc(ne,r))}else{if(!An[Qe])return x?r:{};ne=function bp(r,s,d){var b=r.constructor;switch(s){case ye:return ql(r);case Sn:case nn:return new b(+r);case be:return function pc(r,s){var d=s?ql(r.buffer):r.buffer;return new r.constructor(d,r.byteOffset,r.byteLength)}(r,d);case Re:case st:case Ge:case ut:case bt:case Pt:case yt:case lt:case Yt:return dp(r,d);case pr:return new b;case Cr:case Ce:return new b(r);case Ar:return function gc(r){var s=new r.constructor(r.source,Mt.exec(r));return s.lastIndex=r.lastIndex,s}(r);case se:return new b;case te:return function qm(r){return Is?Yn(Is.call(r)):{}}(r)}}(r,Qe,ce)}}H||(H=new Ii);var Vt=H.get(r);if(Vt)return Vt;H.set(r,ne),rh(r)?r.forEach(function(on){ne.add(l(on,s,d,on,r,H))}):Qo(r)&&r.forEach(function(on,xn){ne.set(xn,l(on,s,d,xn,r,H))});var Mn=ze?p:($e?we?Ec:Yl:we?ei:ui)(r);return Oe(Mn||r,function(on,xn){Mn&&(on=r[xn=on]),$l(ne,xn,l(on,s,d,xn,r,H))}),ne}function _(r,s,d){var b=d.length;if(null==r)return!b;for(r=Yn(r);b--;){var x=d[b],ne=r[x];if(ne===p&&!(x in r)||!(0,s[x])(ne))return!1}return!0}function P(r,s,d){if("function"!=typeof r)throw new Fn(z);return Ja(function(){r.apply(p,d)},s)}function B(r,s,d,b){var x=-1,H=Hn,ne=!0,ce=r.length,we=[],$e=s.length;if(!ce)return we;d&&(s=Ut(s,gi(d))),b?(H=$t,ne=!1):s.length>=200&&(H=un,ne=!1,s=new Xr(s));e:for(;++x<ce;){var ze=r[x],Qe=null==d?ze:d(ze);if(ze=b||0!==ze?ze:0,ne&&Qe==Qe){for(var vt=$e;vt--;)if(s[vt]===Qe)continue e;we.push(ze)}else H(s,Qe,b)||we.push(ze)}return we}k.templateSettings={escape:wt,evaluate:bn,interpolate:pt,variable:"",imports:{_:k}},(k.prototype=m.prototype).constructor=k,(h.prototype=fs(m.prototype)).constructor=h,(c.prototype=fs(m.prototype)).constructor=c,Z.prototype.clear=function ue(){this.__data__=cs?cs(null):{},this.size=0},Z.prototype.delete=function Be(r){var s=this.has(r)&&delete this.__data__[r];return this.size-=s?1:0,s},Z.prototype.get=function rt(r){var s=this.__data__;if(cs){var d=s[r];return d===V?p:d}return $n.call(s,r)?s[r]:p},Z.prototype.has=function Ln(r){var s=this.__data__;return cs?s[r]!==p:$n.call(s,r)},Z.prototype.set=function Gt(r,s){var d=this.__data__;return this.size+=this.has(r)?0:1,d[r]=cs&&s===p?V:s,this},On.prototype.clear=function nr(){this.__data__=[],this.size=0},On.prototype.delete=function hs(r){var s=this.__data__,d=pl(s,r);return!(d<0||(d==s.length-1?s.pop():Ba.call(s,d,1),--this.size,0))},On.prototype.get=function As(r){var s=this.__data__,d=pl(s,r);return d<0?p:s[d][1]},On.prototype.has=function $r(r){return pl(this.__data__,r)>-1},On.prototype.set=function ps(r,s){var d=this.__data__,b=pl(d,r);return b<0?(++this.size,d.push([r,s])):d[b][1]=s,this},Di.prototype.clear=function Pr(){this.size=0,this.__data__={hash:new Z,map:new(Do||On),string:new Z}},Di.prototype.delete=function pu(r){var s=Ka(this,r).delete(r);return this.size-=s?1:0,s},Di.prototype.get=function fl(r){return Ka(this,r).get(r)},Di.prototype.has=function tp(r){return Ka(this,r).has(r)},Di.prototype.set=function Pd(r,s){var d=Ka(this,r),b=d.size;return d.set(r,s),this.size+=d.size==b?0:1,this},Xr.prototype.add=Xr.prototype.push=function Ho(r){return this.__data__.set(r,V),this},Xr.prototype.has=function sc(r){return this.__data__.has(r)},Ii.prototype.clear=function hl(){this.__data__=new On,this.size=0},Ii.prototype.delete=function ac(r){var s=this.__data__,d=s.delete(r);return this.size=s.size,d},Ii.prototype.get=function xd(r){return this.__data__.get(r)},Ii.prototype.has=function Od(r){return this.__data__.has(r)},Ii.prototype.set=function np(r,s){var d=this.__data__;if(d instanceof On){var b=d.__data__;if(!Do||b.length<199)return b.push([r,s]),this.size=++d.size,this;d=this.__data__=new Di(b)}return d.set(r,s),this.size=d.size,this};var ee=Nr(Tt),oe=Nr(zn,!0);function Me(r,s){var d=!0;return ee(r,function(b,x,H){return d=!!s(b,x,H)}),d}function Le(r,s,d){for(var b=-1,x=r.length;++b<x;){var H=r[b],ne=s(H);if(null!=ne&&(ce===p?ne==ne&&!Fi(ne):d(ne,ce)))var ce=ne,we=H}return we}function jt(r,s){var d=[];return ee(r,function(b,x,H){s(b,x,H)&&d.push(b)}),d}function It(r,s,d,b,x){var H=-1,ne=r.length;for(d||(d=Dp),x||(x=[]);++H<ne;){var ce=r[H];s>0&&d(ce)?s>1?It(ce,s-1,d,b,x):er(x,ce):b||(x[x.length]=ce)}return x}var Cn=_c(),Jt=_c(!0);function Tt(r,s){return r&&Cn(r,s,ui)}function zn(r,s){return r&&Jt(r,s,ui)}function _r(r,s){return fn(s,function(d){return Vs(r[d])})}function rr(r,s){for(var d=0,b=(s=Ls(s,r)).length;null!=r&&d<b;)r=r[ys(s[d++])];return d&&d==b?r:p}function xr(r,s,d){var b=s(r);return wn(r)?b:er(b,d(r))}function Gn(r){return null==r?r===p?"[object Undefined]":"[object Null]":Wi&&Wi in Yn(r)?function yp(r){var s=$n.call(r,Wi),d=r[Wi];try{r[Wi]=p;var b=!0}catch{}var x=ko.call(r);return b&&(s?r[Wi]=d:delete r[Wi]),x}(r):function tf(r){return ko.call(r)}(r)}function ms(r,s){return r>s}function Mo(r,s){return null!=r&&$n.call(r,s)}function zr(r,s){return null!=r&&s in Yn(r)}function Zi(r,s,d){for(var b=d?$t:Hn,x=r[0].length,H=r.length,ne=H,ce=Ie(H),we=1/0,$e=[];ne--;){var ze=r[ne];ne&&s&&(ze=Ut(ze,gi(s))),we=Hr(ze.length,we),ce[ne]=!d&&(s||x>=120&&ze.length>=120)?new Xr(ne&&ze):p}ze=r[0];var Qe=-1,vt=ce[0];e:for(;++Qe<x&&$e.length<we;){var Vt=ze[Qe],an=s?s(Vt):Vt;if(Vt=d||0!==Vt?Vt:0,!(vt?un(vt,an):b($e,an,d))){for(ne=H;--ne;){var Mn=ce[ne];if(!(Mn?un(Mn,an):b(r[ne],an,d)))continue e}vt&&vt.push(an),$e.push(Vt)}}return $e}function _a(r,s,d){var b=null==(r=Au(r,s=Ls(s,r)))?r:r[ys(Ji(s))];return null==b?p:L(b,r,d)}function Ns(r){return Or(r)&&Gn(r)==Ir}function Fs(r,s,d,b,x){return r===s||(null==r||null==s||!Or(r)&&!Or(s)?r!=r&&s!=s:function Nt(r,s,d,b,x,H){var ne=wn(r),ce=wn(s),we=ne?cr:yi(r),$e=ce?cr:yi(s),ze=(we=we==Ir?or:we)==or,Qe=($e=$e==Ir?or:$e)==or,vt=we==$e;if(vt&&vs(r)){if(!vs(s))return!1;ne=!0,ze=!1}if(vt&&!ze)return H||(H=new Ii),ne||El(r)?Wd(r,s,d,b,x,H):function qd(r,s,d,b,x,H,ne){switch(d){case be:if(r.byteLength!=s.byteLength||r.byteOffset!=s.byteOffset)return!1;r=r.buffer,s=s.buffer;case ye:return!(r.byteLength!=s.byteLength||!H(new da(r),new da(s)));case Sn:case nn:case Cr:return Yo(+r,+s);case Ci:return r.name==s.name&&r.message==s.message;case Ar:case Ce:return r==s+"";case pr:var ce=io;case se:if(ce||(ce=Fo),r.size!=s.size&&!(1&b))return!1;var $e=ne.get(r);if($e)return $e==s;b|=2,ne.set(r,s);var ze=Wd(ce(r),ce(s),b,x,H,ne);return ne.delete(r),ze;case te:if(Is)return Is.call(r)==Is.call(s)}return!1}(r,s,we,d,b,x,H);if(!(1&d)){var Vt=ze&&$n.call(r,"__wrapped__"),an=Qe&&$n.call(s,"__wrapped__");if(Vt||an){var Mn=Vt?r.value():r,on=an?s.value():s;return H||(H=new Ii),x(Mn,on,d,b,H)}}return!!vt&&(H||(H=new Ii),function _p(r,s,d,b,x,H){var ne=1&d,ce=Yl(r),we=ce.length;if(we!=Yl(s).length&&!ne)return!1;for(var Qe=we;Qe--;){var vt=ce[Qe];if(!(ne?vt in s:$n.call(s,vt)))return!1}var Vt=H.get(r),an=H.get(s);if(Vt&&an)return Vt==s&&an==r;var Mn=!0;H.set(r,s),H.set(s,r);for(var on=ne;++Qe<we;){var xn=r[vt=ce[Qe]],jn=s[vt];if(b)var Li=ne?b(jn,xn,vt,s,r,H):b(xn,jn,vt,r,s,H);if(!(Li===p?xn===jn||x(xn,jn,d,b,H):Li)){Mn=!1;break}on||(on="constructor"==vt)}if(Mn&&!on){var ki=r.constructor,Po=s.constructor;ki!=Po&&"constructor"in r&&"constructor"in s&&!("function"==typeof ki&&ki instanceof ki&&"function"==typeof Po&&Po instanceof Po)&&(Mn=!1)}return H.delete(r),H.delete(s),Mn}(r,s,d,b,x,H))}(r,s,d,b,Fs,x))}function zt(r,s,d,b){var x=d.length,H=x,ne=!b;if(null==r)return!H;for(r=Yn(r);x--;){var ce=d[x];if(ne&&ce[2]?ce[1]!==r[ce[0]]:!(ce[0]in r))return!1}for(;++x<H;){var we=(ce=d[x])[0],$e=r[we],ze=ce[1];if(ne&&ce[2]){if($e===p&&!(we in r))return!1}else{var Qe=new Ii;if(b)var vt=b($e,ze,we,r,s,Qe);if(!(vt===p?Fs(ze,$e,3,b,Qe):vt))return!1}}return!0}function Tn(r){return!(!vr(r)||function Zm(r){return!!ca&&ca in r}(r))&&(Vs(r)?ll:Ve).test(Xa(r))}function Go(r){return"function"==typeof r?r:null==r?ti:"object"==typeof r?wn(r)?uo(r[0],r[1]):lo(r):fd(r)}function lr(r){if(!Ya(r))return oc(r);var s=[];for(var d in Yn(r))$n.call(r,d)&&"constructor"!=d&&s.push(d);return s}function zl(r,s){return r<s}function ai(r,s){var d=-1,b=Ni(r)?Ie(r.length):[];return ee(r,function(x,H,ne){b[++d]=s(x,H,ne)}),b}function lo(r){var s=Mc(r);return 1==s.length&&s[0][2]?Jd(s[0][0],s[0][1]):function(d){return d===r||zt(d,r,s)}}function uo(r,s){return Qd(r)&&Ou(s)?Jd(ys(r),s):function(d){var b=id(d,r);return b===p&&b===s?Wu(d,r):Fs(s,b,3)}}function mi(r,s,d,b,x){r!==s&&Cn(s,function(H,ne){if(x||(x=new Ii),vr(H))!function Gl(r,s,d,b,x,H,ne){var ce=rf(r,d),we=rf(s,d),$e=ne.get(we);if($e)Rs(r,d,$e);else{var ze=H?H(ce,we,d+"",r,s,ne):p,Qe=ze===p;if(Qe){var vt=wn(we),Vt=!vt&&vs(we),an=!vt&&!Vt&&El(we);ze=we,vt||Vt||an?wn(ce)?ze=ce:Wr(ce)?ze=Yi(ce):Vt?(Qe=!1,ze=cp(we,!0)):an?(Qe=!1,ze=dp(we,!0)):ze=[]:ru(we)||nl(we)?(ze=ce,nl(ce)?ze=Xc(ce):(!vr(ce)||Vs(ce))&&(ze=Yd(we))):Qe=!1}Qe&&(ne.set(we,ze),x(ze,we,b,H,ne),ne.delete(we)),Rs(r,d,ze)}}(r,s,ne,d,mi,b,x);else{var ce=b?b(rf(r,ne),H,ne+"",r,s,x):p;ce===p&&(ce=H),Rs(r,ne,ce)}},ei)}function Nd(r,s){var d=r.length;if(d)return Qi(s+=s<0?d:0,d)?r[s]:p}function rp(r,s,d){s=s.length?Ut(s,function(H){return wn(H)?function(ne){return rr(ne,1===H.length?H[0]:H)}:H}):[ti];var b=-1;return s=Ut(s,gi(rn())),function pi(me,Ne){var Ie=me.length;for(me.sort(Ne);Ie--;)me[Ie]=me[Ie].value;return me}(ai(r,function(H,ne,ce){return{criteria:Ut(s,function($e){return $e(H)}),index:++b,value:H}}),function(H,ne){return function fp(r,s,d){for(var b=-1,x=r.criteria,H=s.criteria,ne=x.length,ce=d.length;++b<ne;){var we=mc(x[b],H[b]);if(we)return b>=ce?we:we*("desc"==d[b]?-1:1)}return r.index-s.index}(H,ne,d)})}function Cu(r,s,d){for(var b=-1,x=s.length,H={};++b<x;){var ne=s[b],ce=rr(r,ne);d(ce,ne)&&So(H,Ls(ne,r),ce)}return H}function wu(r,s,d,b){var x=b?ro:zi,H=-1,ne=s.length,ce=r;for(r===s&&(s=Yi(s)),d&&(ce=Ut(r,gi(d)));++H<ne;)for(var we=0,$e=s[H],ze=d?d($e):$e;(we=x(ce,ze,we,b))>-1;)ce!==r&&Ba.call(ce,we,1),Ba.call(r,we,1);return r}function uc(r,s){for(var d=r?s.length:0,b=d-1;d--;){var x=s[d];if(d==b||x!==H){var H=x;Qi(x)?Ba.call(r,x,1):hc(r,x)}}return r}function bu(r,s){return r+ao(jo()*(s-r+1))}function cc(r,s){var d="";if(!r||s<1||s>je)return d;do{s%2&&(d+=r),(s=ao(s/2))&&(r+=r)}while(s);return d}function Pn(r,s){return Ru(Iu(r,s,ti),r+"")}function op(r){return gu(Ml(r))}function sp(r,s){var d=Ml(r);return Fu(d,y(s,0,d.length))}function So(r,s,d,b){if(!vr(r))return r;for(var x=-1,H=(s=Ls(s,r)).length,ne=H-1,ce=r;null!=ce&&++x<H;){var we=ys(s[x]),$e=d;if("__proto__"===we||"constructor"===we||"prototype"===we)return r;if(x!=ne){var ze=ce[we];($e=b?b(ze,we,ce):p)===p&&($e=vr(ze)?ze:Qi(s[x+1])?[]:{})}$l(ce,we,$e),ce=ce[we]}return r}var gl=pa?function(r,s){return pa.set(r,s),r}:ti,ap=Ts?function(r,s){return Ts(r,"toString",{configurable:!0,enumerable:!1,value:Xi(s),writable:!0})}:ti;function Gm(r){return Fu(Ml(r))}function Wo(r,s,d){var b=-1,x=r.length;s<0&&(s=-s>x?0:x+s),(d=d>x?x:d)<0&&(d+=x),x=s>d?0:d-s>>>0,s>>>=0;for(var H=Ie(x);++b<x;)H[b]=r[b+s];return H}function Wm(r,s){var d;return ee(r,function(b,x,H){return!(d=s(b,x,H))}),!!d}function dc(r,s,d){var b=0,x=null==r?b:r.length;if("number"==typeof s&&s==s&&x<=2147483647){for(;b<x;){var H=b+x>>>1,ne=r[H];null!==ne&&!Fi(ne)&&(d?ne<=s:ne<s)?b=H+1:x=H}return x}return Ld(r,s,ti,d)}function Ld(r,s,d,b){var x=0,H=null==r?0:r.length;if(0===H)return 0;for(var ne=(s=d(s))!=s,ce=null===s,we=Fi(s),$e=s===p;x<H;){var ze=ao((x+H)/2),Qe=d(r[ze]),vt=Qe!==p,Vt=null===Qe,an=Qe==Qe,Mn=Fi(Qe);if(ne)var on=b||an;else on=$e?an&&(b||vt):ce?an&&vt&&(b||!Vt):we?an&&vt&&!Vt&&(b||!Mn):!Vt&&!Mn&&(b?Qe<=s:Qe<s);on?x=ze+1:H=ze}return Hr(H,4294967294)}function fc(r,s){for(var d=-1,b=r.length,x=0,H=[];++d<b;){var ne=r[d],ce=s?s(ne):ne;if(!d||!Yo(ce,we)){var we=ce;H[x++]=0===ne?0:ne}}return H}function kd(r){return"number"==typeof r?r:Fi(r)?NaN:+r}function co(r){if("string"==typeof r)return r;if(wn(r))return Ut(r,co)+"";if(Fi(r))return Vo?Vo.call(r):"";var s=r+"";return"0"==s&&1/r==-he?"-0":s}function ya(r,s,d){var b=-1,x=Hn,H=r.length,ne=!0,ce=[],we=ce;if(d)ne=!1,x=$t;else if(H>=200){var $e=s?null:wc(r);if($e)return Fo($e);ne=!1,x=un,we=new Xr}else we=s?[]:ce;e:for(;++b<H;){var ze=r[b],Qe=s?s(ze):ze;if(ze=d||0!==ze?ze:0,ne&&Qe==Qe){for(var vt=we.length;vt--;)if(we[vt]===Qe)continue e;s&&we.push(Qe),ce.push(ze)}else x(we,Qe,d)||(we!==ce&&we.push(Qe),ce.push(ze))}return ce}function hc(r,s){return null==(r=Au(r,s=Ls(s,r)))||delete r[ys(Ji(s))]}function lp(r,s,d,b){return So(r,s,d(rr(r,s)),b)}function Eu(r,s,d,b){for(var x=r.length,H=b?x:-1;(b?H--:++H<x)&&s(r[H],H,r););return d?Wo(r,b?0:H,b?H+1:x):Wo(r,b?H+1:0,b?x:H)}function Wl(r,s){var d=r;return d instanceof c&&(d=d.value()),Un(s,function(b,x){return x.func.apply(x.thisArg,er([b],x.args))},d)}function Du(r,s,d){var b=r.length;if(b<2)return b?ya(r[0]):[];for(var x=-1,H=Ie(b);++x<b;)for(var ne=r[x],ce=-1;++ce<b;)ce!=x&&(H[x]=B(H[x]||ne,r[ce],s,d));return ya(It(H,1),s,d)}function qo(r,s,d){for(var b=-1,x=r.length,H=s.length,ne={};++b<x;)d(ne,r[b],b<H?s[b]:p);return ne}function $a(r){return Wr(r)?r:[]}function Mu(r){return"function"==typeof r?r:ti}function Ls(r,s){return wn(r)?r:Qd(r,s)?[r]:af(Zn(r))}var Bd=Pn;function za(r,s,d){var b=r.length;return d=d===p?b:d,!s&&d>=b?r:Wo(r,s,d)}var up=cl||function(r){return Dr.clearTimeout(r)};function cp(r,s){if(s)return r.slice();var d=r.length,b=Ul?Ul(d):new r.constructor(d);return r.copy(b),b}function ql(r){var s=new r.constructor(r.byteLength);return new da(s).set(new da(r)),s}function dp(r,s){var d=s?ql(r.buffer):r.buffer;return new r.constructor(d,r.byteOffset,r.length)}function mc(r,s){if(r!==s){var d=r!==p,b=null===r,x=r==r,H=Fi(r),ne=s!==p,ce=null===s,we=s==s,$e=Fi(s);if(!ce&&!$e&&!H&&r>s||H&&ne&&we&&!ce&&!$e||b&&ne&&we||!d&&we||!x)return 1;if(!b&&!H&&!$e&&r<s||$e&&d&&x&&!b&&!H||ce&&d&&x||!ne&&x||!we)return-1}return 0}function Ud(r,s,d,b){for(var x=-1,H=r.length,ne=d.length,ce=-1,we=s.length,$e=mr(H-ne,0),ze=Ie(we+$e),Qe=!b;++ce<we;)ze[ce]=s[ce];for(;++x<ne;)(Qe||x<H)&&(ze[d[x]]=r[x]);for(;$e--;)ze[ce++]=r[x++];return ze}function jd(r,s,d,b){for(var x=-1,H=r.length,ne=-1,ce=d.length,we=-1,$e=s.length,ze=mr(H-ce,0),Qe=Ie(ze+$e),vt=!b;++x<ze;)Qe[x]=r[x];for(var Vt=x;++we<$e;)Qe[Vt+we]=s[we];for(;++ne<ce;)(vt||x<H)&&(Qe[Vt+d[ne]]=r[x++]);return Qe}function Yi(r,s){var d=-1,b=r.length;for(s||(s=Ie(b));++d<b;)s[d]=r[d];return s}function Ko(r,s,d,b){var x=!d;d||(d={});for(var H=-1,ne=s.length;++H<ne;){var ce=s[H],we=b?b(d[ce],r[ce],ce,d,r):p;we===p&&(we=r[ce]),x?gs(d,ce,we):$l(d,ce,we)}return d}function ml(r,s){return function(d,b){var x=wn(d)?fe:Ad,H=s?s():{};return x(d,r,rn(b,2),H)}}function _l(r){return Pn(function(s,d){var b=-1,x=d.length,H=x>1?d[x-1]:p,ne=x>2?d[2]:p;for(H=r.length>3&&"function"==typeof H?(x--,H):p,ne&&yr(d[0],d[1],ne)&&(H=x<3?p:H,x=1),s=Yn(s);++b<x;){var ce=d[b];ce&&r(s,ce,b,H)}return s})}function Nr(r,s){return function(d,b){if(null==d)return d;if(!Ni(d))return r(d,b);for(var x=d.length,H=s?x:-1,ne=Yn(d);(s?H--:++H<x)&&!1!==b(ne[H],H,ne););return d}}function _c(r){return function(s,d,b){for(var x=-1,H=Yn(s),ne=b(s),ce=ne.length;ce--;){var we=ne[r?ce:++x];if(!1===d(H[we],we,H))break}return s}}function Tu(r){return function(s){var d=Ms(s=Zn(s))?xi(s):p,b=d?d[0]:s.charAt(0),x=d?za(d,1).join(""):s.slice(1);return b[r]()+x}}function Ga(r){return function(s){return Un(Xo(ud(s).replace(Hi,"")),r,"")}}function Kl(r){return function(){var s=arguments;switch(s.length){case 0:return new r;case 1:return new r(s[0]);case 2:return new r(s[0],s[1]);case 3:return new r(s[0],s[1],s[2]);case 4:return new r(s[0],s[1],s[2],s[3]);case 5:return new r(s[0],s[1],s[2],s[3],s[4]);case 6:return new r(s[0],s[1],s[2],s[3],s[4],s[5]);case 7:return new r(s[0],s[1],s[2],s[3],s[4],s[5],s[6])}var d=fs(r.prototype),b=r.apply(d,s);return vr(b)?b:d}}function Vd(r){return function(s,d,b){var x=Yn(s);if(!Ni(s)){var H=rn(d,3);s=ui(s),d=function(ce){return H(x[ce],ce,x)}}var ne=r(s,d,b);return ne>-1?x[H?s[ne]:ne]:p}}function Hd(r){return Bs(function(s){var d=s.length,b=d,x=h.prototype.thru;for(r&&s.reverse();b--;){var H=s[b];if("function"!=typeof H)throw new Fn(z);if(x&&!ne&&"wrapper"==yl(H))var ne=new h([],!0)}for(b=ne?b:d;++b<d;){var ce=yl(H=s[b]),we="wrapper"==ce?Dc(H):p;ne=we&&xu(we[0])&&424==we[1]&&!we[4].length&&1==we[9]?ne[yl(we[0])].apply(ne,we[3]):1==H.length&&xu(H)?ne[ce]():ne.thru(H)}return function(){var $e=arguments,ze=$e[0];if(ne&&1==$e.length&&wn(ze))return ne.plant(ze).value();for(var Qe=0,vt=d?s[Qe].apply(this,$e):ze;++Qe<d;)vt=s[Qe].call(this,vt);return vt}})}function Pu(r,s,d,b,x,H,ne,ce,we,$e){var ze=128&s,Qe=1&s,vt=2&s,Vt=24&s,an=512&s,Mn=vt?p:Kl(r);return function on(){for(var xn=arguments.length,jn=Ie(xn),Li=xn;Li--;)jn[Li]=arguments[Li];if(Vt)var ki=vl(on),Po=No(jn,ki);if(b&&(jn=Ud(jn,b,x,Vt)),H&&(jn=jd(jn,H,ne,Vt)),xn-=Po,Vt&&xn<$e){var hr=jr(jn,ki);return _i(r,s,Pu,on.placeholder,d,jn,hr,ce,we,$e-xn)}var xo=Qe?d:this,es=vt?xo[r]:r;return xn=jn.length,ce?jn=nf(jn,ce):an&&xn>1&&jn.reverse(),ze&&we<xn&&(jn.length=we),this&&this!==Dr&&this instanceof on&&(es=Mn||Kl(es)),es.apply(xo,jn)}}function mp(r,s){return function(d,b){return function Ri(r,s,d,b){return Tt(r,function(x,H,ne){s(b,d(x),H,ne)}),b}(d,r,s(b),{})}}function yc(r,s){return function(d,b){var x;if(d===p&&b===p)return s;if(d!==p&&(x=d),b!==p){if(x===p)return b;"string"==typeof d||"string"==typeof b?(d=co(d),b=co(b)):(d=kd(d),b=kd(b)),x=r(d,b)}return x}}function Wa(r){return Bs(function(s){return s=Ut(s,gi(rn())),Pn(function(d){var b=this;return r(s,function(x){return L(x,b,d)})})})}function li(r,s){var d=(s=s===p?" ":co(s)).length;if(d<2)return d?cc(s,r):s;var b=cc(s,Ps(r/Gi(s)));return Ms(s)?za(xi(b),0,r).join(""):b.slice(0,r)}function Cc(r){return function(s,d,b){return b&&"number"!=typeof b&&yr(s,d,b)&&(d=b=p),s=ba(s),d===p?(d=s,s=0):d=ba(d),function ip(r,s,d,b){for(var x=-1,H=mr(Ps((s-r)/(d||1)),0),ne=Ie(H);H--;)ne[b?H:++x]=r,r+=d;return ne}(s,d,b=b===p?s<d?1:-1:ba(b),r)}}function Zl(r){return function(s,d){return"string"==typeof s&&"string"==typeof d||(s=ho(s),d=ho(d)),r(s,d)}}function _i(r,s,d,b,x,H,ne,ce,we,$e){var ze=8&s;s|=ze?32:64,4&(s&=~(ze?64:32))||(s&=-4);var Mn=[r,s,x,ze?H:p,ze?ne:p,ze?p:H,ze?p:ne,ce,we,$e],on=d.apply(p,Mn);return xu(r)&&Qa(on,Mn),on.placeholder=b,sf(on,r,s)}function qa(r){var s=Tr[r];return function(d,b){if(d=ho(d),(b=null==b?0:Hr(Dn(b),292))&&Eo(d)){var x=(Zn(d)+"e").split("e");return+((x=(Zn(s(x[0]+"e"+(+x[1]+b)))+"e").split("e"))[0]+"e"+(+x[1]-b))}return s(d)}}var wc=Os&&1/Fo(new Os([,-0]))[1]==he?function(r){return new Os(r)}:Zu;function $d(r){return function(s){var d=yi(s);return d==pr?io(s):d==se?function oo(me){var Ne=-1,Ie=Array(me.size);return me.forEach(function(Dt){Ie[++Ne]=[Dt,Dt]}),Ie}(s):function sl(me,Ne){return Ut(Ne,function(Ie){return[Ie,me[Ie]]})}(s,r(s))}}function ks(r,s,d,b,x,H,ne,ce){var we=2&s;if(!we&&"function"!=typeof r)throw new Fn(z);var $e=b?b.length:0;if($e||(s&=-97,b=x=p),ne=ne===p?ne:mr(Dn(ne),0),ce=ce===p?ce:Dn(ce),$e-=x?x.length:0,64&s){var ze=b,Qe=x;b=x=p}var vt=we?p:Dc(r),Vt=[r,s,d,b,x,ze,Qe,H,ne,ce];if(vt&&function Ql(r,s){var d=r[1],b=s[1],x=d|b;if(!(x<131||(128==b&&8==d||128==b&&256==d&&r[7].length<=s[8]||384==b&&s[7].length<=s[8]&&8==d)))return r;1&b&&(r[2]=s[2],x|=1&d?0:4);var ce=s[3];if(ce){var we=r[3];r[3]=we?Ud(we,ce,s[4]):ce,r[4]=we?jr(r[3],N):s[4]}(ce=s[5])&&(r[5]=(we=r[5])?jd(we,ce,s[6]):ce,r[6]=we?jr(r[5],N):s[6]),(ce=s[7])&&(r[7]=ce),128&b&&(r[8]=null==r[8]?s[8]:Hr(r[8],s[8])),null==r[9]&&(r[9]=s[9]),r[0]=s[0],r[1]=x}(Vt,vt),r=Vt[0],s=Vt[1],d=Vt[2],b=Vt[3],x=Vt[4],!(ce=Vt[9]=Vt[9]===p?we?0:r.length:mr(Vt[9]-$e,0))&&24&s&&(s&=-25),s&&1!=s)an=8==s||16==s?function gp(r,s,d){var b=Kl(r);return function x(){for(var H=arguments.length,ne=Ie(H),ce=H,we=vl(x);ce--;)ne[ce]=arguments[ce];var $e=H<3&&ne[0]!==we&&ne[H-1]!==we?[]:jr(ne,we);return(H-=$e.length)<d?_i(r,s,Pu,x.placeholder,p,ne,$e,p,p,d-H):L(this&&this!==Dr&&this instanceof x?b:r,this,ne)}}(r,s,ce):32!=s&&33!=s||x.length?Pu.apply(p,Vt):function vc(r,s,d,b){var x=1&s,H=Kl(r);return function ne(){for(var ce=-1,we=arguments.length,$e=-1,ze=b.length,Qe=Ie(ze+we),vt=this&&this!==Dr&&this instanceof ne?H:r;++$e<ze;)Qe[$e]=b[$e];for(;we--;)Qe[$e++]=arguments[++ce];return L(vt,x?d:this,Qe)}}(r,s,d,b);else var an=function pp(r,s,d){var b=1&s,x=Kl(r);return function H(){return(this&&this!==Dr&&this instanceof H?x:r).apply(b?d:this,arguments)}}(r,s,d);return sf((vt?gl:Qa)(an,Vt),r,s)}function bc(r,s,d,b){return r===p||Yo(r,sa[d])&&!$n.call(b,d)?s:r}function zd(r,s,d,b,x,H){return vr(r)&&vr(s)&&(H.set(s,r),mi(r,s,p,zd,H),H.delete(s)),r}function Gd(r){return ru(r)?p:r}function Wd(r,s,d,b,x,H){var ne=1&d,ce=r.length,we=s.length;if(ce!=we&&!(ne&&we>ce))return!1;var $e=H.get(r),ze=H.get(s);if($e&&ze)return $e==s&&ze==r;var Qe=-1,vt=!0,Vt=2&d?new Xr:p;for(H.set(r,s),H.set(s,r);++Qe<ce;){var an=r[Qe],Mn=s[Qe];if(b)var on=ne?b(Mn,an,Qe,s,r,H):b(an,Mn,Qe,r,s,H);if(on!==p){if(on)continue;vt=!1;break}if(Vt){if(!Qr(s,function(xn,jn){if(!un(Vt,jn)&&(an===xn||x(an,xn,d,b,H)))return Vt.push(jn)})){vt=!1;break}}else if(an!==Mn&&!x(an,Mn,d,b,H)){vt=!1;break}}return H.delete(r),H.delete(s),vt}function Bs(r){return Ru(Iu(r,p,mf),r+"")}function Yl(r){return xr(r,ui,Sc)}function Ec(r){return xr(r,ei,Kd)}var Dc=pa?function(r){return pa.get(r)}:Zu;function yl(r){for(var s=r.name+"",d=ds[s],b=$n.call(ds,s)?d.length:0;b--;){var x=d[b],H=x.func;if(null==H||H==r)return x.name}return s}function vl(r){return($n.call(k,"placeholder")?k:r).placeholder}function rn(){var r=k.iteratee||Ea;return r=r===Ea?Go:r,arguments.length?r(arguments[0],arguments[1]):r}function Ka(r,s){var d=r.__data__;return function Km(r){var s=typeof r;return"string"==s||"number"==s||"symbol"==s||"boolean"==s?"__proto__"!==r:null===r}(s)?d["string"==typeof s?"string":"hash"]:d.map}function Mc(r){for(var s=ui(r),d=s.length;d--;){var b=s[d],x=r[b];s[d]=[b,x,Ou(x)]}return s}function Za(r,s){var d=function Na(me,Ne){return null==me?p:me[Ne]}(r,s);return Tn(d)?d:p}var Sc=ha?function(r){return null==r?[]:(r=Yn(r),fn(ha(r),function(s){return ul.call(r,s)}))}:Yu,Kd=ha?function(r){for(var s=[];r;)er(s,Sc(r)),r=Bo(r);return s}:Yu,yi=Gn;function Zd(r,s,d){for(var b=-1,x=(s=Ls(s,r)).length,H=!1;++b<x;){var ne=ys(s[b]);if(!(H=null!=r&&d(r,ne)))break;r=r[ne]}return H||++b!=x?H:!!(x=null==r?0:r.length)&&nu(x)&&Qi(ne,x)&&(wn(r)||nl(r))}function Yd(r){return"function"!=typeof r.constructor||Ya(r)?{}:fs(Bo(r))}function Dp(r){return wn(r)||nl(r)||!!(fu&&r&&r[fu])}function Qi(r,s){var d=typeof r;return!!(s=s??je)&&("number"==d||"symbol"!=d&&Pe.test(r))&&r>-1&&r%1==0&&r<s}function yr(r,s,d){if(!vr(d))return!1;var b=typeof s;return!!("number"==b?Ni(d)&&Qi(s,d.length):"string"==b&&s in d)&&Yo(d[s],r)}function Qd(r,s){if(wn(r))return!1;var d=typeof r;return!("number"!=d&&"symbol"!=d&&"boolean"!=d&&null!=r&&!Fi(r))||Lt.test(r)||!dn.test(r)||null!=s&&r in Yn(s)}function xu(r){var s=yl(r),d=k[s];if("function"!=typeof d||!(s in c.prototype))return!1;if(r===d)return!0;var b=Dc(d);return!!b&&r===b[0]}(Qn&&yi(new Qn(new ArrayBuffer(1)))!=be||Do&&yi(new Do)!=pr||xs&&yi(xs.resolve())!=Oo||Os&&yi(new Os)!=se||si&&yi(new si)!=I)&&(yi=function(r){var s=Gn(r),d=s==or?r.constructor:p,b=d?Xa(d):"";if(b)switch(b){case Hl:return be;case hu:return pr;case Va:return Oo;case ga:return se;case dl:return I}return s});var _s=aa?Vs:hd;function Ya(r){var s=r&&r.constructor;return r===("function"==typeof s&&s.prototype||sa)}function Ou(r){return r==r&&!vr(r)}function Jd(r,s){return function(d){return null!=d&&d[r]===s&&(s!==p||r in Yn(d))}}function Iu(r,s,d){return s=mr(s===p?r.length-1:s,0),function(){for(var b=arguments,x=-1,H=mr(b.length-s,0),ne=Ie(H);++x<H;)ne[x]=b[s+x];x=-1;for(var ce=Ie(s+1);++x<s;)ce[x]=b[x];return ce[s]=d(ne),L(r,this,ce)}}function Au(r,s){return s.length<2?r:rr(r,Wo(s,0,-1))}function nf(r,s){for(var d=r.length,b=Hr(s.length,d),x=Yi(r);b--;){var H=s[b];r[b]=Qi(H,d)?x[H]:p}return r}function rf(r,s){if(("constructor"!==s||"function"!=typeof r[s])&&"__proto__"!=s)return r[s]}var Qa=Nu(gl),Ja=oi||function(r,s){return Dr.setTimeout(r,s)},Ru=Nu(ap);function sf(r,s,d){var b=s+"";return Ru(r,function Ep(r,s){var d=s.length;if(!d)return r;var b=d-1;return s[b]=(d>1?"& ":"")+s[b],s=s.join(d>2?", ":" "),r.replace(Fe,"{\n/* [wrapped with "+s+"] */\n")}(b,function Mp(r,s){return Oe(Bi,function(d){var b="_."+d[0];s&d[1]&&!Hn(r,b)&&r.push(b)}),r.sort()}(function Cp(r){var s=r.match(dt);return s?s[1].split(ft):[]}(b),d)))}function Nu(r){var s=0,d=0;return function(){var b=jl(),x=16-(b-d);if(d=b,x>0){if(++s>=800)return arguments[0]}else s=0;return r.apply(p,arguments)}}function Fu(r,s){var d=-1,b=r.length,x=b-1;for(s=s===p?b:s;++d<s;){var H=bu(d,x),ne=r[H];r[H]=r[d],r[d]=ne}return r.length=s,r}var af=function Xd(r){var s=js(r,function(b){return 500===d.size&&d.clear(),b}),d=s.cache;return s}(function(r){var s=[];return 46===r.charCodeAt(0)&&s.push(""),r.replace(Xn,function(d,b,x,H){s.push(x?H.replace(De,"$1"):b||d)}),s});function ys(r){if("string"==typeof r||Fi(r))return r;var s=r+"";return"0"==s&&1/r==-he?"-0":s}function Xa(r){if(null!=r){try{return la.call(r)}catch{}try{return r+""}catch{}}return""}function lf(r){if(r instanceof c)return r.clone();var s=new h(r.__wrapped__,r.__chain__);return s.__actions__=Yi(r.__actions__),s.__index__=r.__index__,s.__values__=r.__values__,s}var Pc=Pn(function(r,s){return Wr(r)?B(r,It(s,1,Wr,!0)):[]}),Sp=Pn(function(r,s){var d=Ji(s);return Wr(d)&&(d=p),Wr(r)?B(r,It(s,1,Wr,!0),rn(d,2)):[]}),Tp=Pn(function(r,s){var d=Ji(s);return Wr(d)&&(d=p),Wr(r)?B(r,It(s,1,Wr,!0),p,d):[]});function gf(r,s,d){var b=null==r?0:r.length;if(!b)return-1;var x=null==d?0:Dn(d);return x<0&&(x=mr(b+x,0)),Ei(r,rn(s,3),x)}function Jl(r,s,d){var b=null==r?0:r.length;if(!b)return-1;var x=b-1;return d!==p&&(x=Dn(d),x=d<0?mr(b+x,0):Hr(x,b-1)),Ei(r,rn(s,3),x,!0)}function mf(r){return null!=r&&r.length?It(r,1):[]}function Lu(r){return r&&r.length?r[0]:p}var Bu=Pn(function(r){var s=Ut(r,$a);return s.length&&s[0]===r[0]?Zi(s):[]}),wf=Pn(function(r){var s=Ji(r),d=Ut(r,$a);return s===Ji(d)?s=p:d.pop(),d.length&&d[0]===r[0]?Zi(d,rn(s,2)):[]}),xc=Pn(function(r){var s=Ji(r),d=Ut(r,$a);return(s="function"==typeof s?s:p)&&d.pop(),d.length&&d[0]===r[0]?Zi(d,p,s):[]});function Ji(r){var s=null==r?0:r.length;return s?r[s-1]:p}var Ef=Pn(Df);function Df(r,s){return r&&r.length&&s&&s.length?wu(r,s):r}var Oc=Bs(function(r,s){var d=null==r?0:r.length,b=_u(r,s);return uc(r,Ut(s,function(x){return Qi(x,d)?+x:x}).sort(mc)),b});function Tf(r){return null==r?r:qi.call(r)}var Up=Pn(function(r){return ya(It(r,1,Wr,!0))}),jp=Pn(function(r){var s=Ji(r);return Wr(s)&&(s=p),ya(It(r,1,Wr,!0),rn(s,2))}),hn=Pn(function(r){var s=Ji(r);return s="function"==typeof s?s:p,ya(It(r,1,Wr,!0),p,s)});function Cl(r){if(!r||!r.length)return[];var s=0;return r=fn(r,function(d){if(Wr(d))return s=mr(d.length,s),!0}),as(s,function(d){return Ut(r,en(d))})}function To(r,s){if(!r||!r.length)return[];var d=Cl(r);return null==s?d:Ut(d,function(b){return L(s,p,b)})}var Ff=Pn(function(r,s){return Wr(r)?B(r,s):[]}),Vp=Pn(function(r){return Du(fn(r,Wr))}),Ic=Pn(function(r){var s=Ji(r);return Wr(s)&&(s=p),Du(fn(r,Wr),rn(s,2))}),Us=Pn(function(r){var s=Ji(r);return s="function"==typeof s?s:p,Du(fn(r,Wr),p,s)}),Ac=Pn(Cl),Ym=Pn(function(r){var s=r.length,d=s>1?r[s-1]:p;return d="function"==typeof d?(r.pop(),d):p,To(r,d)});function Nc(r){var s=k(r);return s.__chain__=!0,s}function tl(r,s){return s(r)}var Uu=Bs(function(r){var s=r.length,d=s?r[0]:0,b=this.__wrapped__,x=function(H){return _u(H,r)};return!(s>1||this.__actions__.length)&&b instanceof c&&Qi(d)?((b=b.slice(d,+d+(s?1:0))).__actions__.push({func:tl,args:[x],thisArg:p}),new h(b,this.__chain__).thru(function(H){return s&&!H.length&&H.push(p),H})):this.thru(x)}),Gp=ml(function(r,s,d){$n.call(r,d)?++r[d]:gs(r,d,1)}),Wp=Vd(gf),e_=Vd(Jl);function ju(r,s){return(wn(r)?Oe:ee)(r,rn(s,3))}function Kp(r,s){return(wn(r)?Je:oe)(r,rn(s,3))}var t_=ml(function(r,s,d){$n.call(r,d)?r[d].push(s):gs(r,d,[s])}),r_=Pn(function(r,s,d){var b=-1,x="function"==typeof s,H=Ni(r)?Ie(r.length):[];return ee(r,function(ne){H[++b]=x?L(s,ne,d):_a(ne,s,d)}),H}),i_=ml(function(r,s,d){gs(r,d,s)});function Bc(r,s){return(wn(r)?Ut:ai)(r,rn(s,3))}var s_=ml(function(r,s,d){r[d?0:1].push(s)},function(){return[[],[]]}),Vc=Pn(function(r,s){if(null==r)return[];var d=s.length;return d>1&&yr(r,s[0],s[1])?s=[]:d>2&&yr(s[0],s[1],s[2])&&(s=[s[0]]),rp(r,It(s,1),[])}),Vu=Ua||function(){return Dr.Date.now()};function Hc(r,s,d){return s=d?p:s,ks(r,128,p,p,p,p,s=r&&null==s?r.length:s)}function Hf(r,s){var d;if("function"!=typeof s)throw new Fn(z);return r=Dn(r),function(){return--r>0&&(d=s.apply(this,arguments)),r<=1&&(s=p),d}}var eu=Pn(function(r,s,d){var b=1;if(d.length){var x=jr(d,vl(eu));b|=32}return ks(r,b,s,d,x)}),$f=Pn(function(r,s,d){var b=3;if(d.length){var x=jr(d,vl($f));b|=32}return ks(s,b,r,d,x)});function Gf(r,s,d){var b,x,H,ne,ce,we,$e=0,ze=!1,Qe=!1,vt=!0;if("function"!=typeof r)throw new Fn(z);function Vt(hr){var xo=b,es=x;return b=x=p,$e=hr,ne=r.apply(es,xo)}function an(hr){return $e=hr,ce=Ja(xn,s),ze?Vt(hr):ne}function on(hr){var xo=hr-we;return we===p||xo>=s||xo<0||Qe&&hr-$e>=H}function xn(){var hr=Vu();if(on(hr))return jn(hr);ce=Ja(xn,function Mn(hr){var Qu=s-(hr-we);return Qe?Hr(Qu,H-(hr-$e)):Qu}(hr))}function jn(hr){return ce=p,vt&&b?Vt(hr):(b=x=p,ne)}function Po(){var hr=Vu(),xo=on(hr);if(b=arguments,x=this,we=hr,xo){if(ce===p)return an(we);if(Qe)return up(ce),ce=Ja(xn,s),Vt(we)}return ce===p&&(ce=Ja(xn,s)),ne}return s=ho(s)||0,vr(d)&&(ze=!!d.leading,H=(Qe="maxWait"in d)?mr(ho(d.maxWait)||0,s):H,vt="trailing"in d?!!d.trailing:vt),Po.cancel=function Li(){ce!==p&&up(ce),$e=0,b=we=x=ce=p},Po.flush=function ki(){return ce===p?ne:jn(Vu())},Po}var tu=Pn(function(r,s){return P(r,1,s)}),wl=Pn(function(r,s,d){return P(r,ho(s)||0,d)});function js(r,s){if("function"!=typeof r||null!=s&&"function"!=typeof s)throw new Fn(z);var d=function(){var b=arguments,x=s?s.apply(this,b):b[0],H=d.cache;if(H.has(x))return H.get(x);var ne=r.apply(this,b);return d.cache=H.set(x,ne)||H,ne};return d.cache=new(js.Cache||Di),d}function wa(r){if("function"!=typeof r)throw new Fn(z);return function(){var s=arguments;switch(s.length){case 0:return!r.call(this);case 1:return!r.call(this,s[0]);case 2:return!r.call(this,s[0],s[1]);case 3:return!r.call(this,s[0],s[1],s[2])}return!r.apply(this,s)}}js.Cache=Di;var Yp=Bd(function(r,s){var d=(s=1==s.length&&wn(s[0])?Ut(s[0],gi(rn())):Ut(It(s,1),gi(rn()))).length;return Pn(function(b){for(var x=-1,H=Hr(b.length,d);++x<H;)b[x]=s[x].call(this,b[x]);return L(r,this,b)})}),Hu=Pn(function(r,s){var d=jr(s,vl(Hu));return ks(r,32,p,s,d)}),Gc=Pn(function(r,s){var d=jr(s,vl(Gc));return ks(r,64,p,s,d)}),Wc=Bs(function(r,s){return ks(r,256,p,p,p,s)});function Yo(r,s){return r===s||r!=r&&s!=s}var fo=Zl(ms),eg=Zl(function(r,s){return r>=s}),nl=Ns(function(){return arguments}())?Ns:function(r){return Or(r)&&$n.call(r,"callee")&&!ul.call(r,"callee")},wn=Ie.isArray,c_=Br?gi(Br):function $o(r){return Or(r)&&Gn(r)==ye};function Ni(r){return null!=r&&nu(r.length)&&!Vs(r)}function Wr(r){return Or(r)&&Ni(r)}var vs=Uo||hd,Qf=Co?gi(Co):function Ha(r){return Or(r)&&Gn(r)==nn};function Kc(r){if(!Or(r))return!1;var s=Gn(r);return s==Ci||"[object DOMException]"==s||"string"==typeof r.message&&"string"==typeof r.name&&!ru(r)}function Vs(r){if(!vr(r))return!1;var s=Gn(r);return s==ci||s==qn||"[object AsyncFunction]"==s||"[object Proxy]"==s}function eh(r){return"number"==typeof r&&r==Dn(r)}function nu(r){return"number"==typeof r&&r>-1&&r%1==0&&r<=je}function vr(r){var s=typeof r;return null!=r&&("object"==s||"function"==s)}function Or(r){return null!=r&&"object"==typeof r}var Qo=Xs?gi(Xs):function Kt(r){return Or(r)&&yi(r)==pr};function nh(r){return"number"==typeof r||Or(r)&&Gn(r)==Cr}function ru(r){if(!Or(r)||Gn(r)!=or)return!1;var s=Bo(r);if(null===s)return!0;var d=$n.call(s,"constructor")&&s.constructor;return"function"==typeof d&&d instanceof d&&la.call(d)==ka}var iu=E?gi(E):function Gr(r){return Or(r)&&Gn(r)==Ar},rh=A?gi(A):function zo(r){return Or(r)&&yi(r)==se};function rl(r){return"string"==typeof r||!wn(r)&&Or(r)&&Gn(r)==Ce}function Fi(r){return"symbol"==typeof r||Or(r)&&Gn(r)==te}var El=D?gi(D):function Mi(r){return Or(r)&&nu(r.length)&&!!Nn[Gn(r)]},f_=Zl(zl),h_=Zl(function(r,s){return r<=s});function zu(r){if(!r)return[];if(Ni(r))return rl(r)?xi(r):Yi(r);if(fa&&r[fa])return function Fl(me){for(var Ne,Ie=[];!(Ne=me.next()).done;)Ie.push(Ne.value);return Ie}(r[fa]());var s=yi(r);return(s==pr?io:s==se?Fo:Ml)(r)}function ba(r){return r?(r=ho(r))===he||r===-he?17976931348623157e292*(r<0?-1:1):r==r?r:0:0===r?r:0}function Dn(r){var s=ba(r),d=s%1;return s==s?d?s-d:s:0}function Jc(r){return r?y(Dn(r),0,Vn):0}function ho(r){if("number"==typeof r)return r;if(Fi(r))return NaN;if(vr(r)){var s="function"==typeof r.valueOf?r.valueOf():r;r=vr(s)?s+"":s}if("string"!=typeof r)return 0===r?r:+r;r=Ra(r);var d=Xe.test(r);return d||xe.test(r)?yo(r.slice(2),d?2:8):In.test(r)?NaN:+r}function Xc(r){return Ko(r,ei(r))}function Zn(r){return null==r?"":co(r)}var Hs=_l(function(r,s){if(Ya(s)||Ni(s))Ko(s,ui(s),r);else for(var d in s)$n.call(s,d)&&$l(r,d,s[d])}),ou=_l(function(r,s){Ko(s,ei(s),r)}),Gu=_l(function(r,s,d,b){Ko(s,ei(s),r,b)}),ug=_l(function(r,s,d,b){Ko(s,ui(s),r,b)}),p_=Bs(_u),sh=Pn(function(r,s){r=Yn(r);var d=-1,b=s.length,x=b>2?s[2]:p;for(x&&yr(s[0],s[1],x)&&(b=1);++d<b;)for(var H=s[d],ne=ei(H),ce=-1,we=ne.length;++ce<we;){var $e=ne[ce],ze=r[$e];(ze===p||Yo(ze,sa[$e])&&!$n.call(r,$e))&&(r[$e]=H[$e])}return r}),td=Pn(function(r){return r.push(p,zd),L(dh,p,r)});function id(r,s,d){var b=null==r?p:rr(r,s);return b===p?d:b}function Wu(r,s){return null!=r&&Zd(r,s,zr)}var Dl=mp(function(r,s,d){null!=s&&"function"!=typeof s.toString&&(s=ko.call(s)),r[s]=d},Xi(ti)),ch=mp(function(r,s,d){null!=s&&"function"!=typeof s.toString&&(s=ko.call(s)),$n.call(r,s)?r[s].push(d):r[s]=[d]},rn),hg=Pn(_a);function ui(r){return Ni(r)?Id(r):lr(r)}function ei(r){return Ni(r)?Id(r,!0):function yu(r){if(!vr(r))return function ef(r){var s=[];if(null!=r)for(var d in Yn(r))s.push(d);return s}(r);var s=Ya(r),d=[];for(var b in r)"constructor"==b&&(s||!$n.call(r,b))||d.push(b);return d}(r)}var mg=_l(function(r,s,d){mi(r,s,d)}),dh=_l(function(r,s,d,b){mi(r,s,d,b)}),Cs=Bs(function(r,s){var d={};if(null==r)return d;var b=!1;s=Ut(s,function(H){return H=Ls(H,r),b||(b=H.length>1),H}),Ko(r,Ec(r),d),b&&(d=l(d,7,Gd));for(var x=s.length;x--;)hc(d,s[x]);return d}),fh=Bs(function(r,s){return null==r?{}:function vu(r,s){return Cu(r,s,function(d,b){return Wu(r,b)})}(r,s)});function sd(r,s){if(null==r)return{};var d=Ut(Ec(r),function(b){return[b]});return s=rn(s),Cu(r,d,function(b,x){return s(b,x[0])})}var gh=$d(ui),mh=$d(ei);function Ml(r){return null==r?[]:We(r,ui(r))}var Cg=Ga(function(r,s,d){return s=s.toLowerCase(),r+(d?ld(s):s)});function ld(r){return lu(Zn(r).toLowerCase())}function ud(r){return(r=Zn(r))&&r.replace(Ye,ls).replace(rs,"")}var C_=Ga(function(r,s,d){return r+(d?"-":"")+s.toLowerCase()}),vh=Ga(function(r,s,d){return r+(d?" ":"")+s.toLowerCase()}),Ch=Tu("toLowerCase"),cd=Ga(function(r,s,d){return r+(d?"_":"")+s.toLowerCase()}),Dg=Ga(function(r,s,d){return r+(d?" ":"")+lu(s)}),Ig=Ga(function(r,s,d){return r+(d?" ":"")+s.toUpperCase()}),lu=Tu("toUpperCase");function Xo(r,s,d){return r=Zn(r),(s=d?p:s)===p?function Nl(me){return Qs.test(me)}(r)?function Fa(me){return me.match(is)||[]}(r):function tr(me){return me.match(at)||[]}(r):r.match(s)||[]}var Tl=Pn(function(r,s){try{return L(r,p,s)}catch(d){return Kc(d)?d:new cn(d)}}),Si=Bs(function(r,s){return Oe(s,function(d){d=ys(d),gs(r,d,eu(r[d],r))}),r});function Xi(r){return function(){return r}}var Pl=Hd(),xl=Hd(!0);function ti(r){return r}function Ea(r){return Go("function"==typeof r?r:l(r,1))}var Al=Pn(function(r,s){return function(d){return _a(d,r,s)}}),Rl=Pn(function(r,s){return function(d){return _a(r,d,s)}});function Da(r,s,d){var b=ui(s),x=_r(s,b);null==d&&(!vr(s)||!x.length&&b.length)&&(d=s,s=r,r=this,x=_r(s,ui(s)));var H=!(vr(d)&&"chain"in d&&!d.chain),ne=Vs(r);return Oe(x,function(ce){var we=s[ce];r[ce]=we,ne&&(r.prototype[ce]=function(){var $e=this.__chain__;if(H||$e){var ze=r(this.__wrapped__),Qe=ze.__actions__=Yi(this.__actions__);return Qe.push({func:we,args:arguments,thisArg:r}),ze.__chain__=$e,ze}return we.apply(r,er([this.value()],arguments))})}),r}function Zu(){}var Sh=Wa(Ut),Th=Wa(nt),Ph=Wa(Qr);function fd(r){return Qd(r)?en(ys(r)):function Fd(r){return function(s){return rr(s,r)}}(r)}var Oh=Cc(),Ag=Cc(!0);function Yu(){return[]}function hd(){return!1}var Rh=yc(function(r,s){return r+s},0),kg=qa("ceil"),Bg=yc(function(r,s){return r/s},1),b_=qa("floor"),M_=yc(function(r,s){return r*s},1),Vg=qa("round"),Nh=yc(function(r,s){return r-s},0);return k.after=function Ca(r,s){if("function"!=typeof s)throw new Fn(z);return r=Dn(r),function(){if(--r<1)return s.apply(this,arguments)}},k.ary=Hc,k.assign=Hs,k.assignIn=ou,k.assignInWith=Gu,k.assignWith=ug,k.at=p_,k.before=Hf,k.bind=eu,k.bindAll=Si,k.bindKey=$f,k.castArray=function u_(){if(!arguments.length)return[];var r=arguments[0];return wn(r)?r:[r]},k.chain=Nc,k.chunk=function uf(r,s,d){s=(d?yr(r,s,d):s===p)?1:mr(Dn(s),0);var b=null==r?0:r.length;if(!b||s<1)return[];for(var x=0,H=0,ne=Ie(Ps(b/s));x<b;)ne[H++]=Wo(r,x,x+=s);return ne},k.compact=function Tc(r){for(var s=-1,d=null==r?0:r.length,b=0,x=[];++s<d;){var H=r[s];H&&(x[b++]=H)}return x},k.concat=function cf(){var r=arguments.length;if(!r)return[];for(var s=Ie(r-1),d=arguments[0],b=r;b--;)s[b-1]=arguments[b];return er(wn(d)?Yi(d):[d],It(s,1))},k.cond=function il(r){var s=null==r?0:r.length,d=rn();return r=s?Ut(r,function(b){if("function"!=typeof b[1])throw new Fn(z);return[d(b[0]),b[1]]}):[],Pn(function(b){for(var x=-1;++x<s;){var H=r[x];if(L(H[0],this,b))return L(H[1],this,b)}})},k.conforms=function Ku(r){return function u(r){var s=ui(r);return function(d){return _(d,r,s)}}(l(r,1))},k.constant=Xi,k.countBy=Gp,k.create=function ed(r,s){var d=fs(r);return null==s?d:lc(d,s)},k.curry=function $c(r,s,d){var b=ks(r,8,p,p,p,p,p,s=d?p:s);return b.placeholder=$c.placeholder,b},k.curryRight=function zf(r,s,d){var b=ks(r,16,p,p,p,p,p,s=d?p:s);return b.placeholder=zf.placeholder,b},k.debounce=Gf,k.defaults=sh,k.defaultsDeep=td,k.defer=tu,k.delay=wl,k.difference=Pc,k.differenceBy=Sp,k.differenceWith=Tp,k.drop=function df(r,s,d){var b=null==r?0:r.length;return b?Wo(r,(s=d||s===p?1:Dn(s))<0?0:s,b):[]},k.dropRight=function ff(r,s,d){var b=null==r?0:r.length;return b?Wo(r,0,(s=b-(s=d||s===p?1:Dn(s)))<0?0:s):[]},k.dropRightWhile=function el(r,s){return r&&r.length?Eu(r,rn(s,3),!0,!0):[]},k.dropWhile=function hf(r,s){return r&&r.length?Eu(r,rn(s,3),!0):[]},k.fill=function pf(r,s,d,b){var x=null==r?0:r.length;return x?(d&&"number"!=typeof d&&yr(r,s,d)&&(d=0,b=x),function Ct(r,s,d,b){var x=r.length;for((d=Dn(d))<0&&(d=-d>x?0:x+d),(b=b===p||b>x?x:Dn(b))<0&&(b+=x),b=d>b?0:Jc(b);d<b;)r[d++]=s;return r}(r,s,d,b)):[]},k.filter=function Xm(r,s){return(wn(r)?fn:jt)(r,rn(s,3))},k.flatMap=function Bf(r,s){return It(Bc(r,s),1)},k.flatMapDeep=function Uf(r,s){return It(Bc(r,s),he)},k.flatMapDepth=function qp(r,s,d){return d=d===p?1:Dn(d),It(Bc(r,s),d)},k.flatten=mf,k.flattenDeep=function _f(r){return null!=r&&r.length?It(r,he):[]},k.flattenDepth=function yf(r,s){return null!=r&&r.length?It(r,s=s===p?1:Dn(s)):[]},k.flip=function zc(r){return ks(r,512)},k.flow=Pl,k.flowRight=xl,k.fromPairs=function vf(r){for(var s=-1,d=null==r?0:r.length,b={};++s<d;){var x=r[s];b[x[0]]=x[1]}return b},k.functions=function dg(r){return null==r?[]:_r(r,ui(r))},k.functionsIn=function rd(r){return null==r?[]:_r(r,ei(r))},k.groupBy=t_,k.initial=function ku(r){return null!=r&&r.length?Wo(r,0,-1):[]},k.intersection=Bu,k.intersectionBy=wf,k.intersectionWith=xc,k.invert=Dl,k.invertBy=ch,k.invokeMap=r_,k.iteratee=Ea,k.keyBy=i_,k.keys=ui,k.keysIn=ei,k.map=Bc,k.mapKeys=function pg(r,s){var d={};return s=rn(s,3),Tt(r,function(b,x,H){gs(d,s(b,x,H),b)}),d},k.mapValues=function gg(r,s){var d={};return s=rn(s,3),Tt(r,function(b,x,H){gs(d,x,s(b,x,H))}),d},k.matches=function Ol(r){return lo(l(r,1))},k.matchesProperty=function Il(r,s){return uo(r,l(s,1))},k.memoize=js,k.merge=mg,k.mergeWith=dh,k.method=Al,k.methodOf=Rl,k.mixin=Da,k.negate=wa,k.nthArg=function Mh(r){return r=Dn(r),Pn(function(s){return Nd(s,r)})},k.omit=Cs,k.omitBy=function od(r,s){return sd(r,wa(rn(s)))},k.once=function bl(r){return Hf(2,r)},k.orderBy=function o_(r,s,d,b){return null==r?[]:(wn(s)||(s=null==s?[]:[s]),wn(d=b?p:d)||(d=null==d?[]:[d]),rp(r,s,d))},k.over=Sh,k.overArgs=Yp,k.overEvery=Th,k.overSome=Ph,k.partial=Hu,k.partialRight=Gc,k.partition=s_,k.pick=fh,k.pickBy=sd,k.property=fd,k.propertyOf=function xh(r){return function(s){return null==r?p:rr(r,s)}},k.pull=Ef,k.pullAll=Df,k.pullAllBy=function xp(r,s,d){return r&&r.length&&s&&s.length?wu(r,s,rn(d,2)):r},k.pullAllWith=function Mf(r,s,d){return r&&r.length&&s&&s.length?wu(r,s,p,d):r},k.pullAt=Oc,k.range=Oh,k.rangeRight=Ag,k.rearg=Wc,k.reject=function va(r,s){return(wn(r)?fn:jt)(r,wa(rn(s,3)))},k.remove=function Sf(r,s){var d=[];if(!r||!r.length)return d;var b=-1,x=[],H=r.length;for(s=rn(s,3);++b<H;){var ne=r[b];s(ne,b,r)&&(d.push(ne),x.push(b))}return uc(r,x),d},k.rest=function qc(r,s){if("function"!=typeof r)throw new Fn(z);return Pn(r,s=s===p?s:Dn(s))},k.reverse=Tf,k.sampleSize=function Zp(r,s,d){return s=(d?yr(r,s,d):s===p)?1:Dn(s),(wn(r)?Ki:sp)(r,s)},k.set=function ph(r,s,d){return null==r?r:So(r,s,d)},k.setWith=function _g(r,s,d,b){return b="function"==typeof b?b:p,null==r?r:So(r,s,d,b)},k.shuffle=function jf(r){return(wn(r)?mu:Gm)(r)},k.slice=function Pf(r,s,d){var b=null==r?0:r.length;return b?(d&&"number"!=typeof d&&yr(r,s,d)?(s=0,d=b):(s=null==s?0:Dn(s),d=d===p?b:Dn(d)),Wo(r,s,d)):[]},k.sortBy=Vc,k.sortedUniq=function Of(r){return r&&r.length?fc(r):[]},k.sortedUniqBy=function Np(r,s){return r&&r.length?fc(r,rn(s,2)):[]},k.split=function Eg(r,s,d){return d&&"number"!=typeof d&&yr(r,s,d)&&(s=d=p),(d=d===p?Vn:d>>>0)?(r=Zn(r))&&("string"==typeof s||null!=s&&!iu(s))&&!(s=co(s))&&Ms(r)?za(xi(r),0,d):r.split(s,d):[]},k.spread=function Wf(r,s){if("function"!=typeof r)throw new Fn(z);return s=null==s?0:mr(Dn(s),0),Pn(function(d){var b=d[s],x=za(d,0,s);return b&&er(x,b),L(r,this,x)})},k.tail=function Fp(r){var s=null==r?0:r.length;return s?Wo(r,1,s):[]},k.take=function Lp(r,s,d){return r&&r.length?Wo(r,0,(s=d||s===p?1:Dn(s))<0?0:s):[]},k.takeRight=function kp(r,s,d){var b=null==r?0:r.length;return b?Wo(r,(s=b-(s=d||s===p?1:Dn(s)))<0?0:s,b):[]},k.takeRightWhile=function If(r,s){return r&&r.length?Eu(r,rn(s,3),!1,!0):[]},k.takeWhile=function Bp(r,s){return r&&r.length?Eu(r,rn(s,3)):[]},k.tap=function Qm(r,s){return s(r),r},k.throttle=function $u(r,s,d){var b=!0,x=!0;if("function"!=typeof r)throw new Fn(z);return vr(d)&&(b="leading"in d?!!d.leading:b,x="trailing"in d?!!d.trailing:x),Gf(r,s,{leading:b,maxWait:s,trailing:x})},k.thru=tl,k.toArray=zu,k.toPairs=gh,k.toPairsIn=mh,k.toPath=function Ah(r){return wn(r)?Ut(r,ys):Fi(r)?[r]:Yi(af(Zn(r)))},k.toPlainObject=Xc,k.transform=function yg(r,s,d){var b=wn(r),x=b||vs(r)||El(r);if(s=rn(s,4),null==d){var H=r&&r.constructor;d=x?b?new H:[]:vr(r)&&Vs(H)?fs(Bo(r)):{}}return(x?Oe:Tt)(r,function(ne,ce,we){return s(d,ne,ce,we)}),d},k.unary=function Qp(r){return Hc(r,1)},k.union=Up,k.unionBy=jp,k.unionWith=hn,k.uniq=function Af(r){return r&&r.length?ya(r):[]},k.uniqBy=function Rf(r,s){return r&&r.length?ya(r,rn(s,2)):[]},k.uniqWith=function Nf(r,s){return s="function"==typeof s?s:p,r&&r.length?ya(r,p,s):[]},k.unset=function _h(r,s){return null==r||hc(r,s)},k.unzip=Cl,k.unzipWith=To,k.update=function g_(r,s,d){return null==r?r:lp(r,s,Mu(d))},k.updateWith=function yh(r,s,d,b){return b="function"==typeof b?b:p,null==r?r:lp(r,s,Mu(d),b)},k.values=Ml,k.valuesIn=function vg(r){return null==r?[]:We(r,ei(r))},k.without=Ff,k.words=Xo,k.wrap=function qf(r,s){return Hu(Mu(s),r)},k.xor=Vp,k.xorBy=Ic,k.xorWith=Us,k.zip=Ac,k.zipObject=function Lf(r,s){return qo(r||[],s||[],$l)},k.zipObjectDeep=function Rc(r,s){return qo(r||[],s||[],So)},k.zipWith=Ym,k.entries=gh,k.entriesIn=mh,k.extend=ou,k.extendWith=Gu,Da(k,k),k.add=Rh,k.attempt=Tl,k.camelCase=Cg,k.capitalize=ld,k.ceil=kg,k.clamp=function m_(r,s,d){return d===p&&(d=s,s=p),d!==p&&(d=(d=ho(d))==d?d:0),s!==p&&(s=(s=ho(s))==s?s:0),y(ho(r),s,d)},k.clone=function Kf(r){return l(r,4)},k.cloneDeep=function Jp(r){return l(r,5)},k.cloneDeepWith=function Yf(r,s){return l(r,5,s="function"==typeof s?s:p)},k.cloneWith=function Zf(r,s){return l(r,4,s="function"==typeof s?s:p)},k.conformsTo=function Xp(r,s){return null==s||_(r,s,ui(s))},k.deburr=ud,k.defaultTo=function dd(r,s){return null==r||r!=r?s:r},k.divide=Bg,k.endsWith=function y_(r,s,d){r=Zn(r),s=co(s);var b=r.length,x=d=d===p?b:y(Dn(d),0,b);return(d-=s.length)>=0&&r.slice(d,x)==s},k.eq=Yo,k.escape=function Jo(r){return(r=Zn(r))&&xt.test(r)?r.replace(_n,Jr):r},k.escapeRegExp=function v_(r){return(r=Zn(r))&&X.test(r)?r.replace(Te,"\\$&"):r},k.every=function kf(r,s,d){var b=wn(r)?nt:Me;return d&&yr(r,s,d)&&(s=p),b(r,rn(s,3))},k.find=Wp,k.findIndex=gf,k.findKey=function su(r,s){return wo(r,rn(s,3),Tt)},k.findLast=e_,k.findLastIndex=Jl,k.findLastKey=function cg(r,s){return wo(r,rn(s,3),zn)},k.floor=b_,k.forEach=ju,k.forEachRight=Kp,k.forIn=function nd(r,s){return null==r?r:Cn(r,rn(s,3),ei)},k.forInRight=function ah(r,s){return null==r?r:Jt(r,rn(s,3),ei)},k.forOwn=function lh(r,s){return r&&Tt(r,rn(s,3))},k.forOwnRight=function uh(r,s){return r&&zn(r,rn(s,3))},k.get=id,k.gt=fo,k.gte=eg,k.has=function fg(r,s){return null!=r&&Zd(r,s,Mo)},k.hasIn=Wu,k.head=Lu,k.identity=ti,k.includes=function n_(r,s,d,b){r=Ni(r)?r:Ml(r),d=d&&!b?Dn(d):0;var x=r.length;return d<0&&(d=mr(x+d,0)),rl(r)?d<=x&&r.indexOf(s,d)>-1:!!x&&zi(r,s,d)>-1},k.indexOf=function Cf(r,s,d){var b=null==r?0:r.length;if(!b)return-1;var x=null==d?0:Dn(d);return x<0&&(x=mr(b+x,0)),zi(r,s,x)},k.inRange=function __(r,s,d){return s=ba(s),d===p?(d=s,s=0):d=ba(d),function Ai(r,s,d){return r>=Hr(s,d)&&r<mr(s,d)}(r=ho(r),s,d)},k.invoke=hg,k.isArguments=nl,k.isArray=wn,k.isArrayBuffer=c_,k.isArrayLike=Ni,k.isArrayLikeObject=Wr,k.isBoolean=function tg(r){return!0===r||!1===r||Or(r)&&Gn(r)==Sn},k.isBuffer=vs,k.isDate=Qf,k.isElement=function ng(r){return Or(r)&&1===r.nodeType&&!ru(r)},k.isEmpty=function rg(r){if(null==r)return!0;if(Ni(r)&&(wn(r)||"string"==typeof r||"function"==typeof r.splice||vs(r)||El(r)||nl(r)))return!r.length;var s=yi(r);if(s==pr||s==se)return!r.size;if(Ya(r))return!lr(r).length;for(var d in r)if($n.call(r,d))return!1;return!0},k.isEqual=function ig(r,s){return Fs(r,s)},k.isEqualWith=function Jf(r,s,d){var b=(d="function"==typeof d?d:p)?d(r,s):p;return b===p?Fs(r,s,p,d):!!b},k.isError=Kc,k.isFinite=function Xf(r){return"number"==typeof r&&Eo(r)},k.isFunction=Vs,k.isInteger=eh,k.isLength=nu,k.isMap=Qo,k.isMatch=function Zc(r,s){return r===s||zt(r,s,Mc(s))},k.isMatchWith=function og(r,s,d){return d="function"==typeof d?d:p,zt(r,s,Mc(s),d)},k.isNaN=function sg(r){return nh(r)&&r!=+r},k.isNative=function d_(r){if(_s(r))throw new cn("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Tn(r)},k.isNil=function ag(r){return null==r},k.isNull=function th(r){return null===r},k.isNumber=nh,k.isObject=vr,k.isObjectLike=Or,k.isPlainObject=ru,k.isRegExp=iu,k.isSafeInteger=function lg(r){return eh(r)&&r>=-je&&r<=je},k.isSet=rh,k.isString=rl,k.isSymbol=Fi,k.isTypedArray=El,k.isUndefined=function Yc(r){return r===p},k.isWeakMap=function Qc(r){return Or(r)&&yi(r)==I},k.isWeakSet=function ih(r){return Or(r)&&"[object WeakSet]"==Gn(r)},k.join=function bf(r,s){return null==r?"":ja.call(r,s)},k.kebabCase=C_,k.last=Ji,k.lastIndexOf=function Xl(r,s,d){var b=null==r?0:r.length;if(!b)return-1;var x=b;return d!==p&&(x=(x=Dn(d))<0?mr(b+x,0):Hr(x,b-1)),s==s?function Ll(me,Ne,Ie){for(var Dt=Ie+1;Dt--;)if(me[Dt]===Ne)return Dt;return Dt}(r,s,x):Ei(r,ss,x,!0)},k.lowerCase=vh,k.lowerFirst=Ch,k.lt=f_,k.lte=h_,k.max=function Ug(r){return r&&r.length?Le(r,ti,ms):p},k.maxBy=function pd(r,s){return r&&r.length?Le(r,rn(s,2),ms):p},k.mean=function gd(r){return ea(r,ti)},k.meanBy=function jg(r,s){return ea(r,rn(s,2))},k.min=function E_(r){return r&&r.length?Le(r,ti,zl):p},k.minBy=function D_(r,s){return r&&r.length?Le(r,rn(s,2),zl):p},k.stubArray=Yu,k.stubFalse=hd,k.stubObject=function Rg(){return{}},k.stubString=function Ih(){return""},k.stubTrue=function Ng(){return!0},k.multiply=M_,k.nth=function Pp(r,s){return r&&r.length?Nd(r,Dn(s)):p},k.noConflict=function Dh(){return Dr._===this&&(Dr._=al),this},k.noop=Zu,k.now=Vu,k.pad=function wh(r,s,d){r=Zn(r);var b=(s=Dn(s))?Gi(r):0;if(!s||b>=s)return r;var x=(s-b)/2;return li(ao(x),d)+r+li(Ps(x),d)},k.padEnd=function wg(r,s,d){r=Zn(r);var b=(s=Dn(s))?Gi(r):0;return s&&b<s?r+li(s-b,d):r},k.padStart=function w_(r,s,d){r=Zn(r);var b=(s=Dn(s))?Gi(r):0;return s&&b<s?li(s-b,d)+r:r},k.parseInt=function bh(r,s,d){return d||null==s?s=0:s&&(s=+s),Vl(Zn(r).replace(Q,""),s||0)},k.random=function ad(r,s,d){if(d&&"boolean"!=typeof d&&yr(r,s,d)&&(s=d=p),d===p&&("boolean"==typeof s?(d=s,s=p):"boolean"==typeof r&&(d=r,r=p)),r===p&&s===p?(r=0,s=1):(r=ba(r),s===p?(s=r,r=0):s=ba(s)),r>s){var b=r;r=s,s=b}if(d||r%1||s%1){var x=jo();return Hr(r+x*(s-r+os("1e-"+((x+"").length-1))),s)}return bu(r,s)},k.reduce=function a_(r,s,d){var b=wn(r)?Un:Aa,x=arguments.length<3;return b(r,rn(s,4),d,x,ee)},k.reduceRight=function l_(r,s,d){var b=wn(r)?gn:Aa,x=arguments.length<3;return b(r,rn(s,4),d,x,oe)},k.repeat=function Eh(r,s,d){return s=(d?yr(r,s,d):s===p)?1:Dn(s),cc(Zn(r),s)},k.replace=function bg(){var r=arguments,s=Zn(r[0]);return r.length<3?s:s.replace(r[1],r[2])},k.result=function hh(r,s,d){var b=-1,x=(s=Ls(s,r)).length;for(x||(x=1,r=p);++b<x;){var H=null==r?p:r[ys(s[b])];H===p&&(b=x,H=d),r=Vs(H)?H.call(r):H}return r},k.round=Vg,k.runInContext=me,k.sample=function Uc(r){return(wn(r)?gu:op)(r)},k.size=function jc(r){if(null==r)return 0;if(Ni(r))return rl(r)?Gi(r):r.length;var s=yi(r);return s==pr||s==se?r.size:lr(r).length},k.snakeCase=cd,k.some=function Vf(r,s,d){var b=wn(r)?Qr:Wm;return d&&yr(r,s,d)&&(s=p),b(r,rn(s,3))},k.sortedIndex=function Op(r,s){return dc(r,s)},k.sortedIndexBy=function xf(r,s,d){return Ld(r,s,rn(d,2))},k.sortedIndexOf=function Ip(r,s){var d=null==r?0:r.length;if(d){var b=dc(r,s);if(b<d&&Yo(r[b],s))return b}return-1},k.sortedLastIndex=function Ap(r,s){return dc(r,s,!0)},k.sortedLastIndexBy=function Zo(r,s,d){return Ld(r,s,rn(d,2),!0)},k.sortedLastIndexOf=function Rp(r,s){if(null!=r&&r.length){var b=dc(r,s,!0)-1;if(Yo(r[b],s))return b}return-1},k.startCase=Dg,k.startsWith=function Mg(r,s,d){return r=Zn(r),d=null==d?0:y(Dn(d),0,r.length),s=co(s),r.slice(d,d+s.length)==s},k.subtract=Nh,k.sum=function S_(r){return r&&r.length?Pi(r,ti):0},k.sumBy=function Hg(r,s){return r&&r.length?Pi(r,rn(s,2)):0},k.template=function Sg(r,s,d){var b=k.templateSettings;d&&yr(r,s,d)&&(s=p),r=Zn(r),s=Gu({},s,b,bc);var ce,we,x=Gu({},s.imports,b.imports,bc),H=ui(x),ne=We(x,H),$e=0,ze=s.interpolate||ct,Qe="__p += '",vt=Vr((s.escape||ct).source+"|"+ze.source+"|"+(ze===pt?Ot:ct).source+"|"+(s.evaluate||ct).source+"|$","g"),Vt="//# sourceURL="+($n.call(s,"sourceURL")?(s.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++_o+"]")+"\n";r.replace(vt,function(on,xn,jn,Li,ki,Po){return jn||(jn=Li),Qe+=r.slice($e,Po).replace(ot,na),xn&&(ce=!0,Qe+="' +\n__e("+xn+") +\n'"),ki&&(we=!0,Qe+="';\n"+ki+";\n__p += '"),jn&&(Qe+="' +\n((__t = ("+jn+")) == null ? '' : __t) +\n'"),$e=Po+on.length,on}),Qe+="';\n";var an=$n.call(s,"variable")&&s.variable;if(an){if(ae.test(an))throw new cn("Invalid `variable` option passed into `_.template`")}else Qe="with (obj) {\n"+Qe+"\n}\n";Qe=(we?Qe.replace(Rt,""):Qe).replace(Qt,"$1").replace(Ke,"$1;"),Qe="function("+(an||"obj")+") {\n"+(an?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(ce?", __e = _.escape":"")+(we?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+Qe+"return __p\n}";var Mn=Tl(function(){return Rn(H,Vt+"return "+Qe).apply(p,ne)});if(Mn.source=Qe,Kc(Mn))throw Mn;return Mn},k.times=function Fg(r,s){if((r=Dn(r))<1||r>je)return[];var d=Vn,b=Hr(r,Vn);s=rn(s),r-=Vn;for(var x=as(b,s);++d<r;)s(d);return x},k.toFinite=ba,k.toInteger=Dn,k.toLength=Jc,k.toLower=function Tg(r){return Zn(r).toLowerCase()},k.toNumber=ho,k.toSafeInteger=function oh(r){return r?y(Dn(r),-je,je):0===r?r:0},k.toString=Zn,k.toUpper=function Pg(r){return Zn(r).toUpperCase()},k.trim=function qu(r,s,d){if((r=Zn(r))&&(d||s===p))return Ra(r);if(!r||!(s=co(s)))return r;var b=xi(r),x=xi(s);return za(b,ta(b,x),fr(b,x)+1).join("")},k.trimEnd=function Sl(r,s,d){if((r=Zn(r))&&(d||s===p))return r.slice(0,us(r)+1);if(!r||!(s=co(s)))return r;var b=xi(r);return za(b,0,fr(b,xi(s))+1).join("")},k.trimStart=function xg(r,s,d){if((r=Zn(r))&&(d||s===p))return r.replace(Q,"");if(!r||!(s=co(s)))return r;var b=xi(r);return za(b,ta(b,xi(s))).join("")},k.truncate=function au(r,s){var d=30,b="...";if(vr(s)){var x="separator"in s?s.separator:x;d="length"in s?Dn(s.length):d,b="omission"in s?co(s.omission):b}var H=(r=Zn(r)).length;if(Ms(r)){var ne=xi(r);H=ne.length}if(d>=H)return r;var ce=d-Gi(b);if(ce<1)return b;var we=ne?za(ne,0,ce).join(""):r.slice(0,ce);if(x===p)return we+b;if(ne&&(ce+=we.length-ce),iu(x)){if(r.slice(ce).search(x)){var $e,ze=we;for(x.global||(x=Vr(x.source,Zn(Mt.exec(x))+"g")),x.lastIndex=0;$e=x.exec(ze);)var Qe=$e.index;we=we.slice(0,Qe===p?ce:Qe)}}else if(r.indexOf(co(x),ce)!=ce){var vt=we.lastIndexOf(x);vt>-1&&(we=we.slice(0,vt))}return we+b},k.unescape=function Og(r){return(r=Zn(r))&&yn.test(r)?r.replace(Jn,ra):r},k.uniqueId=function Lg(r){var s=++ua;return Zn(r)+s},k.upperCase=Ig,k.upperFirst=lu,k.each=ju,k.eachRight=Kp,k.first=Lu,Da(k,function(){var r={};return Tt(k,function(s,d){$n.call(k.prototype,d)||(r[d]=s)}),r}(),{chain:!1}),k.VERSION="4.17.21",Oe(["bind","bindKey","curry","curryRight","partial","partialRight"],function(r){k[r].placeholder=k}),Oe(["drop","take"],function(r,s){c.prototype[r]=function(d){d=d===p?1:mr(Dn(d),0);var b=this.__filtered__&&!s?new c(this):this.clone();return b.__filtered__?b.__takeCount__=Hr(d,b.__takeCount__):b.__views__.push({size:Hr(d,Vn),type:r+(b.__dir__<0?"Right":"")}),b},c.prototype[r+"Right"]=function(d){return this.reverse()[r](d).reverse()}}),Oe(["filter","map","takeWhile"],function(r,s){var d=s+1,b=1==d||3==d;c.prototype[r]=function(x){var H=this.clone();return H.__iteratees__.push({iteratee:rn(x,3),type:d}),H.__filtered__=H.__filtered__||b,H}}),Oe(["head","last"],function(r,s){var d="take"+(s?"Right":"");c.prototype[r]=function(){return this[d](1).value()[0]}}),Oe(["initial","tail"],function(r,s){var d="drop"+(s?"":"Right");c.prototype[r]=function(){return this.__filtered__?new c(this):this[d](1)}}),c.prototype.compact=function(){return this.filter(ti)},c.prototype.find=function(r){return this.filter(r).head()},c.prototype.findLast=function(r){return this.reverse().find(r)},c.prototype.invokeMap=Pn(function(r,s){return"function"==typeof r?new c(this):this.map(function(d){return _a(d,r,s)})}),c.prototype.reject=function(r){return this.filter(wa(rn(r)))},c.prototype.slice=function(r,s){r=Dn(r);var d=this;return d.__filtered__&&(r>0||s<0)?new c(d):(r<0?d=d.takeRight(-r):r&&(d=d.drop(r)),s!==p&&(d=(s=Dn(s))<0?d.dropRight(-s):d.take(s-r)),d)},c.prototype.takeRightWhile=function(r){return this.reverse().takeWhile(r).reverse()},c.prototype.toArray=function(){return this.take(Vn)},Tt(c.prototype,function(r,s){var d=/^(?:filter|find|map|reject)|While$/.test(s),b=/^(?:head|last)$/.test(s),x=k[b?"take"+("last"==s?"Right":""):s],H=b||/^find/.test(s);!x||(k.prototype[s]=function(){var ne=this.__wrapped__,ce=b?[1]:arguments,we=ne instanceof c,$e=ce[0],ze=we||wn(ne),Qe=function(xn){var jn=x.apply(k,er([xn],ce));return b&&vt?jn[0]:jn};ze&&d&&"function"==typeof $e&&1!=$e.length&&(we=ze=!1);var vt=this.__chain__,Vt=!!this.__actions__.length,an=H&&!vt,Mn=we&&!Vt;if(!H&&ze){ne=Mn?ne:new c(this);var on=r.apply(ne,ce);return on.__actions__.push({func:tl,args:[Qe],thisArg:p}),new h(on,vt)}return an&&Mn?r.apply(this,ce):(on=this.thru(Qe),an?b?on.value()[0]:on.value():on)})}),Oe(["pop","push","shift","sort","splice","unshift"],function(r){var s=La[r],d=/^(?:push|sort|unshift)$/.test(r)?"tap":"thru",b=/^(?:pop|shift)$/.test(r);k.prototype[r]=function(){var x=arguments;if(b&&!this.__chain__){var H=this.value();return s.apply(wn(H)?H:[],x)}return this[d](function(ne){return s.apply(wn(ne)?ne:[],x)})}}),Tt(c.prototype,function(r,s){var d=k[s];if(d){var b=d.name+"";$n.call(ds,b)||(ds[b]=[]),ds[b].push({name:s,func:d})}}),ds[Pu(p,2).name]=[{name:"wrapper",func:p}],c.prototype.clone=function w(){var r=new c(this.__wrapped__);return r.__actions__=Yi(this.__actions__),r.__dir__=this.__dir__,r.__filtered__=this.__filtered__,r.__iteratees__=Yi(this.__iteratees__),r.__takeCount__=this.__takeCount__,r.__views__=Yi(this.__views__),r},c.prototype.reverse=function M(){if(this.__filtered__){var r=new c(this);r.__dir__=-1,r.__filtered__=!0}else(r=this.clone()).__dir__*=-1;return r},c.prototype.value=function R(){var r=this.__wrapped__.value(),s=this.__dir__,d=wn(r),b=s<0,x=d?r.length:0,H=function vp(r,s,d){for(var b=-1,x=d.length;++b<x;){var H=d[b],ne=H.size;switch(H.type){case"drop":r+=ne;break;case"dropRight":s-=ne;break;case"take":s=Hr(s,r+ne);break;case"takeRight":r=mr(r,s-ne)}}return{start:r,end:s}}(0,x,this.__views__),ne=H.start,ce=H.end,we=ce-ne,$e=b?ce:ne-1,ze=this.__iteratees__,Qe=ze.length,vt=0,Vt=Hr(we,this.__takeCount__);if(!d||!b&&x==we&&Vt==we)return Wl(r,this.__actions__);var an=[];e:for(;we--&&vt<Vt;){for(var Mn=-1,on=r[$e+=s];++Mn<Qe;){var xn=ze[Mn],Li=xn.type,ki=(0,xn.iteratee)(on);if(2==Li)on=ki;else if(!ki){if(1==Li)continue e;break e}}an[vt++]=on}return an},k.prototype.at=Uu,k.prototype.chain=function Fc(){return Nc(this)},k.prototype.commit=function Lc(){return new h(this.value(),this.__chain__)},k.prototype.next=function kc(){this.__values__===p&&(this.__values__=zu(this.value()));var r=this.__index__>=this.__values__.length;return{done:r,value:r?p:this.__values__[this.__index__++]}},k.prototype.plant=function Hp(r){for(var s,d=this;d instanceof m;){var b=lf(d);b.__index__=0,b.__values__=p,s?x.__wrapped__=b:s=b;var x=b;d=d.__wrapped__}return x.__wrapped__=r,s},k.prototype.reverse=function $p(){var r=this.__wrapped__;if(r instanceof c){var s=r;return this.__actions__.length&&(s=new c(this)),(s=s.reverse()).__actions__.push({func:tl,args:[Tf],thisArg:p}),new h(s,this.__chain__)}return this.thru(Tf)},k.prototype.toJSON=k.prototype.valueOf=k.prototype.value=function zp(){return Wl(this.__wrapped__,this.__actions__)},k.prototype.first=k.prototype.head,fa&&(k.prototype[fa]=function Jm(){return this}),k}();Dr._=oa,(C=function(){return oa}.call(G,S,G,ve))!==p&&(ve.exports=C)}.call(this)},8448:(ve,G,S)=>{var C=S(5171),p=S(2315),J=S(4401),W=S(3943);ve.exports=function F(z,$,V){z=W(z);var Y=($=J($))?p(z):0;return $&&Y<$?C($-Y,V)+z:z}},1978:(ve,G,S)=>{var p=S(1491)(function(J,W,F){return J+(F?"_":"")+W.toLowerCase()});ve.exports=p},2232:(ve,G,S)=>{var C=S(1467),p=1/0;ve.exports=function W(F){return F?(F=C(F))===p||F===-p?17976931348623157e292*(F<0?-1:1):F==F?F:0:0===F?F:0}},4401:(ve,G,S)=>{var C=S(2232);ve.exports=function p(J){var W=C(J),F=W%1;return W==W?F?W-F:W:0}},1467:(ve,G,S)=>{var C=S(3348),p=S(5940),J=S(4129),F=/^[-+]0x[0-9a-f]+$/i,z=/^0b[01]+$/i,$=/^0o[0-7]+$/i,V=parseInt;ve.exports=function Y(N){if("number"==typeof N)return N;if(J(N))return NaN;if(p(N)){var j="function"==typeof N.valueOf?N.valueOf():N;N=p(j)?j+"":j}if("string"!=typeof N)return 0===N?N:+N;N=C(N);var q=z.test(N);return q||$.test(N)?V(N.slice(2),q?2:8):F.test(N)?NaN:+N}},3943:(ve,G,S)=>{var C=S(3935);ve.exports=function p(J){return null==J?"":C(J)}},7188:(ve,G,S)=>{var C=S(69),p=S(9062),J=S(3943),W=S(910);ve.exports=function F(z,$,V){return z=J(z),void 0===($=V?void 0:$)?p(z)?W(z):C(z):z.match($)||[]}},1869:(ve,G,S)=>{"use strict";S.d(G,{d:()=>p});var C=S(3489);class p extends C.L{constructor(W,F,z){super(),this.parent=W,this.outerValue=F,this.outerIndex=z,this.index=0}_next(W){this.parent.notifyNext(this.outerValue,W,this.outerIndex,this.index++,this)}_error(W){this.parent.notifyError(W,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}},2916:(ve,G,S)=>{"use strict";S.d(G,{y:()=>j});var C=S(3489),J=S(7668),W=S(3292),z=S(3821),$=S(5379);var N=S(2830);let j=(()=>{class ie{constructor(de){this._isScalar=!1,de&&(this._subscribe=de)}lift(de){const _e=new ie;return _e.source=this,_e.operator=de,_e}subscribe(de,_e,Ae){const{operator:At}=this,et=function F(ie,re,de){if(ie){if(ie instanceof C.L)return ie;if(ie[J.b])return ie[J.b]()}return ie||re||de?new C.L(ie,re,de):new C.L(W.c)}(de,_e,Ae);if(et.add(At?At.call(et,this.source):this.source||N.v.useDeprecatedSynchronousErrorHandling&&!et.syncErrorThrowable?this._subscribe(et):this._trySubscribe(et)),N.v.useDeprecatedSynchronousErrorHandling&&et.syncErrorThrowable&&(et.syncErrorThrowable=!1,et.syncErrorThrown))throw et.syncErrorValue;return et}_trySubscribe(de){try{return this._subscribe(de)}catch(_e){N.v.useDeprecatedSynchronousErrorHandling&&(de.syncErrorThrown=!0,de.syncErrorValue=_e),function p(ie){for(;ie;){const{closed:re,destination:de,isStopped:_e}=ie;if(re||_e)return!1;ie=de&&de instanceof C.L?de:null}return!0}(de)?de.error(_e):console.warn(_e)}}forEach(de,_e){return new(_e=q(_e))((Ae,At)=>{let et;et=this.subscribe(Ze=>{try{de(Ze)}catch(Bt){At(Bt),et&&et.unsubscribe()}},At,Ae)})}_subscribe(de){const{source:_e}=this;return _e&&_e.subscribe(de)}[z.L](){return this}pipe(...de){return 0===de.length?this:function Y(ie){return 0===ie.length?$.y:1===ie.length?ie[0]:function(de){return ie.reduce((_e,Ae)=>Ae(_e),de)}}(de)(this)}toPromise(de){return new(de=q(de))((_e,Ae)=>{let At;this.subscribe(et=>At=et,et=>Ae(et),()=>_e(At))})}}return ie.create=re=>new ie(re),ie})();function q(ie){if(ie||(ie=N.v.Promise||Promise),!ie)throw new Error("no Promise impl found");return ie}},3292:(ve,G,S)=>{"use strict";S.d(G,{c:()=>J});var C=S(2830),p=S(2782);const J={closed:!0,next(W){},error(W){if(C.v.useDeprecatedSynchronousErrorHandling)throw W;(0,p.z)(W)},complete(){}}},826:(ve,G,S)=>{"use strict";S.d(G,{L:()=>p});var C=S(3489);class p extends C.L{notifyNext(W,F,z,$,V){this.destination.next(F)}notifyError(W,F){this.destination.error(W)}notifyComplete(W){this.destination.complete()}}},5529:(ve,G,S)=>{"use strict";S.d(G,{xQ:()=>V,Yc:()=>$});var C=S(2916),p=S(3489),J=S(2654),W=S(5279);class F extends J.w{constructor(j,q){super(),this.subject=j,this.subscriber=q,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const j=this.subject,q=j.observers;if(this.subject=null,!q||0===q.length||j.isStopped||j.closed)return;const ie=q.indexOf(this.subscriber);-1!==ie&&q.splice(ie,1)}}var z=S(7668);class $ extends p.L{constructor(j){super(j),this.destination=j}}let V=(()=>{class N extends C.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[z.b](){return new $(this)}lift(q){const ie=new Y(this,this);return ie.operator=q,ie}next(q){if(this.closed)throw new W.N;if(!this.isStopped){const{observers:ie}=this,re=ie.length,de=ie.slice();for(let _e=0;_e<re;_e++)de[_e].next(q)}}error(q){if(this.closed)throw new W.N;this.hasError=!0,this.thrownError=q,this.isStopped=!0;const{observers:ie}=this,re=ie.length,de=ie.slice();for(let _e=0;_e<re;_e++)de[_e].error(q);this.observers.length=0}complete(){if(this.closed)throw new W.N;this.isStopped=!0;const{observers:q}=this,ie=q.length,re=q.slice();for(let de=0;de<ie;de++)re[de].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(q){if(this.closed)throw new W.N;return super._trySubscribe(q)}_subscribe(q){if(this.closed)throw new W.N;return this.hasError?(q.error(this.thrownError),J.w.EMPTY):this.isStopped?(q.complete(),J.w.EMPTY):(this.observers.push(q),new F(this,q))}asObservable(){const q=new C.y;return q.source=this,q}}return N.create=(j,q)=>new Y(j,q),N})();class Y extends V{constructor(j,q){super(),this.destination=j,this.source=q}next(j){const{destination:q}=this;q&&q.next&&q.next(j)}error(j){const{destination:q}=this;q&&q.error&&this.destination.error(j)}complete(){const{destination:j}=this;j&&j.complete&&this.destination.complete()}_subscribe(j){const{source:q}=this;return q?this.source.subscribe(j):J.w.EMPTY}}},3489:(ve,G,S)=>{"use strict";S.d(G,{L:()=>$});var C=S(7043),p=S(3292),J=S(2654),W=S(7668),F=S(2830),z=S(2782);class $ extends J.w{constructor(N,j,q){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(!N){this.destination=p.c;break}if("object"==typeof N){N instanceof $?(this.syncErrorThrowable=N.syncErrorThrowable,this.destination=N,N.add(this)):(this.syncErrorThrowable=!0,this.destination=new V(this,N));break}default:this.syncErrorThrowable=!0,this.destination=new V(this,N,j,q)}}[W.b](){return this}static create(N,j,q){const ie=new $(N,j,q);return ie.syncErrorThrowable=!1,ie}next(N){this.isStopped||this._next(N)}error(N){this.isStopped||(this.isStopped=!0,this._error(N))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(N){this.destination.next(N)}_error(N){this.destination.error(N),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:N}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=N,this}}class V extends ${constructor(N,j,q,ie){super(),this._parentSubscriber=N;let re,de=this;(0,C.m)(j)?re=j:j&&(re=j.next,q=j.error,ie=j.complete,j!==p.c&&(de=Object.create(j),(0,C.m)(de.unsubscribe)&&this.add(de.unsubscribe.bind(de)),de.unsubscribe=this.unsubscribe.bind(this))),this._context=de,this._next=re,this._error=q,this._complete=ie}next(N){if(!this.isStopped&&this._next){const{_parentSubscriber:j}=this;F.v.useDeprecatedSynchronousErrorHandling&&j.syncErrorThrowable?this.__tryOrSetError(j,this._next,N)&&this.unsubscribe():this.__tryOrUnsub(this._next,N)}}error(N){if(!this.isStopped){const{_parentSubscriber:j}=this,{useDeprecatedSynchronousErrorHandling:q}=F.v;if(this._error)q&&j.syncErrorThrowable?(this.__tryOrSetError(j,this._error,N),this.unsubscribe()):(this.__tryOrUnsub(this._error,N),this.unsubscribe());else if(j.syncErrorThrowable)q?(j.syncErrorValue=N,j.syncErrorThrown=!0):(0,z.z)(N),this.unsubscribe();else{if(this.unsubscribe(),q)throw N;(0,z.z)(N)}}}complete(){if(!this.isStopped){const{_parentSubscriber:N}=this;if(this._complete){const j=()=>this._complete.call(this._context);F.v.useDeprecatedSynchronousErrorHandling&&N.syncErrorThrowable?(this.__tryOrSetError(N,j),this.unsubscribe()):(this.__tryOrUnsub(j),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(N,j){try{N.call(this._context,j)}catch(q){if(this.unsubscribe(),F.v.useDeprecatedSynchronousErrorHandling)throw q;(0,z.z)(q)}}__tryOrSetError(N,j,q){if(!F.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{j.call(this._context,q)}catch(ie){return F.v.useDeprecatedSynchronousErrorHandling?(N.syncErrorValue=ie,N.syncErrorThrown=!0,!0):((0,z.z)(ie),!0)}return!1}_unsubscribe(){const{_parentSubscriber:N}=this;this._context=null,this._parentSubscriber=null,N.unsubscribe()}}},2654:(ve,G,S)=>{"use strict";S.d(G,{w:()=>z});var C=S(6688),p=S(7830),J=S(7043);const F=(()=>{function V(Y){return Error.call(this),this.message=Y?`${Y.length} errors occurred during unsubscription:\n${Y.map((N,j)=>`${j+1}) ${N.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=Y,this}return V.prototype=Object.create(Error.prototype),V})();class z{constructor(Y){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,Y&&(this._unsubscribe=Y)}unsubscribe(){let Y;if(this.closed)return;let{_parentOrParents:N,_unsubscribe:j,_subscriptions:q}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,N instanceof z)N.remove(this);else if(null!==N)for(let ie=0;ie<N.length;++ie)N[ie].remove(this);if((0,J.m)(j))try{j.call(this)}catch(ie){Y=ie instanceof F?$(ie.errors):[ie]}if((0,C.k)(q)){let ie=-1,re=q.length;for(;++ie<re;){const de=q[ie];if((0,p.K)(de))try{de.unsubscribe()}catch(_e){Y=Y||[],_e instanceof F?Y=Y.concat($(_e.errors)):Y.push(_e)}}}if(Y)throw new F(Y)}add(Y){let N=Y;if(!Y)return z.EMPTY;switch(typeof Y){case"function":N=new z(Y);case"object":if(N===this||N.closed||"function"!=typeof N.unsubscribe)return N;if(this.closed)return N.unsubscribe(),N;if(!(N instanceof z)){const ie=N;N=new z,N._subscriptions=[ie]}break;default:throw new Error("unrecognized teardown "+Y+" added to Subscription.")}let{_parentOrParents:j}=N;if(null===j)N._parentOrParents=this;else if(j instanceof z){if(j===this)return N;N._parentOrParents=[j,this]}else{if(-1!==j.indexOf(this))return N;j.push(this)}const q=this._subscriptions;return null===q?this._subscriptions=[N]:q.push(N),N}remove(Y){const N=this._subscriptions;if(N){const j=N.indexOf(Y);-1!==j&&N.splice(j,1)}}}var V;function $(V){return V.reduce((Y,N)=>Y.concat(N instanceof F?N.errors:N),[])}z.EMPTY=((V=new z).closed=!0,V)},2830:(ve,G,S)=>{"use strict";S.d(G,{v:()=>p});let C=!1;const p={Promise:void 0,set useDeprecatedSynchronousErrorHandling(J){if(J){const W=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+W.stack)}else C&&console.log("RxJS: Back to a better error behavior. Thank you. <3");C=J},get useDeprecatedSynchronousErrorHandling(){return C}}},1762:(ve,G,S)=>{"use strict";S.d(G,{N:()=>z,c:()=>F});var C=S(5529),p=S(2916),J=S(2654),W=S(4327);class F extends p.y{constructor(j,q){super(),this.source=j,this.subjectFactory=q,this._refCount=0,this._isComplete=!1}_subscribe(j){return this.getSubject().subscribe(j)}getSubject(){const j=this._subject;return(!j||j.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let j=this._connection;return j||(this._isComplete=!1,j=this._connection=new J.w,j.add(this.source.subscribe(new $(this.getSubject(),this))),j.closed&&(this._connection=null,j=J.w.EMPTY)),j}refCount(){return(0,W.x)()(this)}}const z=(()=>{const N=F.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:N._subscribe},_isComplete:{value:N._isComplete,writable:!0},getSubject:{value:N.getSubject},connect:{value:N.connect},refCount:{value:N.refCount}}})();class $ extends C.Yc{constructor(j,q){super(j),this.connectable=q}_error(j){this._unsubscribe(),super._error(j)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const j=this.connectable;if(j){this.connectable=null;const q=j._connection;j._refCount=0,j._subject=null,j._connection=null,q&&q.unsubscribe()}}}},8896:(ve,G,S)=>{"use strict";S.d(G,{E:()=>p,c:()=>J});var C=S(2916);const p=new C.y(F=>F.complete());function J(F){return F?function W(F){return new C.y(z=>F.schedule(()=>z.complete()))}(F):p}},5254:(ve,G,S)=>{"use strict";S.d(G,{D:()=>de});var C=S(2916),p=S(9249),J=S(2654),W=S(3821),$=S(6454),V=S(5430),j=S(8955),q=S(8515);function de(_e,Ae){return Ae?function re(_e,Ae){if(null!=_e){if(function N(_e){return _e&&"function"==typeof _e[W.L]}(_e))return function F(_e,Ae){return new C.y(At=>{const et=new J.w;return et.add(Ae.schedule(()=>{const Ze=_e[W.L]();et.add(Ze.subscribe({next(Bt){et.add(Ae.schedule(()=>At.next(Bt)))},error(Bt){et.add(Ae.schedule(()=>At.error(Bt)))},complete(){et.add(Ae.schedule(()=>At.complete()))}}))})),et})}(_e,Ae);if((0,j.t)(_e))return function z(_e,Ae){return new C.y(At=>{const et=new J.w;return et.add(Ae.schedule(()=>_e.then(Ze=>{et.add(Ae.schedule(()=>{At.next(Ze),et.add(Ae.schedule(()=>At.complete()))}))},Ze=>{et.add(Ae.schedule(()=>At.error(Ze)))}))),et})}(_e,Ae);if((0,q.z)(_e))return(0,$.r)(_e,Ae);if(function ie(_e){return _e&&"function"==typeof _e[V.hZ]}(_e)||"string"==typeof _e)return function Y(_e,Ae){if(!_e)throw new Error("Iterable cannot be null");return new C.y(At=>{const et=new J.w;let Ze;return et.add(()=>{Ze&&"function"==typeof Ze.return&&Ze.return()}),et.add(Ae.schedule(()=>{Ze=_e[V.hZ](),et.add(Ae.schedule(function(){if(At.closed)return;let Bt,Wt;try{const mt=Ze.next();Bt=mt.value,Wt=mt.done}catch(mt){return void At.error(mt)}Wt?At.complete():(At.next(Bt),this.schedule())}))})),et})}(_e,Ae)}throw new TypeError((null!==_e&&typeof _e||_e)+" is not observable")}(_e,Ae):_e instanceof C.y?_e:new C.y((0,p.s)(_e))}},3009:(ve,G,S)=>{"use strict";S.d(G,{n:()=>W});var C=S(2916),p=S(3650),J=S(6454);function W(F,z){return z?(0,J.r)(F,z):new C.y((0,p.V)(F))}},1086:(ve,G,S)=>{"use strict";S.d(G,{of:()=>W});var C=S(2866),p=S(3009),J=S(6454);function W(...F){let z=F[F.length-1];return(0,C.K)(z)?(F.pop(),(0,J.r)(F,z)):(0,p.n)(F)}},1737:(ve,G,S)=>{"use strict";S.d(G,{_:()=>p});var C=S(2916);function p(W,F){return new C.y(F?z=>F.schedule(J,0,{error:W,subscriber:z}):z=>z.error(W))}function J({error:W,subscriber:F}){F.error(W)}},1406:(ve,G,S)=>{"use strict";S.d(G,{b:()=>p});var C=S(1709);function p(J,W){return(0,C.zg)(J,W,1)}},9860:(ve,G,S)=>{"use strict";S.d(G,{g:()=>Y});var C=S(6014),p=S(2697),J=S(3489),W=S(8896),F=S(1086),z=S(1737);class V{constructor(re,de,_e){this.kind=re,this.value=de,this.error=_e,this.hasValue="N"===re}observe(re){switch(this.kind){case"N":return re.next&&re.next(this.value);case"E":return re.error&&re.error(this.error);case"C":return re.complete&&re.complete()}}do(re,de,_e){switch(this.kind){case"N":return re&&re(this.value);case"E":return de&&de(this.error);case"C":return _e&&_e()}}accept(re,de,_e){return re&&"function"==typeof re.next?this.observe(re):this.do(re,de,_e)}toObservable(){switch(this.kind){case"N":return(0,F.of)(this.value);case"E":return(0,z._)(this.error);case"C":return(0,W.c)()}throw new Error("unexpected notification kind value")}static createNext(re){return typeof re<"u"?new V("N",re):V.undefinedValueNotification}static createError(re){return new V("E",void 0,re)}static createComplete(){return V.completeNotification}}function Y(ie,re=C.P){const _e=(0,p.J)(ie)?+ie-re.now():Math.abs(ie);return Ae=>Ae.lift(new N(_e,re))}V.completeNotification=new V("C"),V.undefinedValueNotification=new V("N",void 0);class N{constructor(re,de){this.delay=re,this.scheduler=de}call(re,de){return de.subscribe(new j(re,this.delay,this.scheduler))}}class j extends J.L{constructor(re,de,_e){super(re),this.delay=de,this.scheduler=_e,this.queue=[],this.active=!1,this.errored=!1}static dispatch(re){const de=re.source,_e=de.queue,Ae=re.scheduler,At=re.destination;for(;_e.length>0&&_e[0].time-Ae.now()<=0;)_e.shift().notification.observe(At);if(_e.length>0){const et=Math.max(0,_e[0].time-Ae.now());this.schedule(re,et)}else this.unsubscribe(),de.active=!1}_schedule(re){this.active=!0,this.destination.add(re.schedule(j.dispatch,this.delay,{source:this,destination:this.destination,scheduler:re}))}scheduleNotification(re){if(!0===this.errored)return;const de=this.scheduler,_e=new q(de.now()+this.delay,re);this.queue.push(_e),!1===this.active&&this._schedule(de)}_next(re){this.scheduleNotification(V.createNext(re))}_error(re){this.errored=!0,this.queue=[],this.destination.error(re),this.unsubscribe()}_complete(){this.scheduleNotification(V.createComplete()),this.unsubscribe()}}class q{constructor(re,de){this.time=re,this.notification=de}}},2198:(ve,G,S)=>{"use strict";S.d(G,{h:()=>p});var C=S(3489);function p(F,z){return function(V){return V.lift(new J(F,z))}}class J{constructor(z,$){this.predicate=z,this.thisArg=$}call(z,$){return $.subscribe(new W(z,this.predicate,this.thisArg))}}class W extends C.L{constructor(z,$,V){super(z),this.predicate=$,this.thisArg=V,this.count=0}_next(z){let $;try{$=this.predicate.call(this.thisArg,z,this.count++)}catch(V){return void this.destination.error(V)}$&&this.destination.next(z)}}},4850:(ve,G,S)=>{"use strict";S.d(G,{U:()=>p});var C=S(3489);function p(F,z){return function(V){if("function"!=typeof F)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return V.lift(new J(F,z))}}class J{constructor(z,$){this.project=z,this.thisArg=$}call(z,$){return $.subscribe(new W(z,this.project,this.thisArg))}}class W extends C.L{constructor(z,$,V){super(z),this.project=$,this.count=0,this.thisArg=V||this}_next(z){let $;try{$=this.project.call(this.thisArg,z,this.count++)}catch(V){return void this.destination.error(V)}this.destination.next($)}}},9146:(ve,G,S)=>{"use strict";S.d(G,{J:()=>J});var C=S(1709),p=S(5379);function J(W=Number.POSITIVE_INFINITY){return(0,C.zg)(p.y,W)}},1709:(ve,G,S)=>{"use strict";S.d(G,{zg:()=>z});var C=S(9054),p=S(826),J=S(1869),W=S(4850),F=S(5254);function z(Y,N,j=Number.POSITIVE_INFINITY){return"function"==typeof N?q=>q.pipe(z((ie,re)=>(0,F.D)(Y(ie,re)).pipe((0,W.U)((de,_e)=>N(ie,de,re,_e))),j)):("number"==typeof N&&(j=N),q=>q.lift(new $(Y,j)))}class ${constructor(N,j=Number.POSITIVE_INFINITY){this.project=N,this.concurrent=j}call(N,j){return j.subscribe(new V(N,this.project,this.concurrent))}}class V extends p.L{constructor(N,j,q=Number.POSITIVE_INFINITY){super(N),this.project=j,this.concurrent=q,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(N){this.active<this.concurrent?this._tryNext(N):this.buffer.push(N)}_tryNext(N){let j;const q=this.index++;try{j=this.project(N,q)}catch(ie){return void this.destination.error(ie)}this.active++,this._innerSub(j,N,q)}_innerSub(N,j,q){const ie=new J.d(this,j,q),re=this.destination;re.add(ie);const de=(0,C.D)(this,N,void 0,void 0,ie);de!==ie&&re.add(de)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(N,j,q,ie,re){this.destination.next(j)}notifyComplete(N){const j=this.buffer;this.remove(N),this.active--,j.length>0?this._next(j.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},4327:(ve,G,S)=>{"use strict";S.d(G,{x:()=>p});var C=S(3489);function p(){return function(z){return z.lift(new J(z))}}class J{constructor(z){this.connectable=z}call(z,$){const{connectable:V}=this;V._refCount++;const Y=new W(z,V),N=$.subscribe(Y);return Y.closed||(Y.connection=V.connect()),N}}class W extends C.L{constructor(z,$){super(z),this.connectable=$}_unsubscribe(){const{connectable:z}=this;if(!z)return void(this.connection=null);this.connectable=null;const $=z._refCount;if($<=0)return void(this.connection=null);if(z._refCount=$-1,$>1)return void(this.connection=null);const{connection:V}=this,Y=z._connection;this.connection=null,Y&&(!V||Y===V)&&Y.unsubscribe()}}},1168:(ve,G,S)=>{"use strict";S.d(G,{V:()=>N});var C=S(6014),p=S(854),J=S(2697),W=S(826),F=S(9054);class ${constructor(q,ie,re,de){this.waitFor=q,this.absoluteTimeout=ie,this.withObservable=re,this.scheduler=de}call(q,ie){return ie.subscribe(new V(q,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))}}class V extends W.L{constructor(q,ie,re,de,_e){super(q),this.absoluteTimeout=ie,this.waitFor=re,this.withObservable=de,this.scheduler=_e,this.action=null,this.scheduleTimeout()}static dispatchTimeout(q){const{withObservable:ie}=q;q._unsubscribeAndRecycle(),q.add((0,F.D)(q,ie))}scheduleTimeout(){const{action:q}=this;q?this.action=q.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(V.dispatchTimeout,this.waitFor,this))}_next(q){this.absoluteTimeout||this.scheduleTimeout(),super._next(q)}_unsubscribe(){this.action=null,this.scheduler=null,this.withObservable=null}}var Y=S(1737);function N(j,q=C.P){return function z(j,q,ie=C.P){return re=>{let de=(0,J.J)(j),_e=de?+j-ie.now():Math.abs(j);return re.lift(new $(_e,de,q,ie))}}(j,(0,Y._)(new p.W),q)}},6454:(ve,G,S)=>{"use strict";S.d(G,{r:()=>J});var C=S(2916),p=S(2654);function J(W,F){return new C.y(z=>{const $=new p.w;let V=0;return $.add(F.schedule(function(){V!==W.length?(z.next(W[V++]),z.closed||$.add(this.schedule())):z.complete()})),$})}},6014:(ve,G,S)=>{"use strict";S.d(G,{P:()=>z});var C=S(2654);class p extends C.w{constructor(V,Y){super()}schedule(V,Y=0){return this}}let W=(()=>{class ${constructor(Y,N=$.now){this.SchedulerAction=Y,this.now=N}schedule(Y,N=0,j){return new this.SchedulerAction(this,Y).schedule(j,N)}}return $.now=()=>Date.now(),$})();class F extends W{constructor(V,Y=W.now){super(V,()=>F.delegate&&F.delegate!==this?F.delegate.now():Y()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(V,Y=0,N){return F.delegate&&F.delegate!==this?F.delegate.schedule(V,Y,N):super.schedule(V,Y,N)}flush(V){const{actions:Y}=this;if(this.active)return void Y.push(V);let N;this.active=!0;do{if(N=V.execute(V.state,V.delay))break}while(V=Y.shift());if(this.active=!1,N){for(;V=Y.shift();)V.unsubscribe();throw N}}}const z=new F(class J extends p{constructor(V,Y){super(V,Y),this.scheduler=V,this.work=Y,this.pending=!1}schedule(V,Y=0){if(this.closed)return this;this.state=V;const N=this.id,j=this.scheduler;return null!=N&&(this.id=this.recycleAsyncId(j,N,Y)),this.pending=!0,this.delay=Y,this.id=this.id||this.requestAsyncId(j,this.id,Y),this}requestAsyncId(V,Y,N=0){return setInterval(V.flush.bind(V,this),N)}recycleAsyncId(V,Y,N=0){if(null!==N&&this.delay===N&&!1===this.pending)return Y;clearInterval(Y)}execute(V,Y){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const N=this._execute(V,Y);if(N)return N;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(V,Y){let j,N=!1;try{this.work(V)}catch(q){N=!0,j=!!q&&q||new Error(q)}if(N)return this.unsubscribe(),j}_unsubscribe(){const V=this.id,Y=this.scheduler,N=Y.actions,j=N.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==j&&N.splice(j,1),null!=V&&(this.id=this.recycleAsyncId(Y,V,null)),this.delay=null}})},5430:(ve,G,S)=>{"use strict";S.d(G,{hZ:()=>p});const p=function C(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3821:(ve,G,S)=>{"use strict";S.d(G,{L:()=>C});const C="function"==typeof Symbol&&Symbol.observable||"@@observable"},7668:(ve,G,S)=>{"use strict";S.d(G,{b:()=>C});const C="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},5279:(ve,G,S)=>{"use strict";S.d(G,{N:()=>p});const p=(()=>{function J(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return J.prototype=Object.create(Error.prototype),J})()},854:(ve,G,S)=>{"use strict";S.d(G,{W:()=>p});const p=(()=>{function J(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return J.prototype=Object.create(Error.prototype),J})()},2782:(ve,G,S)=>{"use strict";function C(p){setTimeout(()=>{throw p},0)}S.d(G,{z:()=>C})},5379:(ve,G,S)=>{"use strict";function C(p){return p}S.d(G,{y:()=>C})},6688:(ve,G,S)=>{"use strict";S.d(G,{k:()=>C});const C=Array.isArray||(p=>p&&"number"==typeof p.length)},8515:(ve,G,S)=>{"use strict";S.d(G,{z:()=>C});const C=p=>p&&"number"==typeof p.length&&"function"!=typeof p},2697:(ve,G,S)=>{"use strict";function C(p){return p instanceof Date&&!isNaN(+p)}S.d(G,{J:()=>C})},7043:(ve,G,S)=>{"use strict";function C(p){return"function"==typeof p}S.d(G,{m:()=>C})},7830:(ve,G,S)=>{"use strict";function C(p){return null!==p&&"object"==typeof p}S.d(G,{K:()=>C})},8955:(ve,G,S)=>{"use strict";function C(p){return!!p&&"function"!=typeof p.subscribe&&"function"==typeof p.then}S.d(G,{t:()=>C})},2866:(ve,G,S)=>{"use strict";function C(p){return p&&"function"==typeof p.schedule}S.d(G,{K:()=>C})},9249:(ve,G,S)=>{"use strict";S.d(G,{s:()=>j});var C=S(3650),p=S(2782),W=S(5430),z=S(3821),V=S(8515),Y=S(8955),N=S(7830);const j=q=>{if(q&&"function"==typeof q[z.L])return(q=>ie=>{const re=q[z.L]();if("function"!=typeof re.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return re.subscribe(ie)})(q);if((0,V.z)(q))return(0,C.V)(q);if((0,Y.t)(q))return(q=>ie=>(q.then(re=>{ie.closed||(ie.next(re),ie.complete())},re=>ie.error(re)).then(null,p.z),ie))(q);if(q&&"function"==typeof q[W.hZ])return(q=>ie=>{const re=q[W.hZ]();for(;;){const de=re.next();if(de.done){ie.complete();break}if(ie.next(de.value),ie.closed)break}return"function"==typeof re.return&&ie.add(()=>{re.return&&re.return()}),ie})(q);{const re=`You provided ${(0,N.K)(q)?"an invalid object":`'${q}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(re)}}},3650:(ve,G,S)=>{"use strict";S.d(G,{V:()=>C});const C=p=>J=>{for(let W=0,F=p.length;W<F&&!J.closed;W++)J.next(p[W]);J.complete()}},9054:(ve,G,S)=>{"use strict";S.d(G,{D:()=>W});var C=S(1869),p=S(9249),J=S(2916);function W(F,z,$,V,Y=new C.d(F,$,V)){if(!Y.closed)return z instanceof J.y?z.subscribe(Y):(0,p.s)(z)(Y)}},3894:(ve,G)=>{"use strict";var C=function(){function p(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return p.prototype=Object.create(Error.prototype),p}();G.W=C},6678:function(ve){ve.exports=function(G){function S(p){if(C[p])return C[p].exports;var J=C[p]={i:p,l:!1,exports:{}};return G[p].call(J.exports,J,J.exports,S),J.l=!0,J.exports}var C={};return S.m=G,S.c=C,S.i=function(p){return p},S.d=function(p,J,W){S.o(p,J)||Object.defineProperty(p,J,{configurable:!1,enumerable:!0,get:W})},S.n=function(p){var J=p&&p.__esModule?function(){return p.default}:function(){return p};return S.d(J,"a",J),J},S.o=function(p,J){return Object.prototype.hasOwnProperty.call(p,J)},S.p="",S(S.s=5)}([function(G,S,C){"use strict";G.exports=function(p,J){var W,F,z;for(W=1;W<arguments.length;W++)for(z in F=arguments[W])F.hasOwnProperty(z)&&(p[z]=F[z]);return p}},function(G,S,C){"use strict";var p=C(0);G.exports={build:function(J,W){var F,z,$,V=W.plugins;for(F=0,z=V.length;F<z;F++)($=V[F]).methods&&p(J,$.methods),$.properties&&Object.defineProperties(J,$.properties)},hook:function(J,W,F){var z,$,V,N=J.config.plugins,j=[J.context];for(F&&(j=j.concat(F)),z=0,$=N.length;z<$;z++)(V=N[z][W])&&V.apply(N[z],j)}}},function(G,S,C){"use strict";function p(J){if(0===J.length)return J;var W,F,z=J.split(/[_-]/);if(1===z.length&&z[0][0].toLowerCase()===z[0][0])return J;for(F=z[0].toLowerCase(),W=1;W<z.length;W++)F=F+z[W].charAt(0).toUpperCase()+z[W].substring(1).toLowerCase();return F}p.prepended=function(J,W){return J+(W=p(W))[0].toUpperCase()+W.substring(1)},G.exports=p},function(G,S,C){"use strict";function p(F,z){this.options=F=F||{},this.defaults=z.defaults,this.states=[],this.transitions=[],this.map={},this.lifecycle=this.configureLifecycle(),this.init=this.configureInitTransition(F.init),this.data=this.configureData(F.data),this.methods=this.configureMethods(F.methods),this.map[this.defaults.wildcard]={},this.configureTransitions(F.transitions||[]),this.plugins=this.configurePlugins(F.plugins,z.plugin)}var J=C(0),W=C(2);J(p.prototype,{addState:function(F){this.map[F]||(this.states.push(F),this.addStateLifecycleNames(F),this.map[F]={})},addStateLifecycleNames:function(F){this.lifecycle.onEnter[F]=W.prepended("onEnter",F),this.lifecycle.onLeave[F]=W.prepended("onLeave",F),this.lifecycle.on[F]=W.prepended("on",F)},addTransition:function(F){this.transitions.indexOf(F)<0&&(this.transitions.push(F),this.addTransitionLifecycleNames(F))},addTransitionLifecycleNames:function(F){this.lifecycle.onBefore[F]=W.prepended("onBefore",F),this.lifecycle.onAfter[F]=W.prepended("onAfter",F),this.lifecycle.on[F]=W.prepended("on",F)},mapTransition:function(F){var z=F.name,$=F.from,V=F.to;return this.addState($),"function"!=typeof V&&this.addState(V),this.addTransition(z),this.map[$][z]=F,F},configureLifecycle:function(){return{onBefore:{transition:"onBeforeTransition"},onAfter:{transition:"onAfterTransition"},onEnter:{state:"onEnterState"},onLeave:{state:"onLeaveState"},on:{transition:"onTransition"}}},configureInitTransition:function(F){return"string"==typeof F?this.mapTransition(J({},this.defaults.init,{to:F,active:!0})):"object"==typeof F?this.mapTransition(J({},this.defaults.init,F,{active:!0})):(this.addState(this.defaults.init.from),this.defaults.init)},configureData:function(F){return"function"==typeof F?F:"object"==typeof F?function(){return F}:function(){return{}}},configureMethods:function(F){return F||{}},configurePlugins:function(F,z){var $,V,Y;for($=0,V=(F=F||[]).length;$<V;$++)"function"==typeof(Y=F[$])&&(F[$]=Y=Y()),Y.configure&&Y.configure(this);return F},configureTransitions:function(F){var z,$,V,Y,N,j=this.defaults.wildcard;for($=0;$<F.length;$++)for(V=F[$],Y=Array.isArray(V.from)?V.from:[V.from||j],N=V.to||j,z=0;z<Y.length;z++)this.mapTransition({name:V.name,from:Y[z],to:N})},transitionFor:function(F,z){return this.map[F][z]||this.map[this.defaults.wildcard][z]},transitionsFor:function(F){var z=this.defaults.wildcard;return Object.keys(this.map[F]).concat(Object.keys(this.map[z]))},allStates:function(){return this.states},allTransitions:function(){return this.transitions}}),G.exports=p},function(G,S,C){function p($,V){this.context=$,this.config=V,this.state=V.init.from,this.observers=[$]}var J=C(0),W=C(6),F=C(1),z=[null,[]];J(p.prototype,{init:function($){if(J(this.context,this.config.data.apply(this.context,$)),F.hook(this,"init"),this.config.init.active)return this.fire(this.config.init.name,[])},is:function($){return Array.isArray($)?$.indexOf(this.state)>=0:this.state===$},isPending:function(){return this.pending},can:function($){return!this.isPending()&&!!this.seek($)},cannot:function($){return!this.can($)},allStates:function(){return this.config.allStates()},allTransitions:function(){return this.config.allTransitions()},transitions:function(){return this.config.transitionsFor(this.state)},seek:function($,V){var Y=this.config.defaults.wildcard,N=this.config.transitionFor(this.state,$),j=N&&N.to;return"function"==typeof j?j.apply(this.context,V):j===Y?this.state:j},fire:function($,V){return this.transit($,this.state,this.seek($,V),V)},transit:function($,V,Y,N){var j=this.config.lifecycle,q=this.config.options.observeUnchangedState||V!==Y;return Y?this.isPending()?this.context.onPendingTransition($,V,Y):(this.config.addState(Y),this.beginTransit(),N.unshift({transition:$,from:V,to:Y,fsm:this.context}),this.observeEvents([this.observersForEvent(j.onBefore.transition),this.observersForEvent(j.onBefore[$]),q?this.observersForEvent(j.onLeave.state):z,q?this.observersForEvent(j.onLeave[V]):z,this.observersForEvent(j.on.transition),q?["doTransit",[this]]:z,q?this.observersForEvent(j.onEnter.state):z,q?this.observersForEvent(j.onEnter[Y]):z,q?this.observersForEvent(j.on[Y]):z,this.observersForEvent(j.onAfter.transition),this.observersForEvent(j.onAfter[$]),this.observersForEvent(j.on[$])],N)):this.context.onInvalidTransition($,V,Y)},beginTransit:function(){this.pending=!0},endTransit:function($){return this.pending=!1,$},failTransit:function($){throw this.pending=!1,$},doTransit:function($){this.state=$.to},observe:function($){if(2===$.length){var V={};V[$[0]]=$[1],this.observers.push(V)}else this.observers.push($[0])},observersForEvent:function($){for(var V,Y=0,N=this.observers.length,j=[];Y<N;Y++)(V=this.observers[Y])[$]&&j.push(V);return[$,j,!0]},observeEvents:function($,V,Y,N){if(0===$.length)return this.endTransit(void 0===N||N);var j=$[0][0],q=$[0][1],ie=$[0][2];if(V[0].event=j,j&&ie&&j!==Y&&F.hook(this,"lifecycle",V),0===q.length)return $.shift(),this.observeEvents($,V,j,N);var re=q.shift(),de=re[j].apply(re,V);return de&&"function"==typeof de.then?de.then(this.observeEvents.bind(this,$,V,j)).catch(this.failTransit.bind(this)):!1===de?this.endTransit(!1):this.observeEvents($,V,j,de)},onInvalidTransition:function($,V,Y){throw new W("transition is invalid in current state",$,V,Y,this.state)},onPendingTransition:function($,V,Y){throw new W("transition is invalid while previous transition is still in progress",$,V,Y,this.state)}}),G.exports=p},function(G,S,C){"use strict";function p(ie){return W(this||{},ie)}function W(ie,re){return F(ie,new Y(re,p)),ie._fsm(),ie}function F(ie,re){if("object"!=typeof ie||Array.isArray(ie))throw Error("StateMachine can only be applied to objects");V.build(ie,re),Object.defineProperties(ie,q),z(ie,j),z(ie,re.methods),re.allTransitions().forEach(function(de){ie[$(de)]=function(){return this._fsm.fire(de,[].slice.call(arguments))}}),ie._fsm=function(){this._fsm=new N(this,re),this._fsm.init(arguments)}}var z=C(0),$=C(2),V=C(1),Y=C(3),N=C(4),j={is:function(ie){return this._fsm.is(ie)},can:function(ie){return this._fsm.can(ie)},cannot:function(ie){return this._fsm.cannot(ie)},observe:function(){return this._fsm.observe(arguments)},transitions:function(){return this._fsm.transitions()},allTransitions:function(){return this._fsm.allTransitions()},allStates:function(){return this._fsm.allStates()},onInvalidTransition:function(ie,re,de){return this._fsm.onInvalidTransition(ie,re,de)},onPendingTransition:function(ie,re,de){return this._fsm.onPendingTransition(ie,re,de)}},q={state:{configurable:!1,enumerable:!0,get:function(){return this._fsm.state},set:function(ie){throw Error("use transitions to change state")}}};p.version="3.0.1",p.factory=function J(){var ie,re;"function"==typeof arguments[0]?(ie=arguments[0],re=arguments[1]||{}):(ie=function(){this._fsm.apply(this,arguments)},re=arguments[0]||{});var de=new Y(re,p);return F(ie.prototype,de),ie.prototype._fsm.config=de,ie},p.apply=W,p.defaults={wildcard:"*",init:{name:"init",from:"none"}},G.exports=p},function(G,S,C){"use strict";G.exports=function(p,J,W,F,z){this.message=p,this.transition=J,this.from=W,this.to=F,this.current=z}}])},8583:()=>{"use strict";!function(se){const Ce=se.performance;function te(ft){Ce&&Ce.mark&&Ce.mark(ft)}function U(ft,at){Ce&&Ce.measure&&Ce.measure(ft,at)}te("Zone");const I=se.__Zone_symbol_prefix||"__zone_symbol__";function ge(ft){return I+ft}const ye=!0===se[ge("forceDuplicateZoneCheck")];if(se.Zone){if(ye||"function"!=typeof se.Zone.__symbol__)throw new Error("Zone already loaded.");return se.Zone}let be=(()=>{class ft{constructor(ae,De){this._parent=ae,this._name=De?De.name||"unnamed":"<root>",this._properties=De&&De.properties||{},this._zoneDelegate=new st(this,this._parent&&this._parent._zoneDelegate,De)}static assertZonePatched(){if(se.Promise!==Te.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 ae=ft.current;for(;ae.parent;)ae=ae.parent;return ae}static get current(){return Q.zone}static get currentTask(){return Se}static __load_patch(ae,De,Ot=!1){if(Te.hasOwnProperty(ae)){if(!Ot&&ye)throw Error("Already loaded patch: "+ae)}else if(!se["__Zone_disable_"+ae]){const Mt="Zone:"+ae;te(Mt),Te[ae]=De(se,ft,X),U(Mt,Mt)}}get parent(){return this._parent}get name(){return this._name}get(ae){const De=this.getZoneWith(ae);if(De)return De._properties[ae]}getZoneWith(ae){let De=this;for(;De;){if(De._properties.hasOwnProperty(ae))return De;De=De._parent}return null}fork(ae){if(!ae)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,ae)}wrap(ae,De){if("function"!=typeof ae)throw new Error("Expecting function got: "+ae);const Ot=this._zoneDelegate.intercept(this,ae,De),Mt=this;return function(){return Mt.runGuarded(Ot,this,arguments,De)}}run(ae,De,Ot,Mt){Q={parent:Q,zone:this};try{return this._zoneDelegate.invoke(this,ae,De,Ot,Mt)}finally{Q=Q.parent}}runGuarded(ae,De=null,Ot,Mt){Q={parent:Q,zone:this};try{try{return this._zoneDelegate.invoke(this,ae,De,Ot,Mt)}catch(In){if(this._zoneDelegate.handleError(this,In))throw In}}finally{Q=Q.parent}}runTask(ae,De,Ot){if(ae.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(ae.zone||Jn).name+"; Execution: "+this.name+")");if(ae.state===_n&&(ae.type===Xn||ae.type===Lt))return;const Mt=ae.state!=wt;Mt&&ae._transitionTo(wt,xt),ae.runCount++;const In=Se;Se=ae,Q={parent:Q,zone:this};try{ae.type==Lt&&ae.data&&!ae.data.isPeriodic&&(ae.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,ae,De,Ot)}catch(Xe){if(this._zoneDelegate.handleError(this,Xe))throw Xe}}finally{ae.state!==_n&&ae.state!==pt&&(ae.type==Xn||ae.data&&ae.data.isPeriodic?Mt&&ae._transitionTo(xt,wt):(ae.runCount=0,this._updateTaskCount(ae,-1),Mt&&ae._transitionTo(_n,wt,_n))),Q=Q.parent,Se=In}}scheduleTask(ae){if(ae.zone&&ae.zone!==this){let Ot=this;for(;Ot;){if(Ot===ae.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${ae.zone.name}`);Ot=Ot.parent}}ae._transitionTo(yn,_n);const De=[];ae._zoneDelegates=De,ae._zone=this;try{ae=this._zoneDelegate.scheduleTask(this,ae)}catch(Ot){throw ae._transitionTo(pt,yn,_n),this._zoneDelegate.handleError(this,Ot),Ot}return ae._zoneDelegates===De&&this._updateTaskCount(ae,1),ae.state==yn&&ae._transitionTo(xt,yn),ae}scheduleMicroTask(ae,De,Ot,Mt){return this.scheduleTask(new Ge(dn,ae,De,Ot,Mt,void 0))}scheduleMacroTask(ae,De,Ot,Mt,In){return this.scheduleTask(new Ge(Lt,ae,De,Ot,Mt,In))}scheduleEventTask(ae,De,Ot,Mt,In){return this.scheduleTask(new Ge(Xn,ae,De,Ot,Mt,In))}cancelTask(ae){if(ae.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(ae.zone||Jn).name+"; Execution: "+this.name+")");ae._transitionTo(bn,xt,wt);try{this._zoneDelegate.cancelTask(this,ae)}catch(De){throw ae._transitionTo(pt,bn),this._zoneDelegate.handleError(this,De),De}return this._updateTaskCount(ae,-1),ae._transitionTo(_n,bn),ae.runCount=0,ae}_updateTaskCount(ae,De){const Ot=ae._zoneDelegates;-1==De&&(ae._zoneDelegates=null);for(let Mt=0;Mt<Ot.length;Mt++)Ot[Mt]._updateTaskCount(ae.type,De)}}return ft.__symbol__=ge,ft})();const Re={name:"",onHasTask:(ft,at,ae,De)=>ft.hasTask(ae,De),onScheduleTask:(ft,at,ae,De)=>ft.scheduleTask(ae,De),onInvokeTask:(ft,at,ae,De,Ot,Mt)=>ft.invokeTask(ae,De,Ot,Mt),onCancelTask:(ft,at,ae,De)=>ft.cancelTask(ae,De)};class st{constructor(at,ae,De){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=at,this._parentDelegate=ae,this._forkZS=De&&(De&&De.onFork?De:ae._forkZS),this._forkDlgt=De&&(De.onFork?ae:ae._forkDlgt),this._forkCurrZone=De&&(De.onFork?this.zone:ae._forkCurrZone),this._interceptZS=De&&(De.onIntercept?De:ae._interceptZS),this._interceptDlgt=De&&(De.onIntercept?ae:ae._interceptDlgt),this._interceptCurrZone=De&&(De.onIntercept?this.zone:ae._interceptCurrZone),this._invokeZS=De&&(De.onInvoke?De:ae._invokeZS),this._invokeDlgt=De&&(De.onInvoke?ae:ae._invokeDlgt),this._invokeCurrZone=De&&(De.onInvoke?this.zone:ae._invokeCurrZone),this._handleErrorZS=De&&(De.onHandleError?De:ae._handleErrorZS),this._handleErrorDlgt=De&&(De.onHandleError?ae:ae._handleErrorDlgt),this._handleErrorCurrZone=De&&(De.onHandleError?this.zone:ae._handleErrorCurrZone),this._scheduleTaskZS=De&&(De.onScheduleTask?De:ae._scheduleTaskZS),this._scheduleTaskDlgt=De&&(De.onScheduleTask?ae:ae._scheduleTaskDlgt),this._scheduleTaskCurrZone=De&&(De.onScheduleTask?this.zone:ae._scheduleTaskCurrZone),this._invokeTaskZS=De&&(De.onInvokeTask?De:ae._invokeTaskZS),this._invokeTaskDlgt=De&&(De.onInvokeTask?ae:ae._invokeTaskDlgt),this._invokeTaskCurrZone=De&&(De.onInvokeTask?this.zone:ae._invokeTaskCurrZone),this._cancelTaskZS=De&&(De.onCancelTask?De:ae._cancelTaskZS),this._cancelTaskDlgt=De&&(De.onCancelTask?ae:ae._cancelTaskDlgt),this._cancelTaskCurrZone=De&&(De.onCancelTask?this.zone:ae._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const Ot=De&&De.onHasTask;(Ot||ae&&ae._hasTaskZS)&&(this._hasTaskZS=Ot?De:Re,this._hasTaskDlgt=ae,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=at,De.onScheduleTask||(this._scheduleTaskZS=Re,this._scheduleTaskDlgt=ae,this._scheduleTaskCurrZone=this.zone),De.onInvokeTask||(this._invokeTaskZS=Re,this._invokeTaskDlgt=ae,this._invokeTaskCurrZone=this.zone),De.onCancelTask||(this._cancelTaskZS=Re,this._cancelTaskDlgt=ae,this._cancelTaskCurrZone=this.zone))}fork(at,ae){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,at,ae):new be(at,ae)}intercept(at,ae,De){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,at,ae,De):ae}invoke(at,ae,De,Ot,Mt){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,at,ae,De,Ot,Mt):ae.apply(De,Ot)}handleError(at,ae){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,at,ae)}scheduleTask(at,ae){let De=ae;if(this._scheduleTaskZS)this._hasTaskZS&&De._zoneDelegates.push(this._hasTaskDlgtOwner),De=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,at,ae),De||(De=ae);else if(ae.scheduleFn)ae.scheduleFn(ae);else{if(ae.type!=dn)throw new Error("Task is missing scheduleFn.");Qt(ae)}return De}invokeTask(at,ae,De,Ot){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,at,ae,De,Ot):ae.callback.apply(De,Ot)}cancelTask(at,ae){let De;if(this._cancelTaskZS)De=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,at,ae);else{if(!ae.cancelFn)throw Error("Task is not cancelable");De=ae.cancelFn(ae)}return De}hasTask(at,ae){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,at,ae)}catch(De){this.handleError(at,De)}}_updateTaskCount(at,ae){const De=this._taskCounts,Ot=De[at],Mt=De[at]=Ot+ae;if(Mt<0)throw new Error("More tasks executed then were scheduled.");0!=Ot&&0!=Mt||this.hasTask(this.zone,{microTask:De.microTask>0,macroTask:De.macroTask>0,eventTask:De.eventTask>0,change:at})}}class Ge{constructor(at,ae,De,Ot,Mt,In){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=at,this.source=ae,this.data=Ot,this.scheduleFn=Mt,this.cancelFn=In,!De)throw new Error("callback is not defined");this.callback=De;const Xe=this;this.invoke=at===Xn&&Ot&&Ot.useG?Ge.invokeTask:function(){return Ge.invokeTask.call(se,Xe,this,arguments)}}static invokeTask(at,ae,De){at||(at=this),Fe++;try{return at.runCount++,at.zone.runTask(at,ae,De)}finally{1==Fe&&Ke(),Fe--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(_n,yn)}_transitionTo(at,ae,De){if(this._state!==ae&&this._state!==De)throw new Error(`${this.type} '${this.source}': can not transition to '${at}', expecting state '${ae}'${De?" or '"+De+"'":""}, was '${this._state}'.`);this._state=at,at==_n&&(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 ut=ge("setTimeout"),bt=ge("Promise"),Pt=ge("then");let Yt,yt=[],lt=!1;function Rt(ft){if(Yt||se[bt]&&(Yt=se[bt].resolve(0)),Yt){let at=Yt[Pt];at||(at=Yt.then),at.call(Yt,ft)}else se[ut](ft,0)}function Qt(ft){0===Fe&&0===yt.length&&Rt(Ke),ft&&yt.push(ft)}function Ke(){if(!lt){for(lt=!0;yt.length;){const ft=yt;yt=[];for(let at=0;at<ft.length;at++){const ae=ft[at];try{ae.zone.runTask(ae,null,null)}catch(De){X.onUnhandledError(De)}}}X.microtaskDrainDone(),lt=!1}}const Jn={name:"NO ZONE"},_n="notScheduled",yn="scheduling",xt="scheduled",wt="running",bn="canceling",pt="unknown",dn="microTask",Lt="macroTask",Xn="eventTask",Te={},X={symbol:ge,currentZoneFrame:()=>Q,onUnhandledError:dt,microtaskDrainDone:dt,scheduleMicroTask:Qt,showUncaughtError:()=>!be[ge("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:dt,patchMethod:()=>dt,bindArguments:()=>[],patchThen:()=>dt,patchMacroTask:()=>dt,patchEventPrototype:()=>dt,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>dt,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>dt,wrapWithCurrentZone:()=>dt,filterProperties:()=>[],attachOriginToPatched:()=>dt,_redefineProperty:()=>dt,patchCallbacks:()=>dt,nativeScheduleMicroTask:Rt};let Q={parent:null,zone:new be(null,null)},Se=null,Fe=0;function dt(){}U("Zone","Zone"),se.Zone=be}(typeof window<"u"&&window||typeof self<"u"&&self||global);const ve=Object.getOwnPropertyDescriptor,G=Object.defineProperty,S=Object.getPrototypeOf,C=Object.create,p=Array.prototype.slice,J="addEventListener",W="removeEventListener",F=Zone.__symbol__(J),z=Zone.__symbol__(W),$="true",V="false",Y=Zone.__symbol__("");function N(se,Ce){return Zone.current.wrap(se,Ce)}function j(se,Ce,te,U,I){return Zone.current.scheduleMacroTask(se,Ce,te,U,I)}const q=Zone.__symbol__,ie=typeof window<"u",re=ie?window:void 0,de=ie&&re||"object"==typeof self&&self||global;function Ae(se,Ce){for(let te=se.length-1;te>=0;te--)"function"==typeof se[te]&&(se[te]=N(se[te],Ce+"_"+te));return se}function et(se){return!se||!1!==se.writable&&!("function"==typeof se.get&&typeof se.set>"u")}const Ze=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Bt=!("nw"in de)&&typeof de.process<"u"&&"[object process]"==={}.toString.call(de.process),Wt=!Bt&&!Ze&&!(!ie||!re.HTMLElement),mt=typeof de.process<"u"&&"[object process]"==={}.toString.call(de.process)&&!Ze&&!(!ie||!re.HTMLElement),pn={},ht=function(se){if(!(se=se||de.event))return;let Ce=pn[se.type];Ce||(Ce=pn[se.type]=q("ON_PROPERTY"+se.type));const te=this||se.target||de,U=te[Ce];let I;if(Wt&&te===re&&"error"===se.type){const ge=se;I=U&&U.call(this,ge.message,ge.filename,ge.lineno,ge.colno,ge.error),!0===I&&se.preventDefault()}else I=U&&U.apply(this,arguments),null!=I&&!I&&se.preventDefault();return I};function tt(se,Ce,te){let U=ve(se,Ce);if(!U&&te&&ve(te,Ce)&&(U={enumerable:!0,configurable:!0}),!U||!U.configurable)return;const I=q("on"+Ce+"patched");if(se.hasOwnProperty(I)&&se[I])return;delete U.writable,delete U.value;const ge=U.get,ye=U.set,be=Ce.slice(2);let Re=pn[be];Re||(Re=pn[be]=q("ON_PROPERTY"+be)),U.set=function(st){let Ge=this;!Ge&&se===de&&(Ge=de),Ge&&("function"==typeof Ge[Re]&&Ge.removeEventListener(be,ht),ye&&ye.call(Ge,null),Ge[Re]=st,"function"==typeof st&&Ge.addEventListener(be,ht,!1))},U.get=function(){let st=this;if(!st&&se===de&&(st=de),!st)return null;const Ge=st[Re];if(Ge)return Ge;if(ge){let ut=ge.call(this);if(ut)return U.set.call(this,ut),"function"==typeof st.removeAttribute&&st.removeAttribute(Ce),ut}return null},G(se,Ce,U),se[I]=!0}function mn(se,Ce,te){if(Ce)for(let U=0;U<Ce.length;U++)tt(se,"on"+Ce[U],te);else{const U=[];for(const I in se)"on"==I.slice(0,2)&&U.push(I);for(let I=0;I<U.length;I++)tt(se,U[I],te)}}const _t=q("originalInstance");function Zt(se){const Ce=de[se];if(!Ce)return;de[q(se)]=Ce,de[se]=function(){const I=Ae(arguments,se);switch(I.length){case 0:this[_t]=new Ce;break;case 1:this[_t]=new Ce(I[0]);break;case 2:this[_t]=new Ce(I[0],I[1]);break;case 3:this[_t]=new Ce(I[0],I[1],I[2]);break;case 4:this[_t]=new Ce(I[0],I[1],I[2],I[3]);break;default:throw new Error("Arg list too long.")}},pe(de[se],Ce);const te=new Ce(function(){});let U;for(U in te)"XMLHttpRequest"===se&&"responseBlob"===U||function(I){"function"==typeof te[I]?de[se].prototype[I]=function(){return this[_t][I].apply(this[_t],arguments)}:G(de[se].prototype,I,{set:function(ge){"function"==typeof ge?(this[_t][I]=N(ge,se+"."+I),pe(this[_t][I],ge)):this[_t][I]=ge},get:function(){return this[_t][I]}})}(U);for(U in Ce)"prototype"!==U&&Ce.hasOwnProperty(U)&&(de[se][U]=Ce[U])}function He(se,Ce,te){let U=se;for(;U&&!U.hasOwnProperty(Ce);)U=S(U);!U&&se[Ce]&&(U=se);const I=q(Ce);let ge=null;if(U&&(!(ge=U[I])||!U.hasOwnProperty(I))&&(ge=U[I]=U[Ce],et(U&&ve(U,Ce)))){const be=te(ge,I,Ce);U[Ce]=function(){return be(this,arguments)},pe(U[Ce],ge)}return ge}function Ue(se,Ce,te){let U=null;function I(ge){const ye=ge.data;return ye.args[ye.cbIdx]=function(){ge.invoke.apply(this,arguments)},U.apply(ye.target,ye.args),ge}U=He(se,Ce,ge=>function(ye,be){const Re=te(ye,be);return Re.cbIdx>=0&&"function"==typeof be[Re.cbIdx]?j(Re.name,be[Re.cbIdx],Re,I):ge.apply(ye,be)})}function pe(se,Ce){se[q("OriginalDelegate")]=Ce}let he=!1,je=!1;function Bn(){if(he)return je;he=!0;try{const se=re.navigator.userAgent;(-1!==se.indexOf("MSIE ")||-1!==se.indexOf("Trident/")||-1!==se.indexOf("Edge/"))&&(je=!0)}catch{}return je}Zone.__load_patch("ZoneAwarePromise",(se,Ce,te)=>{const U=Object.getOwnPropertyDescriptor,I=Object.defineProperty,ye=te.symbol,be=[],Re=!0===se[ye("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],st=ye("Promise"),Ge=ye("then");te.onUnhandledError=Xe=>{if(te.showUncaughtError()){const Ve=Xe&&Xe.rejection;Ve?console.error("Unhandled Promise rejection:",Ve instanceof Error?Ve.message:Ve,"; Zone:",Xe.zone.name,"; Task:",Xe.task&&Xe.task.source,"; Value:",Ve,Ve instanceof Error?Ve.stack:void 0):console.error(Xe)}},te.microtaskDrainDone=()=>{for(;be.length;){const Xe=be.shift();try{Xe.zone.runGuarded(()=>{throw Xe.throwOriginal?Xe.rejection:Xe})}catch(Ve){Pt(Ve)}}};const bt=ye("unhandledPromiseRejectionHandler");function Pt(Xe){te.onUnhandledError(Xe);try{const Ve=Ce[bt];"function"==typeof Ve&&Ve.call(this,Xe)}catch{}}function yt(Xe){return Xe&&Xe.then}function lt(Xe){return Xe}function Yt(Xe){return ae.reject(Xe)}const Rt=ye("state"),Qt=ye("value"),Ke=ye("finally"),Jn=ye("parentPromiseValue"),_n=ye("parentPromiseState"),xt=null,bn=!1;function dn(Xe,Ve){return xe=>{try{X(Xe,Ve,xe)}catch(Pe){X(Xe,!1,Pe)}}}const Lt=function(){let Xe=!1;return function(xe){return function(){Xe||(Xe=!0,xe.apply(null,arguments))}}},Te=ye("currentTaskTrace");function X(Xe,Ve,xe){const Pe=Lt();if(Xe===xe)throw new TypeError("Promise resolved with itself");if(Xe[Rt]===xt){let Ye=null;try{("object"==typeof xe||"function"==typeof xe)&&(Ye=xe&&xe.then)}catch(ct){return Pe(()=>{X(Xe,!1,ct)})(),Xe}if(Ve!==bn&&xe instanceof ae&&xe.hasOwnProperty(Rt)&&xe.hasOwnProperty(Qt)&&xe[Rt]!==xt)Se(xe),X(Xe,xe[Rt],xe[Qt]);else if(Ve!==bn&&"function"==typeof Ye)try{Ye.call(xe,Pe(dn(Xe,Ve)),Pe(dn(Xe,!1)))}catch(ct){Pe(()=>{X(Xe,!1,ct)})()}else{Xe[Rt]=Ve;const ct=Xe[Qt];if(Xe[Qt]=xe,Xe[Ke]===Ke&&!0===Ve&&(Xe[Rt]=Xe[_n],Xe[Qt]=Xe[Jn]),Ve===bn&&xe instanceof Error){const ot=Ce.currentTask&&Ce.currentTask.data&&Ce.currentTask.data.__creationTrace__;ot&&I(xe,Te,{configurable:!0,enumerable:!1,writable:!0,value:ot})}for(let ot=0;ot<ct.length;)Fe(Xe,ct[ot++],ct[ot++],ct[ot++],ct[ot++]);if(0==ct.length&&Ve==bn){Xe[Rt]=0;let ot=xe;try{throw new Error("Uncaught (in promise): "+function ge(Xe){return Xe&&Xe.toString===Object.prototype.toString?(Xe.constructor&&Xe.constructor.name||"")+": "+JSON.stringify(Xe):Xe?Xe.toString():Object.prototype.toString.call(Xe)}(xe)+(xe&&xe.stack?"\n"+xe.stack:""))}catch(kt){ot=kt}Re&&(ot.throwOriginal=!0),ot.rejection=xe,ot.promise=Xe,ot.zone=Ce.current,ot.task=Ce.currentTask,be.push(ot),te.scheduleMicroTask()}}}return Xe}const Q=ye("rejectionHandledHandler");function Se(Xe){if(0===Xe[Rt]){try{const Ve=Ce[Q];Ve&&"function"==typeof Ve&&Ve.call(this,{rejection:Xe[Qt],promise:Xe})}catch{}Xe[Rt]=bn;for(let Ve=0;Ve<be.length;Ve++)Xe===be[Ve].promise&&be.splice(Ve,1)}}function Fe(Xe,Ve,xe,Pe,Ye){Se(Xe);const ct=Xe[Rt],ot=ct?"function"==typeof Pe?Pe:lt:"function"==typeof Ye?Ye:Yt;Ve.scheduleMicroTask("Promise.then",()=>{try{const kt=Xe[Qt],Et=!!xe&&Ke===xe[Ke];Et&&(xe[Jn]=kt,xe[_n]=ct);const qt=Ve.run(ot,void 0,Et&&ot!==Yt&&ot!==lt?[]:[kt]);X(xe,!0,qt)}catch(kt){X(xe,!1,kt)}},xe)}const ft=function(){},at=se.AggregateError;class ae{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(Ve){return X(new this(null),!0,Ve)}static reject(Ve){return X(new this(null),bn,Ve)}static any(Ve){if(!Ve||"function"!=typeof Ve[Symbol.iterator])return Promise.reject(new at([],"All promises were rejected"));const xe=[];let Pe=0;try{for(let ot of Ve)Pe++,xe.push(ae.resolve(ot))}catch{return Promise.reject(new at([],"All promises were rejected"))}if(0===Pe)return Promise.reject(new at([],"All promises were rejected"));let Ye=!1;const ct=[];return new ae((ot,kt)=>{for(let Et=0;Et<xe.length;Et++)xe[Et].then(qt=>{Ye||(Ye=!0,ot(qt))},qt=>{ct.push(qt),Pe--,0===Pe&&(Ye=!0,kt(new at(ct,"All promises were rejected")))})})}static race(Ve){let xe,Pe,Ye=new this((kt,Et)=>{xe=kt,Pe=Et});function ct(kt){xe(kt)}function ot(kt){Pe(kt)}for(let kt of Ve)yt(kt)||(kt=this.resolve(kt)),kt.then(ct,ot);return Ye}static all(Ve){return ae.allWithCallback(Ve)}static allSettled(Ve){return(this&&this.prototype instanceof ae?this:ae).allWithCallback(Ve,{thenCallback:Pe=>({status:"fulfilled",value:Pe}),errorCallback:Pe=>({status:"rejected",reason:Pe})})}static allWithCallback(Ve,xe){let Pe,Ye,ct=new this((qt,Ht)=>{Pe=qt,Ye=Ht}),ot=2,kt=0;const Et=[];for(let qt of Ve){yt(qt)||(qt=this.resolve(qt));const Ht=kt;try{qt.then(En=>{Et[Ht]=xe?xe.thenCallback(En):En,ot--,0===ot&&Pe(Et)},En=>{xe?(Et[Ht]=xe.errorCallback(En),ot--,0===ot&&Pe(Et)):Ye(En)})}catch(En){Ye(En)}ot++,kt++}return ot-=2,0===ot&&Pe(Et),ct}constructor(Ve){const xe=this;if(!(xe instanceof ae))throw new Error("Must be an instanceof Promise.");xe[Rt]=xt,xe[Qt]=[];try{const Pe=Lt();Ve&&Ve(Pe(dn(xe,!0)),Pe(dn(xe,bn)))}catch(Pe){X(xe,!1,Pe)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return ae}then(Ve,xe){var Pe;let Ye=null===(Pe=this.constructor)||void 0===Pe?void 0:Pe[Symbol.species];(!Ye||"function"!=typeof Ye)&&(Ye=this.constructor||ae);const ct=new Ye(ft),ot=Ce.current;return this[Rt]==xt?this[Qt].push(ot,ct,Ve,xe):Fe(this,ot,ct,Ve,xe),ct}catch(Ve){return this.then(null,Ve)}finally(Ve){var xe;let Pe=null===(xe=this.constructor)||void 0===xe?void 0:xe[Symbol.species];(!Pe||"function"!=typeof Pe)&&(Pe=ae);const Ye=new Pe(ft);Ye[Ke]=Ke;const ct=Ce.current;return this[Rt]==xt?this[Qt].push(ct,Ye,Ve,Ve):Fe(this,ct,Ye,Ve,Ve),Ye}}ae.resolve=ae.resolve,ae.reject=ae.reject,ae.race=ae.race,ae.all=ae.all;const De=se[st]=se.Promise;se.Promise=ae;const Ot=ye("thenPatched");function Mt(Xe){const Ve=Xe.prototype,xe=U(Ve,"then");if(xe&&(!1===xe.writable||!xe.configurable))return;const Pe=Ve.then;Ve[Ge]=Pe,Xe.prototype.then=function(Ye,ct){return new ae((kt,Et)=>{Pe.call(this,kt,Et)}).then(Ye,ct)},Xe[Ot]=!0}return te.patchThen=Mt,De&&(Mt(De),He(se,"fetch",Xe=>function In(Xe){return function(Ve,xe){let Pe=Xe.apply(Ve,xe);if(Pe instanceof ae)return Pe;let Ye=Pe.constructor;return Ye[Ot]||Mt(Ye),Pe}}(Xe))),Promise[Ce.__symbol__("uncaughtPromiseErrors")]=be,ae}),Zone.__load_patch("toString",se=>{const Ce=Function.prototype.toString,te=q("OriginalDelegate"),U=q("Promise"),I=q("Error"),ge=function(){if("function"==typeof this){const st=this[te];if(st)return"function"==typeof st?Ce.call(st):Object.prototype.toString.call(st);if(this===Promise){const Ge=se[U];if(Ge)return Ce.call(Ge)}if(this===Error){const Ge=se[I];if(Ge)return Ce.call(Ge)}}return Ce.call(this)};ge[te]=Ce,Function.prototype.toString=ge;const ye=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":ye.call(this)}});let Vn=!1;if(typeof window<"u")try{const se=Object.defineProperty({},"passive",{get:function(){Vn=!0}});window.addEventListener("test",se,se),window.removeEventListener("test",se,se)}catch{Vn=!1}const Kr={useG:!0},ur={},Bi={},Ir=new RegExp("^"+Y+"(\\w+)(true|false)$"),cr=q("propagationStopped");function Ti(se,Ce){const te=(Ce?Ce(se):se)+V,U=(Ce?Ce(se):se)+$,I=Y+te,ge=Y+U;ur[se]={},ur[se][V]=I,ur[se][$]=ge}function Sn(se,Ce,te,U){const I=U&&U.add||J,ge=U&&U.rm||W,ye=U&&U.listeners||"eventListeners",be=U&&U.rmAll||"removeAllListeners",Re=q(I),st="."+I+":",bt=function(Qt,Ke,Jn){if(Qt.isRemoved)return;const _n=Qt.callback;let yn;"object"==typeof _n&&_n.handleEvent&&(Qt.callback=wt=>_n.handleEvent(wt),Qt.originalDelegate=_n);try{Qt.invoke(Qt,Ke,[Jn])}catch(wt){yn=wt}const xt=Qt.options;return xt&&"object"==typeof xt&&xt.once&&Ke[ge].call(Ke,Jn.type,Qt.originalDelegate?Qt.originalDelegate:Qt.callback,xt),yn};function Pt(Qt,Ke,Jn){if(!(Ke=Ke||se.event))return;const _n=Qt||Ke.target||se,yn=_n[ur[Ke.type][Jn?$:V]];if(yn){const xt=[];if(1===yn.length){const wt=bt(yn[0],_n,Ke);wt&&xt.push(wt)}else{const wt=yn.slice();for(let bn=0;bn<wt.length&&(!Ke||!0!==Ke[cr]);bn++){const pt=bt(wt[bn],_n,Ke);pt&&xt.push(pt)}}if(1===xt.length)throw xt[0];for(let wt=0;wt<xt.length;wt++){const bn=xt[wt];Ce.nativeScheduleMicroTask(()=>{throw bn})}}}const yt=function(Qt){return Pt(this,Qt,!1)},lt=function(Qt){return Pt(this,Qt,!0)};function Yt(Qt,Ke){if(!Qt)return!1;let Jn=!0;Ke&&void 0!==Ke.useG&&(Jn=Ke.useG);const _n=Ke&&Ke.vh;let yn=!0;Ke&&void 0!==Ke.chkDup&&(yn=Ke.chkDup);let xt=!1;Ke&&void 0!==Ke.rt&&(xt=Ke.rt);let wt=Qt;for(;wt&&!wt.hasOwnProperty(I);)wt=S(wt);if(!wt&&Qt[I]&&(wt=Qt),!wt||wt[Re])return!1;const bn=Ke&&Ke.eventNameToString,pt={},dn=wt[Re]=wt[I],Lt=wt[q(ge)]=wt[ge],Xn=wt[q(ye)]=wt[ye],Te=wt[q(be)]=wt[be];let X;function Q(xe,Pe){return!Vn&&"object"==typeof xe&&xe?!!xe.capture:Vn&&Pe?"boolean"==typeof xe?{capture:xe,passive:!0}:xe?"object"==typeof xe&&!1!==xe.passive?Object.assign(Object.assign({},xe),{passive:!0}):xe:{passive:!0}:xe}Ke&&Ke.prepend&&(X=wt[q(Ke.prepend)]=wt[Ke.prepend]);const ae=Jn?function(xe){if(!pt.isExisting)return dn.call(pt.target,pt.eventName,pt.capture?lt:yt,pt.options)}:function(xe){return dn.call(pt.target,pt.eventName,xe.invoke,pt.options)},De=Jn?function(xe){if(!xe.isRemoved){const Pe=ur[xe.eventName];let Ye;Pe&&(Ye=Pe[xe.capture?$:V]);const ct=Ye&&xe.target[Ye];if(ct)for(let ot=0;ot<ct.length;ot++)if(ct[ot]===xe){ct.splice(ot,1),xe.isRemoved=!0,0===ct.length&&(xe.allRemoved=!0,xe.target[Ye]=null);break}}if(xe.allRemoved)return Lt.call(xe.target,xe.eventName,xe.capture?lt:yt,xe.options)}:function(xe){return Lt.call(xe.target,xe.eventName,xe.invoke,xe.options)},Mt=Ke&&Ke.diff?Ke.diff:function(xe,Pe){const Ye=typeof Pe;return"function"===Ye&&xe.callback===Pe||"object"===Ye&&xe.originalDelegate===Pe},In=Zone[q("UNPATCHED_EVENTS")],Xe=se[q("PASSIVE_EVENTS")],Ve=function(xe,Pe,Ye,ct,ot=!1,kt=!1){return function(){const Et=this||se;let qt=arguments[0];Ke&&Ke.transferEventName&&(qt=Ke.transferEventName(qt));let Ht=arguments[1];if(!Ht)return xe.apply(this,arguments);if(Bt&&"uncaughtException"===qt)return xe.apply(this,arguments);let En=!1;if("function"!=typeof Ht){if(!Ht.handleEvent)return xe.apply(this,arguments);En=!0}if(_n&&!_n(xe,Ht,Et,arguments))return;const sr=Vn&&!!Xe&&-1!==Xe.indexOf(qt),St=Q(arguments[2],sr);if(In)for(let wi=0;wi<In.length;wi++)if(qt===In[wi])return sr?xe.call(Et,qt,Ht,St):xe.apply(this,arguments);const sn=!!St&&("boolean"==typeof St||St.capture),Rr=!(!St||"object"!=typeof St)&&St.once,Io=Zone.current;let br=ur[qt];br||(Ti(qt,bn),br=ur[qt]);const dr=br[sn?$:V];let ar,Kn=Et[dr],Zr=!1;if(Kn){if(Zr=!0,yn)for(let wi=0;wi<Kn.length;wi++)if(Mt(Kn[wi],Ht))return}else Kn=Et[dr]=[];const vn=Et.constructor.name,fi=Bi[vn];fi&&(ar=fi[qt]),ar||(ar=vn+Pe+(bn?bn(qt):qt)),pt.options=St,Rr&&(pt.options.once=!1),pt.target=Et,pt.capture=sn,pt.eventName=qt,pt.isExisting=Zr;const Fr=Jn?Kr:void 0;Fr&&(Fr.taskData=pt);const gr=Io.scheduleEventTask(ar,Ht,Fr,Ye,ct);return pt.target=null,Fr&&(Fr.taskData=null),Rr&&(St.once=!0),!Vn&&"boolean"==typeof gr.options||(gr.options=St),gr.target=Et,gr.capture=sn,gr.eventName=qt,En&&(gr.originalDelegate=Ht),kt?Kn.unshift(gr):Kn.push(gr),ot?Et:void 0}};return wt[I]=Ve(dn,st,ae,De,xt),X&&(wt.prependListener=Ve(X,".prependListener:",function(xe){return X.call(pt.target,pt.eventName,xe.invoke,pt.options)},De,xt,!0)),wt[ge]=function(){const xe=this||se;let Pe=arguments[0];Ke&&Ke.transferEventName&&(Pe=Ke.transferEventName(Pe));const Ye=arguments[2],ct=!!Ye&&("boolean"==typeof Ye||Ye.capture),ot=arguments[1];if(!ot)return Lt.apply(this,arguments);if(_n&&!_n(Lt,ot,xe,arguments))return;const kt=ur[Pe];let Et;kt&&(Et=kt[ct?$:V]);const qt=Et&&xe[Et];if(qt)for(let Ht=0;Ht<qt.length;Ht++){const En=qt[Ht];if(Mt(En,ot))return qt.splice(Ht,1),En.isRemoved=!0,0===qt.length&&(En.allRemoved=!0,xe[Et]=null,"string"==typeof Pe)&&(xe[Y+"ON_PROPERTY"+Pe]=null),En.zone.cancelTask(En),xt?xe:void 0}return Lt.apply(this,arguments)},wt[ye]=function(){const xe=this||se;let Pe=arguments[0];Ke&&Ke.transferEventName&&(Pe=Ke.transferEventName(Pe));const Ye=[],ct=nn(xe,bn?bn(Pe):Pe);for(let ot=0;ot<ct.length;ot++){const kt=ct[ot];Ye.push(kt.originalDelegate?kt.originalDelegate:kt.callback)}return Ye},wt[be]=function(){const xe=this||se;let Pe=arguments[0];if(Pe){Ke&&Ke.transferEventName&&(Pe=Ke.transferEventName(Pe));const Ye=ur[Pe];if(Ye){const kt=xe[Ye[V]],Et=xe[Ye[$]];if(kt){const qt=kt.slice();for(let Ht=0;Ht<qt.length;Ht++){const En=qt[Ht];this[ge].call(this,Pe,En.originalDelegate?En.originalDelegate:En.callback,En.options)}}if(Et){const qt=Et.slice();for(let Ht=0;Ht<qt.length;Ht++){const En=qt[Ht];this[ge].call(this,Pe,En.originalDelegate?En.originalDelegate:En.callback,En.options)}}}}else{const Ye=Object.keys(xe);for(let ct=0;ct<Ye.length;ct++){const kt=Ir.exec(Ye[ct]);let Et=kt&&kt[1];Et&&"removeListener"!==Et&&this[be].call(this,Et)}this[be].call(this,"removeListener")}if(xt)return this},pe(wt[I],dn),pe(wt[ge],Lt),Te&&pe(wt[be],Te),Xn&&pe(wt[ye],Xn),!0}let Rt=[];for(let Qt=0;Qt<te.length;Qt++)Rt[Qt]=Yt(te[Qt],U);return Rt}function nn(se,Ce){if(!Ce){const ge=[];for(let ye in se){const be=Ir.exec(ye);let Re=be&&be[1];if(Re&&(!Ce||Re===Ce)){const st=se[ye];if(st)for(let Ge=0;Ge<st.length;Ge++)ge.push(st[Ge])}}return ge}let te=ur[Ce];te||(Ti(Ce),te=ur[Ce]);const U=se[te[V]],I=se[te[$]];return U?I?U.concat(I):U.slice():I?I.slice():[]}function Ui(se,Ce){const te=se.Event;te&&te.prototype&&Ce.patchMethod(te.prototype,"stopImmediatePropagation",U=>function(I,ge){I[cr]=!0,U&&U.apply(I,ge)})}function Ci(se,Ce,te,U,I){const ge=Zone.__symbol__(U);if(Ce[ge])return;const ye=Ce[ge]=Ce[U];Ce[U]=function(be,Re,st){return Re&&Re.prototype&&I.forEach(function(Ge){const ut=`${te}.${U}::`+Ge,bt=Re.prototype;try{if(bt.hasOwnProperty(Ge)){const Pt=se.ObjectGetOwnPropertyDescriptor(bt,Ge);Pt&&Pt.value?(Pt.value=se.wrapWithCurrentZone(Pt.value,ut),se._redefineProperty(Re.prototype,Ge,Pt)):bt[Ge]&&(bt[Ge]=se.wrapWithCurrentZone(bt[Ge],ut))}else bt[Ge]&&(bt[Ge]=se.wrapWithCurrentZone(bt[Ge],ut))}catch{}}),ye.call(Ce,be,Re,st)},se.attachOriginToPatched(Ce[U],ye)}function ci(se,Ce,te){if(!te||0===te.length)return Ce;const U=te.filter(ge=>ge.target===se);if(!U||0===U.length)return Ce;const I=U[0].ignoreProperties;return Ce.filter(ge=>-1===I.indexOf(ge))}function qn(se,Ce,te,U){se&&mn(se,ci(se,Ce,te),U)}function pr(se){return Object.getOwnPropertyNames(se).filter(Ce=>Ce.startsWith("on")&&Ce.length>2).map(Ce=>Ce.substring(2))}Zone.__load_patch("util",(se,Ce,te)=>{const U=pr(se);te.patchOnProperties=mn,te.patchMethod=He,te.bindArguments=Ae,te.patchMacroTask=Ue;const I=Ce.__symbol__("BLACK_LISTED_EVENTS"),ge=Ce.__symbol__("UNPATCHED_EVENTS");se[ge]&&(se[I]=se[ge]),se[I]&&(Ce[I]=Ce[ge]=se[I]),te.patchEventPrototype=Ui,te.patchEventTarget=Sn,te.isIEOrEdge=Bn,te.ObjectDefineProperty=G,te.ObjectGetOwnPropertyDescriptor=ve,te.ObjectCreate=C,te.ArraySlice=p,te.patchClass=Zt,te.wrapWithCurrentZone=N,te.filterProperties=ci,te.attachOriginToPatched=pe,te._redefineProperty=Object.defineProperty,te.patchCallbacks=Ci,te.getGlobalObjects=()=>({globalSources:Bi,zoneSymbolEventNames:ur,eventNames:U,isBrowser:Wt,isMix:mt,isNode:Bt,TRUE_STR:$,FALSE_STR:V,ZONE_SYMBOL_PREFIX:Y,ADD_EVENT_LISTENER_STR:J,REMOVE_EVENT_LISTENER_STR:W})});const di=q("zoneTask");function or(se,Ce,te,U){let I=null,ge=null;te+=U;const ye={};function be(st){const Ge=st.data;return Ge.args[0]=function(){return st.invoke.apply(this,arguments)},Ge.handleId=I.apply(se,Ge.args),st}function Re(st){return ge.call(se,st.data.handleId)}I=He(se,Ce+=U,st=>function(Ge,ut){if("function"==typeof ut[0]){const bt={isPeriodic:"Interval"===U,delay:"Timeout"===U||"Interval"===U?ut[1]||0:void 0,args:ut},Pt=ut[0];ut[0]=function(){try{return Pt.apply(this,arguments)}finally{bt.isPeriodic||("number"==typeof bt.handleId?delete ye[bt.handleId]:bt.handleId&&(bt.handleId[di]=null))}};const yt=j(Ce,ut[0],bt,be,Re);if(!yt)return yt;const lt=yt.data.handleId;return"number"==typeof lt?ye[lt]=yt:lt&&(lt[di]=yt),lt&<.ref&<.unref&&"function"==typeof lt.ref&&"function"==typeof lt.unref&&(yt.ref=lt.ref.bind(lt),yt.unref=lt.unref.bind(lt)),"number"==typeof lt||lt?lt:yt}return st.apply(se,ut)}),ge=He(se,te,st=>function(Ge,ut){const bt=ut[0];let Pt;"number"==typeof bt?Pt=ye[bt]:(Pt=bt&&bt[di],Pt||(Pt=bt)),Pt&&"string"==typeof Pt.type?"notScheduled"!==Pt.state&&(Pt.cancelFn&&Pt.data.isPeriodic||0===Pt.runCount)&&("number"==typeof bt?delete ye[bt]:bt&&(bt[di]=null),Pt.zone.cancelTask(Pt)):st.apply(se,ut)})}Zone.__load_patch("legacy",se=>{const Ce=se[Zone.__symbol__("legacyPatch")];Ce&&Ce()}),Zone.__load_patch("queueMicrotask",(se,Ce,te)=>{te.patchMethod(se,"queueMicrotask",U=>function(I,ge){Ce.current.scheduleMicroTask("queueMicrotask",ge[0])})}),Zone.__load_patch("timers",se=>{const te="clear";or(se,"set",te,"Timeout"),or(se,"set",te,"Interval"),or(se,"set",te,"Immediate")}),Zone.__load_patch("requestAnimationFrame",se=>{or(se,"request","cancel","AnimationFrame"),or(se,"mozRequest","mozCancel","AnimationFrame"),or(se,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(se,Ce)=>{const te=["alert","prompt","confirm"];for(let U=0;U<te.length;U++)He(se,te[U],(ge,ye,be)=>function(Re,st){return Ce.current.run(ge,se,st,be)})}),Zone.__load_patch("EventTarget",(se,Ce,te)=>{(function Ar(se,Ce){Ce.patchEventPrototype(se,Ce)})(se,te),function wr(se,Ce){if(Zone[Ce.symbol("patchEventTarget")])return;const{eventNames:te,zoneSymbolEventNames:U,TRUE_STR:I,FALSE_STR:ge,ZONE_SYMBOL_PREFIX:ye}=Ce.getGlobalObjects();for(let Re=0;Re<te.length;Re++){const st=te[Re],bt=ye+(st+ge),Pt=ye+(st+I);U[st]={},U[st][ge]=bt,U[st][I]=Pt}const be=se.EventTarget;be&&be.prototype&&Ce.patchEventTarget(se,Ce,[be&&be.prototype])}(se,te);const U=se.XMLHttpRequestEventTarget;U&&U.prototype&&te.patchEventTarget(se,te,[U.prototype])}),Zone.__load_patch("MutationObserver",(se,Ce,te)=>{Zt("MutationObserver"),Zt("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(se,Ce,te)=>{Zt("IntersectionObserver")}),Zone.__load_patch("FileReader",(se,Ce,te)=>{Zt("FileReader")}),Zone.__load_patch("on_property",(se,Ce,te)=>{!function Cr(se,Ce){if(Bt&&!mt||Zone[se.symbol("patchEvents")])return;const te=Ce.__Zone_ignore_on_properties;let U=[];if(Wt){const I=window;U=U.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const ge=function Xt(){try{const se=re.navigator.userAgent;if(-1!==se.indexOf("MSIE ")||-1!==se.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:I,ignoreProperties:["error"]}]:[];qn(I,pr(I),te&&te.concat(ge),S(I))}U=U.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let I=0;I<U.length;I++){const ge=Ce[U[I]];ge&&ge.prototype&&qn(ge.prototype,pr(ge.prototype),te)}}(te,se)}),Zone.__load_patch("customElements",(se,Ce,te)=>{!function Oo(se,Ce){const{isBrowser:te,isMix:U}=Ce.getGlobalObjects();(te||U)&&se.customElements&&"customElements"in se&&Ce.patchCallbacks(Ce,se.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(se,te)}),Zone.__load_patch("XHR",(se,Ce)=>{!function Re(st){const Ge=st.XMLHttpRequest;if(!Ge)return;const ut=Ge.prototype;let Pt=ut[F],yt=ut[z];if(!Pt){const pt=st.XMLHttpRequestEventTarget;if(pt){const dn=pt.prototype;Pt=dn[F],yt=dn[z]}}const lt="readystatechange",Yt="scheduled";function Rt(pt){const dn=pt.data,Lt=dn.target;Lt[ge]=!1,Lt[be]=!1;const Xn=Lt[I];Pt||(Pt=Lt[F],yt=Lt[z]),Xn&&yt.call(Lt,lt,Xn);const Te=Lt[I]=()=>{if(Lt.readyState===Lt.DONE)if(!dn.aborted&&Lt[ge]&&pt.state===Yt){const Q=Lt[Ce.__symbol__("loadfalse")];if(0!==Lt.status&&Q&&Q.length>0){const Se=pt.invoke;pt.invoke=function(){const Fe=Lt[Ce.__symbol__("loadfalse")];for(let dt=0;dt<Fe.length;dt++)Fe[dt]===pt&&Fe.splice(dt,1);!dn.aborted&&pt.state===Yt&&Se.call(pt)},Q.push(pt)}else pt.invoke()}else!dn.aborted&&!1===Lt[ge]&&(Lt[be]=!0)};return Pt.call(Lt,lt,Te),Lt[te]||(Lt[te]=pt),wt.apply(Lt,dn.args),Lt[ge]=!0,pt}function Qt(){}function Ke(pt){const dn=pt.data;return dn.aborted=!0,bn.apply(dn.target,dn.args)}const Jn=He(ut,"open",()=>function(pt,dn){return pt[U]=0==dn[2],pt[ye]=dn[1],Jn.apply(pt,dn)}),yn=q("fetchTaskAborting"),xt=q("fetchTaskScheduling"),wt=He(ut,"send",()=>function(pt,dn){if(!0===Ce.current[xt]||pt[U])return wt.apply(pt,dn);{const Lt={target:pt,url:pt[ye],isPeriodic:!1,args:dn,aborted:!1},Xn=j("XMLHttpRequest.send",Qt,Lt,Rt,Ke);pt&&!0===pt[be]&&!Lt.aborted&&Xn.state===Yt&&Xn.invoke()}}),bn=He(ut,"abort",()=>function(pt,dn){const Lt=function bt(pt){return pt[te]}(pt);if(Lt&&"string"==typeof Lt.type){if(null==Lt.cancelFn||Lt.data&&Lt.data.aborted)return;Lt.zone.cancelTask(Lt)}else if(!0===Ce.current[yn])return bn.apply(pt,dn)})}(se);const te=q("xhrTask"),U=q("xhrSync"),I=q("xhrListener"),ge=q("xhrScheduled"),ye=q("xhrURL"),be=q("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",se=>{se.navigator&&se.navigator.geolocation&&function At(se,Ce){const te=se.constructor.name;for(let U=0;U<Ce.length;U++){const I=Ce[U],ge=se[I];if(ge){if(!et(ve(se,I)))continue;se[I]=(be=>{const Re=function(){return be.apply(this,Ae(arguments,te+"."+I))};return pe(Re,be),Re})(ge)}}}(se.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(se,Ce)=>{function te(U){return function(I){nn(se,U).forEach(ye=>{const be=se.PromiseRejectionEvent;if(be){const Re=new be(U,{promise:I.promise,reason:I.rejection});ye.invoke(Re)}})}}se.PromiseRejectionEvent&&(Ce[q("unhandledPromiseRejectionHandler")]=te("unhandledrejection"),Ce[q("rejectionHandledHandler")]=te("rejectionhandled"))})},6895:(ve,G,S)=>{"use strict";S.d(G,{Do:()=>Bt,EM:()=>Ds,HT:()=>F,JF:()=>Xs,K0:()=>$,Mx:()=>St,O5:()=>Zr,RF:()=>Fr,S$:()=>Ae,V_:()=>N,Ye:()=>Wt,b0:()=>Ze,bD:()=>Ia,ez:()=>Es,lw:()=>V,mk:()=>sn,mr:()=>et,n9:()=>gr,q:()=>J,sg:()=>br,w_:()=>z});var C=S(6738);let p=null;function J(){return p}function F(E){p||(p=E)}class z{}const $=new C.OlP("DocumentToken");let V=(()=>{class E{historyGo(D){throw new Error("Not implemented")}}return E.\u0275fac=function(D){return new(D||E)},E.\u0275prov=C.Yz7({token:E,factory:function(){return function Y(){return(0,C.LFG)(j)}()},providedIn:"platform"}),E})();const N=new C.OlP("Location Initialized");let j=(()=>{class E extends V{constructor(D){super(),this._doc=D,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return J().getBaseHref(this._doc)}onPopState(D){const L=J().getGlobalEventTarget(this._doc,"window");return L.addEventListener("popstate",D,!1),()=>L.removeEventListener("popstate",D)}onHashChange(D){const L=J().getGlobalEventTarget(this._doc,"window");return L.addEventListener("hashchange",D,!1),()=>L.removeEventListener("hashchange",D)}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(D){this.location.pathname=D}pushState(D,L,fe){q()?this._history.pushState(D,L,fe):this.location.hash=fe}replaceState(D,L,fe){q()?this._history.replaceState(D,L,fe):this.location.hash=fe}forward(){this._history.forward()}back(){this._history.back()}historyGo(D=0){this._history.go(D)}getState(){return this._history.state}}return E.\u0275fac=function(D){return new(D||E)(C.LFG($))},E.\u0275prov=C.Yz7({token:E,factory:function(){return function ie(){return new j((0,C.LFG)($))}()},providedIn:"platform"}),E})();function q(){return!!window.history.pushState}function re(E,A){if(0==E.length)return A;if(0==A.length)return E;let D=0;return E.endsWith("/")&&D++,A.startsWith("/")&&D++,2==D?E+A.substring(1):1==D?E+A:E+"/"+A}function de(E){const A=E.match(/#|\?|$/),D=A&&A.index||E.length;return E.slice(0,D-("/"===E[D-1]?1:0))+E.slice(D)}function _e(E){return E&&"?"!==E[0]?"?"+E:E}let Ae=(()=>{class E{historyGo(D){throw new Error("Not implemented")}}return E.\u0275fac=function(D){return new(D||E)},E.\u0275prov=C.Yz7({token:E,factory:function(){return function At(E){const A=(0,C.LFG)($).location;return new Ze((0,C.LFG)(V),A&&A.origin||"")}()},providedIn:"root"}),E})();const et=new C.OlP("appBaseHref");let Ze=(()=>{class E extends Ae{constructor(D,L){if(super(),this._platformLocation=D,this._removeListenerFns=[],null==L&&(L=this._platformLocation.getBaseHrefFromDOM()),null==L)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=L}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(D){this._removeListenerFns.push(this._platformLocation.onPopState(D),this._platformLocation.onHashChange(D))}getBaseHref(){return this._baseHref}prepareExternalUrl(D){return re(this._baseHref,D)}path(D=!1){const L=this._platformLocation.pathname+_e(this._platformLocation.search),fe=this._platformLocation.hash;return fe&&D?`${L}${fe}`:L}pushState(D,L,fe,Oe){const Je=this.prepareExternalUrl(fe+_e(Oe));this._platformLocation.pushState(D,L,Je)}replaceState(D,L,fe,Oe){const Je=this.prepareExternalUrl(fe+_e(Oe));this._platformLocation.replaceState(D,L,Je)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(D=0){this._platformLocation.historyGo?.(D)}}return E.\u0275fac=function(D){return new(D||E)(C.LFG(V),C.LFG(et,8))},E.\u0275prov=C.Yz7({token:E,factory:E.\u0275fac}),E})(),Bt=(()=>{class E extends Ae{constructor(D,L){super(),this._platformLocation=D,this._baseHref="",this._removeListenerFns=[],null!=L&&(this._baseHref=L)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(D){this._removeListenerFns.push(this._platformLocation.onPopState(D),this._platformLocation.onHashChange(D))}getBaseHref(){return this._baseHref}path(D=!1){let L=this._platformLocation.hash;return null==L&&(L="#"),L.length>0?L.substring(1):L}prepareExternalUrl(D){const L=re(this._baseHref,D);return L.length>0?"#"+L:L}pushState(D,L,fe,Oe){let Je=this.prepareExternalUrl(fe+_e(Oe));0==Je.length&&(Je=this._platformLocation.pathname),this._platformLocation.pushState(D,L,Je)}replaceState(D,L,fe,Oe){let Je=this.prepareExternalUrl(fe+_e(Oe));0==Je.length&&(Je=this._platformLocation.pathname),this._platformLocation.replaceState(D,L,Je)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(D=0){this._platformLocation.historyGo?.(D)}}return E.\u0275fac=function(D){return new(D||E)(C.LFG(V),C.LFG(et,8))},E.\u0275prov=C.Yz7({token:E,factory:E.\u0275fac}),E})(),Wt=(()=>{class E{constructor(D,L){this._subject=new C.vpe,this._urlChangeListeners=[],this._platformStrategy=D;const fe=this._platformStrategy.getBaseHref();this._platformLocation=L,this._baseHref=de(ht(fe)),this._platformStrategy.onPopState(Oe=>{this._subject.emit({url:this.path(!0),pop:!0,state:Oe.state,type:Oe.type})})}path(D=!1){return this.normalize(this._platformStrategy.path(D))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(D,L=""){return this.path()==this.normalize(D+_e(L))}normalize(D){return E.stripTrailingSlash(function pn(E,A){return E&&A.startsWith(E)?A.substring(E.length):A}(this._baseHref,ht(D)))}prepareExternalUrl(D){return D&&"/"!==D[0]&&(D="/"+D),this._platformStrategy.prepareExternalUrl(D)}go(D,L="",fe=null){this._platformStrategy.pushState(fe,"",D,L),this._notifyUrlChangeListeners(this.prepareExternalUrl(D+_e(L)),fe)}replaceState(D,L="",fe=null){this._platformStrategy.replaceState(fe,"",D,L),this._notifyUrlChangeListeners(this.prepareExternalUrl(D+_e(L)),fe)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(D=0){this._platformStrategy.historyGo?.(D)}onUrlChange(D){this._urlChangeListeners.push(D),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(L=>{this._notifyUrlChangeListeners(L.url,L.state)}))}_notifyUrlChangeListeners(D="",L){this._urlChangeListeners.forEach(fe=>fe(D,L))}subscribe(D,L,fe){return this._subject.subscribe({next:D,error:L,complete:fe})}}return E.normalizeQueryParams=_e,E.joinWithSlash=re,E.stripTrailingSlash=de,E.\u0275fac=function(D){return new(D||E)(C.LFG(Ae),C.LFG(V))},E.\u0275prov=C.Yz7({token:E,factory:function(){return function mt(){return new Wt((0,C.LFG)(Ae),(0,C.LFG)(V))}()},providedIn:"root"}),E})();function ht(E){return E.replace(/\/index.html$/,"")}function St(E,A){A=encodeURIComponent(A);for(const D of E.split(";")){const L=D.indexOf("="),[fe,Oe]=-1==L?[D,""]:[D.slice(0,L),D.slice(L+1)];if(fe.trim()===A)return decodeURIComponent(Oe)}return null}let sn=(()=>{class E{constructor(D,L,fe,Oe){this._iterableDiffers=D,this._keyValueDiffers=L,this._ngEl=fe,this._renderer=Oe,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(D){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof D?D.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(D){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof D?D.split(/\s+/):D,this._rawClass&&((0,C.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const D=this._iterableDiffer.diff(this._rawClass);D&&this._applyIterableChanges(D)}else if(this._keyValueDiffer){const D=this._keyValueDiffer.diff(this._rawClass);D&&this._applyKeyValueChanges(D)}}_applyKeyValueChanges(D){D.forEachAddedItem(L=>this._toggleClass(L.key,L.currentValue)),D.forEachChangedItem(L=>this._toggleClass(L.key,L.currentValue)),D.forEachRemovedItem(L=>{L.previousValue&&this._toggleClass(L.key,!1)})}_applyIterableChanges(D){D.forEachAddedItem(L=>{if("string"!=typeof L.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,C.AaK)(L.item)}`);this._toggleClass(L.item,!0)}),D.forEachRemovedItem(L=>this._toggleClass(L.item,!1))}_applyClasses(D){D&&(Array.isArray(D)||D instanceof Set?D.forEach(L=>this._toggleClass(L,!0)):Object.keys(D).forEach(L=>this._toggleClass(L,!!D[L])))}_removeClasses(D){D&&(Array.isArray(D)||D instanceof Set?D.forEach(L=>this._toggleClass(L,!1)):Object.keys(D).forEach(L=>this._toggleClass(L,!1)))}_toggleClass(D,L){(D=D.trim())&&D.split(/\s+/g).forEach(fe=>{L?this._renderer.addClass(this._ngEl.nativeElement,fe):this._renderer.removeClass(this._ngEl.nativeElement,fe)})}}return E.\u0275fac=function(D){return new(D||E)(C.Y36(C.ZZ4),C.Y36(C.aQg),C.Y36(C.SBq),C.Y36(C.Qsj))},E.\u0275dir=C.lG2({type:E,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),E})();class Io{constructor(A,D,L,fe){this.$implicit=A,this.ngForOf=D,this.index=L,this.count=fe}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 br=(()=>{class E{constructor(D,L,fe){this._viewContainer=D,this._template=L,this._differs=fe,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(D){this._ngForOf=D,this._ngForOfDirty=!0}set ngForTrackBy(D){this._trackByFn=D}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(D){D&&(this._template=D)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const D=this._ngForOf;!this._differ&&D&&(this._differ=this._differs.find(D).create(this.ngForTrackBy))}if(this._differ){const D=this._differ.diff(this._ngForOf);D&&this._applyChanges(D)}}_applyChanges(D){const L=this._viewContainer;D.forEachOperation((fe,Oe,Je)=>{if(null==fe.previousIndex)L.createEmbeddedView(this._template,new Io(fe.item,this._ngForOf,-1,-1),null===Je?void 0:Je);else if(null==Je)L.remove(null===Oe?void 0:Oe);else if(null!==Oe){const nt=L.get(Oe);L.move(nt,Je),dr(nt,fe)}});for(let fe=0,Oe=L.length;fe<Oe;fe++){const nt=L.get(fe).context;nt.index=fe,nt.count=Oe,nt.ngForOf=this._ngForOf}D.forEachIdentityChange(fe=>{dr(L.get(fe.currentIndex),fe)})}static ngTemplateContextGuard(D,L){return!0}}return E.\u0275fac=function(D){return new(D||E)(C.Y36(C.s_b),C.Y36(C.Rgc),C.Y36(C.ZZ4))},E.\u0275dir=C.lG2({type:E,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),E})();function dr(E,A){E.context.$implicit=A.item}let Zr=(()=>{class E{constructor(D,L){this._viewContainer=D,this._context=new ar,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=L}set ngIf(D){this._context.$implicit=this._context.ngIf=D,this._updateView()}set ngIfThen(D){vn("ngIfThen",D),this._thenTemplateRef=D,this._thenViewRef=null,this._updateView()}set ngIfElse(D){vn("ngIfElse",D),this._elseTemplateRef=D,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(D,L){return!0}}return E.\u0275fac=function(D){return new(D||E)(C.Y36(C.s_b),C.Y36(C.Rgc))},E.\u0275dir=C.lG2({type:E,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),E})();class ar{constructor(){this.$implicit=null,this.ngIf=null}}function vn(E,A){if(A&&!A.createEmbeddedView)throw new Error(`${E} must be a TemplateRef, but received '${(0,C.AaK)(A)}'.`)}class fi{constructor(A,D){this._viewContainerRef=A,this._templateRef=D,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(A){A&&!this._created?this.create():!A&&this._created&&this.destroy()}}let Fr=(()=>{class E{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(D){this._ngSwitch=D,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(D){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(D)}_matchCase(D){const L=D==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||L,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),L}_updateDefaultCases(D){if(this._defaultViews&&D!==this._defaultUsed){this._defaultUsed=D;for(let L=0;L<this._defaultViews.length;L++)this._defaultViews[L].enforceState(D)}}}return E.\u0275fac=function(D){return new(D||E)},E.\u0275dir=C.lG2({type:E,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),E})(),gr=(()=>{class E{constructor(D,L,fe){this.ngSwitch=fe,fe._addCase(),this._view=new fi(D,L)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return E.\u0275fac=function(D){return new(D||E)(C.Y36(C.s_b),C.Y36(C.Rgc),C.Y36(Fr,9))},E.\u0275dir=C.lG2({type:E,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),E})(),Es=(()=>{class E{}return E.\u0275fac=function(D){return new(D||E)},E.\u0275mod=C.oAB({type:E}),E.\u0275inj=C.cJS({}),E})();const Ia="browser";let Ds=(()=>{class E{}return E.\u0275prov=(0,C.Yz7)({token:E,providedIn:"root",factory:()=>new no((0,C.LFG)($),window)}),E})();class no{constructor(A,D){this.document=A,this.window=D,this.offset=()=>[0,0]}setOffset(A){this.offset=Array.isArray(A)?()=>A:A}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(A){this.supportsScrolling()&&this.window.scrollTo(A[0],A[1])}scrollToAnchor(A){if(!this.supportsScrolling())return;const D=function Br(E,A){const D=E.getElementById(A)||E.getElementsByName(A)[0];if(D)return D;if("function"==typeof E.createTreeWalker&&E.body&&(E.body.createShadowRoot||E.body.attachShadow)){const L=E.createTreeWalker(E.body,NodeFilter.SHOW_ELEMENT);let fe=L.currentNode;for(;fe;){const Oe=fe.shadowRoot;if(Oe){const Je=Oe.getElementById(A)||Oe.querySelector(`[name="${A}"]`);if(Je)return Je}fe=L.nextNode()}}return null}(this.document,A);D&&(this.scrollToElement(D),D.focus())}setHistoryScrollRestoration(A){if(this.supportScrollRestoration()){const D=this.window.history;D&&D.scrollRestoration&&(D.scrollRestoration=A)}}scrollToElement(A){const D=A.getBoundingClientRect(),L=D.left+this.window.pageXOffset,fe=D.top+this.window.pageYOffset,Oe=this.offset();this.window.scrollTo(L-Oe[0],fe-Oe[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const A=kr(this.window.history)||kr(Object.getPrototypeOf(this.window.history));return!(!A||!A.writable&&!A.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function kr(E){return Object.getOwnPropertyDescriptor(E,"scrollRestoration")}class Xs{}},529:(ve,G,S)=>{"use strict";S.d(G,{JF:()=>Ar,WM:()=>N,eN:()=>pe});var C=S(6895),p=S(6738),J=S(1086),W=S(2916),F=S(1406),z=S(2198),$=S(4850);class V{}class Y{}class N{constructor(U){this.normalizedNames=new Map,this.lazyUpdate=null,U?this.lazyInit="string"==typeof U?()=>{this.headers=new Map,U.split("\n").forEach(I=>{const ge=I.indexOf(":");if(ge>0){const ye=I.slice(0,ge),be=ye.toLowerCase(),Re=I.slice(ge+1).trim();this.maybeSetNormalizedName(ye,be),this.headers.has(be)?this.headers.get(be).push(Re):this.headers.set(be,[Re])}})}:()=>{this.headers=new Map,Object.keys(U).forEach(I=>{let ge=U[I];const ye=I.toLowerCase();"string"==typeof ge&&(ge=[ge]),ge.length>0&&(this.headers.set(ye,ge),this.maybeSetNormalizedName(I,ye))})}:this.headers=new Map}has(U){return this.init(),this.headers.has(U.toLowerCase())}get(U){this.init();const I=this.headers.get(U.toLowerCase());return I&&I.length>0?I[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(U){return this.init(),this.headers.get(U.toLowerCase())||null}append(U,I){return this.clone({name:U,value:I,op:"a"})}set(U,I){return this.clone({name:U,value:I,op:"s"})}delete(U,I){return this.clone({name:U,value:I,op:"d"})}maybeSetNormalizedName(U,I){this.normalizedNames.has(I)||this.normalizedNames.set(I,U)}init(){this.lazyInit&&(this.lazyInit instanceof N?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(U=>this.applyUpdate(U)),this.lazyUpdate=null))}copyFrom(U){U.init(),Array.from(U.headers.keys()).forEach(I=>{this.headers.set(I,U.headers.get(I)),this.normalizedNames.set(I,U.normalizedNames.get(I))})}clone(U){const I=new N;return I.lazyInit=this.lazyInit&&this.lazyInit instanceof N?this.lazyInit:this,I.lazyUpdate=(this.lazyUpdate||[]).concat([U]),I}applyUpdate(U){const I=U.name.toLowerCase();switch(U.op){case"a":case"s":let ge=U.value;if("string"==typeof ge&&(ge=[ge]),0===ge.length)return;this.maybeSetNormalizedName(U.name,I);const ye=("a"===U.op?this.headers.get(I):void 0)||[];ye.push(...ge),this.headers.set(I,ye);break;case"d":const be=U.value;if(be){let Re=this.headers.get(I);if(!Re)return;Re=Re.filter(st=>-1===be.indexOf(st)),0===Re.length?(this.headers.delete(I),this.normalizedNames.delete(I)):this.headers.set(I,Re)}else this.headers.delete(I),this.normalizedNames.delete(I)}}forEach(U){this.init(),Array.from(this.normalizedNames.keys()).forEach(I=>U(this.normalizedNames.get(I),this.headers.get(I)))}}class j{encodeKey(U){return de(U)}encodeValue(U){return de(U)}decodeKey(U){return decodeURIComponent(U)}decodeValue(U){return decodeURIComponent(U)}}const ie=/%(\d[a-f0-9])/gi,re={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function de(te){return encodeURIComponent(te).replace(ie,(U,I)=>re[I]??U)}function _e(te){return`${te}`}class Ae{constructor(U={}){if(this.updates=null,this.cloneFrom=null,this.encoder=U.encoder||new j,U.fromString){if(U.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function q(te,U){const I=new Map;return te.length>0&&te.replace(/^\?/,"").split("&").forEach(ye=>{const be=ye.indexOf("="),[Re,st]=-1==be?[U.decodeKey(ye),""]:[U.decodeKey(ye.slice(0,be)),U.decodeValue(ye.slice(be+1))],Ge=I.get(Re)||[];Ge.push(st),I.set(Re,Ge)}),I}(U.fromString,this.encoder)}else U.fromObject?(this.map=new Map,Object.keys(U.fromObject).forEach(I=>{const ge=U.fromObject[I];this.map.set(I,Array.isArray(ge)?ge:[ge])})):this.map=null}has(U){return this.init(),this.map.has(U)}get(U){this.init();const I=this.map.get(U);return I?I[0]:null}getAll(U){return this.init(),this.map.get(U)||null}keys(){return this.init(),Array.from(this.map.keys())}append(U,I){return this.clone({param:U,value:I,op:"a"})}appendAll(U){const I=[];return Object.keys(U).forEach(ge=>{const ye=U[ge];Array.isArray(ye)?ye.forEach(be=>{I.push({param:ge,value:be,op:"a"})}):I.push({param:ge,value:ye,op:"a"})}),this.clone(I)}set(U,I){return this.clone({param:U,value:I,op:"s"})}delete(U,I){return this.clone({param:U,value:I,op:"d"})}toString(){return this.init(),this.keys().map(U=>{const I=this.encoder.encodeKey(U);return this.map.get(U).map(ge=>I+"="+this.encoder.encodeValue(ge)).join("&")}).filter(U=>""!==U).join("&")}clone(U){const I=new Ae({encoder:this.encoder});return I.cloneFrom=this.cloneFrom||this,I.updates=(this.updates||[]).concat(U),I}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(U=>this.map.set(U,this.cloneFrom.map.get(U))),this.updates.forEach(U=>{switch(U.op){case"a":case"s":const I=("a"===U.op?this.map.get(U.param):void 0)||[];I.push(_e(U.value)),this.map.set(U.param,I);break;case"d":if(void 0===U.value){this.map.delete(U.param);break}{let ge=this.map.get(U.param)||[];const ye=ge.indexOf(_e(U.value));-1!==ye&&ge.splice(ye,1),ge.length>0?this.map.set(U.param,ge):this.map.delete(U.param)}}}),this.cloneFrom=this.updates=null)}}class et{constructor(){this.map=new Map}set(U,I){return this.map.set(U,I),this}get(U){return this.map.has(U)||this.map.set(U,U.defaultValue()),this.map.get(U)}delete(U){return this.map.delete(U),this}has(U){return this.map.has(U)}keys(){return this.map.keys()}}function Bt(te){return typeof ArrayBuffer<"u"&&te instanceof ArrayBuffer}function Wt(te){return typeof Blob<"u"&&te instanceof Blob}function mt(te){return typeof FormData<"u"&&te instanceof FormData}class ht{constructor(U,I,ge,ye){let be;if(this.url=I,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=U.toUpperCase(),function Ze(te){switch(te){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||ye?(this.body=void 0!==ge?ge:null,be=ye):be=ge,be&&(this.reportProgress=!!be.reportProgress,this.withCredentials=!!be.withCredentials,be.responseType&&(this.responseType=be.responseType),be.headers&&(this.headers=be.headers),be.context&&(this.context=be.context),be.params&&(this.params=be.params)),this.headers||(this.headers=new N),this.context||(this.context=new et),this.params){const Re=this.params.toString();if(0===Re.length)this.urlWithParams=I;else{const st=I.indexOf("?");this.urlWithParams=I+(-1===st?"?":st<I.length-1?"&":"")+Re}}else this.params=new Ae,this.urlWithParams=I}serializeBody(){return null===this.body?null:Bt(this.body)||Wt(this.body)||mt(this.body)||function pn(te){return typeof URLSearchParams<"u"&&te instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof Ae?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||mt(this.body)?null:Wt(this.body)?this.body.type||null:Bt(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Ae?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(U={}){const I=U.method||this.method,ge=U.url||this.url,ye=U.responseType||this.responseType,be=void 0!==U.body?U.body:this.body,Re=void 0!==U.withCredentials?U.withCredentials:this.withCredentials,st=void 0!==U.reportProgress?U.reportProgress:this.reportProgress;let Ge=U.headers||this.headers,ut=U.params||this.params;const bt=U.context??this.context;return void 0!==U.setHeaders&&(Ge=Object.keys(U.setHeaders).reduce((Pt,yt)=>Pt.set(yt,U.setHeaders[yt]),Ge)),U.setParams&&(ut=Object.keys(U.setParams).reduce((Pt,yt)=>Pt.set(yt,U.setParams[yt]),ut)),new ht(I,ge,be,{params:ut,headers:Ge,context:bt,reportProgress:st,responseType:ye,withCredentials:Re})}}var tt=(()=>((tt=tt||{})[tt.Sent=0]="Sent",tt[tt.UploadProgress=1]="UploadProgress",tt[tt.ResponseHeader=2]="ResponseHeader",tt[tt.DownloadProgress=3]="DownloadProgress",tt[tt.Response=4]="Response",tt[tt.User=5]="User",tt))();class mn{constructor(U,I=200,ge="OK"){this.headers=U.headers||new N,this.status=void 0!==U.status?U.status:I,this.statusText=U.statusText||ge,this.url=U.url||null,this.ok=this.status>=200&&this.status<300}}class _t extends mn{constructor(U={}){super(U),this.type=tt.ResponseHeader}clone(U={}){return new _t({headers:U.headers||this.headers,status:void 0!==U.status?U.status:this.status,statusText:U.statusText||this.statusText,url:U.url||this.url||void 0})}}class Zt extends mn{constructor(U={}){super(U),this.type=tt.Response,this.body=void 0!==U.body?U.body:null}clone(U={}){return new Zt({body:void 0!==U.body?U.body:this.body,headers:U.headers||this.headers,status:void 0!==U.status?U.status:this.status,statusText:U.statusText||this.statusText,url:U.url||this.url||void 0})}}class He extends mn{constructor(U){super(U,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${U.url||"(unknown url)"}`:`Http failure response for ${U.url||"(unknown url)"}: ${U.status} ${U.statusText}`,this.error=U.error||null}}function Ue(te,U){return{body:U,headers:te.headers,context:te.context,observe:te.observe,params:te.params,reportProgress:te.reportProgress,responseType:te.responseType,withCredentials:te.withCredentials}}let pe=(()=>{class te{constructor(I){this.handler=I}request(I,ge,ye={}){let be;if(I instanceof ht)be=I;else{let Ge,ut;Ge=ye.headers instanceof N?ye.headers:new N(ye.headers),ye.params&&(ut=ye.params instanceof Ae?ye.params:new Ae({fromObject:ye.params})),be=new ht(I,ge,void 0!==ye.body?ye.body:null,{headers:Ge,context:ye.context,params:ut,reportProgress:ye.reportProgress,responseType:ye.responseType||"json",withCredentials:ye.withCredentials})}const Re=(0,J.of)(be).pipe((0,F.b)(Ge=>this.handler.handle(Ge)));if(I instanceof ht||"events"===ye.observe)return Re;const st=Re.pipe((0,z.h)(Ge=>Ge instanceof Zt));switch(ye.observe||"body"){case"body":switch(be.responseType){case"arraybuffer":return st.pipe((0,$.U)(Ge=>{if(null!==Ge.body&&!(Ge.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Ge.body}));case"blob":return st.pipe((0,$.U)(Ge=>{if(null!==Ge.body&&!(Ge.body instanceof Blob))throw new Error("Response is not a Blob.");return Ge.body}));case"text":return st.pipe((0,$.U)(Ge=>{if(null!==Ge.body&&"string"!=typeof Ge.body)throw new Error("Response is not a string.");return Ge.body}));default:return st.pipe((0,$.U)(Ge=>Ge.body))}case"response":return st;default:throw new Error(`Unreachable: unhandled observe type ${ye.observe}}`)}}delete(I,ge={}){return this.request("DELETE",I,ge)}get(I,ge={}){return this.request("GET",I,ge)}head(I,ge={}){return this.request("HEAD",I,ge)}jsonp(I,ge){return this.request("JSONP",I,{params:(new Ae).append(ge,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(I,ge={}){return this.request("OPTIONS",I,ge)}patch(I,ge,ye={}){return this.request("PATCH",I,Ue(ye,ge))}post(I,ge,ye={}){return this.request("POST",I,Ue(ye,ge))}put(I,ge,ye={}){return this.request("PUT",I,Ue(ye,ge))}}return te.\u0275fac=function(I){return new(I||te)(p.LFG(V))},te.\u0275prov=p.Yz7({token:te,factory:te.\u0275fac}),te})();class he{constructor(U,I){this.next=U,this.interceptor=I}handle(U){return this.interceptor.intercept(U,this.next)}}const je=new p.OlP("HTTP_INTERCEPTORS");let Xt=(()=>{class te{intercept(I,ge){return ge.handle(I)}}return te.\u0275fac=function(I){return new(I||te)},te.\u0275prov=p.Yz7({token:te,factory:te.\u0275fac}),te})();const Sn=/^\)\]\}',?\n/;let Ui=(()=>{class te{constructor(I){this.xhrFactory=I}handle(I){if("JSONP"===I.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new W.y(ge=>{const ye=this.xhrFactory.build();if(ye.open(I.method,I.urlWithParams),I.withCredentials&&(ye.withCredentials=!0),I.headers.forEach((lt,Yt)=>ye.setRequestHeader(lt,Yt.join(","))),I.headers.has("Accept")||ye.setRequestHeader("Accept","application/json, text/plain, */*"),!I.headers.has("Content-Type")){const lt=I.detectContentTypeHeader();null!==lt&&ye.setRequestHeader("Content-Type",lt)}if(I.responseType){const lt=I.responseType.toLowerCase();ye.responseType="json"!==lt?lt:"text"}const be=I.serializeBody();let Re=null;const st=()=>{if(null!==Re)return Re;const lt=ye.statusText||"OK",Yt=new N(ye.getAllResponseHeaders()),Rt=function nn(te){return"responseURL"in te&&te.responseURL?te.responseURL:/^X-Request-URL:/m.test(te.getAllResponseHeaders())?te.getResponseHeader("X-Request-URL"):null}(ye)||I.url;return Re=new _t({headers:Yt,status:ye.status,statusText:lt,url:Rt}),Re},Ge=()=>{let{headers:lt,status:Yt,statusText:Rt,url:Qt}=st(),Ke=null;204!==Yt&&(Ke=typeof ye.response>"u"?ye.responseText:ye.response),0===Yt&&(Yt=Ke?200:0);let Jn=Yt>=200&&Yt<300;if("json"===I.responseType&&"string"==typeof Ke){const _n=Ke;Ke=Ke.replace(Sn,"");try{Ke=""!==Ke?JSON.parse(Ke):null}catch(yn){Ke=_n,Jn&&(Jn=!1,Ke={error:yn,text:Ke})}}Jn?(ge.next(new Zt({body:Ke,headers:lt,status:Yt,statusText:Rt,url:Qt||void 0})),ge.complete()):ge.error(new He({error:Ke,headers:lt,status:Yt,statusText:Rt,url:Qt||void 0}))},ut=lt=>{const{url:Yt}=st(),Rt=new He({error:lt,status:ye.status||0,statusText:ye.statusText||"Unknown Error",url:Yt||void 0});ge.error(Rt)};let bt=!1;const Pt=lt=>{bt||(ge.next(st()),bt=!0);let Yt={type:tt.DownloadProgress,loaded:lt.loaded};lt.lengthComputable&&(Yt.total=lt.total),"text"===I.responseType&&!!ye.responseText&&(Yt.partialText=ye.responseText),ge.next(Yt)},yt=lt=>{let Yt={type:tt.UploadProgress,loaded:lt.loaded};lt.lengthComputable&&(Yt.total=lt.total),ge.next(Yt)};return ye.addEventListener("load",Ge),ye.addEventListener("error",ut),ye.addEventListener("timeout",ut),ye.addEventListener("abort",ut),I.reportProgress&&(ye.addEventListener("progress",Pt),null!==be&&ye.upload&&ye.upload.addEventListener("progress",yt)),ye.send(be),ge.next({type:tt.Sent}),()=>{ye.removeEventListener("error",ut),ye.removeEventListener("abort",ut),ye.removeEventListener("load",Ge),ye.removeEventListener("timeout",ut),I.reportProgress&&(ye.removeEventListener("progress",Pt),null!==be&&ye.upload&&ye.upload.removeEventListener("progress",yt)),ye.readyState!==ye.DONE&&ye.abort()}})}}return te.\u0275fac=function(I){return new(I||te)(p.LFG(C.JF))},te.\u0275prov=p.Yz7({token:te,factory:te.\u0275fac}),te})();const Ci=new p.OlP("XSRF_COOKIE_NAME"),ci=new p.OlP("XSRF_HEADER_NAME");class qn{}let pr=(()=>{class te{constructor(I,ge,ye){this.doc=I,this.platform=ge,this.cookieName=ye,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const I=this.doc.cookie||"";return I!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,C.Mx)(I,this.cookieName),this.lastCookieString=I),this.lastToken}}return te.\u0275fac=function(I){return new(I||te)(p.LFG(C.K0),p.LFG(p.Lbi),p.LFG(Ci))},te.\u0275prov=p.Yz7({token:te,factory:te.\u0275fac}),te})(),Cr=(()=>{class te{constructor(I,ge){this.tokenService=I,this.headerName=ge}intercept(I,ge){const ye=I.url.toLowerCase();if("GET"===I.method||"HEAD"===I.method||ye.startsWith("http://")||ye.startsWith("https://"))return ge.handle(I);const be=this.tokenService.getToken();return null!==be&&!I.headers.has(this.headerName)&&(I=I.clone({headers:I.headers.set(this.headerName,be)})),ge.handle(I)}}return te.\u0275fac=function(I){return new(I||te)(p.LFG(qn),p.LFG(ci))},te.\u0275prov=p.Yz7({token:te,factory:te.\u0275fac}),te})(),di=(()=>{class te{constructor(I,ge){this.backend=I,this.injector=ge,this.chain=null}handle(I){if(null===this.chain){const ge=this.injector.get(je,[]);this.chain=ge.reduceRight((ye,be)=>new he(ye,be),this.backend)}return this.chain.handle(I)}}return te.\u0275fac=function(I){return new(I||te)(p.LFG(Y),p.LFG(p.zs3))},te.\u0275prov=p.Yz7({token:te,factory:te.\u0275fac}),te})(),wr=(()=>{class te{static disable(){return{ngModule:te,providers:[{provide:Cr,useClass:Xt}]}}static withOptions(I={}){return{ngModule:te,providers:[I.cookieName?{provide:Ci,useValue:I.cookieName}:[],I.headerName?{provide:ci,useValue:I.headerName}:[]]}}}return te.\u0275fac=function(I){return new(I||te)},te.\u0275mod=p.oAB({type:te}),te.\u0275inj=p.cJS({providers:[Cr,{provide:je,useExisting:Cr,multi:!0},{provide:qn,useClass:pr},{provide:Ci,useValue:"XSRF-TOKEN"},{provide:ci,useValue:"X-XSRF-TOKEN"}]}),te})(),Ar=(()=>{class te{}return te.\u0275fac=function(I){return new(I||te)},te.\u0275mod=p.oAB({type:te}),te.\u0275inj=p.cJS({providers:[pe,{provide:V,useClass:di},Ui,{provide:Y,useExisting:Ui}],imports:[[wr.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),te})()},6738:(ve,G,S)=>{"use strict";S.d(G,{deG:()=>Ln,tb:()=>Zv,AFp:()=>Wv,ip1:()=>Gv,CZH:()=>Cm,hGG:()=>nE,z2F:()=>Pm,sBO:()=>jb,Sil:()=>vb,_Vd:()=>Wh,EJc:()=>_b,SBq:()=>wd,qLn:()=>Ka,vpe:()=>Ta,tBr:()=>zr,XFs:()=>I,OlP:()=>rt,zs3:()=>Cs,ZZ4:()=>Nm,aQg:()=>Fm,soG:()=>bm,YKP:()=>lv,h0i:()=>nc,PXZ:()=>Ab,R0b:()=>Gs,FiY:()=>Ai,Lbi:()=>pb,g9A:()=>Kv,Qsj:()=>aw,FYo:()=>iv,JOm:()=>_s,tp0:()=>Ri,Rgc:()=>Md,dDg:()=>Jv,GfV:()=>ov,s_b:()=>Zh,ifc:()=>yt,eFA:()=>t0,G48:()=>Ub,_c5:()=>tE,VLi:()=>xb,c2e:()=>gb,zSh:()=>td,wAp:()=>ln,vHH:()=>mt,cg1:()=>Qg,kL8:()=>Py,dqk:()=>Ke,sIi:()=>au,CqO:()=>O_,QGY:()=>zg,F4k:()=>x_,RDi:()=>fe,AaK:()=>_e,TTD:()=>yo,_Bn:()=>tv,xp6:()=>Af,uIk:()=>dd,Tol:()=>ey,Gre:()=>my,Suo:()=>Dv,Xpm:()=>X,lG2:()=>De,Yz7:()=>qn,cJS:()=>Cr,oAB:()=>ft,Yjl:()=>Ot,Y36:()=>hr,_UZ:()=>$g,BQk:()=>Bh,ynx:()=>kh,qZA:()=>Lh,TgZ:()=>Fh,EpF:()=>P_,LFG:()=>Tt,$8M:()=>m,$Z:()=>xo,NdJ:()=>Gg,CRH:()=>Mv,oxw:()=>N_,Hsn:()=>L_,F$t:()=>F_,Q6J:()=>es,s9C:()=>qg,VKq:()=>fv,iGM:()=>Ev,CHM:()=>ta,oJD:()=>_c,LSH:()=>Tu,YNc:()=>Yu,_uU:()=>ay,Oqu:()=>Yg,hij:()=>jh});var C=S(2916),p=S(2866),J=S(9146),W=S(3009),z=S(5529),$=S(2654),V=S(1762);class N{constructor(t,n){this.subjectFactory=t,this.selector=n}call(t,n){const{selector:i}=this,o=this.subjectFactory(),a=i(o).subscribe(t);return a.add(n.subscribe(o)),a}}var j=S(4327);function q(){return new z.xQ}function re(e){for(let t in e)if(e[t]===re)return t;throw Error("Could not find renamed property on target object.")}function _e(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(_e).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 Ae(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const At=re({__forward_ref__:re});function et(e){return e.__forward_ref__=et,e.toString=function(){return _e(this())},e}function Ze(e){return function Bt(e){return"function"==typeof e&&e.hasOwnProperty(At)&&e.__forward_ref__===et}(e)?e():e}class mt extends Error{constructor(t,n){super(function pn(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function ht(e){return"string"==typeof e?e:null==e?"":String(e)}function tt(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():ht(e)}function He(e,t){const n=t?` in ${t}`:"";throw new mt(-201,`No provider for ${tt(e)} found${n}`)}function Sn(e,t){null==e&&function nn(e,t,n,i){throw new Error(`ASSERTION ERROR: ${e}`+(null==i?"":` [Expected=> ${n} ${i} ${t} <=Actual]`))}(t,e,null,"!=")}function qn(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Cr(e){return{providers:e.providers||[],imports:e.imports||[]}}function di(e){return or(e,se)||or(e,te)}function or(e,t){return e.hasOwnProperty(t)?e[t]:null}function Ar(e){return e&&(e.hasOwnProperty(Ce)||e.hasOwnProperty(U))?e[Ce]:null}const se=re({\u0275prov:re}),Ce=re({\u0275inj:re}),te=re({ngInjectableDef:re}),U=re({ngInjectorDef:re});var I=(()=>((I=I||{})[I.Default=0]="Default",I[I.Host=1]="Host",I[I.Self=2]="Self",I[I.SkipSelf=4]="SkipSelf",I[I.Optional=8]="Optional",I))();let ge;function be(e){const t=ge;return ge=e,t}function Re(e,t,n){const i=di(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&I.Optional?null:void 0!==t?t:void He(_e(e),"Injector")}function Ge(e){return{toString:e}.toString()}var ut=(()=>((ut=ut||{})[ut.OnPush=0]="OnPush",ut[ut.Default=1]="Default",ut))(),yt=(()=>{return(e=yt||(yt={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",yt;var e})();const lt=typeof globalThis<"u"&&globalThis,Yt=typeof window<"u"&&window,Rt=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,Ke=lt||typeof global<"u"&&global||Yt||Rt,yn={},xt=[],wt=re({\u0275cmp:re}),bn=re({\u0275dir:re}),pt=re({\u0275pipe:re}),dn=re({\u0275mod:re}),Lt=re({\u0275fac:re}),Xn=re({__NG_ELEMENT_ID__:re});let Te=0;function X(e){return Ge(()=>{const n={},i={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===ut.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||xt,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||yt.Emulated,id:"c",styles:e.styles||xt,_:null,setInput:null,schemas:e.schemas||null,tView:null},o=e.directives,a=e.features,f=e.pipes;return i.id+=Te++,i.inputs=ae(e.inputs,n),i.outputs=ae(e.outputs),a&&a.forEach(g=>g(i)),i.directiveDefs=o?()=>("function"==typeof o?o():o).map(Se):null,i.pipeDefs=f?()=>("function"==typeof f?f():f).map(Fe):null,i})}function Se(e){return Mt(e)||function In(e){return e[bn]||null}(e)}function Fe(e){return function Xe(e){return e[pt]||null}(e)}const dt={};function ft(e){return Ge(()=>{const t={type:e.type,bootstrap:e.bootstrap||xt,declarations:e.declarations||xt,imports:e.imports||xt,exports:e.exports||xt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(dt[e.id]=e.type),t})}function ae(e,t){if(null==e)return yn;const n={};for(const i in e)if(e.hasOwnProperty(i)){let o=e[i],a=o;Array.isArray(o)&&(a=o[1],o=o[0]),n[o]=i,t&&(t[o]=a)}return n}const De=X;function Ot(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function Mt(e){return e[wt]||null}function Ve(e,t){const n=e[dn]||null;if(!n&&!0===t)throw new Error(`Type ${_e(e)} does not have '\u0275mod' property.`);return n}function Lr(e){return Array.isArray(e)&&"object"==typeof e[1]}function Wn(e){return Array.isArray(e)&&!0===e[1]}function ri(e){return 0!=(8&e.flags)}function mo(e){return 2==(2&e.flags)}function Ao(e){return 1==(1&e.flags)}function Yr(e){return null!==e.template}function ws(e){return 0!=(512&e[2])}function $i(e,t){return e.hasOwnProperty(Lt)?e[Lt]:null}class os{constructor(t,n,i){this.previousValue=t,this.currentValue=n,this.firstChange=i}isFirstChange(){return this.firstChange}}function yo(){return vo}function vo(e){return e.type.prototype.ngOnChanges&&(e.setInput=Dr),ol}function ol(){const e=to(this),t=e?.current;if(t){const n=e.previous;if(n===yn)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function Dr(e,t,n,i){const o=to(e)||function Ds(e,t){return e[Js]=t}(e,{previous:yn,current:null}),a=o.current||(o.current={}),f=o.previous,g=this.declaredInputs[n],v=f[g];a[g]=new os(v&&v.currentValue,t,f===yn),e[i]=t}yo.ngInherit=!0;const Js="__ngSimpleChanges__";function to(e){return e[Js]||null}const E="math";let L;function fe(e){L=e}function Oe(){return void 0!==L?L:typeof document<"u"?document:void 0}function nt(e){return!!e.listen}const fn={createRenderer:(e,t)=>Oe()};function $t(e){for(;Array.isArray(e);)e=e[0];return e}function Un(e,t){return $t(t[e])}function gn(e,t){return $t(t[e.index])}function Mr(e,t){return e.data[t]}function tr(e,t){const n=t[e];return Lr(n)?n:n[0]}function wo(e){return 4==(4&e[2])}function Ei(e){return 128==(128&e[2])}function ro(e,t){return null==t?null:e[t]}function ss(e){e[18]=0}function ea(e,t){e[5]+=t;let n=e,i=e[3];for(;null!==i&&(1===t&&1===n[5]||-1===t&&0===n[5]);)i[5]+=t,n=i,i=i[3]}const en={lFrame:Ie(null),bindingsEnabled:!0};function sl(){return en.bindingsEnabled}function We(){return en.lFrame.lView}function un(){return en.lFrame.tView}function ta(e){return en.lFrame.contextLView=e,e[8]}function fr(){let e=No();for(;null!==e&&64===e.type;)e=e.parent;return e}function No(){return en.lFrame.currentTNode}function Jr(e,t){const n=en.lFrame;n.currentTNode=e,n.isParent=t}function na(){return en.lFrame.isParent}function Na(){en.lFrame.isParent=!1}function oo(){return en.lFrame.bindingIndex++}function xi(e,t){const n=en.lFrame;n.bindingIndex=n.bindingRootIndex=e,ra(t)}function ra(e){en.lFrame.currentDirectiveIndex=e}function Lo(){return en.lFrame.currentQueryIndex}function Fa(e){en.lFrame.currentQueryIndex=e}function kl(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function oa(e,t,n){if(n&I.SkipSelf){let o=t,a=e;for(;!(o=o.parent,null!==o||n&I.Host||(o=kl(a),null===o||(a=a[15],10&o.type))););if(null===o)return!1;t=o,e=a}const i=en.lFrame=Ne();return i.currentTNode=t,i.lView=e,!0}function me(e){const t=Ne(),n=e[1];en.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Ne(){const e=en.lFrame,t=null===e?null:e.child;return null===t?Ie(e):t}function Ie(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 Dt(){const e=en.lFrame;return en.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const cn=Dt;function Rn(){const e=Dt();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 Vr(){return en.lFrame.selectedIndex}function bo(e){en.lFrame.selectedIndex=e}function Fn(){const e=en.lFrame;return Mr(e.tView,e.selectedIndex)}function ua(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n<i;n++){const a=e.data[n].type.prototype,{ngAfterContentInit:f,ngAfterContentChecked:g,ngAfterViewInit:v,ngAfterViewChecked:T,ngOnDestroy:O}=a;f&&(e.contentHooks||(e.contentHooks=[])).push(-n,f),g&&((e.contentHooks||(e.contentHooks=[])).push(n,g),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,g)),v&&(e.viewHooks||(e.viewHooks=[])).push(-n,v),T&&((e.viewHooks||(e.viewHooks=[])).push(n,T),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,T)),null!=O&&(e.destroyHooks||(e.destroyHooks=[])).push(n,O)}}function ca(e,t,n){al(e,t,3,n)}function ko(e,t,n,i){(3&e[2])===n&&al(e,t,n,i)}function ka(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function al(e,t,n,i){const a=i??-1,f=t.length-1;let g=0;for(let v=void 0!==i?65535&e[18]:0;v<f;v++)if("number"==typeof t[v+1]){if(g=t[v],null!=i&&g>=i)break}else t[v]<0&&(e[18]+=65536),(g<a||-1==a)&&(ll(e,n,t,v),e[18]=(4294901760&e[18])+v+2),v++}function ll(e,t,n,i){const o=n[i]<0,a=n[i+1],g=e[o?-n[i]:n[i]];if(o){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{a.call(g)}finally{}}}else try{a.call(g)}finally{}}class ii{constructor(t,n,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i}}function Wi(e,t,n){const i=nt(e);let o=0;for(;o<n.length;){const a=n[o];if("number"==typeof a){if(0!==a)break;o++;const f=n[o++],g=n[o++],v=n[o++];i?e.setAttribute(t,g,v,f):t.setAttributeNS(f,g,v)}else{const f=a,g=n[++o];cl(f)?i&&e.setProperty(t,f,g):i?e.setAttribute(t,f,g):t.setAttribute(f,g),o++}}return o}function Ts(e){return 3===e||4===e||6===e}function cl(e){return 64===e.charCodeAt(0)}function Ua(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let i=0;i<t.length;i++){const o=t[i];"number"==typeof o?n=o:0===n||oi(e,n,o,null,-1===n||2===n?t[++i]:null)}}return e}function oi(e,t,n,i,o){let a=0,f=e.length;if(-1===t)f=-1;else for(;a<e.length;){const g=e[a++];if("number"==typeof g){if(g===t){f=-1;break}if(g>t){f=a-1;break}}}for(;a<e.length;){const g=e[a];if("number"==typeof g)break;if(g===n){if(null===i)return void(null!==o&&(e[a+1]=o));if(i===e[a+1])return void(e[a+2]=o)}a++,null!==i&&a++,null!==o&&a++}-1!==f&&(e.splice(f,0,t),a=f+1),e.splice(a++,0,n),null!==i&&e.splice(a++,0,i),null!==o&&e.splice(a++,0,o)}function Ps(e){return-1!==e}function ao(e){return 32767&e}function Uo(e,t){let n=function ha(e){return e>>16}(e),i=t;for(;n>0;)i=i[15],n--;return i}let Eo=!0;function ja(e){const t=Eo;return Eo=e,t}let jl=0;function jo(e,t){const n=Qn(e,t);if(-1!==n)return n;const i=t[1];i.firstCreatePass&&(e.injectorIndex=t.length,qi(i.data,e),qi(t,null),qi(i.blueprint,null));const o=Do(e,t),a=e.injectorIndex;if(Ps(o)){const f=ao(o),g=Uo(o,t),v=g[1].data;for(let T=0;T<8;T++)t[a+T]=g[f+T]|v[f+T]}return t[a+8]=o,a}function qi(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Qn(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Do(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,i=null,o=t;for(;null!==o;){const a=o[1],f=a.type;if(i=2===f?a.declTNode:1===f?o[6]:null,null===i)return-1;if(n++,o=o[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return-1}function xs(e,t,n){!function Vl(e,t,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(Xn)&&(i=n[Xn]),null==i&&(i=n[Xn]=jl++);const o=255&i;t.data[e+(o>>5)]|=1<<o}(e,t,n)}function si(e,t,n){if(n&I.Optional)return e;He(t,"NodeInjector")}function cs(e,t,n,i){if(n&I.Optional&&void 0===i&&(i=null),0==(n&(I.Self|I.Host))){const o=e[9],a=be(void 0);try{return o?o.get(t,i,n&I.Optional):Re(t,i,n&I.Optional)}finally{be(a)}}return si(i,t,n)}function pa(e,t,n,i=I.Default,o){if(null!==e){const a=function dl(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Xn)?e[Xn]:void 0;return"number"==typeof t?t>=0?255&t:Hl:t}(n);if("function"==typeof a){if(!oa(t,e,i))return i&I.Host?si(o,n,i):cs(t,n,i,o);try{const f=a(i);if(null!=f||i&I.Optional)return f;He(n)}finally{cn()}}else if("number"==typeof a){let f=null,g=Qn(e,t),v=-1,T=i&I.Host?t[16][6]:null;for((-1===g||i&I.SkipSelf)&&(v=-1===g?Do(e,t):t[g+8],-1!==v&&Is(i,!1)?(f=t[1],g=ao(v),t=Uo(v,t)):g=-1);-1!==g;){const O=t[1];if(ma(a,g,O.data)){const K=hu(g,t,n,f,i,T);if(K!==ds)return K}v=t[g+8],-1!==v&&Is(i,t[1].data[g+8]===T)&&ma(a,g,t)?(f=O,g=ao(v),t=Uo(v,t)):g=-1}}}return cs(t,n,i,o)}const ds={};function Hl(){return new Vo(fr(),We())}function hu(e,t,n,i,o,a){const f=t[1],g=f.data[e+8],O=Va(g,f,n,null==i?mo(g)&&Eo:i!=f&&0!=(3&g.type),o&I.Host&&a===g);return null!==O?ga(t,f,O,g):ds}function Va(e,t,n,i,o){const a=e.providerIndexes,f=t.data,g=1048575&a,v=e.directiveStart,O=a>>20,le=o?g+O:e.directiveEnd;for(let Ee=i?g:g+O;Ee<le;Ee++){const ke=f[Ee];if(Ee<v&&n===ke||Ee>=v&&ke.type===n)return Ee}if(o){const Ee=f[v];if(Ee&&Yr(Ee)&&Ee.type===n)return v}return null}function ga(e,t,n,i){let o=e[n];const a=t.data;if(function da(e){return e instanceof ii}(o)){const f=o;f.resolving&&function mn(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new mt(-200,`Circular dependency in DI detected for ${e}${n}`)}(tt(a[n]));const g=ja(f.canSeeViewProviders);f.resolving=!0;const v=f.injectImpl?be(f.injectImpl):null;oa(e,i,I.Default);try{o=e[n]=f.factory(void 0,a,e,i),t.firstCreatePass&&n>=i.directiveStart&&function $n(e,t,n){const{ngOnChanges:i,ngOnInit:o,ngDoCheck:a}=t.type.prototype;if(i){const f=vo(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,f),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,f)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,o),a&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,a),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,a))}(n,a[n],t)}finally{null!==v&&be(v),ja(g),f.resolving=!1,cn()}}return o}function ma(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function Is(e,t){return!(e&I.Self||e&I.Host&&t)}class Vo{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,i){return pa(this._tNode,this._lView,t,i,n)}}function m(e){return function Os(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const i=n.length;let o=0;for(;o<i;){const a=n[o];if(Ts(a))break;if(0===a)o+=2;else if("number"==typeof a)for(o++;o<i&&"string"==typeof n[o];)o++;else{if(a===t)return n[o+1];o+=2}}}return null}(fr(),e)}const c="__parameters__";function Z(e,t,n){return Ge(()=>{const i=function R(e){return function(...n){if(e){const i=e(...n);for(const o in i)this[o]=i[o]}}}(t);function o(...a){if(this instanceof o)return i.apply(this,a),this;const f=new o(...a);return g.annotation=f,g;function g(v,T,O){const K=v.hasOwnProperty(c)?v[c]:Object.defineProperty(v,c,{value:[]})[c];for(;K.length<=O;)K.push(null);return(K[O]=K[O]||[]).push(f),v}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}class rt{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=qn({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}toString(){return`InjectionToken ${this._desc}`}}const Ln=new rt("AnalyzeForEntryComponents");function Xr(e,t){void 0===t&&(t=e);for(let n=0;n<e.length;n++){let i=e[n];Array.isArray(i)?(t===e&&(t=e.slice(0,n)),Xr(i,t)):t!==e&&t.push(i)}return t}function Ho(e,t){e.forEach(n=>Array.isArray(n)?Ho(n,t):t(n))}function sc(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Ii(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function hl(e,t){const n=[];for(let i=0;i<e;i++)n.push(t);return n}function Ki(e,t,n){let i=Rs(e,t);return i>=0?e[1|i]=n:(i=~i,function Od(e,t,n,i){let o=e.length;if(o==t)e.push(n,i);else if(1===o)e.push(i,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=i}}(e,i,t,n)),i}function mu(e,t){const n=Rs(e,t);if(n>=0)return e[1|n]}function Rs(e,t){return function pl(e,t,n){let i=0,o=e.length>>n;for(;o!==i;){const a=i+(o-i>>1),f=e[a<<n];if(t===f)return a<<n;f>t?o=a:i=a+1}return~(o<<n)}(e,t,1)}const P={},B="__NG_DI_FLAG__",ee="ngTempTokenPath",Me=/\n/gm,Ct="__source",jt=re({provide:String,useValue:re});let It;function Cn(e){const t=It;return It=e,t}function Jt(e,t=I.Default){if(void 0===It)throw new mt(203,"");return null===It?Re(e,void 0,t):It.get(e,t&I.Optional?null:void 0,t)}function Tt(e,t=I.Default){return(function ye(){return ge}()||Jt)(Ze(e),t)}const _r=Tt;function rr(e){const t=[];for(let n=0;n<e.length;n++){const i=Ze(e[n]);if(Array.isArray(i)){if(0===i.length)throw new mt(900,"");let o,a=I.Default;for(let f=0;f<i.length;f++){const g=i[f],v=Gn(g);"number"==typeof v?-1===v?o=g.token:a|=v:o=g}t.push(Tt(o,a))}else t.push(Tt(i))}return t}function xr(e,t){return e[B]=t,e.prototype[B]=t,e}function Gn(e){return e[B]}const zr=xr(Z("Inject",e=>({token:e})),-1),Ai=xr(Z("Optional"),8),Ri=xr(Z("SkipSelf"),4);let lo,vu;function mi(e){return function uo(){if(void 0===lo&&(lo=null,Ke.trustedTypes))try{lo=Ke.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return lo}()?.createHTML(e)||e}function Fd(e){return function Cu(){if(void 0===vu&&(vu=null,Ke.trustedTypes))try{vu=Ke.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return vu}()?.createHTML(e)||e}class bu{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}function So(e){return e instanceof bu?e.changingThisBreaksApplicationSecurity:e}function gl(e,t){const n=function ap(e){return e instanceof bu&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}class kd{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(mi(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class co{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 i=this.inertDocument.createElement("body");n.appendChild(i)}}getInertBodyElement(t){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=mi(t),n;const i=this.inertDocument.createElement("body");return i.innerHTML=mi(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(i),i}stripCustomNsAttrs(t){const n=t.attributes;for(let o=n.length-1;0<o;o--){const f=n.item(o).name;("xmlns:ns1"===f||0===f.indexOf("ns1:"))&&t.removeAttribute(f)}let i=t.firstChild;for(;i;)i.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(i),i=i.nextSibling}}const hc=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,Eu=/^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 Wl(e){return(e=String(e)).match(hc)||e.match(Eu)?e:"unsafe:"+e}function qo(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function $a(...e){const t={};for(const n of e)for(const i in n)n.hasOwnProperty(i)&&(t[i]=!0);return t}const Mu=qo("area,br,col,hr,img,wbr"),Ls=qo("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Bd=qo("rp,rt"),ql=$a(Mu,$a(Ls,qo("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")),$a(Bd,qo("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")),$a(Bd,Ls)),pc=qo("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),gc=qo("srcset"),mc=$a(pc,gc,qo("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"),qo("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")),fp=qo("script,style,template");class Ud{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,i=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?i=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,i&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let o=this.checkClobberedElement(n,n.nextSibling);if(o){n=o;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!ql.hasOwnProperty(n))return this.sanitizedSomething=!0,!fp.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const i=t.attributes;for(let o=0;o<i.length;o++){const a=i.item(o),f=a.name,g=f.toLowerCase();if(!mc.hasOwnProperty(g)){this.sanitizedSomething=!0;continue}let v=a.value;pc[g]&&(v=Wl(v)),gc[g]&&(e=v,v=(e=String(e)).split(",").map(t=>Wl(t.trim())).join(", ")),this.buf.push(" ",f,'="',Ko(v),'"')}var e;return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();ql.hasOwnProperty(n)&&!Mu.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Ko(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 jd=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Yi=/([^\#-~ |!])/g;function Ko(e){return e.replace(/&/g,"&").replace(jd,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Yi,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let Su;function ml(e){return"content"in e&&function _l(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Nr=(()=>((Nr=Nr||{})[Nr.NONE=0]="NONE",Nr[Nr.HTML=1]="HTML",Nr[Nr.STYLE=2]="STYLE",Nr[Nr.SCRIPT=3]="SCRIPT",Nr[Nr.URL=4]="URL",Nr[Nr.RESOURCE_URL=5]="RESOURCE_URL",Nr))();function _c(e){const t=Wa();return t?Fd(t.sanitize(Nr.HTML,e)||""):gl(e,"HTML")?Fd(So(e)):function hp(e,t){let n=null;try{Su=Su||function fc(e){const t=new co(e);return function ya(){try{return!!(new window.DOMParser).parseFromString(mi(""),"text/html")}catch{return!1}}()?new kd(t):t}(e);let i=t?String(t):"";n=Su.getInertBodyElement(i);let o=5,a=i;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,i=a,a=n.innerHTML,n=Su.getInertBodyElement(i)}while(i!==a);return mi((new Ud).sanitizeChildren(ml(n)||n))}finally{if(n){const i=ml(n)||n;for(;i.firstChild;)i.removeChild(i.firstChild)}}}(Oe(),ht(e))}function Tu(e){const t=Wa();return t?t.sanitize(Nr.URL,e)||"":gl(e,"URL")?So(e):Wl(ht(e))}function Wa(){const e=We();return e&&e[12]}const Zl="__ngContext__";function _i(e,t){e[Zl]=t}function wc(e){const t=function qa(e){return e[Zl]||null}(e);return t?Array.isArray(t)?t:t.lView:null}function yl(e){return e.ngOriginalError}function rn(e,...t){e.error(...t)}class Ka{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t),i=function vl(e){return e&&e.ngErrorLogger||rn}(t);i(this._console,"ERROR",t),n&&i(this._console,"ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&yl(t);for(;n&&yl(n);)n=yl(n);return n||null}}const Yd=(()=>(typeof requestAnimationFrame<"u"&&requestAnimationFrame||setTimeout).bind(Ke))();function yr(e){return e instanceof Function?e():e}var _s=(()=>((_s=_s||{})[_s.Important=1]="Important",_s[_s.DashCase=2]="DashCase",_s))();function Ou(e,t){return undefined(e,t)}function Ql(e){const t=e[3];return Wn(t)?t[3]:t}function Iu(e){return nf(e[13])}function Au(e){return nf(e[4])}function nf(e){for(;null!==e&&!Wn(e);)e=e[4];return e}function Qa(e,t,n,i,o){if(null!=i){let a,f=!1;Wn(i)?a=i:Lr(i)&&(f=!0,i=i[0]);const g=$t(i);0===e&&null!==n?null==o?hf(t,n,g):el(t,n,g,o||null,!0):1===e&&null!==n?el(t,n,g,o||null,!0):2===e?function bf(e,t,n){const i=Jl(e,t);i&&function gf(e,t,n,i){nt(e)?e.removeChild(t,n,i):t.removeChild(n)}(e,i,t,n)}(t,g,f):3===e&&t.destroyNode(g),null!=a&&function Df(e,t,n,i,o){const a=n[7];a!==$t(n)&&Qa(t,e,i,a,o);for(let g=10;g<n.length;g++){const v=n[g];Xl(v[1],v,e,t,i,a)}}(t,e,a,n,o)}}function Nu(e,t,n){if(nt(e))return e.createElement(t,n);{const i=null!==n?function D(e){const t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":t===E?"http://www.w3.org/1998/MathML/":null}(n):null;return null===i?e.createElement(t):e.createElementNS(i,t)}}function uf(e,t){const n=e[9],i=n.indexOf(t),o=t[3];1024&t[2]&&(t[2]&=-1025,ea(o,-1)),n.splice(i,1)}function Tc(e,t){if(e.length<=10)return;const n=10+t,i=e[n];if(i){const o=i[17];null!==o&&o!==e&&uf(o,i),t>0&&(e[n-1][4]=i[4]);const a=Ii(e,10+t);!function Fu(e,t){Xl(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(i[1],i);const f=a[19];null!==f&&f.detachView(a[1]),i[3]=null,i[4]=null,i[2]&=-129}return i}function cf(e,t){if(!(256&t[2])){const n=t[11];nt(n)&&n.destroyNode&&Xl(e,t,n,3,null,null),function Xa(e){let t=e[13];if(!t)return Pc(e[1],e);for(;t;){let n=null;if(Lr(t))n=t[13];else{const i=t[10];i&&(n=i)}if(!n){for(;t&&!t[4]&&t!==e;)Lr(t)&&Pc(t[1],t),t=t[3];null===t&&(t=e),Lr(t)&&Pc(t[1],t),n=t&&t[4]}t=n}}(t)}}function Pc(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function Tp(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let i=0;i<n.length;i+=2){const o=t[n[i]];if(!(o instanceof ii)){const a=n[i+1];if(Array.isArray(a))for(let f=0;f<a.length;f+=2){const g=o[a[f]],v=a[f+1];try{v.call(g)}finally{}}else try{a.call(o)}finally{}}}}(e,t),function Sp(e,t){const n=e.cleanup,i=t[7];let o=-1;if(null!==n)for(let a=0;a<n.length-1;a+=2)if("string"==typeof n[a]){const f=n[a+1],g="function"==typeof f?f(t):$t(t[f]),v=i[o=n[a+2]],T=n[a+3];"boolean"==typeof T?g.removeEventListener(n[a],v,T):T>=0?i[o=T]():i[o=-T].unsubscribe(),a+=2}else{const f=i[o=n[a+1]];n[a].call(f)}if(null!==i){for(let a=o+1;a<i.length;a++)i[a]();t[7]=null}}(e,t),1===t[1].type&&nt(t[11])&&t[11].destroy();const n=t[17];if(null!==n&&Wn(t[3])){n!==t[3]&&uf(n,t);const i=t[19];null!==i&&i.detachView(e)}}}function df(e,t,n){return function ff(e,t,n){let i=t;for(;null!==i&&40&i.type;)i=(t=i).parent;if(null===i)return n[0];if(2&i.flags){const o=e.data[i.directiveStart].encapsulation;if(o===yt.None||o===yt.Emulated)return null}return gn(i,n)}(e,t.parent,n)}function el(e,t,n,i,o){nt(e)?e.insertBefore(t,n,i,o):t.insertBefore(n,i,o)}function hf(e,t,n){nt(e)?e.appendChild(t,n):t.appendChild(n)}function pf(e,t,n,i,o){null!==i?el(e,t,n,i,o):hf(e,t,n)}function Jl(e,t){return nt(e)?e.parentNode(t):t.parentNode}function _f(e,t,n){return vf(e,t,n)}let vf=function yf(e,t,n){return 40&e.type?gn(e,n):null};function ku(e,t,n,i){const o=df(e,i,t),a=t[11],g=_f(i.parent||t[6],i,t);if(null!=o)if(Array.isArray(n))for(let v=0;v<n.length;v++)pf(a,o,n[v],g,!1);else pf(a,o,n,g,!1)}function Bu(e,t){if(null!==t){const n=t.type;if(3&n)return gn(t,e);if(4&n)return xc(-1,e[t.index]);if(8&n){const i=t.child;if(null!==i)return Bu(e,i);{const o=e[t.index];return Wn(o)?xc(-1,o):$t(o)}}if(32&n)return Ou(t,e)()||$t(e[t.index]);{const i=wf(e,t);return null!==i?Array.isArray(i)?i[0]:Bu(Ql(e[16]),i):Bu(e,t.next)}}return null}function wf(e,t){return null!==t?e[16][6].projection[t.projection]:null}function xc(e,t){const n=10+e+1;if(n<t.length){const i=t[n],o=i[1].firstChild;if(null!==o)return Bu(i,o)}return t[7]}function Ji(e,t,n,i,o,a,f){for(;null!=n;){const g=i[n.index],v=n.type;if(f&&0===t&&(g&&_i($t(g),i),n.flags|=4),64!=(64&n.flags))if(8&v)Ji(e,t,n.child,i,o,a,!1),Qa(t,e,o,g,a);else if(32&v){const T=Ou(n,i);let O;for(;O=T();)Qa(t,e,o,O,a);Qa(t,e,o,g,a)}else 16&v?Ef(e,t,i,n,o,a):Qa(t,e,o,g,a);n=f?n.projectionNext:n.next}}function Xl(e,t,n,i,o,a){Ji(n,i,e.firstChild,t,o,a,!1)}function Ef(e,t,n,i,o,a){const f=n[16],v=f[6].projection[i.projection];if(Array.isArray(v))for(let T=0;T<v.length;T++)Qa(t,e,o,v[T],a);else Ji(e,t,v,f[3],o,a,!0)}function Mf(e,t,n){nt(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function Oc(e,t,n){nt(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}function Sf(e,t,n){let i=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const a=t.length;if(o+a===i||e.charCodeAt(o+a)<=32)return o}n=o+1}}const Pf="ng-template";function Op(e,t,n){let i=0;for(;i<e.length;){let o=e[i++];if(n&&"class"===o){if(o=e[i],-1!==Sf(o.toLowerCase(),t,0))return!0}else if(1===o){for(;i<e.length&&"string"==typeof(o=e[i++]);)if(o.toLowerCase()===t)return!0;return!1}}return!1}function xf(e){return 4===e.type&&e.value!==Pf}function Ip(e,t,n){return t===(4!==e.type||n?e.value:Pf)}function Ap(e,t,n){let i=4;const o=e.attrs||[],a=function Fp(e){for(let t=0;t<e.length;t++)if(Ts(e[t]))return t;return e.length}(o);let f=!1;for(let g=0;g<t.length;g++){const v=t[g];if("number"!=typeof v){if(!f)if(4&i){if(i=2|1&i,""!==v&&!Ip(e,v,n)||""===v&&1===t.length){if(Zo(i))return!1;f=!0}}else{const T=8&i?v:t[++g];if(8&i&&null!==e.attrs){if(!Op(e.attrs,T,n)){if(Zo(i))return!1;f=!0}continue}const K=Rp(8&i?"class":v,o,xf(e),n);if(-1===K){if(Zo(i))return!1;f=!0;continue}if(""!==T){let le;le=K>a?"":o[K+1].toLowerCase();const Ee=8&i?le:null;if(Ee&&-1!==Sf(Ee,T,0)||2&i&&T!==le){if(Zo(i))return!1;f=!0}}}}else{if(!f&&!Zo(i)&&!Zo(v))return!1;if(f&&Zo(v))continue;f=!1,i=v|1&i}}return Zo(i)||f}function Zo(e){return 0==(1&e)}function Rp(e,t,n,i){if(null===t)return-1;let o=0;if(i||!n){let a=!1;for(;o<t.length;){const f=t[o];if(f===e)return o;if(3===f||6===f)a=!0;else{if(1===f||2===f){let g=t[++o];for(;"string"==typeof g;)g=t[++o];continue}if(4===f)break;if(0===f){o+=4;continue}}o+=a?1:2}return-1}return function Lp(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const i=e[n];if("number"==typeof i)return-1;if(i===t)return n;n++}return-1}(t,e)}function Of(e,t,n=!1){for(let i=0;i<t.length;i++)if(Ap(e,t[i],n))return!0;return!1}function kp(e,t){e:for(let n=0;n<t.length;n++){const i=t[n];if(e.length===i.length){for(let o=0;o<e.length;o++)if(e[o]!==i[o])continue e;return!0}}return!1}function If(e,t){return e?":not("+t.trim()+")":t}function Bp(e){let t=e[0],n=1,i=2,o="",a=!1;for(;n<e.length;){let f=e[n];if("string"==typeof f)if(2&i){const g=e[++n];o+="["+f+(g.length>0?'="'+g+'"':"")+"]"}else 8&i?o+="."+f:4&i&&(o+=" "+f);else""!==o&&!Zo(f)&&(t+=If(a,o),o=""),i=f,a=a||!Zo(i);n++}return""!==o&&(t+=If(a,o)),t}const hn={};function Af(e){Rf(un(),We(),Vr()+e,!1)}function Rf(e,t,n,i){if(!i)if(3==(3&t[2])){const a=e.preOrderCheckHooks;null!==a&&ca(t,a,n)}else{const a=e.preOrderHooks;null!==a&&ko(t,a,0,n)}bo(n)}function Cl(e,t){return e<<17|t<<2}function To(e){return e>>17&32767}function Ic(e){return 2|e}function Us(e){return(131068&e)>>2}function Ac(e,t){return-131069&e|t<<2}function Rc(e){return 1|e}function $c(e,t){const n=e.contentQueries;if(null!==n)for(let i=0;i<n.length;i+=2){const o=n[i],a=n[i+1];if(-1!==a){const f=e.data[a];Fa(o),f.contentQueries(2,t[a],a)}}}function tu(e,t,n,i,o,a,f,g,v,T){const O=t.blueprint.slice();return O[0]=o,O[2]=140|i,ss(O),O[3]=O[15]=e,O[8]=n,O[10]=f||e&&e[10],O[11]=g||e&&e[11],O[12]=v||e&&e[12]||null,O[9]=T||e&&e[9]||null,O[6]=a,O[16]=2==t.type?e[16]:O,O}function wl(e,t,n,i,o){let a=e.data[t];if(null===a)a=function zc(e,t,n,i,o){const a=No(),f=na(),v=e.data[t]=function Jp(e,t,n,i,o,a){return{type:n,index:i,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:o,attrs:a,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,f?a:a&&a.parent,n,t,i,o);return null===e.firstChild&&(e.firstChild=v),null!==a&&(f?null==a.child&&null!==v.parent&&(a.child=v):null===a.next&&(a.next=v)),v}(e,t,n,i,o),function Ll(){return en.lFrame.inI18n}()&&(a.flags|=64);else if(64&a.type){a.type=n,a.value=i,a.attrs=o;const f=function ls(){const e=en.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();a.injectorIndex=null===f?-1:f.injectorIndex}return Jr(a,!0),a}function js(e,t,n,i){if(0===n)return-1;const o=t.length;for(let a=0;a<n;a++)t.push(i),e.blueprint.push(i),e.data.push(null);return o}function wa(e,t,n){me(t);try{const i=e.viewQuery;null!==i&&zu(1,i,n);const o=e.template;null!==o&&Hu(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&$c(e,t),e.staticViewQueries&&zu(2,e.viewQuery,n);const a=e.components;null!==a&&function Gf(e,t){for(let n=0;n<t.length;n++)lg(e,t[n])}(t,a)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{t[2]&=-5,Rn()}}function bl(e,t,n,i){const o=t[2];if(256!=(256&o)){me(t);try{ss(t),function Fo(e){return en.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Hu(e,t,n,2,i);const f=3==(3&o);if(f){const T=e.preOrderCheckHooks;null!==T&&ca(t,T,null)}else{const T=e.preOrderHooks;null!==T&&ko(t,T,0,null),ka(t,0)}if(function nh(e){for(let t=Iu(e);null!==t;t=Au(t)){if(!t[2])continue;const n=t[9];for(let i=0;i<n.length;i++){const o=n[i],a=o[3];0==(1024&o[2])&&ea(a,1),o[2]|=1024}}}(t),function ag(e){for(let t=Iu(e);null!==t;t=Au(t))for(let n=10;n<t.length;n++){const i=t[n],o=i[1];Ei(i)&&bl(o,i,o.template,i[8])}}(t),null!==e.contentQueries&&$c(e,t),f){const T=e.contentCheckHooks;null!==T&&ca(t,T)}else{const T=e.contentHooks;null!==T&&ko(t,T,1),ka(t,1)}!function $f(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let i=0;i<n.length;i++){const o=n[i];if(o<0)bo(~o);else{const a=o,f=n[++i],g=n[++i];xi(f,a),g(2,t[a])}}}finally{bo(-1)}}(e,t);const g=e.components;null!==g&&function zf(e,t){for(let n=0;n<t.length;n++)ru(e,t[n])}(t,g);const v=e.viewQuery;if(null!==v&&zu(2,v,i),f){const T=e.viewCheckHooks;null!==T&&ca(t,T)}else{const T=e.viewHooks;null!==T&&ko(t,T,2),ka(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[2]&=-73,1024&t[2]&&(t[2]&=-1025,ea(t[3],-1))}finally{Rn()}}}function Yp(e,t,n,i){const o=t[10],f=wo(t);try{!f&&o.begin&&o.begin(),f&&wa(e,t,i),bl(e,t,n,i)}finally{!f&&o.end&&o.end()}}function Hu(e,t,n,i,o){const a=Vr(),f=2&i;try{bo(-1),f&&t.length>20&&Rf(e,t,20,!1),n(i,o)}finally{bo(a)}}function Gc(e,t,n){if(ri(t)){const o=t.directiveEnd;for(let a=t.directiveStart;a<o;a++){const f=e.data[a];f.contentQueries&&f.contentQueries(1,n[a],a)}}}function Wc(e,t,n){!sl()||(function rg(e,t,n,i){const o=n.directiveStart,a=n.directiveEnd;e.firstCreatePass||jo(n,t),_i(i,t);const f=n.initialInputs;for(let g=o;g<a;g++){const v=e.data[g],T=Yr(v);T&&Or(t,n,v);const O=ga(t,e,g,n);_i(O,t),null!==f&&og(0,g-o,O,v,0,f),T&&(tr(n.index,t)[8]=O)}}(e,t,n,gn(n,t)),128==(128&n.flags)&&function ig(e,t,n){const i=n.directiveStart,o=n.directiveEnd,f=n.index,g=function us(){return en.lFrame.currentDirectiveIndex}();try{bo(f);for(let v=i;v<o;v++){const T=e.data[v],O=t[v];ra(v),(null!==T.hostBindings||0!==T.hostVars||null!==T.hostAttrs)&&Jf(T,O)}}finally{bo(-1),ra(g)}}(e,t,n))}function qc(e,t,n=gn){const i=t.localNames;if(null!==i){let o=t.index+1;for(let a=0;a<i.length;a+=2){const f=i[a+1],g=-1===f?n(t,e):e[f];e[o++]=g}}}function Wf(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=$u(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function $u(e,t,n,i,o,a,f,g,v,T){const O=20+i,K=O+o,le=function Qp(e,t){const n=[];for(let i=0;i<t;i++)n.push(i<e?null:hn);return n}(O,K),Ee="function"==typeof T?T():T;return le[1]={type:e,blueprint:le,template:n,queries:null,viewQuery:g,declTNode:t,data:le.slice().fill(null,O),bindingStartIndex:O,expandoStartIndex:K,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof a?a():a,pipeRegistry:"function"==typeof f?f():f,firstChild:null,schemas:v,consts:Ee,incompleteFirstPass:!1}}function Zf(e,t,n,i){const o=Jc(t);null===n?o.push(i):(o.push(n),e.firstCreatePass&&ho(e).push(i,o.length-1))}function Yf(e,t,n){for(let i in e)if(e.hasOwnProperty(i)){const o=e[i];(n=null===n?{}:n).hasOwnProperty(i)?n[i].push(t,o):n[i]=[t,o]}return n}function fo(e,t,n,i,o,a,f,g){const v=gn(t,n);let O,T=t.inputs;!g&&null!=T&&(O=T[i])?(Zn(e,n,O,i,o),mo(t)&&function eg(e,t){const n=tr(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3&t.type&&(i=function Yo(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i),o=null!=f?f(o,t.value||"",i):o,nt(a)?a.setProperty(v,i,o):cl(i)||(v.setProperty?v.setProperty(i,o):v[i]=o))}function vs(e,t,n,i){let o=!1;if(sl()){const a=function Kc(e,t,n){const i=e.directiveRegistry;let o=null;if(i)for(let a=0;a<i.length;a++){const f=i[a];Of(n,f.selectors,!1)&&(o||(o=[]),xs(jo(n,t),e,f.type),Yr(f)?(Xf(e,n),o.unshift(f)):o.push(f))}return o}(e,t,n),f=null===i?null:{"":-1};if(null!==a){o=!0,nu(n,e.data.length,a.length);for(let O=0;O<a.length;O++){const K=a[O];K.providersResolver&&K.providersResolver(K)}let g=!1,v=!1,T=js(e,t,a.length,null);for(let O=0;O<a.length;O++){const K=a[O];n.mergedAttrs=Ua(n.mergedAttrs,K.hostAttrs),vr(e,n,t,T,K),eh(T,K,f),null!==K.contentQueries&&(n.flags|=8),(null!==K.hostBindings||null!==K.hostAttrs||0!==K.hostVars)&&(n.flags|=128);const le=K.type.prototype;!g&&(le.ngOnChanges||le.ngOnInit||le.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),g=!0),!v&&(le.ngOnChanges||le.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),v=!0),T++}!function Xp(e,t){const i=t.directiveEnd,o=e.data,a=t.attrs,f=[];let g=null,v=null;for(let T=t.directiveStart;T<i;T++){const O=o[T],K=O.inputs,le=null===a||xf(t)?null:sg(K,a);f.push(le),g=Yf(K,T,g),v=Yf(O.outputs,T,v)}null!==g&&(g.hasOwnProperty("class")&&(t.flags|=16),g.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=f,t.inputs=g,t.outputs=v}(e,n)}f&&function Vs(e,t,n){if(t){const i=e.localNames=[];for(let o=0;o<t.length;o+=2){const a=n[t[o+1]];if(null==a)throw new mt(-301,!1);i.push(t[o],a)}}}(n,i,f)}return n.mergedAttrs=Ua(n.mergedAttrs,n.attrs),o}function Qf(e,t,n,i,o,a){const f=a.hostBindings;if(f){let g=e.hostBindingOpCodes;null===g&&(g=e.hostBindingOpCodes=[]);const v=~t.index;(function ng(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(g)!=v&&g.push(v),g.push(i,o,f)}}function Jf(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Xf(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function eh(e,t,n){if(n){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)n[t.exportAs[i]]=e;Yr(t)&&(n[""]=e)}}function nu(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function vr(e,t,n,i,o){e.data[i]=o;const a=o.factory||(o.factory=$i(o.type)),f=new ii(a,Yr(o),null);e.blueprint[i]=f,n[i]=f,Qf(e,t,0,i,js(e,n,o.hostVars,hn),o)}function Or(e,t,n){const i=gn(t,e),o=Wf(n),a=e[10],f=rl(e,tu(e,o,null,n.onPush?64:16,i,t,a,a.createRenderer(i,n),null,null));e[t.index]=f}function Qo(e,t,n,i,o,a){const f=gn(e,t);!function Zc(e,t,n,i,o,a,f){if(null==a)nt(e)?e.removeAttribute(t,o,n):t.removeAttribute(o);else{const g=null==f?ht(a):f(a,i||"",o);nt(e)?e.setAttribute(t,o,g,n):n?t.setAttributeNS(n,o,g):t.setAttribute(o,g)}}(t[11],f,a,e.value,n,i,o)}function og(e,t,n,i,o,a){const f=a[t];if(null!==f){const g=i.setInput;for(let v=0;v<f.length;){const T=f[v++],O=f[v++],K=f[v++];null!==g?i.setInput(n,K,T,O):n[O]=K}}}function sg(e,t){let n=null,i=0;for(;i<t.length;){const o=t[i];if(0!==o)if(5!==o){if("number"==typeof o)break;e.hasOwnProperty(o)&&(null===n&&(n=[]),n.push(o,e[o],t[i+1])),i+=2}else i+=2;else i+=4}return n}function th(e,t,n,i){return new Array(e,!0,!1,t,null,0,i,n,null,null)}function ru(e,t){const n=tr(t,e);if(Ei(n)){const i=n[1];80&n[2]?bl(i,n,i.template,n[8]):n[5]>0&&iu(n)}}function iu(e){for(let i=Iu(e);null!==i;i=Au(i))for(let o=10;o<i.length;o++){const a=i[o];if(1024&a[2]){const f=a[1];bl(f,a,f.template,a[8])}else a[5]>0&&iu(a)}const n=e[1].components;if(null!==n)for(let i=0;i<n.length;i++){const o=tr(n[i],e);Ei(o)&&o[5]>0&&iu(o)}}function lg(e,t){const n=tr(t,e),i=n[1];(function rh(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(i,n),wa(i,n,n[8])}function rl(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function Fi(e){for(;e;){e[2]|=64;const t=Ql(e);if(ws(e)&&!t)return e;e=t}return null}function ih(e){!function Yc(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],i=wc(n),o=i[1];Yp(o,i,o.template,n)}}(e[8])}function zu(e,t,n){Fa(0),t(e,n)}const Dn=(()=>Promise.resolve(null))();function Jc(e){return e[7]||(e[7]=[])}function ho(e){return e.cleanup||(e.cleanup=[])}function oh(e,t){const n=e[9],i=n?n.get(Ka,null):null;i&&i.handleError(t)}function Zn(e,t,n,i,o){for(let a=0;a<n.length;){const f=n[a++],g=n[a++],v=t[f],T=e.data[f];null!==T.setInput?T.setInput(v,o,i,g):v[g]=o}}function Hs(e,t,n){const i=Un(t,e);!function Ru(e,t,n){nt(e)?e.setValue(t,n):t.textContent=n}(e[11],i,n)}function ou(e,t,n){let i=n?e.styles:null,o=n?e.classes:null,a=0;if(null!==t)for(let f=0;f<t.length;f++){const g=t[f];"number"==typeof g?a=g:1==a?o=Ae(o,g):2==a&&(i=Ae(i,g+": "+t[++f]+";"))}n?e.styles=i:e.stylesWithoutHost=i,n?e.classes=o:e.classesWithoutHost=o}const ed=new rt("INJECTOR",-1);class sh{get(t,n=P){if(n===P){const i=new Error(`NullInjectorError: No provider for ${_e(t)}!`);throw i.name="NullInjectorError",i}return n}}const td=new rt("Set Injector scope."),su={},cg={};let nd;function ah(){return void 0===nd&&(nd=new sh),nd}function lh(e,t=null,n=null,i){const o=uh(e,t,n,i);return o._resolveInjectorDefTypes(),o}function uh(e,t=null,n=null,i){return new dg(e,n,t||ah(),i)}class dg{constructor(t,n,i,o=null){this.parent=i,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const a=[];n&&Ho(n,g=>this.processProvider(g,t,n)),Ho([t],g=>this.processInjectorType(g,[],a)),this.records.set(ed,Dl(void 0,this));const f=this.records.get(td);this.scope=null!=f?f.value:null,this.source=o||("object"==typeof t?null:_e(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=P,i=I.Default){this.assertNotDestroyed();const o=Cn(this),a=be(void 0);try{if(!(i&I.SkipSelf)){let g=this.records.get(t);if(void 0===g){const v=function dh(e){return"function"==typeof e||"object"==typeof e&&e instanceof rt}(t)&&di(t);g=v&&this.injectableDefInScope(v)?Dl(rd(t),su):null,this.records.set(t,g)}if(null!=g)return this.hydrate(t,g)}return(i&I.Self?ah():this.parent).get(t,n=i&I.Optional&&n===P?null:n)}catch(f){if("NullInjectorError"===f.name){if((f[ee]=f[ee]||[]).unshift(_e(t)),o)throw f;return function ms(e,t,n,i){const o=e[ee];throw t[Ct]&&o.unshift(t[Ct]),e.message=function Mo(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let o=_e(t);if(Array.isArray(t))o=t.map(_e).join(" -> ");else if("object"==typeof t){let a=[];for(let f in t)if(t.hasOwnProperty(f)){let g=t[f];a.push(f+":"+("string"==typeof g?JSON.stringify(g):_e(g)))}o=`{${a.join(", ")}}`}return`${n}${i?"("+i+")":""}[${o}]: ${e.replace(Me,"\n ")}`}("\n"+e.message,o,n,i),e.ngTokenPath=o,e[ee]=null,e}(f,t,"R3InjectorError",this.source)}throw f}finally{be(a),Cn(o)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((i,o)=>t.push(_e(o))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new mt(205,!1)}processInjectorType(t,n,i){if(!(t=Ze(t)))return!1;let o=Ar(t);const a=null==o&&t.ngModule||void 0,f=void 0===a?t:a,g=-1!==i.indexOf(f);if(void 0!==a&&(o=Ar(a)),null==o)return!1;if(null!=o.imports&&!g){let O;i.push(f);try{Ho(o.imports,K=>{this.processInjectorType(K,n,i)&&(void 0===O&&(O=[]),O.push(K))})}finally{}if(void 0!==O)for(let K=0;K<O.length;K++){const{ngModule:le,providers:Ee}=O[K];Ho(Ee,ke=>this.processProvider(ke,le,Ee||xt))}}this.injectorDefTypes.add(f);const v=$i(f)||(()=>new f);this.records.set(f,Dl(v,su));const T=o.providers;if(null!=T&&!g){const O=t;Ho(T,K=>this.processProvider(K,O,T))}return void 0!==a&&void 0!==t.providers}processProvider(t,n,i){let o=ei(t=Ze(t))?t:Ze(t&&t.provide);const a=function fg(e,t,n){return ch(e)?Dl(void 0,e.useValue):Dl(Wu(e),su)}(t);if(ei(t)||!0!==t.multi)this.records.get(o);else{let f=this.records.get(o);f||(f=Dl(void 0,su,!0),f.factory=()=>rr(f.multi),this.records.set(o,f)),o=t,f.multi.push(t)}this.records.set(o,a)}hydrate(t,n){return n.value===su&&(n.value=cg,n.value=n.factory()),"object"==typeof n.value&&n.value&&function mg(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=Ze(t.providedIn);return"string"==typeof n?"any"===n||n===this.scope:this.injectorDefTypes.has(n)}}function rd(e){const t=di(e),n=null!==t?t.factory:$i(e);if(null!==n)return n;if(e instanceof rt)throw new mt(204,!1);if(e instanceof Function)return function id(e){const t=e.length;if(t>0)throw hl(t,"?"),new mt(204,!1);const n=function Oo(e){const t=e&&(e[se]||e[te]);if(t){const n=function wr(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 mt(204,!1)}function Wu(e,t,n){let i;if(ei(e)){const o=Ze(e);return $i(o)||rd(o)}if(ch(e))i=()=>Ze(e.useValue);else if(function ui(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...rr(e.deps||[]));else if(function hg(e){return!(!e||!e.useExisting)}(e))i=()=>Tt(Ze(e.useExisting));else{const o=Ze(e&&(e.useClass||e.provide));if(!function gg(e){return!!e.deps}(e))return $i(o)||rd(o);i=()=>new o(...rr(e.deps))}return i}function Dl(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function ch(e){return null!==e&&"object"==typeof e&&jt in e}function ei(e){return"function"==typeof e}let Cs=(()=>{class e{static create(n,i){if(Array.isArray(n))return lh({name:""},i,n,"");{const o=n.name??"";return lh({name:o},n.parent,n.providers,o)}}}return e.THROW_IF_NOT_FOUND=P,e.NULL=new sh,e.\u0275prov=qn({token:e,providedIn:"any",factory:()=>Tt(ed)}),e.__NG_ELEMENT_ID__=-1,e})();function wg(e,t){ua(wc(e)[1],fr())}let qu=null;function Sl(){if(!qu){const e=Ke.Symbol;if(e&&e.iterator)qu=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;n<t.length;++n){const i=t[n];"entries"!==i&&"size"!==i&&Map.prototype[i]===Map.prototype.entries&&(qu=i)}}}return qu}function au(e){return!!lu(e)&&(Array.isArray(e)||!(e instanceof Map)&&Sl()in e)}function lu(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Si(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function dd(e,t,n,i){const o=We();return Si(o,oo(),t)&&(un(),Qo(Fn(),o,e,t,n,i)),dd}function xl(e,t,n,i){return Si(e,oo(),n)?t+ht(n)+i:hn}function Yu(e,t,n,i,o,a,f,g){const v=We(),T=un(),O=e+20,K=T.firstCreatePass?function Ag(e,t,n,i,o,a,f,g,v){const T=t.consts,O=wl(t,e,4,f||null,ro(T,g));vs(t,n,O,ro(T,v)),ua(t,O);const K=O.tViews=$u(2,O,i,o,a,t.directiveRegistry,t.pipeRegistry,null,t.schemas,T);return null!==t.queries&&(t.queries.template(t,O),K.queries=t.queries.embeddedTView(O)),O}(O,T,v,t,n,i,o,a,f):T.data[O];Jr(K,!1);const le=v[11].createComment("");ku(T,v,le,K),_i(le,v),rl(v,v[O]=th(le,v,le,K)),Ao(K)&&Wc(T,v,K),null!=f&&qc(v,K,g)}function hr(e,t=I.Default){const n=We();return null===n?Tt(e,t):pa(fr(),n,Ze(e),t)}function xo(){throw new Error("invalid")}function es(e,t,n){const i=We();return Si(i,oo(),t)&&fo(un(),Fn(),i,e,t,i[11],n,!1),es}function Qu(e,t,n,i,o){const f=o?"class":"style";Zn(e,n,t.inputs[f],f,i)}function Fh(e,t,n,i){const o=We(),a=un(),f=20+e,g=o[11],v=o[f]=Nu(g,t,function la(){return en.lFrame.currentNamespace}()),T=a.firstCreatePass?function _0(e,t,n,i,o,a,f){const g=t.consts,T=wl(t,e,2,o,ro(g,a));return vs(t,n,T,ro(g,f)),null!==T.attrs&&ou(T,T.attrs,!1),null!==T.mergedAttrs&&ou(T,T.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,T),T}(f,a,o,0,t,n,i):a.data[f];Jr(T,!0);const O=T.mergedAttrs;null!==O&&Wi(g,v,O);const K=T.classes;null!==K&&Oc(g,v,K);const le=T.styles;return null!==le&&Mf(g,v,le),64!=(64&T.flags)&&ku(a,o,v,T),0===function pi(){return en.lFrame.elementDepthCount}()&&_i(v,o),function Pi(){en.lFrame.elementDepthCount++}(),Ao(T)&&(Wc(a,o,T),Gc(a,T,o)),null!==i&&qc(o,T),Fh}function Lh(){let e=fr();na()?Na():(e=e.parent,Jr(e,!1));const t=e;!function as(){en.lFrame.elementDepthCount--}();const n=un();return n.firstCreatePass&&(ua(n,e),ri(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function ul(e){return 0!=(16&e.flags)}(t)&&Qu(n,t,We(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Ba(e){return 0!=(32&e.flags)}(t)&&Qu(n,t,We(),t.stylesWithoutHost,!1),Lh}function $g(e,t,n,i){return Fh(e,t,n,i),Lh(),$g}function kh(e,t,n){const i=We(),o=un(),a=e+20,f=o.firstCreatePass?function y0(e,t,n,i,o){const a=t.consts,f=ro(a,i),g=wl(t,e,8,"ng-container",f);return null!==f&&ou(g,f,!0),vs(t,n,g,ro(a,o)),null!==t.queries&&t.queries.elementStart(t,g),g}(a,o,i,t,n):o.data[a];Jr(f,!0);const g=i[a]=i[11].createComment("");return ku(o,i,g,f),_i(g,i),Ao(f)&&(Wc(o,i,f),Gc(o,f,i)),null!=n&&qc(i,f),kh}function Bh(){let e=fr();const t=un();return na()?Na():(e=e.parent,Jr(e,!1)),t.firstCreatePass&&(ua(t,e),ri(e)&&t.queries.elementEnd(e)),Bh}function P_(){return We()}function zg(e){return!!e&&"function"==typeof e.then}function x_(e){return!!e&&"function"==typeof e.subscribe}const O_=x_;function Gg(e,t,n,i){const o=We(),a=un(),f=fr();return function A_(e,t,n,i,o,a,f,g){const v=Ao(i),O=e.firstCreatePass&&ho(e),K=t[8],le=Jc(t);let Ee=!0;if(3&i.type||g){const gt=gn(i,t),Ft=g?g(gt):gt,qe=le.length,tn=g?kn=>g($t(kn[i.index])):i.index;if(nt(n)){let kn=null;if(!g&&v&&(kn=function v0(e,t,n,i){const o=e.cleanup;if(null!=o)for(let a=0;a<o.length-1;a+=2){const f=o[a];if(f===n&&o[a+1]===i){const g=t[7],v=o[a+2];return g.length>v?g[v]:null}"string"==typeof f&&(a+=2)}return null}(e,t,o,i.index)),null!==kn)(kn.__ngLastListenerFn__||kn).__ngNextListenerFn__=a,kn.__ngLastListenerFn__=a,Ee=!1;else{a=Wg(i,t,K,a,!1);const ir=n.listen(Ft,o,a);le.push(a,ir),O&&O.push(o,tn,qe,qe+1)}}else a=Wg(i,t,K,a,!0),Ft.addEventListener(o,a,f),le.push(a),O&&O.push(o,tn,qe,f)}else a=Wg(i,t,K,a,!1);const ke=i.outputs;let it;if(Ee&&null!==ke&&(it=ke[o])){const gt=it.length;if(gt)for(let Ft=0;Ft<gt;Ft+=2){const ts=t[it[Ft]][it[Ft+1]].subscribe(a),du=le.length;le.push(a,ts),O&&O.push(o,i.index,du,-(du+1))}}}(a,o,o[11],f,e,t,!!n,i),Gg}function R_(e,t,n,i){try{return!1!==n(i)}catch(o){return oh(e,o),!1}}function Wg(e,t,n,i,o){return function a(f){if(f===Function)return i;const g=2&e.flags?tr(e.index,t):t;0==(32&t[2])&&Fi(g);let v=R_(t,0,i,f),T=a.__ngNextListenerFn__;for(;T;)v=R_(t,0,T,f)&&v,T=T.__ngNextListenerFn__;return o&&!1===v&&(f.preventDefault(),f.returnValue=!1),v}}function N_(e=1){return function Tr(e){return(en.lFrame.contextLView=function Yn(e,t){for(;e>0;)t=t[15],e--;return t}(e,en.lFrame.contextLView))[8]}(e)}function C0(e,t){let n=null;const i=function Np(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e);for(let o=0;o<t.length;o++){const a=t[o];if("*"!==a){if(null===i?Of(e,a,!0):kp(i,a))return o}else n=o}return n}function F_(e){const t=We()[16][6];if(!t.projection){const i=t.projection=hl(e?e.length:1,null),o=i.slice();let a=t.child;for(;null!==a;){const f=e?C0(a,e):0;null!==f&&(o[f]?o[f].projectionNext=a:i[f]=a,o[f]=a),a=a.next}}}function L_(e,t=0,n){const i=We(),o=un(),a=wl(o,20+e,16,null,n||null);null===a.projection&&(a.projection=t),Na(),64!=(64&a.flags)&&function Pp(e,t,n){Ef(t[11],0,t,n,df(e,n,t),_f(n.parent||t[6],n,t))}(o,i,a)}function qg(e,t,n){return Kg(e,"",t,"",n),qg}function Kg(e,t,n,i,o){const a=We(),f=xl(a,t,n,i);return f!==hn&&fo(un(),Fn(),a,e,f,a[11],o,!1),Kg}function G_(e,t,n,i,o){const a=e[n+1],f=null===t;let g=i?To(a):Us(a),v=!1;for(;0!==g&&(!1===v||f);){const O=e[g+1];E0(e[g],t)&&(v=!0,e[g+1]=i?Rc(O):Ic(O)),g=i?To(O):Us(O)}v&&(e[n+1]=i?Ic(a):Rc(a))}function E0(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Rs(e,t)>=0}const vi={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function W_(e){return e.substring(vi.key,vi.keyEnd)}function q_(e,t){const n=vi.textEnd;return n===t?-1:(t=vi.keyEnd=function T0(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,vi.key=t,n),Ju(e,t,n))}function Ju(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function ey(e){zs(Ki,Sa,e,!0)}function Sa(e,t){for(let n=function M0(e){return function Z_(e){vi.key=0,vi.keyEnd=0,vi.value=0,vi.valueEnd=0,vi.textEnd=e.length}(e),q_(e,Ju(e,0,vi.textEnd))}(t);n>=0;n=q_(t,n))Ki(e,W_(t),!0)}function zs(e,t,n,i){const o=un(),a=function so(e){const t=en.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}(2);o.firstUpdatePass&&function ny(e,t,n,i){const o=e.data;if(null===o[n+1]){const a=o[Vr()],f=ty(e,n);sy(a,i)&&null===t&&!f&&(t=!1),t=function I0(e,t,n,i){const o=function ia(e){const t=en.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let a=i?t.residualClasses:t.residualStyles;if(null===o)0===(i?t.classBindings:t.styleBindings)&&(n=md(n=Zg(null,e,t,n,i),t.attrs,i),a=null);else{const f=t.directiveStylingLast;if(-1===f||e[f]!==o)if(n=Zg(o,e,t,n,i),null===a){let v=function A0(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0!==Us(i))return e[To(i)]}(e,t,i);void 0!==v&&Array.isArray(v)&&(v=Zg(null,e,t,v[1],i),v=md(v,t.attrs,i),function R0(e,t,n,i){e[To(n?t.classBindings:t.styleBindings)]=i}(e,t,i,v))}else a=function N0(e,t,n){let i;const o=t.directiveEnd;for(let a=1+t.directiveStylingLast;a<o;a++)i=md(i,e[a].hostAttrs,n);return md(i,t.attrs,n)}(e,t,i)}return void 0!==a&&(i?t.residualClasses=a:t.residualStyles=a),n}(o,a,t,i),function w0(e,t,n,i,o,a){let f=a?t.classBindings:t.styleBindings,g=To(f),v=Us(f);e[i]=n;let O,T=!1;if(Array.isArray(n)){const K=n;O=K[1],(null===O||Rs(K,O)>0)&&(T=!0)}else O=n;if(o)if(0!==v){const le=To(e[g+1]);e[i+1]=Cl(le,g),0!==le&&(e[le+1]=Ac(e[le+1],i)),e[g+1]=function Vp(e,t){return 131071&e|t<<17}(e[g+1],i)}else e[i+1]=Cl(g,0),0!==g&&(e[g+1]=Ac(e[g+1],i)),g=i;else e[i+1]=Cl(v,0),0===g?g=i:e[v+1]=Ac(e[v+1],i),v=i;T&&(e[i+1]=Ic(e[i+1])),G_(e,O,i,!0),G_(e,O,i,!1),function b0(e,t,n,i,o){const a=o?e.residualClasses:e.residualStyles;null!=a&&"string"==typeof t&&Rs(a,t)>=0&&(n[i+1]=Rc(n[i+1]))}(t,O,e,i,a),f=Cl(g,v),a?t.classBindings=f:t.styleBindings=f}(o,a,t,n,f,i)}}(o,null,a,i);const f=We();if(n!==hn&&Si(f,a,n)){const g=o.data[Vr()];if(sy(g,i)&&!ty(o,a)){let v=i?g.classesWithoutHost:g.stylesWithoutHost;null!==v&&(n=Ae(v,n||"")),Qu(o,g,f,n,i)}else!function L0(e,t,n,i,o,a,f,g){o===hn&&(o=xt);let v=0,T=0,O=0<o.length?o[0]:null,K=0<a.length?a[0]:null;for(;null!==O||null!==K;){const le=v<o.length?o[v+1]:void 0,Ee=T<a.length?a[T+1]:void 0;let it,ke=null;O===K?(v+=2,T+=2,le!==Ee&&(ke=K,it=Ee)):null===K||null!==O&&O<K?(v+=2,ke=O):(T+=2,ke=K,it=Ee),null!==ke&&iy(e,t,n,i,ke,it,f,g),O=v<o.length?o[v]:null,K=T<a.length?a[T]:null}}(o,g,f,f[11],f[a+1],f[a+1]=function F0(e,t,n){if(null==n||""===n)return xt;const i=[],o=So(n);if(Array.isArray(o))for(let a=0;a<o.length;a++)e(i,o[a],!0);else if("object"==typeof o)for(const a in o)o.hasOwnProperty(a)&&e(i,a,o[a]);else"string"==typeof o&&t(i,o);return i}(e,t,n),i,a)}}function ty(e,t){return t>=e.expandoStartIndex}function Zg(e,t,n,i,o){let a=null;const f=n.directiveEnd;let g=n.directiveStylingLast;for(-1===g?g=n.directiveStart:g++;g<f&&(a=t[g],i=md(i,a.hostAttrs,o),a!==e);)g++;return null!==e&&(n.directiveStylingLast=g),i}function md(e,t,n){const i=n?1:2;let o=-1;if(null!==t)for(let a=0;a<t.length;a++){const f=t[a];"number"==typeof f?o=f:o===i&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Ki(e,f,!!n||t[++a]))}return void 0===e?null:e}function iy(e,t,n,i,o,a,f,g){if(!(3&t.type))return;const v=e.data,T=v[g+1];Uh(function Lf(e){return 1==(1&e)}(T)?oy(v,t,n,o,Us(T),f):void 0)||(Uh(a)||function Ff(e){return 2==(2&e)}(T)&&(a=oy(v,null,n,o,g,f)),function xp(e,t,n,i,o){const a=nt(e);if(t)o?a?e.addClass(n,i):n.classList.add(i):a?e.removeClass(n,i):n.classList.remove(i);else{let f=-1===i.indexOf("-")?void 0:_s.DashCase;if(null==o)a?e.removeStyle(n,i,f):n.style.removeProperty(i);else{const g="string"==typeof o&&o.endsWith("!important");g&&(o=o.slice(0,-10),f|=_s.Important),a?e.setStyle(n,i,o,f):n.style.setProperty(i,o,g?"important":"")}}}(i,f,Un(Vr(),n),o,a))}function oy(e,t,n,i,o,a){const f=null===t;let g;for(;o>0;){const v=e[o],T=Array.isArray(v),O=T?v[1]:v,K=null===O;let le=n[o+1];le===hn&&(le=K?xt:void 0);let Ee=K?mu(le,i):O===i?le:void 0;if(T&&!Uh(Ee)&&(Ee=mu(v,i)),Uh(Ee)&&(g=Ee,f))return g;const ke=e[o+1];o=f?To(ke):Us(ke)}if(null!==t){let v=a?t.residualClasses:t.residualStyles;null!=v&&(g=mu(v,i))}return g}function Uh(e){return void 0!==e}function sy(e,t){return 0!=(e.flags&(t?16:32))}function ay(e,t=""){const n=We(),i=un(),o=e+20,a=i.firstCreatePass?wl(i,o,1,t,null):i.data[o],f=n[o]=function Ja(e,t){return nt(e)?e.createText(t):e.createTextNode(t)}(n[11],t);ku(i,n,f,a),Jr(a,!1)}function Yg(e){return jh("",e,""),Yg}function jh(e,t,n){const i=We(),o=xl(i,e,t,n);return o!==hn&&Hs(i,Vr(),o),jh}function my(e,t,n){zs(Ki,Sa,xl(We(),e,t,n),!0)}const uu=void 0;var nC=["en",[["a","p"],["AM","PM"],uu],[["AM","PM"],uu,uu],[["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"]],uu,[["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"]],uu,[["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}",uu,"{1} 'at' {0}",uu],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function tC(e){const n=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===i?1:5}];let Xu={};function Qg(e){const t=function rC(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=xy(t);if(n)return n;const i=t.split("-")[0];if(n=xy(i),n)return n;if("en"===i)return nC;throw new Error(`Missing locale data for the locale "${e}".`)}function Py(e){return Qg(e)[ln.PluralCase]}function xy(e){return e in Xu||(Xu[e]=Ke.ng&&Ke.ng.common&&Ke.ng.common.locales&&Ke.ng.common.locales[e]),Xu[e]}var ln=(()=>((ln=ln||{})[ln.LocaleId=0]="LocaleId",ln[ln.DayPeriodsFormat=1]="DayPeriodsFormat",ln[ln.DayPeriodsStandalone=2]="DayPeriodsStandalone",ln[ln.DaysFormat=3]="DaysFormat",ln[ln.DaysStandalone=4]="DaysStandalone",ln[ln.MonthsFormat=5]="MonthsFormat",ln[ln.MonthsStandalone=6]="MonthsStandalone",ln[ln.Eras=7]="Eras",ln[ln.FirstDayOfWeek=8]="FirstDayOfWeek",ln[ln.WeekendRange=9]="WeekendRange",ln[ln.DateFormat=10]="DateFormat",ln[ln.TimeFormat=11]="TimeFormat",ln[ln.DateTimeFormat=12]="DateTimeFormat",ln[ln.NumberSymbols=13]="NumberSymbols",ln[ln.NumberFormats=14]="NumberFormats",ln[ln.CurrencyCode=15]="CurrencyCode",ln[ln.CurrencySymbol=16]="CurrencySymbol",ln[ln.CurrencyName=17]="CurrencyName",ln[ln.Currencies=18]="Currencies",ln[ln.Directionality=19]="Directionality",ln[ln.PluralCase=20]="PluralCase",ln[ln.ExtraData=21]="ExtraData",ln))();const Vh="en-US";let Oy=Vh;function em(e,t,n,i,o){if(e=Ze(e),Array.isArray(e))for(let a=0;a<e.length;a++)em(e[a],t,n,i,o);else{const a=un(),f=We();let g=ei(e)?e:Ze(e.provide),v=Wu(e);const T=fr(),O=1048575&T.providerIndexes,K=T.directiveStart,le=T.providerIndexes>>20;if(ei(e)||!e.multi){const Ee=new ii(v,o,hr),ke=nm(g,t,o?O:O+le,K);-1===ke?(xs(jo(T,f),a,g),tm(a,e,t.length),t.push(g),T.directiveStart++,T.directiveEnd++,o&&(T.providerIndexes+=1048576),n.push(Ee),f.push(Ee)):(n[ke]=Ee,f[ke]=Ee)}else{const Ee=nm(g,t,O+le,K),ke=nm(g,t,O,O+le),it=Ee>=0&&n[Ee],gt=ke>=0&&n[ke];if(o&&!gt||!o&&!it){xs(jo(T,f),a,g);const Ft=function tw(e,t,n,i,o){const a=new ii(e,n,hr);return a.multi=[],a.index=t,a.componentProviders=0,ev(a,o,i&&!n),a}(o?ew:XC,n.length,o,i,v);!o&>&&(n[ke].providerFactory=Ft),tm(a,e,t.length,0),t.push(g),T.directiveStart++,T.directiveEnd++,o&&(T.providerIndexes+=1048576),n.push(Ft),f.push(Ft)}else tm(a,e,Ee>-1?Ee:ke,ev(n[o?ke:Ee],v,!o&&i));!o&&i&>&&n[ke].componentProviders++}}}function tm(e,t,n,i){const o=ei(t),a=function pg(e){return!!e.useClass}(t);if(o||a){const v=(a?Ze(t.useClass):t).prototype.ngOnDestroy;if(v){const T=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const O=T.indexOf(n);-1===O?T.push(n,[i,v]):T[O+1].push(i,v)}else T.push(n,v)}}}function ev(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function nm(e,t,n,i){for(let o=n;o<i;o++)if(t[o]===e)return o;return-1}function XC(e,t,n,i){return rm(this.multi,[])}function ew(e,t,n,i){const o=this.multi;let a;if(this.providerFactory){const f=this.providerFactory.componentProviders,g=ga(n,n[1],this.providerFactory.index,i);a=g.slice(0,f),rm(o,a);for(let v=f;v<g.length;v++)a.push(g[v])}else a=[],rm(o,a);return a}function rm(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function tv(e,t=[]){return n=>{n.providersResolver=(i,o)=>function JC(e,t,n){const i=un();if(i.firstCreatePass){const o=Yr(e);em(n,i.data,i.blueprint,o,!0),em(t,i.data,i.blueprint,o,!1)}}(i,o?o(e):e,t)}}class nv{}class iw{resolveComponentFactory(t){throw function rw(e){const t=Error(`No component factory found for ${_e(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let Wh=(()=>{class e{}return e.NULL=new iw,e})();function ow(){return tc(fr(),We())}function tc(e,t){return new wd(gn(e,t))}let wd=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=ow,e})();function sw(e){return e instanceof wd?e.nativeElement:e}class iv{}let aw=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function uw(){const e=We(),n=tr(fr().index,e);return function lw(e){return e[11]}(Lr(n)?n:e)}(),e})(),cw=(()=>{class e{}return e.\u0275prov=qn({token:e,providedIn:"root",factory:()=>null}),e})();class ov{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const dw=new ov("13.3.11"),im={};function qh(e,t,n,i,o=!1){for(;null!==n;){const a=t[n.index];if(null!==a&&i.push($t(a)),Wn(a))for(let g=10;g<a.length;g++){const v=a[g],T=v[1].firstChild;null!==T&&qh(v[1],v,T,i)}const f=n.type;if(8&f)qh(e,t,n.child,i);else if(32&f){const g=Ou(n,t);let v;for(;v=g();)i.push(v)}else if(16&f){const g=wf(t,n);if(Array.isArray(g))i.push(...g);else{const v=Ql(t[16]);qh(v[1],v,g,i,!0)}}n=o?n.projectionNext:n.next}return i}class bd{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 qh(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(Wn(t)){const n=t[8],i=n?n.indexOf(this):-1;i>-1&&(Tc(t,i),Ii(n,i))}this._attachedToViewContainer=!1}cf(this._lView[1],this._lView)}onDestroy(t){Zf(this._lView[1],this._lView,null,t)}markForCheck(){Fi(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){!function Qc(e,t,n){const i=t[10];i.begin&&i.begin();try{bl(e,t,e.template,n)}catch(o){throw oh(t,o),o}finally{i.end&&i.end()}}(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new mt(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function ys(e,t){Xl(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new mt(902,"");this._appRef=t}}class fw extends bd{constructor(t){super(t),this._view=t}detectChanges(){ih(this._view)}checkNoChanges(){}get context(){return null}}class sv extends Wh{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Mt(t);return new om(n,this.ngModule)}}function av(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class om extends nv{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Up(e){return e.map(Bp).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return av(this.componentDef.inputs)}get outputs(){return av(this.componentDef.outputs)}create(t,n,i,o){const a=(o=o||this.ngModule)?function pw(e,t){return{get:(n,i,o)=>{const a=e.get(n,im,o);return a!==im||i===im?a:t.get(n,i,o)}}}(t,o.injector):t,f=a.get(iv,fn),g=a.get(cw,null),v=f.createRenderer(null,this.componentDef),T=this.componentDef.selectors[0][0]||"div",O=i?function Kf(e,t,n){if(nt(e))return e.selectRootElement(t,n===yt.ShadowDom);let i="string"==typeof t?e.querySelector(t):t;return i.textContent="",i}(v,i,this.componentDef.encapsulation):Nu(f.createRenderer(null,this.componentDef),T,function hw(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?E:null}(T)),K=this.componentDef.onPush?576:528,le=function wh(e,t){return{components:[],scheduler:e||Yd,clean:Dn,playerHandler:t||null,flags:0}}(),Ee=$u(0,null,null,1,0,null,null,null,null,null),ke=tu(null,Ee,le,K,null,null,f,v,g,a);let it,gt;me(ke);try{const Ft=function vh(e,t,n,i,o,a){const f=n[1];n[20]=e;const v=wl(f,20,2,"#host",null),T=v.mergedAttrs=t.hostAttrs;null!==T&&(ou(v,T,!0),null!==e&&(Wi(o,e,T),null!==v.classes&&Oc(o,e,v.classes),null!==v.styles&&Mf(o,e,v.styles)));const O=i.createRenderer(e,t),K=tu(n,Wf(t),null,t.onPush?64:16,n[20],v,i,O,a||null,null);return f.firstCreatePass&&(xs(jo(v,n),f,t.type),Xf(f,v),nu(v,n.length,1)),rl(n,K),n[20]=K}(O,this.componentDef,ke,f,v);if(O)if(i)Wi(v,O,["ng-version",dw.full]);else{const{attrs:qe,classes:tn}=function jp(e){const t=[],n=[];let i=1,o=2;for(;i<e.length;){let a=e[i];if("string"==typeof a)2===o?""!==a&&t.push(a,e[++i]):8===o&&n.push(a);else{if(!Zo(o))break;o=a}i++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);qe&&Wi(v,O,qe),tn&&tn.length>0&&Oc(v,O,tn.join(" "))}if(gt=Mr(Ee,20),void 0!==n){const qe=gt.projection=[];for(let tn=0;tn<this.ngContentSelectors.length;tn++){const kn=n[tn];qe.push(null!=kn?Array.from(kn):null)}}it=function Ch(e,t,n,i,o){const a=n[1],f=function tg(e,t,n){const i=fr();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),vr(e,i,t,js(e,t,1,null),n));const o=ga(t,e,i.directiveStart,i);_i(o,t);const a=gn(i,t);return a&&_i(a,t),o}(a,n,t);if(i.components.push(f),e[8]=f,o&&o.forEach(v=>v(f,t)),t.contentQueries){const v=fr();t.contentQueries(1,f,v.directiveStart)}const g=fr();return!a.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(bo(g.index),Qf(n[1],g,0,g.directiveStart,g.directiveEnd,t),Jf(t,f)),f}(Ft,this.componentDef,ke,le,[wg]),wa(Ee,ke,null)}finally{Rn()}return new mw(this.componentType,it,tc(gt,ke),ke,gt)}}class mw extends class nw{}{constructor(t,n,i,o,a){super(),this.location=i,this._rootLView=o,this._tNode=a,this.instance=n,this.hostView=this.changeDetectorRef=new fw(o),this.componentType=t}get injector(){return new Vo(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}class nc{}class lv{}const rc=new Map;class dv extends nc{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new sv(this);const i=Ve(t);this._bootstrapComponents=yr(i.bootstrap),this._r3Injector=uh(t,n,[{provide:nc,useValue:this},{provide:Wh,useValue:this.componentFactoryResolver}],_e(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,n=Cs.THROW_IF_NOT_FOUND,i=I.Default){return t===Cs||t===nc||t===ed?this:this._r3Injector.get(t,n,i)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class sm extends lv{constructor(t){super(),this.moduleType=t,null!==Ve(t)&&function yw(e){const t=new Set;!function n(i){const o=Ve(i,!0),a=o.id;null!==a&&(function uv(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${_e(t)} vs ${_e(t.name)}`)}(a,rc.get(a),i),rc.set(a,i));const f=yr(o.imports);for(const g of f)t.has(g)||(t.add(g),n(g))}(e)}(t)}create(t){return new dv(this.moduleType,t)}}function fv(e,t,n,i){return function hv(e,t,n,i,o,a){const f=t+n;return Si(e,f,o)?function Xo(e,t,n){return e[t]=n}(e,f+1,a?i.call(a,o):i(o)):function Ed(e,t){const n=e[t];return n===hn?void 0:n}(e,f+1)}(We(),function Sr(){const e=en.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}(),e,t,n,i)}function am(e){return t=>{setTimeout(e,void 0,t)}}const Ta=class Fw extends z.xQ{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,i){let o=t,a=n||(()=>null),f=i;if(t&&"object"==typeof t){const v=t;o=v.next?.bind(v),a=v.error?.bind(v),f=v.complete?.bind(v)}this.__isAsync&&(a=am(a),o&&(o=am(o)),f&&(f=am(f)));const g=super.subscribe({next:o,error:a,complete:f});return t instanceof $.w&&t.add(g),g}};function Lw(){return this._results[Sl()]()}class lm{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=Sl(),i=lm.prototype;i[n]||(i[n]=Lw)}get changes(){return this._changes||(this._changes=new Ta)}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 i=this;i.dirty=!1;const o=Xr(t);(this._changesDetected=!function Pd(e,t,n){if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++){let o=e[i],a=t[i];if(n&&(o=n(o),a=n(a)),a!==o)return!1}return!0}(i._results,o,n))&&(i._results=o,i.length=o.length,i.last=o[this.length-1],i.first=o[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 Md=(()=>{class e{}return e.__NG_ELEMENT_ID__=Uw,e})();const kw=Md,Bw=class extends kw{constructor(t,n,i){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=i}createEmbeddedView(t){const n=this._declarationTContainer.tViews,i=tu(this._declarationLView,n,t,16,null,n.declTNode,null,null,null,null);i[17]=this._declarationLView[this._declarationTContainer.index];const a=this._declarationLView[19];return null!==a&&(i[19]=a.createEmbeddedView(n)),wa(n,i,t),new bd(i)}};function Uw(){return Kh(fr(),We())}function Kh(e,t){return 4&e.type?new Bw(t,e,tc(e,t)):null}let Zh=(()=>{class e{}return e.__NG_ELEMENT_ID__=jw,e})();function jw(){return Cv(fr(),We())}const Vw=Zh,yv=class extends Vw{constructor(t,n,i){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=i}get element(){return tc(this._hostTNode,this._hostLView)}get injector(){return new Vo(this._hostTNode,this._hostLView)}get parentInjector(){const t=Do(this._hostTNode,this._hostLView);if(Ps(t)){const n=Uo(t,this._hostLView),i=ao(t);return new Vo(n[1].data[i+8],n)}return new Vo(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=vv(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,i){const o=t.createEmbeddedView(n||{});return this.insert(o,i),o}createComponent(t,n,i,o,a){const f=t&&!function fl(e){return"function"==typeof e}(t);let g;if(f)g=n;else{const K=n||{};g=K.index,i=K.injector,o=K.projectableNodes,a=K.ngModuleRef}const v=f?t:new om(Mt(t)),T=i||this.parentInjector;if(!a&&null==v.ngModule){const le=(f?T:this.parentInjector).get(nc,null);le&&(a=le)}const O=v.create(T,o,void 0,a);return this.insert(O.hostView,g),O}insert(t,n){const i=t._lView,o=i[1];if(function zi(e){return Wn(e[3])}(i)){const O=this.indexOf(t);if(-1!==O)this.detach(O);else{const K=i[3],le=new yv(K,K[6],K[3]);le.detach(le.indexOf(t))}}const a=this._adjustIndex(n),f=this._lContainer;!function Mp(e,t,n,i){const o=10+i,a=n.length;i>0&&(n[o-1][4]=t),i<a-10?(t[4]=n[o],sc(n,10+i,t)):(n.push(t),t[4]=null),t[3]=n;const f=t[17];null!==f&&n!==f&&function lf(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(f,t);const g=t[19];null!==g&&g.insertView(e),t[2]|=128}(o,i,f,a);const g=xc(a,f),v=i[11],T=Jl(v,f[7]);return null!==T&&function af(e,t,n,i,o,a){i[0]=o,i[6]=t,Xl(e,i,n,1,o,a)}(o,f[6],v,i,T,g),t.attachToViewContainerRef(),sc(um(f),a,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=vv(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),i=Tc(this._lContainer,n);i&&(Ii(um(this._lContainer),n),cf(i[1],i))}detach(t){const n=this._adjustIndex(t,-1),i=Tc(this._lContainer,n);return i&&null!=Ii(um(this._lContainer),n)?new bd(i):null}_adjustIndex(t,n=0){return t??this.length+n}};function vv(e){return e[8]}function um(e){return e[8]||(e[8]=[])}function Cv(e,t){let n;const i=t[e.index];if(Wn(i))n=i;else{let o;if(8&e.type)o=$t(i);else{const a=t[11];o=a.createComment("");const f=gn(e,t);el(a,Jl(a,f),o,function mf(e,t){return nt(e)?e.nextSibling(t):t.nextSibling}(a,f),!1)}t[e.index]=n=th(i,t,o,e),rl(t,n)}return new yv(n,e,t)}class cm{constructor(t){this.queryList=t,this.matches=null}clone(){return new cm(this.queryList)}setDirty(){this.queryList.setDirty()}}class dm{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const i=null!==t.contentQueries?t.contentQueries[0]:n.length,o=[];for(let a=0;a<i;a++){const f=n.getByIndex(a);o.push(this.queries[f.indexInDeclarationView].clone())}return new dm(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==Pv(t,n).matches&&this.queries[n].setDirty()}}class wv{constructor(t,n,i=null){this.predicate=t,this.flags=n,this.read=i}}class fm{constructor(t=[]){this.queries=t}elementStart(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].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 i=0;i<this.length;i++){const o=null!==n?n.length:0,a=this.getByIndex(i).embeddedTView(t,o);a&&(a.indexInDeclarationView=i,null!==n?n.push(a):n=[a])}return null!==n?new fm(n):null}template(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class hm{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 hm(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let i=t.parent;for(;null!==i&&8&i.type&&i.index!==n;)i=i.parent;return n===(null!==i?i.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const i=this.metadata.predicate;if(Array.isArray(i))for(let o=0;o<i.length;o++){const a=i[o];this.matchTNodeWithReadOption(t,n,zw(n,a)),this.matchTNodeWithReadOption(t,n,Va(n,t,a,!1,!1))}else i===Md?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Va(n,t,i,!1,!1))}matchTNodeWithReadOption(t,n,i){if(null!==i){const o=this.metadata.read;if(null!==o)if(o===wd||o===Zh||o===Md&&4&n.type)this.addMatch(n.index,-2);else{const a=Va(n,t,o,!1,!1);null!==a&&this.addMatch(n.index,a)}else this.addMatch(n.index,i)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function zw(e,t){const n=e.localNames;if(null!==n)for(let i=0;i<n.length;i+=2)if(n[i]===t)return n[i+1];return null}function Ww(e,t,n,i){return-1===n?function Gw(e,t){return 11&e.type?tc(e,t):4&e.type?Kh(e,t):null}(t,e):-2===n?function qw(e,t,n){return n===wd?tc(t,e):n===Md?Kh(t,e):n===Zh?Cv(t,e):void 0}(e,t,i):ga(e,e[1],n,t)}function bv(e,t,n,i){const o=t[19].queries[i];if(null===o.matches){const a=e.data,f=n.matches,g=[];for(let v=0;v<f.length;v+=2){const T=f[v];g.push(T<0?null:Ww(t,a[T],f[v+1],n.metadata.read))}o.matches=g}return o.matches}function pm(e,t,n,i){const o=e.queries.getByIndex(n),a=o.matches;if(null!==a){const f=bv(e,t,o,n);for(let g=0;g<a.length;g+=2){const v=a[g];if(v>0)i.push(f[g/2]);else{const T=a[g+1],O=t[-v];for(let K=10;K<O.length;K++){const le=O[K];le[17]===le[3]&&pm(le[1],le,T,i)}if(null!==O[9]){const K=O[9];for(let le=0;le<K.length;le++){const Ee=K[le];pm(Ee[1],Ee,T,i)}}}}}return i}function Ev(e){const t=We(),n=un(),i=Lo();Fa(i+1);const o=Pv(n,i);if(e.dirty&&wo(t)===(2==(2&o.metadata.flags))){if(null===o.matches)e.reset([]);else{const a=o.crossesNgTemplate?pm(n,t,i,[]):bv(n,t,o,i);e.reset(a,sw),e.notifyOnChanges()}return!0}return!1}function Dv(e,t,n,i){const o=un();if(o.firstCreatePass){const a=fr();(function Tv(e,t,n){null===e.queries&&(e.queries=new fm),e.queries.track(new hm(t,n))})(o,new wv(t,n,i),a.index),function Yw(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(o,e),2==(2&n)&&(o.staticContentQueries=!0)}!function Sv(e,t,n){const i=new lm(4==(4&n));Zf(e,t,i,i.destroy),null===t[19]&&(t[19]=new dm),t[19].queries.push(new cm(i))}(o,We(),n)}function Mv(){return function Zw(e,t){return e[19].queries[t].queryList}(We(),Lo())}function Pv(e,t){return e.queries.getByIndex(t)}function Jh(...e){}const Gv=new rt("Application Initializer");let Cm=(()=>{class e{constructor(n){this.appInits=n,this.resolve=Jh,this.reject=Jh,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,o)=>{this.resolve=i,this.reject=o})}runInitializers(){if(this.initialized)return;const n=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let o=0;o<this.appInits.length;o++){const a=this.appInits[o]();if(zg(a))n.push(a);else if(O_(a)){const f=new Promise((g,v)=>{a.subscribe({complete:g,error:v})});n.push(f)}}Promise.all(n).then(()=>{i()}).catch(o=>{this.reject(o)}),0===n.length&&i(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(Tt(Gv,8))},e.\u0275prov=qn({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Wv=new rt("AppId",{providedIn:"root",factory:function qv(){return`${wm()}${wm()}${wm()}`}});function wm(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Kv=new rt("Platform Initializer"),pb=new rt("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Zv=new rt("appBootstrapListener");let gb=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=qn({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const bm=new rt("LocaleId",{providedIn:"root",factory:()=>_r(bm,I.Optional|I.SkipSelf)||function mb(){return typeof $localize<"u"&&$localize.locale||Vh}()}),_b=new rt("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class yb{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let vb=(()=>{class e{compileModuleSync(n){return new sm(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const i=this.compileModuleSync(n),a=yr(Ve(n).declarations).reduce((f,g)=>{const v=Mt(g);return v&&f.push(new om(v)),f},[]);return new yb(i,a)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=qn({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const wb=(()=>Promise.resolve(0))();function Em(e){typeof Zone>"u"?wb.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Gs{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ta(!1),this.onMicrotaskEmpty=new Ta(!1),this.onStable=new Ta(!1),this.onError=new Ta(!1),typeof Zone>"u")throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!i&&n,o.shouldCoalesceRunChangeDetection=i,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function bb(){let e=Ke.requestAnimationFrame,t=Ke.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function Mb(e){const t=()=>{!function Db(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Ke,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Mm(e),e.isCheckStableRunning=!0,Dm(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Mm(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,o,a,f,g)=>{try{return Yv(e),n.invokeTask(o,a,f,g)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===a.type||e.shouldCoalesceRunChangeDetection)&&t(),Qv(e)}},onInvoke:(n,i,o,a,f,g,v)=>{try{return Yv(e),n.invoke(o,a,f,g,v)}finally{e.shouldCoalesceRunChangeDetection&&t(),Qv(e)}},onHasTask:(n,i,o,a)=>{n.hasTask(o,a),i===o&&("microTask"==a.change?(e._hasPendingMicrotasks=a.microTask,Mm(e),Dm(e)):"macroTask"==a.change&&(e.hasPendingMacrotasks=a.macroTask))},onHandleError:(n,i,o,a)=>(n.handleError(o,a),e.runOutsideAngular(()=>e.onError.emit(a)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Gs.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Gs.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,n,i){return this._inner.run(t,n,i)}runTask(t,n,i,o){const a=this._inner,f=a.scheduleEventTask("NgZoneEvent: "+o,t,Eb,Jh,Jh);try{return a.runTask(f,n,i)}finally{a.cancelTask(f)}}runGuarded(t,n,i){return this._inner.runGuarded(t,n,i)}runOutsideAngular(t){return this._outer.run(t)}}const Eb={};function Dm(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 Mm(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Yv(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Qv(e){e._nesting--,Dm(e)}class Sb{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ta,this.onMicrotaskEmpty=new Ta,this.onStable=new Ta,this.onError=new Ta}run(t,n,i){return t.apply(n,i)}runGuarded(t,n,i){return t.apply(n,i)}runOutsideAngular(t){return t()}runTask(t,n,i,o){return t.apply(n,i)}}let Jv=(()=>{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:()=>{Gs.assertNotInAngularZone(),Em(()=>{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())Em(()=>{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(i=>!i.updateCb||!i.updateCb(n)||(clearTimeout(i.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,i,o){let a=-1;i&&i>0&&(a=setTimeout(()=>{this._callbacks=this._callbacks.filter(f=>f.timeoutId!==a),n(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:n,timeoutId:a,updateCb:o})}whenStable(n,i,o){if(o&&!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,i,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(n,i,o){return[]}}return e.\u0275fac=function(n){return new(n||e)(Tt(Gs))},e.\u0275prov=qn({token:e,factory:e.\u0275fac}),e})(),Tb=(()=>{class e{constructor(){this._applications=new Map,Sm.addToWindow(this)}registerApplication(n,i){this._applications.set(n,i)}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,i=!0){return Sm.findTestabilityInTree(this,n,i)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=qn({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();class Pb{addToWindow(t){}findTestabilityInTree(t,n,i){return null}}function xb(e){Sm=e}let Sm=new Pb,Td=null;const Xv=new rt("AllowMultipleToken"),e0=new rt("PlatformOnDestroy");class Ab{constructor(t,n){this.name=t,this.token=n}}function t0(e,t,n=[]){const i=`Platform: ${t}`,o=new rt(i);return(a=[])=>{let f=Tm();if(!f||f.injector.get(Xv,!1)){const g=[...n,...a,{provide:o,useValue:!0}];e?e(g):function Rb(e){if(Td&&!Td.get(Xv,!1))throw new mt(400,"");Td=e;const t=e.get(n0),n=e.get(Kv,null);n&&n.forEach(i=>i())}(function Fb(e=[],t){return Cs.create({name:t,providers:[{provide:td,useValue:"platform"},{provide:e0,useValue:()=>Td=null},...e]})}(g,i))}return function Nb(e){const t=Tm();if(!t)throw new mt(401,"");return t}()}}function Tm(){return Td?.get(n0)??null}let n0=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,i){const g=function Lb(e,t){let n;return n="noop"===e?new Sb:("zone.js"===e?void 0:e)||new Gs({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!t?.ngZoneEventCoalescing,shouldCoalesceRunChangeDetection:!!t?.ngZoneRunCoalescing}),n}(i?i.ngZone:void 0,{ngZoneEventCoalescing:i&&i.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:i&&i.ngZoneRunCoalescing||!1}),v=[{provide:Gs,useValue:g}];return g.run(()=>{const T=Cs.create({providers:v,parent:this.injector,name:n.moduleType.name}),O=n.create(T),K=O.injector.get(Ka,null);if(!K)throw new mt(402,"");return g.runOutsideAngular(()=>{const le=g.onError.subscribe({next:Ee=>{K.handleError(Ee)}});O.onDestroy(()=>{xm(this._modules,O),le.unsubscribe()})}),function kb(e,t,n){try{const i=n();return zg(i)?i.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}(K,g,()=>{const le=O.injector.get(Cm);return le.runInitializers(),le.donePromise.then(()=>(function aC(e){Sn(e,"Expected localeId to be defined"),"string"==typeof e&&(Oy=e.toLowerCase().replace(/_/g,"-"))}(O.injector.get(bm,Vh)||Vh),this._moduleDoBootstrap(O),O))})})}bootstrapModule(n,i=[]){const o=r0({},i);return function Ob(e,t,n){const i=new sm(n);return Promise.resolve(i)}(0,0,n).then(a=>this.bootstrapModuleFactory(a,o))}_moduleDoBootstrap(n){const i=n.injector.get(Pm);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>i.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new mt(403,"");n.instance.ngDoBootstrap(i)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new mt(404,"");this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i()),this._injector.get(e0,null)?.(),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(Tt(Cs))},e.\u0275prov=qn({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function r0(e,t){return Array.isArray(t)?t.reduce(r0,e):{...e,...t}}let Pm=(()=>{class e{constructor(n,i,o,a){this._zone=n,this._injector=i,this._exceptionHandler=o,this._initStatus=a,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 f=new C.y(v=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{v.next(this._stable),v.complete()})}),g=new C.y(v=>{let T;this._zone.runOutsideAngular(()=>{T=this._zone.onStable.subscribe(()=>{Gs.assertNotInAngularZone(),Em(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,v.next(!0))})})});const O=this._zone.onUnstable.subscribe(()=>{Gs.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{v.next(!1)}))});return()=>{T.unsubscribe(),O.unsubscribe()}});this.isStable=function F(...e){let t=Number.POSITIVE_INFINITY,n=null,i=e[e.length-1];return(0,p.K)(i)?(n=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(t=e.pop())):"number"==typeof i&&(t=e.pop()),null===n&&1===e.length&&e[0]instanceof C.y?e[0]:(0,J.J)(t)((0,W.n)(e,n))}(f,g.pipe(function ie(){return e=>(0,j.x)()(function Y(e,t){return function(i){let o;if(o="function"==typeof e?e:function(){return e},"function"==typeof t)return i.lift(new N(o,t));const a=Object.create(i,V.N);return a.source=i,a.subjectFactory=o,a}}(q)(e))}()))}bootstrap(n,i){if(!this._initStatus.done)throw new mt(405,"");let o;o=n instanceof nv?n:this._injector.get(Wh).resolveComponentFactory(n),this.componentTypes.push(o.componentType);const a=function Ib(e){return e.isBoundToModule}(o)?void 0:this._injector.get(nc),g=o.create(Cs.NULL,[],i||o.selector,a),v=g.location.nativeElement,T=g.injector.get(Jv,null),O=T&&g.injector.get(Tb);return T&&O&&O.registerApplication(v,T),g.onDestroy(()=>{this.detachView(g.hostView),xm(this.components,g),O&&O.unregisterApplication(v)}),this._loadComponent(g),g}tick(){if(this._runningTick)throw new mt(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 i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){const i=n;xm(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Zv,[]).concat(this._bootstrapListeners).forEach(o=>o(n))}ngOnDestroy(){this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return e.\u0275fac=function(n){return new(n||e)(Tt(Gs),Tt(Cs),Tt(Ka),Tt(Cm))},e.\u0275prov=qn({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function xm(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let s0=!0;function Ub(){s0=!1}let jb=(()=>{class e{}return e.__NG_ELEMENT_ID__=Vb,e})();function Vb(e){return function Hb(e,t,n){if(mo(e)&&!n){const i=tr(e.index,t);return new bd(i,i)}return 47&e.type?new bd(t[16],t):null}(fr(),We(),16==(16&e))}class d0{constructor(){}supports(t){return au(t)}create(t){return new Kb(t)}}const qb=(e,t)=>t;class Kb{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||qb}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,i=this._removalsHead,o=0,a=null;for(;n||i;){const f=!i||n&&n.currentIndex<h0(i,o,a)?n:i,g=h0(f,o,a),v=f.currentIndex;if(f===i)o--,i=i._nextRemoved;else if(n=n._next,null==f.previousIndex)o++;else{a||(a=[]);const T=g-o,O=v-o;if(T!=O){for(let le=0;le<T;le++){const Ee=le<a.length?a[le]:a[le]=0,ke=Ee+le;O<=ke&&ke<T&&(a[le]=Ee+1)}a[f.previousIndex]=O-T}}g!==v&&t(f,g,v)}}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=[]),!au(t))throw new mt(900,"");return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let o,a,f,n=this._itHead,i=!1;if(Array.isArray(t)){this.length=t.length;for(let g=0;g<this.length;g++)a=t[g],f=this._trackByFn(g,a),null!==n&&Object.is(n.trackById,f)?(i&&(n=this._verifyReinsertion(n,a,f,g)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,f,g),i=!0),n=n._next}else o=0,function Ig(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Sl()]();let i;for(;!(i=n.next()).done;)t(i.value)}}(t,g=>{f=this._trackByFn(o,g),null!==n&&Object.is(n.trackById,f)?(i&&(n=this._verifyReinsertion(n,g,f,o)),Object.is(n.item,g)||this._addIdentityChange(n,g)):(n=this._mismatch(n,g,f,o),i=!0),n=n._next,o++}),this.length=o;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,i,o){let a;return null===t?a=this._itTail:(a=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,a,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,a,o)):t=this._addAfter(new Zb(n,i),a,o),t}_verifyReinsertion(t,n,i,o){let a=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==a?t=this._reinsertAfter(a,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),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,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,a=t._nextRemoved;return null===o?this._removalsHead=a:o._nextRemoved=a,null===a?this._removalsTail=o:a._prevRemoved=o,this._insertAfter(t,n,i),this._addToMoves(t,i),t}_moveAfter(t,n,i){return this._unlink(t),this._insertAfter(t,n,i),this._addToMoves(t,i),t}_addAfter(t,n,i){return this._insertAfter(t,n,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,i){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new f0),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,i=t._next;return null===n?this._itHead=i:n._next=i,null===i?this._itTail=n:i._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 f0),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 Zb{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 Yb{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 i;for(i=this._head;null!==i;i=i._nextDup)if((null===n||n<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const n=t._prevDup,i=t._nextDup;return null===n?this._head=i:n._nextDup=i,null===i?this._tail=n:i._prevDup=n,null===this._head}}class f0{constructor(){this.map=new Map}put(t){const n=t.trackById;let i=this.map.get(n);i||(i=new Yb,this.map.set(n,i)),i.add(t)}get(t,n){const o=this.map.get(t);return o?o.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 h0(e,t,n){const i=e.previousIndex;if(null===i)return i;let o=0;return n&&i<n.length&&(o=n[i]),i+t+o}class p0{constructor(){}supports(t){return t instanceof Map||lu(t)}create(){return new Qb}}class Qb{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||lu(t)))throw new mt(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,(i,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,i),this._appendAfter=n,n=n._next;else{const a=this._getOrCreateRecordForKey(o,i);n=this._insertBeforeOrAppend(n,a)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let i=n;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const i=t._prev;return n._next=t,n._prev=i,t._prev=n,i&&(i._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 o=this._records.get(t);this._maybeAddToChanges(o,n);const a=o._prev,f=o._next;return a&&(a._next=f),f&&(f._prev=a),o._next=null,o._prev=null,o}const i=new Jb(t);return this._records.set(t,i),i.currentValue=n,this._addToAdditions(i),i}_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(i=>n(t[i],i))}}class Jb{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 g0(){return new Nm([new d0])}let Nm=(()=>{class e{constructor(n){this.factories=n}static create(n,i){if(null!=i){const o=i.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||g0()),deps:[[e,new Ri,new Ai]]}}find(n){const i=this.factories.find(o=>o.supports(n));if(null!=i)return i;throw new mt(901,"")}}return e.\u0275prov=qn({token:e,providedIn:"root",factory:g0}),e})();function m0(){return new Fm([new p0])}let Fm=(()=>{class e{constructor(n){this.factories=n}static create(n,i){if(i){const o=i.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||m0()),deps:[[e,new Ri,new Ai]]}}find(n){const i=this.factories.find(a=>a.supports(n));if(i)return i;throw new mt(901,"")}}return e.\u0275prov=qn({token:e,providedIn:"root",factory:m0}),e})();const tE=t0(null,"core",[]);let nE=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(Tt(Pm))},e.\u0275mod=ft({type:e}),e.\u0275inj=Cr({}),e})()},1481:(ve,G,S)=>{"use strict";S.d(G,{b2:()=>Cr,q6:()=>qn,se:()=>Ue});var C=S(6895),p=S(6738);class J extends C.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class W extends J{static makeCurrent(){(0,C.HT)(new W)}onAndCancel(X,Q,Se){return X.addEventListener(Q,Se,!1),()=>{X.removeEventListener(Q,Se,!1)}}dispatchEvent(X,Q){X.dispatchEvent(Q)}remove(X){X.parentNode&&X.parentNode.removeChild(X)}createElement(X,Q){return(Q=Q||this.getDefaultDocument()).createElement(X)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(X){return X.nodeType===Node.ELEMENT_NODE}isShadowRoot(X){return X instanceof DocumentFragment}getGlobalEventTarget(X,Q){return"window"===Q?window:"document"===Q?X:"body"===Q?X.body:null}getBaseHref(X){const Q=function z(){return F=F||document.querySelector("base"),F?F.getAttribute("href"):null}();return null==Q?null:function V(Te){$=$||document.createElement("a"),$.setAttribute("href",Te);const X=$.pathname;return"/"===X.charAt(0)?X:`/${X}`}(Q)}resetBaseElement(){F=null}getUserAgent(){return window.navigator.userAgent}getCookie(X){return(0,C.Mx)(document.cookie,X)}}let $,F=null;const Y=new p.OlP("TRANSITION_ID"),j=[{provide:p.ip1,useFactory:function N(Te,X,Q){return()=>{Q.get(p.CZH).donePromise.then(()=>{const Se=(0,C.q)(),Fe=X.querySelectorAll(`style[ng-transition="${Te}"]`);for(let dt=0;dt<Fe.length;dt++)Se.remove(Fe[dt])})}},deps:[Y,C.K0,p.zs3],multi:!0}];class q{static init(){(0,p.VLi)(new q)}addToWindow(X){p.dqk.getAngularTestability=(Se,Fe=!0)=>{const dt=X.findTestabilityInTree(Se,Fe);if(null==dt)throw new Error("Could not find testability for element.");return dt},p.dqk.getAllAngularTestabilities=()=>X.getAllTestabilities(),p.dqk.getAllAngularRootElements=()=>X.getAllRootElements(),p.dqk.frameworkStabilizers||(p.dqk.frameworkStabilizers=[]),p.dqk.frameworkStabilizers.push(Se=>{const Fe=p.dqk.getAllAngularTestabilities();let dt=Fe.length,ft=!1;const at=function(ae){ft=ft||ae,dt--,0==dt&&Se(ft)};Fe.forEach(function(ae){ae.whenStable(at)})})}findTestabilityInTree(X,Q,Se){return null==Q?null:X.getTestability(Q)??(Se?(0,C.q)().isShadowRoot(Q)?this.findTestabilityInTree(X,Q.host,!0):this.findTestabilityInTree(X,Q.parentElement,!0):null)}}let ie=(()=>{class Te{build(){return new XMLHttpRequest}}return Te.\u0275fac=function(Q){return new(Q||Te)},Te.\u0275prov=p.Yz7({token:Te,factory:Te.\u0275fac}),Te})();const re=new p.OlP("EventManagerPlugins");let de=(()=>{class Te{constructor(Q,Se){this._zone=Se,this._eventNameToPlugin=new Map,Q.forEach(Fe=>Fe.manager=this),this._plugins=Q.slice().reverse()}addEventListener(Q,Se,Fe){return this._findPluginFor(Se).addEventListener(Q,Se,Fe)}addGlobalEventListener(Q,Se,Fe){return this._findPluginFor(Se).addGlobalEventListener(Q,Se,Fe)}getZone(){return this._zone}_findPluginFor(Q){const Se=this._eventNameToPlugin.get(Q);if(Se)return Se;const Fe=this._plugins;for(let dt=0;dt<Fe.length;dt++){const ft=Fe[dt];if(ft.supports(Q))return this._eventNameToPlugin.set(Q,ft),ft}throw new Error(`No event manager plugin found for event ${Q}`)}}return Te.\u0275fac=function(Q){return new(Q||Te)(p.LFG(re),p.LFG(p.R0b))},Te.\u0275prov=p.Yz7({token:Te,factory:Te.\u0275fac}),Te})();class _e{constructor(X){this._doc=X}addGlobalEventListener(X,Q,Se){const Fe=(0,C.q)().getGlobalEventTarget(this._doc,X);if(!Fe)throw new Error(`Unsupported event target ${Fe} for event ${Q}`);return this.addEventListener(Fe,Q,Se)}}let Ae=(()=>{class Te{constructor(){this._stylesSet=new Set}addStyles(Q){const Se=new Set;Q.forEach(Fe=>{this._stylesSet.has(Fe)||(this._stylesSet.add(Fe),Se.add(Fe))}),this.onStylesAdded(Se)}onStylesAdded(Q){}getAllStyles(){return Array.from(this._stylesSet)}}return Te.\u0275fac=function(Q){return new(Q||Te)},Te.\u0275prov=p.Yz7({token:Te,factory:Te.\u0275fac}),Te})(),At=(()=>{class Te extends Ae{constructor(Q){super(),this._doc=Q,this._hostNodes=new Map,this._hostNodes.set(Q.head,[])}_addStylesToHost(Q,Se,Fe){Q.forEach(dt=>{const ft=this._doc.createElement("style");ft.textContent=dt,Fe.push(Se.appendChild(ft))})}addHost(Q){const Se=[];this._addStylesToHost(this._stylesSet,Q,Se),this._hostNodes.set(Q,Se)}removeHost(Q){const Se=this._hostNodes.get(Q);Se&&Se.forEach(et),this._hostNodes.delete(Q)}onStylesAdded(Q){this._hostNodes.forEach((Se,Fe)=>{this._addStylesToHost(Q,Fe,Se)})}ngOnDestroy(){this._hostNodes.forEach(Q=>Q.forEach(et))}}return Te.\u0275fac=function(Q){return new(Q||Te)(p.LFG(C.K0))},Te.\u0275prov=p.Yz7({token:Te,factory:Te.\u0275fac}),Te})();function et(Te){(0,C.q)().remove(Te)}const Ze={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/"},Bt=/%COMP%/g;function _t(Te,X,Q){for(let Se=0;Se<X.length;Se++){let Fe=X[Se];Array.isArray(Fe)?_t(Te,Fe,Q):(Fe=Fe.replace(Bt,Te),Q.push(Fe))}return Q}function Zt(Te){return X=>{if("__ngUnwrap__"===X)return Te;!1===Te(X)&&(X.preventDefault(),X.returnValue=!1)}}let Ue=(()=>{class Te{constructor(Q,Se,Fe){this.eventManager=Q,this.sharedStylesHost=Se,this.appId=Fe,this.rendererByCompId=new Map,this.defaultRenderer=new pe(Q)}createRenderer(Q,Se){if(!Q||!Se)return this.defaultRenderer;switch(Se.encapsulation){case p.ifc.Emulated:{let Fe=this.rendererByCompId.get(Se.id);return Fe||(Fe=new Xt(this.eventManager,this.sharedStylesHost,Se,this.appId),this.rendererByCompId.set(Se.id,Fe)),Fe.applyToHost(Q),Fe}case 1:case p.ifc.ShadowDom:return new Bn(this.eventManager,this.sharedStylesHost,Q,Se);default:if(!this.rendererByCompId.has(Se.id)){const Fe=_t(Se.id,Se.styles,[]);this.sharedStylesHost.addStyles(Fe),this.rendererByCompId.set(Se.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return Te.\u0275fac=function(Q){return new(Q||Te)(p.LFG(de),p.LFG(At),p.LFG(p.AFp))},Te.\u0275prov=p.Yz7({token:Te,factory:Te.\u0275fac}),Te})();class pe{constructor(X){this.eventManager=X,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(X,Q){return Q?document.createElementNS(Ze[Q]||Q,X):document.createElement(X)}createComment(X){return document.createComment(X)}createText(X){return document.createTextNode(X)}appendChild(X,Q){X.appendChild(Q)}insertBefore(X,Q,Se){X&&X.insertBefore(Q,Se)}removeChild(X,Q){X&&X.removeChild(Q)}selectRootElement(X,Q){let Se="string"==typeof X?document.querySelector(X):X;if(!Se)throw new Error(`The selector "${X}" did not match any elements`);return Q||(Se.textContent=""),Se}parentNode(X){return X.parentNode}nextSibling(X){return X.nextSibling}setAttribute(X,Q,Se,Fe){if(Fe){Q=Fe+":"+Q;const dt=Ze[Fe];dt?X.setAttributeNS(dt,Q,Se):X.setAttribute(Q,Se)}else X.setAttribute(Q,Se)}removeAttribute(X,Q,Se){if(Se){const Fe=Ze[Se];Fe?X.removeAttributeNS(Fe,Q):X.removeAttribute(`${Se}:${Q}`)}else X.removeAttribute(Q)}addClass(X,Q){X.classList.add(Q)}removeClass(X,Q){X.classList.remove(Q)}setStyle(X,Q,Se,Fe){Fe&(p.JOm.DashCase|p.JOm.Important)?X.style.setProperty(Q,Se,Fe&p.JOm.Important?"important":""):X.style[Q]=Se}removeStyle(X,Q,Se){Se&p.JOm.DashCase?X.style.removeProperty(Q):X.style[Q]=""}setProperty(X,Q,Se){X[Q]=Se}setValue(X,Q){X.nodeValue=Q}listen(X,Q,Se){return"string"==typeof X?this.eventManager.addGlobalEventListener(X,Q,Zt(Se)):this.eventManager.addEventListener(X,Q,Zt(Se))}}class Xt extends pe{constructor(X,Q,Se,Fe){super(X),this.component=Se;const dt=_t(Fe+"-"+Se.id,Se.styles,[]);Q.addStyles(dt),this.contentAttr=function tt(Te){return"_ngcontent-%COMP%".replace(Bt,Te)}(Fe+"-"+Se.id),this.hostAttr=function mn(Te){return"_nghost-%COMP%".replace(Bt,Te)}(Fe+"-"+Se.id)}applyToHost(X){super.setAttribute(X,this.hostAttr,"")}createElement(X,Q){const Se=super.createElement(X,Q);return super.setAttribute(Se,this.contentAttr,""),Se}}class Bn extends pe{constructor(X,Q,Se,Fe){super(X),this.sharedStylesHost=Q,this.hostEl=Se,this.shadowRoot=Se.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const dt=_t(Fe.id,Fe.styles,[]);for(let ft=0;ft<dt.length;ft++){const at=document.createElement("style");at.textContent=dt[ft],this.shadowRoot.appendChild(at)}}nodeOrShadowRoot(X){return X===this.hostEl?this.shadowRoot:X}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(X,Q){return super.appendChild(this.nodeOrShadowRoot(X),Q)}insertBefore(X,Q,Se){return super.insertBefore(this.nodeOrShadowRoot(X),Q,Se)}removeChild(X,Q){return super.removeChild(this.nodeOrShadowRoot(X),Q)}parentNode(X){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(X)))}}let Vn=(()=>{class Te extends _e{constructor(Q){super(Q)}supports(Q){return!0}addEventListener(Q,Se,Fe){return Q.addEventListener(Se,Fe,!1),()=>this.removeEventListener(Q,Se,Fe)}removeEventListener(Q,Se,Fe){return Q.removeEventListener(Se,Fe)}}return Te.\u0275fac=function(Q){return new(Q||Te)(p.LFG(C.K0))},Te.\u0275prov=p.Yz7({token:Te,factory:Te.\u0275fac}),Te})();const Kr=["alt","control","meta","shift"],Bi={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Ir={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},cr={alt:Te=>Te.altKey,control:Te=>Te.ctrlKey,meta:Te=>Te.metaKey,shift:Te=>Te.shiftKey};let Ti=(()=>{class Te extends _e{constructor(Q){super(Q)}supports(Q){return null!=Te.parseEventName(Q)}addEventListener(Q,Se,Fe){const dt=Te.parseEventName(Se),ft=Te.eventCallback(dt.fullKey,Fe,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,C.q)().onAndCancel(Q,dt.domEventName,ft))}static parseEventName(Q){const Se=Q.toLowerCase().split("."),Fe=Se.shift();if(0===Se.length||"keydown"!==Fe&&"keyup"!==Fe)return null;const dt=Te._normalizeKey(Se.pop());let ft="";if(Kr.forEach(ae=>{const De=Se.indexOf(ae);De>-1&&(Se.splice(De,1),ft+=ae+".")}),ft+=dt,0!=Se.length||0===dt.length)return null;const at={};return at.domEventName=Fe,at.fullKey=ft,at}static getEventFullKey(Q){let Se="",Fe=function Sn(Te){let X=Te.key;if(null==X){if(X=Te.keyIdentifier,null==X)return"Unidentified";X.startsWith("U+")&&(X=String.fromCharCode(parseInt(X.substring(2),16)),3===Te.location&&Ir.hasOwnProperty(X)&&(X=Ir[X]))}return Bi[X]||X}(Q);return Fe=Fe.toLowerCase()," "===Fe?Fe="space":"."===Fe&&(Fe="dot"),Kr.forEach(dt=>{dt!=Fe&&cr[dt](Q)&&(Se+=dt+".")}),Se+=Fe,Se}static eventCallback(Q,Se,Fe){return dt=>{Te.getEventFullKey(dt)===Q&&Fe.runGuarded(()=>Se(dt))}}static _normalizeKey(Q){return"esc"===Q?"escape":Q}}return Te.\u0275fac=function(Q){return new(Q||Te)(p.LFG(C.K0))},Te.\u0275prov=p.Yz7({token:Te,factory:Te.\u0275fac}),Te})();const qn=(0,p.eFA)(p._c5,"browser",[{provide:p.Lbi,useValue:C.bD},{provide:p.g9A,useValue:function nn(){W.makeCurrent(),q.init()},multi:!0},{provide:C.K0,useFactory:function Ci(){return(0,p.RDi)(document),document},deps:[]}]),pr=[{provide:p.zSh,useValue:"root"},{provide:p.qLn,useFactory:function Ui(){return new p.qLn},deps:[]},{provide:re,useClass:Vn,multi:!0,deps:[C.K0,p.R0b,p.Lbi]},{provide:re,useClass:Ti,multi:!0,deps:[C.K0]},{provide:Ue,useClass:Ue,deps:[de,At,p.AFp]},{provide:p.FYo,useExisting:Ue},{provide:Ae,useExisting:At},{provide:At,useClass:At,deps:[C.K0]},{provide:p.dDg,useClass:p.dDg,deps:[p.R0b]},{provide:de,useClass:de,deps:[re,p.R0b]},{provide:C.JF,useClass:ie,deps:[]}];let Cr=(()=>{class Te{constructor(Q){if(Q)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(Q){return{ngModule:Te,providers:[{provide:p.AFp,useValue:Q.appId},{provide:Y,useExisting:p.AFp},j]}}}return Te.\u0275fac=function(Q){return new(Q||Te)(p.LFG(Te,12))},Te.\u0275mod=p.oAB({type:Te}),Te.\u0275inj=p.cJS({providers:pr,imports:[C.ez,p.hGG]}),Te})();typeof window<"u"&&window},1210:(ve,G,S)=>{"use strict";S.d(G,{gz:()=>Hi,F0:()=>oi,Bz:()=>si,lC:()=>wo});var C=S(6895),p=S(6738),J=S(5529),W=S(5279);class F extends J.xQ{constructor(h){super(),this._value=h}get value(){return this.getValue()}_subscribe(h){const c=super._subscribe(h);return c&&!c.closed&&h.next(this._value),c}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new W.N;return this._value}next(h){super.next(this._value=h)}}var z=S(2866),$=S(6688),V=S(826),Y=S(9054),N=S(3009);const j={};class ie{constructor(h){this.resultSelector=h}call(h,c){return c.subscribe(new re(h,this.resultSelector))}}class re extends V.L{constructor(h,c){super(h),this.resultSelector=c,this.active=0,this.values=[],this.observables=[]}_next(h){this.values.push(j),this.observables.push(h)}_complete(){const h=this.observables,c=h.length;if(0===c)this.destination.complete();else{this.active=c,this.toRespond=c;for(let w=0;w<c;w++){const M=h[w];this.add((0,Y.D)(this,M,M,w))}}}notifyComplete(h){0==(this.active-=1)&&this.destination.complete()}notifyNext(h,c,w,M,R){const Z=this.values,Be=this.toRespond?Z[w]===j?--this.toRespond:this.toRespond:0;Z[w]=c,0===Be&&(this.resultSelector?this._tryResultSelector(Z):this.destination.next(Z.slice()))}_tryResultSelector(h){let c;try{c=this.resultSelector.apply(this,h)}catch(w){return void this.destination.error(w)}this.destination.next(c)}}const _e=(()=>{function m(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return m.prototype=Object.create(Error.prototype),m})();var Ae=S(1086),At=S(9146);function Ze(...m){return function et(){return(0,At.J)(1)}()((0,Ae.of)(...m))}var Bt=S(2916),Wt=S(5254),mt=S(8896);function pn(m){return new Bt.y(h=>{let c;try{c=m()}catch(M){return void h.error(M)}return(c?(0,Wt.D)(c):(0,mt.c)()).subscribe(h)})}var ht=S(1737),tt=S(1762),mn=S(1869),_t=S(4850);function Zt(m,h){return"function"==typeof h?c=>c.pipe(Zt((w,M)=>(0,Wt.D)(m(w,M)).pipe((0,_t.U)((R,Z)=>h(w,R,M,Z))))):c=>c.lift(new He(m))}class He{constructor(h){this.project=h}call(h,c){return c.subscribe(new Ue(h,this.project))}}class Ue extends V.L{constructor(h,c){super(h),this.project=c,this.index=0}_next(h){let c;const w=this.index++;try{c=this.project(h,w)}catch(M){return void this.destination.error(M)}this._innerSub(c,h,w)}_innerSub(h,c,w){const M=this.innerSubscription;M&&M.unsubscribe();const R=new mn.d(this,c,w),Z=this.destination;Z.add(R),this.innerSubscription=(0,Y.D)(this,h,void 0,void 0,R),this.innerSubscription!==R&&Z.add(this.innerSubscription)}_complete(){const{innerSubscription:h}=this;(!h||h.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(h){this.destination.remove(h),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(h,c,w,M,R){this.destination.next(c)}}var pe=S(3489);const je=(()=>{function m(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return m.prototype=Object.create(Error.prototype),m})();function Xt(m){return h=>0===m?(0,mt.c)():h.lift(new Bn(m))}class Bn{constructor(h){if(this.total=h,this.total<0)throw new je}call(h,c){return c.subscribe(new Vn(h,this.total))}}class Vn extends pe.L{constructor(h,c){super(h),this.total=c,this.count=0}_next(h){const c=this.total,w=++this.count;w<=c&&(this.destination.next(h),w===c&&(this.destination.complete(),this.unsubscribe()))}}function ur(m,h){let c=!1;return arguments.length>=2&&(c=!0),function(M){return M.lift(new Bi(m,h,c))}}class Bi{constructor(h,c,w=!1){this.accumulator=h,this.seed=c,this.hasSeed=w}call(h,c){return c.subscribe(new Ir(h,this.accumulator,this.seed,this.hasSeed))}}class Ir extends pe.L{constructor(h,c,w,M){super(h),this.accumulator=c,this._seed=w,this.hasSeed=M,this.index=0}get seed(){return this._seed}set seed(h){this.hasSeed=!0,this._seed=h}_next(h){if(this.hasSeed)return this._tryNext(h);this.seed=h,this.destination.next(h)}_tryNext(h){const c=this.index++;let w;try{w=this.accumulator(this.seed,h,c)}catch(M){this.destination.error(M)}this.seed=w,this.destination.next(w)}}function cr(m){return function(c){const w=new Ti(m),M=c.lift(w);return w.caught=M}}class Ti{constructor(h){this.selector=h}call(h,c){return c.subscribe(new Sn(h,this.selector,this.caught))}}class Sn extends V.L{constructor(h,c,w){super(h),this.selector=c,this.caught=w}error(h){if(!this.isStopped){let c;try{c=this.selector(h,this.caught)}catch(R){return void super.error(R)}this._unsubscribeAndRecycle();const w=new mn.d(this,void 0,void 0);this.add(w);const M=(0,Y.D)(this,c,void 0,void 0,w);M!==w&&this.add(M)}}}var nn=S(2198);function Ui(m){return function(c){return 0===m?(0,mt.c)():c.lift(new Ci(m))}}class Ci{constructor(h){if(this.total=h,this.total<0)throw new je}call(h,c){return c.subscribe(new ci(h,this.total))}}class ci extends pe.L{constructor(h,c){super(h),this.total=c,this.ring=new Array,this.count=0}_next(h){const c=this.ring,w=this.total,M=this.count++;c.length<w?c.push(h):c[M%w]=h}_complete(){const h=this.destination;let c=this.count;if(c>0){const w=this.count>=this.total?this.total:this.count,M=this.ring;for(let R=0;R<w;R++){const Z=c++%w;h.next(M[Z])}}h.complete()}}function qn(m=di){return h=>h.lift(new pr(m))}class pr{constructor(h){this.errorFactory=h}call(h,c){return c.subscribe(new Cr(h,this.errorFactory))}}class Cr extends pe.L{constructor(h,c){super(h),this.errorFactory=c,this.hasValue=!1}_next(h){this.hasValue=!0,this.destination.next(h)}_complete(){if(this.hasValue)return this.destination.complete();{let h;try{h=this.errorFactory()}catch(c){h=c}this.destination.error(h)}}}function di(){return new _e}function or(m=null){return h=>h.lift(new Oo(m))}class Oo{constructor(h){this.defaultValue=h}call(h,c){return c.subscribe(new wr(h,this.defaultValue))}}class wr extends pe.L{constructor(h,c){super(h),this.defaultValue=c,this.isEmpty=!0}_next(h){this.isEmpty=!1,this.destination.next(h)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}var Ar=S(5379);function Ce(m,h){const c=arguments.length>=2;return w=>w.pipe(m?(0,nn.h)((M,R)=>m(M,R,w)):Ar.y,Xt(1),c?or(h):qn(()=>new _e))}function te(){}var U=S(7043);function I(m,h,c){return function(M){return M.lift(new ge(m,h,c))}}class ge{constructor(h,c,w){this.nextOrObserver=h,this.error=c,this.complete=w}call(h,c){return c.subscribe(new ye(h,this.nextOrObserver,this.error,this.complete))}}class ye extends pe.L{constructor(h,c,w,M){super(h),this._tapNext=te,this._tapError=te,this._tapComplete=te,this._tapError=w||te,this._tapComplete=M||te,(0,U.m)(c)?(this._context=this,this._tapNext=c):c&&(this._context=c,this._tapNext=c.next||te,this._tapError=c.error||te,this._tapComplete=c.complete||te)}_next(h){try{this._tapNext.call(this._context,h)}catch(c){return void this.destination.error(c)}this.destination.next(h)}_error(h){try{this._tapError.call(this._context,h)}catch(c){return void this.destination.error(c)}this.destination.error(h)}_complete(){try{this._tapComplete.call(this._context)}catch(h){return void this.destination.error(h)}return this.destination.complete()}}var be=S(2654);class st{constructor(h){this.callback=h}call(h,c){return c.subscribe(new Ge(h,this.callback))}}class Ge extends pe.L{constructor(h,c){super(h),this.add(new be.w(c))}}var ut=S(1406),bt=S(1709),Pt=S(4327);class yt{constructor(h,c){this.id=h,this.url=c}}class lt extends yt{constructor(h,c,w="imperative",M=null){super(h,c),this.navigationTrigger=w,this.restoredState=M}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Yt extends yt{constructor(h,c,w){super(h,c),this.urlAfterRedirects=w}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Rt extends yt{constructor(h,c,w){super(h,c),this.reason=w}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Qt extends yt{constructor(h,c,w){super(h,c),this.error=w}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Ke extends yt{constructor(h,c,w,M){super(h,c),this.urlAfterRedirects=w,this.state=M}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Jn extends yt{constructor(h,c,w,M){super(h,c),this.urlAfterRedirects=w,this.state=M}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class _n extends yt{constructor(h,c,w,M,R){super(h,c),this.urlAfterRedirects=w,this.state=M,this.shouldActivate=R}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class yn extends yt{constructor(h,c,w,M){super(h,c),this.urlAfterRedirects=w,this.state=M}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class xt extends yt{constructor(h,c,w,M){super(h,c),this.urlAfterRedirects=w,this.state=M}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class wt{constructor(h){this.route=h}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class bn{constructor(h){this.route=h}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class pt{constructor(h){this.snapshot=h}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class dn{constructor(h){this.snapshot=h}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Lt{constructor(h){this.snapshot=h}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Xn{constructor(h){this.snapshot=h}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Te{constructor(h,c,w){this.routerEvent=h,this.position=c,this.anchor=w}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const X="primary";class Q{constructor(h){this.params=h||{}}has(h){return Object.prototype.hasOwnProperty.call(this.params,h)}get(h){if(this.has(h)){const c=this.params[h];return Array.isArray(c)?c[0]:c}return null}getAll(h){if(this.has(h)){const c=this.params[h];return Array.isArray(c)?c:[c]}return[]}get keys(){return Object.keys(this.params)}}function Se(m){return new Q(m)}const Fe="ngNavigationCancelingError";function dt(m){const h=Error("NavigationCancelingError: "+m);return h[Fe]=!0,h}function at(m,h,c){const w=c.path.split("/");if(w.length>m.length||"full"===c.pathMatch&&(h.hasChildren()||w.length<m.length))return null;const M={};for(let R=0;R<w.length;R++){const Z=w[R],ue=m[R];if(Z.startsWith(":"))M[Z.substring(1)]=ue;else if(Z!==ue.path)return null}return{consumed:m.slice(0,w.length),posParams:M}}function De(m,h){const c=m?Object.keys(m):void 0,w=h?Object.keys(h):void 0;if(!c||!w||c.length!=w.length)return!1;let M;for(let R=0;R<c.length;R++)if(M=c[R],!Ot(m[M],h[M]))return!1;return!0}function Ot(m,h){if(Array.isArray(m)&&Array.isArray(h)){if(m.length!==h.length)return!1;const c=[...m].sort(),w=[...h].sort();return c.every((M,R)=>w[R]===M)}return m===h}function Mt(m){return Array.prototype.concat.apply([],m)}function In(m){return m.length>0?m[m.length-1]:null}function Ve(m,h){for(const c in m)m.hasOwnProperty(c)&&h(m[c],c)}function xe(m){return(0,p.CqO)(m)?m:(0,p.QGY)(m)?(0,Wt.D)(Promise.resolve(m)):(0,Ae.of)(m)}const Ye={exact:function Et(m,h,c){if(!br(m.segments,h.segments)||!sr(m.segments,h.segments,c)||m.numberOfChildren!==h.numberOfChildren)return!1;for(const w in h.children)if(!m.children[w]||!Et(m.children[w],h.children[w],c))return!1;return!0},subset:Ht},ct={exact:function kt(m,h){return De(m,h)},subset:function qt(m,h){return Object.keys(h).length<=Object.keys(m).length&&Object.keys(h).every(c=>Ot(m[c],h[c]))},ignored:()=>!0};function ot(m,h,c){return Ye[c.paths](m.root,h.root,c.matrixParams)&&ct[c.queryParams](m.queryParams,h.queryParams)&&!("exact"===c.fragment&&m.fragment!==h.fragment)}function Ht(m,h,c){return En(m,h,h.segments,c)}function En(m,h,c,w){if(m.segments.length>c.length){const M=m.segments.slice(0,c.length);return!(!br(M,c)||h.hasChildren()||!sr(M,c,w))}if(m.segments.length===c.length){if(!br(m.segments,c)||!sr(m.segments,c,w))return!1;for(const M in h.children)if(!m.children[M]||!Ht(m.children[M],h.children[M],w))return!1;return!0}{const M=c.slice(0,m.segments.length),R=c.slice(m.segments.length);return!!(br(m.segments,M)&&sr(m.segments,M,w)&&m.children[X])&&En(m.children[X],h,R,w)}}function sr(m,h,c){return h.every((w,M)=>ct[c](m[M].parameters,w.parameters))}class St{constructor(h,c,w){this.root=h,this.queryParams=c,this.fragment=w}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Se(this.queryParams)),this._queryParamMap}toString(){return ar.serialize(this)}}class sn{constructor(h,c){this.segments=h,this.children=c,this.parent=null,Ve(c,(w,M)=>w.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return vn(this)}}class Rr{constructor(h,c){this.path=h,this.parameters=c}get parameterMap(){return this._parameterMap||(this._parameterMap=Se(this.parameters)),this._parameterMap}toString(){return Er(this)}}function br(m,h){return m.length===h.length&&m.every((c,w)=>c.path===h[w].path)}class Kn{}class Zr{parse(h){const c=new Pa(h);return new St(c.parseRootSegment(),c.parseQueryParams(),c.parseFragment())}serialize(h){const c=`/${fi(h.root,!0)}`,w=function Lr(m){const h=Object.keys(m).map(c=>{const w=m[c];return Array.isArray(w)?w.map(M=>`${gr(c)}=${gr(M)}`).join("&"):`${gr(c)}=${gr(w)}`}).filter(c=>!!c);return h.length?`?${h.join("&")}`:""}(h.queryParams);return`${c}${w}${"string"==typeof h.fragment?`#${function wi(m){return encodeURI(m)}(h.fragment)}`:""}`}}const ar=new Zr;function vn(m){return m.segments.map(h=>Er(h)).join("/")}function fi(m,h){if(!m.hasChildren())return vn(m);if(h){const c=m.children[X]?fi(m.children[X],!1):"",w=[];return Ve(m.children,(M,R)=>{R!==X&&w.push(`${R}:${fi(M,!1)}`)}),w.length>0?`${c}(${w.join("//")})`:c}{const c=function dr(m,h){let c=[];return Ve(m.children,(w,M)=>{M===X&&(c=c.concat(h(w,M)))}),Ve(m.children,(w,M)=>{M!==X&&(c=c.concat(h(w,M)))}),c}(m,(w,M)=>M===X?[fi(m.children[X],!1)]:[`${M}:${fi(w,!1)}`]);return 1===Object.keys(m.children).length&&null!=m.children[X]?`${vn(m)}/${c[0]}`:`${vn(m)}/(${c.join("//")})`}}function Fr(m){return encodeURIComponent(m).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function gr(m){return Fr(m).replace(/%3B/gi,";")}function go(m){return Fr(m).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ni(m){return decodeURIComponent(m)}function bi(m){return ni(m.replace(/\+/g,"%20"))}function Er(m){return`${go(m.path)}${function Ws(m){return Object.keys(m).map(h=>`;${go(h)}=${go(m[h])}`).join("")}(m.parameters)}`}const Wn=/^[^\/()?;=#]+/;function ri(m){const h=m.match(Wn);return h?h[0]:""}const mo=/^[^=?&#]+/,Yr=/^[^&#]+/;class Pa{constructor(h){this.url=h,this.remaining=h}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new sn([],{}):new sn([],this.parseChildren())}parseQueryParams(){const h={};if(this.consumeOptional("?"))do{this.parseQueryParam(h)}while(this.consumeOptional("&"));return h}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const h=[];for(this.peekStartsWith("(")||h.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),h.push(this.parseSegment());let c={};this.peekStartsWith("/(")&&(this.capture("/"),c=this.parseParens(!0));let w={};return this.peekStartsWith("(")&&(w=this.parseParens(!1)),(h.length>0||Object.keys(c).length>0)&&(w[X]=new sn(h,c)),w}parseSegment(){const h=ri(this.remaining);if(""===h&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(h),new Rr(ni(h),this.parseMatrixParams())}parseMatrixParams(){const h={};for(;this.consumeOptional(";");)this.parseParam(h);return h}parseParam(h){const c=ri(this.remaining);if(!c)return;this.capture(c);let w="";if(this.consumeOptional("=")){const M=ri(this.remaining);M&&(w=M,this.capture(w))}h[ni(c)]=ni(w)}parseQueryParam(h){const c=function Ao(m){const h=m.match(mo);return h?h[0]:""}(this.remaining);if(!c)return;this.capture(c);let w="";if(this.consumeOptional("=")){const Z=function ws(m){const h=m.match(Yr);return h?h[0]:""}(this.remaining);Z&&(w=Z,this.capture(w))}const M=bi(c),R=bi(w);if(h.hasOwnProperty(M)){let Z=h[M];Array.isArray(Z)||(Z=[Z],h[M]=Z),Z.push(R)}else h[M]=R}parseParens(h){const c={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const w=ri(this.remaining),M=this.remaining[w.length];if("/"!==M&&")"!==M&&";"!==M)throw new Error(`Cannot parse url '${this.url}'`);let R;w.indexOf(":")>-1?(R=w.substr(0,w.indexOf(":")),this.capture(R),this.capture(":")):h&&(R=X);const Z=this.parseChildren();c[R]=1===Object.keys(Z).length?Z[X]:new sn([],Z),this.consumeOptional("//")}return c}peekStartsWith(h){return this.remaining.startsWith(h)}consumeOptional(h){return!!this.peekStartsWith(h)&&(this.remaining=this.remaining.substring(h.length),!0)}capture(h){if(!this.consumeOptional(h))throw new Error(`Expected "${h}".`)}}class bs{constructor(h){this._root=h}get root(){return this._root.value}parent(h){const c=this.pathFromRoot(h);return c.length>1?c[c.length-2]:null}children(h){const c=ns(h,this._root);return c?c.children.map(w=>w.value):[]}firstChild(h){const c=ns(h,this._root);return c&&c.children.length>0?c.children[0].value:null}siblings(h){const c=qs(h,this._root);return c.length<2?[]:c[c.length-2].children.map(M=>M.value).filter(M=>M!==h)}pathFromRoot(h){return qs(h,this._root).map(c=>c.value)}}function ns(m,h){if(m===h.value)return h;for(const c of h.children){const w=ns(m,c);if(w)return w}return null}function qs(m,h){if(m===h.value)return[h];for(const c of h.children){const w=qs(m,c);if(w.length)return w.unshift(h),w}return[]}class ji{constructor(h,c){this.value=h,this.children=c}toString(){return`TreeNode(${this.value})`}}function Vi(m){const h={};return m&&m.children.forEach(c=>h[c.value.outlet]=c),h}class Ks extends bs{constructor(h,c){super(h),this.snapshot=c,Qs(this,h)}toString(){return this.snapshot.toString()}}function eo(m,h){const c=function Zs(m,h){const Z=new is([],{},{},"",{},X,h,null,m.root,-1,{});return new xa("",new ji(Z,[]))}(m,h),w=new F([new Rr("",{})]),M=new F({}),R=new F({}),Z=new F({}),ue=new F(""),Be=new Hi(w,M,Z,ue,R,X,h,c.root);return Be.snapshot=c.root,new Ks(new ji(Be,[]),c)}class Hi{constructor(h,c,w,M,R,Z,ue,Be){this.url=h,this.params=c,this.queryParams=w,this.fragment=M,this.data=R,this.outlet=Z,this.component=ue,this._futureSnapshot=Be}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,_t.U)(h=>Se(h)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,_t.U)(h=>Se(h)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function rs(m,h="emptyOnly"){const c=m.pathFromRoot;let w=0;if("always"!==h)for(w=c.length-1;w>=1;){const M=c[w],R=c[w-1];if(M.routeConfig&&""===M.routeConfig.path)w--;else{if(R.component)break;w--}}return function Ys(m){return m.reduce((h,c)=>({params:{...h.params,...c.params},data:{...h.data,...c.data},resolve:{...h.resolve,...c._resolvedData}}),{params:{},data:{},resolve:{}})}(c.slice(w))}class is{constructor(h,c,w,M,R,Z,ue,Be,rt,Ln,Gt){this.url=h,this.params=c,this.queryParams=w,this.fragment=M,this.data=R,this.outlet=Z,this.component=ue,this.routeConfig=Be,this._urlSegment=rt,this._lastPathIndex=Ln,this._resolve=Gt}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=Se(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Se(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(w=>w.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class xa extends bs{constructor(h,c){super(c),this.url=h,Qs(this,c)}toString(){return Oa(this._root)}}function Qs(m,h){h.value._routerState=m,h.children.forEach(c=>Qs(m,c))}function Oa(m){const h=m.children.length>0?` { ${m.children.map(Oa).join(", ")} } `:"";return`${m.value}${h}`}function _o(m){if(m.snapshot){const h=m.snapshot,c=m._futureSnapshot;m.snapshot=c,De(h.queryParams,c.queryParams)||m.queryParams.next(c.queryParams),h.fragment!==c.fragment&&m.fragment.next(c.fragment),De(h.params,c.params)||m.params.next(c.params),function ae(m,h){if(m.length!==h.length)return!1;for(let c=0;c<m.length;++c)if(!De(m[c],h[c]))return!1;return!0}(h.url,c.url)||m.url.next(c.url),De(h.data,c.data)||m.data.next(c.data)}else m.snapshot=m._futureSnapshot,m.data.next(m._futureSnapshot.data)}function Nn(m,h){const c=De(m.params,h.params)&&function Io(m,h){return br(m,h)&&m.every((c,w)=>De(c.parameters,h[w].parameters))}(m.url,h.url);return c&&!(!m.parent!=!h.parent)&&(!m.parent||Nn(m.parent,h.parent))}function Ro(m,h,c){if(c&&m.shouldReuseRoute(h.value,c.value.snapshot)){const w=c.value;w._futureSnapshot=h.value;const M=function Es(m,h,c){return h.children.map(w=>{for(const M of c.children)if(m.shouldReuseRoute(w.value,M.value.snapshot))return Ro(m,w,M);return Ro(m,w)})}(m,h,c);return new ji(w,M)}{if(m.shouldAttach(h.value)){const R=m.retrieve(h.value);if(null!==R){const Z=R.route;return Z.value._futureSnapshot=h.value,Z.children=h.children.map(ue=>Ro(m,ue)),Z}}const w=function Ia(m){return new Hi(new F(m.url),new F(m.params),new F(m.queryParams),new F(m.fragment),new F(m.data),m.outlet,m.component,m)}(h.value),M=h.children.map(R=>Ro(m,R));return new ji(w,M)}}function os(m){return"object"==typeof m&&null!=m&&!m.outlets&&!m.segmentPath}function yo(m){return"object"==typeof m&&null!=m&&m.outlets}function vo(m,h,c,w,M){let R={};if(w&&Ve(w,(ue,Be)=>{R[Be]=Array.isArray(ue)?ue.map(rt=>`${rt}`):`${ue}`}),m===h)return new St(c,R,M);const Z=ol(m,h,c);return new St(Z,R,M)}function ol(m,h,c){const w={};return Ve(m.children,(M,R)=>{w[R]=M===h?c:ol(M,h,c)}),new sn(m.segments,w)}class Dr{constructor(h,c,w){if(this.isAbsolute=h,this.numberOfDoubleDots=c,this.commands=w,h&&w.length>0&&os(w[0]))throw new Error("Root segment cannot have matrix parameters");const M=w.find(yo);if(M&&M!==In(w))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class to{constructor(h,c,w){this.segmentGroup=h,this.processChildren=c,this.index=w}}function Br(m,h,c){if(m||(m=new sn([],{})),0===m.segments.length&&m.hasChildren())return Co(m,h,c);const w=function Xs(m,h,c){let w=0,M=h;const R={match:!1,pathIndex:0,commandIndex:0};for(;M<m.segments.length;){if(w>=c.length)return R;const Z=m.segments[M],ue=c[w];if(yo(ue))break;const Be=`${ue}`,rt=w<c.length-1?c[w+1]:null;if(M>0&&void 0===Be)break;if(Be&&rt&&"object"==typeof rt&&void 0===rt.outlets){if(!L(Be,rt,Z))return R;w+=2}else{if(!L(Be,{},Z))return R;w++}M++}return{match:!0,pathIndex:M,commandIndex:w}}(m,h,c),M=c.slice(w.commandIndex);if(w.match&&w.pathIndex<m.segments.length){const R=new sn(m.segments.slice(0,w.pathIndex),{});return R.children[X]=new sn(m.segments.slice(w.pathIndex),m.children),Co(R,0,M)}return w.match&&0===M.length?new sn(m.segments,{}):w.match&&!m.hasChildren()?E(m,h,c):w.match?Co(m,0,M):E(m,h,c)}function Co(m,h,c){if(0===c.length)return new sn(m.segments,{});{const w=function kr(m){return yo(m[0])?m[0].outlets:{[X]:m}}(c),M={};return Ve(w,(R,Z)=>{"string"==typeof R&&(R=[R]),null!==R&&(M[Z]=Br(m.children[Z],h,R))}),Ve(m.children,(R,Z)=>{void 0===w[Z]&&(M[Z]=R)}),new sn(m.segments,M)}}function E(m,h,c){const w=m.segments.slice(0,h);let M=0;for(;M<c.length;){const R=c[M];if(yo(R)){const Be=A(R.outlets);return new sn(w,Be)}if(0===M&&os(c[0])){w.push(new Rr(m.segments[h].path,D(c[0]))),M++;continue}const Z=yo(R)?R.outlets[X]:`${R}`,ue=M<c.length-1?c[M+1]:null;Z&&ue&&os(ue)?(w.push(new Rr(Z,D(ue))),M+=2):(w.push(new Rr(Z,{})),M++)}return new sn(w,{})}function A(m){const h={};return Ve(m,(c,w)=>{"string"==typeof c&&(c=[c]),null!==c&&(h[w]=E(new sn([],{}),0,c))}),h}function D(m){const h={};return Ve(m,(c,w)=>h[w]=`${c}`),h}function L(m,h,c){return m==c.path&&De(h,c.parameters)}class Oe{constructor(h,c,w,M){this.routeReuseStrategy=h,this.futureState=c,this.currState=w,this.forwardEvent=M}activate(h){const c=this.futureState._root,w=this.currState?this.currState._root:null;this.deactivateChildRoutes(c,w,h),_o(this.futureState.root),this.activateChildRoutes(c,w,h)}deactivateChildRoutes(h,c,w){const M=Vi(c);h.children.forEach(R=>{const Z=R.value.outlet;this.deactivateRoutes(R,M[Z],w),delete M[Z]}),Ve(M,(R,Z)=>{this.deactivateRouteAndItsChildren(R,w)})}deactivateRoutes(h,c,w){const M=h.value,R=c?c.value:null;if(M===R)if(M.component){const Z=w.getContext(M.outlet);Z&&this.deactivateChildRoutes(h,c,Z.children)}else this.deactivateChildRoutes(h,c,w);else R&&this.deactivateRouteAndItsChildren(c,w)}deactivateRouteAndItsChildren(h,c){h.value.component&&this.routeReuseStrategy.shouldDetach(h.value.snapshot)?this.detachAndStoreRouteSubtree(h,c):this.deactivateRouteAndOutlet(h,c)}detachAndStoreRouteSubtree(h,c){const w=c.getContext(h.value.outlet),M=w&&h.value.component?w.children:c,R=Vi(h);for(const Z of Object.keys(R))this.deactivateRouteAndItsChildren(R[Z],M);if(w&&w.outlet){const Z=w.outlet.detach(),ue=w.children.onOutletDeactivated();this.routeReuseStrategy.store(h.value.snapshot,{componentRef:Z,route:h,contexts:ue})}}deactivateRouteAndOutlet(h,c){const w=c.getContext(h.value.outlet),M=w&&h.value.component?w.children:c,R=Vi(h);for(const Z of Object.keys(R))this.deactivateRouteAndItsChildren(R[Z],M);w&&w.outlet&&(w.outlet.deactivate(),w.children.onOutletDeactivated(),w.attachRef=null,w.resolver=null,w.route=null)}activateChildRoutes(h,c,w){const M=Vi(c);h.children.forEach(R=>{this.activateRoutes(R,M[R.value.outlet],w),this.forwardEvent(new Xn(R.value.snapshot))}),h.children.length&&this.forwardEvent(new dn(h.value.snapshot))}activateRoutes(h,c,w){const M=h.value,R=c?c.value:null;if(_o(M),M===R)if(M.component){const Z=w.getOrCreateContext(M.outlet);this.activateChildRoutes(h,c,Z.children)}else this.activateChildRoutes(h,c,w);else if(M.component){const Z=w.getOrCreateContext(M.outlet);if(this.routeReuseStrategy.shouldAttach(M.snapshot)){const ue=this.routeReuseStrategy.retrieve(M.snapshot);this.routeReuseStrategy.store(M.snapshot,null),Z.children.onOutletReAttached(ue.contexts),Z.attachRef=ue.componentRef,Z.route=ue.route.value,Z.outlet&&Z.outlet.attach(ue.componentRef,ue.route.value),_o(ue.route.value),this.activateChildRoutes(h,null,Z.children)}else{const ue=function Je(m){for(let h=m.parent;h;h=h.parent){const c=h.routeConfig;if(c&&c._loadedConfig)return c._loadedConfig;if(c&&c.component)return null}return null}(M.snapshot),Be=ue?ue.module.componentFactoryResolver:null;Z.attachRef=null,Z.route=M,Z.resolver=Be,Z.outlet&&Z.outlet.activateWith(M,Be),this.activateChildRoutes(h,null,Z.children)}}else this.activateChildRoutes(h,null,w)}}class nt{constructor(h,c){this.routes=h,this.module=c}}function fn(m){return"function"==typeof m}function $t(m){return m instanceof St}const Qr=Symbol("INITIAL_VALUE");function Mr(){return Zt(m=>function q(...m){let h=null,c=null;return(0,z.K)(m[m.length-1])&&(c=m.pop()),"function"==typeof m[m.length-1]&&(h=m.pop()),1===m.length&&(0,$.k)(m[0])&&(m=m[0]),(0,N.n)(m,c).lift(new ie(h))}(m.map(h=>h.pipe(Xt(1),function Kr(...m){const h=m[m.length-1];return(0,z.K)(h)?(m.pop(),c=>Ze(m,c,h)):c=>Ze(m,c)}(Qr)))).pipe(ur((h,c)=>{let w=!1;return c.reduce((M,R,Z)=>M!==Qr?M:(R===Qr&&(w=!0),w||!1!==R&&Z!==c.length-1&&!$t(R)?M:R),h)},Qr),(0,nn.h)(h=>h!==Qr),(0,_t.U)(h=>$t(h)?h:!0===h),Xt(1)))}class hi{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new tr,this.attachRef=null}}class tr{constructor(){this.contexts=new Map}onChildOutletCreated(h,c){const w=this.getOrCreateContext(h);w.outlet=c,this.contexts.set(h,w)}onChildOutletDestroyed(h){const c=this.getContext(h);c&&(c.outlet=null,c.attachRef=null)}onOutletDeactivated(){const h=this.contexts;return this.contexts=new Map,h}onOutletReAttached(h){this.contexts=h}getOrCreateContext(h){let c=this.getContext(h);return c||(c=new hi,this.contexts.set(h,c)),c}getContext(h){return this.contexts.get(h)||null}}let wo=(()=>{class m{constructor(c,w,M,R,Z){this.parentContexts=c,this.location=w,this.resolver=M,this.changeDetector=Z,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=R||X,c.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const c=this.parentContexts.getContext(this.name);c&&c.route&&(c.attachRef?this.attach(c.attachRef,c.route):this.activateWith(c.route,c.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 c=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(c.instance),c}attach(c,w){this.activated=c,this._activatedRoute=w,this.location.insert(c.hostView),this.attachEvents.emit(c.instance)}deactivate(){if(this.activated){const c=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(c)}}activateWith(c,w){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=c;const Z=(w=w||this.resolver).resolveComponentFactory(c._futureSnapshot.routeConfig.component),ue=this.parentContexts.getOrCreateContext(this.name).children,Be=new Ei(c,ue,this.location.injector);this.activated=this.location.createComponent(Z,this.location.length,Be),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return m.\u0275fac=function(c){return new(c||m)(p.Y36(tr),p.Y36(p.s_b),p.Y36(p._Vd),p.$8M("name"),p.Y36(p.sBO))},m.\u0275dir=p.lG2({type:m,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),m})();class Ei{constructor(h,c,w){this.route=h,this.childContexts=c,this.parent=w}get(h,c){return h===Hi?this.route:h===tr?this.childContexts:this.parent.get(h,c)}}let zi=(()=>{class m{}return m.\u0275fac=function(c){return new(c||m)},m.\u0275cmp=p.Xpm({type:m,selectors:[["ng-component"]],decls:1,vars:0,template:function(c,w){1&c&&p._UZ(0,"router-outlet")},directives:[wo],encapsulation:2}),m})();function ro(m,h=""){for(let c=0;c<m.length;c++){const w=m[c];ss(w,ea(h,w))}}function ss(m,h){m.children&&ro(m.children,h)}function ea(m,h){return h?m||h.path?m&&!h.path?`${m}/`:!m&&h.path?h.path:`${m}/${h.path}`:"":m}function en(m){const h=m.children&&m.children.map(en),c=h?{...m,children:h}:{...m};return!c.component&&(h||c.loadChildren)&&c.outlet&&c.outlet!==X&&(c.component=zi),c}function Ur(m){return m.outlet||X}function Aa(m,h){const c=m.filter(w=>Ur(w)===h);return c.push(...m.filter(w=>Ur(w)!==h)),c}const pi={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Pi(m,h,c){if(""===h.path)return"full"===h.pathMatch&&(m.hasChildren()||c.length>0)?{...pi}:{matched:!0,consumedSegments:[],remainingSegments:c,parameters:{},positionalParamSegments:{}};const M=(h.matcher||at)(c,m,h);if(!M)return{...pi};const R={};Ve(M.posParams,(ue,Be)=>{R[Be]=ue.path});const Z=M.consumed.length>0?{...R,...M.consumed[M.consumed.length-1].parameters}:R;return{matched:!0,consumedSegments:M.consumed,remainingSegments:c.slice(M.consumed.length),parameters:Z,positionalParamSegments:M.posParams??{}}}function as(m,h,c,w,M="corrected"){if(c.length>0&&function gi(m,h,c){return c.some(w=>un(m,h,w)&&Ur(w)!==X)}(m,c,w)){const Z=new sn(h,function Ra(m,h,c,w){const M={};M[X]=w,w._sourceSegment=m,w._segmentIndexShift=h.length;for(const R of c)if(""===R.path&&Ur(R)!==X){const Z=new sn([],{});Z._sourceSegment=m,Z._segmentIndexShift=h.length,M[Ur(R)]=Z}return M}(m,h,w,new sn(c,m.children)));return Z._sourceSegment=m,Z._segmentIndexShift=h.length,{segmentGroup:Z,slicedSegments:[]}}if(0===c.length&&function We(m,h,c){return c.some(w=>un(m,h,w))}(m,c,w)){const Z=new sn(m.segments,function sl(m,h,c,w,M,R){const Z={};for(const ue of w)if(un(m,c,ue)&&!M[Ur(ue)]){const Be=new sn([],{});Be._sourceSegment=m,Be._segmentIndexShift="legacy"===R?m.segments.length:h.length,Z[Ur(ue)]=Be}return{...M,...Z}}(m,h,c,w,m.children,M));return Z._sourceSegment=m,Z._segmentIndexShift=h.length,{segmentGroup:Z,slicedSegments:c}}const R=new sn(m.segments,m.children);return R._sourceSegment=m,R._segmentIndexShift=h.length,{segmentGroup:R,slicedSegments:c}}function un(m,h,c){return(!(m.hasChildren()||h.length>0)||"full"!==c.pathMatch)&&""===c.path}function ta(m,h,c,w){return!!(Ur(m)===w||w!==X&&un(h,c,m))&&("**"===m.path||Pi(h,m,c).matched)}function fr(m,h,c){return 0===h.length&&!m.children[c]}class No{constructor(h){this.segmentGroup=h||null}}class ls{constructor(h){this.urlTree=h}}function Jr(m){return(0,ht._)(new No(m))}function na(m){return(0,ht._)(new ls(m))}class Fl{constructor(h,c,w,M,R){this.configLoader=c,this.urlSerializer=w,this.urlTree=M,this.config=R,this.allowRedirects=!0,this.ngModule=h.get(p.h0i)}apply(){const h=as(this.urlTree.root,[],[],this.config).segmentGroup,c=new sn(h.segments,h.children);return this.expandSegmentGroup(this.ngModule,this.config,c,X).pipe((0,_t.U)(R=>this.createUrlTree(Sr(R),this.urlTree.queryParams,this.urlTree.fragment))).pipe(cr(R=>{if(R instanceof ls)return this.allowRedirects=!1,this.match(R.urlTree);throw R instanceof No?this.noMatchError(R):R}))}match(h){return this.expandSegmentGroup(this.ngModule,this.config,h.root,X).pipe((0,_t.U)(M=>this.createUrlTree(Sr(M),h.queryParams,h.fragment))).pipe(cr(M=>{throw M instanceof No?this.noMatchError(M):M}))}noMatchError(h){return new Error(`Cannot match any routes. URL Segment: '${h.segmentGroup}'`)}createUrlTree(h,c,w){const M=h.segments.length>0?new sn([],{[X]:h}):h;return new St(M,c,w)}expandSegmentGroup(h,c,w,M){return 0===w.segments.length&&w.hasChildren()?this.expandChildren(h,c,w).pipe((0,_t.U)(R=>new sn([],R))):this.expandSegment(h,w,c,w.segments,M,!0)}expandChildren(h,c,w){const M=[];for(const R of Object.keys(w.children))"primary"===R?M.unshift(R):M.push(R);return(0,Wt.D)(M).pipe((0,ut.b)(R=>{const Z=w.children[R],ue=Aa(c,R);return this.expandSegmentGroup(h,ue,Z,R).pipe((0,_t.U)(Be=>({segment:Be,outlet:R})))}),ur((R,Z)=>(R[Z.outlet]=Z.segment,R),{}),function se(m,h){const c=arguments.length>=2;return w=>w.pipe(m?(0,nn.h)((M,R)=>m(M,R,w)):Ar.y,Ui(1),c?or(h):qn(()=>new _e))}())}expandSegment(h,c,w,M,R,Z){return(0,Wt.D)(w).pipe((0,ut.b)(ue=>this.expandSegmentAgainstRoute(h,c,w,ue,M,R,Z).pipe(cr(rt=>{if(rt instanceof No)return(0,Ae.of)(null);throw rt}))),Ce(ue=>!!ue),cr((ue,Be)=>{if(ue instanceof _e||"EmptyError"===ue.name)return fr(c,M,R)?(0,Ae.of)(new sn([],{})):Jr(c);throw ue}))}expandSegmentAgainstRoute(h,c,w,M,R,Z,ue){return ta(M,c,R,Z)?void 0===M.redirectTo?this.matchSegmentAgainstRoute(h,c,M,R,Z):ue&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(h,c,w,M,R,Z):Jr(c):Jr(c)}expandSegmentAgainstRouteUsingRedirect(h,c,w,M,R,Z){return"**"===M.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(h,w,M,Z):this.expandRegularSegmentAgainstRouteUsingRedirect(h,c,w,M,R,Z)}expandWildCardWithParamsAgainstRouteUsingRedirect(h,c,w,M){const R=this.applyRedirectCommands([],w.redirectTo,{});return w.redirectTo.startsWith("/")?na(R):this.lineralizeSegments(w,R).pipe((0,bt.zg)(Z=>{const ue=new sn(Z,{});return this.expandSegment(h,ue,c,Z,M,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(h,c,w,M,R,Z){const{matched:ue,consumedSegments:Be,remainingSegments:rt,positionalParamSegments:Ln}=Pi(c,M,R);if(!ue)return Jr(c);const Gt=this.applyRedirectCommands(Be,M.redirectTo,Ln);return M.redirectTo.startsWith("/")?na(Gt):this.lineralizeSegments(M,Gt).pipe((0,bt.zg)(On=>this.expandSegment(h,c,w,On.concat(rt),Z,!1)))}matchSegmentAgainstRoute(h,c,w,M,R){if("**"===w.path)return w.loadChildren?(w._loadedConfig?(0,Ae.of)(w._loadedConfig):this.configLoader.load(h.injector,w)).pipe((0,_t.U)(Gt=>(w._loadedConfig=Gt,new sn(M,{})))):(0,Ae.of)(new sn(M,{}));const{matched:Z,consumedSegments:ue,remainingSegments:Be}=Pi(c,w,M);return Z?this.getChildConfig(h,w,M).pipe((0,bt.zg)(Ln=>{const Gt=Ln.module,On=Ln.routes,{segmentGroup:nr,slicedSegments:hs}=as(c,ue,Be,On),As=new sn(nr.segments,nr.children);if(0===hs.length&&As.hasChildren())return this.expandChildren(Gt,On,As).pipe((0,_t.U)(Pr=>new sn(ue,Pr)));if(0===On.length&&0===hs.length)return(0,Ae.of)(new sn(ue,{}));const $r=Ur(w)===R;return this.expandSegment(Gt,As,On,hs,$r?X:R,!0).pipe((0,_t.U)(Di=>new sn(ue.concat(Di.segments),Di.children)))})):Jr(c)}getChildConfig(h,c,w){return c.children?(0,Ae.of)(new nt(c.children,h)):c.loadChildren?void 0!==c._loadedConfig?(0,Ae.of)(c._loadedConfig):this.runCanLoadGuards(h.injector,c,w).pipe((0,bt.zg)(M=>M?this.configLoader.load(h.injector,c).pipe((0,_t.U)(R=>(c._loadedConfig=R,R))):function Ms(m){return(0,ht._)(dt(`Cannot load children because the guard of the route "path: '${m.path}'" returned false`))}(c))):(0,Ae.of)(new nt([],h))}runCanLoadGuards(h,c,w){const M=c.canLoad;if(!M||0===M.length)return(0,Ae.of)(!0);const R=M.map(Z=>{const ue=h.get(Z);let Be;if(function Ut(m){return m&&fn(m.canLoad)}(ue))Be=ue.canLoad(c,w);else{if(!fn(ue))throw new Error("Invalid CanLoad guard");Be=ue(c,w)}return xe(Be)});return(0,Ae.of)(R).pipe(Mr(),I(Z=>{if(!$t(Z))return;const ue=dt(`Redirecting to "${this.urlSerializer.serialize(Z)}"`);throw ue.url=Z,ue}),(0,_t.U)(Z=>!0===Z))}lineralizeSegments(h,c){let w=[],M=c.root;for(;;){if(w=w.concat(M.segments),0===M.numberOfChildren)return(0,Ae.of)(w);if(M.numberOfChildren>1||!M.children[X])return(0,ht._)(new Error(`Only absolute redirects can have named outlets. redirectTo: '${h.redirectTo}'`));M=M.children[X]}}applyRedirectCommands(h,c,w){return this.applyRedirectCreatreUrlTree(c,this.urlSerializer.parse(c),h,w)}applyRedirectCreatreUrlTree(h,c,w,M){const R=this.createSegmentGroup(h,c.root,w,M);return new St(R,this.createQueryParams(c.queryParams,this.urlTree.queryParams),c.fragment)}createQueryParams(h,c){const w={};return Ve(h,(M,R)=>{if("string"==typeof M&&M.startsWith(":")){const ue=M.substring(1);w[R]=c[ue]}else w[R]=M}),w}createSegmentGroup(h,c,w,M){const R=this.createSegments(h,c.segments,w,M);let Z={};return Ve(c.children,(ue,Be)=>{Z[Be]=this.createSegmentGroup(h,ue,w,M)}),new sn(R,Z)}createSegments(h,c,w,M){return c.map(R=>R.path.startsWith(":")?this.findPosParam(h,R,M):this.findOrReturn(R,w))}findPosParam(h,c,w){const M=w[c.path.substring(1)];if(!M)throw new Error(`Cannot redirect to '${h}'. Cannot find '${c.path}'.`);return M}findOrReturn(h,c){let w=0;for(const M of c){if(M.path===h.path)return c.splice(w),M;w++}return h}}function Sr(m){const h={};for(const w of Object.keys(m.children)){const R=Sr(m.children[w]);(R.segments.length>0||R.hasChildren())&&(h[w]=R)}return function io(m){if(1===m.numberOfChildren&&m.children[X]){const h=m.children[X];return new sn(m.segments.concat(h.segments),h.children)}return m}(new sn(m.segments,h))}class Fo{constructor(h){this.path=h,this.route=this.path[this.path.length-1]}}class oo{constructor(h,c){this.component=h,this.route=c}}function so(m,h,c){const w=m._root;return us(w,h?h._root:null,c,[w.value])}function Gi(m,h,c){const w=function xi(m){if(!m)return null;for(let h=m.parent;h;h=h.parent){const c=h.routeConfig;if(c&&c._loadedConfig)return c._loadedConfig}return null}(h);return(w?w.module.injector:c).get(m)}function us(m,h,c,w,M={canDeactivateChecks:[],canActivateChecks:[]}){const R=Vi(h);return m.children.forEach(Z=>{(function ra(m,h,c,w,M={canDeactivateChecks:[],canActivateChecks:[]}){const R=m.value,Z=h?h.value:null,ue=c?c.getContext(m.value.outlet):null;if(Z&&R.routeConfig===Z.routeConfig){const Be=function ia(m,h,c){if("function"==typeof c)return c(m,h);switch(c){case"pathParamsChange":return!br(m.url,h.url);case"pathParamsOrQueryParamsChange":return!br(m.url,h.url)||!De(m.queryParams,h.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Nn(m,h)||!De(m.queryParams,h.queryParams);default:return!Nn(m,h)}}(Z,R,R.routeConfig.runGuardsAndResolvers);Be?M.canActivateChecks.push(new Fo(w)):(R.data=Z.data,R._resolvedData=Z._resolvedData),us(m,h,R.component?ue?ue.children:null:c,w,M),Be&&ue&&ue.outlet&&ue.outlet.isActivated&&M.canDeactivateChecks.push(new oo(ue.outlet.component,Z))}else Z&&Lo(h,ue,M),M.canActivateChecks.push(new Fo(w)),us(m,null,R.component?ue?ue.children:null:c,w,M)})(Z,R[Z.value.outlet],c,w.concat([Z.value]),M),delete R[Z.value.outlet]}),Ve(R,(Z,ue)=>Lo(Z,c.getContext(ue),M)),M}function Lo(m,h,c){const w=Vi(m),M=m.value;Ve(w,(R,Z)=>{Lo(R,M.component?h?h.children.getContext(Z):null:h,c)}),c.canDeactivateChecks.push(new oo(M.component&&h&&h.outlet&&h.outlet.isActivated?h.outlet.component:null,M))}class Rn{}function Tr(m){return new Bt.y(h=>h.error(m))}class Vr{constructor(h,c,w,M,R,Z){this.rootComponentType=h,this.config=c,this.urlTree=w,this.url=M,this.paramsInheritanceStrategy=R,this.relativeLinkResolution=Z}recognize(){const h=as(this.urlTree.root,[],[],this.config.filter(Z=>void 0===Z.redirectTo),this.relativeLinkResolution).segmentGroup,c=this.processSegmentGroup(this.config,h,X);if(null===c)return null;const w=new is([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},X,this.rootComponentType,null,this.urlTree.root,-1,{}),M=new ji(w,c),R=new xa(this.url,M);return this.inheritParamsAndData(R._root),R}inheritParamsAndData(h){const c=h.value,w=rs(c,this.paramsInheritanceStrategy);c.params=Object.freeze(w.params),c.data=Object.freeze(w.data),h.children.forEach(M=>this.inheritParamsAndData(M))}processSegmentGroup(h,c,w){return 0===c.segments.length&&c.hasChildren()?this.processChildren(h,c):this.processSegment(h,c,c.segments,w)}processChildren(h,c){const w=[];for(const R of Object.keys(c.children)){const Z=c.children[R],ue=Aa(h,R),Be=this.processSegmentGroup(ue,Z,R);if(null===Be)return null;w.push(...Be)}const M=Bl(w);return function bo(m){m.sort((h,c)=>h.value.outlet===X?-1:c.value.outlet===X?1:h.value.outlet.localeCompare(c.value.outlet))}(M),M}processSegment(h,c,w,M){for(const R of h){const Z=this.processSegmentAgainstRoute(R,c,w,M);if(null!==Z)return Z}return fr(c,w,M)?[]:null}processSegmentAgainstRoute(h,c,w,M){if(h.redirectTo||!ta(h,c,w,M))return null;let R,Z=[],ue=[];if("**"===h.path){const nr=w.length>0?In(w).parameters:{};R=new is(w,nr,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,$n(h),Ur(h),h.component,h,aa(c),la(c)+w.length,ua(h))}else{const nr=Pi(c,h,w);if(!nr.matched)return null;Z=nr.consumedSegments,ue=nr.remainingSegments,R=new is(Z,nr.parameters,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,$n(h),Ur(h),h.component,h,aa(c),la(c)+Z.length,ua(h))}const Be=function Fn(m){return m.children?m.children:m.loadChildren?m._loadedConfig.routes:[]}(h),{segmentGroup:rt,slicedSegments:Ln}=as(c,Z,ue,Be.filter(nr=>void 0===nr.redirectTo),this.relativeLinkResolution);if(0===Ln.length&&rt.hasChildren()){const nr=this.processChildren(Be,rt);return null===nr?null:[new ji(R,nr)]}if(0===Be.length&&0===Ln.length)return[new ji(R,[])];const Gt=Ur(h)===M,On=this.processSegment(Be,rt,Ln,Gt?X:M);return null===On?null:[new ji(R,On)]}}function La(m){const h=m.value.routeConfig;return h&&""===h.path&&void 0===h.redirectTo}function Bl(m){const h=[],c=new Set;for(const w of m){if(!La(w)){h.push(w);continue}const M=h.find(R=>w.value.routeConfig===R.value.routeConfig);void 0!==M?(M.children.push(...w.children),c.add(M)):h.push(w)}for(const w of c){const M=Bl(w.children);h.push(new ji(w.value,M))}return h.filter(w=>!c.has(w))}function aa(m){let h=m;for(;h._sourceSegment;)h=h._sourceSegment;return h}function la(m){let h=m,c=h._segmentIndexShift?h._segmentIndexShift:0;for(;h._sourceSegment;)h=h._sourceSegment,c+=h._segmentIndexShift?h._segmentIndexShift:0;return c-1}function $n(m){return m.data||{}}function ua(m){return m.resolve||{}}function ll(m){return[...Object.keys(m),...Object.getOwnPropertySymbols(m)]}function ii(m){return Zt(h=>{const c=m(h);return c?(0,Wt.D)(c).pipe((0,_t.U)(()=>h)):(0,Ae.of)(h)})}class Bo extends class Ul{shouldDetach(h){return!1}store(h,c){}shouldAttach(h){return!1}retrieve(h){return null}shouldReuseRoute(h,c){return h.routeConfig===c.routeConfig}}{}const Ss=new p.OlP("ROUTES");class ul{constructor(h,c,w,M){this.injector=h,this.compiler=c,this.onLoadStartListener=w,this.onLoadEndListener=M}load(h,c){if(c._loader$)return c._loader$;this.onLoadStartListener&&this.onLoadStartListener(c);const M=this.loadModuleFactory(c.loadChildren).pipe((0,_t.U)(R=>{this.onLoadEndListener&&this.onLoadEndListener(c);const Z=R.create(h);return new nt(Mt(Z.injector.get(Ss,void 0,p.XFs.Self|p.XFs.Optional)).map(en),Z)}),cr(R=>{throw c._loader$=void 0,R}));return c._loader$=new tt.c(M,()=>new J.xQ).pipe((0,Pt.x)()),c._loader$}loadModuleFactory(h){return xe(h()).pipe((0,bt.zg)(c=>c instanceof p.YKP?(0,Ae.of)(c):(0,Wt.D)(this.compiler.compileModuleAsync(c))))}}class fu{shouldProcessUrl(h){return!0}extract(h){return h}merge(h,c){return h}}function fa(m){throw m}function Wi(m,h,c){return h.parse("/")}function Ts(m,h){return(0,Ae.of)(null)}const cl={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ua={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let oi=(()=>{class m{constructor(c,w,M,R,Z,ue,Be){this.rootComponentType=c,this.urlSerializer=w,this.rootContexts=M,this.location=R,this.config=Be,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new J.xQ,this.errorHandler=fa,this.malformedUriErrorHandler=Wi,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Ts,afterPreactivation:Ts},this.urlHandlingStrategy=new fu,this.routeReuseStrategy=new Bo,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=Z.get(p.h0i),this.console=Z.get(p.c2e);const Gt=Z.get(p.R0b);this.isNgZoneEnabled=Gt instanceof p.R0b&&p.R0b.isInAngularZone(),this.resetConfig(Be),this.currentUrlTree=function Pe(){return new St(new sn([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new ul(Z,ue,On=>this.triggerEvent(new wt(On)),On=>this.triggerEvent(new bn(On))),this.routerState=eo(this.currentUrlTree,this.rootComponentType),this.transitions=new F({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()?.\u0275routerPageId}setupNavigations(c){const w=this.events;return c.pipe((0,nn.h)(M=>0!==M.id),(0,_t.U)(M=>({...M,extractedUrl:this.urlHandlingStrategy.extract(M.rawUrl)})),Zt(M=>{let R=!1,Z=!1;return(0,Ae.of)(M).pipe(I(ue=>{this.currentNavigation={id:ue.id,initialUrl:ue.currentRawUrl,extractedUrl:ue.extractedUrl,trigger:ue.source,extras:ue.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),Zt(ue=>{const Be=this.browserUrlTree.toString(),rt=!this.navigated||ue.extractedUrl.toString()!==Be||Be!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||rt)&&this.urlHandlingStrategy.shouldProcessUrl(ue.rawUrl))return ao(ue.source)&&(this.browserUrlTree=ue.extractedUrl),(0,Ae.of)(ue).pipe(Zt(Gt=>{const On=this.transitions.getValue();return w.next(new lt(Gt.id,this.serializeUrl(Gt.extractedUrl),Gt.source,Gt.restoredState)),On!==this.transitions.getValue()?mt.E:Promise.resolve(Gt)}),function jr(m,h,c,w){return Zt(M=>function Nl(m,h,c,w,M){return new Fl(m,h,c,w,M).apply()}(m,h,c,M.extractedUrl,w).pipe((0,_t.U)(R=>({...M,urlAfterRedirects:R}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),I(Gt=>{this.currentNavigation={...this.currentNavigation,finalUrl:Gt.urlAfterRedirects}}),function ca(m,h,c,w,M){return(0,bt.zg)(R=>function Yn(m,h,c,w,M="emptyOnly",R="legacy"){try{const Z=new Vr(m,h,c,w,M,R).recognize();return null===Z?Tr(new Rn):(0,Ae.of)(Z)}catch(Z){return Tr(Z)}}(m,h,R.urlAfterRedirects,c(R.urlAfterRedirects),w,M).pipe((0,_t.U)(Z=>({...R,targetSnapshot:Z}))))}(this.rootComponentType,this.config,Gt=>this.serializeUrl(Gt),this.paramsInheritanceStrategy,this.relativeLinkResolution),I(Gt=>{if("eager"===this.urlUpdateStrategy){if(!Gt.extras.skipLocationChange){const nr=this.urlHandlingStrategy.merge(Gt.urlAfterRedirects,Gt.rawUrl);this.setBrowserUrl(nr,Gt)}this.browserUrlTree=Gt.urlAfterRedirects}const On=new Ke(Gt.id,this.serializeUrl(Gt.extractedUrl),this.serializeUrl(Gt.urlAfterRedirects),Gt.targetSnapshot);w.next(On)}));if(rt&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:On,extractedUrl:nr,source:hs,restoredState:As,extras:$r}=ue,ps=new lt(On,this.serializeUrl(nr),hs,As);w.next(ps);const Di=eo(nr,this.rootComponentType).snapshot;return(0,Ae.of)({...ue,targetSnapshot:Di,urlAfterRedirects:nr,extras:{...$r,skipLocationChange:!1,replaceUrl:!1}})}return this.rawUrlTree=ue.rawUrl,ue.resolve(null),mt.E}),ii(ue=>{const{targetSnapshot:Be,id:rt,extractedUrl:Ln,rawUrl:Gt,extras:{skipLocationChange:On,replaceUrl:nr}}=ue;return this.hooks.beforePreactivation(Be,{navigationId:rt,appliedUrlTree:Ln,rawUrlTree:Gt,skipLocationChange:!!On,replaceUrl:!!nr})}),I(ue=>{const Be=new Jn(ue.id,this.serializeUrl(ue.extractedUrl),this.serializeUrl(ue.urlAfterRedirects),ue.targetSnapshot);this.triggerEvent(Be)}),(0,_t.U)(ue=>({...ue,guards:so(ue.targetSnapshot,ue.currentSnapshot,this.rootContexts)})),function Fa(m,h){return(0,bt.zg)(c=>{const{targetSnapshot:w,currentSnapshot:M,guards:{canActivateChecks:R,canDeactivateChecks:Z}}=c;return 0===Z.length&&0===R.length?(0,Ae.of)({...c,guardsResult:!0}):function kl(m,h,c,w){return(0,Wt.D)(m).pipe((0,bt.zg)(M=>function cn(m,h,c,w,M){const R=h&&h.routeConfig?h.routeConfig.canDeactivate:null;if(!R||0===R.length)return(0,Ae.of)(!0);const Z=R.map(ue=>{const Be=Gi(ue,h,M);let rt;if(function gn(m){return m&&fn(m.canDeactivate)}(Be))rt=xe(Be.canDeactivate(m,h,c,w));else{if(!fn(Be))throw new Error("Invalid CanDeactivate guard");rt=xe(Be(m,h,c,w))}return rt.pipe(Ce())});return(0,Ae.of)(Z).pipe(Mr())}(M.component,M.route,c,h,w)),Ce(M=>!0!==M,!0))}(Z,w,M,m).pipe((0,bt.zg)(ue=>ue&&function Hn(m){return"boolean"==typeof m}(ue)?function oa(m,h,c,w){return(0,Wt.D)(h).pipe((0,ut.b)(M=>Ze(function Ne(m,h){return null!==m&&h&&h(new pt(m)),(0,Ae.of)(!0)}(M.route.parent,w),function me(m,h){return null!==m&&h&&h(new Lt(m)),(0,Ae.of)(!0)}(M.route,w),function Dt(m,h,c){const w=h[h.length-1],R=h.slice(0,h.length-1).reverse().map(Z=>function Ll(m){const h=m.routeConfig?m.routeConfig.canActivateChild:null;return h&&0!==h.length?{node:m,guards:h}:null}(Z)).filter(Z=>null!==Z).map(Z=>pn(()=>{const ue=Z.guards.map(Be=>{const rt=Gi(Be,Z.node,c);let Ln;if(function Un(m){return m&&fn(m.canActivateChild)}(rt))Ln=xe(rt.canActivateChild(w,m));else{if(!fn(rt))throw new Error("Invalid CanActivateChild guard");Ln=xe(rt(w,m))}return Ln.pipe(Ce())});return(0,Ae.of)(ue).pipe(Mr())}));return(0,Ae.of)(R).pipe(Mr())}(m,M.path,c),function Ie(m,h,c){const w=h.routeConfig?h.routeConfig.canActivate:null;if(!w||0===w.length)return(0,Ae.of)(!0);const M=w.map(R=>pn(()=>{const Z=Gi(R,h,c);let ue;if(function er(m){return m&&fn(m.canActivate)}(Z))ue=xe(Z.canActivate(h,m));else{if(!fn(Z))throw new Error("Invalid CanActivate guard");ue=xe(Z(h,m))}return ue.pipe(Ce())}));return(0,Ae.of)(M).pipe(Mr())}(m,M.route,c))),Ce(M=>!0!==M,!0))}(w,R,m,h):(0,Ae.of)(ue)),(0,_t.U)(ue=>({...c,guardsResult:ue})))})}(this.ngModule.injector,ue=>this.triggerEvent(ue)),I(ue=>{if($t(ue.guardsResult)){const rt=dt(`Redirecting to "${this.serializeUrl(ue.guardsResult)}"`);throw rt.url=ue.guardsResult,rt}const Be=new _n(ue.id,this.serializeUrl(ue.extractedUrl),this.serializeUrl(ue.urlAfterRedirects),ue.targetSnapshot,!!ue.guardsResult);this.triggerEvent(Be)}),(0,nn.h)(ue=>!!ue.guardsResult||(this.restoreHistory(ue),this.cancelNavigationTransition(ue,""),!1)),ii(ue=>{if(ue.guards.canActivateChecks.length)return(0,Ae.of)(ue).pipe(I(Be=>{const rt=new yn(Be.id,this.serializeUrl(Be.extractedUrl),this.serializeUrl(Be.urlAfterRedirects),Be.targetSnapshot);this.triggerEvent(rt)}),Zt(Be=>{let rt=!1;return(0,Ae.of)(Be).pipe(function ko(m,h){return(0,bt.zg)(c=>{const{targetSnapshot:w,guards:{canActivateChecks:M}}=c;if(!M.length)return(0,Ae.of)(c);let R=0;return(0,Wt.D)(M).pipe((0,ut.b)(Z=>function ka(m,h,c,w){return function al(m,h,c,w){const M=ll(m);if(0===M.length)return(0,Ae.of)({});const R={};return(0,Wt.D)(M).pipe((0,bt.zg)(Z=>function Oi(m,h,c,w){const M=Gi(m,h,w);return xe(M.resolve?M.resolve(h,c):M(h,c))}(m[Z],h,c,w).pipe(I(ue=>{R[Z]=ue}))),Ui(1),(0,bt.zg)(()=>ll(R).length===M.length?(0,Ae.of)(R):mt.E))}(m._resolve,m,h,w).pipe((0,_t.U)(R=>(m._resolvedData=R,m.data={...m.data,...rs(m,c).resolve},null)))}(Z.route,w,m,h)),I(()=>R++),Ui(1),(0,bt.zg)(Z=>R===M.length?(0,Ae.of)(c):mt.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),I({next:()=>rt=!0,complete:()=>{rt||(this.restoreHistory(Be),this.cancelNavigationTransition(Be,"At least one route resolver didn't emit any value."))}}))}),I(Be=>{const rt=new xt(Be.id,this.serializeUrl(Be.extractedUrl),this.serializeUrl(Be.urlAfterRedirects),Be.targetSnapshot);this.triggerEvent(rt)}))}),ii(ue=>{const{targetSnapshot:Be,id:rt,extractedUrl:Ln,rawUrl:Gt,extras:{skipLocationChange:On,replaceUrl:nr}}=ue;return this.hooks.afterPreactivation(Be,{navigationId:rt,appliedUrlTree:Ln,rawUrlTree:Gt,skipLocationChange:!!On,replaceUrl:!!nr})}),(0,_t.U)(ue=>{const Be=function An(m,h,c){const w=Ro(m,h._root,c?c._root:void 0);return new Ks(w,h)}(this.routeReuseStrategy,ue.targetSnapshot,ue.currentRouterState);return{...ue,targetRouterState:Be}}),I(ue=>{this.currentUrlTree=ue.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(ue.urlAfterRedirects,ue.rawUrl),this.routerState=ue.targetRouterState,"deferred"===this.urlUpdateStrategy&&(ue.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,ue),this.browserUrlTree=ue.urlAfterRedirects)}),((m,h,c)=>(0,_t.U)(w=>(new Oe(h,w.targetRouterState,w.currentRouterState,c).activate(m),w)))(this.rootContexts,this.routeReuseStrategy,ue=>this.triggerEvent(ue)),I({next(){R=!0},complete(){R=!0}}),function Re(m){return h=>h.lift(new st(m))}(()=>{R||Z||this.cancelNavigationTransition(M,`Navigation ID ${M.id} is not equal to the current navigation id ${this.navigationId}`),this.currentNavigation?.id===M.id&&(this.currentNavigation=null)}),cr(ue=>{if(Z=!0,function ft(m){return m&&m[Fe]}(ue)){const Be=$t(ue.url);Be||(this.navigated=!0,this.restoreHistory(M,!0));const rt=new Rt(M.id,this.serializeUrl(M.extractedUrl),ue.message);w.next(rt),Be?setTimeout(()=>{const Ln=this.urlHandlingStrategy.merge(ue.url,this.rawUrlTree),Gt={skipLocationChange:M.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||ao(M.source)};this.scheduleNavigation(Ln,"imperative",null,Gt,{resolve:M.resolve,reject:M.reject,promise:M.promise})},0):M.resolve(!1)}else{this.restoreHistory(M,!0);const Be=new Qt(M.id,this.serializeUrl(M.extractedUrl),ue);w.next(Be);try{M.resolve(this.errorHandler(ue))}catch(rt){M.reject(rt)}}return mt.E}))}))}resetRootComponentType(c){this.rootComponentType=c,this.routerState.root.component=this.rootComponentType}setTransition(c){this.transitions.next({...this.transitions.value,...c})}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(c=>{const w="popstate"===c.type?"popstate":"hashchange";"popstate"===w&&setTimeout(()=>{const M={replaceUrl:!0},R=c.state?.navigationId?c.state:null;if(R){const ue={...R};delete ue.navigationId,delete ue.\u0275routerPageId,0!==Object.keys(ue).length&&(M.state=ue)}const Z=this.parseUrl(c.url);this.scheduleNavigation(Z,w,R,M)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(c){this.events.next(c)}resetConfig(c){ro(c),this.config=c.map(en),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(c,w={}){const{relativeTo:M,queryParams:R,fragment:Z,queryParamsHandling:ue,preserveFragment:Be}=w,rt=M||this.routerState.root,Ln=Be?this.currentUrlTree.fragment:Z;let Gt=null;switch(ue){case"merge":Gt={...this.currentUrlTree.queryParams,...R};break;case"preserve":Gt=this.currentUrlTree.queryParams;break;default:Gt=R||null}return null!==Gt&&(Gt=this.removeEmptyProps(Gt)),function $i(m,h,c,w,M){if(0===c.length)return vo(h.root,h.root,h.root,w,M);const R=function Js(m){if("string"==typeof m[0]&&1===m.length&&"/"===m[0])return new Dr(!0,0,m);let h=0,c=!1;const w=m.reduce((M,R,Z)=>{if("object"==typeof R&&null!=R){if(R.outlets){const ue={};return Ve(R.outlets,(Be,rt)=>{ue[rt]="string"==typeof Be?Be.split("/"):Be}),[...M,{outlets:ue}]}if(R.segmentPath)return[...M,R.segmentPath]}return"string"!=typeof R?[...M,R]:0===Z?(R.split("/").forEach((ue,Be)=>{0==Be&&"."===ue||(0==Be&&""===ue?c=!0:".."===ue?h++:""!=ue&&M.push(ue))}),M):[...M,R]},[]);return new Dr(c,h,w)}(c);if(R.toRoot())return vo(h.root,h.root,new sn([],{}),w,M);const Z=function Ds(m,h,c){if(m.isAbsolute)return new to(h.root,!0,0);if(-1===c.snapshot._lastPathIndex){const R=c.snapshot._urlSegment;return new to(R,R===h.root,0)}const w=os(m.commands[0])?0:1;return function no(m,h,c){let w=m,M=h,R=c;for(;R>M;){if(R-=M,w=w.parent,!w)throw new Error("Invalid number of '../'");M=w.segments.length}return new to(w,!1,M-R)}(c.snapshot._urlSegment,c.snapshot._lastPathIndex+w,m.numberOfDoubleDots)}(R,h,m),ue=Z.processChildren?Co(Z.segmentGroup,Z.index,R.commands):Br(Z.segmentGroup,Z.index,R.commands);return vo(h.root,Z.segmentGroup,ue,w,M)}(rt,this.currentUrlTree,c,Gt,Ln??null)}navigateByUrl(c,w={skipLocationChange:!1}){const M=$t(c)?c:this.parseUrl(c),R=this.urlHandlingStrategy.merge(M,this.rawUrlTree);return this.scheduleNavigation(R,"imperative",null,w)}navigate(c,w={skipLocationChange:!1}){return function Ps(m){for(let h=0;h<m.length;h++){const c=m[h];if(null==c)throw new Error(`The requested path contains ${c} segment at index ${h}`)}}(c),this.navigateByUrl(this.createUrlTree(c,w),w)}serializeUrl(c){return this.urlSerializer.serialize(c)}parseUrl(c){let w;try{w=this.urlSerializer.parse(c)}catch(M){w=this.malformedUriErrorHandler(M,this.urlSerializer,c)}return w}isActive(c,w){let M;if(M=!0===w?{...cl}:!1===w?{...Ua}:w,$t(c))return ot(this.currentUrlTree,c,M);const R=this.parseUrl(c);return ot(this.currentUrlTree,R,M)}removeEmptyProps(c){return Object.keys(c).reduce((w,M)=>{const R=c[M];return null!=R&&(w[M]=R),w},{})}processNavigations(){this.navigations.subscribe(c=>{this.navigated=!0,this.lastSuccessfulId=c.id,this.currentPageId=c.targetPageId,this.events.next(new Yt(c.id,this.serializeUrl(c.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,c.resolve(!0)},c=>{this.console.warn(`Unhandled Navigation Error: ${c}`)})}scheduleNavigation(c,w,M,R,Z){if(this.disposed)return Promise.resolve(!1);let ue,Be,rt;Z?(ue=Z.resolve,Be=Z.reject,rt=Z.promise):rt=new Promise((On,nr)=>{ue=On,Be=nr});const Ln=++this.navigationId;let Gt;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(M=this.location.getState()),Gt=M&&M.\u0275routerPageId?M.\u0275routerPageId:R.replaceUrl||R.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):Gt=0,this.setTransition({id:Ln,targetPageId:Gt,source:w,restoredState:M,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:c,extras:R,resolve:ue,reject:Be,promise:rt,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),rt.catch(On=>Promise.reject(On))}setBrowserUrl(c,w){const M=this.urlSerializer.serialize(c),R={...w.extras.state,...this.generateNgRouterState(w.id,w.targetPageId)};this.location.isCurrentPathEqualTo(M)||w.extras.replaceUrl?this.location.replaceState(M,"",R):this.location.go(M,"",R)}restoreHistory(c,w=!1){if("computed"===this.canceledNavigationResolution){const M=this.currentPageId-c.targetPageId;"popstate"!==c.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.currentNavigation?.finalUrl||0===M?this.currentUrlTree===this.currentNavigation?.finalUrl&&0===M&&(this.resetState(c),this.browserUrlTree=c.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(M)}else"replace"===this.canceledNavigationResolution&&(w&&this.resetState(c),this.resetUrlToCurrentUrlTree())}resetState(c){this.routerState=c.currentRouterState,this.currentUrlTree=c.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,c.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(c,w){const M=new Rt(c.id,this.serializeUrl(c.extractedUrl),w);this.triggerEvent(M),c.resolve(!1)}generateNgRouterState(c,w){return"computed"===this.canceledNavigationResolution?{navigationId:c,\u0275routerPageId:w}:{navigationId:c}}}return m.\u0275fac=function(c){p.$Z()},m.\u0275prov=p.Yz7({token:m,factory:m.\u0275fac}),m})();function ao(m){return"imperative"!==m}class mr{}class jl{preload(h,c){return(0,Ae.of)(null)}}let Vl=(()=>{class m{constructor(c,w,M,R){this.router=c,this.injector=M,this.preloadingStrategy=R,this.loader=new ul(M,w,Be=>c.triggerEvent(new wt(Be)),Be=>c.triggerEvent(new bn(Be)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,nn.h)(c=>c instanceof Yt),(0,ut.b)(()=>this.preload())).subscribe(()=>{})}preload(){const c=this.injector.get(p.h0i);return this.processRoutes(c,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(c,w){const M=[];for(const R of w)if(R.loadChildren&&!R.canLoad&&R._loadedConfig){const Z=R._loadedConfig;M.push(this.processRoutes(Z.module,Z.routes))}else R.loadChildren&&!R.canLoad?M.push(this.preloadConfig(c,R)):R.children&&M.push(this.processRoutes(c,R.children));return(0,Wt.D)(M).pipe((0,At.J)(),(0,_t.U)(R=>{}))}preloadConfig(c,w){return this.preloadingStrategy.preload(w,()=>(w._loadedConfig?(0,Ae.of)(w._loadedConfig):this.loader.load(c.injector,w)).pipe((0,bt.zg)(R=>(w._loadedConfig=R,this.processRoutes(R.module,R.routes)))))}}return m.\u0275fac=function(c){return new(c||m)(p.LFG(oi),p.LFG(p.Sil),p.LFG(p.zs3),p.LFG(mr))},m.\u0275prov=p.Yz7({token:m,factory:m.\u0275fac}),m})(),jo=(()=>{class m{constructor(c,w,M={}){this.router=c,this.viewportScroller=w,this.options=M,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},M.scrollPositionRestoration=M.scrollPositionRestoration||"disabled",M.anchorScrolling=M.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(c=>{c instanceof lt?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=c.navigationTrigger,this.restoredId=c.restoredState?c.restoredState.navigationId:0):c instanceof Yt&&(this.lastId=c.id,this.scheduleScrollEvent(c,this.router.parseUrl(c.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(c=>{c instanceof Te&&(c.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(c.position):c.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(c.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(c,w){this.router.triggerEvent(new Te(c,"popstate"===this.lastSource?this.store[this.restoredId]:null,w))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return m.\u0275fac=function(c){p.$Z()},m.\u0275prov=p.Yz7({token:m,factory:m.\u0275fac}),m})();const Qn=new p.OlP("ROUTER_CONFIGURATION"),Do=new p.OlP("ROUTER_FORROOT_GUARD"),xs=[C.Ye,{provide:Kn,useClass:Zr},{provide:oi,useFactory:function hu(m,h,c,w,M,R,Z={},ue,Be){const rt=new oi(null,m,h,c,w,M,Mt(R));return ue&&(rt.urlHandlingStrategy=ue),Be&&(rt.routeReuseStrategy=Be),function Va(m,h){m.errorHandler&&(h.errorHandler=m.errorHandler),m.malformedUriErrorHandler&&(h.malformedUriErrorHandler=m.malformedUriErrorHandler),m.onSameUrlNavigation&&(h.onSameUrlNavigation=m.onSameUrlNavigation),m.paramsInheritanceStrategy&&(h.paramsInheritanceStrategy=m.paramsInheritanceStrategy),m.relativeLinkResolution&&(h.relativeLinkResolution=m.relativeLinkResolution),m.urlUpdateStrategy&&(h.urlUpdateStrategy=m.urlUpdateStrategy),m.canceledNavigationResolution&&(h.canceledNavigationResolution=m.canceledNavigationResolution)}(Z,rt),Z.enableTracing&&rt.events.subscribe(Ln=>{console.group?.(`Router Event: ${Ln.constructor.name}`),console.log(Ln.toString()),console.log(Ln),console.groupEnd?.()}),rt},deps:[Kn,tr,C.Ye,p.zs3,p.Sil,Ss,Qn,[class Ba{},new p.FiY],[class da{},new p.FiY]]},tr,{provide:Hi,useFactory:function ga(m){return m.routerState.root},deps:[oi]},Vl,jl,class Hr{preload(h,c){return c().pipe(cr(()=>(0,Ae.of)(null)))}},{provide:Qn,useValue:{enableTracing:!1}}];function Os(){return new p.PXZ("Router",oi)}let si=(()=>{class m{constructor(c,w){}static forRoot(c,w){return{ngModule:m,providers:[xs,Hl(c),{provide:Do,useFactory:ds,deps:[[oi,new p.FiY,new p.tp0]]},{provide:Qn,useValue:w||{}},{provide:C.S$,useFactory:pa,deps:[C.lw,[new p.tBr(C.mr),new p.FiY],Qn]},{provide:jo,useFactory:cs,deps:[oi,C.EM,Qn]},{provide:mr,useExisting:w&&w.preloadingStrategy?w.preloadingStrategy:jl},{provide:p.PXZ,multi:!0,useFactory:Os},[dl,{provide:p.ip1,multi:!0,useFactory:ma,deps:[dl]},{provide:Vo,useFactory:Is,deps:[dl]},{provide:p.tb,multi:!0,useExisting:Vo}]]}}static forChild(c){return{ngModule:m,providers:[Hl(c)]}}}return m.\u0275fac=function(c){return new(c||m)(p.LFG(Do,8),p.LFG(oi,8))},m.\u0275mod=p.oAB({type:m}),m.\u0275inj=p.cJS({}),m})();function cs(m,h,c){return c.scrollOffset&&h.setOffset(c.scrollOffset),new jo(m,h,c)}function pa(m,h,c={}){return c.useHash?new C.Do(m,h):new C.b0(m,h)}function ds(m){return"guarded"}function Hl(m){return[{provide:p.deG,multi:!0,useValue:m},{provide:Ss,multi:!0,useValue:m}]}let dl=(()=>{class m{constructor(c){this.injector=c,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new J.xQ}appInitializer(){return this.injector.get(C.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let w=null;const M=new Promise(ue=>w=ue),R=this.injector.get(oi),Z=this.injector.get(Qn);return"disabled"===Z.initialNavigation?(R.setUpLocationChangeListener(),w(!0)):"enabled"===Z.initialNavigation||"enabledBlocking"===Z.initialNavigation?(R.hooks.afterPreactivation=()=>this.initNavigation?(0,Ae.of)(null):(this.initNavigation=!0,w(!0),this.resultOfPreactivationDone),R.initialNavigation()):w(!0),M})}bootstrapListener(c){const w=this.injector.get(Qn),M=this.injector.get(Vl),R=this.injector.get(jo),Z=this.injector.get(oi),ue=this.injector.get(p.z2F);c===ue.components[0]&&(("enabledNonBlocking"===w.initialNavigation||void 0===w.initialNavigation)&&Z.initialNavigation(),M.setUpPreloading(),R.init(),Z.resetRootComponentType(ue.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return m.\u0275fac=function(c){return new(c||m)(p.LFG(p.zs3))},m.\u0275prov=p.Yz7({token:m,factory:m.\u0275fac}),m})();function ma(m){return m.appInitializer.bind(m)}function Is(m){return m.bootstrapListener.bind(m)}const Vo=new p.OlP("Router Initializer")},5419:(ve,G,S)=>{"use strict";S.d(G,{au:()=>mt,A4:()=>Zt});var C=S(6738),p=S(529),J=S(4850);const V={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 Y{constructor(Ue){this.unprotectedPaths=["/resetpass","/invitation"],this.protocol=Ue.protocol;let pe=Ue.port;pe||(function W(He){return/^https:$/i.test(He)}(this.protocol)?pe="443":function F(He){return/^http:$/i.test(He)}(this.protocol)&&(pe="80")),this.domain=Ue.hostname,this.port=parseInt(pe,10),this.path=Ue.pathname;const he=this.path.match(/((?:\/cpsess\d+)?)(?:\/([^\/]+))?/)||[];if(this.applicationName=/^whm\./.test(this.domain)?V[2087]:/^cpanel\./.test(this.domain)?V[2083]:/^webmail\./.test(this.domain)?V[2095]:V[pe.toString()]||V[he[2]]||"whostmgr",this.securityToken=he[1]||"",this.applicationPath=this.securityToken?this.path.replace(this.securityToken,""):this.path,this.theme="",!this.isUnprotected&&(this.isCpanel||this.isWebmail)){const Xt=this.path.split("/");this.theme=Xt[3]}this.themePath="";let je=this.securityToken+"/";this.isUnprotected?je="/":this.isCpanel?je+="frontend/"+this.theme+"/":this.isWebmail?je+="webmail/"+this.theme+"/":this.isOther&&(je="/"),this.themePath=je,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 z(He){return He&&He.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(Ue){return this.themePath+Ue}buildFullPath(Ue){return this.protocol+"//"+this.domain+":"+this.port+this.buildPath(Ue)}buildTokenPath(Ue){return this.protocol+"//"+this.domain+":"+this.port+this.securityToken+Ue}}class N{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 j=S(4235),q=S.n(j),ie=S(1305),re=S.n(ie),de=(()=>{return(He=de||(de={}))[He.Error=0]="Error",He[He.Warning=1]="Warning",He[He.Information=2]="Information",He[He.Unknown=3]="Unknown",de;var He})();const _e={isPaged:!1,isFiltered:!1,record:0,page:0,pageSize:0,totalRecords:0,totalPages:0,recordsBeforeFilter:0,batch:!1,properties:{}};class et{constructor(Ue){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={},Ue.chunk&&(this.isPaged=!0,this.record=parseInt(Ue.chunk.start,10)||0,this.page=parseInt(Ue.chunk.current,10)||0,this.pageSize=parseInt(Ue.chunk.size,10)||0,this.totalPages=parseInt(Ue.chunk.chunks,10)||0,this.totalRecords=parseInt(Ue.chunk.records,10)||0),Ue.filter&&(this.isFiltered=!0,this.recordsBeforeFilter=parseInt(Ue.filter.filtered,10)||0);const pe=new Set(["paginate","filter"]);Object.keys(Ue).filter(he=>!pe.has(he)).forEach(he=>{this.properties[he]=Ue[he]})}}class Ze extends class At{constructor(Ue,pe){if(this.status=0,this.messages=[],this.meta=function Ae(He){return JSON.parse(JSON.stringify(He))}(_e),this.options={keepUnprocessedResponse:!1},q()(Ue)||re()(Ue))throw new Error("The response was unexpectedly undefined or null");pe&&(this.options=pe),this.options.keepUnprocessedResponse&&(this.raw=JSON.parse(JSON.stringify(Ue)))}get success(){return this.status>0}get failed(){return 0===this.status}_getMessages(Ue){return this.messages.filter(pe=>pe.type===Ue)}get errors(){return this._getMessages(de.Error)}get warnings(){return this._getMessages(de.Warning)}get infoMessages(){return this._getMessages(de.Information)}_hasMessages(Ue){return this.messages.filter(pe=>pe.type===Ue).length>0}get hasErrors(){return this._hasMessages(de.Error)}get hasWarnings(){return this._hasMessages(de.Warning)}get hasInfoMessages(){return this._hasMessages(de.Information)}get isPaged(){return this.meta.isPaged}get isFiltered(){return this.meta.isFiltered}}{_parseStatus(Ue){if(this.status=0,typeof Ue.result>"u")throw new Error("The response should have a numeric status property indicating the API succeeded (>0) or failed (=0)");this.status=parseInt(Ue.result,10)}_parseMessages(Ue){if(!Ue.result){const pe=[Ue.reason];pe&&pe.length&&pe.forEach(he=>{this.messages.push({type:de.Error,message:he})})}}_reduce_list_data(Ue){if("object"==typeof Ue&&!(Ue instanceof Array)){const pe=Object.keys(Ue);if(1===pe.length){const he=Ue[pe[0]];he?he instanceof Array&&(Ue=he):Ue=[]}}return Ue}constructor(Ue,pe){if(super(Ue,pe),!Ue)throw new Error("Response object should be defined.");Ue.metadata&&(this._parseStatus(Ue.metadata),this._parseMessages(Ue.metadata),this.meta=new et(Ue.metadata)),this.data=this._reduce_list_data(Ue.data)}}var Bt=S(109),Wt=S(3022);let mt=(()=>{class He{}return He.\u0275fac=function(pe){return new(pe||He)},He.\u0275mod=C.oAB({type:He}),He.\u0275inj=C.cJS({imports:[[p.JF]]}),He})(),Zt=(()=>{class He{constructor(pe){this.http=pe}get(pe){const he=pe.generate({verb:Bt.F.GET,encoder:new Wt.VN}),je=this.packageUrl(he);return this.http.get(je,{headers:this.packageHeaders(he)}).pipe((0,J.U)(this.packageResponseHandler(je)))}post(pe){const he=pe.generate(),je=this.packageUrl(he);return this.http.post(je,he.body,{headers:this.packageHeaders(he)}).pipe((0,J.U)(this.packageResponseHandler(je)))}packageHeaders(pe){const he={};return pe.headers.forEach(je=>{he[je.name]=je.value}),new p.WM(he)}packageUrl(pe){return new Y(new N).buildTokenPath(pe.url)}packageResponseHandler(pe){return he=>{const je=new Ze(he);return je.meta.properties.url=pe,je}}}return He.\u0275fac=function(pe){return new(pe||He)(C.LFG(p.eN))},He.\u0275prov=C.Yz7({token:He,factory:He.\u0275fac,providedIn:"root"}),He})()},348:(ve,G,S)=>{"use strict";S.d(G,{m:()=>F});var C=S(6738),p=S(269);const J=new C.OlP("window"),W=z=>new p.g(z.CLDR,z.LEXICON);let F=(()=>{class z{}return z.\u0275fac=function(V){return new(V||z)},z.\u0275mod=C.oAB({type:z}),z.\u0275inj=C.cJS({providers:[{provide:J,useValue:window},{provide:p.g,useFactory:W,deps:[J]}],imports:[[]]}),z})()},3063:(ve,G,S)=>{"use strict";S.d(G,{bZ:()=>qi,wx:()=>ps,Sw:()=>Di,NK:()=>Qn});var C=S(6738),p=S(6895),J=S(348),W=S(269);class F{}const $="*";function V(y,l){return{type:7,name:y,definitions:l,options:{}}}function Y(y,l=null){return{type:4,styles:l,timings:y}}function j(y,l=null){return{type:2,steps:y,options:l}}function q(y){return{type:6,styles:y,offset:null}}function ie(y,l,u){return{type:0,name:y,styles:l,options:u}}function de(y,l,u=null){return{type:1,expr:y,animation:l,options:u}}function Bt(y){Promise.resolve(null).then(y)}class Wt{constructor(l=0,u=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=l+u}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(l=>l()),this._onDoneFns=[])}onStart(l){this._onStartFns.push(l)}onDone(l){this._onDoneFns.push(l)}onDestroy(l){this._onDestroyFns.push(l)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Bt(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(l=>l()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(l=>l()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(l){this._position=this.totalTime?l*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(l){const u="start"==l?this._onStartFns:this._onDoneFns;u.forEach(_=>_()),u.length=0}}class mt{constructor(l){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=l;let u=0,_=0,P=0;const B=this.players.length;0==B?Bt(()=>this._onFinish()):this.players.forEach(ee=>{ee.onDone(()=>{++u==B&&this._onFinish()}),ee.onDestroy(()=>{++_==B&&this._onDestroy()}),ee.onStart(()=>{++P==B&&this._onStart()})}),this.totalTime=this.players.reduce((ee,oe)=>Math.max(ee,oe.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(l=>l()),this._onDoneFns=[])}init(){this.players.forEach(l=>l.init())}onStart(l){this._onStartFns.push(l)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(l=>l()),this._onStartFns=[])}onDone(l){this._onDoneFns.push(l)}onDestroy(l){this._onDestroyFns.push(l)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(l=>l.play())}pause(){this.players.forEach(l=>l.pause())}restart(){this.players.forEach(l=>l.restart())}finish(){this._onFinish(),this.players.forEach(l=>l.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(l=>l.destroy()),this._onDestroyFns.forEach(l=>l()),this._onDestroyFns=[])}reset(){this.players.forEach(l=>l.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(l){const u=l*this.totalTime;this.players.forEach(_=>{const P=_.totalTime?Math.min(1,u/_.totalTime):1;_.setPosition(P)})}getPosition(){const l=this.players.reduce((u,_)=>null===u||_.totalTime>u.totalTime?_:u,null);return null!=l?l.getPosition():0}beforeDestroy(){this.players.forEach(l=>{l.beforeDestroy&&l.beforeDestroy()})}triggerCallback(l){const u="start"==l?this._onStartFns:this._onDoneFns;u.forEach(_=>_()),u.length=0}}var ht=S(1481);const tt=!1;function _t(y){return new C.vHH(3e3,tt)}function be(){return typeof window<"u"&&typeof window.document<"u"}function Re(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function st(y){switch(y.length){case 0:return new Wt;case 1:return y[0];default:return new mt(y)}}function Ge(y,l,u,_,P={},B={}){const ee=[],oe=[];let Me=-1,Le=null;if(_.forEach(Ct=>{const jt=Ct.offset,It=jt==Me,Cn=It&&Le||{};Object.keys(Ct).forEach(Jt=>{let Tt=Jt,zn=Ct[Jt];if("offset"!==Jt)switch(Tt=l.normalizePropertyName(Tt,ee),zn){case"!":zn=P[Jt];break;case $:zn=B[Jt];break;default:zn=l.normalizeStyleValue(Jt,Tt,zn,ee)}Cn[Tt]=zn}),It||oe.push(Cn),Le=Cn,Me=jt}),ee.length)throw function di(y){return new C.vHH(3502,tt)}();return oe}function ut(y,l,u,_){switch(l){case"start":y.onStart(()=>_(u&&bt(u,"start",y)));break;case"done":y.onDone(()=>_(u&&bt(u,"done",y)));break;case"destroy":y.onDestroy(()=>_(u&&bt(u,"destroy",y)))}}function bt(y,l,u){const B=Pt(y.element,y.triggerName,y.fromState,y.toState,l||y.phaseName,u.totalTime??y.totalTime,!!u.disabled),ee=y._data;return null!=ee&&(B._data=ee),B}function Pt(y,l,u,_,P="",B=0,ee){return{element:y,triggerName:l,fromState:u,toState:_,phaseName:P,totalTime:B,disabled:!!ee}}function yt(y,l,u){let _;return y instanceof Map?(_=y.get(l),_||y.set(l,_=u)):(_=y[l],_||(_=y[l]=u)),_}function lt(y){const l=y.indexOf(":");return[y.substring(1,l),y.substr(l+1)]}let Yt=(y,l)=>!1,Rt=(y,l,u)=>[],Qt=null;function Ke(y){const l=y.parentNode||y.host;return l===Qt?null:l}(Re()||typeof Element<"u")&&(be()?(Qt=(()=>document.documentElement)(),Yt=(y,l)=>{for(;l;){if(l===y)return!0;l=Ke(l)}return!1}):Yt=(y,l)=>y.contains(l),Rt=(y,l,u)=>{if(u)return Array.from(y.querySelectorAll(l));const _=y.querySelector(l);return _?[_]:[]});let yn=null,xt=!1;function wt(y){yn||(yn=function bn(){return typeof document<"u"?document.body:null}()||{},xt=!!yn.style&&"WebkitAppearance"in yn.style);let l=!0;return yn.style&&!function _n(y){return"ebkit"==y.substring(1,6)}(y)&&(l=y in yn.style,!l&&xt&&(l="Webkit"+y.charAt(0).toUpperCase()+y.substr(1)in yn.style)),l}const pt=Yt,dn=Rt;let Xn=(()=>{class y{validateStyleProperty(u){return wt(u)}matchesElement(u,_){return!1}containsElement(u,_){return pt(u,_)}getParentElement(u){return Ke(u)}query(u,_,P){return dn(u,_,P)}computeStyle(u,_,P){return P||""}animate(u,_,P,B,ee,oe=[],Me){return new Wt(P,B)}}return y.\u0275fac=function(u){return new(u||y)},y.\u0275prov=C.Yz7({token:y,factory:y.\u0275fac}),y})(),Te=(()=>{class y{}return y.NOOP=new Xn,y})();const Fe="ng-enter",dt="ng-leave",ft="ng-trigger",at=".ng-trigger",ae="ng-animating",De=".ng-animating";function Ot(y){if("number"==typeof y)return y;const l=y.match(/^(-?[\.\d]+)(m?s)/);return!l||l.length<2?0:Mt(parseFloat(l[1]),l[2])}function Mt(y,l){return"s"===l?1e3*y:y}function In(y,l,u){return y.hasOwnProperty("duration")?y:function Xe(y,l,u){let P,B=0,ee="";if("string"==typeof y){const oe=y.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===oe)return l.push(_t()),{duration:0,delay:0,easing:""};P=Mt(parseFloat(oe[1]),oe[2]);const Me=oe[3];null!=Me&&(B=Mt(parseFloat(Me),oe[4]));const Le=oe[5];Le&&(ee=Le)}else P=y;if(!u){let oe=!1,Me=l.length;P<0&&(l.push(function Zt(){return new C.vHH(3100,tt)}()),oe=!0),B<0&&(l.push(function He(){return new C.vHH(3101,tt)}()),oe=!0),oe&&l.splice(Me,0,_t())}return{duration:P,delay:B,easing:ee}}(y,l,u)}function Ve(y,l={}){return Object.keys(y).forEach(u=>{l[u]=y[u]}),l}function Pe(y,l,u={}){if(l)for(let _ in y)u[_]=y[_];else Ve(y,u);return u}function Ye(y,l,u){return u?l+":"+u+";":""}function ct(y){let l="";for(let u=0;u<y.style.length;u++){const _=y.style.item(u);l+=Ye(0,_,y.style.getPropertyValue(_))}for(const u in y.style)y.style.hasOwnProperty(u)&&!u.startsWith("_")&&(l+=Ye(0,Io(u),y.style[u]));y.setAttribute("style",l)}function ot(y,l,u){y.style&&(Object.keys(l).forEach(_=>{const P=Rr(_);u&&!u.hasOwnProperty(_)&&(u[_]=y.style[P]),y.style[P]=l[_]}),Re()&&ct(y))}function kt(y,l){y.style&&(Object.keys(l).forEach(u=>{const _=Rr(u);y.style[_]=""}),Re()&&ct(y))}function Et(y){return Array.isArray(y)?1==y.length?y[0]:j(y):y}const Ht=new RegExp("{{\\s*(.+?)\\s*}}","g");function En(y){let l=[];if("string"==typeof y){let u;for(;u=Ht.exec(y);)l.push(u[1]);Ht.lastIndex=0}return l}function sr(y,l,u){const _=y.toString(),P=_.replace(Ht,(B,ee)=>{let oe=l[ee];return l.hasOwnProperty(ee)||(u.push(function pe(y){return new C.vHH(3003,tt)}()),oe=""),oe.toString()});return P==_?y:P}function St(y){const l=[];let u=y.next();for(;!u.done;)l.push(u.value),u=y.next();return l}const sn=/-+([a-z0-9])/g;function Rr(y){return y.replace(sn,(...l)=>l[1].toUpperCase())}function Io(y){return y.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Kn(y,l,u){switch(l.type){case 7:return y.visitTrigger(l,u);case 0:return y.visitState(l,u);case 1:return y.visitTransition(l,u);case 2:return y.visitSequence(l,u);case 3:return y.visitGroup(l,u);case 4:return y.visitAnimate(l,u);case 5:return y.visitKeyframes(l,u);case 6:return y.visitStyle(l,u);case 8:return y.visitReference(l,u);case 9:return y.visitAnimateChild(l,u);case 10:return y.visitAnimateRef(l,u);case 11:return y.visitQuery(l,u);case 12:return y.visitStagger(l,u);default:throw function he(y){return new C.vHH(3004,tt)}()}}function Zr(y,l){return window.getComputedStyle(y)[l]}function bi(y,l){const u=[];return"string"==typeof y?y.split(/\s*,\s*/).forEach(_=>function Er(y,l,u){if(":"==y[0]){const Me=function Ws(y,l){switch(y){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(u,_)=>parseFloat(_)>parseFloat(u);case":decrement":return(u,_)=>parseFloat(_)<parseFloat(u);default:return l.push(function ci(y){return new C.vHH(3016,tt)}()),"* => *"}}(y,u);if("function"==typeof Me)return void l.push(Me);y=Me}const _=y.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==_||_.length<4)return u.push(function Ci(y){return new C.vHH(3015,tt)}()),l;const P=_[1],B=_[2],ee=_[3];l.push(ri(P,ee));"<"==B[0]&&!("*"==P&&"*"==ee)&&l.push(ri(ee,P))}(_,u,l)):u.push(y),u}const Lr=new Set(["true","1"]),Wn=new Set(["false","0"]);function ri(y,l){const u=Lr.has(y)||Wn.has(y),_=Lr.has(l)||Wn.has(l);return(P,B)=>{let ee="*"==y||y==P,oe="*"==l||l==B;return!ee&&u&&"boolean"==typeof P&&(ee=P?Lr.has(y):Wn.has(y)),!oe&&_&&"boolean"==typeof B&&(oe=B?Lr.has(l):Wn.has(l)),ee&&oe}}const Ao=new RegExp("s*:selfs*,?","g");function Yr(y,l,u,_){return new Pa(y).build(l,u,_)}class Pa{constructor(l){this._driver=l}build(l,u,_){const P=new qs(u);this._resetContextStyleTimingState(P);const B=Kn(this,Et(l),P);return P.unsupportedCSSPropertiesFound.size&&P.unsupportedCSSPropertiesFound.keys(),B}_resetContextStyleTimingState(l){l.currentQuerySelector="",l.collectedStyles={},l.collectedStyles[""]={},l.currentTime=0}visitTrigger(l,u){let _=u.queryCount=0,P=u.depCount=0;const B=[],ee=[];return"@"==l.name.charAt(0)&&u.errors.push(function Xt(){return new C.vHH(3006,tt)}()),l.definitions.forEach(oe=>{if(this._resetContextStyleTimingState(u),0==oe.type){const Me=oe,Le=Me.name;Le.toString().split(/\s*,\s*/).forEach(Ct=>{Me.name=Ct,B.push(this.visitState(Me,u))}),Me.name=Le}else if(1==oe.type){const Me=this.visitTransition(oe,u);_+=Me.queryCount,P+=Me.depCount,ee.push(Me)}else u.errors.push(function Bn(){return new C.vHH(3007,tt)}())}),{type:7,name:l.name,states:B,transitions:ee,queryCount:_,depCount:P,options:null}}visitState(l,u){const _=this.visitStyle(l.styles,u),P=l.options&&l.options.params||null;if(_.containsDynamicStyles){const B=new Set,ee=P||{};_.styles.forEach(oe=>{if(Vi(oe)){const Me=oe;Object.keys(Me).forEach(Le=>{En(Me[Le]).forEach(Ct=>{ee.hasOwnProperty(Ct)||B.add(Ct)})})}}),B.size&&(St(B.values()),u.errors.push(function Vn(y,l){return new C.vHH(3008,tt)}()))}return{type:0,name:l.name,style:_,options:P?{params:P}:null}}visitTransition(l,u){u.queryCount=0,u.depCount=0;const _=Kn(this,Et(l.animation),u);return{type:1,matchers:bi(l.expr,u.errors),animation:_,queryCount:u.queryCount,depCount:u.depCount,options:eo(l.options)}}visitSequence(l,u){return{type:2,steps:l.steps.map(_=>Kn(this,_,u)),options:eo(l.options)}}visitGroup(l,u){const _=u.currentTime;let P=0;const B=l.steps.map(ee=>{u.currentTime=_;const oe=Kn(this,ee,u);return P=Math.max(P,u.currentTime),oe});return u.currentTime=P,{type:3,steps:B,options:eo(l.options)}}visitAnimate(l,u){const _=function Ks(y,l){if(y.hasOwnProperty("duration"))return y;if("number"==typeof y)return Zs(In(y,l).duration,0,"");const u=y;if(u.split(/\s+/).some(B=>"{"==B.charAt(0)&&"{"==B.charAt(1))){const B=Zs(0,0,"");return B.dynamic=!0,B.strValue=u,B}const P=In(u,l);return Zs(P.duration,P.delay,P.easing)}(l.timings,u.errors);u.currentAnimateTimings=_;let P,B=l.styles?l.styles:q({});if(5==B.type)P=this.visitKeyframes(B,u);else{let ee=l.styles,oe=!1;if(!ee){oe=!0;const Le={};_.easing&&(Le.easing=_.easing),ee=q(Le)}u.currentTime+=_.duration+_.delay;const Me=this.visitStyle(ee,u);Me.isEmptyStep=oe,P=Me}return u.currentAnimateTimings=null,{type:4,timings:_,style:P,options:null}}visitStyle(l,u){const _=this._makeStyleAst(l,u);return this._validateStyleAst(_,u),_}_makeStyleAst(l,u){const _=[];Array.isArray(l.styles)?l.styles.forEach(ee=>{"string"==typeof ee?ee==$?_.push(ee):u.errors.push(function Kr(y){return new C.vHH(3002,tt)}()):_.push(ee)}):_.push(l.styles);let P=!1,B=null;return _.forEach(ee=>{if(Vi(ee)){const oe=ee,Me=oe.easing;if(Me&&(B=Me,delete oe.easing),!P)for(let Le in oe)if(oe[Le].toString().indexOf("{{")>=0){P=!0;break}}}),{type:6,styles:_,easing:B,offset:l.offset,containsDynamicStyles:P,options:null}}_validateStyleAst(l,u){const _=u.currentAnimateTimings;let P=u.currentTime,B=u.currentTime;_&&B>0&&(B-=_.duration+_.delay),l.styles.forEach(ee=>{"string"!=typeof ee&&Object.keys(ee).forEach(oe=>{if(!this._driver.validateStyleProperty(oe))return delete ee[oe],void u.unsupportedCSSPropertiesFound.add(oe);const Me=u.collectedStyles[u.currentQuerySelector],Le=Me[oe];let Ct=!0;Le&&(B!=P&&B>=Le.startTime&&P<=Le.endTime&&(u.errors.push(function Bi(y,l,u,_,P){return new C.vHH(3010,tt)}()),Ct=!1),B=Le.startTime),Ct&&(Me[oe]={startTime:B,endTime:P}),u.options&&function qt(y,l,u){const _=l.params||{},P=En(y);P.length&&P.forEach(B=>{_.hasOwnProperty(B)||u.push(function Ue(y){return new C.vHH(3001,tt)}())})}(ee[oe],u.options,u.errors)})})}visitKeyframes(l,u){const _={type:5,styles:[],options:null};if(!u.currentAnimateTimings)return u.errors.push(function Ir(){return new C.vHH(3011,tt)}()),_;let B=0;const ee=[];let oe=!1,Me=!1,Le=0;const Ct=l.steps.map(_r=>{const rr=this._makeStyleAst(_r,u);let xr=null!=rr.offset?rr.offset:function ji(y){if("string"==typeof y)return null;let l=null;if(Array.isArray(y))y.forEach(u=>{if(Vi(u)&&u.hasOwnProperty("offset")){const _=u;l=parseFloat(_.offset),delete _.offset}});else if(Vi(y)&&y.hasOwnProperty("offset")){const u=y;l=parseFloat(u.offset),delete u.offset}return l}(rr.styles),Gn=0;return null!=xr&&(B++,Gn=rr.offset=xr),Me=Me||Gn<0||Gn>1,oe=oe||Gn<Le,Le=Gn,ee.push(Gn),rr});Me&&u.errors.push(function cr(){return new C.vHH(3012,tt)}()),oe&&u.errors.push(function Ti(){return new C.vHH(3200,tt)}());const jt=l.steps.length;let It=0;B>0&&B<jt?u.errors.push(function Sn(){return new C.vHH(3202,tt)}()):0==B&&(It=1/(jt-1));const Cn=jt-1,Jt=u.currentTime,Tt=u.currentAnimateTimings,zn=Tt.duration;return Ct.forEach((_r,rr)=>{const xr=It>0?rr==Cn?1:It*rr:ee[rr],Gn=xr*zn;u.currentTime=Jt+Tt.delay+Gn,Tt.duration=Gn,this._validateStyleAst(_r,u),_r.offset=xr,_.styles.push(_r)}),_}visitReference(l,u){return{type:8,animation:Kn(this,Et(l.animation),u),options:eo(l.options)}}visitAnimateChild(l,u){return u.depCount++,{type:9,options:eo(l.options)}}visitAnimateRef(l,u){return{type:10,animation:this.visitReference(l.animation,u),options:eo(l.options)}}visitQuery(l,u){const _=u.currentQuerySelector,P=l.options||{};u.queryCount++,u.currentQuery=l;const[B,ee]=function bs(y){const l=!!y.split(/\s*,\s*/).find(u=>":self"==u);return l&&(y=y.replace(Ao,"")),y=y.replace(/@\*/g,at).replace(/@\w+/g,u=>at+"-"+u.substr(1)).replace(/:animating/g,De),[y,l]}(l.selector);u.currentQuerySelector=_.length?_+" "+B:B,yt(u.collectedStyles,u.currentQuerySelector,{});const oe=Kn(this,Et(l.animation),u);return u.currentQuery=null,u.currentQuerySelector=_,{type:11,selector:B,limit:P.limit||0,optional:!!P.optional,includeSelf:ee,animation:oe,originalSelector:l.selector,options:eo(l.options)}}visitStagger(l,u){u.currentQuery||u.errors.push(function nn(){return new C.vHH(3013,tt)}());const _="full"===l.timings?{duration:0,delay:0,easing:"full"}:In(l.timings,u.errors,!0);return{type:12,animation:Kn(this,Et(l.animation),u),timings:_,options:null}}}class qs{constructor(l){this.errors=l,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 Vi(y){return!Array.isArray(y)&&"object"==typeof y}function eo(y){return y?(y=Ve(y)).params&&(y.params=function ns(y){return y?Ve(y):null}(y.params)):y={},y}function Zs(y,l,u){return{duration:y,delay:l,easing:u}}function Hi(y,l,u,_,P,B,ee=null,oe=!1){return{type:1,element:y,keyframes:l,preStyleProps:u,postStyleProps:_,duration:P,delay:B,totalTime:P+B,easing:ee,subTimeline:oe}}class rs{constructor(){this._map=new Map}get(l){return this._map.get(l)||[]}append(l,u){let _=this._map.get(l);_||this._map.set(l,_=[]),_.push(...u)}has(l){return this._map.has(l)}clear(){this._map.clear()}}const xa=new RegExp(":enter","g"),Oa=new RegExp(":leave","g");function _o(y,l,u,_,P,B={},ee={},oe,Me,Le=[]){return(new Nn).buildKeyframes(y,l,u,_,P,B,ee,oe,Me,Le)}class Nn{buildKeyframes(l,u,_,P,B,ee,oe,Me,Le,Ct=[]){Le=Le||new rs;const jt=new Ro(l,u,Le,P,B,Ct,[]);jt.options=Me,jt.currentTimeline.setStyles([ee],null,jt.errors,Me),Kn(this,_,jt);const It=jt.timelines.filter(Cn=>Cn.containsAnimation());if(Object.keys(oe).length){let Cn;for(let Jt=It.length-1;Jt>=0;Jt--){const Tt=It[Jt];if(Tt.element===u){Cn=Tt;break}}Cn&&!Cn.allowOnlyTimelineStyles()&&Cn.setStyles([oe],null,jt.errors,Me)}return It.length?It.map(Cn=>Cn.buildKeyframes()):[Hi(u,[],[],[],0,0,"",!1)]}visitTrigger(l,u){}visitState(l,u){}visitTransition(l,u){}visitAnimateChild(l,u){const _=u.subInstructions.get(u.element);if(_){const P=u.createSubContext(l.options),B=u.currentTimeline.currentTime,ee=this._visitSubInstructions(_,P,P.options);B!=ee&&u.transformIntoNewTimeline(ee)}u.previousNode=l}visitAnimateRef(l,u){const _=u.createSubContext(l.options);_.transformIntoNewTimeline(),this.visitReference(l.animation,_),u.transformIntoNewTimeline(_.currentTimeline.currentTime),u.previousNode=l}_visitSubInstructions(l,u,_){let B=u.currentTimeline.currentTime;const ee=null!=_.duration?Ot(_.duration):null,oe=null!=_.delay?Ot(_.delay):null;return 0!==ee&&l.forEach(Me=>{const Le=u.appendInstructionToTimeline(Me,ee,oe);B=Math.max(B,Le.duration+Le.delay)}),B}visitReference(l,u){u.updateOptions(l.options,!0),Kn(this,l.animation,u),u.previousNode=l}visitSequence(l,u){const _=u.subContextCount;let P=u;const B=l.options;if(B&&(B.params||B.delay)&&(P=u.createSubContext(B),P.transformIntoNewTimeline(),null!=B.delay)){6==P.previousNode.type&&(P.currentTimeline.snapshotCurrentStyles(),P.previousNode=An);const ee=Ot(B.delay);P.delayNextStep(ee)}l.steps.length&&(l.steps.forEach(ee=>Kn(this,ee,P)),P.currentTimeline.applyStylesToKeyframe(),P.subContextCount>_&&P.transformIntoNewTimeline()),u.previousNode=l}visitGroup(l,u){const _=[];let P=u.currentTimeline.currentTime;const B=l.options&&l.options.delay?Ot(l.options.delay):0;l.steps.forEach(ee=>{const oe=u.createSubContext(l.options);B&&oe.delayNextStep(B),Kn(this,ee,oe),P=Math.max(P,oe.currentTimeline.currentTime),_.push(oe.currentTimeline)}),_.forEach(ee=>u.currentTimeline.mergeTimelineCollectedStyles(ee)),u.transformIntoNewTimeline(P),u.previousNode=l}_visitTiming(l,u){if(l.dynamic){const _=l.strValue;return In(u.params?sr(_,u.params,u.errors):_,u.errors)}return{duration:l.duration,delay:l.delay,easing:l.easing}}visitAnimate(l,u){const _=u.currentAnimateTimings=this._visitTiming(l.timings,u),P=u.currentTimeline;_.delay&&(u.incrementTime(_.delay),P.snapshotCurrentStyles());const B=l.style;5==B.type?this.visitKeyframes(B,u):(u.incrementTime(_.duration),this.visitStyle(B,u),P.applyStylesToKeyframe()),u.currentAnimateTimings=null,u.previousNode=l}visitStyle(l,u){const _=u.currentTimeline,P=u.currentAnimateTimings;!P&&_.getCurrentStyleProperties().length&&_.forwardFrame();const B=P&&P.easing||l.easing;l.isEmptyStep?_.applyEmptyStep(B):_.setStyles(l.styles,B,u.errors,u.options),u.previousNode=l}visitKeyframes(l,u){const _=u.currentAnimateTimings,P=u.currentTimeline.duration,B=_.duration,oe=u.createSubContext().currentTimeline;oe.easing=_.easing,l.styles.forEach(Me=>{oe.forwardTime((Me.offset||0)*B),oe.setStyles(Me.styles,Me.easing,u.errors,u.options),oe.applyStylesToKeyframe()}),u.currentTimeline.mergeTimelineCollectedStyles(oe),u.transformIntoNewTimeline(P+B),u.previousNode=l}visitQuery(l,u){const _=u.currentTimeline.currentTime,P=l.options||{},B=P.delay?Ot(P.delay):0;B&&(6===u.previousNode.type||0==_&&u.currentTimeline.getCurrentStyleProperties().length)&&(u.currentTimeline.snapshotCurrentStyles(),u.previousNode=An);let ee=_;const oe=u.invokeQuery(l.selector,l.originalSelector,l.limit,l.includeSelf,!!P.optional,u.errors);u.currentQueryTotal=oe.length;let Me=null;oe.forEach((Le,Ct)=>{u.currentQueryIndex=Ct;const jt=u.createSubContext(l.options,Le);B&&jt.delayNextStep(B),Le===u.element&&(Me=jt.currentTimeline),Kn(this,l.animation,jt),jt.currentTimeline.applyStylesToKeyframe(),ee=Math.max(ee,jt.currentTimeline.currentTime)}),u.currentQueryIndex=0,u.currentQueryTotal=0,u.transformIntoNewTimeline(ee),Me&&(u.currentTimeline.mergeTimelineCollectedStyles(Me),u.currentTimeline.snapshotCurrentStyles()),u.previousNode=l}visitStagger(l,u){const _=u.parentContext,P=u.currentTimeline,B=l.timings,ee=Math.abs(B.duration),oe=ee*(u.currentQueryTotal-1);let Me=ee*u.currentQueryIndex;switch(B.duration<0?"reverse":B.easing){case"reverse":Me=oe-Me;break;case"full":Me=_.currentStaggerTime}const Ct=u.currentTimeline;Me&&Ct.delayNextStep(Me);const jt=Ct.currentTime;Kn(this,l.animation,u),u.previousNode=l,_.currentStaggerTime=P.currentTime-jt+(P.startTime-_.currentTimeline.startTime)}}const An={};class Ro{constructor(l,u,_,P,B,ee,oe,Me){this._driver=l,this.element=u,this.subInstructions=_,this._enterClassName=P,this._leaveClassName=B,this.errors=ee,this.timelines=oe,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=An,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Me||new Es(this._driver,u,0),oe.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(l,u){if(!l)return;const _=l;let P=this.options;null!=_.duration&&(P.duration=Ot(_.duration)),null!=_.delay&&(P.delay=Ot(_.delay));const B=_.params;if(B){let ee=P.params;ee||(ee=this.options.params={}),Object.keys(B).forEach(oe=>{(!u||!ee.hasOwnProperty(oe))&&(ee[oe]=sr(B[oe],ee,this.errors))})}}_copyOptions(){const l={};if(this.options){const u=this.options.params;if(u){const _=l.params={};Object.keys(u).forEach(P=>{_[P]=u[P]})}}return l}createSubContext(l=null,u,_){const P=u||this.element,B=new Ro(this._driver,P,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(P,_||0));return B.previousNode=this.previousNode,B.currentAnimateTimings=this.currentAnimateTimings,B.options=this._copyOptions(),B.updateOptions(l),B.currentQueryIndex=this.currentQueryIndex,B.currentQueryTotal=this.currentQueryTotal,B.parentContext=this,this.subContextCount++,B}transformIntoNewTimeline(l){return this.previousNode=An,this.currentTimeline=this.currentTimeline.fork(this.element,l),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(l,u,_){const P={duration:u??l.duration,delay:this.currentTimeline.currentTime+(_??0)+l.delay,easing:""},B=new Ia(this._driver,l.element,l.keyframes,l.preStyleProps,l.postStyleProps,P,l.stretchStartingKeyframe);return this.timelines.push(B),P}incrementTime(l){this.currentTimeline.forwardTime(this.currentTimeline.duration+l)}delayNextStep(l){l>0&&this.currentTimeline.delayNextStep(l)}invokeQuery(l,u,_,P,B,ee){let oe=[];if(P&&oe.push(this.element),l.length>0){l=(l=l.replace(xa,"."+this._enterClassName)).replace(Oa,"."+this._leaveClassName);let Le=this._driver.query(this.element,l,1!=_);0!==_&&(Le=_<0?Le.slice(Le.length+_,Le.length):Le.slice(0,_)),oe.push(...Le)}return!B&&0==oe.length&&ee.push(function Ui(y){return new C.vHH(3014,tt)}()),oe}}class Es{constructor(l,u,_,P){this._driver=l,this.element=u,this.startTime=_,this._elementTimelineStylesLookup=P,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(u),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(u,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(l){const u=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||u?(this.forwardTime(this.currentTime+l),u&&this.snapshotCurrentStyles()):this.startTime+=l}fork(l,u){return this.applyStylesToKeyframe(),new Es(this._driver,l,u||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(l){this.applyStylesToKeyframe(),this.duration=l,this._loadKeyframe()}_updateStyle(l,u){this._localTimelineStyles[l]=u,this._globalTimelineStyles[l]=u,this._styleSummary[l]={time:this.currentTime,value:u}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(l){l&&(this._previousKeyframe.easing=l),Object.keys(this._globalTimelineStyles).forEach(u=>{this._backFill[u]=this._globalTimelineStyles[u]||$,this._currentKeyframe[u]=$}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(l,u,_,P){u&&(this._previousKeyframe.easing=u);const B=P&&P.params||{},ee=function os(y,l){const u={};let _;return y.forEach(P=>{"*"===P?(_=_||Object.keys(l),_.forEach(B=>{u[B]=$})):Pe(P,!1,u)}),u}(l,this._globalTimelineStyles);Object.keys(ee).forEach(oe=>{const Me=sr(ee[oe],B,_);this._pendingStyles[oe]=Me,this._localTimelineStyles.hasOwnProperty(oe)||(this._backFill[oe]=this._globalTimelineStyles.hasOwnProperty(oe)?this._globalTimelineStyles[oe]:$),this._updateStyle(oe,Me)})}applyStylesToKeyframe(){const l=this._pendingStyles,u=Object.keys(l);0!=u.length&&(this._pendingStyles={},u.forEach(_=>{this._currentKeyframe[_]=l[_]}),Object.keys(this._localTimelineStyles).forEach(_=>{this._currentKeyframe.hasOwnProperty(_)||(this._currentKeyframe[_]=this._localTimelineStyles[_])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(l=>{const u=this._localTimelineStyles[l];this._pendingStyles[l]=u,this._updateStyle(l,u)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const l=[];for(let u in this._currentKeyframe)l.push(u);return l}mergeTimelineCollectedStyles(l){Object.keys(l._styleSummary).forEach(u=>{const _=this._styleSummary[u],P=l._styleSummary[u];(!_||P.time>_.time)&&this._updateStyle(u,P.value)})}buildKeyframes(){this.applyStylesToKeyframe();const l=new Set,u=new Set,_=1===this._keyframes.size&&0===this.duration;let P=[];this._keyframes.forEach((oe,Me)=>{const Le=Pe(oe,!0);Object.keys(Le).forEach(Ct=>{const jt=Le[Ct];"!"==jt?l.add(Ct):jt==$&&u.add(Ct)}),_||(Le.offset=Me/this.duration),P.push(Le)});const B=l.size?St(l.values()):[],ee=u.size?St(u.values()):[];if(_){const oe=P[0],Me=Ve(oe);oe.offset=0,Me.offset=1,P=[oe,Me]}return Hi(this.element,P,B,ee,this.duration,this.startTime,this.easing,!1)}}class Ia extends Es{constructor(l,u,_,P,B,ee,oe=!1){super(l,u,ee.delay),this.keyframes=_,this.preStyleProps=P,this.postStyleProps=B,this._stretchStartingKeyframe=oe,this.timings={duration:ee.duration,delay:ee.delay,easing:ee.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let l=this.keyframes,{delay:u,duration:_,easing:P}=this.timings;if(this._stretchStartingKeyframe&&u){const B=[],ee=_+u,oe=u/ee,Me=Pe(l[0],!1);Me.offset=0,B.push(Me);const Le=Pe(l[0],!1);Le.offset=$i(oe),B.push(Le);const Ct=l.length-1;for(let jt=1;jt<=Ct;jt++){let It=Pe(l[jt],!1);It.offset=$i((u+It.offset*_)/ee),B.push(It)}_=ee,u=0,P="",l=B}return Hi(this.element,l,this.preStyleProps,this.postStyleProps,_,u,P,!0)}}function $i(y,l=3){const u=Math.pow(10,l-1);return Math.round(y*u)/u}class vo{}class Dr extends vo{normalizePropertyName(l,u){return Rr(l)}normalizeStyleValue(l,u,_,P){let B="";const ee=_.toString().trim();if(Js[u]&&0!==_&&"0"!==_)if("number"==typeof _)B="px";else{const oe=_.match(/^[+-]?[\d\.]+([a-z]*)$/);oe&&0==oe[1].length&&P.push(function je(y,l){return new C.vHH(3005,tt)}())}return ee+B}}const Js=(()=>function to(y){const l={};return y.forEach(u=>l[u]=!0),l}("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 Ds(y,l,u,_,P,B,ee,oe,Me,Le,Ct,jt,It){return{type:0,element:y,triggerName:l,isRemovalTransition:P,fromState:u,fromStyles:B,toState:_,toStyles:ee,timelines:oe,queriedElements:Me,preStyleProps:Le,postStyleProps:Ct,totalTime:jt,errors:It}}const no={};class kr{constructor(l,u,_){this._triggerName=l,this.ast=u,this._stateStyles=_}match(l,u,_,P){return function Br(y,l,u,_,P){return y.some(B=>B(l,u,_,P))}(this.ast.matchers,l,u,_,P)}buildStyles(l,u,_){const P=this._stateStyles["*"],B=this._stateStyles[l],ee=P?P.buildStyles(u,_):{};return B?B.buildStyles(u,_):ee}build(l,u,_,P,B,ee,oe,Me,Le,Ct){const jt=[],It=this.ast.options&&this.ast.options.params||no,Jt=this.buildStyles(_,oe&&oe.params||no,jt),Tt=Me&&Me.params||no,zn=this.buildStyles(P,Tt,jt),_r=new Set,rr=new Map,xr=new Map,Gn="void"===P,ms={params:{...It,...Tt}},Mo=Ct?[]:_o(l,u,this.ast.animation,B,ee,Jt,zn,ms,Le,jt);let zr=0;if(Mo.forEach(Zi=>{zr=Math.max(Zi.duration+Zi.delay,zr)}),jt.length)return Ds(u,this._triggerName,_,P,Gn,Jt,zn,[],[],rr,xr,zr,jt);Mo.forEach(Zi=>{const Ri=Zi.element,_a=yt(rr,Ri,{});Zi.preStyleProps.forEach($o=>_a[$o]=!0);const Ns=yt(xr,Ri,{});Zi.postStyleProps.forEach($o=>Ns[$o]=!0),Ri!==u&&_r.add(Ri)});const Ai=St(_r.values());return Ds(u,this._triggerName,_,P,Gn,Jt,zn,Mo,Ai,rr,xr,zr)}}class Co{constructor(l,u,_){this.styles=l,this.defaultParams=u,this.normalizer=_}buildStyles(l,u){const _={},P=Ve(this.defaultParams);return Object.keys(l).forEach(B=>{const ee=l[B];null!=ee&&(P[B]=ee)}),this.styles.styles.forEach(B=>{if("string"!=typeof B){const ee=B;Object.keys(ee).forEach(oe=>{let Me=ee[oe];Me.length>1&&(Me=sr(Me,P,u));const Le=this.normalizer.normalizePropertyName(oe,u);Me=this.normalizer.normalizeStyleValue(oe,Le,Me,u),_[Le]=Me})}}),_}}class E{constructor(l,u,_){this.name=l,this.ast=u,this._normalizer=_,this.transitionFactories=[],this.states={},u.states.forEach(P=>{this.states[P.name]=new Co(P.style,P.options&&P.options.params||{},_)}),D(this.states,"true","1"),D(this.states,"false","0"),u.transitions.forEach(P=>{this.transitionFactories.push(new kr(l,P,this.states))}),this.fallbackTransition=function A(y,l,u){return new kr(y,{type:1,animation:{type:2,steps:[],options:null},matchers:[(ee,oe)=>!0],options:null,queryCount:0,depCount:0},l)}(l,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(l,u,_,P){return this.transitionFactories.find(ee=>ee.match(l,u,_,P))||null}matchStyles(l,u,_){return this.fallbackTransition.buildStyles(l,u,_)}}function D(y,l,u){y.hasOwnProperty(l)?y.hasOwnProperty(u)||(y[u]=y[l]):y.hasOwnProperty(u)&&(y[l]=y[u])}const L=new rs;class fe{constructor(l,u,_){this.bodyNode=l,this._driver=u,this._normalizer=_,this._animations={},this._playersById={},this.players=[]}register(l,u){const _=[],B=Yr(this._driver,u,_,[]);if(_.length)throw function or(y){return new C.vHH(3503,tt)}();this._animations[l]=B}_buildPlayer(l,u,_){const P=l.element,B=Ge(0,this._normalizer,0,l.keyframes,u,_);return this._driver.animate(P,B,l.duration,l.delay,l.easing,[],!0)}create(l,u,_={}){const P=[],B=this._animations[l];let ee;const oe=new Map;if(B?(ee=_o(this._driver,u,B,Fe,dt,{},{},_,L,P),ee.forEach(Ct=>{const jt=yt(oe,Ct.element,{});Ct.postStyleProps.forEach(It=>jt[It]=null)})):(P.push(function Oo(){return new C.vHH(3300,tt)}()),ee=[]),P.length)throw function wr(y){return new C.vHH(3504,tt)}();oe.forEach((Ct,jt)=>{Object.keys(Ct).forEach(It=>{Ct[It]=this._driver.computeStyle(jt,It,$)})});const Le=st(ee.map(Ct=>{const jt=oe.get(Ct.element);return this._buildPlayer(Ct,{},jt)}));return this._playersById[l]=Le,Le.onDestroy(()=>this.destroy(l)),this.players.push(Le),Le}destroy(l){const u=this._getPlayer(l);u.destroy(),delete this._playersById[l];const _=this.players.indexOf(u);_>=0&&this.players.splice(_,1)}_getPlayer(l){const u=this._playersById[l];if(!u)throw function Ar(y){return new C.vHH(3301,tt)}();return u}listen(l,u,_,P){const B=Pt(u,"","","");return ut(this._getPlayer(l),_,B,P),()=>{}}command(l,u,_,P){if("register"==_)return void this.register(l,P[0]);if("create"==_)return void this.create(l,u,P[0]||{});const B=this._getPlayer(l);switch(_){case"play":B.play();break;case"pause":B.pause();break;case"reset":B.reset();break;case"restart":B.restart();break;case"finish":B.finish();break;case"init":B.init();break;case"setPosition":B.setPosition(parseFloat(P[0]));break;case"destroy":this.destroy(l)}}}const Oe="ng-animate-queued",nt="ng-animate-disabled",Ut=[],er={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Un={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},gn="__ng_removed";class Qr{constructor(l,u=""){this.namespaceId=u;const _=l&&l.hasOwnProperty("value");if(this.value=function ro(y){return y??null}(_?l.value:l),_){const B=Ve(l);delete B.value,this.options=B}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(l){const u=l.params;if(u){const _=this.options.params;Object.keys(u).forEach(P=>{null==_[P]&&(_[P]=u[P])})}}}const Mr="void",hi=new Qr(Mr);class tr{constructor(l,u,_){this.id=l,this.hostElement=u,this._engine=_,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+l,pi(u,this._hostClassName)}listen(l,u,_,P){if(!this._triggers.hasOwnProperty(u))throw function se(y,l){return new C.vHH(3302,tt)}();if(null==_||0==_.length)throw function Ce(y){return new C.vHH(3303,tt)}();if(!function ea(y){return"start"==y||"done"==y}(_))throw function te(y,l){return new C.vHH(3400,tt)}();const B=yt(this._elementListeners,l,[]),ee={name:u,phase:_,callback:P};B.push(ee);const oe=yt(this._engine.statesByElement,l,{});return oe.hasOwnProperty(u)||(pi(l,ft),pi(l,ft+"-"+u),oe[u]=hi),()=>{this._engine.afterFlush(()=>{const Me=B.indexOf(ee);Me>=0&&B.splice(Me,1),this._triggers[u]||delete oe[u]})}}register(l,u){return!this._triggers[l]&&(this._triggers[l]=u,!0)}_getTrigger(l){const u=this._triggers[l];if(!u)throw function U(y){return new C.vHH(3401,tt)}();return u}trigger(l,u,_,P=!0){const B=this._getTrigger(u),ee=new Ei(this.id,u,l);let oe=this._engine.statesByElement.get(l);oe||(pi(l,ft),pi(l,ft+"-"+u),this._engine.statesByElement.set(l,oe={}));let Me=oe[u];const Le=new Qr(_,this.id);if(!(_&&_.hasOwnProperty("value"))&&Me&&Le.absorbOptions(Me.options),oe[u]=Le,Me||(Me=hi),Le.value!==Mr&&Me.value===Le.value){if(!function gi(y,l){const u=Object.keys(y),_=Object.keys(l);if(u.length!=_.length)return!1;for(let P=0;P<u.length;P++){const B=u[P];if(!l.hasOwnProperty(B)||y[B]!==l[B])return!1}return!0}(Me.params,Le.params)){const Tt=[],zn=B.matchStyles(Me.value,Me.params,Tt),_r=B.matchStyles(Le.value,Le.params,Tt);Tt.length?this._engine.reportError(Tt):this._engine.afterFlush(()=>{kt(l,zn),ot(l,_r)})}return}const It=yt(this._engine.playersByElement,l,[]);It.forEach(Tt=>{Tt.namespaceId==this.id&&Tt.triggerName==u&&Tt.queued&&Tt.destroy()});let Cn=B.matchTransition(Me.value,Le.value,l,Le.params),Jt=!1;if(!Cn){if(!P)return;Cn=B.fallbackTransition,Jt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:l,triggerName:u,transition:Cn,fromState:Me,toState:Le,player:ee,isFallbackTransition:Jt}),Jt||(pi(l,Oe),ee.onStart(()=>{Pi(l,Oe)})),ee.onDone(()=>{let Tt=this.players.indexOf(ee);Tt>=0&&this.players.splice(Tt,1);const zn=this._engine.playersByElement.get(l);if(zn){let _r=zn.indexOf(ee);_r>=0&&zn.splice(_r,1)}}),this.players.push(ee),It.push(ee),ee}deregister(l){delete this._triggers[l],this._engine.statesByElement.forEach((u,_)=>{delete u[l]}),this._elementListeners.forEach((u,_)=>{this._elementListeners.set(_,u.filter(P=>P.name!=l))})}clearElementCache(l){this._engine.statesByElement.delete(l),this._elementListeners.delete(l);const u=this._engine.playersByElement.get(l);u&&(u.forEach(_=>_.destroy()),this._engine.playersByElement.delete(l))}_signalRemovalForInnerTriggers(l,u){const _=this._engine.driver.query(l,at,!0);_.forEach(P=>{if(P[gn])return;const B=this._engine.fetchNamespacesByElement(P);B.size?B.forEach(ee=>ee.triggerLeaveAnimation(P,u,!1,!0)):this.clearElementCache(P)}),this._engine.afterFlushAnimationsDone(()=>_.forEach(P=>this.clearElementCache(P)))}triggerLeaveAnimation(l,u,_,P){const B=this._engine.statesByElement.get(l),ee=new Map;if(B){const oe=[];if(Object.keys(B).forEach(Me=>{if(ee.set(Me,B[Me].value),this._triggers[Me]){const Le=this.trigger(l,Me,Mr,P);Le&&oe.push(Le)}}),oe.length)return this._engine.markElementAsRemoved(this.id,l,!0,u,ee),_&&st(oe).onDone(()=>this._engine.processLeaveNode(l)),!0}return!1}prepareLeaveAnimationListeners(l){const u=this._elementListeners.get(l),_=this._engine.statesByElement.get(l);if(u&&_){const P=new Set;u.forEach(B=>{const ee=B.name;if(P.has(ee))return;P.add(ee);const Me=this._triggers[ee].fallbackTransition,Le=_[ee]||hi,Ct=new Qr(Mr),jt=new Ei(this.id,ee,l);this._engine.totalQueuedPlayers++,this._queue.push({element:l,triggerName:ee,transition:Me,fromState:Le,toState:Ct,player:jt,isFallbackTransition:!0})})}}removeNode(l,u){const _=this._engine;if(l.childElementCount&&this._signalRemovalForInnerTriggers(l,u),this.triggerLeaveAnimation(l,u,!0))return;let P=!1;if(_.totalAnimations){const B=_.players.length?_.playersByQueriedElement.get(l):[];if(B&&B.length)P=!0;else{let ee=l;for(;ee=ee.parentNode;)if(_.statesByElement.get(ee)){P=!0;break}}}if(this.prepareLeaveAnimationListeners(l),P)_.markElementAsRemoved(this.id,l,!1,u);else{const B=l[gn];(!B||B===er)&&(_.afterFlush(()=>this.clearElementCache(l)),_.destroyInnerAnimations(l),_._onRemovalComplete(l,u))}}insertNode(l,u){pi(l,this._hostClassName)}drainQueuedTransitions(l){const u=[];return this._queue.forEach(_=>{const P=_.player;if(P.destroyed)return;const B=_.element,ee=this._elementListeners.get(B);ee&&ee.forEach(oe=>{if(oe.name==_.triggerName){const Me=Pt(B,_.triggerName,_.fromState.value,_.toState.value);Me._data=l,ut(_.player,oe.phase,Me,oe.callback)}}),P.markedForDestroy?this._engine.afterFlush(()=>{P.destroy()}):u.push(_)}),this._queue=[],u.sort((_,P)=>{const B=_.transition.ast.depCount,ee=P.transition.ast.depCount;return 0==B||0==ee?B-ee:this._engine.driver.containsElement(_.element,P.element)?1:-1})}destroy(l){this.players.forEach(u=>u.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,l)}elementContainsData(l){let u=!1;return this._elementListeners.has(l)&&(u=!0),u=!!this._queue.find(_=>_.element===l)||u,u}}class wo{constructor(l,u,_){this.bodyNode=l,this.driver=u,this._normalizer=_,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(P,B)=>{}}_onRemovalComplete(l,u){this.onRemovalComplete(l,u)}get queuedPlayers(){const l=[];return this._namespaceList.forEach(u=>{u.players.forEach(_=>{_.queued&&l.push(_)})}),l}createNamespace(l,u){const _=new tr(l,u,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,u)?this._balanceNamespaceList(_,u):(this.newHostElements.set(u,_),this.collectEnterElement(u)),this._namespaceLookup[l]=_}_balanceNamespaceList(l,u){const _=this._namespaceList,P=this.namespacesByHostElement,B=_.length-1;if(B>=0){let ee=!1;if(void 0!==this.driver.getParentElement){let oe=this.driver.getParentElement(u);for(;oe;){const Me=P.get(oe);if(Me){const Le=_.indexOf(Me);_.splice(Le+1,0,l),ee=!0;break}oe=this.driver.getParentElement(oe)}}else for(let oe=B;oe>=0;oe--)if(this.driver.containsElement(_[oe].hostElement,u)){_.splice(oe+1,0,l),ee=!0;break}ee||_.unshift(l)}else _.push(l);return P.set(u,l),l}register(l,u){let _=this._namespaceLookup[l];return _||(_=this.createNamespace(l,u)),_}registerTrigger(l,u,_){let P=this._namespaceLookup[l];P&&P.register(u,_)&&this.totalAnimations++}destroy(l,u){if(!l)return;const _=this._fetchNamespace(l);this.afterFlush(()=>{this.namespacesByHostElement.delete(_.hostElement),delete this._namespaceLookup[l];const P=this._namespaceList.indexOf(_);P>=0&&this._namespaceList.splice(P,1)}),this.afterFlushAnimationsDone(()=>_.destroy(u))}_fetchNamespace(l){return this._namespaceLookup[l]}fetchNamespacesByElement(l){const u=new Set,_=this.statesByElement.get(l);if(_){const P=Object.keys(_);for(let B=0;B<P.length;B++){const ee=_[P[B]].namespaceId;if(ee){const oe=this._fetchNamespace(ee);oe&&u.add(oe)}}}return u}trigger(l,u,_,P){if(ss(u)){const B=this._fetchNamespace(l);if(B)return B.trigger(u,_,P),!0}return!1}insertNode(l,u,_,P){if(!ss(u))return;const B=u[gn];if(B&&B.setForRemoval){B.setForRemoval=!1,B.setForMove=!0;const ee=this.collectedLeaveElements.indexOf(u);ee>=0&&this.collectedLeaveElements.splice(ee,1)}if(l){const ee=this._fetchNamespace(l);ee&&ee.insertNode(u,_)}P&&this.collectEnterElement(u)}collectEnterElement(l){this.collectedEnterElements.push(l)}markElementAsDisabled(l,u){u?this.disabledNodes.has(l)||(this.disabledNodes.add(l),pi(l,nt)):this.disabledNodes.has(l)&&(this.disabledNodes.delete(l),Pi(l,nt))}removeNode(l,u,_,P){if(ss(u)){const B=l?this._fetchNamespace(l):null;if(B?B.removeNode(u,P):this.markElementAsRemoved(l,u,!1,P),_){const ee=this.namespacesByHostElement.get(u);ee&&ee.id!==l&&ee.removeNode(u,P)}}else this._onRemovalComplete(u,P)}markElementAsRemoved(l,u,_,P,B){this.collectedLeaveElements.push(u),u[gn]={namespaceId:l,setForRemoval:P,hasAnimation:_,removedBeforeQueried:!1,previousTriggersValues:B}}listen(l,u,_,P,B){return ss(u)?this._fetchNamespace(l).listen(u,_,P,B):()=>{}}_buildInstruction(l,u,_,P,B){return l.transition.build(this.driver,l.element,l.fromState.value,l.toState.value,_,P,l.fromState.options,l.toState.options,u,B)}destroyInnerAnimations(l){let u=this.driver.query(l,at,!0);u.forEach(_=>this.destroyActiveAnimationsForElement(_)),0!=this.playersByQueriedElement.size&&(u=this.driver.query(l,De,!0),u.forEach(_=>this.finishActiveQueriedAnimationOnElement(_)))}destroyActiveAnimationsForElement(l){const u=this.playersByElement.get(l);u&&u.forEach(_=>{_.queued?_.markedForDestroy=!0:_.destroy()})}finishActiveQueriedAnimationOnElement(l){const u=this.playersByQueriedElement.get(l);u&&u.forEach(_=>_.finish())}whenRenderingDone(){return new Promise(l=>{if(this.players.length)return st(this.players).onDone(()=>l());l()})}processLeaveNode(l){const u=l[gn];if(u&&u.setForRemoval){if(l[gn]=er,u.namespaceId){this.destroyInnerAnimations(l);const _=this._fetchNamespace(u.namespaceId);_&&_.clearElementCache(l)}this._onRemovalComplete(l,u.setForRemoval)}l.classList?.contains(nt)&&this.markElementAsDisabled(l,!1),this.driver.query(l,".ng-animate-disabled",!0).forEach(_=>{this.markElementAsDisabled(_,!1)})}flush(l=-1){let u=[];if(this.newHostElements.size&&(this.newHostElements.forEach((_,P)=>this._balanceNamespaceList(_,P)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let _=0;_<this.collectedEnterElements.length;_++)pi(this.collectedEnterElements[_],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const _=[];try{u=this._flushAnimations(_,l)}finally{for(let P=0;P<_.length;P++)_[P]()}}else for(let _=0;_<this.collectedLeaveElements.length;_++)this.processLeaveNode(this.collectedLeaveElements[_]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(_=>_()),this._flushFns=[],this._whenQuietFns.length){const _=this._whenQuietFns;this._whenQuietFns=[],u.length?st(u).onDone(()=>{_.forEach(P=>P())}):_.forEach(P=>P())}}reportError(l){throw function I(y){return new C.vHH(3402,tt)}()}_flushAnimations(l,u){const _=new rs,P=[],B=new Map,ee=[],oe=new Map,Me=new Map,Le=new Map,Ct=new Set;this.disabledNodes.forEach(Nt=>{Ct.add(Nt);const Kt=this.driver.query(Nt,".ng-animate-queued",!0);for(let zt=0;zt<Kt.length;zt++)Ct.add(Kt[zt])});const jt=this.bodyNode,It=Array.from(this.statesByElement.keys()),Cn=Aa(It,this.collectedEnterElements),Jt=new Map;let Tt=0;Cn.forEach((Nt,Kt)=>{const zt=Fe+Tt++;Jt.set(Kt,zt),Nt.forEach(Tn=>pi(Tn,zt))});const zn=[],_r=new Set,rr=new Set;for(let Nt=0;Nt<this.collectedLeaveElements.length;Nt++){const Kt=this.collectedLeaveElements[Nt],zt=Kt[gn];zt&&zt.setForRemoval&&(zn.push(Kt),_r.add(Kt),zt.hasAnimation?this.driver.query(Kt,".ng-star-inserted",!0).forEach(Tn=>_r.add(Tn)):rr.add(Kt))}const xr=new Map,Gn=Aa(It,Array.from(_r));Gn.forEach((Nt,Kt)=>{const zt=dt+Tt++;xr.set(Kt,zt),Nt.forEach(Tn=>pi(Tn,zt))}),l.push(()=>{Cn.forEach((Nt,Kt)=>{const zt=Jt.get(Kt);Nt.forEach(Tn=>Pi(Tn,zt))}),Gn.forEach((Nt,Kt)=>{const zt=xr.get(Kt);Nt.forEach(Tn=>Pi(Tn,zt))}),zn.forEach(Nt=>{this.processLeaveNode(Nt)})});const ms=[],Mo=[];for(let Nt=this._namespaceList.length-1;Nt>=0;Nt--)this._namespaceList[Nt].drainQueuedTransitions(u).forEach(zt=>{const Tn=zt.player,Gr=zt.element;if(ms.push(Tn),this.collectedEnterElements.length){const ai=Gr[gn];if(ai&&ai.setForMove){if(ai.previousTriggersValues&&ai.previousTriggersValues.has(zt.triggerName)){const lo=ai.previousTriggersValues.get(zt.triggerName),uo=this.statesByElement.get(zt.element);uo&&uo[zt.triggerName]&&(uo[zt.triggerName].value=lo)}return void Tn.destroy()}}const zo=!jt||!this.driver.containsElement(jt,Gr),Mi=xr.get(Gr),Go=Jt.get(Gr),lr=this._buildInstruction(zt,_,Go,Mi,zo);if(lr.errors&&lr.errors.length)return void Mo.push(lr);if(zo)return Tn.onStart(()=>kt(Gr,lr.fromStyles)),Tn.onDestroy(()=>ot(Gr,lr.toStyles)),void P.push(Tn);if(zt.isFallbackTransition)return Tn.onStart(()=>kt(Gr,lr.fromStyles)),Tn.onDestroy(()=>ot(Gr,lr.toStyles)),void P.push(Tn);const yu=[];lr.timelines.forEach(ai=>{ai.stretchStartingKeyframe=!0,this.disabledNodes.has(ai.element)||yu.push(ai)}),lr.timelines=yu,_.append(Gr,lr.timelines),ee.push({instruction:lr,player:Tn,element:Gr}),lr.queriedElements.forEach(ai=>yt(oe,ai,[]).push(Tn)),lr.preStyleProps.forEach((ai,lo)=>{const uo=Object.keys(ai);if(uo.length){let mi=Me.get(lo);mi||Me.set(lo,mi=new Set),uo.forEach(Gl=>mi.add(Gl))}}),lr.postStyleProps.forEach((ai,lo)=>{const uo=Object.keys(ai);let mi=Le.get(lo);mi||Le.set(lo,mi=new Set),uo.forEach(Gl=>mi.add(Gl))})});if(Mo.length){const Nt=[];Mo.forEach(Kt=>{Nt.push(function ye(y,l){return new C.vHH(3505,tt)}())}),ms.forEach(Kt=>Kt.destroy()),this.reportError(Nt)}const zr=new Map,Ai=new Map;ee.forEach(Nt=>{const Kt=Nt.element;_.has(Kt)&&(Ai.set(Kt,Kt),this._beforeAnimationBuild(Nt.player.namespaceId,Nt.instruction,zr))}),P.forEach(Nt=>{const Kt=Nt.element;this._getPreviousPlayers(Kt,!1,Nt.namespaceId,Nt.triggerName,null).forEach(Tn=>{yt(zr,Kt,[]).push(Tn),Tn.destroy()})});const Zi=zn.filter(Nt=>We(Nt,Me,Le)),Ri=new Map;Ur(Ri,this.driver,rr,Le,$).forEach(Nt=>{We(Nt,Me,Le)&&Zi.push(Nt)});const Ns=new Map;Cn.forEach((Nt,Kt)=>{Ur(Ns,this.driver,new Set(Nt),Me,"!")}),Zi.forEach(Nt=>{const Kt=Ri.get(Nt),zt=Ns.get(Nt);Ri.set(Nt,{...Kt,...zt})});const $o=[],Ha=[],Fs={};ee.forEach(Nt=>{const{element:Kt,player:zt,instruction:Tn}=Nt;if(_.has(Kt)){if(Ct.has(Kt))return zt.onDestroy(()=>ot(Kt,Tn.toStyles)),zt.disabled=!0,zt.overrideTotalTime(Tn.totalTime),void P.push(zt);let Gr=Fs;if(Ai.size>1){let Mi=Kt;const Go=[];for(;Mi=Mi.parentNode;){const lr=Ai.get(Mi);if(lr){Gr=lr;break}Go.push(Mi)}Go.forEach(lr=>Ai.set(lr,Gr))}const zo=this._buildAnimation(zt.namespaceId,Tn,zr,B,Ns,Ri);if(zt.setRealPlayer(zo),Gr===Fs)$o.push(zt);else{const Mi=this.playersByElement.get(Gr);Mi&&Mi.length&&(zt.parentPlayer=st(Mi)),P.push(zt)}}else kt(Kt,Tn.fromStyles),zt.onDestroy(()=>ot(Kt,Tn.toStyles)),Ha.push(zt),Ct.has(Kt)&&P.push(zt)}),Ha.forEach(Nt=>{const Kt=B.get(Nt.element);if(Kt&&Kt.length){const zt=st(Kt);Nt.setRealPlayer(zt)}}),P.forEach(Nt=>{Nt.parentPlayer?Nt.syncPlayerEvents(Nt.parentPlayer):Nt.destroy()});for(let Nt=0;Nt<zn.length;Nt++){const Kt=zn[Nt],zt=Kt[gn];if(Pi(Kt,dt),zt&&zt.hasAnimation)continue;let Tn=[];if(oe.size){let zo=oe.get(Kt);zo&&zo.length&&Tn.push(...zo);let Mi=this.driver.query(Kt,De,!0);for(let Go=0;Go<Mi.length;Go++){let lr=oe.get(Mi[Go]);lr&&lr.length&&Tn.push(...lr)}}const Gr=Tn.filter(zo=>!zo.destroyed);Gr.length?as(this,Kt,Gr):this.processLeaveNode(Kt)}return zn.length=0,$o.forEach(Nt=>{this.players.push(Nt),Nt.onDone(()=>{Nt.destroy();const Kt=this.players.indexOf(Nt);this.players.splice(Kt,1)}),Nt.play()}),$o}elementContainsData(l,u){let _=!1;const P=u[gn];return P&&P.setForRemoval&&(_=!0),this.playersByElement.has(u)&&(_=!0),this.playersByQueriedElement.has(u)&&(_=!0),this.statesByElement.has(u)&&(_=!0),this._fetchNamespace(l).elementContainsData(u)||_}afterFlush(l){this._flushFns.push(l)}afterFlushAnimationsDone(l){this._whenQuietFns.push(l)}_getPreviousPlayers(l,u,_,P,B){let ee=[];if(u){const oe=this.playersByQueriedElement.get(l);oe&&(ee=oe)}else{const oe=this.playersByElement.get(l);if(oe){const Me=!B||B==Mr;oe.forEach(Le=>{Le.queued||!Me&&Le.triggerName!=P||ee.push(Le)})}}return(_||P)&&(ee=ee.filter(oe=>!(_&&_!=oe.namespaceId||P&&P!=oe.triggerName))),ee}_beforeAnimationBuild(l,u,_){const B=u.element,ee=u.isRemovalTransition?void 0:l,oe=u.isRemovalTransition?void 0:u.triggerName;for(const Me of u.timelines){const Le=Me.element,Ct=Le!==B,jt=yt(_,Le,[]);this._getPreviousPlayers(Le,Ct,ee,oe,u.toState).forEach(Cn=>{const Jt=Cn.getRealPlayer();Jt.beforeDestroy&&Jt.beforeDestroy(),Cn.destroy(),jt.push(Cn)})}kt(B,u.fromStyles)}_buildAnimation(l,u,_,P,B,ee){const oe=u.triggerName,Me=u.element,Le=[],Ct=new Set,jt=new Set,It=u.timelines.map(Jt=>{const Tt=Jt.element;Ct.add(Tt);const zn=Tt[gn];if(zn&&zn.removedBeforeQueried)return new Wt(Jt.duration,Jt.delay);const _r=Tt!==Me,rr=function sl(y){const l=[];return Ra(y,l),l}((_.get(Tt)||Ut).map(zr=>zr.getRealPlayer())).filter(zr=>!!zr.element&&zr.element===Tt),xr=B.get(Tt),Gn=ee.get(Tt),ms=Ge(0,this._normalizer,0,Jt.keyframes,xr,Gn),Mo=this._buildPlayer(Jt,ms,rr);if(Jt.subTimeline&&P&&jt.add(Tt),_r){const zr=new Ei(l,oe,Tt);zr.setRealPlayer(Mo),Le.push(zr)}return Mo});Le.forEach(Jt=>{yt(this.playersByQueriedElement,Jt.element,[]).push(Jt),Jt.onDone(()=>function zi(y,l,u){let _;if(y instanceof Map){if(_=y.get(l),_){if(_.length){const P=_.indexOf(u);_.splice(P,1)}0==_.length&&y.delete(l)}}else if(_=y[l],_){if(_.length){const P=_.indexOf(u);_.splice(P,1)}0==_.length&&delete y[l]}return _}(this.playersByQueriedElement,Jt.element,Jt))}),Ct.forEach(Jt=>pi(Jt,ae));const Cn=st(It);return Cn.onDestroy(()=>{Ct.forEach(Jt=>Pi(Jt,ae)),ot(Me,u.toStyles)}),jt.forEach(Jt=>{yt(P,Jt,[]).push(Cn)}),Cn}_buildPlayer(l,u,_){return u.length>0?this.driver.animate(l.element,u,l.duration,l.delay,l.easing,_):new Wt(l.duration,l.delay)}}class Ei{constructor(l,u,_){this.namespaceId=l,this.triggerName=u,this.element=_,this._player=new Wt,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(l){this._containsRealPlayer||(this._player=l,Object.keys(this._queuedCallbacks).forEach(u=>{this._queuedCallbacks[u].forEach(_=>ut(l,u,void 0,_))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(l.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(l){this.totalTime=l}syncPlayerEvents(l){const u=this._player;u.triggerCallback&&l.onStart(()=>u.triggerCallback("start")),l.onDone(()=>this.finish()),l.onDestroy(()=>this.destroy())}_queueEvent(l,u){yt(this._queuedCallbacks,l,[]).push(u)}onDone(l){this.queued&&this._queueEvent("done",l),this._player.onDone(l)}onStart(l){this.queued&&this._queueEvent("start",l),this._player.onStart(l)}onDestroy(l){this.queued&&this._queueEvent("destroy",l),this._player.onDestroy(l)}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(l){this.queued||this._player.setPosition(l)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(l){const u=this._player;u.triggerCallback&&u.triggerCallback(l)}}function ss(y){return y&&1===y.nodeType}function en(y,l){const u=y.style.display;return y.style.display=l??"none",u}function Ur(y,l,u,_,P){const B=[];u.forEach(Me=>B.push(en(Me)));const ee=[];_.forEach((Me,Le)=>{const Ct={};Me.forEach(jt=>{const It=Ct[jt]=l.computeStyle(Le,jt,P);(!It||0==It.length)&&(Le[gn]=Un,ee.push(Le))}),y.set(Le,Ct)});let oe=0;return u.forEach(Me=>en(Me,B[oe++])),ee}function Aa(y,l){const u=new Map;if(y.forEach(oe=>u.set(oe,[])),0==l.length)return u;const P=new Set(l),B=new Map;function ee(oe){if(!oe)return 1;let Me=B.get(oe);if(Me)return Me;const Le=oe.parentNode;return Me=u.has(Le)?Le:P.has(Le)?1:ee(Le),B.set(oe,Me),Me}return l.forEach(oe=>{const Me=ee(oe);1!==Me&&u.get(Me).push(oe)}),u}function pi(y,l){y.classList?.add(l)}function Pi(y,l){y.classList?.remove(l)}function as(y,l,u){st(u).onDone(()=>y.processLeaveNode(l))}function Ra(y,l){for(let u=0;u<y.length;u++){const _=y[u];_ instanceof mt?Ra(_.players,l):l.push(_)}}function We(y,l,u){const _=u.get(y);if(!_)return!1;let P=l.get(y);return P?_.forEach(B=>P.add(B)):l.set(y,_),u.delete(y),!0}class un{constructor(l,u,_){this.bodyNode=l,this._driver=u,this._normalizer=_,this._triggerCache={},this.onRemovalComplete=(P,B)=>{},this._transitionEngine=new wo(l,u,_),this._timelineEngine=new fe(l,u,_),this._transitionEngine.onRemovalComplete=(P,B)=>this.onRemovalComplete(P,B)}registerTrigger(l,u,_,P,B){const ee=l+"-"+P;let oe=this._triggerCache[ee];if(!oe){const Me=[],Ct=Yr(this._driver,B,Me,[]);if(Me.length)throw function Cr(y,l){return new C.vHH(3404,tt)}();oe=function Xs(y,l,u){return new E(y,l,u)}(P,Ct,this._normalizer),this._triggerCache[ee]=oe}this._transitionEngine.registerTrigger(u,P,oe)}register(l,u){this._transitionEngine.register(l,u)}destroy(l,u){this._transitionEngine.destroy(l,u)}onInsert(l,u,_,P){this._transitionEngine.insertNode(l,u,_,P)}onRemove(l,u,_,P){this._transitionEngine.removeNode(l,u,P||!1,_)}disableAnimations(l,u){this._transitionEngine.markElementAsDisabled(l,u)}process(l,u,_,P){if("@"==_.charAt(0)){const[B,ee]=lt(_);this._timelineEngine.command(B,u,ee,P)}else this._transitionEngine.trigger(l,u,_,P)}listen(l,u,_,P,B){if("@"==_.charAt(0)){const[ee,oe]=lt(_);return this._timelineEngine.listen(ee,u,oe,B)}return this._transitionEngine.listen(l,u,_,P,B)}flush(l=-1){this._transitionEngine.flush(l)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let fr=(()=>{class y{constructor(u,_,P){this._element=u,this._startStyles=_,this._endStyles=P,this._state=0;let B=y.initialStylesByElement.get(u);B||y.initialStylesByElement.set(u,B={}),this._initialStyles=B}start(){this._state<1&&(this._startStyles&&ot(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(ot(this._element,this._initialStyles),this._endStyles&&(ot(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(y.initialStylesByElement.delete(this._element),this._startStyles&&(kt(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(kt(this._element,this._endStyles),this._endStyles=null),ot(this._element,this._initialStyles),this._state=3)}}return y.initialStylesByElement=new WeakMap,y})();function No(y){let l=null;const u=Object.keys(y);for(let _=0;_<u.length;_++){const P=u[_];ls(P)&&(l=l||{},l[P]=y[P])}return l}function ls(y){return"display"===y||"position"===y}class Jr{constructor(l,u,_,P){this.element=l,this.keyframes=u,this.options=_,this._specialStyles=P,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=_.duration,this._delay=_.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(l=>l()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const l=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,l,this.options),this._finalKeyframe=l.length?l[l.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(l,u,_){return l.animate(u,_)}onStart(l){this._onStartFns.push(l)}onDone(l){this._onDoneFns.push(l)}onDestroy(l){this._onDestroyFns.push(l)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(l=>l()),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(l=>l()),this._onDestroyFns=[])}setPosition(l){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=l*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const l={};if(this.hasStarted()){const u=this._finalKeyframe;Object.keys(u).forEach(_=>{"offset"!=_&&(l[_]=this._finished?u[_]:Zr(this.element,_))})}this.currentSnapshot=l}triggerCallback(l){const u="start"==l?this._onStartFns:this._onDoneFns;u.forEach(_=>_()),u.length=0}}class na{validateStyleProperty(l){return wt(l)}matchesElement(l,u){return!1}containsElement(l,u){return pt(l,u)}getParentElement(l){return Ke(l)}query(l,u,_){return dn(l,u,_)}computeStyle(l,u,_){return window.getComputedStyle(l)[u]}animate(l,u,_,P,B,ee=[]){const Me={duration:_,delay:P,fill:0==P?"both":"forwards"};B&&(Me.easing=B);const Le={},Ct=ee.filter(It=>It instanceof Jr);(function br(y,l){return 0===y||0===l})(_,P)&&Ct.forEach(It=>{let Cn=It.currentSnapshot;Object.keys(Cn).forEach(Jt=>Le[Jt]=Cn[Jt])}),u=function dr(y,l,u){const _=Object.keys(u);if(_.length&&l.length){let B=l[0],ee=[];if(_.forEach(oe=>{B.hasOwnProperty(oe)||ee.push(oe),B[oe]=u[oe]}),ee.length)for(var P=1;P<l.length;P++){let oe=l[P];ee.forEach(function(Me){oe[Me]=Zr(y,Me)})}}return l}(l,u=u.map(It=>Pe(It,!1)),Le);const jt=function ta(y,l){let u=null,_=null;return Array.isArray(l)&&l.length?(u=No(l[0]),l.length>1&&(_=No(l[l.length-1]))):l&&(u=No(l)),u||_?new fr(y,u,_):null}(l,u);return new Jr(l,u,Me,jt)}}let Na=(()=>{class y extends F{constructor(u,_){super(),this._nextAnimationId=0,this._renderer=u.createRenderer(_.body,{id:"0",encapsulation:C.ifc.None,styles:[],data:{animation:[]}})}build(u){const _=this._nextAnimationId.toString();this._nextAnimationId++;const P=Array.isArray(u)?j(u):u;return Fl(this._renderer,null,_,"register",[P]),new Ms(_,this._renderer)}}return y.\u0275fac=function(u){return new(u||y)(C.LFG(C.FYo),C.LFG(p.K0))},y.\u0275prov=C.Yz7({token:y,factory:y.\u0275fac}),y})();class Ms extends class z{}{constructor(l,u){super(),this._id=l,this._renderer=u}create(l,u){return new Nl(this._id,l,u||{},this._renderer)}}class Nl{constructor(l,u,_,P){this.id=l,this.element=u,this._renderer=P,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",_)}_listen(l,u){return this._renderer.listen(this.element,`@@${this.id}:${l}`,u)}_command(l,...u){return Fl(this._renderer,this.element,this.id,l,u)}onDone(l){this._listen("done",l)}onStart(l){this._listen("start",l)}onDestroy(l){this._listen("destroy",l)}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(l){this._command("setPosition",l)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function Fl(y,l,u,_,P){return y.setProperty(l,`@@${u}:${_}`,P)}const Sr="@.disabled";let jr=(()=>{class y{constructor(u,_,P){this.delegate=u,this.engine=_,this._zone=P,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),_.onRemovalComplete=(B,ee)=>{const oe=ee?.parentNode(B);oe&&ee.removeChild(oe,B)}}createRenderer(u,_){const B=this.delegate.createRenderer(u,_);if(!(u&&_&&_.data&&_.data.animation)){let Ct=this._rendererCache.get(B);return Ct||(Ct=new Fo("",B,this.engine),this._rendererCache.set(B,Ct)),Ct}const ee=_.id,oe=_.id+"-"+this._currentId;this._currentId++,this.engine.register(oe,u);const Me=Ct=>{Array.isArray(Ct)?Ct.forEach(Me):this.engine.registerTrigger(ee,oe,u,Ct.name,Ct)};return _.data.animation.forEach(Me),new oo(this,oe,B,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(u,_,P){u>=0&&u<this._microtaskId?this._zone.run(()=>_(P)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(B=>{const[ee,oe]=B;ee(oe)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([_,P]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return y.\u0275fac=function(u){return new(u||y)(C.LFG(C.FYo),C.LFG(un),C.LFG(C.R0b))},y.\u0275prov=C.Yz7({token:y,factory:y.\u0275fac}),y})();class Fo{constructor(l,u,_){this.namespaceId=l,this.delegate=u,this.engine=_,this.destroyNode=this.delegate.destroyNode?P=>u.destroyNode(P):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(l,u){return this.delegate.createElement(l,u)}createComment(l){return this.delegate.createComment(l)}createText(l){return this.delegate.createText(l)}appendChild(l,u){this.delegate.appendChild(l,u),this.engine.onInsert(this.namespaceId,u,l,!1)}insertBefore(l,u,_,P=!0){this.delegate.insertBefore(l,u,_),this.engine.onInsert(this.namespaceId,u,l,P)}removeChild(l,u,_){this.engine.onRemove(this.namespaceId,u,this.delegate,_)}selectRootElement(l,u){return this.delegate.selectRootElement(l,u)}parentNode(l){return this.delegate.parentNode(l)}nextSibling(l){return this.delegate.nextSibling(l)}setAttribute(l,u,_,P){this.delegate.setAttribute(l,u,_,P)}removeAttribute(l,u,_){this.delegate.removeAttribute(l,u,_)}addClass(l,u){this.delegate.addClass(l,u)}removeClass(l,u){this.delegate.removeClass(l,u)}setStyle(l,u,_,P){this.delegate.setStyle(l,u,_,P)}removeStyle(l,u,_){this.delegate.removeStyle(l,u,_)}setProperty(l,u,_){"@"==u.charAt(0)&&u==Sr?this.disableAnimations(l,!!_):this.delegate.setProperty(l,u,_)}setValue(l,u){this.delegate.setValue(l,u)}listen(l,u,_){return this.delegate.listen(l,u,_)}disableAnimations(l,u){this.engine.disableAnimations(l,u)}}class oo extends Fo{constructor(l,u,_,P){super(u,_,P),this.factory=l,this.namespaceId=u}setProperty(l,u,_){"@"==u.charAt(0)?"."==u.charAt(1)&&u==Sr?this.disableAnimations(l,_=void 0===_||!!_):this.engine.process(this.namespaceId,l,u.substr(1),_):this.delegate.setProperty(l,u,_)}listen(l,u,_){if("@"==u.charAt(0)){const P=function so(y){switch(y){case"body":return document.body;case"document":return document;case"window":return window;default:return y}}(l);let B=u.substr(1),ee="";return"@"!=B.charAt(0)&&([B,ee]=function Ll(y){const l=y.indexOf(".");return[y.substring(0,l),y.substr(l+1)]}(B)),this.engine.listen(this.namespaceId,P,B,ee,oe=>{this.factory.scheduleListenerCallback(oe._data||-1,_,oe)})}return this.delegate.listen(l,u,_)}}let Gi=(()=>{class y extends un{constructor(u,_,P){super(u.body,_,P)}ngOnDestroy(){this.flush()}}return y.\u0275fac=function(u){return new(u||y)(C.LFG(p.K0),C.LFG(Te),C.LFG(vo))},y.\u0275prov=C.Yz7({token:y,factory:y.\u0275fac}),y})();const ra=new C.OlP("AnimationModuleType"),ia=[{provide:F,useClass:Na},{provide:vo,useFactory:function xi(){return new Dr}},{provide:un,useClass:Gi},{provide:C.FYo,useFactory:function us(y,l,u){return new jr(y,l,u)},deps:[ht.se,un,C.R0b]}],Lo=[{provide:Te,useFactory:()=>new na},{provide:ra,useValue:"BrowserAnimations"},...ia],Fa=[{provide:Te,useClass:Xn},{provide:ra,useValue:"NoopAnimations"},...ia];let kl=(()=>{class y{static withConfig(u){return{ngModule:y,providers:u.disableAnimations?Fa:Lo}}}return y.\u0275fac=function(u){return new(u||y)},y.\u0275mod=C.oAB({type:y}),y.\u0275inj=C.cJS({providers:Lo,imports:[ht.b2]}),y})();function ko(y,l){if(1&y){const u=C.EpF();C.TgZ(0,"button",9),C.NdJ("click",function(){return C.CHM(u),C.oxw(2).fireClose()}),C.TgZ(1,"span"),C._uU(2,"\xd7"),C.qZA()()}if(2&y){const u=C.oxw(2);C.Q6J("id",u.closeButtonID)("title",u.closeLabel),C.uIk("aria-label",u.closeLabel),C.xp6(1),C.uIk("aria-hidden",!0)}}function ka(y,l){if(1&y){const u=C.EpF();C.TgZ(0,"button",10),C.NdJ("click",function(){return C.CHM(u),C.oxw(2).fireToggleMore()}),C._uU(1),C.qZA()}if(2&y){const u=C.oxw(2);C.Q6J("id",u.moreButtonID),C.xp6(1),C.hij(" ",u.moreLabel," ")}}function al(y,l){if(1&y&&(C.TgZ(0,"strong",11),C._uU(1),C.qZA()),2&y){const u=C.oxw(2);C.xp6(1),C.Oqu(u.label)}}function ll(y,l){if(1&y&&(C.TgZ(0,"span",12),C._uU(1),C.qZA()),2&y){const u=C.oxw(2);C.Q6J("id",u.textMessageID),C.xp6(1),C.hij(" ",u.message," ")}}function Oi(y,l){if(1&y&&(C.TgZ(0,"li")(1,"span",12),C._uU(2),C.qZA()()),2&y){const u=l.$implicit,_=l.index,P=C.oxw(3);C.xp6(1),C.s9C("id",P.textListID+"_"+_),C.xp6(1),C.hij(" ",u," ")}}function ii(y,l){if(1&y&&(C.TgZ(0,"ul",13),C.YNc(1,Oi,3,2,"li",14),C.qZA()),2&y){const u=C.oxw(2);C.xp6(1),C.Q6J("ngForOf",u.alert.list)}}function da(y,l){if(1&y&&(C.TgZ(0,"div",1),C.YNc(1,ko,3,4,"button",2),C.YNc(2,ka,2,2,"button",3),C._UZ(3,"span"),C.TgZ(4,"div",4),C.YNc(5,al,2,1,"strong",5),C.TgZ(6,"span",6),C.YNc(7,ll,2,2,"span",7),C.qZA(),C.YNc(8,ii,2,1,"ul",8),C.qZA()()),2&y){const u=C.oxw();C.Gre("alert alert-",u.type," ng-hide"),C.Q6J("@openClose",u.animationClass),C.xp6(1),C.Q6J("ngIf",u.showCloseButton),C.xp6(1),C.Q6J("ngIf",u.showMoreButton),C.xp6(1),C.Tol(u.icon),C.uIk("aria-hidden",!0),C.xp6(2),C.Q6J("ngIf",u.hasLabel),C.xp6(2),C.Q6J("ngIf",u.message),C.xp6(1),C.Q6J("ngIf",u.alert&&u.alert.list&&u.alert.list.length)}}class qi{constructor(l,u,_=qi.defaultOptions){this._message=l,this._type=u;const P=_.id?_.id:Math.random().toString(36).substr(2,9);this._id=P,this._closable=_.isCloseable??!0,this._autoClosePeriod=_.autoClosePeriod,this._list=_.list,this._showMore=_.showMore||qi.defaultShowMore,this._ts=_.createdOn??Date.now()}get message(){return this._message}get type(){return this._type}get id(){return this._id}get isClosable(){return this._closable}get autoCloses(){return this._autoClosePeriod>0}get autoClosePeriod(){return this._autoClosePeriod}get list(){return this._list}get createdOn(){return this._ts}get showMore(){return this._showMore}static makeAlert(l){const{message:u,type:_,...P}=l;return new qi(u,_,P)}}qi.defaultShowMore=!1,qi.defaultAutoClosePeriod=0,qi.defaultOptions={autoClosePeriod:qi.defaultAutoClosePeriod,list:[]};var Qn=(()=>{return(y=Qn||(Qn={}))[y.error=0]="error",y[y.success=1]="success",y[y.warning=2]="warning",y[y.information=3]="information",Qn;var y})(),$r=(()=>{return(y=$r||($r={})).new="new",y.closed="closed",y.open="open",$r;var y})();let ps=(()=>{class y{constructor(u){this.locale=u,this.close=new C.vpe,this.toggleMore=new C.vpe,this.animationClass=$r.new}ngOnInit(){if(this._showMore=!1,this._closed=!1,this.moreButtonID=this._buildID("btnMore",this.type,this.alert.id),this.closeButtonID=this._buildID("btnClose",this.type,this.alert.id),this.textMessageID=this._buildID("txtMessage",this.type,this.alert.id),this.textListID=this._buildID("txtList",this.type,this.alert.id),!this.label)switch(this.alert.type){case Qn.success:this.label=this.locale.maketext("Success:");break;case Qn.error:this.label=this.locale.maketext("Error:");break;case Qn.information:this.label=this.locale.maketext("Information:");break;case Qn.warning:this.label=this.locale.maketext("Warning:")}this.moreLabel||(this.moreLabel=this.locale.maketext("More")),this.closeLabel||(this.closeLabel=this.locale.maketext("Close")),setTimeout(()=>{this.animationClass=$r.open},.25)}ngAfterViewInit(){this.willAutoClose&&this.startTimer()}get icon(){switch(this.alert.type){case Qn.error:return"type-icon fas fa-times-circle";case Qn.warning:return"type-icon fas fa-exclamation-triangle";case Qn.information:return"type-icon fas fa-info-circle";case Qn.success:return"type-icon fas fa-check-circle"}}get type(){switch(this.alert.type){case Qn.error:return"danger";case Qn.warning:return"warning";case Qn.information:return"info";case Qn.success:return"success"}}fireToggleMore(){this._showMore=!this._showMore,this.toggleMore.emit({alert:this.alert,showMore:this._showMore,component:this})}fireClose(){this._timeout&&this.clearTimer(),this.animationClass=$r.closed,setTimeout(()=>{this.close.emit({alert:this.alert,component:this}),this._closed=!0},250)}fireTimeout(){this.fireClose(),this.clearTimer()}get hasLabel(){const u=this.label;return null!==u&&""!==u}get showCloseButton(){return this.alert.isClosable}get showMoreButton(){return this.alert.showMore&&this.toggleMore.observers.length>0}get message(){return this.alert.message}startTimer(){this._timeout=setTimeout(()=>this.fireTimeout(),this.autoClosePeriod)}clearTimer(){this._timeout&&(clearTimeout(this._timeout),this._timeout=null)}get willAutoClose(){return this.autoClosePeriod>0}get autoClosePeriod(){return this.alert.autoClosePeriod}get isClosed(){return this._closed}_buildID(...u){return u.join("_")}}return y.\u0275fac=function(u){return new(u||y)(C.Y36(W.g))},y.\u0275cmp=C.Xpm({type:y,selectors:[["cp-alert"]],inputs:{alert:"alert",label:"label",closeLabel:"closeLabel",moreLabel:"moreLabel"},outputs:{close:"close",toggleMore:"toggleMore"},decls:1,vars:1,consts:[["role","alert",3,"class",4,"ngIf"],["role","alert"],["type","button","class","close",3,"id","title","click",4,"ngIf"],["type","button","class","btn btn-more btn-link pull-right flip",3,"id","click",4,"ngIf"],[1,"alert-message"],["class","alert-title",4,"ngIf"],[1,"alert-body"],[3,"id",4,"ngIf"],["class","alert-list",4,"ngIf"],["type","button",1,"close",3,"id","title","click"],["type","button",1,"btn","btn-more","btn-link","pull-right","flip",3,"id","click"],[1,"alert-title"],[3,"id"],[1,"alert-list"],[4,"ngFor","ngForOf"]],template:function(u,_){1&u&&C.YNc(0,da,9,13,"div",0),2&u&&C.Q6J("ngIf",!_.isClosed)},directives:[p.O5,p.sg],styles:['.alert-danger[_ngcontent-%COMP%]{background-color:#f2dede;border:1px solid #d03f00}html[dir="ltr"][_nghost-%COMP%] .alert-danger[_ngcontent-%COMP%], html[dir="ltr"] [_nghost-%COMP%] .alert-danger[_ngcontent-%COMP%]{box-shadow:inset 41px 0 #d03f00}html[dir="rtl"][_nghost-%COMP%] .alert-danger[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert-danger[_ngcontent-%COMP%]{box-shadow:inset -41px 0 #d03f00}.alert-success[_ngcontent-%COMP%]{background-color:#dff2d5;border:1px solid #83b655}html[dir="ltr"][_nghost-%COMP%] .alert-success[_ngcontent-%COMP%], html[dir="ltr"] [_nghost-%COMP%] .alert-success[_ngcontent-%COMP%]{box-shadow:inset 41px 0 #83b655}html[dir="rtl"][_nghost-%COMP%] .alert-success[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert-success[_ngcontent-%COMP%]{box-shadow:inset -41px 0 #83b655}.alert-warning[_ngcontent-%COMP%]{background-color:#fcf8e1;border:1px solid #f6c342}html[dir="ltr"][_nghost-%COMP%] .alert-warning[_ngcontent-%COMP%], html[dir="ltr"] [_nghost-%COMP%] .alert-warning[_ngcontent-%COMP%]{box-shadow:inset 41px 0 #f6c342}html[dir="rtl"][_nghost-%COMP%] .alert-warning[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert-warning[_ngcontent-%COMP%]{box-shadow:inset -41px 0 #f6c342}.alert-info[_ngcontent-%COMP%]{background-color:#d7edf9;border:1px solid #179bd7}html[dir="ltr"][_nghost-%COMP%] .alert-info[_ngcontent-%COMP%], html[dir="ltr"] [_nghost-%COMP%] .alert-info[_ngcontent-%COMP%]{box-shadow:inset 41px 0 #179bd7}html[dir="rtl"][_nghost-%COMP%] .alert-info[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert-info[_ngcontent-%COMP%]{box-shadow:inset -41px 0 #179bd7}.alert[_ngcontent-%COMP%]{position:relative;border-radius:2px;padding:10px 30px 10px 50px}html[dir="rtl"][_nghost-%COMP%] .alert[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert[_ngcontent-%COMP%]{padding:10px 50px 10px 30px}.alert-message[_ngcontent-%COMP%]{color:#333;overflow-wrap:break-word;word-wrap:break-word;word-break:break-word}.alert-message[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:underline}.alert[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{top:-2px;position:relative;right:-21px}html[dir="rtl"][_nghost-%COMP%] .alert[_ngcontent-%COMP%] .close[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{left:-21px;right:auto}.alert[_ngcontent-%COMP%] .type-icon[_ngcontent-%COMP%]{color:#f2dede;left:10px;position:absolute;-webkit-text-size-adjust:100%;text-size-adjust:100%;font-size:20px;line-height:20px;top:9px}html[dir="rtl"][_nghost-%COMP%] .alert[_ngcontent-%COMP%] .type-icon[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert[_ngcontent-%COMP%] .type-icon[_ngcontent-%COMP%]{left:auto;right:10px}.alert[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{opacity:.5}.alert-success[_ngcontent-%COMP%] .type-icon[_ngcontent-%COMP%]{color:#dff2d5}.alert-warning[_ngcontent-%COMP%] .type-icon[_ngcontent-%COMP%]{color:#fcf8e1}.alert-info[_ngcontent-%COMP%] .type-icon[_ngcontent-%COMP%]{color:#d7edf9}.alert[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin-bottom:0;padding:0 30px}.alert-warning[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{color:#8a6d3b}.alert-warning[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{color:#333}.alert-success[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{color:#3c763d}.alert-success[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{color:#333}.alert-info[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{color:#31708f}.alert-info[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{color:#333}.alert-danger[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{color:#a94442}.alert-danger[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{color:#333}.alert[_ngcontent-%COMP%] .btn-more[_ngcontent-%COMP%]{padding:0;margin:0;line-height:1em;text-transform:none;color:#255783}'],data:{animation:[V("openClose",[ie($r.new,q({opacity:0})),ie($r.open,q({opacity:1})),ie($r.closed,q({opacity:0,transform:"translateX(25%)"})),de(`${$r.open} => ${$r.closed}`,[Y("0.25s")]),de(`${$r.new} => ${$r.open}`,[Y("0.25s")]),de(`${$r.closed} => ${$r.open}`,[Y("0.25s")])])]}}),y})(),Di=(()=>{class y{}return y.\u0275fac=function(u){return new(u||y)},y.\u0275mod=C.oAB({type:y}),y.\u0275inj=C.cJS({imports:[[p.ez,kl,J.m]]}),y})()}}]);
Back to Directory
File Manager