Viewing File: /usr/local/cpanel/whostmgr/docroot/templates/account-enhancements/vendor.min.js

(self.webpackChunkaccount_enhancements=self.webpackChunkaccount_enhancements||[]).push([[736],{109:(Ie,J,x)=>{"use strict";x.d(J,{F:()=>a});var a=(()=>{return(b=a||(a={}))[b.GET=0]="GET",b[b.HEAD=1]="HEAD",b[b.POST=2]="POST",b[b.PUT=3]="PUT",b[b.DELETE=4]="DELETE",b[b.CONNECT=5]="CONNECT",b[b.OPTIONS=6]="OPTIONS",b[b.TRACE=7]="TRACE",b[b.PATCH=8]="PATCH",a;var b})()},7709:(Ie,J,x)=>{"use strict";x.d(J,{h:()=>a});class a{constructor(X,K){if(!X)throw new Error("You must provide a name when creating a name/value argument");this.name=X,this.value=K}}},3022:(Ie,J,x)=>{"use strict";x.d(J,{tO:()=>Tt,VN:()=>Ye});var a=x(4235),b=x.n(a),H=x(1305),X=x.n(H),K=x(4798),me=x.n(K),re=x(9138),pe=x.n(re),be=x(248),Z=x.n(be),oe=x(1503),Se=x.n(oe),Ze=x(7614),je=x.n(Ze);function it(Ct){if(b()(Ct)||X()(Ct)||me()(Ct)||pe()(Ct)||Z()(Ct))return!0;if(!je()(Ct)&&!Se()(Ct))return!1;for(const ot in Ct)if(!it(Ct[ot]))return!1;return!0}class Ye{constructor(){this.contentType="application/x-www-form-urlencoded",this.separatorStart="",this.separatorEnd="",this.recordSeparator="&"}encode(ot,Ge,Me){if(!ot)throw new Error("Name must have a non-empty value");return`${ot}=${encodeURIComponent(Ge.toString())}`+(Me?"":this.recordSeparator)}}class Tt{constructor(){this.contentType="application/json",this.separatorStart="{",this.separatorEnd="}",this.recordSeparator=","}encode(ot,Ge,Me){if(!ot)throw new Error("Name must have a non-empty value");if(!it(Ge))throw new Error("The passed in value can not be serialized to JSON");return JSON.stringify(ot)+":"+JSON.stringify(Ge)+(Me?"":this.recordSeparator)}}},3357:(Ie,J,x)=>{"use strict";x.d(J,{p:()=>a,w:()=>b});var a=(()=>{return(H=a||(a={}))[H.Contains=0]="Contains",H[H.Begins=1]="Begins",H[H.Ends=2]="Ends",H[H.Matches=3]="Matches",H[H.Equal=4]="Equal",H[H.NotEqual=5]="NotEqual",H[H.LessThan=6]="LessThan",H[H.LessThanUnlimited=7]="LessThanUnlimited",H[H.GreaterThan=8]="GreaterThan",H[H.GreaterThanUnlimited=9]="GreaterThanUnlimited",H[H.Defined=10]="Defined",H[H.Undefined=11]="Undefined",a;var H})();class b{constructor(X,K,me){if(!X)throw new Error("You must define a non-empty column name.");this.column=X,this.operator=K,this.value=me}}},755:(Ie,J,x)=>{"use strict";x.d(J,{ER:()=>b,PE:()=>H,Sr:()=>a});var a=(()=>{return(X=a||(a={}))[X.Ascending=0]="Ascending",X[X.Descending=1]="Descending",a;var X})(),b=(()=>{return(X=b||(b={}))[X.Lexicographic=0]="Lexicographic",X[X.Ipv4=1]="Ipv4",X[X.Numeric=2]="Numeric",X[X.NumericZeroAsMax=3]="NumericZeroAsMax",b;var X})();class H{constructor(K,me=a.Ascending,re=b.Lexicographic){if(!K)throw new Error("You must provide a non-empty column name for a Sort rule.");this.column=K,this.direction=me,this.type=re}}},7800:(Ie,J,x)=>{"use strict";x.d(J,{r:()=>Pe,N:()=>Ce});var a=x(1978),b=x.n(a);function H(Oe){return Oe?"1":"0"}var me=x(755),re=x(3357),pe=x(7709);const Z=Number.POSITIVE_INFINITY;class oe{constructor(Q=1,ae=20){if(Q<=0)throw new Error("The page must be 1 or greater. This is the logical page, not a programming index.");if(ae<=0)throw new Error("The pageSize must be set to 'ALL' or a number > 0");this.page=Q,this.pageSize=ae}all(){return this.pageSize===Z}}class Se{constructor(Q=[]){this.headers=Q}push(Q){this.headers.push(Q)}forEach(Q,ae){this.headers.forEach(Q,ae)}toArray(){const Q=[];return this.headers.forEach((ae=>Q.push({name:ae.name,value:ae.value}))),Q}toObject(){return this.headers.reduce(((Q,ae)=>(Q[ae.name]=ae.value,Q)),{})}}class Ze{constructor(Q){this._header=Q}get name(){return this._header.name}get value(){return this._header.value}}class je extends Error{constructor(Q){super(Q),this.name="CpanelApiTokenInvalidError",Object.setPrototypeOf(this,je.prototype)}}class it extends Error{constructor(Q){super(Q),this.name="CpanelApiTokenMismatchError",Object.setPrototypeOf(this,it.prototype)}}class It extends Ze{constructor(Q,ae){if(!Q)throw new je("You must pass a valid token to the constructor.");if(!ae&&!/^.+[:]/.test(Q))throw new je("You must pass a cPanel username associated with the cPanel API token.");if(!ae&&!/[:].+$/.test(Q))throw new je("You must pass a valid cPanel API token.");super({name:"Authorization",value:`cpanel ${ae?ae+":":""}${Q}`})}}Error,Error;var Ge=x(109);const Je=new class Me{constructor(){this.map={},this.map.DEFAULT={verb:"DEFAULT",dataInBody:!0},[Ge.F.GET,Ge.F.DELETE,Ge.F.HEAD].forEach((Q=>{const ae=Ge.F[Q].toString();this.map[ae]={verb:ae,dataInBody:!1}})),[Ge.F.POST,Ge.F.PUT,Ge.F.PATCH].forEach((Q=>{const ae=Ge.F[Q].toString();this.map[ae]={verb:ae,dataInBody:!0}}))}getRule(Q){const ae="string"==typeof Q?Q:Ge.F[Q].toString();let Te=this.map[ae];return Te||(Te=this.map.DEFAULT),Te}};var Jt=x(3022),Nt=x(8448),vt=x.n(Nt),Ce=(()=>{return(Oe=Ce||(Ce={})).JsonApi="json-api",Oe.XmlApi="xml-api",Ce;var Oe})();class Pe extends class ot{constructor(Q){this.namespace="",this.method="",this.arguments=[],this.sorts=[],this.filters=[],this.columns=[],this.pager=new oe,this.headers=new Se,this._usePager=!1,this.defaultConfig={analytics:!1,json:!1},this.config=this.defaultConfig,Q&&(this.method=Q.method,Q.namespace&&(this.namespace=Q.namespace),Q.arguments&&Q.arguments.forEach((ae=>{this.addArgument(ae)})),Q.sorts&&Q.sorts.forEach((ae=>{this.addSort(ae)})),Q.filters&&Q.filters.forEach((ae=>{this.addFilter(ae)})),Q.columns&&Q.columns.forEach((ae=>this.addColumn(ae))),Q.pager&&this.paginate(Q.pager),this.config=Q.config?Q.config:this.defaultConfig,Q.headers&&Q.headers.forEach((ae=>{this.addHeader(ae)})))}get usePager(){return this._usePager}addArgument(Q){return this.arguments.push(Q instanceof pe.h?Q:new pe.h(Q.name,Q.value)),this}addSort(Q){return this.sorts.push(Q instanceof me.PE?Q:new me.PE(Q.column,Q.direction,Q.type)),this}addFilter(Q){return this.filters.push(Q instanceof re.w?Q:new re.w(Q.column,Q.operator,Q.value)),this}addColumn(Q){return this.columns.push(Q),this}addHeader(Q){return this.headers.push(Q instanceof Ze?Q:new Ze(Q)),this}paginate(Q){return this.pager=Q instanceof oe?Q:new oe(Q.page,Q.pageSize||20),this._usePager=!0,this}}{constructor(Q,ae){if(super(ae),this.apiType=Ce.JsonApi,Q!=Ce.JsonApi&&Q!=Ce.XmlApi)throw new Error("You must define the API type for the whmapi call before you generate a request.");if(this.apiType=Q,!this.method)throw new Error("You must define a method for the WHM API call before you generate a request")}addHeader(Q){if(Q instanceof It)throw new it("A CpanelApiTokenHeader cannot be used on a WhmApiRequest");return super.addHeader(Q),this}_build(Q,ae){let Te="";return Q.forEach(((qe,Et,Kn)=>{Te+=ae.encode(qe.name,qe.value,Et===Kn.length-1)})),ae.separatorStart+Te+ae.separatorEnd}_make_whm_api_fieldspec_from_number(Q){return vt()("",Math.floor(Q/26),"z")+"abcdefghijklmnopqrstuvwxyz".charAt(Q%26)}_generateArguments(Q){Q.push({name:"api.version",value:1}),this.arguments.forEach((Te=>Q.push(Te)))}_generateSorts(Q){this.sorts.forEach(((ae,Te)=>{0===Te&&Q.push({name:"api.sort.enable",value:H(!0)});const qe=`api.sort.${this._make_whm_api_fieldspec_from_number(Te)}`;Q.push({name:`${qe}.field`,value:ae.column}),Q.push({name:`${qe}.reverse`,value:H(ae.direction!==me.Sr.Ascending)}),Q.push({name:`${qe}.method`,value:b()(me.ER[ae.type])})}))}_lookupFilterOperator(Q){switch(Q){case re.p.GreaterThanUnlimited:return"gt_handle_unlimited";case re.p.GreaterThan:return"gt";case re.p.LessThanUnlimited:return"lt_handle_unlimited";case re.p.LessThan:return"lt";case re.p.Equal:return"eq";case re.p.Begins:return"begins";case re.p.Contains:return"contains";default:throw new Error(`Unrecoginzed FilterOperator ${re.p[Q]} for WHM API 1`)}}_generateFilters(Q){this.filters.forEach(((ae,Te)=>{0===Te&&(Q.push({name:"api.filter.enable",value:H(!0)}),Q.push({name:"api.filter.verbose",value:H(!0)}));const qe=`api.filter.${this._make_whm_api_fieldspec_from_number(Te)}`;Q.push({name:`${qe}.field`,value:ae.column}),Q.push({name:`${qe}.type`,value:this._lookupFilterOperator(ae.operator)}),Q.push({name:`${qe}.arg0`,value:ae.value})}))}_translatePageToStart(Q){return(Q.page-1)*Q.pageSize+1}_generatePagination(Q){if(!this.usePager)return;const ae=this.pager.all();Q.push({name:"api.chunk.enable",value:H(!0)}),Q.push({name:"api.chunk.verbose",value:H(!0)}),Q.push({name:"api.chunk.start",value:ae?-1:this._translatePageToStart(this.pager)}),ae||Q.push({name:"api.chunk.size",value:this.pager.pageSize})}generate(Q){Q||(Q={verb:Ge.F.POST,encoder:this.config.json?new Jt.tO:new Jt.VN}),Q.encoder||(Q.encoder=this.config.json?new Jt.tO:new Jt.VN);const ae=Je.getRule(Q.verb),Te={headers:new Se([{name:"Content-Type",value:Q.encoder.contentType}]),url:["",this.apiType,this.method].map(encodeURIComponent).join("/"),body:""},qe=[];this._generateArguments(qe),this._generateSorts(qe),this._generateFilters(qe),this._generatePagination(qe);const Et=this._build(qe,Q.encoder);return ae.dataInBody?Te.body=Et:Te.url+=Q.verb===Ge.F.GET?`?${Et}`:Et,this.headers.forEach((Kn=>{Te.headers.push({name:Kn.name,value:Kn.value})})),Te}}},269:(Ie,J,x)=>{"use strict";J.g=void 0;const b=x(1680);Object.defineProperty(J,"g",{enumerable:!0,get:function(){return b.Locale}})},5074:(Ie,J)=>{"use strict";Object.defineProperty(J,"__esModule",{value:!0}),J.CLDR=void 0,J.CLDR=class x{constructor(b){this.rawData=b,this.validateCLDR(this.rawData)}validateCLDR(b){if(!b)throw new Error("CLDR data cannot be null");if(!b.locale)throw new Error("CLDR data is missing locale information");if(!Object.prototype.hasOwnProperty.call(b,"functions")||Object.prototype.hasOwnProperty.call(b,"get_plural_form")||"function"!=typeof b.functions.get_plural_form)throw new Error("CLDR data is missing function get_plural_form");if(!Object.prototype.hasOwnProperty.call(b,"datetime_info"))throw new Error("CLDR data is missing datetime_info");if(!Object.prototype.hasOwnProperty.call(b,"misc_info"))throw new Error("CLDR data is missing misc_info");if(!Object.prototype.hasOwnProperty.call(b.misc_info,"cldr_formats"))throw new Error("CLDR data is missing cldr_formats");if(!Object.prototype.hasOwnProperty.call(b.misc_info,"orientation")||!Object.prototype.hasOwnProperty.call(b.misc_info.orientation,"characters"))throw new Error("CLDR data is missing orientation information");if(!Object.prototype.hasOwnProperty.call(b.misc_info,"delimiters"))throw new Error("CLDR data is missing delimiter information");return!0}getLocale(){return this.rawData.locale}getPluralForm(b,...H){return(0,this.rawData.functions.get_plural_form)(b,...H)}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:(Ie,J,x)=>{"use strict";Object.defineProperty(J,"__esModule",{value:!0}),J.Locale=void 0;const a=x(2889),b=x(9483),H=x(741),X=x(786),K=x(5074);J.Locale=class me{constructor(pe,be={}){this.lexicon=be,this._cldr=new K.CLDR(pe)}maketext(pe,...be){return(0,a.maketext)({cldr:this._cldr,lexicon:this.lexicon,template:pe,args:be})}localDatetime(pe,be){return this._datetimeWrapper(b.local_datetime,pe,be)}datetime(pe,be){return this._datetimeWrapper(b.datetime,pe,be)}_datetimeWrapper(pe,be,Z){return pe({cldr:this._cldr,args:[be,Z]})}getCurrentLocale(){return this._cldr.getLocale()}get isRtl(){return this._cldr.isRtl()}get isLtr(){return this._cldr.isLtr()}get cldr(){return this._cldr}numf(pe,be){return this._formatNumber(H.numf,pe,be)}format_bytes(pe,be){return this._formatNumber(H.format_bytes,pe,be)}_formatNumber(pe,...be){return this._callCLDRFunc(pe,be)}list_and(...pe){return this._callCLDRFunc(X.list_and,pe)}list_and_quoted(...pe){return this._callCLDRFunc(X.list_and_quoted,pe)}list_or(...pe){return this._callCLDRFunc(X.list_or,pe)}list_or_quoted(...pe){return this._callCLDRFunc(X.list_or_quoted,pe)}_callCLDRFunc(pe,be){return pe({cldr:this._cldr,args:be})}}},7296:(Ie,J,x)=>{"use strict";Object.defineProperty(J,"__esModule",{value:!0}),J.asis=void 0;const a=x(5247);J.asis=function b({args:[H,...X]}){if(!H||X.length>0||"string"!=typeof H)throw new Error("asis function accepts one non translatable string.");return(H=H.replace(/chr\((\d+)\)/g,(function(K,me){return a.functions.chr(Number(me))}))).replace(/amp\(\)/g,(function(){return a.functions.amp()}))}},527:(Ie,J)=>{"use strict";Object.defineProperty(J,"__esModule",{value:!0}),J.boolean=void 0,J.boolean=function x({args:[a,b,H,X]}){if(null==b||0===b.length||null==H||0===H.length)throw new Error("boolean function needs a valid whenTrue, whenFalse arguments.");return String(typeof a<"u"&&a?b:X&&null==a?X:H)}},9076:(Ie,J)=>{"use strict";Object.defineProperty(J,"__esModule",{value:!0}),J.comment=void 0,J.comment=function x({args:[a]}){return""}},9483:(Ie,J,x)=>{"use strict";Object.defineProperty(J,"__esModule",{value:!0}),J.local_datetime=J.datetime=J.dateToLocalDayNum=void 0;const a=x(5074),b=function(Z){const oe=Z.getUTCDay()-1;return oe<0?6:oe},H=[7,1,2,3,4,5,6];function X(Z,oe){return(H[Z.getUTCDay()]+7-oe)%7+1}J.dateToLocalDayNum=X;const K=function(Z,oe,Se){let Ze="",je=0;return oe=oe||0,Se=String(void 0===Se?" ":Se),je=oe-String(Z).length,je>0&&(Ze=[...Array(je)].map(String.prototype.valueOf,Se).join("")),Ze+Z};function me({cldr:Z,args:[oe=new Date,Se],tzString:Ze="UTC"}){if("number"==typeof oe&&/^-?\d+$/.test(oe.toString())&&(oe=new Date(1e3*oe)),!(oe instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(Z instanceof a.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const je=Z.getDateTimeInfo();return"string"==typeof Se&&/^(?:date|time|datetime|special)_format_/.test(Se)&&(Se=je[Se]),Se||(Se=je.date_format_long),Se.replace(/('[^']+')|(([a-zA-Z])\3*)/g,(function(it,It,Ye){return It?function re(Z){return Z.substr(1,Z.length-2)}(It):function pe(Z,oe,Se,Ze){switch(Se){case"yy":return Math.abs(Z.getUTCFullYear()).toString().slice(-2);case"y":case"yyy":case"yyyy":return String(Math.abs(Z.getUTCFullYear()));case"MMMMM":return oe.month_format_narrow[Z.getUTCMonth()];case"LLLLL":return oe.month_stand_alone_narrow[Z.getUTCMonth()];case"MMMM":return oe.month_format_wide[Z.getUTCMonth()];case"LLLL":return oe.month_stand_alone_wide[Z.getUTCMonth()];case"MMM":return oe.month_format_abbreviated[Z.getUTCMonth()];case"LLL":return oe.month_stand_alone_abbreviated[Z.getUTCMonth()];case"MM":case"LL":return K((Z.getUTCMonth()+1).toString(),2,"0");case"M":case"L":return String(Z.getUTCMonth()+1);case"EEEE":return oe.day_format_wide[b(Z)];case"EEE":case"EE":case"E":return oe.day_format_abbreviated[b(Z)];case"EEEEE":return oe.day_format_narrow[b(Z)];case"cccc":return oe.day_stand_alone_wide[b(Z)];case"ccc":return oe.day_stand_alone_abbreviated[b(Z)];case"cc":case"c":return String(X(Z,Number(oe.first_day_of_week)));case"ccccc":return oe.day_stand_alone_narrow[b(Z)];case"dd":return K(Z.getUTCDate().toString(),2,"0");case"d":return String(Z.getUTCDate());case"h":case"hh":{let je=Z.getUTCHours();je>12&&(je-=12),0===je&&(je=12);const it="hh"===Se?K(je.toString(),2,"0"):je;return String(it)}case"H":return String(Z.getUTCHours());case"HH":return K(Z.getUTCHours().toString(),2,"0");case"m":return String(Z.getUTCMinutes());case"mm":return K(Z.getUTCMinutes().toString(),2,"0");case"s":return String(Z.getUTCSeconds());case"ss":return K(Z.getUTCSeconds().toString(),2,"0");case"a":return Z.getUTCHours()<12?oe.am_pm_abbreviated[0]:oe.am_pm_abbreviated[1];case"z":case"zzzz":case"v":case"vvvv":return Ze;case"G":case"GG":case"GGG":return oe.era_abbreviated[Z.getUTCFullYear()<0?0:1];case"GGGGG":return oe.era_narrow[Z.getUTCFullYear()<0?0:1];case"GGGG":return oe.era_wide[Z.getUTCFullYear()<0?0:1]}return Se}(oe,je,Ye,Ze)}))}J.datetime=me,J.local_datetime=function be({cldr:Z,args:[oe=new Date,Se]}){if("number"==typeof oe&&/^-?\d+$/.test(oe.toString())&&(oe=new Date(1e3*oe)),!(oe instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(Z instanceof a.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const Ze=oe.getTimezoneOffset();(oe=new Date(oe)).setMinutes(oe.getMinutes()-Ze);const je=Ze>0?"-":"+",it=Math.floor(Math.abs(Ze)/60),It=Math.abs(Ze%60);return me({cldr:Z,args:[oe,Se],tzString:"GMT"+je+K(it.toString(),2,"0")+K(It.toString(),2,"0")})}},40:(Ie,J,x)=>{"use strict";Object.defineProperty(J,"__esModule",{value:!0}),J.functions=void 0;const a=x(7296),b=x(5247),H=x(9076),X=x(527),K=x(741),me=x(9483),re=x(786);J.functions={asis:a.asis,output:b.output,comment:H.comment,boolean:X.boolean,numf:K.numf,numerate:K.numerate,quant:K.quant,format_bytes:K.format_bytes,datetime:me.datetime,local_datetime:me.local_datetime,list_and:re.list_and,list_or:re.list_or,list_or_quoted:re.list_or_quoted,list_and_quoted:re.list_and_quoted}},786:(Ie,J)=>{"use strict";function a(re,pe,...be){let Z=be.slice();switch(1===Z.length&&Array.isArray(Z[0])&&(Z=Z[0].slice()),(typeof Z>"u"||0===Z.length)&&(Z=[""]),Z=Z.map((oe=>function x(re,pe){const be=re.getDelimiters();return be&&Object.prototype.hasOwnProperty.call(be,"quotation_start")&&Object.prototype.hasOwnProperty.call(be,"quotation_end")?be.quotation_start+pe+be.quotation_end:pe}(re,oe))),pe){case"list_and":return K({cldr:re,args:Z});case"list_or":return me({cldr:re,args:Z});default:throw new Error("Did you mean list_and_quoted or list_or_quoted?")}}function X(re,pe,...be){let Z=be.slice();1===Z.length&&Array.isArray(Z[0])&&(Z=Z[0].slice());const oe=Z.length;let Se,Ze,je,it;try{Se=re.getFormats()[pe]}catch{throw new Error("CLDR Data is missing information related to formatting list.")}const It=function(Ye,Tt){switch(Tt){case"0":return je;case"1":return Z[it++]}};switch(oe){case 0:return"";case 1:return String(Z[0]);default:if(je=2===oe?Se[2]:Se.start,je=je.replace(/\{([01])\}/g,(function(Ye,Tt){return Z[Tt]})),2===oe)return je;for(it=2;it<oe;)Ze=Se[it===oe-1?"end":"middle"],je=Ze.replace(/\{([01])\}/g,It);return je}}function K({cldr:re,args:[...pe]}){return X(re,"list",...pe)}function me({cldr:re,args:[...pe]}){return X(re,"list_or",...pe)}Object.defineProperty(J,"__esModule",{value:!0}),J.list_or=J.list_and=J.list_or_quoted=J.list_and_quoted=void 0,J.list_and_quoted=function b({cldr:re,args:[...pe]}){return a(re,"list_and",...pe)},J.list_or_quoted=function H({cldr:re,args:[...pe]}){return a(re,"list_or",...pe)},J.list_and=K,J.list_or=me},5247:(Ie,J,x)=>{"use strict";Object.defineProperty(J,"__esModule",{value:!0}),J.functions=J.output=void 0;const a=x(7906),b=x(8533);J.output=function H({args:[X,...K]}){if(K&&"string"==typeof K[0]&&(K[0]=K[0].replace(/chr\((\d+)\)/g,(function(me,re){return J.functions.chr(Number(re))})),K[0]=K[0].replace(/amp\(\)/g,(function(){return J.functions.amp()}))),"function"==typeof J.functions[X])return J.functions[X](...K);throw new Error(`Locale output function '${X}' is not implemented.`)},J.functions={amp:()=>(0,a.htmlEscape)("&"),apos:()=>(0,a.htmlEscape)("'"),quot:()=>(0,a.htmlEscape)('"'),underline:X=>`<u>${X}</u>`,strong:X=>`<strong>${X}</strong>`,em:X=>`<em>${X}</em>`,abbr:(X,K)=>`<abbr title="${K}">${X}</abbr>`,acronym:(X,K)=>`<abbr title="${K}" class="initialism">${X}</abbr>`,class:(X,...K)=>`<span class="${K.join(" ")}">${X}</span>`,chr(X){if("string"==typeof X&&(X=Number(X)),"number"!=typeof X||isNaN(X))throw new Error("chr needs a number as argument");return(0,a.htmlEscape)(String.fromCharCode(X))},url(X,...K){let me,re;if("object"==typeof K[K.length-1])if(me=K[K.length-1],2===K.length){if(me.html)throw new Error("Cannot provide both text and configuration with html attribute");re=K[0]}else me&&me.html?(re=me.html,delete me.html):re=X;else K.length%2==0?(me=(0,b.listToObject)(...K),me&&"html"in me&&""!==me.html?(re=me.html,delete me.html):re=X):(re=K.shift(),me=(0,b.listToObject)(...K));"_type"in me&&"offsite"===me._type&&(me.class="offsite",me.target="_blank",delete me._type);let pe=`<a href="${X}"`;if("object"==typeof me)for(const be in me)Object.prototype.hasOwnProperty.call(me,be)&&(pe+=` ${be}="${me[be]}"`);return pe+=`>${re}</a>`,pe}}},741:(Ie,J,x)=>{"use strict";Object.defineProperty(J,"__esModule",{value:!0}),J.format_bytes=J.numf=J.quant=J.numerate=void 0;const a=x(5074);function H({cldr:re,args:[pe,...be]}){if(!(re instanceof a.CLDR))throw new Error("`quant` function requires a valid CLDR instance for the `cldr` parameter.");let Z,oe=3;pe instanceof Array?(oe=pe[1],Z=pe[0]):Z=pe;const Se=re.getPluralForm(Z,...be),Ze=Se[0]?Se[0]:be[be.length-1];if(Se&&Se.length>=2&&Se[1])return Ze;const it=K({cldr:re,args:[Z,oe]});return-1!==Ze.indexOf("%s")?Ze.replace(/%s/g,it):re.isRtl()?Ze+" "+it:it+" "+Ze}function K({cldr:re,args:[pe,be=6]}){if(!(re instanceof a.CLDR))throw new Error("`numf` function requires a valid CLDR instance for the `cldr` parameter.");if(/e/.test(pe.toString()))return String(pe);const{decimalFormat:Z,decimalGroup:oe,decimalDecimal:Se}=function X(re){const pe={},be=re.getFormats();return Object.prototype.hasOwnProperty.call(be,"decimal")&&(pe.decimalFormat=be.decimal),Object.prototype.hasOwnProperty.call(be,"_decimal_format_group")&&(pe.decimalGroup=be._decimal_format_group),Object.prototype.hasOwnProperty.call(be,"_decimal_format_decimal")&&(pe.decimalDecimal=be._decimal_format_decimal),pe}(re);if(!Z||!oe||!Se)throw new Error("CLDR Data is missing information related to formatting decimals.");const Ze=pe<0;pe=Math.abs(pe);let it,It,je=Math.floor(pe);/(?!')\.(?!')/.test(pe.toString())&&(it=String(pe).replace(/^[^.]+/,"0"),it=Number(it).toFixed(be),/^1/.test(it)?(je++,pe=je,it=void 0):it=it.replace(/^.*\./,"").replace(/0+$/,"")),It=/(?!');(?!')/.test(Z)?Z.split(/(?!');(?!')/)[Ze?1:0]:(Ze?"-":"")+Z;const Ct=It.match(/[0#].*[0#]/)[0].split(/(?!')\.(?!')/)[0].split("").reverse().join("").split(/(?!'),(?!')/);let ot;1===Ct.length?ot="":(Ct.pop(),ot=oe);const Ge=String(je).split("").reverse(),Me=[];let Je;const Jt=function(vt){switch(vt){case"#":return Ge.shift()||"";case"0":return Ge.shift()||"0"}};for(;Ge.length;){Ct.length&&(Je=Ct.shift());const vt=Je.replace(/(?!')[0#]|[0#](?!')/g,Jt).replace(/'([.,0#;\xa4%E])'$/,"").replace(/'([.,0#;\xa4%E])'/,"$1");Me.push(vt)}const Nt=Me.join(ot).split("").reverse().join("")+(it?Se+it:"");return It.replace(/[0#].*[0#]/,Nt)}J.numerate=function b({cldr:re,args:[pe,...be]}){if(!(re instanceof a.CLDR))throw new Error("`numerate` function requires a valid CLDR instance for the `cldr` parameter.");const Z=re.getPluralForm(pe,...be);return Z?Z[0]:be[be.length-1]},J.quant=H,J.numf=K,J.format_bytes=function me({cldr:re,args:[pe,be=2]}){if(!(re instanceof a.CLDR))throw new Error("`format_bytes` function requires a valid CLDR instance for the `cldr` parameter.");const Z=["KB","MB","GB","TB","PB","EB","ZB","YB"],Se=pe&&Math.min(Math.floor(Math.log(pe)/Math.log(1024)),Z.length);return Se?K({cldr:re,args:[pe/Math.pow(1024,Se),be]})+" "+Z[Se-1]:H({cldr:re,args:[pe,"%s byte","%s bytes"]})}},2889:(Ie,J,x)=>{"use strict";Object.defineProperty(J,"__esModule",{value:!0}),J.maketext=J.functions=J.config=void 0;const a=x(40);function K(me,re){const pe=[];let be=!1,Z=!1;return me.forEach((oe=>{if("_"===oe.charAt(0))if("_*"===oe){if(Z)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";pe.push(...re),be=!0}else{const Se=oe.match(J.config.underscoreDigitRe);if(Se){if(be)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";const[Ze,je]=Se,it=Number(je)-1;if(!(it in re))throw`The "${Ze}" substitution argument was not passed to the maketext function.`;pe.push(re[it]),Z=!0}}else pe.push(oe)})),pe}J.config={bracketRe:/([^~\[\]]+|~.|\[|\]|~)/g,underscoreDigitRe:/^_(\d+)$/,fauxComma:"",fauxCommaRe:new RegExp("","g"),tildeChars:new Set(["[","]","~"])},J.functions={...a.functions},J.maketext=function H({cldr:me,lexicon:re,template:pe,args:be}){if("string"!=typeof pe)throw"You must pass a string template to the maketext function.";if(-1===(pe=re&&re[pe]||pe).indexOf("["))return pe;const Z=pe.match(J.config.bracketRe)||[],oe=[];let Se=!1,Ze="";if(Z.forEach((je=>{if("["===je){if(Se)throw Error(`Invalid maketext string: ${pe} \nThe string contains nested brackets.`);Se=!0}else if("]"===je){if(!Se)throw Error(`Invalid maketext string: ${pe} \nThe string contains an unmatched closing bracket character (]).`);if(!Ze)throw Error(`Invalid maketext string: ${pe} \nThe string contains empty brackets. Use the escape character (~) if the bracket characters were meant to be printed literally.`);let it;Se=!1;try{it=function X(me,re,pe){let be=re.split(",");if(be=be.map((Se=>Se.replace(J.config.fauxCommaRe,","))),1===be.length){if(!J.config.underscoreDigitRe.test(be[0]))throw"A bracket must contain more than one argument, unless it is a pure substition.\n Example: Number of accounts: [_1]";const[Se]=K(be,pe);return String(Se)}const Z=be.shift();if(!Z||"function"!=typeof J.functions[Z])throw`Invalid function "${Z}" in maketext string.`;const oe=K(be,pe);return J.functions[Z]({cldr:me,args:oe})}(me,Ze,be)}catch(It){throw Error(`Invalid maketext string: ${pe} \n${It}`)}Ze="",oe.push(it)}else if("~"===je.charAt(0)){const it=je.charAt(1)||"~";Se?Ze+=","===it?J.config.fauxComma:it:J.config.tildeChars.has(it)?oe.push(it):oe.push(je)}else Se?Ze+=je:oe.push(je)})),Se)throw Error(`Invalid maketext string: ${pe} \nThe string contains an unmatched opening bracket character ([).`);return oe.join("")}},7906:(Ie,J)=>{"use strict";Object.defineProperty(J,"__esModule",{value:!0}),J.htmlEscape=J.entityMap=void 0,J.entityMap={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"},J.htmlEscape=function x(a){return String(a).replace(/[&<>"'\/]/g,(b=>J.entityMap[b]))}},8533:(Ie,J)=>{"use strict";Object.defineProperty(J,"__esModule",{value:!0}),J.listToObject=void 0,J.listToObject=function b(...H){let X={};return function x(H){if(H.length%2>0)throw new Error("An associative list must have an even number of parts: {name1}, {value1}, {name2}, {value2} ...");for(let K=0,me=H.length;K<me;K+=2){const re=H[K];if("string"!=typeof re||""===re)throw new Error("An associative list must provide non-empty string names in the 1st, 3rd, ... positions.")}return!0}(H)&&(X=function a(H){const X=H.length,K={};let re,pe,me=0;for(;me<X;)re=H[me],pe=H[++me],K[re]=pe,me++;return K}(H)),X}},443:(Ie,J,x)=>{var a=x(2119);Ie.exports=a.Symbol},4633:Ie=>{Ie.exports=function J(x,a){for(var b=-1,H=null==x?0:x.length,X=Array(H);++b<H;)X[b]=a(x[b],b,x);return X}},8745:Ie=>{Ie.exports=function J(x,a,b,H){var X=-1,K=null==x?0:x.length;for(H&&K&&(b=x[++X]);++X<K;)b=a(b,x[X],X,x);return b}},5481:(Ie,J,x)=>{var b=x(1847)("length");Ie.exports=b},6422:Ie=>{Ie.exports=function J(x){return x.split("")}},69:Ie=>{var J=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;Ie.exports=function x(a){return a.match(J)||[]}},3337:(Ie,J,x)=>{var a=x(443),b=x(1318),H=x(2902),me=a?a.toStringTag:void 0;Ie.exports=function re(pe){return null==pe?void 0===pe?"[object Undefined]":"[object Null]":me&&me in Object(pe)?b(pe):H(pe)}},1847:Ie=>{Ie.exports=function J(x){return function(a){return a?.[x]}}},2724:Ie=>{Ie.exports=function J(x){return function(a){return x?.[a]}}},7065:Ie=>{var x=Math.floor;Ie.exports=function a(b,H){var X="";if(!b||H<1||H>9007199254740991)return X;do{H%2&&(X+=b),(H=x(H/2))&&(b+=b)}while(H);return X}},4363:Ie=>{Ie.exports=function J(x,a,b){var H=-1,X=x.length;a<0&&(a=-a>X?0:X+a),(b=b>X?X:b)<0&&(b+=X),X=a>b?0:b-a>>>0,a>>>=0;for(var K=Array(X);++H<X;)K[H]=x[H+a];return K}},3935:(Ie,J,x)=>{var a=x(443),b=x(4633),H=x(1503),X=x(4129),me=a?a.prototype:void 0,re=me?me.toString:void 0;Ie.exports=function pe(be){if("string"==typeof be)return be;if(H(be))return b(be,pe)+"";if(X(be))return re?re.call(be):"";var Z=be+"";return"0"==Z&&1/be==-1/0?"-0":Z}},3348:(Ie,J,x)=>{var a=x(2760),b=/^\s+/;Ie.exports=function H(X){return X&&X.slice(0,a(X)+1).replace(b,"")}},2329:(Ie,J,x)=>{var a=x(4363);Ie.exports=function b(H,X,K){var me=H.length;return K=void 0===K?me:K,!X&&K>=me?H:a(H,X,K)}},1491:(Ie,J,x)=>{var a=x(8745),b=x(4707),H=x(7188),K=RegExp("['’]","g");Ie.exports=function me(re){return function(pe){return a(H(b(pe).replace(K,"")),re,"")}}},5171:(Ie,J,x)=>{var a=x(7065),b=x(3935),H=x(2329),X=x(7609),K=x(2315),me=x(6007),re=Math.ceil;Ie.exports=function pe(be,Z){var oe=(Z=void 0===Z?" ":b(Z)).length;if(oe<2)return oe?a(Z,be):Z;var Se=a(Z,re(be/K(Z)));return X(Z)?H(me(Se),0,be).join(""):Se.slice(0,be)}},9148:(Ie,J,x)=>{var H=x(2724)({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"});Ie.exports=H},9122:Ie=>{var J="object"==typeof global&&global&&global.Object===Object&&global;Ie.exports=J},9519:(Ie,J,x)=>{var b=x(9385)(Object.getPrototypeOf,Object);Ie.exports=b},1318:(Ie,J,x)=>{var a=x(443),b=Object.prototype,H=b.hasOwnProperty,X=b.toString,K=a?a.toStringTag:void 0;Ie.exports=function me(re){var pe=H.call(re,K),be=re[K];try{re[K]=void 0;var Z=!0}catch{}var oe=X.call(re);return Z&&(pe?re[K]=be:delete re[K]),oe}},7609:Ie=>{var me=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");Ie.exports=function re(pe){return me.test(pe)}},9062:Ie=>{var J=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;Ie.exports=function x(a){return J.test(a)}},2902:Ie=>{var x=Object.prototype.toString;Ie.exports=function a(b){return x.call(b)}},9385:Ie=>{Ie.exports=function J(x,a){return function(b){return x(a(b))}}},2119:(Ie,J,x)=>{var a=x(9122),b="object"==typeof self&&self&&self.Object===Object&&self,H=a||b||Function("return this")();Ie.exports=H},2315:(Ie,J,x)=>{var a=x(5481),b=x(7609),H=x(1149);Ie.exports=function X(K){return b(K)?H(K):a(K)}},6007:(Ie,J,x)=>{var a=x(6422),b=x(7609),H=x(6319);Ie.exports=function X(K){return b(K)?H(K):a(K)}},2760:Ie=>{var J=/\s/;Ie.exports=function x(a){for(var b=a.length;b--&&J.test(a.charAt(b)););return b}},1149:Ie=>{var J="\\ud800-\\udfff",K="["+J+"]",me="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",re="\\ud83c[\\udffb-\\udfff]",be="[^"+J+"]",Z="(?:\\ud83c[\\udde6-\\uddff]){2}",oe="[\\ud800-\\udbff][\\udc00-\\udfff]",Ze="(?:"+me+"|"+re+")?",je="[\\ufe0e\\ufe0f]?",It=je+Ze+"(?:\\u200d(?:"+[be,Z,oe].join("|")+")"+je+Ze+")*",Ye="(?:"+[be+me+"?",me,Z,oe,K].join("|")+")",Tt=RegExp(re+"(?="+re+")|"+Ye+It,"g");Ie.exports=function Ct(ot){for(var Ge=Tt.lastIndex=0;Tt.test(ot);)++Ge;return Ge}},6319:Ie=>{var J="\\ud800-\\udfff",K="["+J+"]",me="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",re="\\ud83c[\\udffb-\\udfff]",be="[^"+J+"]",Z="(?:\\ud83c[\\udde6-\\uddff]){2}",oe="[\\ud800-\\udbff][\\udc00-\\udfff]",Ze="(?:"+me+"|"+re+")?",je="[\\ufe0e\\ufe0f]?",It=je+Ze+"(?:\\u200d(?:"+[be,Z,oe].join("|")+")"+je+Ze+")*",Ye="(?:"+[be+me+"?",me,Z,oe,K].join("|")+")",Tt=RegExp(re+"(?="+re+")|"+Ye+It,"g");Ie.exports=function Ct(ot){return ot.match(Tt)||[]}},910:Ie=>{var J="\\ud800-\\udfff",X="\\u2700-\\u27bf",K="a-z\\xdf-\\xf6\\xf8-\\xff",Z="A-Z\\xc0-\\xd6\\xd8-\\xde",Se="\\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",je="["+Se+"]",It="\\d+",Ye="["+X+"]",Tt="["+K+"]",Ct="[^"+J+Se+It+X+K+Z+"]",Je="(?:\\ud83c[\\udde6-\\uddff]){2}",Jt="[\\ud800-\\udbff][\\udc00-\\udfff]",Nt="["+Z+"]",Ce="(?:"+Tt+"|"+Ct+")",Pe="(?:"+Nt+"|"+Ct+")",Oe="(?:['’](?:d|ll|m|re|s|t|ve))?",Q="(?:['’](?:D|LL|M|RE|S|T|VE))?",ae="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",Te="[\\ufe0e\\ufe0f]?",Xt=Te+ae+"(?:\\u200d(?:"+["[^"+J+"]",Je,Jt].join("|")+")"+Te+ae+")*",_n="(?:"+[Ye,Je,Jt].join("|")+")"+Xt,Tn=RegExp([Nt+"?"+Tt+"+"+Oe+"(?="+[je,Nt,"$"].join("|")+")",Pe+"+"+Q+"(?="+[je,Nt+Ce,"$"].join("|")+")",Nt+"?"+Ce+"+"+Oe,Nt+"+"+Q,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",It,_n].join("|"),"g");Ie.exports=function Cn(Lr){return Lr.match(Tn)||[]}},4707:(Ie,J,x)=>{var a=x(9148),b=x(3943),H=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,be=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");Ie.exports=function Z(oe){return(oe=b(oe))&&oe.replace(H,a).replace(be,"")}},1503:Ie=>{Ie.exports=Array.isArray},4798:(Ie,J,x)=>{var a=x(3337),b=x(2671);Ie.exports=function X(K){return!0===K||!1===K||b(K)&&"[object Boolean]"==a(K)}},1305:Ie=>{Ie.exports=function J(x){return null===x}},9138:(Ie,J,x)=>{var a=x(3337),b=x(2671);Ie.exports=function X(K){return"number"==typeof K||b(K)&&"[object Number]"==a(K)}},5940:Ie=>{Ie.exports=function J(x){var a=typeof x;return null!=x&&("object"==a||"function"==a)}},2671:Ie=>{Ie.exports=function J(x){return null!=x&&"object"==typeof x}},7614:(Ie,J,x)=>{var a=x(3337),b=x(9519),H=x(2671),re=Function.prototype.toString,pe=Object.prototype.hasOwnProperty,be=re.call(Object);Ie.exports=function Z(oe){if(!H(oe)||"[object Object]"!=a(oe))return!1;var Se=b(oe);if(null===Se)return!0;var Ze=pe.call(Se,"constructor")&&Se.constructor;return"function"==typeof Ze&&Ze instanceof Ze&&re.call(Ze)==be}},248:(Ie,J,x)=>{var a=x(3337),b=x(1503),H=x(2671);Ie.exports=function K(me){return"string"==typeof me||!b(me)&&H(me)&&"[object String]"==a(me)}},4129:(Ie,J,x)=>{var a=x(3337),b=x(2671);Ie.exports=function X(K){return"symbol"==typeof K||b(K)&&"[object Symbol]"==a(K)}},4235:Ie=>{Ie.exports=function J(x){return void 0===x}},7489:function(Ie,J,x){var a;Ie=x.nmd(Ie),function(){var b,me="Expected a function",pe="__lodash_hash_undefined__",Z="__lodash_placeholder__",qe=1/0,Et=9007199254740991,_n=4294967295,Lr=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],er="[object Arguments]",un="[object Array]",Nn="[object Boolean]",Hr="[object Date]",yi="[object Error]",Ir="[object Function]",Jn="[object GeneratorFunction]",lr="[object Map]",jr="[object Number]",_r="[object Object]",qt="[object Promise]",ri="[object RegExp]",de="[object Set]",Ne="[object String]",Ae="[object Symbol]",fe="[object WeakMap]",q="[object ArrayBuffer]",Ee="[object DataView]",xe="[object Float32Array]",et="[object Float64Array]",pt="[object Int8Array]",$t="[object Int16Array]",at="[object Int32Array]",Dt="[object Uint8Array]",Yt="[object Uint8ClampedArray]",wn="[object Uint16Array]",Ut="[object Uint32Array]",Pt=/\b__p \+= '';/g,Rt=/\b(__p \+=) '' \+/g,gt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Fn=/&(?:amp|lt|gt|quot|#39);/g,Kt=/[&<>"']/g,At=RegExp(Fn.source),cn=RegExp(Kt.source),Ht=/<%-([\s\S]+?)%>/g,kn=/<%([\s\S]+?)%>/g,Bt=/<%=([\s\S]+?)%>/g,pn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,dn=/^\w*$/,Or=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,fr=/[\\^$.*+?()[\]{}|]/g,Gn=RegExp(fr.source),zn=/^\s+/,Dr=/\s/,gn=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,De=/\{\n\/\* \[wrapped with (.+)\] \*/,se=/,? & /,G=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,U=/[()=,{}\[\]\/\s]/,te=/\\(\\)?/g,Re=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,nt=/\w*$/,zt=/^[-+]0x[0-9a-f]+$/i,tt=/^0b[01]+$/i,wt=/^\[object .+?Constructor\]$/,Ue=/^0o[0-7]+$/i,bt=/^(?:0|[1-9]\d*)$/,xt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Zt=/($^)/,Vt=/['\n\r\u2028\u2029\\]/g,St="\\ud800-\\udfff",Sn="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",tr="\\u2700-\\u27bf",pr="a-z\\xdf-\\xf6\\xf8-\\xff",Pn="A-Z\\xc0-\\xd6\\xd8-\\xde",ui="\\ufe0e\\ufe0f",ci="\\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",$i="["+St+"]",vi="["+ci+"]",Jr="["+Sn+"]",xr="\\d+",I="["+tr+"]",j="["+pr+"]",V="[^"+St+ci+xr+tr+pr+Pn+"]",ie="\\ud83c[\\udffb-\\udfff]",We="[^"+St+"]",lt="(?:\\ud83c[\\udde6-\\uddff]){2}",ut="[\\ud800-\\udbff][\\udc00-\\udfff]",dt="["+Pn+"]",bn="(?:"+j+"|"+V+")",Er="(?:"+dt+"|"+V+")",zr="(?:['’](?:d|ll|m|re|s|t|ve))?",Mr="(?:['’](?:D|LL|M|RE|S|T|VE))?",Ci="(?:"+Jr+"|"+ie+")?",Xi="["+ui+"]?",Da=Xi+Ci+"(?:\\u200d(?:"+[We,lt,ut].join("|")+")"+Xi+Ci+")*",Ea="(?:"+[I,lt,ut].join("|")+")"+Da,oa="(?:"+[We+Jr+"?",Jr,lt,ut,$i].join("|")+")",ls=RegExp("['’]","g"),vs=RegExp(Jr,"g"),Lo=RegExp(ie+"(?="+ie+")|"+oa+Da,"g"),Jo=RegExp([dt+"?"+j+"+"+zr+"(?="+[vi,dt,"$"].join("|")+")",Er+"+"+Mr+"(?="+[vi,dt+bn,"$"].join("|")+")",dt+"?"+bn+"+"+zr,dt+"+"+Mr,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",xr,Ea].join("|"),"g"),Vo=RegExp("[\\u200d"+St+Sn+ui+"]"),Bi=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,xo=["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"],Us=-1,vr={};vr[xe]=vr[et]=vr[pt]=vr[$t]=vr[at]=vr[Dt]=vr[Yt]=vr[wn]=vr[Ut]=!0,vr[er]=vr[un]=vr[q]=vr[Nn]=vr[Ee]=vr[Hr]=vr[yi]=vr[Ir]=vr[lr]=vr[jr]=vr[_r]=vr[ri]=vr[de]=vr[Ne]=vr[fe]=!1;var Zn={};Zn[er]=Zn[un]=Zn[q]=Zn[Ee]=Zn[Nn]=Zn[Hr]=Zn[xe]=Zn[et]=Zn[pt]=Zn[$t]=Zn[at]=Zn[lr]=Zn[jr]=Zn[_r]=Zn[ri]=Zn[de]=Zn[Ne]=Zn[Ae]=Zn[Dt]=Zn[Yt]=Zn[wn]=Zn[Ut]=!0,Zn[yi]=Zn[Ir]=Zn[fe]=!1;var mo={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},us=parseFloat,Ao=parseInt,Bo="object"==typeof global&&global&&global.Object===Object&&global,cs="object"==typeof self&&self&&self.Object===Object&&self,Nr=Bo||cs||Function("return this")(),Hs=J&&!J.nodeType&&J,Fr=Hs&&Ie&&!Ie.nodeType&&Ie,ds=Fr&&Fr.exports===Hs,Xr=ds&&Bo.process,Gr=function(){try{return Fr&&Fr.require&&Fr.require("util").types||Xr&&Xr.binding&&Xr.binding("util")}catch{}}(),lo=Gr&&Gr.isArrayBuffer,Uo=Gr&&Gr.isDate,Vr=Gr&&Gr.isMap,es=Gr&&Gr.isRegExp,ws=Gr&&Gr.isSet,wi=Gr&&Gr.isTypedArray;function gr(ge,ze,He){switch(He.length){case 0:return ge.call(ze);case 1:return ge.call(ze,He[0]);case 2:return ge.call(ze,He[0],He[1]);case 3:return ge.call(ze,He[0],He[1],He[2])}return ge.apply(ze,He)}function Io(ge,ze,He,Ot){for(var hn=-1,xn=null==ge?0:ge.length;++hn<xn;){var nr=ge[hn];ze(Ot,nr,He(nr),ge)}return Ot}function ii(ge,ze){for(var He=-1,Ot=null==ge?0:ge.length;++He<Ot&&!1!==ze(ge[He],He,ge););return ge}function _o(ge,ze){for(var He=null==ge?0:ge.length;He--&&!1!==ze(ge[He],He,ge););return ge}function Wr(ge,ze){for(var He=-1,Ot=null==ge?0:ge.length;++He<Ot;)if(!ze(ge[He],He,ge))return!1;return!0}function Ti(ge,ze){for(var He=-1,Ot=null==ge?0:ge.length,hn=0,xn=[];++He<Ot;){var nr=ge[He];ze(nr,He,ge)&&(xn[hn++]=nr)}return xn}function Ur(ge,ze){return!(null==ge||!ge.length)&&vo(ge,ze,0)>-1}function uo(ge,ze,He){for(var Ot=-1,hn=null==ge?0:ge.length;++Ot<hn;)if(He(ze,ge[Ot]))return!0;return!1}function or(ge,ze){for(var He=-1,Ot=null==ge?0:ge.length,hn=Array(Ot);++He<Ot;)hn[He]=ze(ge[He],He,ge);return hn}function bi(ge,ze){for(var He=-1,Ot=ze.length,hn=ge.length;++He<Ot;)ge[hn+He]=ze[He];return ge}function co(ge,ze,He,Ot){var hn=-1,xn=null==ge?0:ge.length;for(Ot&&xn&&(He=ge[++hn]);++hn<xn;)He=ze(He,ge[hn],hn,ge);return He}function Dn(ge,ze,He,Ot){var hn=null==ge?0:ge.length;for(Ot&&hn&&(He=ge[--hn]);hn--;)He=ze(He,ge[hn],hn,ge);return He}function Ho(ge,ze){for(var He=-1,Ot=null==ge?0:ge.length;++He<Ot;)if(ze(ge[He],He,ge))return!0;return!1}var ts=ns("length");function yo(ge,ze,He){var Ot;return He(ge,(function(hn,xn,nr){if(ze(hn,xn,nr))return Ot=xn,!1})),Ot}function zi(ge,ze,He,Ot){for(var hn=ge.length,xn=He+(Ot?1:-1);Ot?xn--:++xn<hn;)if(ze(ge[xn],xn,ge))return xn;return-1}function vo(ge,ze,He){return ze==ze?function _e(ge,ze,He){for(var Ot=He-1,hn=ge.length;++Ot<hn;)if(ge[Ot]===ze)return Ot;return-1}(ge,ze,He):zi(ge,ct,He)}function js(ge,ze,He,Ot){for(var hn=He-1,xn=ge.length;++hn<xn;)if(Ot(ge[hn],ze))return hn;return-1}function ct(ge){return ge!=ge}function jn(ge,ze){var He=null==ge?0:ge.length;return He?mr(ge,ze)/He:NaN}function ns(ge){return function(ze){return null==ze?b:ze[ge]}}function jo(ge){return function(ze){return null==ge?b:ge[ze]}}function wr(ge,ze,He,Ot,hn){return hn(ge,(function(xn,nr,Vn){He=Ot?(Ot=!1,xn):ze(He,xn,nr,Vn)})),He}function mr(ge,ze){for(var He,Ot=-1,hn=ge.length;++Ot<hn;){var xn=ze(ge[Ot]);xn!==b&&(He=He===b?xn:He+xn)}return He}function Wi(ge,ze){for(var He=-1,Ot=Array(ge);++He<ge;)Ot[He]=ze(He);return Ot}function Co(ge){return ge&&ge.slice(0,Ft(ge)+1).replace(zn,"")}function Oi(ge){return function(ze){return ge(ze)}}function $s(ge,ze){return or(ze,(function(He){return ge[He]}))}function fs(ge,ze){return ge.has(ze)}function Ds(ge,ze){for(var He=-1,Ot=ge.length;++He<Ot&&vo(ze,ge[He],0)>-1;);return He}function fi(ge,ze){for(var He=ge.length;He--&&vo(ze,ge[He],0)>-1;);return He}function fo(ge,ze){for(var He=ge.length,Ot=0;He--;)ge[He]===ze&&++Ot;return Ot}var zs=jo({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),wo=jo({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function qi(ge){return"\\"+mo[ge]}function ei(ge){return Vo.test(ge)}function p(ge){var ze=-1,He=Array(ge.size);return ge.forEach((function(Ot,hn){He[++ze]=[hn,Ot]})),He}function _(ge,ze){return function(He){return ge(ze(He))}}function T(ge,ze){for(var He=-1,Ot=ge.length,hn=0,xn=[];++He<Ot;){var nr=ge[He];(nr===ze||nr===Z)&&(ge[He]=Z,xn[hn++]=He)}return xn}function k(ge){var ze=-1,He=Array(ge.size);return ge.forEach((function(Ot){He[++ze]=Ot})),He}function ke(ge){return ei(ge)?function Ln(ge){for(var ze=Lo.lastIndex=0;Lo.test(ge);)++ze;return ze}(ge):ts(ge)}function Xe(ge){return ei(ge)?function On(ge){return ge.match(Lo)||[]}(ge):function bs(ge){return ge.split("")}(ge)}function Ft(ge){for(var ze=ge.length;ze--&&Dr.test(ge.charAt(ze)););return ze}var jt=jo({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),$n=function ge(ze){var r,He=(ze=null==ze?Nr:$n.defaults(Nr.Object(),ze,$n.pick(Nr,xo))).Array,Ot=ze.Date,hn=ze.Error,xn=ze.Function,nr=ze.Math,Vn=ze.Object,Di=ze.RegExp,Yi=ze.String,Ei=ze.TypeError,bo=He.prototype,xi=Vn.prototype,Ui=ze["__core-js_shared__"],C=xn.prototype.toString,O=xi.hasOwnProperty,D=0,N=(r=/[^.]+$/.exec(Ui&&Ui.keys&&Ui.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",ce=xi.toString,$e=C.call(Vn),rt=Nr._,Gt=Di("^"+C.call(O).replace(fr,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),rn=ds?ze.Buffer:b,Bn=ze.Symbol,Qn=ze.Uint8Array,ln=rn?rn.allocUnsafe:b,ar=_(Vn.getPrototypeOf,Vn),Un=Vn.create,Cr=xi.propertyIsEnumerable,Ai=bo.splice,hi=Bn?Bn.isConcatSpreadable:b,Hi=Bn?Bn.iterator:b,oi=Bn?Bn.toStringTag:b,rs=function(){try{var r=ms(Vn,"defineProperty");return r({},"",{}),r}catch{}}(),Ms=ze.clearTimeout!==Nr.clearTimeout&&ze.clearTimeout,Ss=Ot&&Ot.now!==Nr.Date.now&&Ot.now,za=ze.setTimeout!==Nr.setTimeout&&ze.setTimeout,Zi=nr.ceil,Ga=nr.floor,Ts=Vn.getOwnPropertySymbols,Wa=rn?rn.isBuffer:b,Ma=ze.isFinite,sa=bo.join,Ps=_(Vn.keys,Vn),si=nr.max,pi=nr.min,Sa=Ot.now,vl=ze.parseInt,qa=nr.random,aa=bo.reverse,Os=ms(ze,"DataView"),zo=ms(ze,"Map"),Ta=ms(ze,"Promise"),hs=ms(ze,"Set"),Ii=ms(ze,"WeakMap"),cr=ms(Vn,"create"),Sr=Ii&&new Ii,Go={},Pa=Va(Os),ho=Va(zo),Gs=Va(Ta),Oa=Va(hs),xs=Va(Ii),No=Bn?Bn.prototype:b,is=No?No.valueOf:b,Cl=No?No.toString:b;function $(r){if(Kr(r)&&!qn(r)&&!(r instanceof sn)){if(r instanceof Ki)return r;if(O.call(r,"__wrapped__"))return wu(r)}return new Ki(r)}var po=function(){function r(){}return function(s){if(!ti(s))return{};if(Un)return Un(s);r.prototype=s;var c=new r;return r.prototype=b,c}}();function xa(){}function Ki(r,s){this.__wrapped__=r,this.__actions__=[],this.__chain__=!!s,this.__index__=0,this.__values__=b}function sn(r){this.__wrapped__=r,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=_n,this.__views__=[]}function ua(r){var s=-1,c=null==r?0:r.length;for(this.clear();++s<c;){var S=r[s];this.set(S[0],S[1])}}function ps(r){var s=-1,c=null==r?0:r.length;for(this.clear();++s<c;){var S=r[s];this.set(S[0],S[1])}}function Zr(r){var s=-1,c=null==r?0:r.length;for(this.clear();++s<c;){var S=r[s];this.set(S[0],S[1])}}function gs(r){var s=-1,c=null==r?0:r.length;for(this.__data__=new Zr;++s<c;)this.add(r[s])}function Eo(r){var s=this.__data__=new ps(r);this.size=s.size}function w(r,s){var c=qn(r),S=!c&&hl(r),F=!c&&!S&&Ls(r),Y=!c&&!S&&!F&&pl(r),he=c||S||F||Y,we=he?Wi(r.length,Yi):[],Fe=we.length;for(var ht in r)(s||O.call(r,ht))&&(!he||!("length"==ht||F&&("offset"==ht||"parent"==ht)||Y&&("buffer"==ht||"byteLength"==ht||"byteOffset"==ht)||Zs(ht,Fe)))&&we.push(ht);return we}function P(r){var s=r.length;return s?r[cc(0,s-1)]:b}function L(r,s){return Vl(ko(r),Ri(s,0,r.length))}function ne(r){return Vl(ko(r))}function le(r,s,c){(c!==b&&!ss(r[s],c)||c===b&&!(s in r))&&Ar(r,s,c)}function Ve(r,s,c){var S=r[s];(!O.call(r,s)||!ss(S,c)||c===b&&!(s in r))&&Ar(r,s,c)}function yt(r,s){for(var c=r.length;c--;)if(ss(r[c][0],s))return c;return-1}function mn(r,s,c,S){return y(r,(function(F,Y,he){s(S,F,c(F),he)})),S}function kt(r,s){return r&&Rs(s,io(s),r)}function Ar(r,s,c){"__proto__"==s&&rs?rs(r,s,{configurable:!0,enumerable:!0,value:c,writable:!0}):r[s]=c}function to(r,s){for(var c=-1,S=s.length,F=He(S),Y=null==r;++c<S;)F[c]=Y?b:Kf(r,s[c]);return F}function Ri(r,s,c){return r==r&&(c!==b&&(r=r<=c?r:c),s!==b&&(r=r>=s?r:s)),r}function qr(r,s,c,S,F,Y){var he,we=1&s,Fe=2&s,ht=4&s;if(c&&(he=F?c(r,S,F,Y):c(r)),he!==b)return he;if(!ti(r))return r;var ft=qn(r);if(ft){if(he=function Dc(r){var s=r.length,c=new r.constructor(s);return s&&"string"==typeof r[0]&&O.call(r,"index")&&(c.index=r.index,c.input=r.input),c}(r),!we)return ko(r,he)}else{var mt=go(r),Wt=mt==Ir||mt==Jn;if(Ls(r))return Gd(r,we);if(mt==_r||mt==er||Wt&&!F){if(he=Fe||Wt?{}:ma(r),!we)return Fe?function yc(r,s){return Rs(r,af(r),s)}(r,function Tr(r,s){return r&&Rs(s,Yo(s),r)}(he,r)):function _c(r,s){return Rs(r,vu(r),s)}(r,kt(he,r))}else{if(!Zn[mt])return F?r:{};he=function tp(r,s,c){var S=r.constructor;switch(s){case q:return du(r);case Nn:case Hr:return new S(+r);case Ee:return function Kh(r,s){var c=s?du(r.buffer):r.buffer;return new r.constructor(c,r.byteOffset,r.byteLength)}(r,c);case xe:case et:case pt:case $t:case at:case Dt:case Yt:case wn:case Ut:return fu(r,c);case lr:return new S;case jr:case Ne:return new S(r);case ri:return function Qh(r){var s=new r.constructor(r.source,nt.exec(r));return s.lastIndex=r.lastIndex,s}(r);case de:return new S;case Ae:return function mc(r){return is?Vn(is.call(r)):{}}(r)}}(r,mt,we)}}Y||(Y=new Eo);var an=Y.get(r);if(an)return an;Y.set(r,he),Ou(r)?r.forEach((function(Mn){he.add(qr(Mn,s,c,Mn,r,Y))})):$f(r)&&r.forEach((function(Mn,dr){he.set(dr,qr(Mn,s,c,dr,r,Y))}));var ir=ft?b:(ht?Fe?yu:Nl:Fe?Yo:io)(r);return ii(ir||r,(function(Mn,dr){ir&&(Mn=r[dr=Mn]),Ve(he,dr,qr(Mn,s,c,dr,r,Y))})),he}function qs(r,s,c){var S=c.length;if(null==r)return!S;for(r=Vn(r);S--;){var F=c[S],he=r[F];if(he===b&&!(F in r)||!(0,s[F])(he))return!1}return!0}function Qa(r,s,c){if("function"!=typeof r)throw new Ei(me);return Cu((function(){r.apply(b,c)}),s)}function h(r,s,c,S){var F=-1,Y=Ur,he=!0,we=r.length,Fe=[],ht=s.length;if(!we)return Fe;c&&(s=or(s,Oi(c))),S?(Y=uo,he=!1):s.length>=200&&(Y=fs,he=!1,s=new gs(s));e:for(;++F<we;){var ft=r[F],mt=null==c?ft:c(ft);if(ft=S||0!==ft?ft:0,he&&mt==mt){for(var Wt=ht;Wt--;)if(s[Wt]===mt)continue e;Fe.push(ft)}else Y(s,mt,S)||Fe.push(ft)}return Fe}$.templateSettings={escape:Ht,evaluate:kn,interpolate:Bt,variable:"",imports:{_:$}},($.prototype=xa.prototype).constructor=$,(Ki.prototype=po(xa.prototype)).constructor=Ki,(sn.prototype=po(xa.prototype)).constructor=sn,ua.prototype.clear=function Jl(){this.__data__=cr?cr(null):{},this.size=0},ua.prototype.delete=function Xl(r){var s=this.has(r)&&delete this.__data__[r];return this.size-=s?1:0,s},ua.prototype.get=function bl(r){var s=this.__data__;if(cr){var c=s[r];return c===pe?b:c}return O.call(s,r)?s[r]:b},ua.prototype.has=function ca(r){var s=this.__data__;return cr?s[r]!==b:O.call(s,r)},ua.prototype.set=function sc(r,s){var c=this.__data__;return this.size+=this.has(r)?0:1,c[r]=cr&&s===b?pe:s,this},ps.prototype.clear=function ai(){this.__data__=[],this.size=0},ps.prototype.delete=function Aa(r){var s=this.__data__,c=yt(s,r);return!(c<0||(c==s.length-1?s.pop():Ai.call(s,c,1),--this.size,0))},ps.prototype.get=function Ia(r){var s=this.__data__,c=yt(s,r);return c<0?b:s[c][1]},ps.prototype.has=function Ya(r){return yt(this.__data__,r)>-1},ps.prototype.set=function ac(r,s){var c=this.__data__,S=yt(c,r);return S<0?(++this.size,c.push([r,s])):c[S][1]=s,this},Zr.prototype.clear=function Do(){this.size=0,this.__data__={hash:new ua,map:new(zo||ps),string:new ua}},Zr.prototype.delete=function Ra(r){var s=ol(this,r).delete(r);return this.size-=s?1:0,s},Zr.prototype.get=function gi(r){return ol(this,r).get(r)},Zr.prototype.has=function Ws(r){return ol(this,r).has(r)},Zr.prototype.set=function Za(r,s){var c=ol(this,r),S=c.size;return c.set(r,s),this.size+=c.size==S?0:1,this},gs.prototype.add=gs.prototype.push=function Dl(r){return this.__data__.set(r,pe),this},gs.prototype.has=function eu(r){return this.__data__.has(r)},Eo.prototype.clear=function Ka(){this.__data__=new ps,this.size=0},Eo.prototype.delete=function Mo(r){var s=this.__data__,c=s.delete(r);return this.size=s.size,c},Eo.prototype.get=function g(r){return this.__data__.get(r)},Eo.prototype.has=function m(r){return this.__data__.has(r)},Eo.prototype.set=function f(r,s){var c=this.__data__;if(c instanceof ps){var S=c.__data__;if(!zo||S.length<199)return S.push([r,s]),this.size=++c.size,this;c=this.__data__=new Zr(S)}return c.set(r,s),this.size=c.size,this};var y=Na(Qi),u=Na(Ys,!0);function M(r,s){var c=!0;return y(r,(function(S,F,Y){return c=!!s(S,F,Y)})),c}function ue(r,s,c){for(var S=-1,F=r.length;++S<F;){var Y=r[S],he=s(Y);if(null!=he&&(we===b?he==he&&!To(he):c(he,we)))var we=he,Fe=Y}return Fe}function Qt(r,s){var c=[];return y(r,(function(S,F,Y){s(S,F,Y)&&c.push(S)})),c}function An(r,s,c,S,F){var Y=-1,he=r.length;for(c||(c=o_),F||(F=[]);++Y<he;){var we=r[Y];s>0&&c(we)?s>1?An(we,s-1,c,S,F):bi(F,we):S||(F[F.length]=we)}return F}var br=hu(),Ni=hu(!0);function Qi(r,s){return r&&br(r,s,io)}function Ys(r,s){return r&&Ni(r,s,io)}function As(r,s){return Ti(s,(function(c){return Xs(r[c])}))}function da(r,s){for(var c=0,S=(s=ha(s,r)).length;null!=r&&c<S;)r=r[ks(s[c++])];return c&&c==S?r:b}function Ja(r,s,c){var S=s(r);return qn(r)?S:bi(S,c(r))}function So(r){return null==r?r===b?"[object Undefined]":"[object Null]":oi&&oi in Vn(r)?function ep(r){var s=O.call(r,oi),c=r[oi];try{r[oi]=b;var S=!0}catch{}var F=ce.call(r);return S&&(s?r[oi]=c:delete r[oi]),F}(r):function sp(r){return ce.call(r)}(r)}function tu(r,s){return r>s}function Ml(r,s){return null!=r&&O.call(r,s)}function nu(r,s){return null!=r&&s in Vn(r)}function lc(r,s,c){for(var S=c?uo:Ur,F=r[0].length,Y=r.length,he=Y,we=He(Y),Fe=1/0,ht=[];he--;){var ft=r[he];he&&s&&(ft=or(ft,Oi(s))),Fe=pi(ft.length,Fe),we[he]=!c&&(s||F>=120&&ft.length>=120)?new gs(he&&ft):b}ft=r[0];var mt=-1,Wt=we[0];e:for(;++mt<F&&ht.length<Fe;){var an=ft[mt],In=s?s(an):an;if(an=c||0!==an?an:0,!(Wt?fs(Wt,In):S(ht,In,c))){for(he=Y;--he;){var ir=we[he];if(!(ir?fs(ir,In):S(r[he],In,c)))continue e}Wt&&Wt.push(In),ht.push(an)}}return ht}function Is(r,s,c){var S=null==(r=Ks(r,s=ha(s,r)))?r:r[ks(os(s))];return null==S?b:gr(S,r,c)}function Xa(r){return Kr(r)&&So(r)==er}function el(r,s,c,S,F){return r===s||(null==r||null==s||!Kr(r)&&!Kr(s)?r!=r&&s!=s:function jh(r,s,c,S,F,Y){var he=qn(r),we=qn(s),Fe=he?un:go(r),ht=we?un:go(s),ft=(Fe=Fe==er?_r:Fe)==_r,mt=(ht=ht==er?_r:ht)==_r,Wt=Fe==ht;if(Wt&&Ls(r)){if(!Ls(s))return!1;he=!0,ft=!1}if(Wt&&!ft)return Y||(Y=new Eo),he||pl(r)?nf(r,s,c,S,F,Y):function rf(r,s,c,S,F,Y,he){switch(c){case Ee:if(r.byteLength!=s.byteLength||r.byteOffset!=s.byteOffset)return!1;r=r.buffer,s=s.buffer;case q:return!(r.byteLength!=s.byteLength||!Y(new Qn(r),new Qn(s)));case Nn:case Hr:case jr:return ss(+r,+s);case yi:return r.name==s.name&&r.message==s.message;case ri:case Ne:return r==s+"";case lr:var we=p;case de:if(we||(we=k),r.size!=s.size&&!(1&S))return!1;var ht=he.get(r);if(ht)return ht==s;S|=2,he.set(r,s);var ft=nf(we(r),we(s),S,F,Y,he);return he.delete(r),ft;case Ae:if(is)return is.call(r)==is.call(s)}return!1}(r,s,Fe,c,S,F,Y);if(!(1&c)){var an=ft&&O.call(r,"__wrapped__"),In=mt&&O.call(s,"__wrapped__");if(an||In){var ir=an?r.value():r,Mn=In?s.value():s;return Y||(Y=new Eo),F(ir,Mn,c,S,Y)}}return!!Wt&&(Y||(Y=new Eo),function sf(r,s,c,S,F,Y){var he=1&c,we=Nl(r),Fe=we.length;if(Fe!=Nl(s).length&&!he)return!1;for(var mt=Fe;mt--;){var Wt=we[mt];if(!(he?Wt in s:O.call(s,Wt)))return!1}var an=Y.get(r),In=Y.get(s);if(an&&In)return an==s&&In==r;var ir=!0;Y.set(r,s),Y.set(s,r);for(var Mn=he;++mt<Fe;){var dr=r[Wt=we[mt]],Yn=s[Wt];if(S)var oo=he?S(Yn,dr,Wt,s,r,Y):S(dr,Yn,Wt,r,s,Y);if(!(oo===b?dr===Yn||F(dr,Yn,c,S,Y):oo)){ir=!1;break}Mn||(Mn="constructor"==Wt)}if(ir&&!Mn){var kr=r.constructor,ji=s.constructor;kr!=ji&&"constructor"in r&&"constructor"in s&&!("function"==typeof kr&&kr instanceof kr&&"function"==typeof ji&&ji instanceof ji)&&(ir=!1)}return Y.delete(r),Y.delete(s),ir}(r,s,c,S,F,Y))}(r,s,c,S,el,F))}function uc(r,s,c,S){var F=c.length,Y=F,he=!S;if(null==r)return!Y;for(r=Vn(r);F--;){var we=c[F];if(he&&we[2]?we[1]!==r[we[0]]:!(we[0]in r))return!1}for(;++F<Y;){var Fe=(we=c[F])[0],ht=r[Fe],ft=we[1];if(he&&we[2]){if(ht===b&&!(Fe in r))return!1}else{var mt=new Eo;if(S)var Wt=S(ht,ft,Fe,r,s,mt);if(!(Wt===b?el(ft,ht,3,S,mt):Wt))return!1}}return!0}function Rd(r){return!(!ti(r)||function Mc(r){return!!N&&N in r}(r))&&(Xs(r)?Gt:wt).test(Va(r))}function Fd(r){return"function"==typeof r?r:null==r?li:"object"==typeof r?qn(r)?Ld(r[0],r[1]):kd(r):Hu(r)}function iu(r){if(!al(r))return Ps(r);var s=[];for(var c in Vn(r))O.call(r,c)&&"constructor"!=c&&s.push(c);return s}function ou(r,s){return r<s}function zh(r,s){var c=-1,S=ki(r)?He(r.length):[];return y(r,(function(F,Y,he){S[++c]=s(F,Y,he)})),S}function kd(r){var s=Fl(r);return 1==s.length&&s[0][2]?Tc(s[0][0],s[0][1]):function(c){return c===r||uc(c,r,s)}}function Ld(r,s){return Ec(r)&&Sc(s)?Tc(ks(r),s):function(c){var S=Kf(c,r);return S===b&&S===s?Fu(c,r):el(s,S,3)}}function tl(r,s,c,S,F){r!==s&&br(s,(function(Y,he){if(F||(F=new Eo),ti(Y))!function n_(r,s,c,S,F,Y,he){var we=Pc(r,c),Fe=Pc(s,c),ht=he.get(Fe);if(ht)le(r,c,ht);else{var ft=Y?Y(we,Fe,c+"",r,s,he):b,mt=ft===b;if(mt){var Wt=qn(Fe),an=!Wt&&Ls(Fe),In=!Wt&&!an&&pl(Fe);ft=Fe,Wt||an||In?qn(we)?ft=we:Mi(we)?ft=ko(we):an?(mt=!1,ft=Gd(Fe,!0)):In?(mt=!1,ft=fu(Fe,!0)):ft=[]:zl(Fe)||hl(Fe)?(ft=we,hl(we)?ft=Iu(we):(!ti(we)||Xs(we))&&(ft=ma(Fe))):mt=!1}mt&&(he.set(Fe,ft),F(ft,Fe,S,Y,he),he.delete(Fe)),le(r,c,ft)}}(r,s,he,c,tl,S,F);else{var we=S?S(Pc(r,he),Y,he+"",r,s,F):b;we===b&&(we=Y),le(r,he,we)}}),Yo)}function Gh(r,s){var c=r.length;if(c)return Zs(s+=s<0?c:0,c)?r[s]:b}function su(r,s,c){s=s.length?or(s,(function(Y){return qn(Y)?function(he){return da(he,1===Y.length?Y[0]:Y)}:Y})):[li];var S=-1;return s=or(s,Oi(En())),function Gi(ge,ze){var He=ge.length;for(ge.sort(ze);He--;)ge[He]=ge[He].value;return ge}(zh(r,(function(Y,he,we){return{criteria:or(s,(function(ht){return ht(Y)})),index:++S,value:Y}})),(function(Y,he){return function qd(r,s,c){for(var S=-1,F=r.criteria,Y=s.criteria,he=F.length,we=c.length;++S<he;){var Fe=Wd(F[S],Y[S]);if(Fe)return S>=we?Fe:Fe*("desc"==c[S]?-1:1)}return r.index-s.index}(Y,he,c)}))}function Wh(r,s,c){for(var S=-1,F=s.length,Y={};++S<F;){var he=s[S],we=da(r,he);c(we,he)&&Fo(Y,ha(he,r),we)}return Y}function Vd(r,s,c,S){var F=S?js:vo,Y=-1,he=s.length,we=r;for(r===s&&(s=ko(s)),c&&(we=or(r,Oi(c)));++Y<he;)for(var Fe=0,ht=s[Y],ft=c?c(ht):ht;(Fe=F(we,ft,Fe,S))>-1;)we!==r&&Ai.call(we,Fe,1),Ai.call(r,Fe,1);return r}function qh(r,s){for(var c=r?s.length:0,S=c-1;c--;){var F=s[c];if(c==S||F!==Y){var Y=F;Zs(F)?Ai.call(r,F,1):no(r,F)}}return r}function cc(r,s){return r+Ga(qa()*(s-r+1))}function Sl(r,s){var c="";if(!r||s<1||s>Et)return c;do{s%2&&(c+=r),(s=Ga(s/2))&&(r+=r)}while(s);return c}function rr(r,s){return ff(df(r,s,li),r+"")}function Ud(r){return P(ml(r))}function Hd(r,s){var c=ml(r);return Vl(c,Ri(s,0,c.length))}function Fo(r,s,c,S){if(!ti(r))return r;for(var F=-1,Y=(s=ha(s,r)).length,he=Y-1,we=r;null!=we&&++F<Y;){var Fe=ks(s[F]),ht=c;if("__proto__"===Fe||"constructor"===Fe||"prototype"===Fe)return r;if(F!=he){var ft=we[Fe];(ht=S?S(ft,Fe,we):b)===b&&(ht=ti(ft)?ft:Zs(s[F+1])?[]:{})}Ve(we,Fe,ht),we=we[Fe]}return r}var jd=Sr?function(r,s){return Sr.set(r,s),r}:li,Yh=rs?function(r,s){return rs(r,"toString",{configurable:!0,enumerable:!1,value:gd(s),writable:!0})}:li;function Zh(r){return Vl(ml(r))}function Wo(r,s,c){var S=-1,F=r.length;s<0&&(s=-s>F?0:F+s),(c=c>F?F:c)<0&&(c+=F),F=s>c?0:c-s>>>0,s>>>=0;for(var Y=He(F);++S<F;)Y[S]=r[S+s];return Y}function dc(r,s){var c;return y(r,(function(S,F,Y){return!(c=s(S,F,Y))})),!!c}function au(r,s,c){var S=0,F=null==r?S:r.length;if("number"==typeof s&&s==s&&F<=2147483647){for(;S<F;){var Y=S+F>>>1,he=r[Y];null!==he&&!To(he)&&(c?he<=s:he<s)?S=Y+1:F=Y}return F}return fc(r,s,li,c)}function fc(r,s,c,S){var F=0,Y=null==r?0:r.length;if(0===Y)return 0;for(var he=(s=c(s))!=s,we=null===s,Fe=To(s),ht=s===b;F<Y;){var ft=Ga((F+Y)/2),mt=c(r[ft]),Wt=mt!==b,an=null===mt,In=mt==mt,ir=To(mt);if(he)var Mn=S||In;else Mn=ht?In&&(S||Wt):we?In&&Wt&&(S||!an):Fe?In&&Wt&&!an&&(S||!ir):!an&&!ir&&(S?mt<=s:mt<s);Mn?F=ft+1:Y=ft}return pi(Y,4294967294)}function $d(r,s){for(var c=-1,S=r.length,F=0,Y=[];++c<S;){var he=r[c],we=s?s(he):he;if(!c||!ss(we,Fe)){var Fe=we;Y[F++]=0===he?0:he}}return Y}function hc(r){return"number"==typeof r?r:To(r)?NaN:+r}function qo(r){if("string"==typeof r)return r;if(qn(r))return or(r,qo)+"";if(To(r))return Cl?Cl.call(r):"";var s=r+"";return"0"==s&&1/r==-qe?"-0":s}function fa(r,s,c){var S=-1,F=Ur,Y=r.length,he=!0,we=[],Fe=we;if(c)he=!1,F=uo;else if(Y>=200){var ht=s?null:Fa(r);if(ht)return k(ht);he=!1,F=fs,Fe=new gs}else Fe=s?[]:we;e:for(;++S<Y;){var ft=r[S],mt=s?s(ft):ft;if(ft=c||0!==ft?ft:0,he&&mt==mt){for(var Wt=Fe.length;Wt--;)if(Fe[Wt]===mt)continue e;s&&Fe.push(mt),we.push(ft)}else F(Fe,mt,c)||(Fe!==we&&Fe.push(mt),we.push(ft))}return we}function no(r,s){return null==(r=Ks(r,s=ha(s,r)))||delete r[ks(os(s))]}function lu(r,s,c,S){return Fo(r,s,c(da(r,s)),S)}function Tl(r,s,c,S){for(var F=r.length,Y=S?F:-1;(S?Y--:++Y<F)&&s(r[Y],Y,r););return c?Wo(r,S?0:Y,S?Y+1:F):Wo(r,S?Y+1:0,S?F:Y)}function uu(r,s){var c=r;return c instanceof sn&&(c=c.value()),co(s,(function(S,F){return F.func.apply(F.thisArg,bi([S],F.args))}),c)}function Ji(r,s,c){var S=r.length;if(S<2)return S?fa(r[0]):[];for(var F=-1,Y=He(S);++F<S;)for(var he=r[F],we=-1;++we<S;)we!=F&&(Y[F]=h(Y[F]||he,r[we],s,c));return fa(An(Y,1),s,c)}function nl(r,s,c){for(var S=-1,F=r.length,Y=s.length,he={};++S<F;)c(he,r[S],S<Y?s[S]:b);return he}function cu(r){return Mi(r)?r:[]}function pc(r){return"function"==typeof r?r:li}function ha(r,s){return qn(r)?r:Ec(r,s)?[r]:hf(Pr(r))}var zd=rr;function pa(r,s,c){var S=r.length;return c=c===b?S:c,!s&&c>=S?r:Wo(r,s,c)}var gc=Ms||function(r){return Nr.clearTimeout(r)};function Gd(r,s){if(s)return r.slice();var c=r.length,S=ln?ln(c):new r.constructor(c);return r.copy(S),S}function du(r){var s=new r.constructor(r.byteLength);return new Qn(s).set(new Qn(r)),s}function fu(r,s){var c=s?du(r.buffer):r.buffer;return new r.constructor(c,r.byteOffset,r.length)}function Wd(r,s){if(r!==s){var c=r!==b,S=null===r,F=r==r,Y=To(r),he=s!==b,we=null===s,Fe=s==s,ht=To(s);if(!we&&!ht&&!Y&&r>s||Y&&he&&Fe&&!we&&!ht||S&&he&&Fe||!c&&Fe||!F)return 1;if(!S&&!Y&&!ht&&r<s||ht&&c&&F&&!S&&!Y||we&&c&&F||!he&&F||!Fe)return-1}return 0}function Yd(r,s,c,S){for(var F=-1,Y=r.length,he=c.length,we=-1,Fe=s.length,ht=si(Y-he,0),ft=He(Fe+ht),mt=!S;++we<Fe;)ft[we]=s[we];for(;++F<he;)(mt||F<Y)&&(ft[c[F]]=r[F]);for(;ht--;)ft[we++]=r[F++];return ft}function rl(r,s,c,S){for(var F=-1,Y=r.length,he=-1,we=c.length,Fe=-1,ht=s.length,ft=si(Y-we,0),mt=He(ft+ht),Wt=!S;++F<ft;)mt[F]=r[F];for(var an=F;++Fe<ht;)mt[an+Fe]=s[Fe];for(;++he<we;)(Wt||F<Y)&&(mt[an+c[he]]=r[F++]);return mt}function ko(r,s){var c=-1,S=r.length;for(s||(s=He(S));++c<S;)s[c]=r[c];return s}function Rs(r,s,c,S){var F=!c;c||(c={});for(var Y=-1,he=s.length;++Y<he;){var we=s[Y],Fe=S?S(c[we],r[we],we,c,r):b;Fe===b&&(Fe=r[we]),F?Ar(c,we,Fe):Ve(c,we,Fe)}return c}function Pl(r,s){return function(c,S){var F=qn(c)?Io:mn,Y=s?s():{};return F(c,r,En(S,2),Y)}}function Ol(r){return rr((function(s,c){var S=-1,F=c.length,Y=F>1?c[F-1]:b,he=F>2?c[2]:b;for(Y=r.length>3&&"function"==typeof Y?(F--,Y):b,he&&ro(c[0],c[1],he)&&(Y=F<3?b:Y,F=1),s=Vn(s);++S<F;){var we=c[S];we&&r(s,we,S,Y)}return s}))}function Na(r,s){return function(c,S){if(null==c)return c;if(!ki(c))return r(c,S);for(var F=c.length,Y=s?F:-1,he=Vn(c);(s?Y--:++Y<F)&&!1!==S(he[Y],Y,he););return c}}function hu(r){return function(s,c,S){for(var F=-1,Y=Vn(s),he=S(s),we=he.length;we--;){var Fe=he[r?we:++F];if(!1===c(Y[Fe],Fe,Y))break}return s}}function Kd(r){return function(s){var c=ei(s=Pr(s))?Xe(s):b,S=c?c[0]:s.charAt(0),F=c?pa(c,1).join(""):s.slice(1);return S[r]()+F}}function ga(r){return function(s){return co(uh(Vu(s).replace(ls,"")),r,"")}}function xl(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 c=po(r.prototype),S=r.apply(c,s);return ti(S)?S:c}}function Qd(r){return function(s,c,S){var F=Vn(s);if(!ki(s)){var Y=En(c,3);s=io(s),c=function(we){return Y(F[we],we,F)}}var he=r(s,c,S);return he>-1?F[Y?s[he]:he]:b}}function Jd(r){return Fs((function(s){var c=s.length,S=c,F=Ki.prototype.thru;for(r&&s.reverse();S--;){var Y=s[S];if("function"!=typeof Y)throw new Ei(me);if(F&&!he&&"wrapper"==ka(Y))var he=new Ki([],!0)}for(S=he?S:c;++S<c;){var we=ka(Y=s[S]),Fe="wrapper"==we?il(Y):b;he=Fe&&sl(Fe[0])&&424==Fe[1]&&!Fe[4].length&&1==Fe[9]?he[ka(Fe[0])].apply(he,Fe[3]):1==Y.length&&sl(Y)?he[we]():he.thru(Y)}return function(){var ht=arguments,ft=ht[0];if(he&&1==ht.length&&qn(ft))return he.plant(ft).value();for(var mt=0,Wt=c?s[mt].apply(this,ht):ft;++mt<c;)Wt=s[mt].call(this,Wt);return Wt}}))}function pu(r,s,c,S,F,Y,he,we,Fe,ht){var ft=128&s,mt=1&s,Wt=2&s,an=24&s,In=512&s,ir=Wt?b:xl(r);return function Mn(){for(var dr=arguments.length,Yn=He(dr),oo=dr;oo--;)Yn[oo]=arguments[oo];if(an)var kr=La(Mn),ji=fo(Yn,kr);if(S&&(Yn=Yd(Yn,S,F,an)),Y&&(Yn=rl(Yn,Y,he,an)),dr-=ji,an&&dr<ht){var ni=T(Yn,kr);return Cc(r,s,pu,Mn.placeholder,c,Yn,ni,we,Fe,ht-dr)}var mi=mt?c:this,ys=Wt?mi[r]:r;return dr=Yn.length,we?Yn=Ll(Yn,we):In&&dr>1&&Yn.reverse(),ft&&Fe<dr&&(Yn.length=Fe),this&&this!==Nr&&this instanceof Mn&&(ys=ir||xl(ys)),ys.apply(mi,Yn)}}function Xd(r,s){return function(c,S){return function Uh(r,s,c,S){return Qi(r,(function(F,Y,he){s(S,c(F),Y,he)})),S}(c,r,s(S),{})}}function Al(r,s){return function(c,S){var F;if(c===b&&S===b)return s;if(c!==b&&(F=c),S!==b){if(F===b)return S;"string"==typeof c||"string"==typeof S?(c=qo(c),S=qo(S)):(c=hc(c),S=hc(S)),F=r(c,S)}return F}}function Il(r){return Fs((function(s){return s=or(s,Oi(En())),rr((function(c){var S=this;return r(s,(function(F){return gr(F,S,c)}))}))}))}function Rl(r,s){var c=(s=s===b?" ":qo(s)).length;if(c<2)return c?Sl(s,r):s;var S=Sl(s,Zi(r/ke(s)));return ei(s)?pa(Xe(S),0,r).join(""):S.slice(0,r)}function ef(r){return function(s,c,S){return S&&"number"!=typeof S&&ro(s,c,S)&&(c=S=b),s=Vs(s),c===b?(c=s,s=0):c=Vs(c),function Bd(r,s,c,S){for(var F=-1,Y=si(Zi((s-r)/(c||1)),0),he=He(Y);Y--;)he[S?Y:++F]=r,r+=c;return he}(s,c,S=S===b?s<c?1:-1:Vs(S),r)}}function gu(r){return function(s,c){return"string"==typeof s&&"string"==typeof c||(s=Li(s),c=Li(c)),r(s,c)}}function Cc(r,s,c,S,F,Y,he,we,Fe,ht){var ft=8&s;s|=ft?32:64,4&(s&=~(ft?64:32))||(s&=-4);var ir=[r,s,F,ft?Y:b,ft?he:b,ft?b:Y,ft?b:he,we,Fe,ht],Mn=c.apply(b,ir);return sl(r)&&ap(Mn,ir),Mn.placeholder=S,lp(Mn,r,s)}function mu(r){var s=nr[r];return function(c,S){if(c=Li(c),(S=null==S?0:pi(Xn(S),292))&&Ma(c)){var F=(Pr(c)+"e").split("e");return+((F=(Pr(s(F[0]+"e"+(+F[1]+S)))+"e").split("e"))[0]+"e"+(+F[1]-S))}return s(c)}}var Fa=hs&&1/k(new hs([,-0]))[1]==qe?function(r){return new hs(r)}:_d;function wc(r){return function(s){var c=go(s);return c==lr?p(s):c==de?function W(ge){var ze=-1,He=Array(ge.size);return ge.forEach((function(Ot){He[++ze]=[Ot,Ot]})),He}(s):function Ro(ge,ze){return or(ze,(function(He){return[He,ge[He]]}))}(s,r(s))}}function Ns(r,s,c,S,F,Y,he,we){var Fe=2&s;if(!Fe&&"function"!=typeof r)throw new Ei(me);var ht=S?S.length:0;if(ht||(s&=-97,S=F=b),he=he===b?he:si(Xn(he),0),we=we===b?we:Xn(we),ht-=F?F.length:0,64&s){var ft=S,mt=F;S=F=b}var Wt=Fe?b:il(r),an=[r,s,c,S,F,ft,mt,Y,he,we];if(Wt&&function ip(r,s){var c=r[1],S=s[1],F=c|S;if(!(F<131||(128==S&&8==c||128==S&&256==c&&r[7].length<=s[8]||384==S&&s[7].length<=s[8]&&8==c)))return r;1&S&&(r[2]=s[2],F|=1&c?0:4);var we=s[3];if(we){var Fe=r[3];r[3]=Fe?Yd(Fe,we,s[4]):we,r[4]=Fe?T(r[3],Z):s[4]}(we=s[5])&&(r[5]=(Fe=r[5])?rl(Fe,we,s[6]):we,r[6]=Fe?T(r[5],Z):s[6]),(we=s[7])&&(r[7]=we),128&S&&(r[8]=null==r[8]?s[8]:pi(r[8],s[8])),null==r[9]&&(r[9]=s[9]),r[0]=s[0],r[1]=F}(an,Wt),r=an[0],s=an[1],c=an[2],S=an[3],F=an[4],!(we=an[9]=an[9]===b?Fe?0:r.length:si(an[9]-ht,0))&&24&s&&(s&=-25),s&&1!=s)In=8==s||16==s?function Jh(r,s,c){var S=xl(r);return function F(){for(var Y=arguments.length,he=He(Y),we=Y,Fe=La(F);we--;)he[we]=arguments[we];var ht=Y<3&&he[0]!==Fe&&he[Y-1]!==Fe?[]:T(he,Fe);return(Y-=ht.length)<c?Cc(r,s,pu,F.placeholder,b,he,ht,b,b,c-Y):gr(this&&this!==Nr&&this instanceof F?S:r,this,he)}}(r,s,we):32!=s&&33!=s||F.length?pu.apply(b,an):function vc(r,s,c,S){var F=1&s,Y=xl(r);return function he(){for(var we=-1,Fe=arguments.length,ht=-1,ft=S.length,mt=He(ft+Fe),Wt=this&&this!==Nr&&this instanceof he?Y:r;++ht<ft;)mt[ht]=S[ht];for(;Fe--;)mt[ht++]=arguments[++we];return gr(Wt,F?c:this,mt)}}(r,s,c,S);else var In=function Zd(r,s,c){var S=1&s,F=xl(r);return function Y(){return(this&&this!==Nr&&this instanceof Y?F:r).apply(S?c:this,arguments)}}(r,s,c);return lp((Wt?jd:ap)(In,an),r,s)}function tf(r,s,c,S){return r===b||ss(r,xi[c])&&!O.call(S,c)?s:r}function Xh(r,s,c,S,F,Y){return ti(r)&&ti(s)&&(Y.set(s,r),tl(r,s,b,Xh,Y),Y.delete(s)),r}function _u(r){return zl(r)?b:r}function nf(r,s,c,S,F,Y){var he=1&c,we=r.length,Fe=s.length;if(we!=Fe&&!(he&&Fe>we))return!1;var ht=Y.get(r),ft=Y.get(s);if(ht&&ft)return ht==s&&ft==r;var mt=-1,Wt=!0,an=2&c?new gs:b;for(Y.set(r,s),Y.set(s,r);++mt<we;){var In=r[mt],ir=s[mt];if(S)var Mn=he?S(ir,In,mt,s,r,Y):S(In,ir,mt,r,s,Y);if(Mn!==b){if(Mn)continue;Wt=!1;break}if(an){if(!Ho(s,(function(dr,Yn){if(!fs(an,Yn)&&(In===dr||F(In,dr,c,S,Y)))return an.push(Yn)}))){Wt=!1;break}}else if(In!==ir&&!F(In,ir,c,S,Y)){Wt=!1;break}}return Y.delete(r),Y.delete(s),Wt}function Fs(r){return ff(df(r,b,_f),r+"")}function Nl(r){return Ja(r,io,vu)}function yu(r){return Ja(r,Yo,af)}var il=Sr?function(r){return Sr.get(r)}:_d;function ka(r){for(var s=r.name+"",c=Go[s],S=O.call(Go,s)?c.length:0;S--;){var F=c[S],Y=F.func;if(null==Y||Y==r)return F.name}return s}function La(r){return(O.call($,"placeholder")?$:r).placeholder}function En(){var r=$.iteratee||Gl;return r=r===Gl?Fd:r,arguments.length?r(arguments[0],arguments[1]):r}function ol(r,s){var c=r.__data__;return function uf(r){var s=typeof r;return"string"==s||"number"==s||"symbol"==s||"boolean"==s?"__proto__"!==r:null===r}(s)?c["string"==typeof s?"string":"hash"]:c.map}function Fl(r){for(var s=io(r),c=s.length;c--;){var S=s[c],F=r[S];s[c]=[S,F,Sc(F)]}return s}function ms(r,s){var c=function Es(ge,ze){return null==ge?b:ge[ze]}(r,s);return Rd(c)?c:b}var vu=Ts?function(r){return null==r?[]:(r=Vn(r),Ti(Ts(r),(function(s){return Cr.call(r,s)})))}:ph,af=Ts?function(r){for(var s=[];r;)bi(s,vu(r)),r=ar(r);return s}:ph,go=So;function kl(r,s,c){for(var S=-1,F=(s=ha(s,r)).length,Y=!1;++S<F;){var he=ks(s[S]);if(!(Y=null!=r&&c(r,he)))break;r=r[he]}return Y||++S!=F?Y:!!(F=null==r?0:r.length)&&Tu(F)&&Zs(he,F)&&(qn(r)||hl(r))}function ma(r){return"function"!=typeof r.constructor||al(r)?{}:po(ar(r))}function o_(r){return qn(r)||hl(r)||!!(hi&&r&&r[hi])}function Zs(r,s){var c=typeof r;return!!(s=s??Et)&&("number"==c||"symbol"!=c&&bt.test(r))&&r>-1&&r%1==0&&r<s}function ro(r,s,c){if(!ti(c))return!1;var S=typeof s;return!!("number"==S?ki(c)&&Zs(s,c.length):"string"==S&&s in c)&&ss(c[s],r)}function Ec(r,s){if(qn(r))return!1;var c=typeof r;return!("number"!=c&&"symbol"!=c&&"boolean"!=c&&null!=r&&!To(r))||dn.test(r)||!pn.test(r)||null!=s&&r in Vn(s)}function sl(r){var s=ka(r),c=$[s];if("function"!=typeof c||!(s in sn.prototype))return!1;if(r===c)return!0;var S=il(c);return!!S&&r===S[0]}(Os&&go(new Os(new ArrayBuffer(1)))!=Ee||zo&&go(new zo)!=lr||Ta&&go(Ta.resolve())!=qt||hs&&go(new hs)!=de||Ii&&go(new Ii)!=fe)&&(go=function(r){var s=So(r),c=s==_r?r.constructor:b,S=c?Va(c):"";if(S)switch(S){case Pa:return Ee;case ho:return lr;case Gs:return qt;case Oa:return de;case xs:return fe}return s});var cf=Ui?Xs:$u;function al(r){var s=r&&r.constructor;return r===("function"==typeof s&&s.prototype||xi)}function Sc(r){return r==r&&!ti(r)}function Tc(r,s){return function(c){return null!=c&&c[r]===s&&(s!==b||r in Vn(c))}}function df(r,s,c){return s=si(s===b?r.length-1:s,0),function(){for(var S=arguments,F=-1,Y=si(S.length-s,0),he=He(Y);++F<Y;)he[F]=S[s+F];F=-1;for(var we=He(s+1);++F<s;)we[F]=S[F];return we[s]=c(he),gr(r,this,we)}}function Ks(r,s){return s.length<2?r:da(r,Wo(s,0,-1))}function Ll(r,s){for(var c=r.length,S=pi(s.length,c),F=ko(r);S--;){var Y=s[S];r[S]=Zs(Y,c)?F[Y]:b}return r}function Pc(r,s){if(("constructor"!==s||"function"!=typeof r[s])&&"__proto__"!=s)return r[s]}var ap=up(jd),Cu=za||function(r,s){return Nr.setTimeout(r,s)},ff=up(Yh);function lp(r,s,c){var S=s+"";return ff(r,function np(r,s){var c=s.length;if(!c)return r;var S=c-1;return s[S]=(c>1?"& ":"")+s[S],s=s.join(c>2?", ":" "),r.replace(gn,"{\n/* [wrapped with "+s+"] */\n")}(S,function cp(r,s){return ii(Lr,(function(c){var S="_."+c[0];s&c[1]&&!Ur(r,S)&&r.push(S)})),r.sort()}(function bc(r){var s=r.match(De);return s?s[1].split(se):[]}(S),c)))}function up(r){var s=0,c=0;return function(){var S=Sa(),F=16-(S-c);if(c=S,F>0){if(++s>=800)return arguments[0]}else s=0;return r.apply(b,arguments)}}function Vl(r,s){var c=-1,S=r.length,F=S-1;for(s=s===b?S:s;++c<s;){var Y=cc(c,F),he=r[Y];r[Y]=r[c],r[c]=he}return r.length=s,r}var hf=function rp(r){var s=Mu(r,(function(S){return 500===c.size&&c.clear(),S})),c=s.cache;return s}((function(r){var s=[];return 46===r.charCodeAt(0)&&s.push(""),r.replace(Or,(function(c,S,F,Y){s.push(F?Y.replace(te,"$1"):S||c)})),s}));function ks(r){if("string"==typeof r||To(r))return r;var s=r+"";return"0"==s&&1/r==-qe?"-0":s}function Va(r){if(null!=r){try{return C.call(r)}catch{}try{return r+""}catch{}}return""}function wu(r){if(r instanceof sn)return r.clone();var s=new Ki(r.__wrapped__,r.__chain__);return s.__actions__=ko(r.__actions__),s.__index__=r.__index__,s.__values__=r.__values__,s}var gf=rr((function(r,s){return Mi(r)?h(r,An(s,1,Mi,!0)):[]})),mf=rr((function(r,s){var c=os(s);return Mi(c)&&(c=b),Mi(r)?h(r,An(s,1,Mi,!0),En(c,2)):[]})),s_=rr((function(r,s){var c=os(s);return Mi(c)&&(c=b),Mi(r)?h(r,An(s,1,Mi,!0),b,c):[]}));function dp(r,s,c){var S=null==r?0:r.length;if(!S)return-1;var F=null==c?0:Xn(c);return F<0&&(F=si(S+F,0)),zi(r,En(s,3),F)}function Ac(r,s,c){var S=null==r?0:r.length;if(!S)return-1;var F=S-1;return c!==b&&(F=Xn(c),F=c<0?si(S+F,0):pi(F,S-1)),zi(r,En(s,3),F,!0)}function _f(r){return null!=r&&r.length?An(r,1):[]}function Ic(r){return r&&r.length?r[0]:b}var Rc=rr((function(r){var s=or(r,cu);return s.length&&s[0]===r[0]?lc(s):[]})),mp=rr((function(r){var s=os(r),c=or(r,cu);return s===os(c)?s=b:c.pop(),c.length&&c[0]===r[0]?lc(c,En(s,2)):[]})),Fi=rr((function(r){var s=os(r),c=or(r,cu);return(s="function"==typeof s?s:b)&&c.pop(),c.length&&c[0]===r[0]?lc(c,b,s):[]}));function os(r){var s=null==r?0:r.length;return s?r[s-1]:b}var yp=rr(vf);function vf(r,s){return r&&r.length&&s&&s.length?Vd(r,s):r}var wp=Fs((function(r,s){var c=null==r?0:r.length,S=to(r,s);return qh(r,or(s,(function(F){return Zs(F,c)?+F:F})).sort(Wd)),S}));function Cf(r){return null==r?r:aa.call(r)}var Ba=rr((function(r){return fa(An(r,1,Mi,!0))})),Ep=rr((function(r){var s=os(r);return Mi(s)&&(s=b),fa(An(r,1,Mi,!0),En(s,2))})),Vc=rr((function(r){var s=os(r);return s="function"==typeof s?s:b,fa(An(r,1,Mi,!0),b,s)}));function ll(r){if(!r||!r.length)return[];var s=0;return r=Ti(r,(function(c){if(Mi(c))return s=si(c.length,s),!0})),Wi(s,(function(c){return or(r,ns(c))}))}function _a(r,s){if(!r||!r.length)return[];var c=ll(r);return null==s?c:or(c,(function(S){return gr(s,b,S)}))}var Pf=rr((function(r,s){return Mi(r)?h(r,s):[]})),Uc=rr((function(r){return Ji(Ti(r,Mi))})),Sp=rr((function(r){var s=os(r);return Mi(s)&&(s=b),Ji(Ti(r,Mi),En(s,2))})),Tp=rr((function(r){var s=os(r);return s="function"==typeof s?s:b,Ji(Ti(r,Mi),b,s)})),Of=rr(ll),Op=rr((function(r){var s=r.length,c=s>1?r[s-1]:b;return c="function"==typeof c?(r.pop(),c):b,_a(r,c)}));function xf(r){var s=$(r);return s.__chain__=!0,s}function cl(r,s){return s(r)}var Ap=Fs((function(r){var s=r.length,c=s?r[0]:0,S=this.__wrapped__,F=function(Y){return to(Y,r)};return!(s>1||this.__actions__.length)&&S instanceof sn&&Zs(c)?((S=S.slice(c,+c+(s?1:0))).__actions__.push({func:cl,args:[F],thisArg:b}),new Ki(S,this.__chain__).thru((function(Y){return s&&!Y.length&&Y.push(b),Y}))):this.thru(F)})),dl=Pl((function(r,s,c){O.call(r,c)?++r[c]:Ar(r,c,1)})),h_=Qd(dp),Rf=Qd(Ac);function Hc(r,s){return(qn(r)?ii:y)(r,En(s,3))}function Nf(r,s){return(qn(r)?_o:u)(r,En(s,3))}var jc=Pl((function(r,s,c){O.call(r,c)?r[c].push(s):Ar(r,c,[s])})),Bp=rr((function(r,s,c){var S=-1,F="function"==typeof s,Y=ki(r)?He(r.length):[];return y(r,(function(he){Y[++S]=F?gr(s,he,c):Is(he,s,c)})),Y})),zc=Pl((function(r,s,c){Ar(r,c,s)}));function ya(r,s){return(qn(r)?or:zh)(r,En(s,3))}var Hp=Pl((function(r,s,c){r[c?0:1].push(s)}),(function(){return[[],[]]})),Yp=rr((function(r,s){if(null==r)return[];var c=s.length;return c>1&&ro(r,s[0],s[1])?s=[]:c>2&&ro(s[0],s[1],s[2])&&(s=[s[0]]),su(r,An(s,1),[])})),Gc=Ss||function(){return Nr.Date.now()};function Wc(r,s,c){return s=c?b:s,Ns(r,128,b,b,b,b,s=r&&null==s?r.length:s)}function Zp(r,s){var c;if("function"!=typeof s)throw new Ei(me);return r=Xn(r),function(){return--r>0&&(c=s.apply(this,arguments)),r<=1&&(s=b),c}}var Eu=rr((function(r,s,c){var S=1;if(c.length){var F=T(c,La(Eu));S|=32}return Ns(r,S,s,c,F)})),Kp=rr((function(r,s,c){var S=3;if(c.length){var F=T(c,La(Kp));S|=32}return Ns(s,S,r,c,F)}));function Yc(r,s,c){var S,F,Y,he,we,Fe,ht=0,ft=!1,mt=!1,Wt=!0;if("function"!=typeof r)throw new Ei(me);function an(ni){var mi=S,ys=F;return S=F=b,ht=ni,he=r.apply(ys,mi)}function In(ni){return ht=ni,we=Cu(dr,s),ft?an(ni):he}function Mn(ni){var mi=ni-Fe;return Fe===b||mi>=s||mi<0||mt&&ni-ht>=Y}function dr(){var ni=Gc();if(Mn(ni))return Yn(ni);we=Cu(dr,function ir(ni){var ja=s-(ni-Fe);return mt?pi(ja,Y-(ni-ht)):ja}(ni))}function Yn(ni){return we=b,Wt&&S?an(ni):(S=F=b,he)}function ji(){var ni=Gc(),mi=Mn(ni);if(S=arguments,F=this,Fe=ni,mi){if(we===b)return In(Fe);if(mt)return gc(we),we=Cu(dr,s),an(Fe)}return we===b&&(we=Cu(dr,s)),he}return s=Li(s)||0,ti(c)&&(ft=!!c.leading,Y=(mt="maxWait"in c)?si(Li(c.maxWait)||0,s):Y,Wt="trailing"in c?!!c.trailing:Wt),ji.cancel=function oo(){we!==b&&gc(we),ht=0,S=Fe=F=we=b},ji.flush=function kr(){return we===b?he:Yn(Gc())},ji}var Qp=rr((function(r,s){return Qa(r,1,s)})),Jp=rr((function(r,s,c){return Qa(r,Li(s)||0,c)}));function Mu(r,s){if("function"!=typeof r||null!=s&&"function"!=typeof s)throw new Ei(me);var c=function(){var S=arguments,F=s?s.apply(this,S):S[0],Y=c.cache;if(Y.has(F))return Y.get(F);var he=r.apply(this,S);return c.cache=Y.set(F,he)||Y,he};return c.cache=new(Mu.Cache||Zr),c}function $l(r){if("function"!=typeof r)throw new Ei(me);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)}}Mu.Cache=Zr;var eg=zd((function(r,s){var c=(s=1==s.length&&qn(s[0])?or(s[0],Oi(En())):or(An(s,1),Oi(En()))).length;return rr((function(S){for(var F=-1,Y=pi(S.length,c);++F<Y;)S[F]=s[F].call(this,S[F]);return gr(r,this,S)}))})),Zc=rr((function(r,s){var c=T(s,La(Zc));return Ns(r,32,b,s,c)})),kf=rr((function(r,s){var c=T(s,La(kf));return Ns(r,64,b,s,c)})),Lf=Fs((function(r,s){return Ns(r,256,b,b,b,s)}));function ss(r,s){return r===s||r!=r&&s!=s}var ag=gu(tu),lg=gu((function(r,s){return r>=s})),hl=Xa(function(){return arguments}())?Xa:function(r){return Kr(r)&&O.call(r,"callee")&&!Cr.call(r,"callee")},qn=He.isArray,jf=lo?Oi(lo):function Hh(r){return Kr(r)&&So(r)==q};function ki(r){return null!=r&&Tu(r.length)&&!Xs(r)}function Mi(r){return Kr(r)&&ki(r)}var Ls=Wa||$u,ug=Uo?Oi(Uo):function Xm(r){return Kr(r)&&So(r)==Hr};function Su(r){if(!Kr(r))return!1;var s=So(r);return s==yi||"[object DOMException]"==s||"string"==typeof r.message&&"string"==typeof r.name&&!zl(r)}function Xs(r){if(!ti(r))return!1;var s=So(r);return s==Ir||s==Jn||"[object AsyncFunction]"==s||"[object Proxy]"==s}function Ua(r){return"number"==typeof r&&r==Xn(r)}function Tu(r){return"number"==typeof r&&r>-1&&r%1==0&&r<=Et}function ti(r){var s=typeof r;return null!=r&&("object"==s||"function"==s)}function Kr(r){return null!=r&&"object"==typeof r}var $f=Vr?Oi(Vr):function e_(r){return Kr(r)&&go(r)==lr};function Qc(r){return"number"==typeof r||Kr(r)&&So(r)==jr}function zl(r){if(!Kr(r)||So(r)!=_r)return!1;var s=ar(r);if(null===s)return!0;var c=O.call(s,"constructor")&&s.constructor;return"function"==typeof c&&c instanceof c&&C.call(c)==$e}var Pu=es?Oi(es):function $h(r){return Kr(r)&&So(r)==ri},Ou=ws?Oi(ws):function ru(r){return Kr(r)&&go(r)==de};function Jc(r){return"string"==typeof r||!qn(r)&&Kr(r)&&So(r)==Ne}function To(r){return"symbol"==typeof r||Kr(r)&&So(r)==Ae}var pl=wi?Oi(wi):function Nd(r){return Kr(r)&&Tu(r.length)&&!!vr[So(r)]},qf=gu(ou),xu=gu((function(r,s){return r<=s}));function as(r){if(!r)return[];if(ki(r))return Jc(r)?Xe(r):ko(r);if(Hi&&r[Hi])return function R(ge){for(var ze,He=[];!(ze=ge.next()).done;)He.push(ze.value);return He}(r[Hi]());var s=go(r);return(s==lr?p:s==de?k:ml)(r)}function Vs(r){return r?(r=Li(r))===qe||r===-qe?17976931348623157e292*(r<0?-1:1):r==r?r:0:0===r?r:0}function Xn(r){var s=Vs(r),c=s%1;return s==s?c?s-c:s:0}function Au(r){return r?Ri(Xn(r),0,_n):0}function Li(r){if("number"==typeof r)return r;if(To(r))return NaN;if(ti(r)){var s="function"==typeof r.valueOf?r.valueOf():r;r=ti(s)?s+"":s}if("string"!=typeof r)return 0===r?r:+r;r=Co(r);var c=tt.test(r);return c||Ue.test(r)?Ao(r.slice(2),c?2:8):zt.test(r)?NaN:+r}function Iu(r){return Rs(r,Yo(r))}function Pr(r){return null==r?"":qo(r)}var C_=Ol((function(r,s){if(al(s)||ki(s))Rs(s,io(s),r);else for(var c in s)O.call(s,c)&&Ve(r,c,s[c])})),Xc=Ol((function(r,s){Rs(s,Yo(s),r)})),ed=Ol((function(r,s,c,S){Rs(s,Yo(s),r,S)})),Ru=Ol((function(r,s,c,S){Rs(s,io(s),r,S)})),Nu=Fs(to),nd=rr((function(r,s){r=Vn(r);var c=-1,S=s.length,F=S>2?s[2]:b;for(F&&ro(s[0],s[1],F)&&(S=1);++c<S;)for(var Y=s[c],he=Yo(Y),we=-1,Fe=he.length;++we<Fe;){var ht=he[we],ft=r[ht];(ft===b||ss(ft,xi[ht])&&!O.call(r,ht))&&(r[ht]=Y[ht])}return r})),rd=rr((function(r){return r.push(b,Xh),gr(bg,b,r)}));function Kf(r,s,c){var S=null==r?b:da(r,s);return S===b?c:S}function Fu(r,s){return null!=r&&kl(r,s,nu)}var wg=Xd((function(r,s,c){null!=s&&"function"!=typeof s.toString&&(s=ce.call(s)),r[s]=c}),gd(li)),id=Xd((function(r,s,c){null!=s&&"function"!=typeof s.toString&&(s=ce.call(s)),O.call(r,s)?r[s].push(c):r[s]=[c]}),En),D_=rr(Is);function io(r){return ki(r)?w(r):iu(r)}function Yo(r){return ki(r)?w(r,!0):function t_(r){if(!ti(r))return function op(r){var s=[];if(null!=r)for(var c in Vn(r))s.push(c);return s}(r);var s=al(r),c=[];for(var S in r)"constructor"==S&&(s||!O.call(r,S))||c.push(S);return c}(r)}var S_=Ol((function(r,s,c){tl(r,s,c)})),bg=Ol((function(r,s,c,S){tl(r,s,c,S)})),T_=Fs((function(r,s){var c={};if(null==r)return c;var S=!1;s=or(s,(function(Y){return Y=ha(Y,r),S||(S=Y.length>1),Y})),Rs(r,yu(r),c),S&&(c=qr(c,7,_u));for(var F=s.length;F--;)no(c,s[F]);return c})),O_=Fs((function(r,s){return null==r?{}:function r_(r,s){return Wh(r,s,(function(c,S){return Fu(r,S)}))}(r,s)}));function ea(r,s){if(null==r)return{};var c=or(yu(r),(function(S){return[S]}));return s=En(s),Wh(r,c,(function(S,F){return s(S,F[0])}))}var ku=wc(io),sd=wc(Yo);function ml(r){return null==r?[]:$s(r,io(r))}var Lu=ga((function(r,s,c){return s=s.toLowerCase(),r+(c?Ha(s):s)}));function Ha(r){return hd(Pr(r).toLowerCase())}function Vu(r){return(r=Pr(r))&&r.replace(xt,zs).replace(vs,"")}var th=ga((function(r,s,c){return r+(c?"-":"")+s.toLowerCase()})),nh=ga((function(r,s,c){return r+(c?" ":"")+s.toLowerCase()})),ud=Kd("toLowerCase"),ih=ga((function(r,s,c){return r+(c?"_":"")+s.toLowerCase()})),oh=ga((function(r,s,c){return r+(c?" ":"")+hd(s)})),Ng=ga((function(r,s,c){return r+(c?" ":"")+s.toUpperCase()})),hd=Kd("toUpperCase");function uh(r,s,c){return r=Pr(r),(s=c?b:s)===b?function eo(ge){return Bi.test(ge)}(r)?function yn(ge){return ge.match(Jo)||[]}(r):function Pi(ge){return ge.match(G)||[]}(r):r.match(s)||[]}var pd=rr((function(r,s){try{return gr(r,b,s)}catch(c){return Su(c)?c:new hn(c)}})),Fg=Fs((function(r,s){return ii(s,(function(c){c=ks(c),Ar(r,c,Eu(r[c],r))})),r}));function gd(r){return function(){return r}}var fh=Jd(),Lg=Jd(!0);function li(r){return r}function Gl(r){return Fd("function"==typeof r?r:qr(r,1))}var I_=rr((function(r,s){return function(c){return Is(c,r,s)}})),hh=rr((function(r,s){return function(c){return Is(r,c,s)}}));function md(r,s,c){var S=io(s),F=As(s,S);null==c&&(!ti(s)||!F.length&&S.length)&&(c=s,s=r,r=this,F=As(s,io(s)));var Y=!(ti(c)&&"chain"in c&&!c.chain),he=Xs(r);return ii(F,(function(we){var Fe=s[we];r[we]=Fe,he&&(r.prototype[we]=function(){var ht=this.__chain__;if(Y||ht){var ft=r(this.__wrapped__),mt=ft.__actions__=ko(this.__actions__);return mt.push({func:Fe,args:arguments,thisArg:r}),ft.__chain__=ht,ft}return Fe.apply(r,bi([this.value()],arguments))})})),r}function _d(){}var Hg=Il(or),jg=Il(Wr),Uu=Il(Ho);function Hu(r){return Ec(r)?ns(ks(r)):function i_(r){return function(s){return da(s,r)}}(r)}var R_=ef(),vd=ef(!0);function ph(){return[]}function $u(){return!1}var Gu=Al((function(r,s){return r+s}),0),Wl=mu("ceil"),$g=Al((function(r,s){return r/s}),1),wd=mu("floor"),qg=Al((function(r,s){return r*s}),1),F_=mu("round"),Yg=Al((function(r,s){return r-s}),0);return $.after=function p_(r,s){if("function"!=typeof s)throw new Ei(me);return r=Xn(r),function(){if(--r<1)return s.apply(this,arguments)}},$.ary=Wc,$.assign=C_,$.assignIn=Xc,$.assignInWith=ed,$.assignWith=Ru,$.at=Nu,$.before=Zp,$.bind=Eu,$.bindAll=Fg,$.bindKey=Kp,$.castArray=function Bf(){if(!arguments.length)return[];var r=arguments[0];return qn(r)?r:[r]},$.chain=xf,$.chunk=function Qs(r,s,c){s=(c?ro(r,s,c):s===b)?1:si(Xn(s),0);var S=null==r?0:r.length;if(!S||s<1)return[];for(var F=0,Y=0,he=He(Zi(S/s));F<S;)he[Y++]=Wo(r,F,F+=s);return he},$.compact=function Bl(r){for(var s=-1,c=null==r?0:r.length,S=0,F=[];++s<c;){var Y=r[s];Y&&(F[S++]=Y)}return F},$.concat=function pf(){var r=arguments.length;if(!r)return[];for(var s=He(r-1),c=arguments[0],S=r;S--;)s[S-1]=arguments[S];return bi(qn(c)?ko(c):[c],An(s,1))},$.cond=function ch(r){var s=null==r?0:r.length,c=En();return r=s?or(r,(function(S){if("function"!=typeof S[1])throw new Ei(me);return[c(S[0]),S[1]]})):[],rr((function(S){for(var F=-1;++F<s;){var Y=r[F];if(gr(Y[0],this,S))return gr(Y[1],this,S)}}))},$.conforms=function kg(r){return function El(r){var s=io(r);return function(c){return qs(c,r,s)}}(qr(r,1))},$.constant=gd,$.countBy=dl,$.create=function td(r,s){var c=po(r);return null==s?c:kt(c,s)},$.curry=function qc(r,s,c){var S=Ns(r,8,b,b,b,b,b,s=c?b:s);return S.placeholder=qc.placeholder,S},$.curryRight=function Ff(r,s,c){var S=Ns(r,16,b,b,b,b,b,s=c?b:s);return S.placeholder=Ff.placeholder,S},$.debounce=Yc,$.defaults=nd,$.defaultsDeep=rd,$.defer=Qp,$.delay=Jp,$.difference=gf,$.differenceBy=mf,$.differenceWith=s_,$.drop=function a_(r,s,c){var S=null==r?0:r.length;return S?Wo(r,(s=c||s===b?1:Xn(s))<0?0:s,S):[]},$.dropRight=function l_(r,s,c){var S=null==r?0:r.length;return S?Wo(r,0,(s=S-(s=c||s===b?1:Xn(s)))<0?0:s):[]},$.dropRightWhile=function Oc(r,s){return r&&r.length?Tl(r,En(s,3),!0,!0):[]},$.dropWhile=function xc(r,s){return r&&r.length?Tl(r,En(s,3),!0):[]},$.fill=function u_(r,s,c,S){var F=null==r?0:r.length;return F?(c&&"number"!=typeof c&&ro(r,s,c)&&(c=0,S=F),function Qe(r,s,c,S){var F=r.length;for((c=Xn(c))<0&&(c=-c>F?0:F+c),(S=S===b||S>F?F:Xn(S))<0&&(S+=F),S=c>S?0:Au(S);c<S;)r[c++]=s;return r}(r,s,c,S)):[]},$.filter=function Fp(r,s){return(qn(r)?Ti:Qt)(r,En(s,3))},$.flatMap=function kp(r,s){return An(ya(r,s),1)},$.flatMapDeep=function Lp(r,s){return An(ya(r,s),qe)},$.flatMapDepth=function Vp(r,s,c){return c=c===b?1:Xn(c),An(ya(r,s),c)},$.flatten=_f,$.flattenDeep=function fp(r){return null!=r&&r.length?An(r,qe):[]},$.flattenDepth=function hp(r,s){return null!=r&&r.length?An(r,s=s===b?1:Xn(s)):[]},$.flip=function _s(r){return Ns(r,512)},$.flow=fh,$.flowRight=Lg,$.fromPairs=function pp(r){for(var s=-1,c=null==r?0:r.length,S={};++s<c;){var F=r[s];S[F[0]]=F[1]}return S},$.functions=function b_(r){return null==r?[]:As(r,io(r))},$.functionsIn=function Cg(r){return null==r?[]:As(r,Yo(r))},$.groupBy=jc,$.initial=function gp(r){return null!=r&&r.length?Wo(r,0,-1):[]},$.intersection=Rc,$.intersectionBy=mp,$.intersectionWith=Fi,$.invert=wg,$.invertBy=id,$.invokeMap=Bp,$.iteratee=Gl,$.keyBy=zc,$.keys=io,$.keysIn=Yo,$.map=ya,$.mapKeys=function E_(r,s){var c={};return s=En(s,3),Qi(r,(function(S,F,Y){Ar(c,s(S,F,Y),S)})),c},$.mapValues=function M_(r,s){var c={};return s=En(s,3),Qi(r,(function(S,F,Y){Ar(c,F,s(S,F,Y))})),c},$.matches=function Vg(r){return kd(qr(r,1))},$.matchesProperty=function Bg(r,s){return Ld(r,qr(s,1))},$.memoize=Mu,$.merge=S_,$.mergeWith=bg,$.method=I_,$.methodOf=hh,$.mixin=md,$.negate=$l,$.nthArg=function yd(r){return r=Xn(r),rr((function(s){return Gh(s,r)}))},$.omit=T_,$.omitBy=function P_(r,s){return ea(r,$l(En(s)))},$.once=function Xp(r){return Zp(2,r)},$.orderBy=function Up(r,s,c,S){return null==r?[]:(qn(s)||(s=null==s?[]:[s]),qn(c=S?b:c)||(c=null==c?[]:[c]),su(r,s,c))},$.over=Hg,$.overArgs=eg,$.overEvery=jg,$.overSome=Uu,$.partial=Zc,$.partialRight=kf,$.partition=Hp,$.pick=O_,$.pickBy=ea,$.property=Hu,$.propertyOf=function ju(r){return function(s){return null==r?b:da(r,s)}},$.pull=yp,$.pullAll=vf,$.pullAllBy=function vp(r,s,c){return r&&r.length&&s&&s.length?Vd(r,s,En(c,2)):r},$.pullAllWith=function Cp(r,s,c){return r&&r.length&&s&&s.length?Vd(r,s,b,c):r},$.pullAt=wp,$.range=R_,$.rangeRight=vd,$.rearg=Lf,$.reject=function zp(r,s){return(qn(r)?Ti:Qt)(r,$l(En(s,3)))},$.remove=function c_(r,s){var c=[];if(!r||!r.length)return c;var S=-1,F=[],Y=r.length;for(s=En(s,3);++S<Y;){var he=r[S];s(he,S,r)&&(c.push(he),F.push(S))}return qh(r,F),c},$.rest=function tg(r,s){if("function"!=typeof r)throw new Ei(me);return rr(r,s=s===b?s:Xn(s))},$.reverse=Cf,$.sampleSize=function Wp(r,s,c){return s=(c?ro(r,s,c):s===b)?1:Xn(s),(qn(r)?L:Hd)(r,s)},$.set=function Dg(r,s,c){return null==r?r:Fo(r,s,c)},$.setWith=function Jf(r,s,c,S){return S="function"==typeof S?S:b,null==r?r:Fo(r,s,c,S)},$.shuffle=function fl(r){return(qn(r)?ne:Zh)(r)},$.slice=function Ul(r,s,c){var S=null==r?0:r.length;return S?(c&&"number"!=typeof c&&ro(r,s,c)?(s=0,c=S):(s=null==s?0:Xn(s),c=c===b?S:Xn(c)),Wo(r,s,c)):[]},$.sortBy=Yp,$.sortedUniq=function Mf(r){return r&&r.length?$d(r):[]},$.sortedUniqBy=function kc(r,s){return r&&r.length?$d(r,En(s,2)):[]},$.split=function xg(r,s,c){return c&&"number"!=typeof c&&ro(r,s,c)&&(s=c=b),(c=c===b?_n:c>>>0)?(r=Pr(r))&&("string"==typeof s||null!=s&&!Pu(s))&&!(s=qo(s))&&ei(r)?pa(Xe(r),0,c):r.split(s,c):[]},$.spread=function ng(r,s){if("function"!=typeof r)throw new Ei(me);return s=null==s?0:si(Xn(s),0),rr((function(c){var S=c[s],F=pa(c,0,s);return S&&bi(F,S),gr(r,this,F)}))},$.tail=function d_(r){var s=null==r?0:r.length;return s?Wo(r,1,s):[]},$.take=function Dp(r,s,c){return r&&r.length?Wo(r,0,(s=c||s===b?1:Xn(s))<0?0:s):[]},$.takeRight=function Lc(r,s,c){var S=null==r?0:r.length;return S?Wo(r,(s=S-(s=c||s===b?1:Xn(s)))<0?0:s,S):[]},$.takeRightWhile=function Sf(r,s){return r&&r.length?Tl(r,En(s,3),!1,!0):[]},$.takeWhile=function Tf(r,s){return r&&r.length?Tl(r,En(s,3)):[]},$.tap=function xp(r,s){return s(r),r},$.throttle=function rg(r,s,c){var S=!0,F=!0;if("function"!=typeof r)throw new Ei(me);return ti(c)&&(S="leading"in c?!!c.leading:S,F="trailing"in c?!!c.trailing:F),Yc(r,s,{leading:S,maxWait:s,trailing:F})},$.thru=cl,$.toArray=as,$.toPairs=ku,$.toPairsIn=sd,$.toPath=function ta(r){return qn(r)?or(r,ks):To(r)?[r]:ko(hf(Pr(r)))},$.toPlainObject=Iu,$.transform=function ad(r,s,c){var S=qn(r),F=S||Ls(r)||pl(r);if(s=En(s,4),null==c){var Y=r&&r.constructor;c=F?S?new Y:[]:ti(r)&&Xs(Y)?po(ar(r)):{}}return(F?ii:Qi)(r,(function(he,we,Fe){return s(c,he,we,Fe)})),c},$.unary=function Wn(r){return Wc(r,1)},$.union=Ba,$.unionBy=Ep,$.unionWith=Vc,$.uniq=function Du(r){return r&&r.length?fa(r):[]},$.uniqBy=function Mp(r,s){return r&&r.length?fa(r,En(s,2)):[]},$.uniqWith=function Bc(r,s){return s="function"==typeof s?s:b,r&&r.length?fa(r,b,s):[]},$.unset=function Eg(r,s){return null==r||no(r,s)},$.unzip=ll,$.unzipWith=_a,$.update=function va(r,s,c){return null==r?r:lu(r,s,pc(c))},$.updateWith=function Xf(r,s,c,S){return S="function"==typeof S?S:b,null==r?r:lu(r,s,pc(c),S)},$.values=ml,$.valuesIn=function Mg(r){return null==r?[]:$s(r,Yo(r))},$.without=Pf,$.words=uh,$.wrap=function Vf(r,s){return Zc(pc(s),r)},$.xor=Uc,$.xorBy=Sp,$.xorWith=Tp,$.zip=Of,$.zipObject=function ul(r,s){return nl(r||[],s||[],Ve)},$.zipObjectDeep=function Pp(r,s){return nl(r||[],s||[],Fo)},$.zipWith=Op,$.entries=ku,$.entriesIn=sd,$.extend=Xc,$.extendWith=ed,md($,$),$.add=Gu,$.attempt=pd,$.camelCase=Lu,$.capitalize=Ha,$.ceil=Wl,$.clamp=function eh(r,s,c){return c===b&&(c=s,s=b),c!==b&&(c=(c=Li(c))==c?c:0),s!==b&&(s=(s=Li(s))==s?s:0),Ri(Li(r),s,c)},$.clone=function Uf(r){return qr(r,4)},$.cloneDeep=function og(r){return qr(r,5)},$.cloneDeepWith=function Hf(r,s){return qr(r,5,s="function"==typeof s?s:b)},$.cloneWith=function ig(r,s){return qr(r,4,s="function"==typeof s?s:b)},$.conformsTo=function sg(r,s){return null==s||qs(r,s,io(s))},$.deburr=Vu,$.defaultTo=function dh(r,s){return null==r||r!=r?s:r},$.divide=$g,$.endsWith=function _l(r,s,c){r=Pr(r),s=qo(s);var S=r.length,F=c=c===b?S:Ri(Xn(c),0,S);return(c-=s.length)>=0&&r.slice(c,F)==s},$.eq=ss,$.escape=function ld(r){return(r=Pr(r))&&cn.test(r)?r.replace(Kt,wo):r},$.escapeRegExp=function Bu(r){return(r=Pr(r))&&Gn.test(r)?r.replace(fr,"\\$&"):r},$.every=function jl(r,s,c){var S=qn(r)?Wr:M;return c&&ro(r,s,c)&&(s=b),S(r,En(s,3))},$.find=h_,$.findIndex=dp,$.findKey=function w_(r,s){return yo(r,En(s,3),Qi)},$.findLast=Rf,$.findLastIndex=Ac,$.findLastKey=function mg(r,s){return yo(r,En(s,3),Ys)},$.floor=wd,$.forEach=Hc,$.forEachRight=Nf,$.forIn=function _g(r,s){return null==r?r:br(r,En(s,3),Yo)},$.forInRight=function yg(r,s){return null==r?r:Ni(r,En(s,3),Yo)},$.forOwn=function vg(r,s){return r&&Qi(r,En(s,3))},$.forOwnRight=function Zf(r,s){return r&&Ys(r,En(s,3))},$.get=Kf,$.gt=ag,$.gte=lg,$.has=function Qf(r,s){return null!=r&&kl(r,s,Ml)},$.hasIn=Fu,$.head=Ic,$.identity=li,$.includes=function $c(r,s,c,S){r=ki(r)?r:ml(r),c=c&&!S?Xn(c):0;var F=r.length;return c<0&&(c=si(F+c,0)),Jc(r)?c<=F&&r.indexOf(s,c)>-1:!!F&&vo(r,s,c)>-1},$.indexOf=function bu(r,s,c){var S=null==r?0:r.length;if(!S)return-1;var F=null==c?0:Xn(c);return F<0&&(F=si(S+F,0)),vo(r,s,F)},$.inRange=function Sg(r,s,c){return s=Vs(s),c===b?(c=s,s=0):c=Vs(c),function Id(r,s,c){return r>=pi(s,c)&&r<si(s,c)}(r=Li(r),s,c)},$.invoke=D_,$.isArguments=hl,$.isArray=qn,$.isArrayBuffer=jf,$.isArrayLike=ki,$.isArrayLikeObject=Mi,$.isBoolean=function Kc(r){return!0===r||!1===r||Kr(r)&&So(r)==Nn},$.isBuffer=Ls,$.isDate=ug,$.isElement=function g_(r){return Kr(r)&&1===r.nodeType&&!zl(r)},$.isEmpty=function m_(r){if(null==r)return!0;if(ki(r)&&(qn(r)||"string"==typeof r||"function"==typeof r.splice||Ls(r)||pl(r)||hl(r)))return!r.length;var s=go(r);if(s==lr||s==de)return!r.size;if(al(r))return!iu(r).length;for(var c in r)if(O.call(r,c))return!1;return!0},$.isEqual=function __(r,s){return el(r,s)},$.isEqualWith=function cg(r,s,c){var S=(c="function"==typeof c?c:b)?c(r,s):b;return S===b?el(r,s,b,c):!!S},$.isError=Su,$.isFinite=function y_(r){return"number"==typeof r&&Ma(r)},$.isFunction=Xs,$.isInteger=Ua,$.isLength=Tu,$.isMap=$f,$.isMatch=function zf(r,s){return r===s||uc(r,s,Fl(s))},$.isMatchWith=function dg(r,s,c){return c="function"==typeof c?c:b,uc(r,s,Fl(s),c)},$.isNaN=function fg(r){return Qc(r)&&r!=+r},$.isNative=function hg(r){if(cf(r))throw new hn("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Rd(r)},$.isNil=function gg(r){return null==r},$.isNull=function pg(r){return null===r},$.isNumber=Qc,$.isObject=ti,$.isObjectLike=Kr,$.isPlainObject=zl,$.isRegExp=Pu,$.isSafeInteger=function Gf(r){return Ua(r)&&r>=-Et&&r<=Et},$.isSet=Ou,$.isString=Jc,$.isSymbol=To,$.isTypedArray=pl,$.isUndefined=function v_(r){return r===b},$.isWeakMap=function gl(r){return Kr(r)&&go(r)==fe},$.isWeakSet=function Wf(r){return Kr(r)&&"[object WeakSet]"==So(r)},$.join=function _p(r,s){return null==r?"":sa.call(r,s)},$.kebabCase=th,$.last=os,$.lastIndexOf=function Nc(r,s,c){var S=null==r?0:r.length;if(!S)return-1;var F=S;return c!==b&&(F=(F=Xn(c))<0?si(S+F,0):pi(F,S-1)),s==s?function ye(ge,ze,He){for(var Ot=He+1;Ot--;)if(ge[Ot]===ze)return Ot;return Ot}(r,s,F):zi(r,ct,F,!0)},$.lowerCase=nh,$.lowerFirst=ud,$.lt=qf,$.lte=xu,$.max=function yh(r){return r&&r.length?ue(r,li,tu):b},$.maxBy=function zg(r,s){return r&&r.length?ue(r,En(s,2),tu):b},$.mean=function Gg(r){return jn(r,li)},$.meanBy=function ql(r,s){return jn(r,En(s,2))},$.min=function Wg(r){return r&&r.length?ue(r,li,ou):b},$.minBy=function N_(r,s){return r&&r.length?ue(r,En(s,2),ou):b},$.stubArray=ph,$.stubFalse=$u,$.stubObject=function gh(){return{}},$.stubString=function mh(){return""},$.stubTrue=function _h(){return!0},$.multiply=qg,$.nth=function yf(r,s){return r&&r.length?Gh(r,Xn(s)):b},$.noConflict=function Ug(){return Nr._===this&&(Nr._=rt),this},$.noop=_d,$.now=Gc,$.pad=function cd(r,s,c){r=Pr(r);var S=(s=Xn(s))?ke(r):0;if(!s||S>=s)return r;var F=(s-S)/2;return Rl(Ga(F),c)+r+Rl(Zi(F),c)},$.padEnd=function rh(r,s,c){r=Pr(r);var S=(s=Xn(s))?ke(r):0;return s&&S<s?r+Rl(s-S,c):r},$.padStart=function dd(r,s,c){r=Pr(r);var S=(s=Xn(s))?ke(r):0;return s&&S<s?Rl(s-S,c)+r:r},$.parseInt=function Pg(r,s,c){return c||null==s?s=0:s&&(s=+s),vl(Pr(r).replace(zn,""),s||0)},$.random=function Tg(r,s,c){if(c&&"boolean"!=typeof c&&ro(r,s,c)&&(s=c=b),c===b&&("boolean"==typeof s?(c=s,s=b):"boolean"==typeof r&&(c=r,r=b)),r===b&&s===b?(r=0,s=1):(r=Vs(r),s===b?(s=r,r=0):s=Vs(s)),r>s){var S=r;r=s,s=S}if(c||r%1||s%1){var F=qa();return pi(r+F*(s-r+us("1e-"+((F+"").length-1))),s)}return cc(r,s)},$.reduce=function jp(r,s,c){var S=qn(r)?co:wr,F=arguments.length<3;return S(r,En(s,4),c,F,y)},$.reduceRight=function $p(r,s,c){var S=qn(r)?Dn:wr,F=arguments.length<3;return S(r,En(s,4),c,F,u)},$.repeat=function x_(r,s,c){return s=(c?ro(r,s,c):s===b)?1:Xn(s),Sl(Pr(r),s)},$.replace=function Og(){var r=arguments,s=Pr(r[0]);return r.length<3?s:s.replace(r[1],r[2])},$.result=function od(r,s,c){var S=-1,F=(s=ha(s,r)).length;for(F||(F=1,r=b);++S<F;){var Y=null==r?b:r[ks(s[S])];Y===b&&(S=F,Y=c),r=Xs(Y)?Y.call(r):Y}return r},$.round=F_,$.runInContext=ge,$.sample=function Gp(r){return(qn(r)?P:Ud)(r)},$.size=function Js(r){if(null==r)return 0;if(ki(r))return Jc(r)?ke(r):r.length;var s=go(r);return s==lr||s==de?r.size:iu(r).length},$.snakeCase=ih,$.some=function qp(r,s,c){var S=qn(r)?Ho:dc;return c&&ro(r,s,c)&&(s=b),S(r,En(s,3))},$.sortedIndex=function Fc(r,s){return au(r,s)},$.sortedIndexBy=function wf(r,s,c){return fc(r,s,En(c,2))},$.sortedIndexOf=function bf(r,s){var c=null==r?0:r.length;if(c){var S=au(r,s);if(S<c&&ss(r[S],s))return S}return-1},$.sortedLastIndex=function Df(r,s){return au(r,s,!0)},$.sortedLastIndexBy=function bp(r,s,c){return fc(r,s,En(c,2),!0)},$.sortedLastIndexOf=function Ef(r,s){if(null!=r&&r.length){var S=au(r,s,!0)-1;if(ss(r[S],s))return S}return-1},$.startCase=oh,$.startsWith=function sh(r,s,c){return r=Pr(r),c=null==c?0:Ri(Xn(c),0,r.length),s=qo(s),r.slice(c,c+s.length)==s},$.subtract=Yg,$.sum=function Zg(r){return r&&r.length?mr(r,li):0},$.sumBy=function Kg(r,s){return r&&r.length?mr(r,En(s,2)):0},$.template=function Ag(r,s,c){var S=$.templateSettings;c&&ro(r,s,c)&&(s=b),r=Pr(r),s=ed({},s,S,tf);var we,Fe,F=ed({},s.imports,S.imports,tf),Y=io(F),he=$s(F,Y),ht=0,ft=s.interpolate||Zt,mt="__p += '",Wt=Di((s.escape||Zt).source+"|"+ft.source+"|"+(ft===Bt?Re:Zt).source+"|"+(s.evaluate||Zt).source+"|$","g"),an="//# sourceURL="+(O.call(s,"sourceURL")?(s.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Us+"]")+"\n";r.replace(Wt,(function(Mn,dr,Yn,oo,kr,ji){return Yn||(Yn=oo),mt+=r.slice(ht,ji).replace(Vt,qi),dr&&(we=!0,mt+="' +\n__e("+dr+") +\n'"),kr&&(Fe=!0,mt+="';\n"+kr+";\n__p += '"),Yn&&(mt+="' +\n((__t = ("+Yn+")) == null ? '' : __t) +\n'"),ht=ji+Mn.length,Mn})),mt+="';\n";var In=O.call(s,"variable")&&s.variable;if(In){if(U.test(In))throw new hn("Invalid `variable` option passed into `_.template`")}else mt="with (obj) {\n"+mt+"\n}\n";mt=(Fe?mt.replace(Pt,""):mt).replace(Rt,"$1").replace(gt,"$1;"),mt="function("+(In||"obj")+") {\n"+(In?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(we?", __e = _.escape":"")+(Fe?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+mt+"return __p\n}";var ir=pd((function(){return xn(Y,an+"return "+mt).apply(b,he)}));if(ir.source=mt,Su(ir))throw ir;return ir},$.times=function Cd(r,s){if((r=Xn(r))<1||r>Et)return[];var c=_n,S=pi(r,_n);s=En(s),r-=_n;for(var F=Wi(S,s);++c<r;)s(c);return F},$.toFinite=Vs,$.toInteger=Xn,$.toLength=Au,$.toLower=function Zo(r){return Pr(r).toLowerCase()},$.toNumber=Li,$.toSafeInteger=function Yf(r){return r?Ri(Xn(r),-Et,Et):0===r?r:0},$.toString=Pr,$.toUpper=function ah(r){return Pr(r).toUpperCase()},$.trim=function Ig(r,s,c){if((r=Pr(r))&&(c||s===b))return Co(r);if(!r||!(s=qo(s)))return r;var S=Xe(r),F=Xe(s);return pa(S,Ds(S,F),fi(S,F)+1).join("")},$.trimEnd=function A_(r,s,c){if((r=Pr(r))&&(c||s===b))return r.slice(0,Ft(r)+1);if(!r||!(s=qo(s)))return r;var S=Xe(r);return pa(S,0,fi(S,Xe(s))+1).join("")},$.trimStart=function Rg(r,s,c){if((r=Pr(r))&&(c||s===b))return r.replace(zn,"");if(!r||!(s=qo(s)))return r;var S=Xe(r);return pa(S,Ds(S,Xe(s))).join("")},$.truncate=function fd(r,s){var c=30,S="...";if(ti(s)){var F="separator"in s?s.separator:F;c="length"in s?Xn(s.length):c,S="omission"in s?qo(s.omission):S}var Y=(r=Pr(r)).length;if(ei(r)){var he=Xe(r);Y=he.length}if(c>=Y)return r;var we=c-ke(S);if(we<1)return S;var Fe=he?pa(he,0,we).join(""):r.slice(0,we);if(F===b)return Fe+S;if(he&&(we+=Fe.length-we),Pu(F)){if(r.slice(we).search(F)){var ht,ft=Fe;for(F.global||(F=Di(F.source,Pr(nt.exec(F))+"g")),F.lastIndex=0;ht=F.exec(ft);)var mt=ht.index;Fe=Fe.slice(0,mt===b?we:mt)}}else if(r.indexOf(qo(F),we)!=we){var Wt=Fe.lastIndexOf(F);Wt>-1&&(Fe=Fe.slice(0,Wt))}return Fe+S},$.unescape=function lh(r){return(r=Pr(r))&&At.test(r)?r.replace(Fn,jt):r},$.uniqueId=function zu(r){var s=++D;return Pr(r)+s},$.upperCase=Ng,$.upperFirst=hd,$.each=Hc,$.eachRight=Nf,$.first=Ic,md($,function(){var r={};return Qi($,(function(s,c){O.call($.prototype,c)||(r[c]=s)})),r}(),{chain:!1}),$.VERSION="4.17.21",ii(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(r){$[r].placeholder=$})),ii(["drop","take"],(function(r,s){sn.prototype[r]=function(c){c=c===b?1:si(Xn(c),0);var S=this.__filtered__&&!s?new sn(this):this.clone();return S.__filtered__?S.__takeCount__=pi(c,S.__takeCount__):S.__views__.push({size:pi(c,_n),type:r+(S.__dir__<0?"Right":"")}),S},sn.prototype[r+"Right"]=function(c){return this.reverse()[r](c).reverse()}})),ii(["filter","map","takeWhile"],(function(r,s){var c=s+1,S=1==c||3==c;sn.prototype[r]=function(F){var Y=this.clone();return Y.__iteratees__.push({iteratee:En(F,3),type:c}),Y.__filtered__=Y.__filtered__||S,Y}})),ii(["head","last"],(function(r,s){var c="take"+(s?"Right":"");sn.prototype[r]=function(){return this[c](1).value()[0]}})),ii(["initial","tail"],(function(r,s){var c="drop"+(s?"":"Right");sn.prototype[r]=function(){return this.__filtered__?new sn(this):this[c](1)}})),sn.prototype.compact=function(){return this.filter(li)},sn.prototype.find=function(r){return this.filter(r).head()},sn.prototype.findLast=function(r){return this.reverse().find(r)},sn.prototype.invokeMap=rr((function(r,s){return"function"==typeof r?new sn(this):this.map((function(c){return Is(c,r,s)}))})),sn.prototype.reject=function(r){return this.filter($l(En(r)))},sn.prototype.slice=function(r,s){r=Xn(r);var c=this;return c.__filtered__&&(r>0||s<0)?new sn(c):(r<0?c=c.takeRight(-r):r&&(c=c.drop(r)),s!==b&&(c=(s=Xn(s))<0?c.dropRight(-s):c.take(s-r)),c)},sn.prototype.takeRightWhile=function(r){return this.reverse().takeWhile(r).reverse()},sn.prototype.toArray=function(){return this.take(_n)},Qi(sn.prototype,(function(r,s){var c=/^(?:filter|find|map|reject)|While$/.test(s),S=/^(?:head|last)$/.test(s),F=$[S?"take"+("last"==s?"Right":""):s],Y=S||/^find/.test(s);!F||($.prototype[s]=function(){var he=this.__wrapped__,we=S?[1]:arguments,Fe=he instanceof sn,ht=we[0],ft=Fe||qn(he),mt=function(dr){var Yn=F.apply($,bi([dr],we));return S&&Wt?Yn[0]:Yn};ft&&c&&"function"==typeof ht&&1!=ht.length&&(Fe=ft=!1);var Wt=this.__chain__,an=!!this.__actions__.length,In=Y&&!Wt,ir=Fe&&!an;if(!Y&&ft){he=ir?he:new sn(this);var Mn=r.apply(he,we);return Mn.__actions__.push({func:cl,args:[mt],thisArg:b}),new Ki(Mn,Wt)}return In&&ir?r.apply(this,we):(Mn=this.thru(mt),In?S?Mn.value()[0]:Mn.value():Mn)})})),ii(["pop","push","shift","sort","splice","unshift"],(function(r){var s=bo[r],c=/^(?:push|sort|unshift)$/.test(r)?"tap":"thru",S=/^(?:pop|shift)$/.test(r);$.prototype[r]=function(){var F=arguments;if(S&&!this.__chain__){var Y=this.value();return s.apply(qn(Y)?Y:[],F)}return this[c]((function(he){return s.apply(qn(he)?he:[],F)}))}})),Qi(sn.prototype,(function(r,s){var c=$[s];if(c){var S=c.name+"";O.call(Go,S)||(Go[S]=[]),Go[S].push({name:s,func:c})}})),Go[pu(b,2).name]=[{name:"wrapper",func:b}],sn.prototype.clone=function Ql(){var r=new sn(this.__wrapped__);return r.__actions__=ko(this.__actions__),r.__dir__=this.__dir__,r.__filtered__=this.__filtered__,r.__iteratees__=ko(this.__iteratees__),r.__takeCount__=this.__takeCount__,r.__views__=ko(this.__views__),r},sn.prototype.reverse=function la(){if(this.__filtered__){var r=new sn(this);r.__dir__=-1,r.__filtered__=!0}else(r=this.clone()).__dir__*=-1;return r},sn.prototype.value=function wl(){var r=this.__wrapped__.value(),s=this.__dir__,c=qn(r),S=s<0,F=c?r.length:0,Y=function lf(r,s,c){for(var S=-1,F=c.length;++S<F;){var Y=c[S],he=Y.size;switch(Y.type){case"drop":r+=he;break;case"dropRight":s-=he;break;case"take":s=pi(s,r+he);break;case"takeRight":r=si(r,s-he)}}return{start:r,end:s}}(0,F,this.__views__),he=Y.start,we=Y.end,Fe=we-he,ht=S?we:he-1,ft=this.__iteratees__,mt=ft.length,Wt=0,an=pi(Fe,this.__takeCount__);if(!c||!S&&F==Fe&&an==Fe)return uu(r,this.__actions__);var In=[];e:for(;Fe--&&Wt<an;){for(var ir=-1,Mn=r[ht+=s];++ir<mt;){var dr=ft[ir],oo=dr.type,kr=(0,dr.iteratee)(Mn);if(2==oo)Mn=kr;else if(!kr){if(1==oo)continue e;break e}}In[Wt++]=Mn}return In},$.prototype.at=Ap,$.prototype.chain=function Af(){return xf(this)},$.prototype.commit=function Ip(){return new Ki(this.value(),this.__chain__)},$.prototype.next=function If(){this.__values__===b&&(this.__values__=as(this.value()));var r=this.__index__>=this.__values__.length;return{done:r,value:r?b:this.__values__[this.__index__++]}},$.prototype.plant=function Rp(r){for(var s,c=this;c instanceof xa;){var S=wu(c);S.__index__=0,S.__values__=b,s?F.__wrapped__=S:s=S;var F=S;c=c.__wrapped__}return F.__wrapped__=r,s},$.prototype.reverse=function Hl(){var r=this.__wrapped__;if(r instanceof sn){var s=r;return this.__actions__.length&&(s=new sn(this)),(s=s.reverse()).__actions__.push({func:cl,args:[Cf],thisArg:b}),new Ki(s,this.__chain__)}return this.thru(Cf)},$.prototype.toJSON=$.prototype.valueOf=$.prototype.value=function Np(){return uu(this.__wrapped__,this.__actions__)},$.prototype.first=$.prototype.head,Hi&&($.prototype[Hi]=function f_(){return this}),$}();Nr._=$n,(a=function(){return $n}.call(J,x,J,Ie))!==b&&(Ie.exports=a)}.call(this)},8448:(Ie,J,x)=>{var a=x(5171),b=x(2315),H=x(4401),X=x(3943);Ie.exports=function K(me,re,pe){me=X(me);var be=(re=H(re))?b(me):0;return re&&be<re?a(re-be,pe)+me:me}},1978:(Ie,J,x)=>{var b=x(1491)((function(H,X,K){return H+(K?"_":"")+X.toLowerCase()}));Ie.exports=b},2232:(Ie,J,x)=>{var a=x(1467),b=1/0;Ie.exports=function X(K){return K?(K=a(K))===b||K===-b?17976931348623157e292*(K<0?-1:1):K==K?K:0:0===K?K:0}},4401:(Ie,J,x)=>{var a=x(2232);Ie.exports=function b(H){var X=a(H),K=X%1;return X==X?K?X-K:X:0}},1467:(Ie,J,x)=>{var a=x(3348),b=x(5940),H=x(4129),K=/^[-+]0x[0-9a-f]+$/i,me=/^0b[01]+$/i,re=/^0o[0-7]+$/i,pe=parseInt;Ie.exports=function be(Z){if("number"==typeof Z)return Z;if(H(Z))return NaN;if(b(Z)){var oe="function"==typeof Z.valueOf?Z.valueOf():Z;Z=b(oe)?oe+"":oe}if("string"!=typeof Z)return 0===Z?Z:+Z;Z=a(Z);var Se=me.test(Z);return Se||re.test(Z)?pe(Z.slice(2),Se?2:8):K.test(Z)?NaN:+Z}},3943:(Ie,J,x)=>{var a=x(3935);Ie.exports=function b(H){return null==H?"":a(H)}},7188:(Ie,J,x)=>{var a=x(69),b=x(9062),H=x(3943),X=x(910);Ie.exports=function K(me,re,pe){return me=H(me),void 0===(re=pe?void 0:re)?b(me)?X(me):a(me):me.match(re)||[]}},9751:(Ie,J,x)=>{"use strict";x.d(J,{y:()=>pe});var a=x(930),b=x(727),H=x(8822),X=x(9635),K=x(2416),me=x(576),re=x(2806);let pe=(()=>{class Se{constructor(je){je&&(this._subscribe=je)}lift(je){const it=new Se;return it.source=this,it.operator=je,it}subscribe(je,it,It){const Ye=function oe(Se){return Se&&Se instanceof a.Lv||function Z(Se){return Se&&(0,me.m)(Se.next)&&(0,me.m)(Se.error)&&(0,me.m)(Se.complete)}(Se)&&(0,b.Nn)(Se)}(je)?je:new a.Hp(je,it,It);return(0,re.x)((()=>{const{operator:Tt,source:Ct}=this;Ye.add(Tt?Tt.call(Ye,Ct):Ct?this._subscribe(Ye):this._trySubscribe(Ye))})),Ye}_trySubscribe(je){try{return this._subscribe(je)}catch(it){je.error(it)}}forEach(je,it){return new(it=be(it))(((It,Ye)=>{let Tt;Tt=this.subscribe((Ct=>{try{je(Ct)}catch(ot){Ye(ot),Tt?.unsubscribe()}}),Ye,It)}))}_subscribe(je){var it;return null===(it=this.source)||void 0===it?void 0:it.subscribe(je)}[H.L](){return this}pipe(...je){return(0,X.U)(je)(this)}toPromise(je){return new(je=be(je))(((it,It)=>{let Ye;this.subscribe((Tt=>Ye=Tt),(Tt=>It(Tt)),(()=>it(Ye)))}))}}return Se.create=Ze=>new Se(Ze),Se})();function be(Se){var Ze;return null!==(Ze=Se??K.v.Promise)&&void 0!==Ze?Ze:Promise}},7579:(Ie,J,x)=>{"use strict";x.d(J,{x:()=>re});var a=x(9751),b=x(727);const X=(0,x(3888).d)((be=>function(){be(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}));var K=x(8737),me=x(2806);let re=(()=>{class be extends a.y{constructor(){super(),this.closed=!1,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(oe){const Se=new pe(this,this);return Se.operator=oe,Se}_throwIfClosed(){if(this.closed)throw new X}next(oe){(0,me.x)((()=>{if(this._throwIfClosed(),!this.isStopped){const Se=this.observers.slice();for(const Ze of Se)Ze.next(oe)}}))}error(oe){(0,me.x)((()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=oe;const{observers:Se}=this;for(;Se.length;)Se.shift().error(oe)}}))}complete(){(0,me.x)((()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:oe}=this;for(;oe.length;)oe.shift().complete()}}))}unsubscribe(){this.isStopped=this.closed=!0,this.observers=null}get observed(){var oe;return(null===(oe=this.observers)||void 0===oe?void 0:oe.length)>0}_trySubscribe(oe){return this._throwIfClosed(),super._trySubscribe(oe)}_subscribe(oe){return this._throwIfClosed(),this._checkFinalizedStatuses(oe),this._innerSubscribe(oe)}_innerSubscribe(oe){const{hasError:Se,isStopped:Ze,observers:je}=this;return Se||Ze?b.Lc:(je.push(oe),new b.w0((()=>(0,K.P)(je,oe))))}_checkFinalizedStatuses(oe){const{hasError:Se,thrownError:Ze,isStopped:je}=this;Se?oe.error(Ze):je&&oe.complete()}asObservable(){const oe=new a.y;return oe.source=this,oe}}return be.create=(Z,oe)=>new pe(Z,oe),be})();class pe extends re{constructor(Z,oe){super(),this.destination=Z,this.source=oe}next(Z){var oe,Se;null===(Se=null===(oe=this.destination)||void 0===oe?void 0:oe.next)||void 0===Se||Se.call(oe,Z)}error(Z){var oe,Se;null===(Se=null===(oe=this.destination)||void 0===oe?void 0:oe.error)||void 0===Se||Se.call(oe,Z)}complete(){var Z,oe;null===(oe=null===(Z=this.destination)||void 0===Z?void 0:Z.complete)||void 0===oe||oe.call(Z)}_subscribe(Z){var oe,Se;return null!==(Se=null===(oe=this.source)||void 0===oe?void 0:oe.subscribe(Z))&&void 0!==Se?Se:b.Lc}}},930:(Ie,J,x)=>{"use strict";x.d(J,{Hp:()=>Ze,Lv:()=>Se});var a=x(576),b=x(727),H=x(2416),X=x(7849),K=x(5032);const me=be("C",void 0,void 0);function be(Tt,Ct,ot){return{kind:Tt,value:Ct,error:ot}}var Z=x(3410),oe=x(2806);class Se extends b.w0{constructor(Ct){super(),this.isStopped=!1,Ct?(this.destination=Ct,(0,b.Nn)(Ct)&&Ct.add(this)):this.destination=Ye}static create(Ct,ot,Ge){return new Ze(Ct,ot,Ge)}next(Ct){this.isStopped?It(function pe(Tt){return be("N",Tt,void 0)}(Ct),this):this._next(Ct)}error(Ct){this.isStopped?It(function re(Tt){return be("E",void 0,Tt)}(Ct),this):(this.isStopped=!0,this._error(Ct))}complete(){this.isStopped?It(me,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(Ct){this.destination.next(Ct)}_error(Ct){try{this.destination.error(Ct)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}class Ze extends Se{constructor(Ct,ot,Ge){let Me;if(super(),(0,a.m)(Ct))Me=Ct;else if(Ct){let Je;({next:Me,error:ot,complete:Ge}=Ct),this&&H.v.useDeprecatedNextContext?(Je=Object.create(Ct),Je.unsubscribe=()=>this.unsubscribe()):Je=Ct,Me=Me?.bind(Je),ot=ot?.bind(Je),Ge=Ge?.bind(Je)}this.destination={next:Me?je(Me):K.Z,error:je(ot??it),complete:Ge?je(Ge):K.Z}}}function je(Tt,Ct){return(...ot)=>{try{Tt(...ot)}catch(Ge){H.v.useDeprecatedSynchronousErrorHandling?(0,oe.O)(Ge):(0,X.h)(Ge)}}}function it(Tt){throw Tt}function It(Tt,Ct){const{onStoppedNotification:ot}=H.v;ot&&Z.z.setTimeout((()=>ot(Tt,Ct)))}const Ye={closed:!0,next:K.Z,error:it,complete:K.Z}},727:(Ie,J,x)=>{"use strict";x.d(J,{Lc:()=>me,w0:()=>K,Nn:()=>re});var a=x(576);const H=(0,x(3888).d)((be=>function(oe){be(this),this.message=oe?`${oe.length} errors occurred during unsubscription:\n${oe.map(((Se,Ze)=>`${Ze+1}) ${Se.toString()}`)).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=oe}));var X=x(8737);class K{constructor(Z){this.initialTeardown=Z,this.closed=!1,this._parentage=null,this._teardowns=null}unsubscribe(){let Z;if(!this.closed){this.closed=!0;const{_parentage:oe}=this;if(oe)if(this._parentage=null,Array.isArray(oe))for(const je of oe)je.remove(this);else oe.remove(this);const{initialTeardown:Se}=this;if((0,a.m)(Se))try{Se()}catch(je){Z=je instanceof H?je.errors:[je]}const{_teardowns:Ze}=this;if(Ze){this._teardowns=null;for(const je of Ze)try{pe(je)}catch(it){Z=Z??[],it instanceof H?Z=[...Z,...it.errors]:Z.push(it)}}if(Z)throw new H(Z)}}add(Z){var oe;if(Z&&Z!==this)if(this.closed)pe(Z);else{if(Z instanceof K){if(Z.closed||Z._hasParent(this))return;Z._addParent(this)}(this._teardowns=null!==(oe=this._teardowns)&&void 0!==oe?oe:[]).push(Z)}}_hasParent(Z){const{_parentage:oe}=this;return oe===Z||Array.isArray(oe)&&oe.includes(Z)}_addParent(Z){const{_parentage:oe}=this;this._parentage=Array.isArray(oe)?(oe.push(Z),oe):oe?[oe,Z]:Z}_removeParent(Z){const{_parentage:oe}=this;oe===Z?this._parentage=null:Array.isArray(oe)&&(0,X.P)(oe,Z)}remove(Z){const{_teardowns:oe}=this;oe&&(0,X.P)(oe,Z),Z instanceof K&&Z._removeParent(this)}}K.EMPTY=(()=>{const be=new K;return be.closed=!0,be})();const me=K.EMPTY;function re(be){return be instanceof K||be&&"closed"in be&&(0,a.m)(be.remove)&&(0,a.m)(be.add)&&(0,a.m)(be.unsubscribe)}function pe(be){(0,a.m)(be)?be():be.unsubscribe()}},2416:(Ie,J,x)=>{"use strict";x.d(J,{v:()=>a});const a={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},515:(Ie,J,x)=>{"use strict";x.d(J,{E:()=>b});const b=new(x(9751).y)((K=>K.complete()))},2076:(Ie,J,x)=>{"use strict";x.d(J,{D:()=>Jt});var a=x(8421),b=x(9672),H=x(4482),X=x(5403);function K(Nt,vt=0){return(0,H.e)(((Ce,Pe)=>{Ce.subscribe(new X.Q(Pe,(Oe=>(0,b.f)(Pe,Nt,(()=>Pe.next(Oe)),vt)),(()=>(0,b.f)(Pe,Nt,(()=>Pe.complete()),vt)),(Oe=>(0,b.f)(Pe,Nt,(()=>Pe.error(Oe)),vt))))}))}function me(Nt,vt=0){return(0,H.e)(((Ce,Pe)=>{Pe.add(Nt.schedule((()=>Ce.subscribe(Pe)),vt))}))}var be=x(9751),oe=x(2202),Se=x(576);function je(Nt,vt){if(!Nt)throw new Error("Iterable cannot be null");return new be.y((Ce=>{(0,b.f)(Ce,vt,(()=>{const Pe=Nt[Symbol.asyncIterator]();(0,b.f)(Ce,vt,(()=>{Pe.next().then((Oe=>{Oe.done?Ce.complete():Ce.next(Oe.value)}))}),0,!0)}))}))}var it=x(3670),It=x(8239),Ye=x(1144),Tt=x(6495),Ct=x(2206),ot=x(4532),Ge=x(3260);function Jt(Nt,vt){return vt?function Je(Nt,vt){if(null!=Nt){if((0,it.c)(Nt))return function re(Nt,vt){return(0,a.Xf)(Nt).pipe(me(vt),K(vt))}(Nt,vt);if((0,Ye.z)(Nt))return function Z(Nt,vt){return new be.y((Ce=>{let Pe=0;return vt.schedule((function(){Pe===Nt.length?Ce.complete():(Ce.next(Nt[Pe++]),Ce.closed||this.schedule())}))}))}(Nt,vt);if((0,It.t)(Nt))return function pe(Nt,vt){return(0,a.Xf)(Nt).pipe(me(vt),K(vt))}(Nt,vt);if((0,Ct.D)(Nt))return je(Nt,vt);if((0,Tt.T)(Nt))return function Ze(Nt,vt){return new be.y((Ce=>{let Pe;return(0,b.f)(Ce,vt,(()=>{Pe=Nt[oe.h](),(0,b.f)(Ce,vt,(()=>{let Oe,Q;try{({value:Oe,done:Q}=Pe.next())}catch(ae){return void Ce.error(ae)}Q?Ce.complete():Ce.next(Oe)}),0,!0)})),()=>(0,Se.m)(Pe?.return)&&Pe.return()}))}(Nt,vt);if((0,Ge.L)(Nt))return function Me(Nt,vt){return je((0,Ge.Q)(Nt),vt)}(Nt,vt)}throw(0,ot.z)(Nt)}(Nt,vt):(0,a.Xf)(Nt)}},8421:(Ie,J,x)=>{"use strict";x.d(J,{Xf:()=>Ze});var a=x(5987),b=x(1144),H=x(8239),X=x(9751),K=x(3670),me=x(2206),re=x(4532),pe=x(6495),be=x(3260),Z=x(576),oe=x(7849),Se=x(8822);function Ze(Ge){if(Ge instanceof X.y)return Ge;if(null!=Ge){if((0,K.c)(Ge))return function je(Ge){return new X.y((Me=>{const Je=Ge[Se.L]();if((0,Z.m)(Je.subscribe))return Je.subscribe(Me);throw new TypeError("Provided object does not correctly implement Symbol.observable")}))}(Ge);if((0,b.z)(Ge))return function it(Ge){return new X.y((Me=>{for(let Je=0;Je<Ge.length&&!Me.closed;Je++)Me.next(Ge[Je]);Me.complete()}))}(Ge);if((0,H.t)(Ge))return function It(Ge){return new X.y((Me=>{Ge.then((Je=>{Me.closed||(Me.next(Je),Me.complete())}),(Je=>Me.error(Je))).then(null,oe.h)}))}(Ge);if((0,me.D)(Ge))return Tt(Ge);if((0,pe.T)(Ge))return function Ye(Ge){return new X.y((Me=>{for(const Je of Ge)if(Me.next(Je),Me.closed)return;Me.complete()}))}(Ge);if((0,be.L)(Ge))return function Ct(Ge){return Tt((0,be.Q)(Ge))}(Ge)}throw(0,re.z)(Ge)}function Tt(Ge){return new X.y((Me=>{(function ot(Ge,Me){var Je,Jt,Nt,vt;return(0,a.mG)(this,void 0,void 0,(function*(){try{for(Je=(0,a.KL)(Ge);!(Jt=yield Je.next()).done;)if(Me.next(Jt.value),Me.closed)return}catch(Ce){Nt={error:Ce}}finally{try{Jt&&!Jt.done&&(vt=Je.return)&&(yield vt.call(Je))}finally{if(Nt)throw Nt.error}}Me.complete()}))})(Ge,Me).catch((Je=>Me.error(Je)))}))}},6451:(Ie,J,x)=>{"use strict";x.d(J,{T:()=>me});var a=x(8189),b=x(8421),H=x(515),X=x(7669),K=x(2076);function me(...re){const pe=(0,X.yG)(re),be=(0,X._6)(re,1/0),Z=re;return Z.length?1===Z.length?(0,b.Xf)(Z[0]):(0,a.J)(be)((0,K.D)(Z,pe)):H.E}},9646:(Ie,J,x)=>{"use strict";x.d(J,{of:()=>H});var a=x(7669),b=x(2076);function H(...X){const K=(0,a.yG)(X);return(0,b.D)(X,K)}},5403:(Ie,J,x)=>{"use strict";x.d(J,{Q:()=>b});var a=x(930);class b extends a.Lv{constructor(X,K,me,re,pe){super(X),this.onFinalize=pe,this._next=K?function(be){try{K(be)}catch(Z){X.error(Z)}}:super._next,this._error=re?function(be){try{re(be)}catch(Z){X.error(Z)}finally{this.unsubscribe()}}:super._error,this._complete=me?function(){try{me()}catch(be){X.error(be)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var X;const{closed:K}=this;super.unsubscribe(),!K&&(null===(X=this.onFinalize)||void 0===X||X.call(this))}}},4351:(Ie,J,x)=>{"use strict";x.d(J,{b:()=>H});var a=x(5577),b=x(576);function H(X,K){return(0,b.m)(K)?(0,a.z)(X,K,1):(0,a.z)(X,1)}},9300:(Ie,J,x)=>{"use strict";x.d(J,{h:()=>H});var a=x(4482),b=x(5403);function H(X,K){return(0,a.e)(((me,re)=>{let pe=0;me.subscribe(new b.Q(re,(be=>X.call(K,be,pe++)&&re.next(be))))}))}},7461:(Ie,J,x)=>{"use strict";x.d(J,{x:()=>b});var a=x(4482);function b(H){return(0,a.e)(((X,K)=>{try{X.subscribe(K)}finally{K.add(H)}}))}},4004:(Ie,J,x)=>{"use strict";x.d(J,{U:()=>H});var a=x(4482),b=x(5403);function H(X,K){return(0,a.e)(((me,re)=>{let pe=0;me.subscribe(new b.Q(re,(be=>{re.next(X.call(K,be,pe++))})))}))}},8189:(Ie,J,x)=>{"use strict";x.d(J,{J:()=>H});var a=x(5577),b=x(4671);function H(X=1/0){return(0,a.z)(b.y,X)}},5577:(Ie,J,x)=>{"use strict";x.d(J,{z:()=>pe});var a=x(4004),b=x(8421),H=x(4482),X=x(9672),K=x(5403),re=x(576);function pe(be,Z,oe=1/0){return(0,re.m)(Z)?pe(((Se,Ze)=>(0,a.U)(((je,it)=>Z(Se,je,Ze,it)))((0,b.Xf)(be(Se,Ze)))),oe):("number"==typeof Z&&(oe=Z),(0,H.e)(((Se,Ze)=>function me(be,Z,oe,Se,Ze,je,it,It){const Ye=[];let Tt=0,Ct=0,ot=!1;const Ge=()=>{ot&&!Ye.length&&!Tt&&Z.complete()},Me=Jt=>Tt<Se?Je(Jt):Ye.push(Jt),Je=Jt=>{je&&Z.next(Jt),Tt++;let Nt=!1;(0,b.Xf)(oe(Jt,Ct++)).subscribe(new K.Q(Z,(vt=>{Ze?.(vt),je?Me(vt):Z.next(vt)}),(()=>{Nt=!0}),void 0,(()=>{if(Nt)try{for(Tt--;Ye.length&&Tt<Se;){const vt=Ye.shift();it?(0,X.f)(Z,it,(()=>Je(vt))):Je(vt)}Ge()}catch(vt){Z.error(vt)}})))};return be.subscribe(new K.Q(Z,Me,(()=>{ot=!0,Ge()}))),()=>{It?.()}}(Se,Ze,be,oe))))}},5698:(Ie,J,x)=>{"use strict";x.d(J,{q:()=>X});var a=x(515),b=x(4482),H=x(5403);function X(K){return K<=0?()=>a.E:(0,b.e)(((me,re)=>{let pe=0;me.subscribe(new H.Q(re,(be=>{++pe<=K&&(re.next(be),K<=pe&&re.complete())})))}))}},4408:(Ie,J,x)=>{"use strict";x.d(J,{o:()=>K});var a=x(727);class b extends a.w0{constructor(re,pe){super()}schedule(re,pe=0){return this}}const H={setInterval(...me){const{delegate:re}=H;return(re?.setInterval||setInterval)(...me)},clearInterval(me){const{delegate:re}=H;return(re?.clearInterval||clearInterval)(me)},delegate:void 0};var X=x(8737);class K extends b{constructor(re,pe){super(re,pe),this.scheduler=re,this.work=pe,this.pending=!1}schedule(re,pe=0){if(this.closed)return this;this.state=re;const be=this.id,Z=this.scheduler;return null!=be&&(this.id=this.recycleAsyncId(Z,be,pe)),this.pending=!0,this.delay=pe,this.id=this.id||this.requestAsyncId(Z,this.id,pe),this}requestAsyncId(re,pe,be=0){return H.setInterval(re.flush.bind(re,this),be)}recycleAsyncId(re,pe,be=0){if(null!=be&&this.delay===be&&!1===this.pending)return pe;H.clearInterval(pe)}execute(re,pe){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const be=this._execute(re,pe);if(be)return be;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(re,pe){let Z,be=!1;try{this.work(re)}catch(oe){be=!0,Z=oe||new Error("Scheduled action threw falsy error")}if(be)return this.unsubscribe(),Z}unsubscribe(){if(!this.closed){const{id:re,scheduler:pe}=this,{actions:be}=pe;this.work=this.state=this.scheduler=null,this.pending=!1,(0,X.P)(be,this),null!=re&&(this.id=this.recycleAsyncId(pe,re,null)),this.delay=null,super.unsubscribe()}}}},640:(Ie,J,x)=>{"use strict";x.d(J,{v:()=>H});const a={now:()=>(a.delegate||Date).now(),delegate:void 0};class b{constructor(K,me=b.now){this.schedulerActionCtor=K,this.now=me}schedule(K,me=0,re){return new this.schedulerActionCtor(this,K).schedule(re,me)}}b.now=a.now;class H extends b{constructor(K,me=b.now){super(K,me),this.actions=[],this._active=!1,this._scheduled=void 0}flush(K){const{actions:me}=this;if(this._active)return void me.push(K);let re;this._active=!0;do{if(re=K.execute(K.state,K.delay))break}while(K=me.shift());if(this._active=!1,re){for(;K=me.shift();)K.unsubscribe();throw re}}}},3410:(Ie,J,x)=>{"use strict";x.d(J,{z:()=>a});const a={setTimeout(...b){const{delegate:H}=a;return(H?.setTimeout||setTimeout)(...b)},clearTimeout(b){const{delegate:H}=a;return(H?.clearTimeout||clearTimeout)(b)},delegate:void 0}},2202:(Ie,J,x)=>{"use strict";x.d(J,{h:()=>b});const b=function a(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(Ie,J,x)=>{"use strict";x.d(J,{L:()=>a});const a="function"==typeof Symbol&&Symbol.observable||"@@observable"},7669:(Ie,J,x)=>{"use strict";x.d(J,{_6:()=>me,jO:()=>X,yG:()=>K});var a=x(576);function H(re){return re[re.length-1]}function X(re){return(0,a.m)(H(re))?re.pop():void 0}function K(re){return function b(re){return re&&(0,a.m)(re.schedule)}(H(re))?re.pop():void 0}function me(re,pe){return"number"==typeof H(re)?re.pop():pe}},4742:(Ie,J,x)=>{"use strict";x.d(J,{D:()=>K});const{isArray:a}=Array,{getPrototypeOf:b,prototype:H,keys:X}=Object;function K(re){if(1===re.length){const pe=re[0];if(a(pe))return{args:pe,keys:null};if(function me(re){return re&&"object"==typeof re&&b(re)===H}(pe)){const be=X(pe);return{args:be.map((Z=>pe[Z])),keys:be}}}return{args:re,keys:null}}},8737:(Ie,J,x)=>{"use strict";function a(b,H){if(b){const X=b.indexOf(H);0<=X&&b.splice(X,1)}}x.d(J,{P:()=>a})},3888:(Ie,J,x)=>{"use strict";function a(b){const X=b((K=>{Error.call(K),K.stack=(new Error).stack}));return X.prototype=Object.create(Error.prototype),X.prototype.constructor=X,X}x.d(J,{d:()=>a})},1810:(Ie,J,x)=>{"use strict";function a(b,H){return b.reduce(((X,K,me)=>(X[K]=H[me],X)),{})}x.d(J,{n:()=>a})},2806:(Ie,J,x)=>{"use strict";x.d(J,{O:()=>X,x:()=>H});var a=x(2416);let b=null;function H(K){if(a.v.useDeprecatedSynchronousErrorHandling){const me=!b;if(me&&(b={errorThrown:!1,error:null}),K(),me){const{errorThrown:re,error:pe}=b;if(b=null,re)throw pe}}else K()}function X(K){a.v.useDeprecatedSynchronousErrorHandling&&b&&(b.errorThrown=!0,b.error=K)}},9672:(Ie,J,x)=>{"use strict";function a(b,H,X,K=0,me=!1){const re=H.schedule((function(){X(),me?b.add(this.schedule(null,K)):this.unsubscribe()}),K);if(b.add(re),!me)return re}x.d(J,{f:()=>a})},4671:(Ie,J,x)=>{"use strict";function a(b){return b}x.d(J,{y:()=>a})},1144:(Ie,J,x)=>{"use strict";x.d(J,{z:()=>a});const a=b=>b&&"number"==typeof b.length&&"function"!=typeof b},2206:(Ie,J,x)=>{"use strict";x.d(J,{D:()=>b});var a=x(576);function b(H){return Symbol.asyncIterator&&(0,a.m)(H?.[Symbol.asyncIterator])}},576:(Ie,J,x)=>{"use strict";function a(b){return"function"==typeof b}x.d(J,{m:()=>a})},3670:(Ie,J,x)=>{"use strict";x.d(J,{c:()=>H});var a=x(8822),b=x(576);function H(X){return(0,b.m)(X[a.L])}},6495:(Ie,J,x)=>{"use strict";x.d(J,{T:()=>H});var a=x(2202),b=x(576);function H(X){return(0,b.m)(X?.[a.h])}},8239:(Ie,J,x)=>{"use strict";x.d(J,{t:()=>b});var a=x(576);function b(H){return(0,a.m)(H?.then)}},3260:(Ie,J,x)=>{"use strict";x.d(J,{L:()=>X,Q:()=>H});var a=x(5987),b=x(576);function H(K){return(0,a.FC)(this,arguments,(function*(){const re=K.getReader();try{for(;;){const{value:pe,done:be}=yield(0,a.qq)(re.read());if(be)return yield(0,a.qq)(void 0);yield yield(0,a.qq)(pe)}}finally{re.releaseLock()}}))}function X(K){return(0,b.m)(K?.getReader)}},4482:(Ie,J,x)=>{"use strict";x.d(J,{A:()=>b,e:()=>H});var a=x(576);function b(X){return(0,a.m)(X?.lift)}function H(X){return K=>{if(b(K))return K.lift((function(me){try{return X(me,this)}catch(re){this.error(re)}}));throw new TypeError("Unable to lift unknown Observable type")}}},3268:(Ie,J,x)=>{"use strict";x.d(J,{Z:()=>X});var a=x(4004);const{isArray:b}=Array;function X(K){return(0,a.U)((me=>function H(K,me){return b(me)?K(...me):K(me)}(K,me)))}},5032:(Ie,J,x)=>{"use strict";function a(){}x.d(J,{Z:()=>a})},9635:(Ie,J,x)=>{"use strict";x.d(J,{U:()=>H,z:()=>b});var a=x(4671);function b(...X){return H(X)}function H(X){return 0===X.length?a.y:1===X.length?X[0]:function(me){return X.reduce(((re,pe)=>pe(re)),me)}}},7849:(Ie,J,x)=>{"use strict";x.d(J,{h:()=>H});var a=x(2416),b=x(3410);function H(X){b.z.setTimeout((()=>{const{onUnhandledError:K}=a.v;if(!K)throw X;K(X)}))}},4532:(Ie,J,x)=>{"use strict";function a(b){return new TypeError(`You provided ${null!==b&&"object"==typeof b?"an invalid object":`'${b}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}x.d(J,{z:()=>a})},8583:()=>{"use strict";!function(de){const Ne=de.performance;function Ae(se){Ne&&Ne.mark&&Ne.mark(se)}function Be(se,G){Ne&&Ne.measure&&Ne.measure(se,G)}Ae("Zone");const fe=de.__Zone_symbol_prefix||"__zone_symbol__";function z(se){return fe+se}const q=!0===de[z("forceDuplicateZoneCheck")];if(de.Zone){if(q||"function"!=typeof de.Zone.__symbol__)throw new Error("Zone already loaded.");return de.Zone}let Ee=(()=>{class se{constructor(U,te){this._parent=U,this._name=te?te.name||"unnamed":"<root>",this._properties=te&&te.properties||{},this._zoneDelegate=new et(this,this._parent&&this._parent._zoneDelegate,te)}static assertZonePatched(){if(de.Promise!==fr.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 U=se.current;for(;U.parent;)U=U.parent;return U}static get current(){return zn.zone}static get currentTask(){return Dr}static __load_patch(U,te,Re=!1){if(fr.hasOwnProperty(U)){if(!Re&&q)throw Error("Already loaded patch: "+U)}else if(!de["__Zone_disable_"+U]){const nt="Zone:"+U;Ae(nt),fr[U]=te(de,se,Gn),Be(nt,nt)}}get parent(){return this._parent}get name(){return this._name}get(U){const te=this.getZoneWith(U);if(te)return te._properties[U]}getZoneWith(U){let te=this;for(;te;){if(te._properties.hasOwnProperty(U))return te;te=te._parent}return null}fork(U){if(!U)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,U)}wrap(U,te){if("function"!=typeof U)throw new Error("Expecting function got: "+U);const Re=this._zoneDelegate.intercept(this,U,te),nt=this;return function(){return nt.runGuarded(Re,this,arguments,te)}}run(U,te,Re,nt){zn={parent:zn,zone:this};try{return this._zoneDelegate.invoke(this,U,te,Re,nt)}finally{zn=zn.parent}}runGuarded(U,te=null,Re,nt){zn={parent:zn,zone:this};try{try{return this._zoneDelegate.invoke(this,U,te,Re,nt)}catch(zt){if(this._zoneDelegate.handleError(this,zt))throw zt}}finally{zn=zn.parent}}runTask(U,te,Re){if(U.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(U.zone||Fn).name+"; Execution: "+this.name+")");if(U.state===Kt&&(U.type===Or||U.type===dn))return;const nt=U.state!=Ht;nt&&U._transitionTo(Ht,cn),U.runCount++;const zt=Dr;Dr=U,zn={parent:zn,zone:this};try{U.type==dn&&U.data&&!U.data.isPeriodic&&(U.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,U,te,Re)}catch(tt){if(this._zoneDelegate.handleError(this,tt))throw tt}}finally{U.state!==Kt&&U.state!==Bt&&(U.type==Or||U.data&&U.data.isPeriodic?nt&&U._transitionTo(cn,Ht):(U.runCount=0,this._updateTaskCount(U,-1),nt&&U._transitionTo(Kt,Ht,Kt))),zn=zn.parent,Dr=zt}}scheduleTask(U){if(U.zone&&U.zone!==this){let Re=this;for(;Re;){if(Re===U.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${U.zone.name}`);Re=Re.parent}}U._transitionTo(At,Kt);const te=[];U._zoneDelegates=te,U._zone=this;try{U=this._zoneDelegate.scheduleTask(this,U)}catch(Re){throw U._transitionTo(Bt,At,Kt),this._zoneDelegate.handleError(this,Re),Re}return U._zoneDelegates===te&&this._updateTaskCount(U,1),U.state==At&&U._transitionTo(cn,At),U}scheduleMicroTask(U,te,Re,nt){return this.scheduleTask(new pt(pn,U,te,Re,nt,void 0))}scheduleMacroTask(U,te,Re,nt,zt){return this.scheduleTask(new pt(dn,U,te,Re,nt,zt))}scheduleEventTask(U,te,Re,nt,zt){return this.scheduleTask(new pt(Or,U,te,Re,nt,zt))}cancelTask(U){if(U.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(U.zone||Fn).name+"; Execution: "+this.name+")");U._transitionTo(kn,cn,Ht);try{this._zoneDelegate.cancelTask(this,U)}catch(te){throw U._transitionTo(Bt,kn),this._zoneDelegate.handleError(this,te),te}return this._updateTaskCount(U,-1),U._transitionTo(Kt,kn),U.runCount=0,U}_updateTaskCount(U,te){const Re=U._zoneDelegates;-1==te&&(U._zoneDelegates=null);for(let nt=0;nt<Re.length;nt++)Re[nt]._updateTaskCount(U.type,te)}}return se.__symbol__=z,se})();const xe={name:"",onHasTask:(se,G,U,te)=>se.hasTask(U,te),onScheduleTask:(se,G,U,te)=>se.scheduleTask(U,te),onInvokeTask:(se,G,U,te,Re,nt)=>se.invokeTask(U,te,Re,nt),onCancelTask:(se,G,U,te)=>se.cancelTask(U,te)};class et{constructor(G,U,te){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=G,this._parentDelegate=U,this._forkZS=te&&(te&&te.onFork?te:U._forkZS),this._forkDlgt=te&&(te.onFork?U:U._forkDlgt),this._forkCurrZone=te&&(te.onFork?this.zone:U._forkCurrZone),this._interceptZS=te&&(te.onIntercept?te:U._interceptZS),this._interceptDlgt=te&&(te.onIntercept?U:U._interceptDlgt),this._interceptCurrZone=te&&(te.onIntercept?this.zone:U._interceptCurrZone),this._invokeZS=te&&(te.onInvoke?te:U._invokeZS),this._invokeDlgt=te&&(te.onInvoke?U:U._invokeDlgt),this._invokeCurrZone=te&&(te.onInvoke?this.zone:U._invokeCurrZone),this._handleErrorZS=te&&(te.onHandleError?te:U._handleErrorZS),this._handleErrorDlgt=te&&(te.onHandleError?U:U._handleErrorDlgt),this._handleErrorCurrZone=te&&(te.onHandleError?this.zone:U._handleErrorCurrZone),this._scheduleTaskZS=te&&(te.onScheduleTask?te:U._scheduleTaskZS),this._scheduleTaskDlgt=te&&(te.onScheduleTask?U:U._scheduleTaskDlgt),this._scheduleTaskCurrZone=te&&(te.onScheduleTask?this.zone:U._scheduleTaskCurrZone),this._invokeTaskZS=te&&(te.onInvokeTask?te:U._invokeTaskZS),this._invokeTaskDlgt=te&&(te.onInvokeTask?U:U._invokeTaskDlgt),this._invokeTaskCurrZone=te&&(te.onInvokeTask?this.zone:U._invokeTaskCurrZone),this._cancelTaskZS=te&&(te.onCancelTask?te:U._cancelTaskZS),this._cancelTaskDlgt=te&&(te.onCancelTask?U:U._cancelTaskDlgt),this._cancelTaskCurrZone=te&&(te.onCancelTask?this.zone:U._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const Re=te&&te.onHasTask;(Re||U&&U._hasTaskZS)&&(this._hasTaskZS=Re?te:xe,this._hasTaskDlgt=U,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=G,te.onScheduleTask||(this._scheduleTaskZS=xe,this._scheduleTaskDlgt=U,this._scheduleTaskCurrZone=this.zone),te.onInvokeTask||(this._invokeTaskZS=xe,this._invokeTaskDlgt=U,this._invokeTaskCurrZone=this.zone),te.onCancelTask||(this._cancelTaskZS=xe,this._cancelTaskDlgt=U,this._cancelTaskCurrZone=this.zone))}fork(G,U){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,G,U):new Ee(G,U)}intercept(G,U,te){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,G,U,te):U}invoke(G,U,te,Re,nt){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,G,U,te,Re,nt):U.apply(te,Re)}handleError(G,U){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,G,U)}scheduleTask(G,U){let te=U;if(this._scheduleTaskZS)this._hasTaskZS&&te._zoneDelegates.push(this._hasTaskDlgtOwner),te=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,G,U),te||(te=U);else if(U.scheduleFn)U.scheduleFn(U);else{if(U.type!=pn)throw new Error("Task is missing scheduleFn.");Rt(U)}return te}invokeTask(G,U,te,Re){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,G,U,te,Re):U.callback.apply(te,Re)}cancelTask(G,U){let te;if(this._cancelTaskZS)te=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,G,U);else{if(!U.cancelFn)throw Error("Task is not cancelable");te=U.cancelFn(U)}return te}hasTask(G,U){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,G,U)}catch(te){this.handleError(G,te)}}_updateTaskCount(G,U){const te=this._taskCounts,Re=te[G],nt=te[G]=Re+U;if(nt<0)throw new Error("More tasks executed then were scheduled.");0!=Re&&0!=nt||this.hasTask(this.zone,{microTask:te.microTask>0,macroTask:te.macroTask>0,eventTask:te.eventTask>0,change:G})}}class pt{constructor(G,U,te,Re,nt,zt){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=G,this.source=U,this.data=Re,this.scheduleFn=nt,this.cancelFn=zt,!te)throw new Error("callback is not defined");this.callback=te;const tt=this;this.invoke=G===Or&&Re&&Re.useG?pt.invokeTask:function(){return pt.invokeTask.call(de,tt,this,arguments)}}static invokeTask(G,U,te){G||(G=this),gn++;try{return G.runCount++,G.zone.runTask(G,U,te)}finally{1==gn&&gt(),gn--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(Kt,At)}_transitionTo(G,U,te){if(this._state!==U&&this._state!==te)throw new Error(`${this.type} '${this.source}': can not transition to '${G}', expecting state '${U}'${te?" or '"+te+"'":""}, was '${this._state}'.`);this._state=G,G==Kt&&(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 $t=z("setTimeout"),at=z("Promise"),Dt=z("then");let Ut,Yt=[],wn=!1;function Pt(se){if(Ut||de[at]&&(Ut=de[at].resolve(0)),Ut){let G=Ut[Dt];G||(G=Ut.then),G.call(Ut,se)}else de[$t](se,0)}function Rt(se){0===gn&&0===Yt.length&&Pt(gt),se&&Yt.push(se)}function gt(){if(!wn){for(wn=!0;Yt.length;){const se=Yt;Yt=[];for(let G=0;G<se.length;G++){const U=se[G];try{U.zone.runTask(U,null,null)}catch(te){Gn.onUnhandledError(te)}}}Gn.microtaskDrainDone(),wn=!1}}const Fn={name:"NO ZONE"},Kt="notScheduled",At="scheduling",cn="scheduled",Ht="running",kn="canceling",Bt="unknown",pn="microTask",dn="macroTask",Or="eventTask",fr={},Gn={symbol:z,currentZoneFrame:()=>zn,onUnhandledError:De,microtaskDrainDone:De,scheduleMicroTask:Rt,showUncaughtError:()=>!Ee[z("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:De,patchMethod:()=>De,bindArguments:()=>[],patchThen:()=>De,patchMacroTask:()=>De,patchEventPrototype:()=>De,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>De,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>De,wrapWithCurrentZone:()=>De,filterProperties:()=>[],attachOriginToPatched:()=>De,_redefineProperty:()=>De,patchCallbacks:()=>De,nativeScheduleMicroTask:Pt};let zn={parent:null,zone:new Ee(null,null)},Dr=null,gn=0;function De(){}Be("Zone","Zone"),de.Zone=Ee}(typeof window<"u"&&window||typeof self<"u"&&self||global);const Ie=Object.getOwnPropertyDescriptor,J=Object.defineProperty,x=Object.getPrototypeOf,a=Object.create,b=Array.prototype.slice,H="addEventListener",X="removeEventListener",K=Zone.__symbol__(H),me=Zone.__symbol__(X),re="true",pe="false",be=Zone.__symbol__("");function Z(de,Ne){return Zone.current.wrap(de,Ne)}function oe(de,Ne,Ae,Be,fe){return Zone.current.scheduleMacroTask(de,Ne,Ae,Be,fe)}const Se=Zone.__symbol__,Ze=typeof window<"u",je=Ze?window:void 0,it=Ze&&je||"object"==typeof self&&self||global;function Ye(de,Ne){for(let Ae=de.length-1;Ae>=0;Ae--)"function"==typeof de[Ae]&&(de[Ae]=Z(de[Ae],Ne+"_"+Ae));return de}function Ct(de){return!de||!1!==de.writable&&!("function"==typeof de.get&&typeof de.set>"u")}const ot=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Ge=!("nw"in it)&&typeof it.process<"u"&&"[object process]"==={}.toString.call(it.process),Me=!Ge&&!ot&&!(!Ze||!je.HTMLElement),Je=typeof it.process<"u"&&"[object process]"==={}.toString.call(it.process)&&!ot&&!(!Ze||!je.HTMLElement),Jt={},Nt=function(de){if(!(de=de||it.event))return;let Ne=Jt[de.type];Ne||(Ne=Jt[de.type]=Se("ON_PROPERTY"+de.type));const Ae=this||de.target||it,Be=Ae[Ne];let fe;if(Me&&Ae===je&&"error"===de.type){const z=de;fe=Be&&Be.call(this,z.message,z.filename,z.lineno,z.colno,z.error),!0===fe&&de.preventDefault()}else fe=Be&&Be.apply(this,arguments),null!=fe&&!fe&&de.preventDefault();return fe};function vt(de,Ne,Ae){let Be=Ie(de,Ne);if(!Be&&Ae&&Ie(Ae,Ne)&&(Be={enumerable:!0,configurable:!0}),!Be||!Be.configurable)return;const fe=Se("on"+Ne+"patched");if(de.hasOwnProperty(fe)&&de[fe])return;delete Be.writable,delete Be.value;const z=Be.get,q=Be.set,Ee=Ne.slice(2);let xe=Jt[Ee];xe||(xe=Jt[Ee]=Se("ON_PROPERTY"+Ee)),Be.set=function(et){let pt=this;!pt&&de===it&&(pt=it),pt&&("function"==typeof pt[xe]&&pt.removeEventListener(Ee,Nt),q&&q.call(pt,null),pt[xe]=et,"function"==typeof et&&pt.addEventListener(Ee,Nt,!1))},Be.get=function(){let et=this;if(!et&&de===it&&(et=it),!et)return null;const pt=et[xe];if(pt)return pt;if(z){let $t=z.call(this);if($t)return Be.set.call(this,$t),"function"==typeof et.removeAttribute&&et.removeAttribute(Ne),$t}return null},J(de,Ne,Be),de[fe]=!0}function Ce(de,Ne,Ae){if(Ne)for(let Be=0;Be<Ne.length;Be++)vt(de,"on"+Ne[Be],Ae);else{const Be=[];for(const fe in de)"on"==fe.slice(0,2)&&Be.push(fe);for(let fe=0;fe<Be.length;fe++)vt(de,Be[fe],Ae)}}const Pe=Se("originalInstance");function Oe(de){const Ne=it[de];if(!Ne)return;it[Se(de)]=Ne,it[de]=function(){const fe=Ye(arguments,de);switch(fe.length){case 0:this[Pe]=new Ne;break;case 1:this[Pe]=new Ne(fe[0]);break;case 2:this[Pe]=new Ne(fe[0],fe[1]);break;case 3:this[Pe]=new Ne(fe[0],fe[1],fe[2]);break;case 4:this[Pe]=new Ne(fe[0],fe[1],fe[2],fe[3]);break;default:throw new Error("Arg list too long.")}},Te(it[de],Ne);const Ae=new Ne((function(){}));let Be;for(Be in Ae)"XMLHttpRequest"===de&&"responseBlob"===Be||function(fe){"function"==typeof Ae[fe]?it[de].prototype[fe]=function(){return this[Pe][fe].apply(this[Pe],arguments)}:J(it[de].prototype,fe,{set:function(z){"function"==typeof z?(this[Pe][fe]=Z(z,de+"."+fe),Te(this[Pe][fe],z)):this[Pe][fe]=z},get:function(){return this[Pe][fe]}})}(Be);for(Be in Ne)"prototype"!==Be&&Ne.hasOwnProperty(Be)&&(it[de][Be]=Ne[Be])}function Q(de,Ne,Ae){let Be=de;for(;Be&&!Be.hasOwnProperty(Ne);)Be=x(Be);!Be&&de[Ne]&&(Be=de);const fe=Se(Ne);let z=null;if(Be&&(!(z=Be[fe])||!Be.hasOwnProperty(fe))&&(z=Be[fe]=Be[Ne],Ct(Be&&Ie(Be,Ne)))){const Ee=Ae(z,fe,Ne);Be[Ne]=function(){return Ee(this,arguments)},Te(Be[Ne],z)}return z}function ae(de,Ne,Ae){let Be=null;function fe(z){const q=z.data;return q.args[q.cbIdx]=function(){z.invoke.apply(this,arguments)},Be.apply(q.target,q.args),z}Be=Q(de,Ne,(z=>function(q,Ee){const xe=Ae(q,Ee);return xe.cbIdx>=0&&"function"==typeof Ee[xe.cbIdx]?oe(xe.name,Ee[xe.cbIdx],xe,fe):z.apply(q,Ee)}))}function Te(de,Ne){de[Se("OriginalDelegate")]=Ne}let qe=!1,Et=!1;function Xt(){if(qe)return Et;qe=!0;try{const de=je.navigator.userAgent;(-1!==de.indexOf("MSIE ")||-1!==de.indexOf("Trident/")||-1!==de.indexOf("Edge/"))&&(Et=!0)}catch{}return Et}Zone.__load_patch("ZoneAwarePromise",((de,Ne,Ae)=>{const Be=Object.getOwnPropertyDescriptor,fe=Object.defineProperty,q=Ae.symbol,Ee=[],xe=!0===de[q("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],et=q("Promise"),pt=q("then");Ae.onUnhandledError=tt=>{if(Ae.showUncaughtError()){const wt=tt&&tt.rejection;wt?console.error("Unhandled Promise rejection:",wt instanceof Error?wt.message:wt,"; Zone:",tt.zone.name,"; Task:",tt.task&&tt.task.source,"; Value:",wt,wt instanceof Error?wt.stack:void 0):console.error(tt)}},Ae.microtaskDrainDone=()=>{for(;Ee.length;){const tt=Ee.shift();try{tt.zone.runGuarded((()=>{throw tt.throwOriginal?tt.rejection:tt}))}catch(wt){Dt(wt)}}};const at=q("unhandledPromiseRejectionHandler");function Dt(tt){Ae.onUnhandledError(tt);try{const wt=Ne[at];"function"==typeof wt&&wt.call(this,tt)}catch{}}function Yt(tt){return tt&&tt.then}function wn(tt){return tt}function Ut(tt){return U.reject(tt)}const Pt=q("state"),Rt=q("value"),gt=q("finally"),Fn=q("parentPromiseValue"),Kt=q("parentPromiseState"),cn=null,kn=!1;function pn(tt,wt){return Ue=>{try{Gn(tt,wt,Ue)}catch(bt){Gn(tt,!1,bt)}}}const dn=function(){let tt=!1;return function(Ue){return function(){tt||(tt=!0,Ue.apply(null,arguments))}}},fr=q("currentTaskTrace");function Gn(tt,wt,Ue){const bt=dn();if(tt===Ue)throw new TypeError("Promise resolved with itself");if(tt[Pt]===cn){let xt=null;try{("object"==typeof Ue||"function"==typeof Ue)&&(xt=Ue&&Ue.then)}catch(Zt){return bt((()=>{Gn(tt,!1,Zt)}))(),tt}if(wt!==kn&&Ue instanceof U&&Ue.hasOwnProperty(Pt)&&Ue.hasOwnProperty(Rt)&&Ue[Pt]!==cn)Dr(Ue),Gn(tt,Ue[Pt],Ue[Rt]);else if(wt!==kn&&"function"==typeof xt)try{xt.call(Ue,bt(pn(tt,wt)),bt(pn(tt,!1)))}catch(Zt){bt((()=>{Gn(tt,!1,Zt)}))()}else{tt[Pt]=wt;const Zt=tt[Rt];if(tt[Rt]=Ue,tt[gt]===gt&&!0===wt&&(tt[Pt]=tt[Kt],tt[Rt]=tt[Fn]),wt===kn&&Ue instanceof Error){const Vt=Ne.currentTask&&Ne.currentTask.data&&Ne.currentTask.data.__creationTrace__;Vt&&fe(Ue,fr,{configurable:!0,enumerable:!1,writable:!0,value:Vt})}for(let Vt=0;Vt<Zt.length;)gn(tt,Zt[Vt++],Zt[Vt++],Zt[Vt++],Zt[Vt++]);if(0==Zt.length&&wt==kn){tt[Pt]=0;let Vt=Ue;try{throw new Error("Uncaught (in promise): "+function z(tt){return tt&&tt.toString===Object.prototype.toString?(tt.constructor&&tt.constructor.name||"")+": "+JSON.stringify(tt):tt?tt.toString():Object.prototype.toString.call(tt)}(Ue)+(Ue&&Ue.stack?"\n"+Ue.stack:""))}catch(St){Vt=St}xe&&(Vt.throwOriginal=!0),Vt.rejection=Ue,Vt.promise=tt,Vt.zone=Ne.current,Vt.task=Ne.currentTask,Ee.push(Vt),Ae.scheduleMicroTask()}}}return tt}const zn=q("rejectionHandledHandler");function Dr(tt){if(0===tt[Pt]){try{const wt=Ne[zn];wt&&"function"==typeof wt&&wt.call(this,{rejection:tt[Rt],promise:tt})}catch{}tt[Pt]=kn;for(let wt=0;wt<Ee.length;wt++)tt===Ee[wt].promise&&Ee.splice(wt,1)}}function gn(tt,wt,Ue,bt,xt){Dr(tt);const Zt=tt[Pt],Vt=Zt?"function"==typeof bt?bt:wn:"function"==typeof xt?xt:Ut;wt.scheduleMicroTask("Promise.then",(()=>{try{const St=tt[Rt],fn=!!Ue&&gt===Ue[gt];fn&&(Ue[Fn]=St,Ue[Kt]=Zt);const nn=wt.run(Vt,void 0,fn&&Vt!==Ut&&Vt!==wn?[]:[St]);Gn(Ue,!0,nn)}catch(St){Gn(Ue,!1,St)}}),Ue)}const se=function(){},G=de.AggregateError;class U{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(wt){return Gn(new this(null),!0,wt)}static reject(wt){return Gn(new this(null),kn,wt)}static any(wt){if(!wt||"function"!=typeof wt[Symbol.iterator])return Promise.reject(new G([],"All promises were rejected"));const Ue=[];let bt=0;try{for(let Vt of wt)bt++,Ue.push(U.resolve(Vt))}catch{return Promise.reject(new G([],"All promises were rejected"))}if(0===bt)return Promise.reject(new G([],"All promises were rejected"));let xt=!1;const Zt=[];return new U(((Vt,St)=>{for(let fn=0;fn<Ue.length;fn++)Ue[fn].then((nn=>{xt||(xt=!0,Vt(nn))}),(nn=>{Zt.push(nn),bt--,0===bt&&(xt=!0,St(new G(Zt,"All promises were rejected")))}))}))}static race(wt){let Ue,bt,xt=new this(((St,fn)=>{Ue=St,bt=fn}));function Zt(St){Ue(St)}function Vt(St){bt(St)}for(let St of wt)Yt(St)||(St=this.resolve(St)),St.then(Zt,Vt);return xt}static all(wt){return U.allWithCallback(wt)}static allSettled(wt){return(this&&this.prototype instanceof U?this:U).allWithCallback(wt,{thenCallback:bt=>({status:"fulfilled",value:bt}),errorCallback:bt=>({status:"rejected",reason:bt})})}static allWithCallback(wt,Ue){let bt,xt,Zt=new this(((nn,ur)=>{bt=nn,xt=ur})),Vt=2,St=0;const fn=[];for(let nn of wt){Yt(nn)||(nn=this.resolve(nn));const ur=St;try{nn.then((Sn=>{fn[ur]=Ue?Ue.thenCallback(Sn):Sn,Vt--,0===Vt&&bt(fn)}),(Sn=>{Ue?(fn[ur]=Ue.errorCallback(Sn),Vt--,0===Vt&&bt(fn)):xt(Sn)}))}catch(Sn){xt(Sn)}Vt++,St++}return Vt-=2,0===Vt&&bt(fn),Zt}constructor(wt){const Ue=this;if(!(Ue instanceof U))throw new Error("Must be an instanceof Promise.");Ue[Pt]=cn,Ue[Rt]=[];try{const bt=dn();wt&&wt(bt(pn(Ue,!0)),bt(pn(Ue,kn)))}catch(bt){Gn(Ue,!1,bt)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return U}then(wt,Ue){var bt;let xt=null===(bt=this.constructor)||void 0===bt?void 0:bt[Symbol.species];(!xt||"function"!=typeof xt)&&(xt=this.constructor||U);const Zt=new xt(se),Vt=Ne.current;return this[Pt]==cn?this[Rt].push(Vt,Zt,wt,Ue):gn(this,Vt,Zt,wt,Ue),Zt}catch(wt){return this.then(null,wt)}finally(wt){var Ue;let bt=null===(Ue=this.constructor)||void 0===Ue?void 0:Ue[Symbol.species];(!bt||"function"!=typeof bt)&&(bt=U);const xt=new bt(se);xt[gt]=gt;const Zt=Ne.current;return this[Pt]==cn?this[Rt].push(Zt,xt,wt,wt):gn(this,Zt,xt,wt,wt),xt}}U.resolve=U.resolve,U.reject=U.reject,U.race=U.race,U.all=U.all;const te=de[et]=de.Promise;de.Promise=U;const Re=q("thenPatched");function nt(tt){const wt=tt.prototype,Ue=Be(wt,"then");if(Ue&&(!1===Ue.writable||!Ue.configurable))return;const bt=wt.then;wt[pt]=bt,tt.prototype.then=function(xt,Zt){return new U(((St,fn)=>{bt.call(this,St,fn)})).then(xt,Zt)},tt[Re]=!0}return Ae.patchThen=nt,te&&(nt(te),Q(de,"fetch",(tt=>function zt(tt){return function(wt,Ue){let bt=tt.apply(wt,Ue);if(bt instanceof U)return bt;let xt=bt.constructor;return xt[Re]||nt(xt),bt}}(tt)))),Promise[Ne.__symbol__("uncaughtPromiseErrors")]=Ee,U})),Zone.__load_patch("toString",(de=>{const Ne=Function.prototype.toString,Ae=Se("OriginalDelegate"),Be=Se("Promise"),fe=Se("Error"),z=function(){if("function"==typeof this){const et=this[Ae];if(et)return"function"==typeof et?Ne.call(et):Object.prototype.toString.call(et);if(this===Promise){const pt=de[Be];if(pt)return Ne.call(pt)}if(this===Error){const pt=de[fe];if(pt)return Ne.call(pt)}}return Ne.call(this)};z[Ae]=Ne,Function.prototype.toString=z;const q=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":q.call(this)}}));let _n=!1;if(typeof window<"u")try{const de=Object.defineProperty({},"passive",{get:function(){_n=!0}});window.addEventListener("test",de,de),window.removeEventListener("test",de,de)}catch{_n=!1}const Tn={useG:!0},Cn={},Lr={},er=new RegExp("^"+be+"(\\w+)(true|false)$"),un=Se("propagationStopped");function sr(de,Ne){const Ae=(Ne?Ne(de):de)+pe,Be=(Ne?Ne(de):de)+re,fe=be+Ae,z=be+Be;Cn[de]={},Cn[de][pe]=fe,Cn[de][re]=z}function Nn(de,Ne,Ae,Be){const fe=Be&&Be.add||H,z=Be&&Be.rm||X,q=Be&&Be.listeners||"eventListeners",Ee=Be&&Be.rmAll||"removeAllListeners",xe=Se(fe),et="."+fe+":",at=function(Rt,gt,Fn){if(Rt.isRemoved)return;const Kt=Rt.callback;let At;"object"==typeof Kt&&Kt.handleEvent&&(Rt.callback=Ht=>Kt.handleEvent(Ht),Rt.originalDelegate=Kt);try{Rt.invoke(Rt,gt,[Fn])}catch(Ht){At=Ht}const cn=Rt.options;return cn&&"object"==typeof cn&&cn.once&&gt[z].call(gt,Fn.type,Rt.originalDelegate?Rt.originalDelegate:Rt.callback,cn),At};function Dt(Rt,gt,Fn){if(!(gt=gt||de.event))return;const Kt=Rt||gt.target||de,At=Kt[Cn[gt.type][Fn?re:pe]];if(At){const cn=[];if(1===At.length){const Ht=at(At[0],Kt,gt);Ht&&cn.push(Ht)}else{const Ht=At.slice();for(let kn=0;kn<Ht.length&&(!gt||!0!==gt[un]);kn++){const Bt=at(Ht[kn],Kt,gt);Bt&&cn.push(Bt)}}if(1===cn.length)throw cn[0];for(let Ht=0;Ht<cn.length;Ht++){const kn=cn[Ht];Ne.nativeScheduleMicroTask((()=>{throw kn}))}}}const Yt=function(Rt){return Dt(this,Rt,!1)},wn=function(Rt){return Dt(this,Rt,!0)};function Ut(Rt,gt){if(!Rt)return!1;let Fn=!0;gt&&void 0!==gt.useG&&(Fn=gt.useG);const Kt=gt&&gt.vh;let At=!0;gt&&void 0!==gt.chkDup&&(At=gt.chkDup);let cn=!1;gt&&void 0!==gt.rt&&(cn=gt.rt);let Ht=Rt;for(;Ht&&!Ht.hasOwnProperty(fe);)Ht=x(Ht);if(!Ht&&Rt[fe]&&(Ht=Rt),!Ht||Ht[xe])return!1;const kn=gt&&gt.eventNameToString,Bt={},pn=Ht[xe]=Ht[fe],dn=Ht[Se(z)]=Ht[z],Or=Ht[Se(q)]=Ht[q],fr=Ht[Se(Ee)]=Ht[Ee];let Gn;function zn(Ue,bt){return!_n&&"object"==typeof Ue&&Ue?!!Ue.capture:_n&&bt?"boolean"==typeof Ue?{capture:Ue,passive:!0}:Ue?"object"==typeof Ue&&!1!==Ue.passive?Object.assign(Object.assign({},Ue),{passive:!0}):Ue:{passive:!0}:Ue}gt&&gt.prepend&&(Gn=Ht[Se(gt.prepend)]=Ht[gt.prepend]);const U=Fn?function(Ue){if(!Bt.isExisting)return pn.call(Bt.target,Bt.eventName,Bt.capture?wn:Yt,Bt.options)}:function(Ue){return pn.call(Bt.target,Bt.eventName,Ue.invoke,Bt.options)},te=Fn?function(Ue){if(!Ue.isRemoved){const bt=Cn[Ue.eventName];let xt;bt&&(xt=bt[Ue.capture?re:pe]);const Zt=xt&&Ue.target[xt];if(Zt)for(let Vt=0;Vt<Zt.length;Vt++)if(Zt[Vt]===Ue){Zt.splice(Vt,1),Ue.isRemoved=!0,0===Zt.length&&(Ue.allRemoved=!0,Ue.target[xt]=null);break}}if(Ue.allRemoved)return dn.call(Ue.target,Ue.eventName,Ue.capture?wn:Yt,Ue.options)}:function(Ue){return dn.call(Ue.target,Ue.eventName,Ue.invoke,Ue.options)},nt=gt&&gt.diff?gt.diff:function(Ue,bt){const xt=typeof bt;return"function"===xt&&Ue.callback===bt||"object"===xt&&Ue.originalDelegate===bt},zt=Zone[Se("UNPATCHED_EVENTS")],tt=de[Se("PASSIVE_EVENTS")],wt=function(Ue,bt,xt,Zt,Vt=!1,St=!1){return function(){const fn=this||de;let nn=arguments[0];gt&&gt.transferEventName&&(nn=gt.transferEventName(nn));let ur=arguments[1];if(!ur)return Ue.apply(this,arguments);if(Ge&&"uncaughtException"===nn)return Ue.apply(this,arguments);let Sn=!1;if("function"!=typeof ur){if(!ur.handleEvent)return Ue.apply(this,arguments);Sn=!0}if(Kt&&!Kt(Ue,ur,fn,arguments))return;const tr=_n&&!!tt&&-1!==tt.indexOf(nn),pr=zn(arguments[2],tr);if(zt)for(let I=0;I<zt.length;I++)if(nn===zt[I])return tr?Ue.call(fn,nn,ur,pr):Ue.apply(this,arguments);const yr=!!pr&&("boolean"==typeof pr||pr.capture),Rr=!(!pr||"object"!=typeof pr)&&pr.once,$r=Zone.current;let Si=Cn[nn];Si||(sr(nn,kn),Si=Cn[nn]);const Pn=Si[yr?re:pe];let di,ui=fn[Pn],ci=!1;if(ui){if(ci=!0,At)for(let I=0;I<ui.length;I++)if(nt(ui[I],ur))return}else ui=fn[Pn]=[];const $i=fn.constructor.name,vi=Lr[$i];vi&&(di=vi[nn]),di||(di=$i+bt+(kn?kn(nn):nn)),Bt.options=pr,Rr&&(Bt.options.once=!1),Bt.target=fn,Bt.capture=yr,Bt.eventName=nn,Bt.isExisting=ci;const Jr=Fn?Tn:void 0;Jr&&(Jr.taskData=Bt);const xr=$r.scheduleEventTask(di,ur,Jr,xt,Zt);return Bt.target=null,Jr&&(Jr.taskData=null),Rr&&(pr.once=!0),!_n&&"boolean"==typeof xr.options||(xr.options=pr),xr.target=fn,xr.capture=yr,xr.eventName=nn,Sn&&(xr.originalDelegate=ur),St?ui.unshift(xr):ui.push(xr),Vt?fn:void 0}};return Ht[fe]=wt(pn,et,U,te,cn),Gn&&(Ht.prependListener=wt(Gn,".prependListener:",(function(Ue){return Gn.call(Bt.target,Bt.eventName,Ue.invoke,Bt.options)}),te,cn,!0)),Ht[z]=function(){const Ue=this||de;let bt=arguments[0];gt&&gt.transferEventName&&(bt=gt.transferEventName(bt));const xt=arguments[2],Zt=!!xt&&("boolean"==typeof xt||xt.capture),Vt=arguments[1];if(!Vt)return dn.apply(this,arguments);if(Kt&&!Kt(dn,Vt,Ue,arguments))return;const St=Cn[bt];let fn;St&&(fn=St[Zt?re:pe]);const nn=fn&&Ue[fn];if(nn)for(let ur=0;ur<nn.length;ur++){const Sn=nn[ur];if(nt(Sn,Vt))return nn.splice(ur,1),Sn.isRemoved=!0,0===nn.length&&(Sn.allRemoved=!0,Ue[fn]=null,"string"==typeof bt)&&(Ue[be+"ON_PROPERTY"+bt]=null),Sn.zone.cancelTask(Sn),cn?Ue:void 0}return dn.apply(this,arguments)},Ht[q]=function(){const Ue=this||de;let bt=arguments[0];gt&&gt.transferEventName&&(bt=gt.transferEventName(bt));const xt=[],Zt=Hr(Ue,kn?kn(bt):bt);for(let Vt=0;Vt<Zt.length;Vt++){const St=Zt[Vt];xt.push(St.originalDelegate?St.originalDelegate:St.callback)}return xt},Ht[Ee]=function(){const Ue=this||de;let bt=arguments[0];if(bt){gt&&gt.transferEventName&&(bt=gt.transferEventName(bt));const xt=Cn[bt];if(xt){const St=Ue[xt[pe]],fn=Ue[xt[re]];if(St){const nn=St.slice();for(let ur=0;ur<nn.length;ur++){const Sn=nn[ur];this[z].call(this,bt,Sn.originalDelegate?Sn.originalDelegate:Sn.callback,Sn.options)}}if(fn){const nn=fn.slice();for(let ur=0;ur<nn.length;ur++){const Sn=nn[ur];this[z].call(this,bt,Sn.originalDelegate?Sn.originalDelegate:Sn.callback,Sn.options)}}}}else{const xt=Object.keys(Ue);for(let Zt=0;Zt<xt.length;Zt++){const St=er.exec(xt[Zt]);let fn=St&&St[1];fn&&"removeListener"!==fn&&this[Ee].call(this,fn)}this[Ee].call(this,"removeListener")}if(cn)return this},Te(Ht[fe],pn),Te(Ht[z],dn),fr&&Te(Ht[Ee],fr),Or&&Te(Ht[q],Or),!0}let Pt=[];for(let Rt=0;Rt<Ae.length;Rt++)Pt[Rt]=Ut(Ae[Rt],Be);return Pt}function Hr(de,Ne){if(!Ne){const z=[];for(let q in de){const Ee=er.exec(q);let xe=Ee&&Ee[1];if(xe&&(!Ne||xe===Ne)){const et=de[q];if(et)for(let pt=0;pt<et.length;pt++)z.push(et[pt])}}return z}let Ae=Cn[Ne];Ae||(sr(Ne),Ae=Cn[Ne]);const Be=de[Ae[pe]],fe=de[Ae[re]];return Be?fe?Be.concat(fe):Be.slice():fe?fe.slice():[]}function hr(de,Ne){const Ae=de.Event;Ae&&Ae.prototype&&Ne.patchMethod(Ae.prototype,"stopImmediatePropagation",(Be=>function(fe,z){fe[un]=!0,Be&&Be.apply(fe,z)}))}function yi(de,Ne,Ae,Be,fe){const z=Zone.__symbol__(Be);if(Ne[z])return;const q=Ne[z]=Ne[Be];Ne[Be]=function(Ee,xe,et){return xe&&xe.prototype&&fe.forEach((function(pt){const $t=`${Ae}.${Be}::`+pt,at=xe.prototype;try{if(at.hasOwnProperty(pt)){const Dt=de.ObjectGetOwnPropertyDescriptor(at,pt);Dt&&Dt.value?(Dt.value=de.wrapWithCurrentZone(Dt.value,$t),de._redefineProperty(xe.prototype,pt,Dt)):at[pt]&&(at[pt]=de.wrapWithCurrentZone(at[pt],$t))}else at[pt]&&(at[pt]=de.wrapWithCurrentZone(at[pt],$t))}catch{}})),q.call(Ne,Ee,xe,et)},de.attachOriginToPatched(Ne[Be],q)}function Ir(de,Ne,Ae){if(!Ae||0===Ae.length)return Ne;const Be=Ae.filter((z=>z.target===de));if(!Be||0===Be.length)return Ne;const fe=Be[0].ignoreProperties;return Ne.filter((z=>-1===fe.indexOf(z)))}function Jn(de,Ne,Ae,Be){de&&Ce(de,Ir(de,Ne,Ae),Be)}function lr(de){return Object.getOwnPropertyNames(de).filter((Ne=>Ne.startsWith("on")&&Ne.length>2)).map((Ne=>Ne.substring(2)))}Zone.__load_patch("util",((de,Ne,Ae)=>{const Be=lr(de);Ae.patchOnProperties=Ce,Ae.patchMethod=Q,Ae.bindArguments=Ye,Ae.patchMacroTask=ae;const fe=Ne.__symbol__("BLACK_LISTED_EVENTS"),z=Ne.__symbol__("UNPATCHED_EVENTS");de[z]&&(de[fe]=de[z]),de[fe]&&(Ne[fe]=Ne[z]=de[fe]),Ae.patchEventPrototype=hr,Ae.patchEventTarget=Nn,Ae.isIEOrEdge=Xt,Ae.ObjectDefineProperty=J,Ae.ObjectGetOwnPropertyDescriptor=Ie,Ae.ObjectCreate=a,Ae.ArraySlice=b,Ae.patchClass=Oe,Ae.wrapWithCurrentZone=Z,Ae.filterProperties=Ir,Ae.attachOriginToPatched=Te,Ae._redefineProperty=Object.defineProperty,Ae.patchCallbacks=yi,Ae.getGlobalObjects=()=>({globalSources:Lr,zoneSymbolEventNames:Cn,eventNames:Be,isBrowser:Me,isMix:Je,isNode:Ge,TRUE_STR:re,FALSE_STR:pe,ZONE_SYMBOL_PREFIX:be,ADD_EVENT_LISTENER_STR:H,REMOVE_EVENT_LISTENER_STR:X})}));const Qr=Se("zoneTask");function _r(de,Ne,Ae,Be){let fe=null,z=null;Ae+=Be;const q={};function Ee(et){const pt=et.data;return pt.args[0]=function(){return et.invoke.apply(this,arguments)},pt.handleId=fe.apply(de,pt.args),et}function xe(et){return z.call(de,et.data.handleId)}fe=Q(de,Ne+=Be,(et=>function(pt,$t){if("function"==typeof $t[0]){const at={isPeriodic:"Interval"===Be,delay:"Timeout"===Be||"Interval"===Be?$t[1]||0:void 0,args:$t},Dt=$t[0];$t[0]=function(){try{return Dt.apply(this,arguments)}finally{at.isPeriodic||("number"==typeof at.handleId?delete q[at.handleId]:at.handleId&&(at.handleId[Qr]=null))}};const Yt=oe(Ne,$t[0],at,Ee,xe);if(!Yt)return Yt;const wn=Yt.data.handleId;return"number"==typeof wn?q[wn]=Yt:wn&&(wn[Qr]=Yt),wn&&wn.ref&&wn.unref&&"function"==typeof wn.ref&&"function"==typeof wn.unref&&(Yt.ref=wn.ref.bind(wn),Yt.unref=wn.unref.bind(wn)),"number"==typeof wn||wn?wn:Yt}return et.apply(de,$t)})),z=Q(de,Ae,(et=>function(pt,$t){const at=$t[0];let Dt;"number"==typeof at?Dt=q[at]:(Dt=at&&at[Qr],Dt||(Dt=at)),Dt&&"string"==typeof Dt.type?"notScheduled"!==Dt.state&&(Dt.cancelFn&&Dt.data.isPeriodic||0===Dt.runCount)&&("number"==typeof at?delete q[at]:at&&(at[Qr]=null),Dt.zone.cancelTask(Dt)):et.apply(de,$t)}))}Zone.__load_patch("legacy",(de=>{const Ne=de[Zone.__symbol__("legacyPatch")];Ne&&Ne()})),Zone.__load_patch("queueMicrotask",((de,Ne,Ae)=>{Ae.patchMethod(de,"queueMicrotask",(Be=>function(fe,z){Ne.current.scheduleMicroTask("queueMicrotask",z[0])}))})),Zone.__load_patch("timers",(de=>{const Ae="clear";_r(de,"set",Ae,"Timeout"),_r(de,"set",Ae,"Interval"),_r(de,"set",Ae,"Immediate")})),Zone.__load_patch("requestAnimationFrame",(de=>{_r(de,"request","cancel","AnimationFrame"),_r(de,"mozRequest","mozCancel","AnimationFrame"),_r(de,"webkitRequest","webkitCancel","AnimationFrame")})),Zone.__load_patch("blocking",((de,Ne)=>{const Ae=["alert","prompt","confirm"];for(let Be=0;Be<Ae.length;Be++)Q(de,Ae[Be],((z,q,Ee)=>function(xe,et){return Ne.current.run(z,de,et,Ee)}))})),Zone.__load_patch("EventTarget",((de,Ne,Ae)=>{(function ri(de,Ne){Ne.patchEventPrototype(de,Ne)})(de,Ae),function Yr(de,Ne){if(Zone[Ne.symbol("patchEventTarget")])return;const{eventNames:Ae,zoneSymbolEventNames:Be,TRUE_STR:fe,FALSE_STR:z,ZONE_SYMBOL_PREFIX:q}=Ne.getGlobalObjects();for(let xe=0;xe<Ae.length;xe++){const et=Ae[xe],at=q+(et+z),Dt=q+(et+fe);Be[et]={},Be[et][z]=at,Be[et][fe]=Dt}const Ee=de.EventTarget;Ee&&Ee.prototype&&Ne.patchEventTarget(de,Ne,[Ee&&Ee.prototype])}(de,Ae);const Be=de.XMLHttpRequestEventTarget;Be&&Be.prototype&&Ae.patchEventTarget(de,Ae,[Be.prototype])})),Zone.__load_patch("MutationObserver",((de,Ne,Ae)=>{Oe("MutationObserver"),Oe("WebKitMutationObserver")})),Zone.__load_patch("IntersectionObserver",((de,Ne,Ae)=>{Oe("IntersectionObserver")})),Zone.__load_patch("FileReader",((de,Ne,Ae)=>{Oe("FileReader")})),Zone.__load_patch("on_property",((de,Ne,Ae)=>{!function jr(de,Ne){if(Ge&&!Je||Zone[de.symbol("patchEvents")])return;const Ae=Ne.__Zone_ignore_on_properties;let Be=[];if(Me){const fe=window;Be=Be.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const z=function Kn(){try{const de=je.navigator.userAgent;if(-1!==de.indexOf("MSIE ")||-1!==de.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:fe,ignoreProperties:["error"]}]:[];Jn(fe,lr(fe),Ae&&Ae.concat(z),x(fe))}Be=Be.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let fe=0;fe<Be.length;fe++){const z=Ne[Be[fe]];z&&z.prototype&&Jn(z.prototype,lr(z.prototype),Ae)}}(Ae,de)})),Zone.__load_patch("customElements",((de,Ne,Ae)=>{!function qt(de,Ne){const{isBrowser:Ae,isMix:Be}=Ne.getGlobalObjects();(Ae||Be)&&de.customElements&&"customElements"in de&&Ne.patchCallbacks(Ne,de.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(de,Ae)})),Zone.__load_patch("XHR",((de,Ne)=>{!function xe(et){const pt=et.XMLHttpRequest;if(!pt)return;const $t=pt.prototype;let Dt=$t[K],Yt=$t[me];if(!Dt){const Bt=et.XMLHttpRequestEventTarget;if(Bt){const pn=Bt.prototype;Dt=pn[K],Yt=pn[me]}}const wn="readystatechange",Ut="scheduled";function Pt(Bt){const pn=Bt.data,dn=pn.target;dn[z]=!1,dn[Ee]=!1;const Or=dn[fe];Dt||(Dt=dn[K],Yt=dn[me]),Or&&Yt.call(dn,wn,Or);const fr=dn[fe]=()=>{if(dn.readyState===dn.DONE)if(!pn.aborted&&dn[z]&&Bt.state===Ut){const zn=dn[Ne.__symbol__("loadfalse")];if(0!==dn.status&&zn&&zn.length>0){const Dr=Bt.invoke;Bt.invoke=function(){const gn=dn[Ne.__symbol__("loadfalse")];for(let De=0;De<gn.length;De++)gn[De]===Bt&&gn.splice(De,1);!pn.aborted&&Bt.state===Ut&&Dr.call(Bt)},zn.push(Bt)}else Bt.invoke()}else!pn.aborted&&!1===dn[z]&&(dn[Ee]=!0)};return Dt.call(dn,wn,fr),dn[Ae]||(dn[Ae]=Bt),Ht.apply(dn,pn.args),dn[z]=!0,Bt}function Rt(){}function gt(Bt){const pn=Bt.data;return pn.aborted=!0,kn.apply(pn.target,pn.args)}const Fn=Q($t,"open",(()=>function(Bt,pn){return Bt[Be]=0==pn[2],Bt[q]=pn[1],Fn.apply(Bt,pn)})),At=Se("fetchTaskAborting"),cn=Se("fetchTaskScheduling"),Ht=Q($t,"send",(()=>function(Bt,pn){if(!0===Ne.current[cn]||Bt[Be])return Ht.apply(Bt,pn);{const dn={target:Bt,url:Bt[q],isPeriodic:!1,args:pn,aborted:!1},Or=oe("XMLHttpRequest.send",Rt,dn,Pt,gt);Bt&&!0===Bt[Ee]&&!dn.aborted&&Or.state===Ut&&Or.invoke()}})),kn=Q($t,"abort",(()=>function(Bt,pn){const dn=function at(Bt){return Bt[Ae]}(Bt);if(dn&&"string"==typeof dn.type){if(null==dn.cancelFn||dn.data&&dn.data.aborted)return;dn.zone.cancelTask(dn)}else if(!0===Ne.current[At])return kn.apply(Bt,pn)}))}(de);const Ae=Se("xhrTask"),Be=Se("xhrSync"),fe=Se("xhrListener"),z=Se("xhrScheduled"),q=Se("xhrURL"),Ee=Se("xhrErrorBeforeScheduled")})),Zone.__load_patch("geolocation",(de=>{de.navigator&&de.navigator.geolocation&&function Tt(de,Ne){const Ae=de.constructor.name;for(let Be=0;Be<Ne.length;Be++){const fe=Ne[Be],z=de[fe];if(z){if(!Ct(Ie(de,fe)))continue;de[fe]=(Ee=>{const xe=function(){return Ee.apply(this,Ye(arguments,Ae+"."+fe))};return Te(xe,Ee),xe})(z)}}}(de.navigator.geolocation,["getCurrentPosition","watchPosition"])})),Zone.__load_patch("PromiseRejectionEvent",((de,Ne)=>{function Ae(Be){return function(fe){Hr(de,Be).forEach((q=>{const Ee=de.PromiseRejectionEvent;if(Ee){const xe=new Ee(Be,{promise:fe.promise,reason:fe.rejection});q.invoke(xe)}}))}}de.PromiseRejectionEvent&&(Ne[Se("unhandledPromiseRejectionHandler")]=Ae("unhandledrejection"),Ne[Se("rejectionHandledHandler")]=Ae("rejectionhandled"))}))},5987:(Ie,J,x)=>{"use strict";function pe(Ce,Pe,Oe,Q){return new(Oe||(Oe=Promise))((function(Te,qe){function Et(_n){try{Xt(Q.next(_n))}catch(Tn){qe(Tn)}}function Kn(_n){try{Xt(Q.throw(_n))}catch(Tn){qe(Tn)}}function Xt(_n){_n.done?Te(_n.value):function ae(Te){return Te instanceof Oe?Te:new Oe((function(qe){qe(Te)}))}(_n.value).then(Et,Kn)}Xt((Q=Q.apply(Ce,Pe||[])).next())}))}function Ye(Ce){return this instanceof Ye?(this.v=Ce,this):new Ye(Ce)}function Tt(Ce,Pe,Oe){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ae,Q=Oe.apply(Ce,Pe||[]),Te=[];return ae={},qe("next"),qe("throw"),qe("return"),ae[Symbol.asyncIterator]=function(){return this},ae;function qe(Cn){Q[Cn]&&(ae[Cn]=function(Lr){return new Promise((function(er,un){Te.push([Cn,Lr,er,un])>1||Et(Cn,Lr)}))})}function Et(Cn,Lr){try{!function Kn(Cn){Cn.value instanceof Ye?Promise.resolve(Cn.value.v).then(Xt,_n):Tn(Te[0][2],Cn)}(Q[Cn](Lr))}catch(er){Tn(Te[0][3],er)}}function Xt(Cn){Et("next",Cn)}function _n(Cn){Et("throw",Cn)}function Tn(Cn,Lr){Cn(Lr),Te.shift(),Te.length&&Et(Te[0][0],Te[0][1])}}function ot(Ce){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Oe,Pe=Ce[Symbol.asyncIterator];return Pe?Pe.call(Ce):(Ce=function Se(Ce){var Pe="function"==typeof Symbol&&Symbol.iterator,Oe=Pe&&Ce[Pe],Q=0;if(Oe)return Oe.call(Ce);if(Ce&&"number"==typeof Ce.length)return{next:function(){return Ce&&Q>=Ce.length&&(Ce=void 0),{value:Ce&&Ce[Q++],done:!Ce}}};throw new TypeError(Pe?"Object is not iterable.":"Symbol.iterator is not defined.")}(Ce),Oe={},Q("next"),Q("throw"),Q("return"),Oe[Symbol.asyncIterator]=function(){return this},Oe);function Q(Te){Oe[Te]=Ce[Te]&&function(qe){return new Promise((function(Et,Kn){!function ae(Te,qe,Et,Kn){Promise.resolve(Kn).then((function(Xt){Te({value:Xt,done:Et})}),qe)}(Et,Kn,(qe=Ce[Te](qe)).done,qe.value)}))}}}x.d(J,{FC:()=>Tt,KL:()=>ot,mG:()=>pe,qq:()=>Ye})},7340:(Ie,J,x)=>{"use strict";x.d(J,{LC:()=>b,SB:()=>be,X$:()=>X,ZE:()=>Ct,ZN:()=>Tt,_j:()=>a,eR:()=>oe,jt:()=>K,k1:()=>ot,l3:()=>H,oB:()=>pe,vP:()=>re});class a{}class b{}const H="*";function X(Ge,Me){return{type:7,name:Ge,definitions:Me,options:{}}}function K(Ge,Me=null){return{type:4,styles:Me,timings:Ge}}function re(Ge,Me=null){return{type:2,steps:Ge,options:Me}}function pe(Ge){return{type:6,styles:Ge,offset:null}}function be(Ge,Me,Je){return{type:0,name:Ge,styles:Me,options:Je}}function oe(Ge,Me,Je=null){return{type:1,expr:Ge,animation:Me,options:Je}}function Ye(Ge){Promise.resolve().then(Ge)}class Tt{constructor(Me=0,Je=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=Me+Je}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach((Me=>Me())),this._onDoneFns=[])}onStart(Me){this._originalOnStartFns.push(Me),this._onStartFns.push(Me)}onDone(Me){this._originalOnDoneFns.push(Me),this._onDoneFns.push(Me)}onDestroy(Me){this._onDestroyFns.push(Me)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Ye((()=>this._onFinish()))}_onStart(){this._onStartFns.forEach((Me=>Me())),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach((Me=>Me())),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(Me){this._position=this.totalTime?Me*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(Me){const Je="start"==Me?this._onStartFns:this._onDoneFns;Je.forEach((Jt=>Jt())),Je.length=0}}class Ct{constructor(Me){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=Me;let Je=0,Jt=0,Nt=0;const vt=this.players.length;0==vt?Ye((()=>this._onFinish())):this.players.forEach((Ce=>{Ce.onDone((()=>{++Je==vt&&this._onFinish()})),Ce.onDestroy((()=>{++Jt==vt&&this._onDestroy()})),Ce.onStart((()=>{++Nt==vt&&this._onStart()}))})),this.totalTime=this.players.reduce(((Ce,Pe)=>Math.max(Ce,Pe.totalTime)),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach((Me=>Me())),this._onDoneFns=[])}init(){this.players.forEach((Me=>Me.init()))}onStart(Me){this._onStartFns.push(Me)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach((Me=>Me())),this._onStartFns=[])}onDone(Me){this._onDoneFns.push(Me)}onDestroy(Me){this._onDestroyFns.push(Me)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach((Me=>Me.play()))}pause(){this.players.forEach((Me=>Me.pause()))}restart(){this.players.forEach((Me=>Me.restart()))}finish(){this._onFinish(),this.players.forEach((Me=>Me.finish()))}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach((Me=>Me.destroy())),this._onDestroyFns.forEach((Me=>Me())),this._onDestroyFns=[])}reset(){this.players.forEach((Me=>Me.reset())),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(Me){const Je=Me*this.totalTime;this.players.forEach((Jt=>{const Nt=Jt.totalTime?Math.min(1,Je/Jt.totalTime):1;Jt.setPosition(Nt)}))}getPosition(){const Me=this.players.reduce(((Je,Jt)=>null===Je||Jt.totalTime>Je.totalTime?Jt:Je),null);return null!=Me?Me.getPosition():0}beforeDestroy(){this.players.forEach((Me=>{Me.beforeDestroy&&Me.beforeDestroy()}))}triggerCallback(Me){const Je="start"==Me?this._onStartFns:this._onDoneFns;Je.forEach((Jt=>Jt())),Je.length=0}}const ot="!"},6895:(Ie,J,x)=>{"use strict";x.d(J,{Do:()=>ot,EM:()=>Xr,HT:()=>K,JF:()=>es,K0:()=>re,Mx:()=>tr,NF:()=>cs,O5:()=>di,PC:()=>We,S$:()=>Ye,V_:()=>Z,Ye:()=>Ge,b0:()=>Ct,bD:()=>mo,ez:()=>Cs,mk:()=>pr,mr:()=>Tt,q:()=>H,sg:()=>Pn,tP:()=>lt,w_:()=>me});var a=x(1571);let b=null;function H(){return b}function K(C){b||(b=C)}class me{}const re=new a.OlP("DocumentToken");let pe=(()=>{class C{historyGo(D){throw new Error("Not implemented")}}return C.ɵfac=function(D){return new(D||C)},C.ɵprov=a.Yz7({token:C,factory:function(){return function be(){return(0,a.LFG)(oe)}()},providedIn:"platform"}),C})();const Z=new a.OlP("Location Initialized");let oe=(()=>{class C extends pe{constructor(D){super(),this._doc=D,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return H().getBaseHref(this._doc)}onPopState(D){const N=H().getGlobalEventTarget(this._doc,"window");return N.addEventListener("popstate",D,!1),()=>N.removeEventListener("popstate",D)}onHashChange(D){const N=H().getGlobalEventTarget(this._doc,"window");return N.addEventListener("hashchange",D,!1),()=>N.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,N,ce){Se()?this._history.pushState(D,N,ce):this.location.hash=ce}replaceState(D,N,ce){Se()?this._history.replaceState(D,N,ce):this.location.hash=ce}forward(){this._history.forward()}back(){this._history.back()}historyGo(D=0){this._history.go(D)}getState(){return this._history.state}}return C.ɵfac=function(D){return new(D||C)(a.LFG(re))},C.ɵprov=a.Yz7({token:C,factory:function(){return function Ze(){return new oe((0,a.LFG)(re))}()},providedIn:"platform"}),C})();function Se(){return!!window.history.pushState}function je(C,O){if(0==C.length)return O;if(0==O.length)return C;let D=0;return C.endsWith("/")&&D++,O.startsWith("/")&&D++,2==D?C+O.substring(1):1==D?C+O:C+"/"+O}function it(C){const O=C.match(/#|\?|$/),D=O&&O.index||C.length;return C.slice(0,D-("/"===C[D-1]?1:0))+C.slice(D)}function It(C){return C&&"?"!==C[0]?"?"+C:C}let Ye=(()=>{class C{historyGo(D){throw new Error("Not implemented")}}return C.ɵfac=function(D){return new(D||C)},C.ɵprov=a.Yz7({token:C,factory:function(){return(0,a.f3M)(Ct)},providedIn:"root"}),C})();const Tt=new a.OlP("appBaseHref");let Ct=(()=>{class C extends Ye{constructor(D,N){super(),this._platformLocation=D,this._removeListenerFns=[],this._baseHref=N??this._platformLocation.getBaseHrefFromDOM()??(0,a.f3M)(re).location?.origin??""}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 je(this._baseHref,D)}path(D=!1){const N=this._platformLocation.pathname+It(this._platformLocation.search),ce=this._platformLocation.hash;return ce&&D?`${N}${ce}`:N}pushState(D,N,ce,$e){const rt=this.prepareExternalUrl(ce+It($e));this._platformLocation.pushState(D,N,rt)}replaceState(D,N,ce,$e){const rt=this.prepareExternalUrl(ce+It($e));this._platformLocation.replaceState(D,N,rt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(D=0){this._platformLocation.historyGo?.(D)}}return C.ɵfac=function(D){return new(D||C)(a.LFG(pe),a.LFG(Tt,8))},C.ɵprov=a.Yz7({token:C,factory:C.ɵfac,providedIn:"root"}),C})(),ot=(()=>{class C extends Ye{constructor(D,N){super(),this._platformLocation=D,this._baseHref="",this._removeListenerFns=[],null!=N&&(this._baseHref=N)}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 N=this._platformLocation.hash;return null==N&&(N="#"),N.length>0?N.substring(1):N}prepareExternalUrl(D){const N=je(this._baseHref,D);return N.length>0?"#"+N:N}pushState(D,N,ce,$e){let rt=this.prepareExternalUrl(ce+It($e));0==rt.length&&(rt=this._platformLocation.pathname),this._platformLocation.pushState(D,N,rt)}replaceState(D,N,ce,$e){let rt=this.prepareExternalUrl(ce+It($e));0==rt.length&&(rt=this._platformLocation.pathname),this._platformLocation.replaceState(D,N,rt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(D=0){this._platformLocation.historyGo?.(D)}}return C.ɵfac=function(D){return new(D||C)(a.LFG(pe),a.LFG(Tt,8))},C.ɵprov=a.Yz7({token:C,factory:C.ɵfac}),C})(),Ge=(()=>{class C{constructor(D){this._subject=new a.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=D;const N=this._locationStrategy.getBaseHref();this._baseHref=it(Jt(N)),this._locationStrategy.onPopState((ce=>{this._subject.emit({url:this.path(!0),pop:!0,state:ce.state,type:ce.type})}))}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(D=!1){return this.normalize(this._locationStrategy.path(D))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(D,N=""){return this.path()==this.normalize(D+It(N))}normalize(D){return C.stripTrailingSlash(function Je(C,O){return C&&O.startsWith(C)?O.substring(C.length):O}(this._baseHref,Jt(D)))}prepareExternalUrl(D){return D&&"/"!==D[0]&&(D="/"+D),this._locationStrategy.prepareExternalUrl(D)}go(D,N="",ce=null){this._locationStrategy.pushState(ce,"",D,N),this._notifyUrlChangeListeners(this.prepareExternalUrl(D+It(N)),ce)}replaceState(D,N="",ce=null){this._locationStrategy.replaceState(ce,"",D,N),this._notifyUrlChangeListeners(this.prepareExternalUrl(D+It(N)),ce)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(D=0){this._locationStrategy.historyGo?.(D)}onUrlChange(D){return this._urlChangeListeners.push(D),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe((N=>{this._notifyUrlChangeListeners(N.url,N.state)}))),()=>{const N=this._urlChangeListeners.indexOf(D);this._urlChangeListeners.splice(N,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(D="",N){this._urlChangeListeners.forEach((ce=>ce(D,N)))}subscribe(D,N,ce){return this._subject.subscribe({next:D,error:N,complete:ce})}}return C.normalizeQueryParams=It,C.joinWithSlash=je,C.stripTrailingSlash=it,C.ɵfac=function(D){return new(D||C)(a.LFG(Ye))},C.ɵprov=a.Yz7({token:C,factory:function(){return function Me(){return new Ge((0,a.LFG)(Ye))}()},providedIn:"root"}),C})();function Jt(C){return C.replace(/\/index.html$/,"")}function tr(C,O){O=encodeURIComponent(O);for(const D of C.split(";")){const N=D.indexOf("="),[ce,$e]=-1==N?[D,""]:[D.slice(0,N),D.slice(N+1)];if(ce.trim()===O)return decodeURIComponent($e)}return null}let pr=(()=>{class C{constructor(D,N,ce,$e){this._iterableDiffers=D,this._keyValueDiffers=N,this._ngEl=ce,this._renderer=$e,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,a.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((N=>this._toggleClass(N.key,N.currentValue))),D.forEachChangedItem((N=>this._toggleClass(N.key,N.currentValue))),D.forEachRemovedItem((N=>{N.previousValue&&this._toggleClass(N.key,!1)}))}_applyIterableChanges(D){D.forEachAddedItem((N=>{if("string"!=typeof N.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,a.AaK)(N.item)}`);this._toggleClass(N.item,!0)})),D.forEachRemovedItem((N=>this._toggleClass(N.item,!1)))}_applyClasses(D){D&&(Array.isArray(D)||D instanceof Set?D.forEach((N=>this._toggleClass(N,!0))):Object.keys(D).forEach((N=>this._toggleClass(N,!!D[N]))))}_removeClasses(D){D&&(Array.isArray(D)||D instanceof Set?D.forEach((N=>this._toggleClass(N,!1))):Object.keys(D).forEach((N=>this._toggleClass(N,!1))))}_toggleClass(D,N){(D=D.trim())&&D.split(/\s+/g).forEach((ce=>{N?this._renderer.addClass(this._ngEl.nativeElement,ce):this._renderer.removeClass(this._ngEl.nativeElement,ce)}))}}return C.ɵfac=function(D){return new(D||C)(a.Y36(a.ZZ4),a.Y36(a.aQg),a.Y36(a.SBq),a.Y36(a.Qsj))},C.ɵdir=a.lG2({type:C,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),C})();class Si{constructor(O,D,N,ce){this.$implicit=O,this.ngForOf=D,this.index=N,this.count=ce}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 Pn=(()=>{class C{constructor(D,N,ce){this._viewContainer=D,this._template=N,this._differs=ce,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 N=this._viewContainer;D.forEachOperation(((ce,$e,rt)=>{if(null==ce.previousIndex)N.createEmbeddedView(this._template,new Si(ce.item,this._ngForOf,-1,-1),null===rt?void 0:rt);else if(null==rt)N.remove(null===$e?void 0:$e);else if(null!==$e){const Gt=N.get($e);N.move(Gt,rt),ui(Gt,ce)}}));for(let ce=0,$e=N.length;ce<$e;ce++){const Gt=N.get(ce).context;Gt.index=ce,Gt.count=$e,Gt.ngForOf=this._ngForOf}D.forEachIdentityChange((ce=>{ui(N.get(ce.currentIndex),ce)}))}static ngTemplateContextGuard(D,N){return!0}}return C.ɵfac=function(D){return new(D||C)(a.Y36(a.s_b),a.Y36(a.Rgc),a.Y36(a.ZZ4))},C.ɵdir=a.lG2({type:C,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),C})();function ui(C,O){C.context.$implicit=O.item}let di=(()=>{class C{constructor(D,N){this._viewContainer=D,this._context=new $i,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=N}set ngIf(D){this._context.$implicit=this._context.ngIf=D,this._updateView()}set ngIfThen(D){vi("ngIfThen",D),this._thenTemplateRef=D,this._thenViewRef=null,this._updateView()}set ngIfElse(D){vi("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,N){return!0}}return C.ɵfac=function(D){return new(D||C)(a.Y36(a.s_b),a.Y36(a.Rgc))},C.ɵdir=a.lG2({type:C,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),C})();class $i{constructor(){this.$implicit=null,this.ngIf=null}}function vi(C,O){if(O&&!O.createEmbeddedView)throw new Error(`${C} must be a TemplateRef, but received '${(0,a.AaK)(O)}'.`)}let We=(()=>{class C{constructor(D,N,ce){this._ngEl=D,this._differs=N,this._renderer=ce,this._ngStyle=null,this._differ=null}set ngStyle(D){this._ngStyle=D,!this._differ&&D&&(this._differ=this._differs.find(D).create())}ngDoCheck(){if(this._differ){const D=this._differ.diff(this._ngStyle);D&&this._applyChanges(D)}}_setStyle(D,N){const[ce,$e]=D.split("."),rt=-1===ce.indexOf("-")?void 0:a.JOm.DashCase;null!=N?this._renderer.setStyle(this._ngEl.nativeElement,ce,$e?`${N}${$e}`:N,rt):this._renderer.removeStyle(this._ngEl.nativeElement,ce,rt)}_applyChanges(D){D.forEachRemovedItem((N=>this._setStyle(N.key,null))),D.forEachAddedItem((N=>this._setStyle(N.key,N.currentValue))),D.forEachChangedItem((N=>this._setStyle(N.key,N.currentValue)))}}return C.ɵfac=function(D){return new(D||C)(a.Y36(a.SBq),a.Y36(a.aQg),a.Y36(a.Qsj))},C.ɵdir=a.lG2({type:C,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),C})(),lt=(()=>{class C{constructor(D){this._viewContainerRef=D,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(D){if(D.ngTemplateOutlet||D.ngTemplateOutletInjector){const N=this._viewContainerRef;if(this._viewRef&&N.remove(N.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:ce,ngTemplateOutletContext:$e,ngTemplateOutletInjector:rt}=this;this._viewRef=N.createEmbeddedView(ce,$e,rt?{injector:rt}:void 0)}else this._viewRef=null}else this._viewRef&&D.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return C.ɵfac=function(D){return new(D||C)(a.Y36(a.s_b))},C.ɵdir=a.lG2({type:C,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[a.TTD]}),C})(),Cs=(()=>{class C{}return C.ɵfac=function(D){return new(D||C)},C.ɵmod=a.oAB({type:C}),C.ɵinj=a.cJS({}),C})();const mo="browser";function cs(C){return C===mo}let Xr=(()=>{class C{}return C.ɵprov=(0,a.Yz7)({token:C,providedIn:"root",factory:()=>new Gr((0,a.LFG)(re),window)}),C})();class Gr{constructor(O,D){this.document=O,this.window=D,this.offset=()=>[0,0]}setOffset(O){this.offset=Array.isArray(O)?()=>O:O}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(O){this.supportsScrolling()&&this.window.scrollTo(O[0],O[1])}scrollToAnchor(O){if(!this.supportsScrolling())return;const D=function Uo(C,O){const D=C.getElementById(O)||C.getElementsByName(O)[0];if(D)return D;if("function"==typeof C.createTreeWalker&&C.body&&(C.body.createShadowRoot||C.body.attachShadow)){const N=C.createTreeWalker(C.body,NodeFilter.SHOW_ELEMENT);let ce=N.currentNode;for(;ce;){const $e=ce.shadowRoot;if($e){const rt=$e.getElementById(O)||$e.querySelector(`[name="${O}"]`);if(rt)return rt}ce=N.nextNode()}}return null}(this.document,O);D&&(this.scrollToElement(D),D.focus())}setHistoryScrollRestoration(O){if(this.supportScrollRestoration()){const D=this.window.history;D&&D.scrollRestoration&&(D.scrollRestoration=O)}}scrollToElement(O){const D=O.getBoundingClientRect(),N=D.left+this.window.pageXOffset,ce=D.top+this.window.pageYOffset,$e=this.offset();this.window.scrollTo(N-$e[0],ce-$e[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const O=lo(this.window.history)||lo(Object.getPrototypeOf(this.window.history));return!(!O||!O.writable&&!O.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function lo(C){return Object.getOwnPropertyDescriptor(C,"scrollRestoration")}class es{}},529:(Ie,J,x)=>{"use strict";x.d(J,{JF:()=>Ne,WM:()=>Z,eN:()=>qe});var a=x(6895),b=x(1571),H=x(9646),X=x(9751),K=x(4351),me=x(9300),re=x(4004);class pe{}class be{}class Z{constructor(z){this.normalizedNames=new Map,this.lazyUpdate=null,z?this.lazyInit="string"==typeof z?()=>{this.headers=new Map,z.split("\n").forEach((q=>{const Ee=q.indexOf(":");if(Ee>0){const xe=q.slice(0,Ee),et=xe.toLowerCase(),pt=q.slice(Ee+1).trim();this.maybeSetNormalizedName(xe,et),this.headers.has(et)?this.headers.get(et).push(pt):this.headers.set(et,[pt])}}))}:()=>{this.headers=new Map,Object.keys(z).forEach((q=>{let Ee=z[q];const xe=q.toLowerCase();"string"==typeof Ee&&(Ee=[Ee]),Ee.length>0&&(this.headers.set(xe,Ee),this.maybeSetNormalizedName(q,xe))}))}:this.headers=new Map}has(z){return this.init(),this.headers.has(z.toLowerCase())}get(z){this.init();const q=this.headers.get(z.toLowerCase());return q&&q.length>0?q[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(z){return this.init(),this.headers.get(z.toLowerCase())||null}append(z,q){return this.clone({name:z,value:q,op:"a"})}set(z,q){return this.clone({name:z,value:q,op:"s"})}delete(z,q){return this.clone({name:z,value:q,op:"d"})}maybeSetNormalizedName(z,q){this.normalizedNames.has(q)||this.normalizedNames.set(q,z)}init(){this.lazyInit&&(this.lazyInit instanceof Z?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach((z=>this.applyUpdate(z))),this.lazyUpdate=null))}copyFrom(z){z.init(),Array.from(z.headers.keys()).forEach((q=>{this.headers.set(q,z.headers.get(q)),this.normalizedNames.set(q,z.normalizedNames.get(q))}))}clone(z){const q=new Z;return q.lazyInit=this.lazyInit&&this.lazyInit instanceof Z?this.lazyInit:this,q.lazyUpdate=(this.lazyUpdate||[]).concat([z]),q}applyUpdate(z){const q=z.name.toLowerCase();switch(z.op){case"a":case"s":let Ee=z.value;if("string"==typeof Ee&&(Ee=[Ee]),0===Ee.length)return;this.maybeSetNormalizedName(z.name,q);const xe=("a"===z.op?this.headers.get(q):void 0)||[];xe.push(...Ee),this.headers.set(q,xe);break;case"d":const et=z.value;if(et){let pt=this.headers.get(q);if(!pt)return;pt=pt.filter(($t=>-1===et.indexOf($t))),0===pt.length?(this.headers.delete(q),this.normalizedNames.delete(q)):this.headers.set(q,pt)}else this.headers.delete(q),this.normalizedNames.delete(q)}}forEach(z){this.init(),Array.from(this.normalizedNames.keys()).forEach((q=>z(this.normalizedNames.get(q),this.headers.get(q))))}}class Se{encodeKey(z){return It(z)}encodeValue(z){return It(z)}decodeKey(z){return decodeURIComponent(z)}decodeValue(z){return decodeURIComponent(z)}}const je=/%(\d[a-f0-9])/gi,it={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function It(fe){return encodeURIComponent(fe).replace(je,((z,q)=>it[q]??z))}function Ye(fe){return`${fe}`}class Tt{constructor(z={}){if(this.updates=null,this.cloneFrom=null,this.encoder=z.encoder||new Se,z.fromString){if(z.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Ze(fe,z){const q=new Map;return fe.length>0&&fe.replace(/^\?/,"").split("&").forEach((xe=>{const et=xe.indexOf("="),[pt,$t]=-1==et?[z.decodeKey(xe),""]:[z.decodeKey(xe.slice(0,et)),z.decodeValue(xe.slice(et+1))],at=q.get(pt)||[];at.push($t),q.set(pt,at)})),q}(z.fromString,this.encoder)}else z.fromObject?(this.map=new Map,Object.keys(z.fromObject).forEach((q=>{const Ee=z.fromObject[q],xe=Array.isArray(Ee)?Ee.map(Ye):[Ye(Ee)];this.map.set(q,xe)}))):this.map=null}has(z){return this.init(),this.map.has(z)}get(z){this.init();const q=this.map.get(z);return q?q[0]:null}getAll(z){return this.init(),this.map.get(z)||null}keys(){return this.init(),Array.from(this.map.keys())}append(z,q){return this.clone({param:z,value:q,op:"a"})}appendAll(z){const q=[];return Object.keys(z).forEach((Ee=>{const xe=z[Ee];Array.isArray(xe)?xe.forEach((et=>{q.push({param:Ee,value:et,op:"a"})})):q.push({param:Ee,value:xe,op:"a"})})),this.clone(q)}set(z,q){return this.clone({param:z,value:q,op:"s"})}delete(z,q){return this.clone({param:z,value:q,op:"d"})}toString(){return this.init(),this.keys().map((z=>{const q=this.encoder.encodeKey(z);return this.map.get(z).map((Ee=>q+"="+this.encoder.encodeValue(Ee))).join("&")})).filter((z=>""!==z)).join("&")}clone(z){const q=new Tt({encoder:this.encoder});return q.cloneFrom=this.cloneFrom||this,q.updates=(this.updates||[]).concat(z),q}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach((z=>this.map.set(z,this.cloneFrom.map.get(z)))),this.updates.forEach((z=>{switch(z.op){case"a":case"s":const q=("a"===z.op?this.map.get(z.param):void 0)||[];q.push(Ye(z.value)),this.map.set(z.param,q);break;case"d":if(void 0===z.value){this.map.delete(z.param);break}{let Ee=this.map.get(z.param)||[];const xe=Ee.indexOf(Ye(z.value));-1!==xe&&Ee.splice(xe,1),Ee.length>0?this.map.set(z.param,Ee):this.map.delete(z.param)}}})),this.cloneFrom=this.updates=null)}}class ot{constructor(){this.map=new Map}set(z,q){return this.map.set(z,q),this}get(z){return this.map.has(z)||this.map.set(z,z.defaultValue()),this.map.get(z)}delete(z){return this.map.delete(z),this}has(z){return this.map.has(z)}keys(){return this.map.keys()}}function Me(fe){return typeof ArrayBuffer<"u"&&fe instanceof ArrayBuffer}function Je(fe){return typeof Blob<"u"&&fe instanceof Blob}function Jt(fe){return typeof FormData<"u"&&fe instanceof FormData}class vt{constructor(z,q,Ee,xe){let et;if(this.url=q,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=z.toUpperCase(),function Ge(fe){switch(fe){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||xe?(this.body=void 0!==Ee?Ee:null,et=xe):et=Ee,et&&(this.reportProgress=!!et.reportProgress,this.withCredentials=!!et.withCredentials,et.responseType&&(this.responseType=et.responseType),et.headers&&(this.headers=et.headers),et.context&&(this.context=et.context),et.params&&(this.params=et.params)),this.headers||(this.headers=new Z),this.context||(this.context=new ot),this.params){const pt=this.params.toString();if(0===pt.length)this.urlWithParams=q;else{const $t=q.indexOf("?");this.urlWithParams=q+(-1===$t?"?":$t<q.length-1?"&":"")+pt}}else this.params=new Tt,this.urlWithParams=q}serializeBody(){return null===this.body?null:Me(this.body)||Je(this.body)||Jt(this.body)||function Nt(fe){return typeof URLSearchParams<"u"&&fe instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof Tt?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||Jt(this.body)?null:Je(this.body)?this.body.type||null:Me(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Tt?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(z={}){const q=z.method||this.method,Ee=z.url||this.url,xe=z.responseType||this.responseType,et=void 0!==z.body?z.body:this.body,pt=void 0!==z.withCredentials?z.withCredentials:this.withCredentials,$t=void 0!==z.reportProgress?z.reportProgress:this.reportProgress;let at=z.headers||this.headers,Dt=z.params||this.params;const Yt=z.context??this.context;return void 0!==z.setHeaders&&(at=Object.keys(z.setHeaders).reduce(((wn,Ut)=>wn.set(Ut,z.setHeaders[Ut])),at)),z.setParams&&(Dt=Object.keys(z.setParams).reduce(((wn,Ut)=>wn.set(Ut,z.setParams[Ut])),Dt)),new vt(q,Ee,et,{params:Dt,headers:at,context:Yt,reportProgress:$t,responseType:xe,withCredentials:pt})}}var Ce=(()=>((Ce=Ce||{})[Ce.Sent=0]="Sent",Ce[Ce.UploadProgress=1]="UploadProgress",Ce[Ce.ResponseHeader=2]="ResponseHeader",Ce[Ce.DownloadProgress=3]="DownloadProgress",Ce[Ce.Response=4]="Response",Ce[Ce.User=5]="User",Ce))();class Pe{constructor(z,q=200,Ee="OK"){this.headers=z.headers||new Z,this.status=void 0!==z.status?z.status:q,this.statusText=z.statusText||Ee,this.url=z.url||null,this.ok=this.status>=200&&this.status<300}}class Oe extends Pe{constructor(z={}){super(z),this.type=Ce.ResponseHeader}clone(z={}){return new Oe({headers:z.headers||this.headers,status:void 0!==z.status?z.status:this.status,statusText:z.statusText||this.statusText,url:z.url||this.url||void 0})}}class Q extends Pe{constructor(z={}){super(z),this.type=Ce.Response,this.body=void 0!==z.body?z.body:null}clone(z={}){return new Q({body:void 0!==z.body?z.body:this.body,headers:z.headers||this.headers,status:void 0!==z.status?z.status:this.status,statusText:z.statusText||this.statusText,url:z.url||this.url||void 0})}}class ae extends Pe{constructor(z){super(z,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${z.url||"(unknown url)"}`:`Http failure response for ${z.url||"(unknown url)"}: ${z.status} ${z.statusText}`,this.error=z.error||null}}function Te(fe,z){return{body:z,headers:fe.headers,context:fe.context,observe:fe.observe,params:fe.params,reportProgress:fe.reportProgress,responseType:fe.responseType,withCredentials:fe.withCredentials}}let qe=(()=>{class fe{constructor(q){this.handler=q}request(q,Ee,xe={}){let et;if(q instanceof vt)et=q;else{let at,Dt;at=xe.headers instanceof Z?xe.headers:new Z(xe.headers),xe.params&&(Dt=xe.params instanceof Tt?xe.params:new Tt({fromObject:xe.params})),et=new vt(q,Ee,void 0!==xe.body?xe.body:null,{headers:at,context:xe.context,params:Dt,reportProgress:xe.reportProgress,responseType:xe.responseType||"json",withCredentials:xe.withCredentials})}const pt=(0,H.of)(et).pipe((0,K.b)((at=>this.handler.handle(at))));if(q instanceof vt||"events"===xe.observe)return pt;const $t=pt.pipe((0,me.h)((at=>at instanceof Q)));switch(xe.observe||"body"){case"body":switch(et.responseType){case"arraybuffer":return $t.pipe((0,re.U)((at=>{if(null!==at.body&&!(at.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return at.body})));case"blob":return $t.pipe((0,re.U)((at=>{if(null!==at.body&&!(at.body instanceof Blob))throw new Error("Response is not a Blob.");return at.body})));case"text":return $t.pipe((0,re.U)((at=>{if(null!==at.body&&"string"!=typeof at.body)throw new Error("Response is not a string.");return at.body})));default:return $t.pipe((0,re.U)((at=>at.body)))}case"response":return $t;default:throw new Error(`Unreachable: unhandled observe type ${xe.observe}}`)}}delete(q,Ee={}){return this.request("DELETE",q,Ee)}get(q,Ee={}){return this.request("GET",q,Ee)}head(q,Ee={}){return this.request("HEAD",q,Ee)}jsonp(q,Ee){return this.request("JSONP",q,{params:(new Tt).append(Ee,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(q,Ee={}){return this.request("OPTIONS",q,Ee)}patch(q,Ee,xe={}){return this.request("PATCH",q,Te(xe,Ee))}post(q,Ee,xe={}){return this.request("POST",q,Te(xe,Ee))}put(q,Ee,xe={}){return this.request("PUT",q,Te(xe,Ee))}}return fe.ɵfac=function(q){return new(q||fe)(b.LFG(pe))},fe.ɵprov=b.Yz7({token:fe,factory:fe.ɵfac}),fe})();class Et{constructor(z,q){this.next=z,this.interceptor=q}handle(z){return this.interceptor.intercept(z,this.next)}}const Kn=new b.OlP("HTTP_INTERCEPTORS");let Xt=(()=>{class fe{intercept(q,Ee){return Ee.handle(q)}}return fe.ɵfac=function(q){return new(q||fe)},fe.ɵprov=b.Yz7({token:fe,factory:fe.ɵfac}),fe})();const hr=/^\)\]\}',?\n/;let Ir=(()=>{class fe{constructor(q){this.xhrFactory=q}handle(q){if("JSONP"===q.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new X.y((Ee=>{const xe=this.xhrFactory.build();if(xe.open(q.method,q.urlWithParams),q.withCredentials&&(xe.withCredentials=!0),q.headers.forEach(((Pt,Rt)=>xe.setRequestHeader(Pt,Rt.join(",")))),q.headers.has("Accept")||xe.setRequestHeader("Accept","application/json, text/plain, */*"),!q.headers.has("Content-Type")){const Pt=q.detectContentTypeHeader();null!==Pt&&xe.setRequestHeader("Content-Type",Pt)}if(q.responseType){const Pt=q.responseType.toLowerCase();xe.responseType="json"!==Pt?Pt:"text"}const et=q.serializeBody();let pt=null;const $t=()=>{if(null!==pt)return pt;const Pt=xe.statusText||"OK",Rt=new Z(xe.getAllResponseHeaders()),gt=function yi(fe){return"responseURL"in fe&&fe.responseURL?fe.responseURL:/^X-Request-URL:/m.test(fe.getAllResponseHeaders())?fe.getResponseHeader("X-Request-URL"):null}(xe)||q.url;return pt=new Oe({headers:Rt,status:xe.status,statusText:Pt,url:gt}),pt},at=()=>{let{headers:Pt,status:Rt,statusText:gt,url:Fn}=$t(),Kt=null;204!==Rt&&(Kt=typeof xe.response>"u"?xe.responseText:xe.response),0===Rt&&(Rt=Kt?200:0);let At=Rt>=200&&Rt<300;if("json"===q.responseType&&"string"==typeof Kt){const cn=Kt;Kt=Kt.replace(hr,"");try{Kt=""!==Kt?JSON.parse(Kt):null}catch(Ht){Kt=cn,At&&(At=!1,Kt={error:Ht,text:Kt})}}At?(Ee.next(new Q({body:Kt,headers:Pt,status:Rt,statusText:gt,url:Fn||void 0})),Ee.complete()):Ee.error(new ae({error:Kt,headers:Pt,status:Rt,statusText:gt,url:Fn||void 0}))},Dt=Pt=>{const{url:Rt}=$t(),gt=new ae({error:Pt,status:xe.status||0,statusText:xe.statusText||"Unknown Error",url:Rt||void 0});Ee.error(gt)};let Yt=!1;const wn=Pt=>{Yt||(Ee.next($t()),Yt=!0);let Rt={type:Ce.DownloadProgress,loaded:Pt.loaded};Pt.lengthComputable&&(Rt.total=Pt.total),"text"===q.responseType&&!!xe.responseText&&(Rt.partialText=xe.responseText),Ee.next(Rt)},Ut=Pt=>{let Rt={type:Ce.UploadProgress,loaded:Pt.loaded};Pt.lengthComputable&&(Rt.total=Pt.total),Ee.next(Rt)};return xe.addEventListener("load",at),xe.addEventListener("error",Dt),xe.addEventListener("timeout",Dt),xe.addEventListener("abort",Dt),q.reportProgress&&(xe.addEventListener("progress",wn),null!==et&&xe.upload&&xe.upload.addEventListener("progress",Ut)),xe.send(et),Ee.next({type:Ce.Sent}),()=>{xe.removeEventListener("error",Dt),xe.removeEventListener("abort",Dt),xe.removeEventListener("load",at),xe.removeEventListener("timeout",Dt),q.reportProgress&&(xe.removeEventListener("progress",wn),null!==et&&xe.upload&&xe.upload.removeEventListener("progress",Ut)),xe.readyState!==xe.DONE&&xe.abort()}}))}}return fe.ɵfac=function(q){return new(q||fe)(b.LFG(a.JF))},fe.ɵprov=b.Yz7({token:fe,factory:fe.ɵfac}),fe})();const Jn=new b.OlP("XSRF_COOKIE_NAME"),lr=new b.OlP("XSRF_HEADER_NAME");class jr{}let Qr=(()=>{class fe{constructor(q,Ee,xe){this.doc=q,this.platform=Ee,this.cookieName=xe,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const q=this.doc.cookie||"";return q!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,a.Mx)(q,this.cookieName),this.lastCookieString=q),this.lastToken}}return fe.ɵfac=function(q){return new(q||fe)(b.LFG(a.K0),b.LFG(b.Lbi),b.LFG(Jn))},fe.ɵprov=b.Yz7({token:fe,factory:fe.ɵfac}),fe})(),_r=(()=>{class fe{constructor(q,Ee){this.tokenService=q,this.headerName=Ee}intercept(q,Ee){const xe=q.url.toLowerCase();if("GET"===q.method||"HEAD"===q.method||xe.startsWith("http://")||xe.startsWith("https://"))return Ee.handle(q);const et=this.tokenService.getToken();return null!==et&&!q.headers.has(this.headerName)&&(q=q.clone({headers:q.headers.set(this.headerName,et)})),Ee.handle(q)}}return fe.ɵfac=function(q){return new(q||fe)(b.LFG(jr),b.LFG(lr))},fe.ɵprov=b.Yz7({token:fe,factory:fe.ɵfac}),fe})(),qt=(()=>{class fe{constructor(q,Ee){this.backend=q,this.injector=Ee,this.chain=null}handle(q){if(null===this.chain){const Ee=this.injector.get(Kn,[]);this.chain=Ee.reduceRight(((xe,et)=>new Et(xe,et)),this.backend)}return this.chain.handle(q)}}return fe.ɵfac=function(q){return new(q||fe)(b.LFG(be),b.LFG(b.zs3))},fe.ɵprov=b.Yz7({token:fe,factory:fe.ɵfac}),fe})(),de=(()=>{class fe{static disable(){return{ngModule:fe,providers:[{provide:_r,useClass:Xt}]}}static withOptions(q={}){return{ngModule:fe,providers:[q.cookieName?{provide:Jn,useValue:q.cookieName}:[],q.headerName?{provide:lr,useValue:q.headerName}:[]]}}}return fe.ɵfac=function(q){return new(q||fe)},fe.ɵmod=b.oAB({type:fe}),fe.ɵinj=b.cJS({providers:[_r,{provide:Kn,useExisting:_r,multi:!0},{provide:jr,useClass:Qr},{provide:Jn,useValue:"XSRF-TOKEN"},{provide:lr,useValue:"X-XSRF-TOKEN"}]}),fe})(),Ne=(()=>{class fe{}return fe.ɵfac=function(q){return new(q||fe)},fe.ɵmod=b.oAB({type:fe}),fe.ɵinj=b.cJS({providers:[qe,{provide:pe,useClass:qt},Ir,{provide:be,useExisting:Ir}],imports:[de.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]}),fe})()},1571:(Ie,J,x)=>{"use strict";x.d(J,{QbO:()=>Hb,tb:()=>vC,AFp:()=>mC,ip1:()=>gC,CZH:()=>Nh,hGG:()=>PD,z2F:()=>kh,sBO:()=>fD,Sil:()=>Wb,_Vd:()=>Hl,EJc:()=>zb,Xts:()=>Fc,SBq:()=>jl,lqb:()=>_a,qLn:()=>ya,vpe:()=>ba,XFs:()=>Ae,OlP:()=>sn,zs3:()=>ki,ZZ4:()=>jm,aQg:()=>$m,soG:()=>Fh,YKP:()=>Cv,h0i:()=>rc,PXZ:()=>oD,R0b:()=>Bs,FiY:()=>As,Lbi:()=>Ub,g9A:()=>yC,Qsj:()=>kp,FYo:()=>Rf,JOm:()=>Fo,tp0:()=>Ja,Rgc:()=>xd,dDg:()=>tD,eoX:()=>SC,GfV:()=>Hc,s_b:()=>Ah,ifc:()=>at,MMx:()=>_m,Lck:()=>kw,eFA:()=>OC,G48:()=>dD,Gpc:()=>It,f3M:()=>Qe,X6Q:()=>cD,_c5:()=>TD,c2e:()=>jb,zSh:()=>Vc,wAp:()=>Rn,vHH:()=>ot,lri:()=>EC,rWj:()=>MC,D6c:()=>OD,cg1:()=>um,kL8:()=>Gy,dqk:()=>Dt,Z0I:()=>lr,sIi:()=>an,CqO:()=>Z_,QGY:()=>tm,QP$:()=>G,F4k:()=>Y_,RDi:()=>Ec,AaK:()=>Ze,qOj:()=>s,TTD:()=>Xo,_Bn:()=>vv,jDz:()=>bv,xp6:()=>Vf,uIk:()=>ys,Tol:()=>yy,Gre:()=>Ny,ekj:()=>om,Suo:()=>Gv,Xpm:()=>kn,lG2:()=>zn,Yz7:()=>hr,cJS:()=>Ir,oAB:()=>Or,Yjl:()=>Dr,Y36:()=>gl,_UZ:()=>Xg,GkF:()=>em,BQk:()=>bh,ynx:()=>wh,qZA:()=>Ch,TgZ:()=>vh,EpF:()=>q_,n5z:()=>Go,Ikx:()=>lm,LFG:()=>M,$8M:()=>Oa,$Z:()=>Wf,NdJ:()=>nm,CRH:()=>Wv,oxw:()=>ey,Hsn:()=>ny,F$t:()=>ty,Q6J:()=>Qg,s9C:()=>rm,MGl:()=>Dh,hYB:()=>im,DdM:()=>Ov,VKq:()=>xv,WLB:()=>Av,kEZ:()=>Iv,iGM:()=>$v,MAs:()=>W_,KtG:()=>jo,CHM:()=>ns,LSH:()=>Nc,YNc:()=>G_,W1O:()=>Kv,_uU:()=>My,Oqu:()=>am,hij:()=>Mh,Gf:()=>zv});var a=x(7579),b=x(727),H=x(9751),X=x(6451),K=x(2076),me=x(5698),re=x(930),pe=x(4482);function Z(e,t,...n){return!0===t?(e(),null):!1===t?null:t(...n).pipe((0,me.q)(1)).subscribe((()=>e()))}function oe(e){for(let t in e)if(e[t]===oe)return t;throw Error("Could not find renamed property on target object.")}function Se(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Ze(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Ze).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 je(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const it=oe({__forward_ref__:oe});function It(e){return e.__forward_ref__=It,e.toString=function(){return Ze(this())},e}function Ye(e){return Tt(e)?e():e}function Tt(e){return"function"==typeof e&&e.hasOwnProperty(it)&&e.__forward_ref__===It}class ot extends Error{constructor(t,n){super(function Ge(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function Me(e){return"string"==typeof e?e:null==e?"":String(e)}function Ce(e,t){throw new ot(-201,!1)}function er(e,t){null==e&&function un(e,t,n,i){throw new Error(`ASSERTION ERROR: ${e}`+(null==i?"":` [Expected=> ${n} ${i} ${t} <=Actual]`))}(t,e,null,"!=")}function hr(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Ir(e){return{providers:e.providers||[],imports:e.imports||[]}}function Jn(e){return jr(e,Yr)||jr(e,de)}function lr(e){return null!==Jn(e)}function jr(e,t){return e.hasOwnProperty(t)?e[t]:null}function qt(e){return e&&(e.hasOwnProperty(ri)||e.hasOwnProperty(Ne))?e[ri]:null}const Yr=oe({"ɵprov":oe}),ri=oe({"ɵinj":oe}),de=oe({ngInjectableDef:oe}),Ne=oe({ngInjectorDef:oe});var Ae=(()=>((Ae=Ae||{})[Ae.Default=0]="Default",Ae[Ae.Host=1]="Host",Ae[Ae.Self=2]="Self",Ae[Ae.SkipSelf=4]="SkipSelf",Ae[Ae.Optional=8]="Optional",Ae))();let Be;function z(e){const t=Be;return Be=e,t}function q(e,t,n){const i=Jn(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&Ae.Optional?null:void 0!==t?t:void Ce(Ze(e))}function xe(e){return{toString:e}.toString()}var et=(()=>((et=et||{})[et.OnPush=0]="OnPush",et[et.Default=1]="Default",et))(),at=(()=>{return(e=at||(at={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",at;var e})();const Dt=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Ut={},Pt=[],Rt=oe({"ɵcmp":oe}),gt=oe({"ɵdir":oe}),Fn=oe({"ɵpipe":oe}),Kt=oe({"ɵmod":oe}),At=oe({"ɵfac":oe}),cn=oe({__NG_ELEMENT_ID__:oe});let Ht=0;function kn(e){return xe((()=>{const n=!0===e.standalone,i={},o={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:i,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===et.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||Pt,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||at.Emulated,id:"c"+Ht++,styles:e.styles||Pt,_:null,setInput:null,schemas:e.schemas||null,tView:null},l=e.dependencies,d=e.features;return o.inputs=Gn(e.inputs,i),o.outputs=Gn(e.outputs),d&&d.forEach((v=>v(o))),o.directiveDefs=l?()=>("function"==typeof l?l():l).map(pn).filter(dn):null,o.pipeDefs=l?()=>("function"==typeof l?l():l).map(se).filter(dn):null,o}))}function pn(e){return gn(e)||De(e)}function dn(e){return null!==e}function Or(e){return xe((()=>({type:e.type,bootstrap:e.bootstrap||Pt,declarations:e.declarations||Pt,imports:e.imports||Pt,exports:e.exports||Pt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null})))}function Gn(e,t){if(null==e)return Ut;const n={};for(const i in e)if(e.hasOwnProperty(i)){let o=e[i],l=o;Array.isArray(o)&&(l=o[1],o=o[0]),n[o]=i,t&&(t[o]=l)}return n}const zn=kn;function Dr(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function gn(e){return e[Rt]||null}function De(e){return e[gt]||null}function se(e){return e[Fn]||null}function G(e){const t=gn(e)||De(e)||se(e);return null!==t&&t.standalone}function U(e,t){const n=e[Kt]||null;if(!n&&!0===t)throw new Error(`Type ${Ze(e)} does not have 'ɵmod' property.`);return n}const I=10;function V(e){return Array.isArray(e)&&"object"==typeof e[1]}function ie(e){return Array.isArray(e)&&!0===e[1]}function Ke(e){return 0!=(8&e.flags)}function We(e){return 2==(2&e.flags)}function lt(e){return 1==(1&e.flags)}function ut(e){return null!==e.template}function dt(e){return 0!=(256&e[2])}function Zn(e,t){return e.hasOwnProperty(At)?e[At]:null}class ao{constructor(t,n,i){this.previousValue=t,this.currentValue=n,this.firstChange=i}isFirstChange(){return this.firstChange}}function Xo(){return Cs}function Cs(e){return e.type.prototype.ngOnChanges&&(e.setInput=us),mo}function mo(){const e=Bo(this),t=e?.current;if(t){const n=e.previous;if(n===Ut)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function us(e,t,n,i){const o=Bo(e)||function cs(e,t){return e[Ao]=t}(e,{previous:Ut,current:null}),l=o.current||(o.current={}),d=o.previous,v=this.declaredInputs[n],E=d[v];l[v]=new ao(E&&E.currentValue,t,d===Ut),e[i]=t}Xo.ngInherit=!0;const Ao="__ngSimpleChanges__";function Bo(e){return e[Ao]||null}function Vr(e){for(;Array.isArray(e);)e=e[0];return e}function wi(e,t){return Vr(t[e])}function gr(e,t){return Vr(t[e.index])}function ii(e,t){return e.data[t]}function Wr(e,t){const n=t[e];return V(n)?n:n[0]}function Ur(e){return 64==(64&e[2])}function or(e,t){return null==t?null:e[t]}function bi(e){e[18]=0}function co(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 Dn={lFrame:Xe(null),bindingsEnabled:!0};function zi(){return Dn.bindingsEnabled}function ct(){return Dn.lFrame.lView}function jn(){return Dn.lFrame.tView}function ns(e){return Dn.lFrame.contextLView=e,e[8]}function jo(e){return Dn.lFrame.contextLView=null,e}function wr(){let e=Gi();for(;null!==e&&64===e.type;)e=e.parent;return e}function Gi(){return Dn.lFrame.currentTNode}function Wi(e,t){const n=Dn.lFrame;n.currentTNode=e,n.isParent=t}function Ro(){return Dn.lFrame.isParent}function Co(){Dn.lFrame.isParent=!1}function fi(){const e=Dn.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function wo(){return Dn.lFrame.bindingIndex++}function qi(e){const t=Dn.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function eo(e,t){const n=Dn.lFrame;n.bindingIndex=n.bindingRootIndex=e,p(t)}function p(e){Dn.lFrame.currentDirectiveIndex=e}function T(){return Dn.lFrame.currentQueryIndex}function k(e){Dn.lFrame.currentQueryIndex=e}function W(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function _e(e,t,n){if(n&Ae.SkipSelf){let o=t,l=e;for(;!(o=o.parent,null!==o||n&Ae.Host||(o=W(l),null===o||(l=l[15],10&o.type))););if(null===o)return!1;t=o,e=l}const i=Dn.lFrame=ke();return i.currentTNode=t,i.lView=e,!0}function ye(e){const t=ke(),n=e[1];Dn.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function ke(){const e=Dn.lFrame,t=null===e?null:e.child;return null===t?Xe(e):t}function Xe(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 Ft(){const e=Dn.lFrame;return Dn.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const jt=Ft;function Ln(){const e=Ft();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 tn(){return Dn.lFrame.selectedIndex}function $n(e){Dn.lFrame.selectedIndex=e}function ge(){const e=Dn.lFrame;return ii(e.tView,e.selectedIndex)}function Vn(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n<i;n++){const l=e.data[n].type.prototype,{ngAfterContentInit:d,ngAfterContentChecked:v,ngAfterViewInit:E,ngAfterViewChecked:A,ngOnDestroy:B}=l;d&&(e.contentHooks||(e.contentHooks=[])).push(-n,d),v&&((e.contentHooks||(e.contentHooks=[])).push(n,v),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,v)),E&&(e.viewHooks||(e.viewHooks=[])).push(-n,E),A&&((e.viewHooks||(e.viewHooks=[])).push(n,A),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,A)),null!=B&&(e.destroyHooks||(e.destroyHooks=[])).push(n,B)}}function Di(e,t,n){bo(e,t,3,n)}function Yi(e,t,n,i){(3&e[2])===n&&bo(e,t,n,i)}function Ei(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function bo(e,t,n,i){const l=i??-1,d=t.length-1;let v=0;for(let E=void 0!==i?65535&e[18]:0;E<d;E++)if("number"==typeof t[E+1]){if(v=t[E],null!=i&&v>=i)break}else t[E]<0&&(e[18]+=65536),(v<l||-1==l)&&($o(e,n,t,E),e[18]=(4294901760&e[18])+E+2),E++}function $o(e,t,n,i){const o=n[i]<0,l=n[i+1],v=e[o?-n[i]:n[i]];if(o){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{l.call(v)}finally{}}}else try{l.call(v)}finally{}}class Ui{constructor(t,n,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i}}function rn(e,t,n){let i=0;for(;i<n.length;){const o=n[i];if("number"==typeof o){if(0!==o)break;i++;const l=n[i++],d=n[i++],v=n[i++];e.setAttribute(t,d,v,l)}else{const l=o,d=n[++i];Qn(l)?e.setProperty(t,l,d):e.setAttribute(t,l,d),i++}}return i}function Bn(e){return 3===e||4===e||6===e}function Qn(e){return 64===e.charCodeAt(0)}function ln(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||ar(e,n,o,null,-1===n||2===n?t[++i]:null)}}return e}function ar(e,t,n,i,o){let l=0,d=e.length;if(-1===t)d=-1;else for(;l<e.length;){const v=e[l++];if("number"==typeof v){if(v===t){d=-1;break}if(v>t){d=l-1;break}}}for(;l<e.length;){const v=e[l];if("number"==typeof v)break;if(v===n){if(null===i)return void(null!==o&&(e[l+1]=o));if(i===e[l+1])return void(e[l+2]=o)}l++,null!==i&&l++,null!==o&&l++}-1!==d&&(e.splice(d,0,t),l=d+1),e.splice(l++,0,n),null!==i&&e.splice(l++,0,i),null!==o&&e.splice(l++,0,o)}function Un(e){return-1!==e}function Cr(e){return 32767&e}function hi(e,t){let n=function Ai(e){return e>>16}(e),i=t;for(;n>0;)i=i[15],n--;return i}let Hi=!0;function oi(e){const t=Hi;return Hi=e,t}let za=0;const Zi={};function Ts(e,t){const n=Ma(e,t);if(-1!==n)return n;const i=t[1];i.firstCreatePass&&(e.injectorIndex=t.length,Wa(i.data,e),Wa(t,null),Wa(i.blueprint,null));const o=sa(e,t),l=e.injectorIndex;if(Un(o)){const d=Cr(o),v=hi(o,t),E=v[1].data;for(let A=0;A<8;A++)t[l+A]=v[d+A]|E[d+A]}return t[l+8]=o,l}function Wa(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Ma(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function sa(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,i=null,o=t;for(;null!==o;){if(i=Gs(o),null===i)return-1;if(n++,o=o[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return-1}function Ps(e,t,n){!function Ga(e,t,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(cn)&&(i=n[cn]),null==i&&(i=n[cn]=za++);const o=255&i;t.data[e+(o>>5)]|=1<<o}(e,t,n)}function pi(e,t,n){if(n&Ae.Optional||void 0!==e)return e;Ce()}function Sa(e,t,n,i){if(n&Ae.Optional&&void 0===i&&(i=null),0==(n&(Ae.Self|Ae.Host))){const o=e[9],l=z(void 0);try{return o?o.get(t,i,n&Ae.Optional):q(t,i,n&Ae.Optional)}finally{z(l)}}return pi(i,0,n)}function vl(e,t,n,i=Ae.Default,o){if(null!==e){if(1024&t[2]){const d=function ho(e,t,n,i,o){let l=e,d=t;for(;null!==l&&null!==d&&1024&d[2]&&!(256&d[2]);){const v=qa(l,d,n,i|Ae.Self,Zi);if(v!==Zi)return v;let E=l.parent;if(!E){const A=d[21];if(A){const B=A.get(n,Zi,i);if(B!==Zi)return B}E=Gs(d),d=d[15]}l=E}return o}(e,t,n,i,Zi);if(d!==Zi)return d}const l=qa(e,t,n,i,Zi);if(l!==Zi)return l}return Sa(t,n,i,o)}function qa(e,t,n,i,o){const l=function Ta(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(cn)?e[cn]:void 0;return"number"==typeof t?t>=0?255&t:Sr:t}(n);if("function"==typeof l){if(!_e(t,e,i))return i&Ae.Host?pi(o,0,i):Sa(t,n,i,o);try{const d=l(i);if(null!=d||i&Ae.Optional)return d;Ce()}finally{jt()}}else if("number"==typeof l){let d=null,v=Ma(e,t),E=-1,A=i&Ae.Host?t[16][6]:null;for((-1===v||i&Ae.SkipSelf)&&(E=-1===v?sa(e,t):t[v+8],-1!==E&&Ii(i,!1)?(d=t[1],v=Cr(E),t=hi(E,t)):v=-1);-1!==v;){const B=t[1];if(hs(l,v,B.data)){const ee=aa(v,t,n,d,i,A);if(ee!==Zi)return ee}E=t[v+8],-1!==E&&Ii(i,t[1].data[v+8]===A)&&hs(l,v,t)?(d=B,v=Cr(E),t=hi(E,t)):v=-1}}return o}function aa(e,t,n,i,o,l){const d=t[1],v=d.data[e+8],B=Os(v,d,n,null==i?We(v)&&Hi:i!=d&&0!=(3&v.type),o&Ae.Host&&l===v);return null!==B?zo(t,d,B,v):Zi}function Os(e,t,n,i,o){const l=e.providerIndexes,d=t.data,v=1048575&l,E=e.directiveStart,B=l>>20,ve=o?v+B:e.directiveEnd;for(let Le=i?v:v+B;Le<ve;Le++){const st=d[Le];if(Le<E&&n===st||Le>=E&&st.type===n)return Le}if(o){const Le=d[E];if(Le&&ut(Le)&&Le.type===n)return E}return null}function zo(e,t,n,i){let o=e[n];const l=t.data;if(function C(e){return e instanceof Ui}(o)){const d=o;d.resolving&&function Jt(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new ot(-200,`Circular dependency in DI detected for ${e}${n}`)}(function Je(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Me(e)}(l[n]));const v=oi(d.canSeeViewProviders);d.resolving=!0;const E=d.injectImpl?z(d.injectImpl):null;_e(e,i,Ae.Default);try{o=e[n]=d.factory(void 0,l,e,i),t.firstCreatePass&&n>=i.directiveStart&&function nr(e,t,n){const{ngOnChanges:i,ngOnInit:o,ngDoCheck:l}=t.type.prototype;if(i){const d=Cs(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,d),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,d)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,o),l&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,l),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,l))}(n,l[n],t)}finally{null!==E&&z(E),oi(v),d.resolving=!1,jt()}}return o}function hs(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function Ii(e,t){return!(e&Ae.Self||e&Ae.Host&&t)}class cr{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,i){return vl(this._tNode,this._lView,t,i,n)}}function Sr(){return new cr(wr(),ct())}function Go(e){return xe((()=>{const t=e.prototype.constructor,n=t[At]||Pa(t),i=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==i;){const l=o[At]||Pa(o);if(l&&l!==n)return l;o=Object.getPrototypeOf(o)}return l=>new l}))}function Pa(e){return Tt(e)?()=>{const t=Pa(Ye(e));return t&&t()}:Zn(e)}function Gs(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}function Oa(e){return function si(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 l=n[o];if(Bn(l))break;if(0===l)o+=2;else if("number"==typeof l)for(o++;o<i&&"string"==typeof n[o];)o++;else{if(l===t)return n[o+1];o+=2}}}return null}(wr(),e)}const No="__parameters__";function po(e,t,n){return xe((()=>{const i=function $(e){return function(...n){if(e){const i=e(...n);for(const o in i)this[o]=i[o]}}}(t);function o(...l){if(this instanceof o)return i.apply(this,l),this;const d=new o(...l);return v.annotation=d,v;function v(E,A,B){const ee=E.hasOwnProperty(No)?E[No]:Object.defineProperty(E,No,{value:[]})[No];for(;ee.length<=B;)ee.push(null);return(ee[B]=ee[B]||[]).push(d),E}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o}))}class sn{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.ɵprov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.ɵprov=hr({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Zr(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)),Zr(i,t)):t!==e&&t.push(i)}return t}function Do(e,t){e.forEach((n=>Array.isArray(n)?Do(n,t):t(n)))}function Ra(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function gi(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Ws(e,t){const n=[];for(let i=0;i<e;i++)n.push(t);return n}function Mo(e,t,n){let i=m(e,t);return i>=0?e[1|i]=n:(i=~i,function Dl(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 g(e,t){const n=m(e,t);if(n>=0)return e[1|n]}function m(e,t){return function w(e,t,n){let i=0,o=e.length>>n;for(;o!==i;){const l=i+(o-i>>1),d=e[l<<n];if(t===d)return l<<n;d>t?o=l:i=l+1}return~(o<<n)}(e,t,1)}const Ar={},to="__NG_DI_FLAG__",Ri="ngTempTokenPath",El=/\n/gm,Qa="__source";let h;function y(e){const t=h;return h=e,t}function u(e,t=Ae.Default){if(void 0===h)throw new ot(-203,!1);return null===h?q(e,void 0,t):h.get(e,t&Ae.Optional?null:void 0,t)}function M(e,t=Ae.Default){return(function fe(){return Be}()||u)(Ye(e),t)}function Qe(e,t=Ae.Default){return"number"!=typeof t&&(t=0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)),M(e,t)}function Qt(e){const t=[];for(let n=0;n<e.length;n++){const i=Ye(e[n]);if(Array.isArray(i)){if(0===i.length)throw new ot(900,!1);let o,l=Ae.Default;for(let d=0;d<i.length;d++){const v=i[d],E=br(v);"number"==typeof E?-1===E?o=v.token:l|=E:o=v}t.push(M(o,l))}else t.push(M(i))}return t}function An(e,t){return e[to]=t,e.prototype[to]=t,e}function br(e){return e[to]}const As=An(po("Optional"),8),Ja=An(po("SkipSelf"),4);var Fo=(()=>((Fo=Fo||{})[Fo.Important=1]="Important",Fo[Fo.DashCase=2]="DashCase",Fo))();const dc=new Map;let au=0;const uu="__ngContext__";function Ji(e,t){V(t)?(e[uu]=t[20],function $d(e){dc.set(e[20],e)}(t)):e[uu]=t}function fu(e,t){return undefined(e,t)}function rl(e){const t=e[3];return ie(t)?t[3]:t}function _c(e){return Pl(e[13])}function yc(e){return Pl(e[4])}function Pl(e){for(;null!==e&&!ie(e);)e=e[4];return e}function Na(e,t,n,i,o){if(null!=i){let l,d=!1;ie(i)?l=i:V(i)&&(d=!0,i=i[0]);const v=Vr(i);0===e&&null!==n?null==o?wc(t,n,v):Fa(t,n,v,o||null,!0):1===e&&null!==n?Fa(t,n,v,o||null,!0):2===e?function ol(e,t,n){const i=_u(e,t);i&&function tf(e,t,n,i){e.removeChild(t,n,i)}(e,i,t,n)}(t,v,d):3===e&&t.destroyNode(v),null!=l&&function af(e,t,n,i,o){const l=n[7];l!==Vr(n)&&Na(t,e,i,l,o);for(let v=I;v<n.length;v++){const E=n[v];ms(E[1],E,e,t,i,l)}}(t,e,l,n,o)}}function ga(e,t,n){return e.createElement(t,n)}function Al(e,t){const n=e[9],i=n.indexOf(t),o=t[3];512&t[2]&&(t[2]&=-513,co(o,-1)),n.splice(i,1)}function Il(e,t){if(e.length<=I)return;const n=I+t,i=e[n];if(i){const o=i[17];null!==o&&o!==e&&Al(o,i),t>0&&(e[n-1][4]=i[4]);const l=gi(e,I+t);!function xl(e,t){ms(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(i[1],i);const d=l[19];null!==d&&d.detachView(l[1]),i[3]=null,i[4]=null,i[2]&=-65}return i}function Rl(e,t){if(!(128&t[2])){const n=t[11];n.destroyNode&&ms(e,t,n,3,null,null),function Jd(e){let t=e[13];if(!t)return vc(e[1],e);for(;t;){let n=null;if(V(t))n=t[13];else{const i=t[I];i&&(n=i)}if(!n){for(;t&&!t[4]&&t!==e;)V(t)&&vc(t[1],t),t=t[3];null===t&&(t=e),V(t)&&vc(t[1],t),n=t&&t[4]}t=n}}(t)}}function vc(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function gu(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 Ui)){const l=n[i+1];if(Array.isArray(l))for(let d=0;d<l.length;d+=2){const v=o[l[d]],E=l[d+1];try{E.call(v)}finally{}}else try{l.call(o)}finally{}}}}(e,t),function ef(e,t){const n=e.cleanup,i=t[7];let o=-1;if(null!==n)for(let l=0;l<n.length-1;l+=2)if("string"==typeof n[l]){const d=n[l+1],v="function"==typeof d?d(t):Vr(t[d]),E=i[o=n[l+2]],A=n[l+3];"boolean"==typeof A?v.removeEventListener(n[l],E,A):A>=0?i[o=A]():i[o=-A].unsubscribe(),l+=2}else{const d=i[o=n[l+1]];n[l].call(d)}if(null!==i){for(let l=o+1;l<i.length;l++)(0,i[l])();t[7]=null}}(e,t),1===t[1].type&&t[11].destroy();const n=t[17];if(null!==n&&ie(t[3])){n!==t[3]&&Al(n,t);const i=t[19];null!==i&&i.detachView(e)}!function qo(e){dc.delete(e[20])}(t)}}function Cc(e,t,n){return function mu(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===at.None||o===at.Emulated)return null}return gr(i,n)}(e,t.parent,n)}function Fa(e,t,n,i,o){e.insertBefore(t,n,i,o)}function wc(e,t,n){e.appendChild(t,n)}function Ns(e,t,n,i,o){null!==i?Fa(e,t,n,i,o):wc(e,t,n)}function _u(e,t){return e.parentNode(t)}function rf(e,t,n){return Fs(e,t,n)}let ro,Fs=function sf(e,t,n){return 40&e.type?gr(e,n):null};function il(e,t,n,i){const o=Cc(e,i,t),l=t[11],v=rf(i.parent||t[6],i,t);if(null!=o)if(Array.isArray(n))for(let E=0;E<n.length;E++)Ns(l,o,n[E],v,!1);else Ns(l,o,n,v,!1)}function ka(e,t){if(null!==t){const n=t.type;if(3&n)return gr(t,e);if(4&n)return En(-1,e[t.index]);if(8&n){const i=t.child;if(null!==i)return ka(e,i);{const o=e[t.index];return ie(o)?En(-1,o):Vr(o)}}if(32&n)return fu(t,e)()||Vr(e[t.index]);{const i=La(e,t);return null!==i?Array.isArray(i)?i[0]:ka(rl(e[16]),i):ka(e,t.next)}}return null}function La(e,t){return null!==t?e[16][6].projection[t.projection]:null}function En(e,t){const n=I+e+1;if(n<t.length){const i=t[n],o=i[1].firstChild;if(null!==o)return ka(i,o)}return t[7]}function Fl(e,t,n,i,o,l,d){for(;null!=n;){const v=i[n.index],E=n.type;if(d&&0===t&&(v&&Ji(Vr(v),i),n.flags|=4),64!=(64&n.flags))if(8&E)Fl(e,t,n.child,i,o,l,!1),Na(t,e,o,v,l);else if(32&E){const A=fu(n,i);let B;for(;B=A();)Na(t,e,o,B,l);Na(t,e,o,v,l)}else 16&E?vu(e,t,i,n,o,l):Na(t,e,o,v,l);n=d?n.projectionNext:n.next}}function ms(e,t,n,i,o,l){Fl(n,i,e.firstChild,t,o,l,!1)}function vu(e,t,n,i,o,l){const d=n[16],E=d[6].projection[i.projection];if(Array.isArray(E))for(let A=0;A<E.length;A++)Na(t,e,o,E[A],l);else Fl(e,t,E,d[3],o,l,!0)}function lf(e,t,n){e.setAttribute(t,"style",n)}function bc(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Ec(e){ro=e}class Tc{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}function Ks(e){return e instanceof Tc?e.changingThisBreaksApplicationSecurity:e}const cp=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;var Fi=(()=>((Fi=Fi||{})[Fi.NONE=0]="NONE",Fi[Fi.HTML=1]="HTML",Fi[Fi.STYLE=2]="STYLE",Fi[Fi.SCRIPT=3]="SCRIPT",Fi[Fi.URL=4]="URL",Fi[Fi.RESOURCE_URL=5]="RESOURCE_URL",Fi))();function Nc(e){const t=function Ul(){const e=ct();return e&&e[12]}();return t?t.sanitize(Fi.URL,e)||"":function Ll(e,t){const n=function Pc(e){return e instanceof Tc&&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}(e,"URL")?Ks(e):function wu(e){return(e=String(e)).match(cp)?e:"unsafe:"+e}(Me(e))}const Fc=new sn("ENVIRONMENT_INITIALIZER"),wf=new sn("INJECTOR",-1),bf=new sn("INJECTOR_DEF_TYPES");class Df{get(t,n=Ar){if(n===Ar){const i=new Error(`NullInjectorError: No provider for ${Ze(t)}!`);throw i.name="NullInjectorError",i}return n}}function bp(...e){return{"ɵproviders":Ef(0,e)}}function Ef(e,...t){const n=[],i=new Set;let o;return Do(t,(l=>{const d=l;kc(d,n,[],i)&&(o||(o=[]),o.push(d))})),void 0!==o&&Mf(o,n),n}function Mf(e,t){for(let n=0;n<e.length;n++){const{providers:o}=e[n];Do(o,(l=>{t.push(l)}))}}function kc(e,t,n,i){if(!(e=Ye(e)))return!1;let o=null,l=qt(e);const d=!l&&gn(e);if(l||d){if(d&&!d.standalone)return!1;o=e}else{const E=e.ngModule;if(l=qt(E),!l)return!1;o=E}const v=i.has(o);if(d){if(v)return!1;if(i.add(o),d.dependencies){const E="function"==typeof d.dependencies?d.dependencies():d.dependencies;for(const A of E)kc(A,t,n,i)}}else{if(!l)return!1;{if(null!=l.imports&&!v){let A;i.add(o);try{Do(l.imports,(B=>{kc(B,t,n,i)&&(A||(A=[]),A.push(B))}))}finally{}void 0!==A&&Mf(A,t)}if(!v){const A=Zn(o)||(()=>new o);t.push({provide:o,useFactory:A,deps:Pt},{provide:bf,useValue:o,multi:!0},{provide:Fc,useValue:()=>M(o),multi:!0})}const E=l.providers;null==E||v||Do(E,(B=>{t.push(B)}))}}return o!==e&&void 0!==e.providers}const Dp=oe({provide:String,useValue:oe});function Lc(e){return null!==e&&"object"==typeof e&&Dp in e}function Ba(e){return"function"==typeof e}const Vc=new sn("Set Injector scope."),Du={},Mp={};let Bc;function ll(){return void 0===Bc&&(Bc=new Df),Bc}class _a{}class Pf extends _a{constructor(t,n,i,o){super(),this.parent=n,this.source=i,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,cl(t,(d=>this.processProvider(d))),this.records.set(wf,ul(void 0,this)),o.has("environment")&&this.records.set(_a,ul(void 0,this));const l=this.records.get(Vc);null!=l&&"string"==typeof l.value&&this.scopes.add(l.value),this.injectorDefTypes=new Set(this.get(bf.multi,Pt,Ae.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const n=y(this),i=z(void 0);try{return t()}finally{y(n),z(i)}}get(t,n=Ar,i=Ae.Default){this.assertNotDestroyed();const o=y(this),l=z(void 0);try{if(!(i&Ae.SkipSelf)){let v=this.records.get(t);if(void 0===v){const E=function xf(e){return"function"==typeof e||"object"==typeof e&&e instanceof sn}(t)&&Jn(t);v=E&&this.injectableDefInScope(E)?ul(Uc(t),Du):null,this.records.set(t,v)}if(null!=v)return this.hydrate(t,v)}return(i&Ae.Self?ll():this.parent).get(t,n=i&Ae.Optional&&n===Ar?null:n)}catch(d){if("NullInjectorError"===d.name){if((d[Ri]=d[Ri]||[]).unshift(Ze(t)),o)throw d;return function Ni(e,t,n,i){const o=e[Ri];throw t[Qa]&&o.unshift(t[Qa]),e.message=function Qi(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&"ɵ"==e.charAt(1)?e.slice(2):e;let o=Ze(t);if(Array.isArray(t))o=t.map(Ze).join(" -> ");else if("object"==typeof t){let l=[];for(let d in t)if(t.hasOwnProperty(d)){let v=t[d];l.push(d+":"+("string"==typeof v?JSON.stringify(v):Ze(v)))}o=`{${l.join(", ")}}`}return`${n}${i?"("+i+")":""}[${o}]: ${e.replace(El,"\n  ")}`}("\n"+e.message,o,n,i),e.ngTokenPath=o,e[Ri]=null,e}(d,t,"R3InjectorError",this.source)}throw d}finally{z(l),y(o)}}resolveInjectorInitializers(){const t=y(this),n=z(void 0);try{const i=this.get(Fc.multi,Pt,Ae.Self);for(const o of i)o()}finally{y(t),z(n)}}toString(){const t=[],n=this.records;for(const i of n.keys())t.push(Ze(i));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new ot(205,!1)}processProvider(t){let n=Ba(t=Ye(t))?t:Ye(t&&t.provide);const i=function Tp(e){return Lc(e)?ul(void 0,e.useValue):ul(Of(e),Du)}(t);if(Ba(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=ul(void 0,Du,!0),o.factory=()=>Qt(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,i)}hydrate(t,n){return n.value===Du&&(n.value=Mp,n.value=n.factory()),"object"==typeof n.value&&n.value&&function Op(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=Ye(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function Uc(e){const t=Jn(e),n=null!==t?t.factory:Zn(e);if(null!==n)return n;if(e instanceof sn)throw new ot(204,!1);if(e instanceof Function)return function Sp(e){const t=e.length;if(t>0)throw Ws(t,"?"),new ot(204,!1);const n=function Qr(e){const t=e&&(e[Yr]||e[de]);if(t){const n=function _r(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 ot(204,!1)}function Of(e,t,n){let i;if(Ba(e)){const o=Ye(e);return Zn(o)||Uc(o)}if(Lc(e))i=()=>Ye(e.useValue);else if(function Tf(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...Qt(e.deps||[]));else if(function Sf(e){return!(!e||!e.useExisting)}(e))i=()=>M(Ye(e.useExisting));else{const o=Ye(e&&(e.useClass||e.provide));if(!function Pp(e){return!!e.deps}(e))return Zn(o)||Uc(o);i=()=>new o(...Qt(e.deps))}return i}function ul(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function xp(e){return!!e.ɵproviders}function cl(e,t){for(const n of e)Array.isArray(n)?cl(n,t):xp(n)?cl(n.ɵproviders,t):t(n)}class Af{}class Rp{resolveComponentFactory(t){throw function Ip(e){const t=Error(`No component factory found for ${Ze(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let Hl=(()=>{class e{}return e.NULL=new Rp,e})();function Np(){return dl(wr(),ct())}function dl(e,t){return new jl(gr(e,t))}let jl=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=Np,e})();function Fp(e){return e instanceof jl?e.nativeElement:e}class Rf{}let kp=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function Lp(){const e=ct(),n=Wr(wr().index,e);return(V(n)?n:e)[11]}(),e})(),Vp=(()=>{class e{}return e.ɵprov=hr({token:e,providedIn:"root",factory:()=>null}),e})();class Hc{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Nf=new Hc("14.3.0"),jc={};function zc(e){return e.ngOriginalError}class ya{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&zc(t);for(;n&&zc(n);)n=zc(n);return n||null}}function Js(e){return e instanceof Function?e():e}function Eu(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 l=t.length;if(o+l===i||e.charCodeAt(o+l)<=32)return o}n=o+1}}const qc="ng-template";function Ff(e,t,n){let i=0;for(;i<e.length;){let o=e[i++];if(n&&"class"===o){if(o=e[i],-1!==Eu(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 Yc(e){return 4===e.type&&e.value!==qc}function Qp(e,t,n){return t===(4!==e.type||n?e.value:qc)}function Jp(e,t,n){let i=4;const o=e.attrs||[],l=function eg(e){for(let t=0;t<e.length;t++)if(Bn(e[t]))return t;return e.length}(o);let d=!1;for(let v=0;v<t.length;v++){const E=t[v];if("number"!=typeof E){if(!d)if(4&i){if(i=2|1&i,""!==E&&!Qp(e,E,n)||""===E&&1===t.length){if(_s(i))return!1;d=!0}}else{const A=8&i?E:t[++v];if(8&i&&null!==e.attrs){if(!Ff(e.attrs,A,n)){if(_s(i))return!1;d=!0}continue}const ee=Mu(8&i?"class":E,o,Yc(e),n);if(-1===ee){if(_s(i))return!1;d=!0;continue}if(""!==A){let ve;ve=ee>l?"":o[ee+1].toLowerCase();const Le=8&i?ve:null;if(Le&&-1!==Eu(Le,A,0)||2&i&&A!==ve){if(_s(i))return!1;d=!0}}}}else{if(!d&&!_s(i)&&!_s(E))return!1;if(d&&_s(E))continue;d=!1,i=E|1&i}}return _s(i)||d}function _s(e){return 0==(1&e)}function Mu(e,t,n,i){if(null===t)return-1;let o=0;if(i||!n){let l=!1;for(;o<t.length;){const d=t[o];if(d===e)return o;if(3===d||6===d)l=!0;else{if(1===d||2===d){let v=t[++o];for(;"string"==typeof v;)v=t[++o];continue}if(4===d)break;if(0===d){o+=4;continue}}o+=l?1:2}return-1}return function Zc(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 $l(e,t,n=!1){for(let i=0;i<t.length;i++)if(Jp(e,t[i],n))return!0;return!1}function kf(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 Lf(e,t){return e?":not("+t.trim()+")":t}function tg(e){let t=e[0],n=1,i=2,o="",l=!1;for(;n<e.length;){let d=e[n];if("string"==typeof d)if(2&i){const v=e[++n];o+="["+d+(v.length>0?'="'+v+'"':"")+"]"}else 8&i?o+="."+d:4&i&&(o+=" "+d);else""!==o&&!_s(d)&&(t+=Lf(l,o),o=""),i=d,l=l||!_s(i);n++}return""!==o&&(t+=Lf(l,o)),t}const Wn={};function Vf(e){Bf(jn(),ct(),tn()+e,!1)}function Bf(e,t,n,i){if(!i)if(3==(3&t[2])){const l=e.preOrderCheckHooks;null!==l&&Di(t,l,n)}else{const l=e.preOrderHooks;null!==l&&Yi(t,l,0,n)}$n(n)}function qn(e,t=null,n=null,i){const o=jf(e,t,n,i);return o.resolveInjectorInitializers(),o}function jf(e,t=null,n=null,i,o=new Set){const l=[n||Pt,bp(e)];return i=i||("object"==typeof e?void 0:Ze(e)),new Pf(l,t||ll(),i||null,o)}let ki=(()=>{class e{static create(n,i){if(Array.isArray(n))return qn({name:""},i,n,"");{const o=n.name??"";return qn({name:o},n.parent,n.providers,o)}}}return e.THROW_IF_NOT_FOUND=Ar,e.NULL=new Df,e.ɵprov=hr({token:e,providedIn:"any",factory:()=>M(wf)}),e.__NG_ELEMENT_ID__=-1,e})();function gl(e,t=Ae.Default){const n=ct();return null===n?M(e,t):vl(wr(),n,Ye(e),t)}function Wf(){throw new Error("invalid")}function xu(e,t){return e<<17|t<<2}function as(e){return e>>17&32767}function Au(e){return 2|e}function Li(e){return(131068&e)>>2}function Iu(e,t){return-131069&e|t<<2}function Pr(e){return 1|e}function eh(e,t){const n=e.contentQueries;if(null!==n)for(let i=0;i<n.length;i+=2){const o=n[i],l=n[i+1];if(-1!==l){const d=e.data[l];k(o),d.contentQueries(2,t[l],l)}}}function Lu(e,t,n,i,o,l,d,v,E,A,B){const ee=t.blueprint.slice();return ee[0]=o,ee[2]=76|i,(null!==B||e&&1024&e[2])&&(ee[2]|=1024),bi(ee),ee[3]=ee[15]=e,ee[8]=n,ee[10]=d||e&&e[10],ee[11]=v||e&&e[11],ee[12]=E||e&&e[12]||null,ee[9]=A||e&&e[9]||null,ee[6]=l,ee[20]=function fc(){return au++}(),ee[21]=B,ee[16]=2==t.type?e[16]:ee,ee}function Ha(e,t,n,i,o){let l=e.data[t];if(null===l)l=function Vu(e,t,n,i,o){const l=Gi(),d=Ro(),E=e.data[t]=function xg(e,t,n,i,o,l){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:l,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,d?l:l&&l.parent,n,t,i,o);return null===e.firstChild&&(e.firstChild=E),null!==l&&(d?null==l.child&&null!==E.parent&&(l.child=E):null===l.next&&(l.next=E)),E}(e,t,n,i,o),function Es(){return Dn.lFrame.inI18n}()&&(l.flags|=64);else if(64&l.type){l.type=n,l.value=i,l.attrs=o;const d=function mr(){const e=Dn.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();l.injectorIndex=null===d?-1:d.injectorIndex}return Wi(l,!0),l}function _l(e,t,n,i){if(0===n)return-1;const o=t.length;for(let l=0;l<n;l++)t.push(i),e.blueprint.push(i),e.data.push(null);return o}function ld(e,t,n){ye(t);try{const i=e.viewQuery;null!==i&&vd(1,i,n);const o=e.template;null!==o&&th(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&eh(e,t),e.staticViewQueries&&vd(2,e.viewQuery,n);const l=e.components;null!==l&&function Tg(e,t){for(let n=0;n<t.length;n++)Hg(e,t[n])}(t,l)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{t[2]&=-5,Ln()}}function Bu(e,t,n,i){const o=t[2];if(128!=(128&o)){ye(t);try{bi(t),function zs(e){return Dn.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&th(e,t,n,2,i);const d=3==(3&o);if(d){const A=e.preOrderCheckHooks;null!==A&&Di(t,A,null)}else{const A=e.preOrderHooks;null!==A&&Yi(t,A,0,null),Ei(t,0)}if(function Ug(e){for(let t=_c(e);null!==t;t=yc(t)){if(!t[2])continue;const n=t[9];for(let i=0;i<n.length;i++){const o=n[i],l=o[3];0==(512&o[2])&&co(l,1),o[2]|=512}}}(t),function md(e){for(let t=_c(e);null!==t;t=yc(t))for(let n=I;n<t.length;n++){const i=t[n],o=i[1];Ur(i)&&Bu(o,i,o.template,i[8])}}(t),null!==e.contentQueries&&eh(e,t),d){const A=e.contentCheckHooks;null!==A&&Di(t,A)}else{const A=e.contentHooks;null!==A&&Yi(t,A,1),Ei(t,1)}!function Mg(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)$n(~o);else{const l=o,d=n[++i],v=n[++i];eo(d,l),v(2,t[l])}}}finally{$n(-1)}}(e,t);const v=e.components;null!==v&&function Sg(e,t){for(let n=0;n<t.length;n++)_d(e,t[n])}(t,v);const E=e.viewQuery;if(null!==E&&vd(2,E,i),d){const A=e.viewCheckHooks;null!==A&&Di(t,A)}else{const A=e.viewHooks;null!==A&&Yi(t,A,2),Ei(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[2]&=-41,512&t[2]&&(t[2]&=-513,co(t[3],-1))}finally{Ln()}}}function th(e,t,n,i,o){const l=tn(),d=2&i;try{$n(-1),d&&t.length>22&&Bf(e,t,22,!1),n(i,o)}finally{$n(l)}}function nh(e,t,n){if(Ke(t)){const o=t.directiveEnd;for(let l=t.directiveStart;l<o;l++){const d=e.data[l];d.contentQueries&&d.contentQueries(1,n[l],l)}}}function ud(e,t,n){!zi()||(function hd(e,t,n,i){const o=n.directiveStart,l=n.directiveEnd;e.firstCreatePass||Ts(n,t),Ji(i,t);const d=n.initialInputs;for(let v=o;v<l;v++){const E=e.data[v],A=ut(E);A&&Lg(t,n,E);const B=zo(t,e,v,n);Ji(B,t),null!==d&&Vg(0,v-o,B,E,0,d),A&&(Wr(n.index,t)[8]=B)}}(e,t,n,gr(n,t)),128==(128&n.flags)&&function uh(e,t,n){const i=n.directiveStart,o=n.directiveEnd,l=n.index,d=function R(){return Dn.lFrame.currentDirectiveIndex}();try{$n(l);for(let v=i;v<o;v++){const E=e.data[v],A=t[v];p(v),(null!==E.hostBindings||0!==E.hostVars||null!==E.hostAttrs)&&pd(E,A)}}finally{$n(-1),p(d)}}(e,t,n))}function cd(e,t,n=gr){const i=t.localNames;if(null!==i){let o=t.index+1;for(let l=0;l<i.length;l+=2){const d=i[l+1],v=-1===d?n(t,e):e[d];e[o++]=v}}}function rh(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=dd(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function dd(e,t,n,i,o,l,d,v,E,A){const B=22+i,ee=B+o,ve=function Pg(e,t){const n=[];for(let i=0;i<t;i++)n.push(i<e?null:Wn);return n}(B,ee),Le="function"==typeof A?A():A;return ve[1]={type:e,blueprint:ve,template:n,queries:null,viewQuery:v,declTNode:t,data:ve.slice().fill(null,B),bindingStartIndex:B,expandoStartIndex:ee,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 l?l():l,pipeRegistry:"function"==typeof d?d():d,firstChild:null,schemas:E,consts:Le,incompleteFirstPass:!1}}function ih(e,t,n,i){const o=$u(t);null===n?o.push(i):(o.push(n),e.firstCreatePass&&gh(e).push(i,o.length-1))}function oh(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 sh(e,t){const i=t.directiveEnd,o=e.data,l=t.attrs,d=[];let v=null,E=null;for(let A=t.directiveStart;A<i;A++){const B=o[A],ee=B.inputs,ve=null===l||Yc(t)?null:Bg(ee,l);d.push(ve),v=oh(ee,A,v),E=oh(B.outputs,A,E)}null!==v&&(v.hasOwnProperty("class")&&(t.flags|=16),v.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=d,t.inputs=v,t.outputs=E}function Zo(e,t,n,i,o,l,d,v){const E=gr(t,n);let B,A=t.inputs;!v&&null!=A&&(B=A[i])?(Cd(e,n,B,i,o),We(t)&&ah(n,t.index)):3&t.type&&(i=function Ag(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i),o=null!=d?d(o,t.value||"",i):o,l.setProperty(E,i,o))}function ah(e,t){const n=Wr(t,e);16&n[2]||(n[2]|=32)}function fd(e,t,n,i){let o=!1;if(zi()){const l=function Fg(e,t,n){const i=e.directiveRegistry;let o=null;if(i)for(let l=0;l<i.length;l++){const d=i[l];$l(n,d.selectors,!1)&&(o||(o=[]),Ps(Ts(n,t),e,d.type),ut(d)?(ch(e,n),o.unshift(d)):o.push(d))}return o}(e,t,n),d=null===i?null:{"":-1};if(null!==l){o=!0,dh(n,e.data.length,l.length);for(let B=0;B<l.length;B++){const ee=l[B];ee.providersResolver&&ee.providersResolver(ee)}let v=!1,E=!1,A=_l(e,t,l.length,null);for(let B=0;B<l.length;B++){const ee=l[B];n.mergedAttrs=ln(n.mergedAttrs,ee.hostAttrs),fh(e,n,t,A,ee),gd(A,ee,d),null!==ee.contentQueries&&(n.flags|=8),(null!==ee.hostBindings||null!==ee.hostAttrs||0!==ee.hostVars)&&(n.flags|=128);const ve=ee.type.prototype;!v&&(ve.ngOnChanges||ve.ngOnInit||ve.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),v=!0),!E&&(ve.ngOnChanges||ve.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),E=!0),A++}sh(e,n)}d&&function kg(e,t,n){if(t){const i=e.localNames=[];for(let o=0;o<t.length;o+=2){const l=n[t[o+1]];if(null==l)throw new ot(-301,!1);i.push(t[o],l)}}}(n,i,d)}return n.mergedAttrs=ln(n.mergedAttrs,n.attrs),o}function lh(e,t,n,i,o,l){const d=l.hostBindings;if(d){let v=e.hostBindingOpCodes;null===v&&(v=e.hostBindingOpCodes=[]);const E=~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})(v)!=E&&v.push(E),v.push(i,o,d)}}function pd(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function ch(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function gd(e,t,n){if(n){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)n[t.exportAs[i]]=e;ut(t)&&(n[""]=e)}}function dh(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function fh(e,t,n,i,o){e.data[i]=o;const l=o.factory||(o.factory=Zn(o.type)),d=new Ui(l,ut(o),gl);e.blueprint[i]=d,n[i]=d,lh(e,t,0,i,_l(e,n,o.hostVars,Wn),o)}function Lg(e,t,n){const i=gr(t,e),o=rh(n),l=e[10],d=Uu(e,Lu(e,o,null,n.onPush?32:16,i,t,l,l.createRenderer(i,n),null,null,null));e[t.index]=d}function li(e,t,n,i,o,l){const d=gr(e,t);!function Gl(e,t,n,i,o,l,d){if(null==l)e.removeAttribute(t,o,n);else{const v=null==d?Me(l):d(l,i||"",o);e.setAttribute(t,o,v,n)}}(t[11],d,l,e.value,n,i,o)}function Vg(e,t,n,i,o,l){const d=l[t];if(null!==d){const v=i.setInput;for(let E=0;E<d.length;){const A=d[E++],B=d[E++],ee=d[E++];null!==v?i.setInput(n,ee,A,B):n[B]=ee}}}function Bg(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 hh(e,t,n,i){return new Array(e,!0,!1,t,null,0,i,n,null,null)}function _d(e,t){const n=Wr(t,e);if(Ur(n)){const i=n[1];48&n[2]?Bu(i,n,i.template,n[8]):n[5]>0&&yd(n)}}function yd(e){for(let i=_c(e);null!==i;i=yc(i))for(let o=I;o<i.length;o++){const l=i[o];if(Ur(l))if(512&l[2]){const d=l[1];Bu(d,l,d.template,l[8])}else l[5]>0&&yd(l)}const n=e[1].components;if(null!==n)for(let i=0;i<n.length;i++){const o=Wr(n[i],e);Ur(o)&&o[5]>0&&yd(o)}}function Hg(e,t){const n=Wr(t,e),i=n[1];(function jg(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(i,n),ld(i,n,n[8])}function Uu(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function Hu(e){for(;e;){e[2]|=32;const t=rl(e);if(dt(e)&&!t)return e;e=t}return null}function ju(e,t,n,i=!0){const o=t[10];o.begin&&o.begin();try{Bu(e,t,e.template,n)}catch(d){throw i&&_h(t,d),d}finally{o.end&&o.end()}}function vd(e,t,n){k(0),t(e,n)}function $u(e){return e[7]||(e[7]=[])}function gh(e){return e.cleanup||(e.cleanup=[])}function _h(e,t){const n=e[9],i=n?n.get(ya,null):null;i&&i.handleError(t)}function Cd(e,t,n,i,o){for(let l=0;l<n.length;){const d=n[l++],v=n[l++],E=t[d],A=e.data[d];null!==A.setInput?A.setInput(E,o,i,v):E[v]=o}}function zu(e,t,n){let i=n?e.styles:null,o=n?e.classes:null,l=0;if(null!==t)for(let d=0;d<t.length;d++){const v=t[d];"number"==typeof v?l=v:1==l?o=je(o,v):2==l&&(i=je(i,v+": "+t[++d]+";"))}n?e.styles=i:e.stylesWithoutHost=i,n?e.classes=o:e.classesWithoutHost=o}function Gu(e,t,n,i,o=!1){for(;null!==n;){const l=t[n.index];if(null!==l&&i.push(Vr(l)),ie(l))for(let v=I;v<l.length;v++){const E=l[v],A=E[1].firstChild;null!==A&&Gu(E[1],E,A,i)}const d=n.type;if(8&d)Gu(e,t,n.child,i);else if(32&d){const v=fu(n,t);let E;for(;E=v();)i.push(E)}else if(16&d){const v=La(t,n);if(Array.isArray(v))i.push(...v);else{const E=rl(t[16]);Gu(E[1],E,v,i,!0)}}n=o?n.projectionNext:n.next}return i}class Wl{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 Gu(n,t,n.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 128==(128&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(ie(t)){const n=t[8],i=n?n.indexOf(this):-1;i>-1&&(Il(t,i),gi(n,i))}this._attachedToViewContainer=!1}Rl(this._lView[1],this._lView)}onDestroy(t){ih(this._lView[1],this._lView,null,t)}markForCheck(){Hu(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){ju(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new ot(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Qd(e,t){ms(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new ot(902,!1);this._appRef=t}}class $g extends Wl{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;ju(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class wd extends Hl{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=gn(t);return new ql(n,this.ngModule)}}function yh(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class Gg{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,i){const o=this.injector.get(t,jc,i);return o!==jc||n===jc?o:this.parentInjector.get(t,n,i)}}class ql extends Af{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function ng(e){return e.map(tg).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return yh(this.componentDef.inputs)}get outputs(){return yh(this.componentDef.outputs)}create(t,n,i,o){let l=(o=o||this.ngModule)instanceof _a?o:o?.injector;l&&null!==this.componentDef.getStandaloneInjector&&(l=this.componentDef.getStandaloneInjector(l)||l);const d=l?new Gg(t,l):t,v=d.get(Rf,null);if(null===v)throw new ot(407,!1);const E=d.get(Vp,null),A=v.createRenderer(null,this.componentDef),B=this.componentDef.selectors[0][0]||"div",ee=i?function Og(e,t,n){return e.selectRootElement(t,n===at.ShadowDom)}(A,i,this.componentDef.encapsulation):ga(A,B,function zg(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(B)),ve=this.componentDef.onPush?288:272,Le=dd(0,null,null,1,0,null,null,null,null,null),st=Lu(null,Le,null,ve,null,null,v,A,E,d,null);let Mt,Lt;ye(st);try{const en=function Yg(e,t,n,i,o,l){const d=n[1];n[22]=e;const E=Ha(d,22,2,"#host",null),A=E.mergedAttrs=t.hostAttrs;null!==A&&(zu(E,A,!0),null!==e&&(rn(o,e,A),null!==E.classes&&bc(o,e,E.classes),null!==E.styles&&lf(o,e,E.styles)));const B=i.createRenderer(e,t),ee=Lu(n,rh(t),null,t.onPush?32:16,n[22],E,i,B,l||null,null,null);return d.firstCreatePass&&(Ps(Ts(E,n),d,t.type),ch(d,E),dh(E,n.length,1)),Uu(n,ee),n[22]=ee}(ee,this.componentDef,st,v,A);if(ee)if(i)rn(A,ee,["ng-version",Nf.full]);else{const{attrs:vn,classes:_t}=function rg(e){const t=[],n=[];let i=1,o=2;for(;i<e.length;){let l=e[i];if("string"==typeof l)2===o?""!==l&&t.push(l,e[++i]):8===o&&n.push(l);else{if(!_s(o))break;o=l}i++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);vn&&rn(A,ee,vn),_t&&_t.length>0&&bc(A,ee,_t.join(" "))}if(Lt=ii(Le,22),void 0!==n){const vn=Lt.projection=[];for(let _t=0;_t<this.ngContentSelectors.length;_t++){const Hn=n[_t];vn.push(null!=Hn?Array.from(Hn):null)}}Mt=function Zg(e,t,n,i){const o=n[1],l=function Rg(e,t,n){const i=wr();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),fh(e,i,t,_l(e,t,1,null),n),sh(e,i));const o=zo(t,e,i.directiveStart,i);Ji(o,t);const l=gr(i,t);return l&&Ji(l,t),o}(o,n,t);if(e[8]=n[8]=l,null!==i)for(const v of i)v(l,t);if(t.contentQueries){const v=wr();t.contentQueries(1,l,v.directiveStart)}const d=wr();return!o.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||($n(d.index),lh(n[1],d,0,d.directiveStart,d.directiveEnd,t),pd(t,l)),l}(en,this.componentDef,st,[Kg]),ld(Le,st,null)}finally{Ln()}return new qg(this.componentType,Mt,dl(Lt,st),st,Lt)}}class qg extends class Ap{}{constructor(t,n,i,o,l){super(),this.location=i,this._rootLView=o,this._tNode=l,this.instance=n,this.hostView=this.changeDetectorRef=new $g(o),this.componentType=t}setInput(t,n){const i=this._tNode.inputs;let o;if(null!==i&&(o=i[t])){const l=this._rootLView;Cd(l[1],l,o,t,n),ah(l,this._tNode.index)}}get injector(){return new cr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function Kg(){const e=wr();Vn(ct()[1],e)}function s(e){let t=function r(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const i=[e];for(;t;){let o;if(ut(e))o=t.ɵcmp||t.ɵdir;else{if(t.ɵcmp)throw new ot(903,!1);o=t.ɵdir}if(o){if(n){i.push(o);const d=e;d.inputs=S(e.inputs),d.declaredInputs=S(e.declaredInputs),d.outputs=S(e.outputs);const v=o.hostBindings;v&&he(e,v);const E=o.viewQuery,A=o.contentQueries;if(E&&F(e,E),A&&Y(e,A),Se(e.inputs,o.inputs),Se(e.declaredInputs,o.declaredInputs),Se(e.outputs,o.outputs),ut(o)&&o.data.animation){const B=e.data;B.animation=(B.animation||[]).concat(o.data.animation)}}const l=o.features;if(l)for(let d=0;d<l.length;d++){const v=l[d];v&&v.ngInherit&&v(e),v===s&&(n=!1)}}t=Object.getPrototypeOf(t)}!function c(e){let t=0,n=null;for(let i=e.length-1;i>=0;i--){const o=e[i];o.hostVars=t+=o.hostVars,o.hostAttrs=ln(o.hostAttrs,n=ln(n,o.hostAttrs))}}(i)}function S(e){return e===Ut?{}:e===Pt?[]:e}function F(e,t){const n=e.viewQuery;e.viewQuery=n?(i,o)=>{t(i,o),n(i,o)}:t}function Y(e,t){const n=e.contentQueries;e.contentQueries=n?(i,o,l)=>{t(i,o,l),n(i,o,l)}:t}function he(e,t){const n=e.hostBindings;e.hostBindings=n?(i,o)=>{t(i,o),n(i,o)}:t}let ft=null;function mt(){if(!ft){const e=Dt.Symbol;if(e&&e.iterator)ft=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&&(ft=i)}}}return ft}function an(e){return!!Mn(e)&&(Array.isArray(e)||!(e instanceof Map)&&mt()in e)}function Mn(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Yn(e,t,n){return e[t]=n}function kr(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function ji(e,t,n,i){const o=kr(e,t,n);return kr(e,t+1,i)||o}function ys(e,t,n,i){const o=ct();return kr(o,wo(),t)&&(jn(),li(ge(),o,e,t,n,i)),ys}function Wu(e,t,n,i){return kr(e,wo(),n)?t+Me(n)+i:Wn}function qu(e,t,n,i,o,l){const v=ji(e,function fo(){return Dn.lFrame.bindingIndex}(),n,o);return qi(2),v?t+Me(n)+i+Me(o)+l:Wn}function G_(e,t,n,i,o,l,d,v){const E=ct(),A=jn(),B=e+22,ee=A.firstCreatePass?function ZC(e,t,n,i,o,l,d,v,E){const A=t.consts,B=Ha(t,e,4,d||null,or(A,v));fd(t,n,B,or(A,E)),Vn(t,B);const ee=B.tViews=dd(2,B,i,o,l,t.directiveRegistry,t.pipeRegistry,null,t.schemas,A);return null!==t.queries&&(t.queries.template(t,B),ee.queries=t.queries.embeddedTView(B)),B}(B,A,E,t,n,i,o,l,d):A.data[B];Wi(ee,!1);const ve=E[11].createComment("");il(A,E,ve,ee),Ji(ve,E),Uu(E,E[B]=hh(ve,E,ve,ee)),lt(ee)&&ud(A,E,ee),null!=d&&cd(E,ee,v)}function W_(e){return function _o(e,t){return e[t]}(function $s(){return Dn.lFrame.contextLView}(),22+e)}function Qg(e,t,n){const i=ct();return kr(i,wo(),t)&&Zo(jn(),ge(),i,e,t,i[11],n,!1),Qg}function Jg(e,t,n,i,o){const d=o?"class":"style";Cd(e,n,t.inputs[d],d,i)}function vh(e,t,n,i){const o=ct(),l=jn(),d=22+e,v=o[11],E=o[d]=ga(v,t,function xn(){return Dn.lFrame.currentNamespace}()),A=l.firstCreatePass?function QC(e,t,n,i,o,l,d){const v=t.consts,A=Ha(t,e,2,o,or(v,l));return fd(t,n,A,or(v,d)),null!==A.attrs&&zu(A,A.attrs,!1),null!==A.mergedAttrs&&zu(A,A.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,A),A}(d,l,o,0,t,n,i):l.data[d];Wi(A,!0);const B=A.mergedAttrs;null!==B&&rn(v,E,B);const ee=A.classes;null!==ee&&bc(v,E,ee);const ve=A.styles;return null!==ve&&lf(v,E,ve),64!=(64&A.flags)&&il(l,o,E,A),0===function bs(){return Dn.lFrame.elementDepthCount}()&&Ji(E,o),function Pi(){Dn.lFrame.elementDepthCount++}(),lt(A)&&(ud(l,o,A),nh(l,A,o)),null!==i&&cd(o,A),vh}function Ch(){let e=wr();Ro()?Co():(e=e.parent,Wi(e,!1));const t=e;!function yo(){Dn.lFrame.elementDepthCount--}();const n=jn();return n.firstCreatePass&&(Vn(n,e),Ke(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function ce(e){return 0!=(16&e.flags)}(t)&&Jg(n,t,ct(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function $e(e){return 0!=(32&e.flags)}(t)&&Jg(n,t,ct(),t.stylesWithoutHost,!1),Ch}function Xg(e,t,n,i){return vh(e,t,n,i),Ch(),Xg}function wh(e,t,n){const i=ct(),o=jn(),l=e+22,d=o.firstCreatePass?function JC(e,t,n,i,o){const l=t.consts,d=or(l,i),v=Ha(t,e,8,"ng-container",d);return null!==d&&zu(v,d,!0),fd(t,n,v,or(l,o)),null!==t.queries&&t.queries.elementStart(t,v),v}(l,o,i,t,n):o.data[l];Wi(d,!0);const v=i[l]=i[11].createComment("");return il(o,i,v,d),Ji(v,i),lt(d)&&(ud(o,i,d),nh(o,d,i)),null!=n&&cd(i,d),wh}function bh(){let e=wr();const t=jn();return Ro()?Co():(e=e.parent,Wi(e,!1)),t.firstCreatePass&&(Vn(t,e),Ke(e)&&t.queries.elementEnd(e)),bh}function em(e,t,n){return wh(e,t,n),bh(),em}function q_(){return ct()}function tm(e){return!!e&&"function"==typeof e.then}function Y_(e){return!!e&&"function"==typeof e.subscribe}const Z_=Y_;function nm(e,t,n,i){const o=ct(),l=jn(),d=wr();return function Q_(e,t,n,i,o,l,d,v){const E=lt(i),B=e.firstCreatePass&&gh(e),ee=t[8],ve=$u(t);let Le=!0;if(3&i.type||v){const Lt=gr(i,t),en=v?v(Lt):Lt,vn=ve.length,_t=v?Br=>v(Vr(Br[i.index])):i.index;let Hn=null;if(!v&&E&&(Hn=function XC(e,t,n,i){const o=e.cleanup;if(null!=o)for(let l=0;l<o.length-1;l+=2){const d=o[l];if(d===n&&o[l+1]===i){const v=t[7],E=o[l+2];return v.length>E?v[E]:null}"string"==typeof d&&(l+=2)}return null}(e,t,o,i.index)),null!==Hn)(Hn.__ngLastListenerFn__||Hn).__ngNextListenerFn__=l,Hn.__ngLastListenerFn__=l,Le=!1;else{l=X_(i,t,ee,l,!1);const Br=n.listen(en,o,l);ve.push(l,Br),B&&B.push(o,_t,vn,vn+1)}}else l=X_(i,t,ee,l,!1);const st=i.outputs;let Mt;if(Le&&null!==st&&(Mt=st[o])){const Lt=Mt.length;if(Lt)for(let en=0;en<Lt;en+=2){const _i=t[Mt[en]][Mt[en+1]].subscribe(l),Kl=ve.length;ve.push(l,_i),B&&B.push(o,i.index,Kl,-(Kl+1))}}}(l,o,o[11],d,e,t,0,i),nm}function J_(e,t,n,i){try{return!1!==n(i)}catch(o){return _h(e,o),!1}}function X_(e,t,n,i,o){return function l(d){if(d===Function)return i;Hu(2&e.flags?Wr(e.index,t):t);let E=J_(t,0,i,d),A=l.__ngNextListenerFn__;for(;A;)E=J_(t,0,A,d)&&E,A=A.__ngNextListenerFn__;return o&&!1===E&&(d.preventDefault(),d.returnValue=!1),E}}function ey(e=1){return function On(e){return(Dn.lFrame.contextLView=function yn(e,t){for(;e>0;)t=t[15],e--;return t}(e,Dn.lFrame.contextLView))[8]}(e)}function e0(e,t){let n=null;const i=function Xp(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 l=t[o];if("*"!==l){if(null===i?$l(e,l,!0):kf(i,l))return o}else n=o}return n}function ty(e){const t=ct()[16][6];if(!t.projection){const i=t.projection=Ws(e?e.length:1,null),o=i.slice();let l=t.child;for(;null!==l;){const d=e?e0(l,e):0;null!==d&&(o[d]?o[d].projectionNext=l:i[d]=l,o[d]=l),l=l.next}}}function ny(e,t=0,n){const i=ct(),o=jn(),l=Ha(o,22+e,16,null,n||null);null===l.projection&&(l.projection=t),Co(),64!=(64&l.flags)&&function ep(e,t,n){vu(t[11],0,t,n,Cc(e,n,t),rf(n.parent||t[6],n,t))}(o,i,l)}function rm(e,t,n){return Dh(e,"",t,"",n),rm}function Dh(e,t,n,i,o){const l=ct(),d=Wu(l,t,n,i);return d!==Wn&&Zo(jn(),ge(),l,e,d,l[11],o,!1),Dh}function im(e,t,n,i,o,l,d){const v=ct(),E=qu(v,t,n,i,o,l);return E!==Wn&&Zo(jn(),ge(),v,e,E,v[11],d,!1),im}function cy(e,t,n,i,o){const l=e[n+1],d=null===t;let v=i?as(l):Li(l),E=!1;for(;0!==v&&(!1===E||d);){const B=e[v+1];r0(e[v],t)&&(E=!0,e[v+1]=i?Pr(B):Au(B)),v=i?as(B):Li(B)}E&&(e[n+1]=i?Au(l):Pr(l))}function r0(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&m(e,t)>=0}const so={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function dy(e){return e.substring(so.key,so.keyEnd)}function fy(e,t){const n=so.textEnd;return n===t?-1:(t=so.keyEnd=function l0(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,so.key=t,n),ec(e,t,n))}function ec(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function om(e,t){return function na(e,t,n,i){const o=ct(),l=jn(),d=qi(2);l.firstUpdatePass&&Cy(l,e,d,i),t!==Wn&&kr(o,d,t)&&by(l,l.data[tn()],o,o[11],e,o[d+1]=function y0(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Ze(Ks(e)))),e}(t,n),i,d)}(e,t,null,!0),om}function yy(e){ra(Mo,wa,e,!0)}function wa(e,t){for(let n=function s0(e){return function py(e){so.key=0,so.keyEnd=0,so.value=0,so.valueEnd=0,so.textEnd=e.length}(e),fy(e,ec(e,0,so.textEnd))}(t);n>=0;n=fy(t,n))Mo(e,dy(t),!0)}function ra(e,t,n,i){const o=jn(),l=qi(2);o.firstUpdatePass&&Cy(o,null,l,i);const d=ct();if(n!==Wn&&kr(d,l,n)){const v=o.data[tn()];if(Ey(v,i)&&!vy(o,l)){let E=i?v.classesWithoutHost:v.stylesWithoutHost;null!==E&&(n=je(E,n||"")),Jg(o,v,d,n,i)}else!function _0(e,t,n,i,o,l,d,v){o===Wn&&(o=Pt);let E=0,A=0,B=0<o.length?o[0]:null,ee=0<l.length?l[0]:null;for(;null!==B||null!==ee;){const ve=E<o.length?o[E+1]:void 0,Le=A<l.length?l[A+1]:void 0;let Mt,st=null;B===ee?(E+=2,A+=2,ve!==Le&&(st=ee,Mt=Le)):null===ee||null!==B&&B<ee?(E+=2,st=B):(A+=2,st=ee,Mt=Le),null!==st&&by(e,t,n,i,st,Mt,d,v),B=E<o.length?o[E]:null,ee=A<l.length?l[A]:null}}(o,v,d,d[11],d[l+1],d[l+1]=function m0(e,t,n){if(null==n||""===n)return Pt;const i=[],o=Ks(n);if(Array.isArray(o))for(let l=0;l<o.length;l++)e(i,o[l],!0);else if("object"==typeof o)for(const l in o)o.hasOwnProperty(l)&&e(i,l,o[l]);else"string"==typeof o&&t(i,o);return i}(e,t,n),i,l)}}function vy(e,t){return t>=e.expandoStartIndex}function Cy(e,t,n,i){const o=e.data;if(null===o[n+1]){const l=o[tn()],d=vy(e,n);Ey(l,i)&&null===t&&!d&&(t=!1),t=function f0(e,t,n,i){const o=function _(e){const t=Dn.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let l=i?t.residualClasses:t.residualStyles;if(null===o)0===(i?t.classBindings:t.styleBindings)&&(n=bd(n=sm(null,e,t,n,i),t.attrs,i),l=null);else{const d=t.directiveStylingLast;if(-1===d||e[d]!==o)if(n=sm(o,e,t,n,i),null===l){let E=function h0(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0!==Li(i))return e[as(i)]}(e,t,i);void 0!==E&&Array.isArray(E)&&(E=sm(null,e,t,E[1],i),E=bd(E,t.attrs,i),function p0(e,t,n,i){e[as(n?t.classBindings:t.styleBindings)]=i}(e,t,i,E))}else l=function g0(e,t,n){let i;const o=t.directiveEnd;for(let l=1+t.directiveStylingLast;l<o;l++)i=bd(i,e[l].hostAttrs,n);return bd(i,t.attrs,n)}(e,t,i)}return void 0!==l&&(i?t.residualClasses=l:t.residualStyles=l),n}(o,l,t,i),function t0(e,t,n,i,o,l){let d=l?t.classBindings:t.styleBindings,v=as(d),E=Li(d);e[i]=n;let B,A=!1;if(Array.isArray(n)){const ee=n;B=ee[1],(null===B||m(ee,B)>0)&&(A=!0)}else B=n;if(o)if(0!==E){const ve=as(e[v+1]);e[i+1]=xu(ve,v),0!==ve&&(e[ve+1]=Iu(e[ve+1],i)),e[v+1]=function Xn(e,t){return 131071&e|t<<17}(e[v+1],i)}else e[i+1]=xu(v,0),0!==v&&(e[v+1]=Iu(e[v+1],i)),v=i;else e[i+1]=xu(E,0),0===v?v=i:e[E+1]=Iu(e[E+1],i),E=i;A&&(e[i+1]=Au(e[i+1])),cy(e,B,i,!0),cy(e,B,i,!1),function n0(e,t,n,i,o){const l=o?e.residualClasses:e.residualStyles;null!=l&&"string"==typeof t&&m(l,t)>=0&&(n[i+1]=Pr(n[i+1]))}(t,B,e,i,l),d=xu(v,E),l?t.classBindings=d:t.styleBindings=d}(o,l,t,n,d,i)}}function sm(e,t,n,i,o){let l=null;const d=n.directiveEnd;let v=n.directiveStylingLast;for(-1===v?v=n.directiveStart:v++;v<d&&(l=t[v],i=bd(i,l.hostAttrs,o),l!==e);)v++;return null!==e&&(n.directiveStylingLast=v),i}function bd(e,t,n){const i=n?1:2;let o=-1;if(null!==t)for(let l=0;l<t.length;l++){const d=t[l];"number"==typeof d?o=d:o===i&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Mo(e,d,!!n||t[++l]))}return void 0===e?null:e}function by(e,t,n,i,o,l,d,v){if(!(3&t.type))return;const E=e.data,A=E[v+1];Eh(function Yf(e){return 1==(1&e)}(A)?Dy(E,t,n,o,Li(A),d):void 0)||(Eh(l)||function Vs(e){return 2==(2&e)}(A)&&(l=Dy(E,null,n,o,v,d)),function go(e,t,n,i,o){if(t)o?e.addClass(n,i):e.removeClass(n,i);else{let l=-1===i.indexOf("-")?void 0:Fo.DashCase;null==o?e.removeStyle(n,i,l):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),l|=Fo.Important),e.setStyle(n,i,o,l))}}(i,d,wi(tn(),n),o,l))}function Dy(e,t,n,i,o,l){const d=null===t;let v;for(;o>0;){const E=e[o],A=Array.isArray(E),B=A?E[1]:E,ee=null===B;let ve=n[o+1];ve===Wn&&(ve=ee?Pt:void 0);let Le=ee?g(ve,i):B===i?ve:void 0;if(A&&!Eh(Le)&&(Le=g(E,i)),Eh(Le)&&(v=Le,d))return v;const st=e[o+1];o=d?as(st):Li(st)}if(null!==t){let E=l?t.residualClasses:t.residualStyles;null!=E&&(v=g(E,i))}return v}function Eh(e){return void 0!==e}function Ey(e,t){return 0!=(e.flags&(t?16:32))}function My(e,t=""){const n=ct(),i=jn(),o=e+22,l=i.firstCreatePass?Ha(i,o,1,t,null):i.data[o],d=n[o]=function hu(e,t){return e.createText(t)}(n[11],t);il(i,n,d,l),Wi(l,!1)}function am(e){return Mh("",e,""),am}function Mh(e,t,n){const i=ct(),o=Wu(i,e,t,n);return o!==Wn&&function ta(e,t,n){const i=wi(t,e);!function Zd(e,t,n){e.setValue(t,n)}(e[11],i,n)}(i,tn(),o),Mh}function Ny(e,t,n){ra(Mo,wa,Wu(ct(),e,t,n),!0)}function lm(e,t,n){const i=ct();return kr(i,wo(),t)&&Zo(jn(),ge(),i,e,t,i[11],n,!0),lm}const Yl=void 0;var L0=["en",[["a","p"],["AM","PM"],Yl],[["AM","PM"],Yl,Yl],[["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"]],Yl,[["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"]],Yl,[["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}",Yl,"{1} 'at' {0}",Yl],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function k0(e){const n=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===i?1:5}];let tc={};function um(e){const t=function V0(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Wy(t);if(n)return n;const i=t.split("-")[0];if(n=Wy(i),n)return n;if("en"===i)return L0;throw new ot(701,!1)}function Gy(e){return um(e)[Rn.PluralCase]}function Wy(e){return e in tc||(tc[e]=Dt.ng&&Dt.ng.common&&Dt.ng.common.locales&&Dt.ng.common.locales[e]),tc[e]}var Rn=(()=>((Rn=Rn||{})[Rn.LocaleId=0]="LocaleId",Rn[Rn.DayPeriodsFormat=1]="DayPeriodsFormat",Rn[Rn.DayPeriodsStandalone=2]="DayPeriodsStandalone",Rn[Rn.DaysFormat=3]="DaysFormat",Rn[Rn.DaysStandalone=4]="DaysStandalone",Rn[Rn.MonthsFormat=5]="MonthsFormat",Rn[Rn.MonthsStandalone=6]="MonthsStandalone",Rn[Rn.Eras=7]="Eras",Rn[Rn.FirstDayOfWeek=8]="FirstDayOfWeek",Rn[Rn.WeekendRange=9]="WeekendRange",Rn[Rn.DateFormat=10]="DateFormat",Rn[Rn.TimeFormat=11]="TimeFormat",Rn[Rn.DateTimeFormat=12]="DateTimeFormat",Rn[Rn.NumberSymbols=13]="NumberSymbols",Rn[Rn.NumberFormats=14]="NumberFormats",Rn[Rn.CurrencyCode=15]="CurrencyCode",Rn[Rn.CurrencySymbol=16]="CurrencySymbol",Rn[Rn.CurrencyName=17]="CurrencyName",Rn[Rn.Currencies=18]="Currencies",Rn[Rn.Directionality=19]="Directionality",Rn[Rn.PluralCase=20]="PluralCase",Rn[Rn.ExtraData=21]="ExtraData",Rn))();const nc="en-US";let qy=nc;function fm(e,t,n,i,o){if(e=Ye(e),Array.isArray(e))for(let l=0;l<e.length;l++)fm(e[l],t,n,i,o);else{const l=jn(),d=ct();let v=Ba(e)?e:Ye(e.provide),E=Of(e);const A=wr(),B=1048575&A.providerIndexes,ee=A.directiveStart,ve=A.providerIndexes>>20;if(Ba(e)||!e.multi){const Le=new Ui(E,o,gl),st=pm(v,t,o?B:B+ve,ee);-1===st?(Ps(Ts(A,d),l,v),hm(l,e,t.length),t.push(v),A.directiveStart++,A.directiveEnd++,o&&(A.providerIndexes+=1048576),n.push(Le),d.push(Le)):(n[st]=Le,d[st]=Le)}else{const Le=pm(v,t,B+ve,ee),st=pm(v,t,B,B+ve),Mt=Le>=0&&n[Le],Lt=st>=0&&n[st];if(o&&!Lt||!o&&!Mt){Ps(Ts(A,d),l,v);const en=function Fw(e,t,n,i,o){const l=new Ui(e,n,gl);return l.multi=[],l.index=t,l.componentProviders=0,yv(l,o,i&&!n),l}(o?Nw:Rw,n.length,o,i,E);!o&&Lt&&(n[st].providerFactory=en),hm(l,e,t.length,0),t.push(v),A.directiveStart++,A.directiveEnd++,o&&(A.providerIndexes+=1048576),n.push(en),d.push(en)}else hm(l,e,Le>-1?Le:st,yv(n[o?st:Le],E,!o&&i));!o&&i&&Lt&&n[st].componentProviders++}}}function hm(e,t,n,i){const o=Ba(t),l=function Ep(e){return!!e.useClass}(t);if(o||l){const E=(l?Ye(t.useClass):t).prototype.ngOnDestroy;if(E){const A=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const B=A.indexOf(n);-1===B?A.push(n,[i,E]):A[B+1].push(i,E)}else A.push(n,E)}}}function yv(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function pm(e,t,n,i){for(let o=n;o<i;o++)if(t[o]===e)return o;return-1}function Rw(e,t,n,i){return gm(this.multi,[])}function Nw(e,t,n,i){const o=this.multi;let l;if(this.providerFactory){const d=this.providerFactory.componentProviders,v=zo(n,n[1],this.providerFactory.index,i);l=v.slice(0,d),gm(o,l);for(let E=d;E<v.length;E++)l.push(v[E])}else l=[],gm(o,l);return l}function gm(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function vv(e,t=[]){return n=>{n.providersResolver=(i,o)=>function Iw(e,t,n){const i=jn();if(i.firstCreatePass){const o=ut(e);fm(n,i.data,i.blueprint,o,!0),fm(t,i.data,i.blueprint,o,!1)}}(i,o?o(e):e,t)}}class rc{}class Cv{}function kw(e,t){return new wv(e,t??null)}class wv extends rc{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new wd(this);const i=U(t);this._bootstrapComponents=Js(i.bootstrap),this._r3Injector=jf(t,n,[{provide:rc,useValue:this},{provide:Hl,useValue:this.componentFactoryResolver}],Ze(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach((n=>n())),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class mm extends Cv{constructor(t){super(),this.moduleType=t}create(t){return new wv(this.moduleType,t)}}class Lw extends rc{constructor(t,n,i){super(),this.componentFactoryResolver=new wd(this),this.instance=null;const o=new Pf([...t,{provide:rc,useValue:this},{provide:Hl,useValue:this.componentFactoryResolver}],n||ll(),i,new Set(["environment"]));this.injector=o,o.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function _m(e,t,n=null){return new Lw(e,t,n).injector}let Vw=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n.id)){const i=Ef(0,n.type),o=i.length>0?_m([i],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n.id,o)}return this.cachedInjectors.get(n.id)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return e.ɵprov=hr({token:e,providedIn:"environment",factory:()=>new e(M(_a))}),e})();function bv(e){e.getStandaloneInjector=t=>t.get(Vw).getOrCreateStandaloneInjector(e)}function Ov(e,t,n){const i=fi()+e,o=ct();return o[i]===Wn?Yn(o,i,n?t.call(n):t()):function oo(e,t){return e[t]}(o,i)}function xv(e,t,n,i){return function Rv(e,t,n,i,o,l){const d=t+n;return kr(e,d,o)?Yn(e,d+1,l?i.call(l,o):i(o)):Pd(e,d+1)}(ct(),fi(),e,t,n,i)}function Av(e,t,n,i,o){return function Nv(e,t,n,i,o,l,d){const v=t+n;return ji(e,v,o,l)?Yn(e,v+2,d?i.call(d,o,l):i(o,l)):Pd(e,v+2)}(ct(),fi(),e,t,n,i,o)}function Iv(e,t,n,i,o,l){return function Fv(e,t,n,i,o,l,d,v){const E=t+n;return function ni(e,t,n,i,o){const l=ji(e,t,n,i);return kr(e,t+2,o)||l}(e,E,o,l,d)?Yn(e,E+3,v?i.call(v,o,l,d):i(o,l,d)):Pd(e,E+3)}(ct(),fi(),e,t,n,i,o,l)}function Pd(e,t){const n=e[t];return n===Wn?void 0:n}function vm(e){return t=>{setTimeout(e,void 0,t)}}const ba=class sb extends a.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,i){let o=t,l=n||(()=>null),d=i;if(t&&"object"==typeof t){const E=t;o=E.next?.bind(E),l=E.error?.bind(E),d=E.complete?.bind(E)}this.__isAsync&&(l=vm(l),o&&(o=vm(o)),d&&(d=vm(d)));const v=super.subscribe({next:o,error:l,complete:d});return t instanceof b.w0&&t.add(v),v}};function ab(){return this._results[mt()]()}class Cm{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=mt(),i=Cm.prototype;i[n]||(i[n]=ab)}get changes(){return this._changes||(this._changes=new ba)}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=Zr(t);(this._changesDetected=!function ac(e,t,n){if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++){let o=e[i],l=t[i];if(n&&(o=n(o),l=n(l)),l!==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()}}let xd=(()=>{class e{}return e.__NG_ELEMENT_ID__=cb,e})();const lb=xd,ub=class extends lb{constructor(t,n,i){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=i}createEmbeddedView(t,n){const i=this._declarationTContainer.tViews,o=Lu(this._declarationLView,i,t,16,null,i.declTNode,null,null,null,null,n||null);o[17]=this._declarationLView[this._declarationTContainer.index];const d=this._declarationLView[19];return null!==d&&(o[19]=d.createEmbeddedView(i)),ld(i,o,t),new Wl(o)}};function cb(){return xh(wr(),ct())}function xh(e,t){return 4&e.type?new ub(t,e,dl(e,t)):null}let Ah=(()=>{class e{}return e.__NG_ELEMENT_ID__=db,e})();function db(){return Uv(wr(),ct())}const fb=Ah,Vv=class extends fb{constructor(t,n,i){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=i}get element(){return dl(this._hostTNode,this._hostLView)}get injector(){return new cr(this._hostTNode,this._hostLView)}get parentInjector(){const t=sa(this._hostTNode,this._hostLView);if(Un(t)){const n=hi(t,this._hostLView),i=Cr(t);return new cr(n[1].data[i+8],n)}return new cr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Bv(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-I}createEmbeddedView(t,n,i){let o,l;"number"==typeof i?o=i:null!=i&&(o=i.index,l=i.injector);const d=t.createEmbeddedView(n||{},l);return this.insert(d,o),d}createComponent(t,n,i,o,l){const d=t&&!function Ia(e){return"function"==typeof e}(t);let v;if(d)v=n;else{const ee=n||{};v=ee.index,i=ee.injector,o=ee.projectableNodes,l=ee.environmentInjector||ee.ngModuleRef}const E=d?t:new ql(gn(t)),A=i||this.parentInjector;if(!l&&null==E.ngModule){const ve=(d?A:this.parentInjector).get(_a,null);ve&&(l=ve)}const B=E.create(A,o,void 0,l);return this.insert(B.hostView,v),B}insert(t,n){const i=t._lView,o=i[1];if(function uo(e){return ie(e[3])}(i)){const B=this.indexOf(t);if(-1!==B)this.detach(B);else{const ee=i[3],ve=new Vv(ee,ee[6],ee[3]);ve.detach(ve.indexOf(t))}}const l=this._adjustIndex(n),d=this._lContainer;!function pu(e,t,n,i){const o=I+i,l=n.length;i>0&&(n[o-1][4]=t),i<l-I?(t[4]=n[o],Ra(n,I+i,t)):(n.push(t),t[4]=null),t[3]=n;const d=t[17];null!==d&&n!==d&&function Xd(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(d,t);const v=t[19];null!==v&&v.insertView(e),t[2]|=64}(o,i,d,l);const v=En(l,d),E=i[11],A=_u(E,d[7]);return null!==A&&function Jh(e,t,n,i,o,l){i[0]=o,i[6]=t,ms(e,i,n,1,o,l)}(o,d[6],E,i,A,v),t.attachToViewContainerRef(),Ra(wm(d),l,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Bv(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),i=Il(this._lContainer,n);i&&(gi(wm(this._lContainer),n),Rl(i[1],i))}detach(t){const n=this._adjustIndex(t,-1),i=Il(this._lContainer,n);return i&&null!=gi(wm(this._lContainer),n)?new Wl(i):null}_adjustIndex(t,n=0){return t??this.length+n}};function Bv(e){return e[8]}function wm(e){return e[8]||(e[8]=[])}function Uv(e,t){let n;const i=t[e.index];if(ie(i))n=i;else{let o;if(8&e.type)o=Vr(i);else{const l=t[11];o=l.createComment("");const d=gr(e,t);Fa(l,_u(l,d),o,function nf(e,t){return e.nextSibling(t)}(l,d),!1)}t[e.index]=n=hh(i,t,o,e),Uu(t,n)}return new Vv(n,e,t)}class bm{constructor(t){this.queryList=t,this.matches=null}clone(){return new bm(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 l=0;l<i;l++){const d=n.getByIndex(l);o.push(this.queries[d.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!==Zv(t,n).matches&&this.queries[n].setDirty()}}class Hv{constructor(t,n,i=null){this.predicate=t,this.flags=n,this.read=i}}class Em{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,l=this.getByIndex(i).embeddedTView(t,o);l&&(l.indexInDeclarationView=i,null!==n?n.push(l):n=[l])}return null!==n?new Em(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 Mm{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 Mm(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 l=i[o];this.matchTNodeWithReadOption(t,n,gb(n,l)),this.matchTNodeWithReadOption(t,n,Os(n,t,l,!1,!1))}else i===xd?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Os(n,t,i,!1,!1))}matchTNodeWithReadOption(t,n,i){if(null!==i){const o=this.metadata.read;if(null!==o)if(o===jl||o===Ah||o===xd&&4&n.type)this.addMatch(n.index,-2);else{const l=Os(n,t,o,!1,!1);null!==l&&this.addMatch(n.index,l)}else this.addMatch(n.index,i)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function gb(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 _b(e,t,n,i){return-1===n?function mb(e,t){return 11&e.type?dl(e,t):4&e.type?xh(e,t):null}(t,e):-2===n?function yb(e,t,n){return n===jl?dl(t,e):n===xd?xh(t,e):n===Ah?Uv(t,e):void 0}(e,t,i):zo(e,e[1],n,t)}function jv(e,t,n,i){const o=t[19].queries[i];if(null===o.matches){const l=e.data,d=n.matches,v=[];for(let E=0;E<d.length;E+=2){const A=d[E];v.push(A<0?null:_b(t,l[A],d[E+1],n.metadata.read))}o.matches=v}return o.matches}function Sm(e,t,n,i){const o=e.queries.getByIndex(n),l=o.matches;if(null!==l){const d=jv(e,t,o,n);for(let v=0;v<l.length;v+=2){const E=l[v];if(E>0)i.push(d[v/2]);else{const A=l[v+1],B=t[-E];for(let ee=I;ee<B.length;ee++){const ve=B[ee];ve[17]===ve[3]&&Sm(ve[1],ve,A,i)}if(null!==B[9]){const ee=B[9];for(let ve=0;ve<ee.length;ve++){const Le=ee[ve];Sm(Le[1],Le,A,i)}}}}}return i}function $v(e){const t=ct(),n=jn(),i=T();k(i+1);const o=Zv(n,i);if(e.dirty&&function Ti(e){return 4==(4&e[2])}(t)===(2==(2&o.metadata.flags))){if(null===o.matches)e.reset([]);else{const l=o.crossesNgTemplate?Sm(n,t,i,[]):jv(n,t,o,i);e.reset(l,Fp),e.notifyOnChanges()}return!0}return!1}function zv(e,t,n){const i=jn();i.firstCreatePass&&(Yv(i,new Hv(e,t,n),-1),2==(2&t)&&(i.staticViewQueries=!0)),qv(i,ct(),t)}function Gv(e,t,n,i){const o=jn();if(o.firstCreatePass){const l=wr();Yv(o,new Hv(t,n,i),l.index),function Cb(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)}qv(o,ct(),n)}function Wv(){return function vb(e,t){return e[19].queries[t].queryList}(ct(),T())}function qv(e,t,n){const i=new Cm(4==(4&n));ih(e,t,i,i.destroy),null===t[19]&&(t[19]=new Dm),t[19].queries.push(new bm(i))}function Yv(e,t,n){null===e.queries&&(e.queries=new Em),e.queries.track(new Mm(t,n))}function Zv(e,t){return e.queries.getByIndex(t)}function Kv(e,t){return xh(e,t)}function Rh(...e){}const gC=new sn("Application Initializer");let Nh=(()=>{class e{constructor(n){this.appInits=n,this.resolve=Rh,this.reject=Rh,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 l=this.appInits[o]();if(tm(l))n.push(l);else if(Z_(l)){const d=new Promise(((v,E)=>{l.subscribe({complete:v,error:E})}));n.push(d)}}Promise.all(n).then((()=>{i()})).catch((o=>{this.reject(o)})),0===n.length&&i(),this.initialized=!0}}return e.ɵfac=function(n){return new(n||e)(M(gC,8))},e.ɵprov=hr({token:e,factory:e.ɵfac,providedIn:"root"}),e})();const mC=new sn("AppId",{providedIn:"root",factory:function _C(){return`${Am()}${Am()}${Am()}`}});function Am(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const yC=new sn("Platform Initializer"),Ub=new sn("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),vC=new sn("appBootstrapListener"),Hb=new sn("AnimationModuleType");let jb=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.ɵfac=function(n){return new(n||e)},e.ɵprov=hr({token:e,factory:e.ɵfac,providedIn:"platform"}),e})();const Fh=new sn("LocaleId",{providedIn:"root",factory:()=>Qe(Fh,Ae.Optional|Ae.SkipSelf)||function $b(){return typeof $localize<"u"&&$localize.locale||nc}()}),zb=new sn("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class Gb{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let Wb=(()=>{class e{compileModuleSync(n){return new mm(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const i=this.compileModuleSync(n),l=Js(U(n).declarations).reduce(((d,v)=>{const E=gn(v);return E&&d.push(new ql(E)),d}),[]);return new Gb(i,l)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.ɵfac=function(n){return new(n||e)},e.ɵprov=hr({token:e,factory:e.ɵfac,providedIn:"root"}),e})();const Zb=(()=>Promise.resolve(0))();function Im(e){typeof Zone>"u"?Zb.then((()=>{e&&e.apply(null,null)})):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Bs{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ba(!1),this.onMicrotaskEmpty=new ba(!1),this.onStable=new ba(!1),this.onError=new ba(!1),typeof Zone>"u")throw new ot(908,!1);Zone.assertZonePatched();const o=this;if(o._nesting=0,o._outer=o._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const l=Zone.AsyncStackTaggingZoneSpec;o._inner=o._inner.fork(new l("Angular"))}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 Kb(){let e=Dt.requestAnimationFrame,t=Dt.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 Xb(e){const t=()=>{!function Jb(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Dt,(()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",(()=>{e.lastRequestAnimationFrameId=-1,Nm(e),e.isCheckStableRunning=!0,Rm(e),e.isCheckStableRunning=!1}),void 0,(()=>{}),(()=>{}))),e.fakeTopEventTask.invoke()})),Nm(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,o,l,d,v)=>{try{return bC(e),n.invokeTask(o,l,d,v)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===l.type||e.shouldCoalesceRunChangeDetection)&&t(),DC(e)}},onInvoke:(n,i,o,l,d,v,E)=>{try{return bC(e),n.invoke(o,l,d,v,E)}finally{e.shouldCoalesceRunChangeDetection&&t(),DC(e)}},onHasTask:(n,i,o,l)=>{n.hasTask(o,l),i===o&&("microTask"==l.change?(e._hasPendingMicrotasks=l.microTask,Nm(e),Rm(e)):"macroTask"==l.change&&(e.hasPendingMacrotasks=l.macroTask))},onHandleError:(n,i,o,l)=>(n.handleError(o,l),e.runOutsideAngular((()=>e.onError.emit(l))),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Bs.isInAngularZone())throw new ot(909,!1)}static assertNotInAngularZone(){if(Bs.isInAngularZone())throw new ot(909,!1)}run(t,n,i){return this._inner.run(t,n,i)}runTask(t,n,i,o){const l=this._inner,d=l.scheduleEventTask("NgZoneEvent: "+o,t,Qb,Rh,Rh);try{return l.runTask(d,n,i)}finally{l.cancelTask(d)}}runGuarded(t,n,i){return this._inner.runGuarded(t,n,i)}runOutsideAngular(t){return this._outer.run(t)}}const Qb={};function Rm(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 Nm(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function bC(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function DC(e){e._nesting--,Rm(e)}class eD{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ba,this.onMicrotaskEmpty=new ba,this.onStable=new ba,this.onError=new ba}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)}}const EC=new sn(""),MC=new sn("");let Fm,tD=(()=>{class e{constructor(n,i,o){this._ngZone=n,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Fm||(function nD(e){Fm=e}(o),o.addToWindow(i)),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:()=>{Bs.assertNotInAngularZone(),Im((()=>{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())Im((()=>{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 l=-1;i&&i>0&&(l=setTimeout((()=>{this._callbacks=this._callbacks.filter((d=>d.timeoutId!==l)),n(this._didWork,this.getPendingTasks())}),i)),this._callbacks.push({doneCb:n,timeoutId:l,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}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,i,o){return[]}}return e.ɵfac=function(n){return new(n||e)(M(Bs),M(SC),M(MC))},e.ɵprov=hr({token:e,factory:e.ɵfac}),e})(),SC=(()=>{class e{constructor(){this._applications=new Map}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 Fm?.findTestabilityInTree(this,n,i)??null}}return e.ɵfac=function(n){return new(n||e)},e.ɵprov=hr({token:e,factory:e.ɵfac,providedIn:"platform"}),e})(),yl=null;const TC=new sn("AllowMultipleToken"),km=new sn("PlatformDestroyListeners");class oD{constructor(t,n){this.name=t,this.token=n}}function OC(e,t,n=[]){const i=`Platform: ${t}`,o=new sn(i);return(l=[])=>{let d=Lm();if(!d||d.injector.get(TC,!1)){const v=[...n,...l,{provide:o,useValue:!0}];e?e(v):function sD(e){if(yl&&!yl.get(TC,!1))throw new ot(400,!1);yl=e;const t=e.get(AC);(function PC(e){const t=e.get(yC,null);t&&t.forEach((n=>n()))})(e)}(function xC(e=[],t){return ki.create({name:t,providers:[{provide:Vc,useValue:"platform"},{provide:km,useValue:new Set([()=>yl=null])},...e]})}(v,i))}return function lD(e){const t=Lm();if(!t)throw new ot(401,!1);return t}()}}function Lm(){return yl?.get(AC)??null}let AC=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,i){const o=function RC(e,t){let n;return n="noop"===e?new eD:("zone.js"===e?void 0:e)||new Bs(t),n}(i?.ngZone,function IC(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(i)),l=[{provide:Bs,useValue:o}];return o.run((()=>{const d=ki.create({providers:l,parent:this.injector,name:n.moduleType.name}),v=n.create(d),E=v.injector.get(ya,null);if(!E)throw new ot(402,!1);return o.runOutsideAngular((()=>{const A=o.onError.subscribe({next:B=>{E.handleError(B)}});v.onDestroy((()=>{Lh(this._modules,v),A.unsubscribe()}))})),function NC(e,t,n){try{const i=n();return tm(i)?i.catch((o=>{throw t.runOutsideAngular((()=>e.handleError(o))),o})):i}catch(i){throw t.runOutsideAngular((()=>e.handleError(i))),i}}(E,o,(()=>{const A=v.injector.get(Nh);return A.runInitializers(),A.donePromise.then((()=>(function Yy(e){er(e,"Expected localeId to be defined"),"string"==typeof e&&(qy=e.toLowerCase().replace(/_/g,"-"))}(v.injector.get(Fh,nc)||nc),this._moduleDoBootstrap(v),v)))}))}))}bootstrapModule(n,i=[]){const o=FC({},i);return function rD(e,t,n){const i=new mm(n);return Promise.resolve(i)}(0,0,n).then((l=>this.bootstrapModuleFactory(l,o)))}_moduleDoBootstrap(n){const i=n.injector.get(kh);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach((o=>i.bootstrap(o)));else{if(!n.instance.ngDoBootstrap)throw new ot(403,!1);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 ot(404,!1);this._modules.slice().forEach((i=>i.destroy())),this._destroyListeners.forEach((i=>i()));const n=this._injector.get(km,null);n&&(n.forEach((i=>i())),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.ɵfac=function(n){return new(n||e)(M(ki))},e.ɵprov=hr({token:e,factory:e.ɵfac,providedIn:"platform"}),e})();function FC(e,t){return Array.isArray(t)?t.reduce(FC,e):{...e,...t}}let kh=(()=>{class e{constructor(n,i,o){this._zone=n,this._injector=i,this._exceptionHandler=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run((()=>{this.tick()}))}});const l=new H.y((v=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular((()=>{v.next(this._stable),v.complete()}))})),d=new H.y((v=>{let E;this._zone.runOutsideAngular((()=>{E=this._zone.onStable.subscribe((()=>{Bs.assertNotInAngularZone(),Im((()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,v.next(!0))}))}))}));const A=this._zone.onUnstable.subscribe((()=>{Bs.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular((()=>{v.next(!1)})))}));return()=>{E.unsubscribe(),A.unsubscribe()}}));this.isStable=(0,X.T)(l,d.pipe(function be(e={}){const{connector:t=(()=>new a.x),resetOnError:n=!0,resetOnComplete:i=!0,resetOnRefCountZero:o=!0}=e;return l=>{let d=null,v=null,E=null,A=0,B=!1,ee=!1;const ve=()=>{v?.unsubscribe(),v=null},Le=()=>{ve(),d=E=null,B=ee=!1},st=()=>{const Mt=d;Le(),Mt?.unsubscribe()};return(0,pe.e)(((Mt,Lt)=>{A++,!ee&&!B&&ve();const en=E=E??t();Lt.add((()=>{A--,0===A&&!ee&&!B&&(v=Z(st,o))})),en.subscribe(Lt),d||(d=new re.Hp({next:vn=>en.next(vn),error:vn=>{ee=!0,ve(),v=Z(Le,n,vn),en.error(vn)},complete:()=>{B=!0,ve(),v=Z(Le,i),en.complete()}}),(0,K.D)(Mt).subscribe(d))}))(l)}}()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,i){const o=n instanceof Af;if(!this._injector.get(Nh).done)throw!o&&G(n),new ot(405,false);let d;d=o?n:this._injector.get(Hl).resolveComponentFactory(n),this.componentTypes.push(d.componentType);const v=function iD(e){return e.isBoundToModule}(d)?void 0:this._injector.get(rc),A=d.create(ki.NULL,[],i||d.selector,v),B=A.location.nativeElement,ee=A.injector.get(EC,null);return ee?.registerApplication(B),A.onDestroy((()=>{this.detachView(A.hostView),Lh(this.components,A),ee?.unregisterApplication(B)})),this._loadComponent(A),A}tick(){if(this._runningTick)throw new ot(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular((()=>this._exceptionHandler.handleError(n)))}finally{this._runningTick=!1}}attachView(n){const i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){const i=n;Lh(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(vC,[]).concat(this._bootstrapListeners).forEach((o=>o(n)))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach((n=>n())),this._views.slice().forEach((n=>n.destroy())),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Lh(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new ot(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.ɵfac=function(n){return new(n||e)(M(Bs),M(_a),M(ya))},e.ɵprov=hr({token:e,factory:e.ɵfac,providedIn:"root"}),e})();function Lh(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let LC=!0,VC=!1;function cD(){return VC=!0,LC}function dD(){if(VC)throw new Error("Cannot enable prod mode after platform setup.");LC=!1}let fD=(()=>{class e{}return e.__NG_ELEMENT_ID__=hD,e})();function hD(e){return function pD(e,t,n){if(We(e)&&!n){const i=Wr(e.index,t);return new Wl(i,i)}return 47&e.type?new Wl(t[16],t):null}(wr(),ct(),16==(16&e))}class jC{constructor(){}supports(t){return an(t)}create(t){return new CD(t)}}const vD=(e,t)=>t;class CD{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||vD}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,l=null;for(;n||i;){const d=!i||n&&n.currentIndex<zC(i,o,l)?n:i,v=zC(d,o,l),E=d.currentIndex;if(d===i)o--,i=i._nextRemoved;else if(n=n._next,null==d.previousIndex)o++;else{l||(l=[]);const A=v-o,B=E-o;if(A!=B){for(let ve=0;ve<A;ve++){const Le=ve<l.length?l[ve]:l[ve]=0,st=Le+ve;B<=st&&st<A&&(l[ve]=Le+1)}l[d.previousIndex]=B-A}}v!==E&&t(d,v,E)}}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=[]),!an(t))throw new ot(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let o,l,d,n=this._itHead,i=!1;if(Array.isArray(t)){this.length=t.length;for(let v=0;v<this.length;v++)l=t[v],d=this._trackByFn(v,l),null!==n&&Object.is(n.trackById,d)?(i&&(n=this._verifyReinsertion(n,l,d,v)),Object.is(n.item,l)||this._addIdentityChange(n,l)):(n=this._mismatch(n,l,d,v),i=!0),n=n._next}else o=0,function ir(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[mt()]();let i;for(;!(i=n.next()).done;)t(i.value)}}(t,(v=>{d=this._trackByFn(o,v),null!==n&&Object.is(n.trackById,d)?(i&&(n=this._verifyReinsertion(n,v,d,o)),Object.is(n.item,v)||this._addIdentityChange(n,v)):(n=this._mismatch(n,v,d,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 l;return null===t?l=this._itTail:(l=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,l,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,l,o)):t=this._addAfter(new wD(n,i),l,o),t}_verifyReinsertion(t,n,i,o){let l=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==l?t=this._reinsertAfter(l,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,l=t._nextRemoved;return null===o?this._removalsHead=l:o._nextRemoved=l,null===l?this._removalsTail=o:l._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 $C),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 $C),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 wD{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 bD{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 $C{constructor(){this.map=new Map}put(t){const n=t.trackById;let i=this.map.get(n);i||(i=new bD,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 zC(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 GC{constructor(){}supports(t){return t instanceof Map||Mn(t)}create(){return new DD}}class DD{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||Mn(t)))throw new ot(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,((i,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,i),this._appendAfter=n,n=n._next;else{const l=this._getOrCreateRecordForKey(o,i);n=this._insertBeforeOrAppend(n,l)}})),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 l=o._prev,d=o._next;return l&&(l._next=d),d&&(d._prev=l),o._next=null,o._prev=null,o}const i=new ED(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 ED{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 WC(){return new jm([new jC])}let jm=(()=>{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||WC()),deps:[[e,new Ja,new As]]}}find(n){const i=this.factories.find((o=>o.supports(n)));if(null!=i)return i;throw new ot(901,!1)}}return e.ɵprov=hr({token:e,providedIn:"root",factory:WC}),e})();function qC(){return new $m([new GC])}let $m=(()=>{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||qC()),deps:[[e,new Ja,new As]]}}find(n){const i=this.factories.find((o=>o.supports(n)));if(i)return i;throw new ot(901,!1)}}return e.ɵprov=hr({token:e,providedIn:"root",factory:qC}),e})();const TD=OC(null,"core",[]);let PD=(()=>{class e{constructor(n){}}return e.ɵfac=function(n){return new(n||e)(M(kh))},e.ɵmod=Or({type:e}),e.ɵinj=Ir({}),e})();function OD(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}},8746:(Ie,J,x)=>{"use strict";x.d(J,{PW:()=>qi});var a=x(1571),b=x(1481),H=x(7340);function K(R){return new a.vHH(3e3,!1)}function un(){return typeof window<"u"&&typeof window.document<"u"}function sr(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function Nn(R){switch(R.length){case 0:return new H.ZN;case 1:return R[0];default:return new H.ZE(R)}}function Hr(R,p,_,T,k=new Map,W=new Map){const _e=[],ye=[];let ke=-1,Xe=null;if(T.forEach((Ft=>{const jt=Ft.get("offset"),Ln=jt==ke,On=Ln&&Xe||new Map;Ft.forEach(((yn,tn)=>{let $n=tn,ge=yn;if("offset"!==tn)switch($n=p.normalizePropertyName($n,_e),ge){case H.k1:ge=k.get(tn);break;case H.l3:ge=W.get(tn);break;default:ge=p.normalizeStyleValue(tn,$n,ge,_e)}On.set($n,ge)})),Ln||ye.push(On),Xe=On,ke=jt})),_e.length)throw function Oe(R){return new a.vHH(3502,!1)}();return ye}function hr(R,p,_,T){switch(p){case"start":R.onStart((()=>T(_&&yi(_,"start",R))));break;case"done":R.onDone((()=>T(_&&yi(_,"done",R))));break;case"destroy":R.onDestroy((()=>T(_&&yi(_,"destroy",R))))}}function yi(R,p,_){const W=Ir(R.element,R.triggerName,R.fromState,R.toState,p||R.phaseName,_.totalTime??R.totalTime,!!_.disabled),_e=R._data;return null!=_e&&(W._data=_e),W}function Ir(R,p,_,T,k="",W=0,_e){return{element:R,triggerName:p,fromState:_,toState:T,phaseName:k,totalTime:W,disabled:!!_e}}function Jn(R,p,_){let T=R.get(p);return T||R.set(p,T=_),T}function lr(R){const p=R.indexOf(":");return[R.substring(1,p),R.slice(p+1)]}let jr=(R,p)=>!1,Qr=(R,p,_)=>[],_r=null;function qt(R){const p=R.parentNode||R.host;return p===_r?null:p}(sr()||typeof Element<"u")&&(un()?(_r=(()=>document.documentElement)(),jr=(R,p)=>{for(;p;){if(p===R)return!0;p=qt(p)}return!1}):jr=(R,p)=>R.contains(p),Qr=(R,p,_)=>{if(_)return Array.from(R.querySelectorAll(p));const T=R.querySelector(p);return T?[T]:[]});let de=null,Ne=!1;const z=jr,q=Qr;let xe=(()=>{class R{validateStyleProperty(_){return function Ae(R){de||(de=function fe(){return typeof document<"u"?document.body:null}()||{},Ne=!!de.style&&"WebkitAppearance"in de.style);let p=!0;return de.style&&!function ri(R){return"ebkit"==R.substring(1,6)}(R)&&(p=R in de.style,!p&&Ne&&(p="Webkit"+R.charAt(0).toUpperCase()+R.slice(1)in de.style)),p}(_)}matchesElement(_,T){return!1}containsElement(_,T){return z(_,T)}getParentElement(_){return qt(_)}query(_,T,k){return q(_,T,k)}computeStyle(_,T,k){return k||""}animate(_,T,k,W,_e,ye=[],ke){return new H.ZN(k,W)}}return R.ɵfac=function(_){return new(_||R)},R.ɵprov=a.Yz7({token:R,factory:R.ɵfac}),R})(),et=(()=>{class R{}return R.NOOP=new xe,R})();const Dt="ng-enter",Yt="ng-leave",wn="ng-trigger",Ut=".ng-trigger",Pt="ng-animating",Rt=".ng-animating";function gt(R){if("number"==typeof R)return R;const p=R.match(/^(-?[\.\d]+)(m?s)/);return!p||p.length<2?0:Fn(parseFloat(p[1]),p[2])}function Fn(R,p){return"s"===p?1e3*R:R}function Kt(R,p,_){return R.hasOwnProperty("duration")?R:function At(R,p,_){let k,W=0,_e="";if("string"==typeof R){const ye=R.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===ye)return p.push(K()),{duration:0,delay:0,easing:""};k=Fn(parseFloat(ye[1]),ye[2]);const ke=ye[3];null!=ke&&(W=Fn(parseFloat(ke),ye[4]));const Xe=ye[5];Xe&&(_e=Xe)}else k=R;if(!_){let ye=!1,ke=p.length;k<0&&(p.push(function me(){return new a.vHH(3100,!1)}()),ye=!0),W<0&&(p.push(function re(){return new a.vHH(3101,!1)}()),ye=!0),ye&&p.splice(ke,0,K())}return{duration:k,delay:W,easing:_e}}(R,p,_)}function cn(R,p={}){return Object.keys(R).forEach((_=>{p[_]=R[_]})),p}function Ht(R){const p=new Map;return Object.keys(R).forEach((_=>{p.set(_,R[_])})),p}function pn(R,p=new Map,_){if(_)for(let[T,k]of _)p.set(T,k);for(let[T,k]of R)p.set(T,k);return p}function dn(R,p,_){return _?p+":"+_+";":""}function Or(R){let p="";for(let _=0;_<R.style.length;_++){const T=R.style.item(_);p+=dn(0,T,R.style.getPropertyValue(T))}for(const _ in R.style)R.style.hasOwnProperty(_)&&!_.startsWith("_")&&(p+=dn(0,Re(_),R.style[_]));R.setAttribute("style",p)}function fr(R,p,_){R.style&&(p.forEach(((T,k)=>{const W=te(k);_&&!_.has(k)&&_.set(k,R.style[W]),R.style[W]=T})),sr()&&Or(R))}function Gn(R,p){R.style&&(p.forEach(((_,T)=>{const k=te(T);R.style[k]=""})),sr()&&Or(R))}function zn(R){return Array.isArray(R)?1==R.length?R[0]:(0,H.vP)(R):R}const gn=new RegExp("{{\\s*(.+?)\\s*}}","g");function De(R){let p=[];if("string"==typeof R){let _;for(;_=gn.exec(R);)p.push(_[1]);gn.lastIndex=0}return p}function se(R,p,_){const T=R.toString(),k=T.replace(gn,((W,_e)=>{let ye=p[_e];return null==ye&&(_.push(function be(R){return new a.vHH(3003,!1)}()),ye=""),ye.toString()}));return k==T?R:k}function G(R){const p=[];let _=R.next();for(;!_.done;)p.push(_.value),_=R.next();return p}const U=/-+([a-z0-9])/g;function te(R){return R.replace(U,((...p)=>p[1].toUpperCase()))}function Re(R){return R.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function tt(R,p,_){switch(p.type){case 7:return R.visitTrigger(p,_);case 0:return R.visitState(p,_);case 1:return R.visitTransition(p,_);case 2:return R.visitSequence(p,_);case 3:return R.visitGroup(p,_);case 4:return R.visitAnimate(p,_);case 5:return R.visitKeyframes(p,_);case 6:return R.visitStyle(p,_);case 8:return R.visitReference(p,_);case 9:return R.visitAnimateChild(p,_);case 10:return R.visitAnimateRef(p,_);case 11:return R.visitQuery(p,_);case 12:return R.visitStagger(p,_);default:throw function Z(R){return new a.vHH(3004,!1)}()}}function wt(R,p){return window.getComputedStyle(R)[p]}function ur(R,p){const _=[];return"string"==typeof R?R.split(/\s*,\s*/).forEach((T=>function Sn(R,p,_){if(":"==R[0]){const ke=function tr(R,p){switch(R){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(_,T)=>parseFloat(T)>parseFloat(_);case":decrement":return(_,T)=>parseFloat(T)<parseFloat(_);default:return p.push(function Nt(R){return new a.vHH(3016,!1)}()),"* => *"}}(R,_);if("function"==typeof ke)return void p.push(ke);R=ke}const T=R.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==T||T.length<4)return _.push(function Jt(R){return new a.vHH(3015,!1)}()),p;const k=T[1],W=T[2],_e=T[3];p.push(Rr(k,_e));"<"==W[0]&&!("*"==k&&"*"==_e)&&p.push(Rr(_e,k))}(T,_,p))):_.push(R),_}const pr=new Set(["true","1"]),yr=new Set(["false","0"]);function Rr(R,p){const _=pr.has(R)||yr.has(R),T=pr.has(p)||yr.has(p);return(k,W)=>{let _e="*"==R||R==k,ye="*"==p||p==W;return!_e&&_&&"boolean"==typeof k&&(_e=k?pr.has(R):yr.has(R)),!ye&&T&&"boolean"==typeof W&&(ye=W?pr.has(p):yr.has(p)),_e&&ye}}const Si=new RegExp("s*:selfs*,?","g");function Pn(R,p,_,T){return new ci(R).build(p,_,T)}class ci{constructor(p){this._driver=p}build(p,_,T){const k=new vi(_);return this._resetContextStyleTimingState(k),tt(this,zn(p),k)}_resetContextStyleTimingState(p){p.currentQuerySelector="",p.collectedStyles=new Map,p.collectedStyles.set("",new Map),p.currentTime=0}visitTrigger(p,_){let T=_.queryCount=0,k=_.depCount=0;const W=[],_e=[];return"@"==p.name.charAt(0)&&_.errors.push(function Se(){return new a.vHH(3006,!1)}()),p.definitions.forEach((ye=>{if(this._resetContextStyleTimingState(_),0==ye.type){const ke=ye,Xe=ke.name;Xe.toString().split(/\s*,\s*/).forEach((Ft=>{ke.name=Ft,W.push(this.visitState(ke,_))})),ke.name=Xe}else if(1==ye.type){const ke=this.visitTransition(ye,_);T+=ke.queryCount,k+=ke.depCount,_e.push(ke)}else _.errors.push(function Ze(){return new a.vHH(3007,!1)}())})),{type:7,name:p.name,states:W,transitions:_e,queryCount:T,depCount:k,options:null}}visitState(p,_){const T=this.visitStyle(p.styles,_),k=p.options&&p.options.params||null;if(T.containsDynamicStyles){const W=new Set,_e=k||{};T.styles.forEach((ye=>{ye instanceof Map&&ye.forEach((ke=>{De(ke).forEach((Xe=>{_e.hasOwnProperty(Xe)||W.add(Xe)}))}))})),W.size&&(G(W.values()),_.errors.push(function je(R,p){return new a.vHH(3008,!1)}()))}return{type:0,name:p.name,style:T,options:k?{params:k}:null}}visitTransition(p,_){_.queryCount=0,_.depCount=0;const T=tt(this,zn(p.animation),_);return{type:1,matchers:ur(p.expr,_.errors),animation:T,queryCount:_.queryCount,depCount:_.depCount,options:I(p.options)}}visitSequence(p,_){return{type:2,steps:p.steps.map((T=>tt(this,T,_))),options:I(p.options)}}visitGroup(p,_){const T=_.currentTime;let k=0;const W=p.steps.map((_e=>{_.currentTime=T;const ye=tt(this,_e,_);return k=Math.max(k,_.currentTime),ye}));return _.currentTime=k,{type:3,steps:W,options:I(p.options)}}visitAnimate(p,_){const T=function xr(R,p){if(R.hasOwnProperty("duration"))return R;if("number"==typeof R)return j(Kt(R,p).duration,0,"");const _=R;if(_.split(/\s+/).some((W=>"{"==W.charAt(0)&&"{"==W.charAt(1)))){const W=j(0,0,"");return W.dynamic=!0,W.strValue=_,W}const k=Kt(_,p);return j(k.duration,k.delay,k.easing)}(p.timings,_.errors);_.currentAnimateTimings=T;let k,W=p.styles?p.styles:(0,H.oB)({});if(5==W.type)k=this.visitKeyframes(W,_);else{let _e=p.styles,ye=!1;if(!_e){ye=!0;const Xe={};T.easing&&(Xe.easing=T.easing),_e=(0,H.oB)(Xe)}_.currentTime+=T.duration+T.delay;const ke=this.visitStyle(_e,_);ke.isEmptyStep=ye,k=ke}return _.currentAnimateTimings=null,{type:4,timings:T,style:k,options:null}}visitStyle(p,_){const T=this._makeStyleAst(p,_);return this._validateStyleAst(T,_),T}_makeStyleAst(p,_){const T=[],k=Array.isArray(p.styles)?p.styles:[p.styles];for(let ye of k)"string"==typeof ye?ye===H.l3?T.push(ye):_.errors.push(new a.vHH(3002,!1)):T.push(Ht(ye));let W=!1,_e=null;return T.forEach((ye=>{if(ye instanceof Map&&(ye.has("easing")&&(_e=ye.get("easing"),ye.delete("easing")),!W))for(let ke of ye.values())if(ke.toString().indexOf("{{")>=0){W=!0;break}})),{type:6,styles:T,easing:_e,offset:p.offset,containsDynamicStyles:W,options:null}}_validateStyleAst(p,_){const T=_.currentAnimateTimings;let k=_.currentTime,W=_.currentTime;T&&W>0&&(W-=T.duration+T.delay),p.styles.forEach((_e=>{"string"!=typeof _e&&_e.forEach(((ye,ke)=>{const Xe=_.collectedStyles.get(_.currentQuerySelector),Ft=Xe.get(ke);let jt=!0;Ft&&(W!=k&&W>=Ft.startTime&&k<=Ft.endTime&&(_.errors.push(function Ye(R,p,_,T,k){return new a.vHH(3010,!1)}()),jt=!1),W=Ft.startTime),jt&&Xe.set(ke,{startTime:W,endTime:k}),_.options&&function Dr(R,p,_){const T=p.params||{},k=De(R);k.length&&k.forEach((W=>{T.hasOwnProperty(W)||_.push(function pe(R){return new a.vHH(3001,!1)}())}))}(ye,_.options,_.errors)}))}))}visitKeyframes(p,_){const T={type:5,styles:[],options:null};if(!_.currentAnimateTimings)return _.errors.push(function Tt(){return new a.vHH(3011,!1)}()),T;let W=0;const _e=[];let ye=!1,ke=!1,Xe=0;const Ft=p.steps.map((ge=>{const ze=this._makeStyleAst(ge,_);let He=null!=ze.offset?ze.offset:function Jr(R){if("string"==typeof R)return null;let p=null;if(Array.isArray(R))R.forEach((_=>{if(_ instanceof Map&&_.has("offset")){const T=_;p=parseFloat(T.get("offset")),T.delete("offset")}}));else if(R instanceof Map&&R.has("offset")){const _=R;p=parseFloat(_.get("offset")),_.delete("offset")}return p}(ze.styles),Ot=0;return null!=He&&(W++,Ot=ze.offset=He),ke=ke||Ot<0||Ot>1,ye=ye||Ot<Xe,Xe=Ot,_e.push(Ot),ze}));ke&&_.errors.push(function Ct(){return new a.vHH(3012,!1)}()),ye&&_.errors.push(function ot(){return new a.vHH(3200,!1)}());const jt=p.steps.length;let Ln=0;W>0&&W<jt?_.errors.push(function Ge(){return new a.vHH(3202,!1)}()):0==W&&(Ln=1/(jt-1));const On=jt-1,yn=_.currentTime,tn=_.currentAnimateTimings,$n=tn.duration;return Ft.forEach(((ge,ze)=>{const He=Ln>0?ze==On?1:Ln*ze:_e[ze],Ot=He*$n;_.currentTime=yn+tn.delay+Ot,tn.duration=Ot,this._validateStyleAst(ge,_),ge.offset=He,T.styles.push(ge)})),T}visitReference(p,_){return{type:8,animation:tt(this,zn(p.animation),_),options:I(p.options)}}visitAnimateChild(p,_){return _.depCount++,{type:9,options:I(p.options)}}visitAnimateRef(p,_){return{type:10,animation:this.visitReference(p.animation,_),options:I(p.options)}}visitQuery(p,_){const T=_.currentQuerySelector,k=p.options||{};_.queryCount++,_.currentQuery=p;const[W,_e]=function di(R){const p=!!R.split(/\s*,\s*/).find((_=>":self"==_));return p&&(R=R.replace(Si,"")),R=R.replace(/@\*/g,Ut).replace(/@\w+/g,(_=>Ut+"-"+_.slice(1))).replace(/:animating/g,Rt),[R,p]}(p.selector);_.currentQuerySelector=T.length?T+" "+W:W,Jn(_.collectedStyles,_.currentQuerySelector,new Map);const ye=tt(this,zn(p.animation),_);return _.currentQuery=null,_.currentQuerySelector=T,{type:11,selector:W,limit:k.limit||0,optional:!!k.optional,includeSelf:_e,animation:ye,originalSelector:p.selector,options:I(p.options)}}visitStagger(p,_){_.currentQuery||_.errors.push(function Me(){return new a.vHH(3013,!1)}());const T="full"===p.timings?{duration:0,delay:0,easing:"full"}:Kt(p.timings,_.errors,!0);return{type:12,animation:tt(this,zn(p.animation),_),timings:T,options:null}}}class vi{constructor(p){this.errors=p,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function I(R){return R?(R=cn(R)).params&&(R.params=function $i(R){return R?cn(R):null}(R.params)):R={},R}function j(R,p,_){return{duration:R,delay:p,easing:_}}function V(R,p,_,T,k,W,_e=null,ye=!1){return{type:1,element:R,keyframes:p,preStyleProps:_,postStyleProps:T,duration:k,delay:W,totalTime:k+W,easing:_e,subTimeline:ye}}class ie{constructor(){this._map=new Map}get(p){return this._map.get(p)||[]}append(p,_){let T=this._map.get(p);T||this._map.set(p,T=[]),T.push(..._)}has(p){return this._map.has(p)}clear(){this._map.clear()}}const lt=new RegExp(":enter","g"),dt=new RegExp(":leave","g");function on(R,p,_,T,k,W=new Map,_e=new Map,ye,ke,Xe=[]){return(new bn).buildKeyframes(R,p,_,T,k,W,_e,ye,ke,Xe)}class bn{buildKeyframes(p,_,T,k,W,_e,ye,ke,Xe,Ft=[]){Xe=Xe||new ie;const jt=new zr(p,_,Xe,k,W,Ft,[]);jt.options=ke;const Ln=ke.delay?gt(ke.delay):0;jt.currentTimeline.delayNextStep(Ln),jt.currentTimeline.setStyles([_e],null,jt.errors,ke),tt(this,T,jt);const On=jt.timelines.filter((yn=>yn.containsAnimation()));if(On.length&&ye.size){let yn;for(let tn=On.length-1;tn>=0;tn--){const $n=On[tn];if($n.element===_){yn=$n;break}}yn&&!yn.allowOnlyTimelineStyles()&&yn.setStyles([ye],null,jt.errors,ke)}return On.length?On.map((yn=>yn.buildKeyframes())):[V(_,[],[],[],0,Ln,"",!1)]}visitTrigger(p,_){}visitState(p,_){}visitTransition(p,_){}visitAnimateChild(p,_){const T=_.subInstructions.get(_.element);if(T){const k=_.createSubContext(p.options),W=_.currentTimeline.currentTime,_e=this._visitSubInstructions(T,k,k.options);W!=_e&&_.transformIntoNewTimeline(_e)}_.previousNode=p}visitAnimateRef(p,_){const T=_.createSubContext(p.options);T.transformIntoNewTimeline(),this._applyAnimationRefDelays([p.options,p.animation.options],_,T),this.visitReference(p.animation,T),_.transformIntoNewTimeline(T.currentTimeline.currentTime),_.previousNode=p}_applyAnimationRefDelays(p,_,T){for(const k of p){const W=k?.delay;if(W){const _e="number"==typeof W?W:gt(se(W,k?.params??{},_.errors));T.delayNextStep(_e)}}}_visitSubInstructions(p,_,T){let W=_.currentTimeline.currentTime;const _e=null!=T.duration?gt(T.duration):null,ye=null!=T.delay?gt(T.delay):null;return 0!==_e&&p.forEach((ke=>{const Xe=_.appendInstructionToTimeline(ke,_e,ye);W=Math.max(W,Xe.duration+Xe.delay)})),W}visitReference(p,_){_.updateOptions(p.options,!0),tt(this,p.animation,_),_.previousNode=p}visitSequence(p,_){const T=_.subContextCount;let k=_;const W=p.options;if(W&&(W.params||W.delay)&&(k=_.createSubContext(W),k.transformIntoNewTimeline(),null!=W.delay)){6==k.previousNode.type&&(k.currentTimeline.snapshotCurrentStyles(),k.previousNode=Er);const _e=gt(W.delay);k.delayNextStep(_e)}p.steps.length&&(p.steps.forEach((_e=>tt(this,_e,k))),k.currentTimeline.applyStylesToKeyframe(),k.subContextCount>T&&k.transformIntoNewTimeline()),_.previousNode=p}visitGroup(p,_){const T=[];let k=_.currentTimeline.currentTime;const W=p.options&&p.options.delay?gt(p.options.delay):0;p.steps.forEach((_e=>{const ye=_.createSubContext(p.options);W&&ye.delayNextStep(W),tt(this,_e,ye),k=Math.max(k,ye.currentTimeline.currentTime),T.push(ye.currentTimeline)})),T.forEach((_e=>_.currentTimeline.mergeTimelineCollectedStyles(_e))),_.transformIntoNewTimeline(k),_.previousNode=p}_visitTiming(p,_){if(p.dynamic){const T=p.strValue;return Kt(_.params?se(T,_.params,_.errors):T,_.errors)}return{duration:p.duration,delay:p.delay,easing:p.easing}}visitAnimate(p,_){const T=_.currentAnimateTimings=this._visitTiming(p.timings,_),k=_.currentTimeline;T.delay&&(_.incrementTime(T.delay),k.snapshotCurrentStyles());const W=p.style;5==W.type?this.visitKeyframes(W,_):(_.incrementTime(T.duration),this.visitStyle(W,_),k.applyStylesToKeyframe()),_.currentAnimateTimings=null,_.previousNode=p}visitStyle(p,_){const T=_.currentTimeline,k=_.currentAnimateTimings;!k&&T.hasCurrentStyleProperties()&&T.forwardFrame();const W=k&&k.easing||p.easing;p.isEmptyStep?T.applyEmptyStep(W):T.setStyles(p.styles,W,_.errors,_.options),_.previousNode=p}visitKeyframes(p,_){const T=_.currentAnimateTimings,k=_.currentTimeline.duration,W=T.duration,ye=_.createSubContext().currentTimeline;ye.easing=T.easing,p.styles.forEach((ke=>{ye.forwardTime((ke.offset||0)*W),ye.setStyles(ke.styles,ke.easing,_.errors,_.options),ye.applyStylesToKeyframe()})),_.currentTimeline.mergeTimelineCollectedStyles(ye),_.transformIntoNewTimeline(k+W),_.previousNode=p}visitQuery(p,_){const T=_.currentTimeline.currentTime,k=p.options||{},W=k.delay?gt(k.delay):0;W&&(6===_.previousNode.type||0==T&&_.currentTimeline.hasCurrentStyleProperties())&&(_.currentTimeline.snapshotCurrentStyles(),_.previousNode=Er);let _e=T;const ye=_.invokeQuery(p.selector,p.originalSelector,p.limit,p.includeSelf,!!k.optional,_.errors);_.currentQueryTotal=ye.length;let ke=null;ye.forEach(((Xe,Ft)=>{_.currentQueryIndex=Ft;const jt=_.createSubContext(p.options,Xe);W&&jt.delayNextStep(W),Xe===_.element&&(ke=jt.currentTimeline),tt(this,p.animation,jt),jt.currentTimeline.applyStylesToKeyframe(),_e=Math.max(_e,jt.currentTimeline.currentTime)})),_.currentQueryIndex=0,_.currentQueryTotal=0,_.transformIntoNewTimeline(_e),ke&&(_.currentTimeline.mergeTimelineCollectedStyles(ke),_.currentTimeline.snapshotCurrentStyles()),_.previousNode=p}visitStagger(p,_){const T=_.parentContext,k=_.currentTimeline,W=p.timings,_e=Math.abs(W.duration),ye=_e*(_.currentQueryTotal-1);let ke=_e*_.currentQueryIndex;switch(W.duration<0?"reverse":W.easing){case"reverse":ke=ye-ke;break;case"full":ke=T.currentStaggerTime}const Ft=_.currentTimeline;ke&&Ft.delayNextStep(ke);const jt=Ft.currentTime;tt(this,p.animation,_),_.previousNode=p,T.currentStaggerTime=k.currentTime-jt+(k.startTime-T.currentTimeline.startTime)}}const Er={};class zr{constructor(p,_,T,k,W,_e,ye,ke){this._driver=p,this.element=_,this.subInstructions=T,this._enterClassName=k,this._leaveClassName=W,this.errors=_e,this.timelines=ye,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Er,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=ke||new Mr(this._driver,_,0),ye.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(p,_){if(!p)return;const T=p;let k=this.options;null!=T.duration&&(k.duration=gt(T.duration)),null!=T.delay&&(k.delay=gt(T.delay));const W=T.params;if(W){let _e=k.params;_e||(_e=this.options.params={}),Object.keys(W).forEach((ye=>{(!_||!_e.hasOwnProperty(ye))&&(_e[ye]=se(W[ye],_e,this.errors))}))}}_copyOptions(){const p={};if(this.options){const _=this.options.params;if(_){const T=p.params={};Object.keys(_).forEach((k=>{T[k]=_[k]}))}}return p}createSubContext(p=null,_,T){const k=_||this.element,W=new zr(this._driver,k,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(k,T||0));return W.previousNode=this.previousNode,W.currentAnimateTimings=this.currentAnimateTimings,W.options=this._copyOptions(),W.updateOptions(p),W.currentQueryIndex=this.currentQueryIndex,W.currentQueryTotal=this.currentQueryTotal,W.parentContext=this,this.subContextCount++,W}transformIntoNewTimeline(p){return this.previousNode=Er,this.currentTimeline=this.currentTimeline.fork(this.element,p),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(p,_,T){const k={duration:_??p.duration,delay:this.currentTimeline.currentTime+(T??0)+p.delay,easing:""},W=new Ci(this._driver,p.element,p.keyframes,p.preStyleProps,p.postStyleProps,k,p.stretchStartingKeyframe);return this.timelines.push(W),k}incrementTime(p){this.currentTimeline.forwardTime(this.currentTimeline.duration+p)}delayNextStep(p){p>0&&this.currentTimeline.delayNextStep(p)}invokeQuery(p,_,T,k,W,_e){let ye=[];if(k&&ye.push(this.element),p.length>0){p=(p=p.replace(lt,"."+this._enterClassName)).replace(dt,"."+this._leaveClassName);let Xe=this._driver.query(this.element,p,1!=T);0!==T&&(Xe=T<0?Xe.slice(Xe.length+T,Xe.length):Xe.slice(0,T)),ye.push(...Xe)}return!W&&0==ye.length&&_e.push(function Je(R){return new a.vHH(3014,!1)}()),ye}}class Mr{constructor(p,_,T,k){this._driver=p,this.element=_,this.startTime=T,this._elementTimelineStylesLookup=k,this.duration=0,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(_),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(_,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(p){const _=1===this._keyframes.size&&this._pendingStyles.size;this.duration||_?(this.forwardTime(this.currentTime+p),_&&this.snapshotCurrentStyles()):this.startTime+=p}fork(p,_){return this.applyStylesToKeyframe(),new Mr(this._driver,p,_||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(p){this.applyStylesToKeyframe(),this.duration=p,this._loadKeyframe()}_updateStyle(p,_){this._localTimelineStyles.set(p,_),this._globalTimelineStyles.set(p,_),this._styleSummary.set(p,{time:this.currentTime,value:_})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(p){p&&this._previousKeyframe.set("easing",p);for(let[_,T]of this._globalTimelineStyles)this._backFill.set(_,T||H.l3),this._currentKeyframe.set(_,H.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(p,_,T,k){_&&this._previousKeyframe.set("easing",_);const W=k&&k.params||{},_e=function Po(R,p){const _=new Map;let T;return R.forEach((k=>{if("*"===k){T=T||p.keys();for(let W of T)_.set(W,H.l3)}else pn(k,_)})),_}(p,this._globalTimelineStyles);for(let[ye,ke]of _e){const Xe=se(ke,W,T);this._pendingStyles.set(ye,Xe),this._localTimelineStyles.has(ye)||this._backFill.set(ye,this._globalTimelineStyles.get(ye)??H.l3),this._updateStyle(ye,Xe)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach(((p,_)=>{this._currentKeyframe.set(_,p)})),this._pendingStyles.clear(),this._localTimelineStyles.forEach(((p,_)=>{this._currentKeyframe.has(_)||this._currentKeyframe.set(_,p)})))}snapshotCurrentStyles(){for(let[p,_]of this._localTimelineStyles)this._pendingStyles.set(p,_),this._updateStyle(p,_)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const p=[];for(let _ in this._currentKeyframe)p.push(_);return p}mergeTimelineCollectedStyles(p){p._styleSummary.forEach(((_,T)=>{const k=this._styleSummary.get(T);(!k||_.time>k.time)&&this._updateStyle(T,_.value)}))}buildKeyframes(){this.applyStylesToKeyframe();const p=new Set,_=new Set,T=1===this._keyframes.size&&0===this.duration;let k=[];this._keyframes.forEach(((ye,ke)=>{const Xe=pn(ye,new Map,this._backFill);Xe.forEach(((Ft,jt)=>{Ft===H.k1?p.add(jt):Ft===H.l3&&_.add(jt)})),T||Xe.set("offset",ke/this.duration),k.push(Xe)}));const W=p.size?G(p.values()):[],_e=_.size?G(_.values()):[];if(T){const ye=k[0],ke=new Map(ye);ye.set("offset",0),ke.set("offset",1),k=[ye,ke]}return V(this.element,k,W,_e,this.duration,this.startTime,this.easing,!1)}}class Ci extends Mr{constructor(p,_,T,k,W,_e,ye=!1){super(p,_,_e.delay),this.keyframes=T,this.preStyleProps=k,this.postStyleProps=W,this._stretchStartingKeyframe=ye,this.timings={duration:_e.duration,delay:_e.delay,easing:_e.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let p=this.keyframes,{delay:_,duration:T,easing:k}=this.timings;if(this._stretchStartingKeyframe&&_){const W=[],_e=T+_,ye=_/_e,ke=pn(p[0]);ke.set("offset",0),W.push(ke);const Xe=pn(p[0]);Xe.set("offset",Xi(ye)),W.push(Xe);const Ft=p.length-1;for(let jt=1;jt<=Ft;jt++){let Ln=pn(p[jt]);const On=Ln.get("offset");Ln.set("offset",Xi((_+On*T)/_e)),W.push(Ln)}T=_e,_=0,k="",p=W}return V(this.element,p,this.preStyleProps,this.postStyleProps,T,_,k,!0)}}function Xi(R,p=3){const _=Math.pow(10,p-1);return Math.round(R*_)/_}class Qo{}const Ea=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class oa extends Qo{normalizePropertyName(p,_){return te(p)}normalizeStyleValue(p,_,T,k){let W="";const _e=T.toString().trim();if(Ea.has(_)&&0!==T&&"0"!==T)if("number"==typeof T)W="px";else{const ye=T.match(/^[+-]?[\d\.]+([a-z]*)$/);ye&&0==ye[1].length&&k.push(function oe(R,p){return new a.vHH(3005,!1)}())}return _e+W}}function ls(R,p,_,T,k,W,_e,ye,ke,Xe,Ft,jt,Ln){return{type:0,element:R,triggerName:p,isRemovalTransition:k,fromState:_,fromStyles:W,toState:T,toStyles:_e,timelines:ye,queriedElements:ke,preStyleProps:Xe,postStyleProps:Ft,totalTime:jt,errors:Ln}}const vs={};class Lo{constructor(p,_,T){this._triggerName=p,this.ast=_,this._stateStyles=T}match(p,_,T,k){return function Vo(R,p,_,T,k){return R.some((W=>W(p,_,T,k)))}(this.ast.matchers,p,_,T,k)}buildStyles(p,_,T){let k=this._stateStyles.get("*");return void 0!==p&&(k=this._stateStyles.get(p?.toString())||k),k?k.buildStyles(_,T):new Map}build(p,_,T,k,W,_e,ye,ke,Xe,Ft){const jt=[],Ln=this.ast.options&&this.ast.options.params||vs,yn=this.buildStyles(T,ye&&ye.params||vs,jt),tn=ke&&ke.params||vs,$n=this.buildStyles(k,tn,jt),ge=new Set,ze=new Map,He=new Map,Ot="void"===k,hn={params:Bi(tn,Ln),delay:this.ast.options?.delay},xn=Ft?[]:on(p,_,this.ast.animation,W,_e,yn,$n,hn,Xe,jt);let nr=0;if(xn.forEach((Di=>{nr=Math.max(Di.duration+Di.delay,nr)})),jt.length)return ls(_,this._triggerName,T,k,Ot,yn,$n,[],[],ze,He,nr,jt);xn.forEach((Di=>{const Yi=Di.element,Ei=Jn(ze,Yi,new Set);Di.preStyleProps.forEach(($o=>Ei.add($o)));const bo=Jn(He,Yi,new Set);Di.postStyleProps.forEach(($o=>bo.add($o))),Yi!==_&&ge.add(Yi)}));const Vn=G(ge.values());return ls(_,this._triggerName,T,k,Ot,yn,$n,xn,Vn,ze,He,nr)}}function Bi(R,p){const _=cn(p);for(const T in R)R.hasOwnProperty(T)&&null!=R[T]&&(_[T]=R[T]);return _}class xo{constructor(p,_,T){this.styles=p,this.defaultParams=_,this.normalizer=T}buildStyles(p,_){const T=new Map,k=cn(this.defaultParams);return Object.keys(p).forEach((W=>{const _e=p[W];null!==_e&&(k[W]=_e)})),this.styles.styles.forEach((W=>{"string"!=typeof W&&W.forEach(((_e,ye)=>{_e&&(_e=se(_e,k,_));const ke=this.normalizer.normalizePropertyName(ye,_);_e=this.normalizer.normalizeStyleValue(ye,ke,_e,_),T.set(ke,_e)}))})),T}}class vr{constructor(p,_,T){this.name=p,this.ast=_,this._normalizer=T,this.transitionFactories=[],this.states=new Map,_.states.forEach((k=>{this.states.set(k.name,new xo(k.style,k.options&&k.options.params||{},T))})),ao(this.states,"true","1"),ao(this.states,"false","0"),_.transitions.forEach((k=>{this.transitionFactories.push(new Lo(p,k,this.states))})),this.fallbackTransition=function Zn(R,p,_){return new Lo(R,{type:1,animation:{type:2,steps:[],options:null},matchers:[(_e,ye)=>!0],options:null,queryCount:0,depCount:0},p)}(p,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(p,_,T,k){return this.transitionFactories.find((_e=>_e.match(p,_,T,k)))||null}matchStyles(p,_,T){return this.fallbackTransition.buildStyles(p,_,T)}}function ao(R,p,_){R.has(p)?R.has(_)||R.set(_,R.get(p)):R.has(_)&&R.set(p,R.get(_))}const Xo=new ie;class Cs{constructor(p,_,T){this.bodyNode=p,this._driver=_,this._normalizer=T,this._animations=new Map,this._playersById=new Map,this.players=[]}register(p,_){const T=[],W=Pn(this._driver,_,T,[]);if(T.length)throw function Q(R){return new a.vHH(3503,!1)}();this._animations.set(p,W)}_buildPlayer(p,_,T){const k=p.element,W=Hr(0,this._normalizer,0,p.keyframes,_,T);return this._driver.animate(k,W,p.duration,p.delay,p.easing,[],!0)}create(p,_,T={}){const k=[],W=this._animations.get(p);let _e;const ye=new Map;if(W?(_e=on(this._driver,_,W,Dt,Yt,new Map,new Map,T,Xo,k),_e.forEach((Ft=>{const jt=Jn(ye,Ft.element,new Map);Ft.postStyleProps.forEach((Ln=>jt.set(Ln,null)))}))):(k.push(function ae(){return new a.vHH(3300,!1)}()),_e=[]),k.length)throw function Te(R){return new a.vHH(3504,!1)}();ye.forEach(((Ft,jt)=>{Ft.forEach(((Ln,On)=>{Ft.set(On,this._driver.computeStyle(jt,On,H.l3))}))}));const Xe=Nn(_e.map((Ft=>{const jt=ye.get(Ft.element);return this._buildPlayer(Ft,new Map,jt)})));return this._playersById.set(p,Xe),Xe.onDestroy((()=>this.destroy(p))),this.players.push(Xe),Xe}destroy(p){const _=this._getPlayer(p);_.destroy(),this._playersById.delete(p);const T=this.players.indexOf(_);T>=0&&this.players.splice(T,1)}_getPlayer(p){const _=this._playersById.get(p);if(!_)throw function qe(R){return new a.vHH(3301,!1)}();return _}listen(p,_,T,k){const W=Ir(_,"","","");return hr(this._getPlayer(p),T,W,k),()=>{}}command(p,_,T,k){if("register"==T)return void this.register(p,k[0]);if("create"==T)return void this.create(p,_,k[0]||{});const W=this._getPlayer(p);switch(T){case"play":W.play();break;case"pause":W.pause();break;case"reset":W.reset();break;case"restart":W.restart();break;case"finish":W.finish();break;case"init":W.init();break;case"setPosition":W.setPosition(parseFloat(k[0]));break;case"destroy":this.destroy(p)}}}const mo="ng-animate-queued",Ao="ng-animate-disabled",Hs=[],Fr={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ds={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Xr="__ng_removed";class Gr{constructor(p,_=""){this.namespaceId=_;const T=p&&p.hasOwnProperty("value");if(this.value=function gr(R){return R??null}(T?p.value:p),T){const W=cn(p);delete W.value,this.options=W}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(p){const _=p.params;if(_){const T=this.options.params;Object.keys(_).forEach((k=>{null==T[k]&&(T[k]=_[k])}))}}}const lo="void",Uo=new Gr(lo);class Vr{constructor(p,_,T){this.id=p,this.hostElement=_,this._engine=T,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+p,Ur(_,this._hostClassName)}listen(p,_,T,k){if(!this._triggers.has(_))throw function Et(R,p){return new a.vHH(3302,!1)}();if(null==T||0==T.length)throw function Kn(R){return new a.vHH(3303,!1)}();if(!function ii(R){return"start"==R||"done"==R}(T))throw function Xt(R,p){return new a.vHH(3400,!1)}();const W=Jn(this._elementListeners,p,[]),_e={name:_,phase:T,callback:k};W.push(_e);const ye=Jn(this._engine.statesByElement,p,new Map);return ye.has(_)||(Ur(p,wn),Ur(p,wn+"-"+_),ye.set(_,Uo)),()=>{this._engine.afterFlush((()=>{const ke=W.indexOf(_e);ke>=0&&W.splice(ke,1),this._triggers.has(_)||ye.delete(_)}))}}register(p,_){return!this._triggers.has(p)&&(this._triggers.set(p,_),!0)}_getTrigger(p){const _=this._triggers.get(p);if(!_)throw function _n(R){return new a.vHH(3401,!1)}();return _}trigger(p,_,T,k=!0){const W=this._getTrigger(_),_e=new ws(this.id,_,p);let ye=this._engine.statesByElement.get(p);ye||(Ur(p,wn),Ur(p,wn+"-"+_),this._engine.statesByElement.set(p,ye=new Map));let ke=ye.get(_);const Xe=new Gr(T,this.id);if(!(T&&T.hasOwnProperty("value"))&&ke&&Xe.absorbOptions(ke.options),ye.set(_,Xe),ke||(ke=Uo),Xe.value!==lo&&ke.value===Xe.value){if(!function Dn(R,p){const _=Object.keys(R),T=Object.keys(p);if(_.length!=T.length)return!1;for(let k=0;k<_.length;k++){const W=_[k];if(!p.hasOwnProperty(W)||R[W]!==p[W])return!1}return!0}(ke.params,Xe.params)){const tn=[],$n=W.matchStyles(ke.value,ke.params,tn),ge=W.matchStyles(Xe.value,Xe.params,tn);tn.length?this._engine.reportError(tn):this._engine.afterFlush((()=>{Gn(p,$n),fr(p,ge)}))}return}const Ln=Jn(this._engine.playersByElement,p,[]);Ln.forEach((tn=>{tn.namespaceId==this.id&&tn.triggerName==_&&tn.queued&&tn.destroy()}));let On=W.matchTransition(ke.value,Xe.value,p,Xe.params),yn=!1;if(!On){if(!k)return;On=W.fallbackTransition,yn=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:p,triggerName:_,transition:On,fromState:ke,toState:Xe,player:_e,isFallbackTransition:yn}),yn||(Ur(p,mo),_e.onStart((()=>{uo(p,mo)}))),_e.onDone((()=>{let tn=this.players.indexOf(_e);tn>=0&&this.players.splice(tn,1);const $n=this._engine.playersByElement.get(p);if($n){let ge=$n.indexOf(_e);ge>=0&&$n.splice(ge,1)}})),this.players.push(_e),Ln.push(_e),_e}deregister(p){this._triggers.delete(p),this._engine.statesByElement.forEach((_=>_.delete(p))),this._elementListeners.forEach(((_,T)=>{this._elementListeners.set(T,_.filter((k=>k.name!=p)))}))}clearElementCache(p){this._engine.statesByElement.delete(p),this._elementListeners.delete(p);const _=this._engine.playersByElement.get(p);_&&(_.forEach((T=>T.destroy())),this._engine.playersByElement.delete(p))}_signalRemovalForInnerTriggers(p,_){const T=this._engine.driver.query(p,Ut,!0);T.forEach((k=>{if(k[Xr])return;const W=this._engine.fetchNamespacesByElement(k);W.size?W.forEach((_e=>_e.triggerLeaveAnimation(k,_,!1,!0))):this.clearElementCache(k)})),this._engine.afterFlushAnimationsDone((()=>T.forEach((k=>this.clearElementCache(k)))))}triggerLeaveAnimation(p,_,T,k){const W=this._engine.statesByElement.get(p),_e=new Map;if(W){const ye=[];if(W.forEach(((ke,Xe)=>{if(_e.set(Xe,ke.value),this._triggers.has(Xe)){const Ft=this.trigger(p,Xe,lo,k);Ft&&ye.push(Ft)}})),ye.length)return this._engine.markElementAsRemoved(this.id,p,!0,_,_e),T&&Nn(ye).onDone((()=>this._engine.processLeaveNode(p))),!0}return!1}prepareLeaveAnimationListeners(p){const _=this._elementListeners.get(p),T=this._engine.statesByElement.get(p);if(_&&T){const k=new Set;_.forEach((W=>{const _e=W.name;if(k.has(_e))return;k.add(_e);const ke=this._triggers.get(_e).fallbackTransition,Xe=T.get(_e)||Uo,Ft=new Gr(lo),jt=new ws(this.id,_e,p);this._engine.totalQueuedPlayers++,this._queue.push({element:p,triggerName:_e,transition:ke,fromState:Xe,toState:Ft,player:jt,isFallbackTransition:!0})}))}}removeNode(p,_){const T=this._engine;if(p.childElementCount&&this._signalRemovalForInnerTriggers(p,_),this.triggerLeaveAnimation(p,_,!0))return;let k=!1;if(T.totalAnimations){const W=T.players.length?T.playersByQueriedElement.get(p):[];if(W&&W.length)k=!0;else{let _e=p;for(;_e=_e.parentNode;)if(T.statesByElement.get(_e)){k=!0;break}}}if(this.prepareLeaveAnimationListeners(p),k)T.markElementAsRemoved(this.id,p,!1,_);else{const W=p[Xr];(!W||W===Fr)&&(T.afterFlush((()=>this.clearElementCache(p))),T.destroyInnerAnimations(p),T._onRemovalComplete(p,_))}}insertNode(p,_){Ur(p,this._hostClassName)}drainQueuedTransitions(p){const _=[];return this._queue.forEach((T=>{const k=T.player;if(k.destroyed)return;const W=T.element,_e=this._elementListeners.get(W);_e&&_e.forEach((ye=>{if(ye.name==T.triggerName){const ke=Ir(W,T.triggerName,T.fromState.value,T.toState.value);ke._data=p,hr(T.player,ye.phase,ke,ye.callback)}})),k.markedForDestroy?this._engine.afterFlush((()=>{k.destroy()})):_.push(T)})),this._queue=[],_.sort(((T,k)=>{const W=T.transition.ast.depCount,_e=k.transition.ast.depCount;return 0==W||0==_e?W-_e:this._engine.driver.containsElement(T.element,k.element)?1:-1}))}destroy(p){this.players.forEach((_=>_.destroy())),this._signalRemovalForInnerTriggers(this.hostElement,p)}elementContainsData(p){let _=!1;return this._elementListeners.has(p)&&(_=!0),_=!!this._queue.find((T=>T.element===p))||_,_}}class es{constructor(p,_,T){this.bodyNode=p,this.driver=_,this._normalizer=T,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=(k,W)=>{}}_onRemovalComplete(p,_){this.onRemovalComplete(p,_)}get queuedPlayers(){const p=[];return this._namespaceList.forEach((_=>{_.players.forEach((T=>{T.queued&&p.push(T)}))})),p}createNamespace(p,_){const T=new Vr(p,_,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,_)?this._balanceNamespaceList(T,_):(this.newHostElements.set(_,T),this.collectEnterElement(_)),this._namespaceLookup[p]=T}_balanceNamespaceList(p,_){const T=this._namespaceList,k=this.namespacesByHostElement;if(T.length-1>=0){let _e=!1,ye=this.driver.getParentElement(_);for(;ye;){const ke=k.get(ye);if(ke){const Xe=T.indexOf(ke);T.splice(Xe+1,0,p),_e=!0;break}ye=this.driver.getParentElement(ye)}_e||T.unshift(p)}else T.push(p);return k.set(_,p),p}register(p,_){let T=this._namespaceLookup[p];return T||(T=this.createNamespace(p,_)),T}registerTrigger(p,_,T){let k=this._namespaceLookup[p];k&&k.register(_,T)&&this.totalAnimations++}destroy(p,_){if(!p)return;const T=this._fetchNamespace(p);this.afterFlush((()=>{this.namespacesByHostElement.delete(T.hostElement),delete this._namespaceLookup[p];const k=this._namespaceList.indexOf(T);k>=0&&this._namespaceList.splice(k,1)})),this.afterFlushAnimationsDone((()=>T.destroy(_)))}_fetchNamespace(p){return this._namespaceLookup[p]}fetchNamespacesByElement(p){const _=new Set,T=this.statesByElement.get(p);if(T)for(let k of T.values())if(k.namespaceId){const W=this._fetchNamespace(k.namespaceId);W&&_.add(W)}return _}trigger(p,_,T,k){if(Io(_)){const W=this._fetchNamespace(p);if(W)return W.trigger(_,T,k),!0}return!1}insertNode(p,_,T,k){if(!Io(_))return;const W=_[Xr];if(W&&W.setForRemoval){W.setForRemoval=!1,W.setForMove=!0;const _e=this.collectedLeaveElements.indexOf(_);_e>=0&&this.collectedLeaveElements.splice(_e,1)}if(p){const _e=this._fetchNamespace(p);_e&&_e.insertNode(_,T)}k&&this.collectEnterElement(_)}collectEnterElement(p){this.collectedEnterElements.push(p)}markElementAsDisabled(p,_){_?this.disabledNodes.has(p)||(this.disabledNodes.add(p),Ur(p,Ao)):this.disabledNodes.has(p)&&(this.disabledNodes.delete(p),uo(p,Ao))}removeNode(p,_,T,k){if(Io(_)){const W=p?this._fetchNamespace(p):null;if(W?W.removeNode(_,k):this.markElementAsRemoved(p,_,!1,k),T){const _e=this.namespacesByHostElement.get(_);_e&&_e.id!==p&&_e.removeNode(_,k)}}else this._onRemovalComplete(_,k)}markElementAsRemoved(p,_,T,k,W){this.collectedLeaveElements.push(_),_[Xr]={namespaceId:p,setForRemoval:k,hasAnimation:T,removedBeforeQueried:!1,previousTriggersValues:W}}listen(p,_,T,k,W){return Io(_)?this._fetchNamespace(p).listen(_,T,k,W):()=>{}}_buildInstruction(p,_,T,k,W){return p.transition.build(this.driver,p.element,p.fromState.value,p.toState.value,T,k,p.fromState.options,p.toState.options,_,W)}destroyInnerAnimations(p){let _=this.driver.query(p,Ut,!0);_.forEach((T=>this.destroyActiveAnimationsForElement(T))),0!=this.playersByQueriedElement.size&&(_=this.driver.query(p,Rt,!0),_.forEach((T=>this.finishActiveQueriedAnimationOnElement(T))))}destroyActiveAnimationsForElement(p){const _=this.playersByElement.get(p);_&&_.forEach((T=>{T.queued?T.markedForDestroy=!0:T.destroy()}))}finishActiveQueriedAnimationOnElement(p){const _=this.playersByQueriedElement.get(p);_&&_.forEach((T=>T.finish()))}whenRenderingDone(){return new Promise((p=>{if(this.players.length)return Nn(this.players).onDone((()=>p()));p()}))}processLeaveNode(p){const _=p[Xr];if(_&&_.setForRemoval){if(p[Xr]=Fr,_.namespaceId){this.destroyInnerAnimations(p);const T=this._fetchNamespace(_.namespaceId);T&&T.clearElementCache(p)}this._onRemovalComplete(p,_.setForRemoval)}p.classList?.contains(Ao)&&this.markElementAsDisabled(p,!1),this.driver.query(p,".ng-animate-disabled",!0).forEach((T=>{this.markElementAsDisabled(T,!1)}))}flush(p=-1){let _=[];if(this.newHostElements.size&&(this.newHostElements.forEach(((T,k)=>this._balanceNamespaceList(T,k))),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let T=0;T<this.collectedEnterElements.length;T++)Ur(this.collectedEnterElements[T],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const T=[];try{_=this._flushAnimations(T,p)}finally{for(let k=0;k<T.length;k++)T[k]()}}else for(let T=0;T<this.collectedLeaveElements.length;T++)this.processLeaveNode(this.collectedLeaveElements[T]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach((T=>T())),this._flushFns=[],this._whenQuietFns.length){const T=this._whenQuietFns;this._whenQuietFns=[],_.length?Nn(_).onDone((()=>{T.forEach((k=>k()))})):T.forEach((k=>k()))}}reportError(p){throw function Tn(R){return new a.vHH(3402,!1)}()}_flushAnimations(p,_){const T=new ie,k=[],W=new Map,_e=[],ye=new Map,ke=new Map,Xe=new Map,Ft=new Set;this.disabledNodes.forEach((C=>{Ft.add(C);const O=this.driver.query(C,".ng-animate-queued",!0);for(let D=0;D<O.length;D++)Ft.add(O[D])}));const jt=this.bodyNode,Ln=Array.from(this.statesByElement.keys()),On=Ti(Ln,this.collectedEnterElements),yn=new Map;let tn=0;On.forEach(((C,O)=>{const D=Dt+tn++;yn.set(O,D),C.forEach((N=>Ur(N,D)))}));const $n=[],ge=new Set,ze=new Set;for(let C=0;C<this.collectedLeaveElements.length;C++){const O=this.collectedLeaveElements[C],D=O[Xr];D&&D.setForRemoval&&($n.push(O),ge.add(O),D.hasAnimation?this.driver.query(O,".ng-star-inserted",!0).forEach((N=>ge.add(N))):ze.add(O))}const He=new Map,Ot=Ti(Ln,Array.from(ge));Ot.forEach(((C,O)=>{const D=Yt+tn++;He.set(O,D),C.forEach((N=>Ur(N,D)))})),p.push((()=>{On.forEach(((C,O)=>{const D=yn.get(O);C.forEach((N=>uo(N,D)))})),Ot.forEach(((C,O)=>{const D=He.get(O);C.forEach((N=>uo(N,D)))})),$n.forEach((C=>{this.processLeaveNode(C)}))}));const hn=[],xn=[];for(let C=this._namespaceList.length-1;C>=0;C--)this._namespaceList[C].drainQueuedTransitions(_).forEach((D=>{const N=D.player,ce=D.element;if(hn.push(N),this.collectedEnterElements.length){const ln=ce[Xr];if(ln&&ln.setForMove){if(ln.previousTriggersValues&&ln.previousTriggersValues.has(D.triggerName)){const ar=ln.previousTriggersValues.get(D.triggerName),Un=this.statesByElement.get(D.element);if(Un&&Un.has(D.triggerName)){const Cr=Un.get(D.triggerName);Cr.value=ar,Un.set(D.triggerName,Cr)}}return void N.destroy()}}const $e=!jt||!this.driver.containsElement(jt,ce),rt=He.get(ce),Gt=yn.get(ce),rn=this._buildInstruction(D,T,Gt,rt,$e);if(rn.errors&&rn.errors.length)return void xn.push(rn);if($e)return N.onStart((()=>Gn(ce,rn.fromStyles))),N.onDestroy((()=>fr(ce,rn.toStyles))),void k.push(N);if(D.isFallbackTransition)return N.onStart((()=>Gn(ce,rn.fromStyles))),N.onDestroy((()=>fr(ce,rn.toStyles))),void k.push(N);const Bn=[];rn.timelines.forEach((ln=>{ln.stretchStartingKeyframe=!0,this.disabledNodes.has(ln.element)||Bn.push(ln)})),rn.timelines=Bn,T.append(ce,rn.timelines),_e.push({instruction:rn,player:N,element:ce}),rn.queriedElements.forEach((ln=>Jn(ye,ln,[]).push(N))),rn.preStyleProps.forEach(((ln,ar)=>{if(ln.size){let Un=ke.get(ar);Un||ke.set(ar,Un=new Set),ln.forEach(((Cr,Ai)=>Un.add(Ai)))}})),rn.postStyleProps.forEach(((ln,ar)=>{let Un=Xe.get(ar);Un||Xe.set(ar,Un=new Set),ln.forEach(((Cr,Ai)=>Un.add(Ai)))}))}));if(xn.length){const C=[];xn.forEach((O=>{C.push(function Lr(R,p){return new a.vHH(3505,!1)}())})),hn.forEach((O=>O.destroy())),this.reportError(C)}const nr=new Map,Vn=new Map;_e.forEach((C=>{const O=C.element;T.has(O)&&(Vn.set(O,O),this._beforeAnimationBuild(C.player.namespaceId,C.instruction,nr))})),k.forEach((C=>{const O=C.element;this._getPreviousPlayers(O,!1,C.namespaceId,C.triggerName,null).forEach((N=>{Jn(nr,O,[]).push(N),N.destroy()}))}));const Di=$n.filter((C=>Ho(C,ke,Xe))),Yi=new Map;Wr(Yi,this.driver,ze,Xe,H.l3).forEach((C=>{Ho(C,ke,Xe)&&Di.push(C)}));const bo=new Map;On.forEach(((C,O)=>{Wr(bo,this.driver,new Set(C),ke,H.k1)})),Di.forEach((C=>{const O=Yi.get(C),D=bo.get(C);Yi.set(C,new Map([...Array.from(O?.entries()??[]),...Array.from(D?.entries()??[])]))}));const $o=[],xi=[],Ui={};_e.forEach((C=>{const{element:O,player:D,instruction:N}=C;if(T.has(O)){if(Ft.has(O))return D.onDestroy((()=>fr(O,N.toStyles))),D.disabled=!0,D.overrideTotalTime(N.totalTime),void k.push(D);let ce=Ui;if(Vn.size>1){let rt=O;const Gt=[];for(;rt=rt.parentNode;){const rn=Vn.get(rt);if(rn){ce=rn;break}Gt.push(rt)}Gt.forEach((rn=>Vn.set(rn,ce)))}const $e=this._buildAnimation(D.namespaceId,N,nr,W,bo,Yi);if(D.setRealPlayer($e),ce===Ui)$o.push(D);else{const rt=this.playersByElement.get(ce);rt&&rt.length&&(D.parentPlayer=Nn(rt)),k.push(D)}}else Gn(O,N.fromStyles),D.onDestroy((()=>fr(O,N.toStyles))),xi.push(D),Ft.has(O)&&k.push(D)})),xi.forEach((C=>{const O=W.get(C.element);if(O&&O.length){const D=Nn(O);C.setRealPlayer(D)}})),k.forEach((C=>{C.parentPlayer?C.syncPlayerEvents(C.parentPlayer):C.destroy()}));for(let C=0;C<$n.length;C++){const O=$n[C],D=O[Xr];if(uo(O,Yt),D&&D.hasAnimation)continue;let N=[];if(ye.size){let $e=ye.get(O);$e&&$e.length&&N.push(...$e);let rt=this.driver.query(O,Rt,!0);for(let Gt=0;Gt<rt.length;Gt++){let rn=ye.get(rt[Gt]);rn&&rn.length&&N.push(...rn)}}const ce=N.filter(($e=>!$e.destroyed));ce.length?or(this,O,ce):this.processLeaveNode(O)}return $n.length=0,$o.forEach((C=>{this.players.push(C),C.onDone((()=>{C.destroy();const O=this.players.indexOf(C);this.players.splice(O,1)})),C.play()})),$o}elementContainsData(p,_){let T=!1;const k=_[Xr];return k&&k.setForRemoval&&(T=!0),this.playersByElement.has(_)&&(T=!0),this.playersByQueriedElement.has(_)&&(T=!0),this.statesByElement.has(_)&&(T=!0),this._fetchNamespace(p).elementContainsData(_)||T}afterFlush(p){this._flushFns.push(p)}afterFlushAnimationsDone(p){this._whenQuietFns.push(p)}_getPreviousPlayers(p,_,T,k,W){let _e=[];if(_){const ye=this.playersByQueriedElement.get(p);ye&&(_e=ye)}else{const ye=this.playersByElement.get(p);if(ye){const ke=!W||W==lo;ye.forEach((Xe=>{Xe.queued||!ke&&Xe.triggerName!=k||_e.push(Xe)}))}}return(T||k)&&(_e=_e.filter((ye=>!(T&&T!=ye.namespaceId||k&&k!=ye.triggerName)))),_e}_beforeAnimationBuild(p,_,T){const W=_.element,_e=_.isRemovalTransition?void 0:p,ye=_.isRemovalTransition?void 0:_.triggerName;for(const ke of _.timelines){const Xe=ke.element,Ft=Xe!==W,jt=Jn(T,Xe,[]);this._getPreviousPlayers(Xe,Ft,_e,ye,_.toState).forEach((On=>{const yn=On.getRealPlayer();yn.beforeDestroy&&yn.beforeDestroy(),On.destroy(),jt.push(On)}))}Gn(W,_.fromStyles)}_buildAnimation(p,_,T,k,W,_e){const ye=_.triggerName,ke=_.element,Xe=[],Ft=new Set,jt=new Set,Ln=_.timelines.map((yn=>{const tn=yn.element;Ft.add(tn);const $n=tn[Xr];if($n&&$n.removedBeforeQueried)return new H.ZN(yn.duration,yn.delay);const ge=tn!==ke,ze=function bi(R){const p=[];return co(R,p),p}((T.get(tn)||Hs).map((nr=>nr.getRealPlayer()))).filter((nr=>!!nr.element&&nr.element===tn)),He=W.get(tn),Ot=_e.get(tn),hn=Hr(0,this._normalizer,0,yn.keyframes,He,Ot),xn=this._buildPlayer(yn,hn,ze);if(yn.subTimeline&&k&&jt.add(tn),ge){const nr=new ws(p,ye,tn);nr.setRealPlayer(xn),Xe.push(nr)}return xn}));Xe.forEach((yn=>{Jn(this.playersByQueriedElement,yn.element,[]).push(yn),yn.onDone((()=>function wi(R,p,_){let T=R.get(p);if(T){if(T.length){const k=T.indexOf(_);T.splice(k,1)}0==T.length&&R.delete(p)}return T}(this.playersByQueriedElement,yn.element,yn)))})),Ft.forEach((yn=>Ur(yn,Pt)));const On=Nn(Ln);return On.onDestroy((()=>{Ft.forEach((yn=>uo(yn,Pt))),fr(ke,_.toStyles)})),jt.forEach((yn=>{Jn(k,yn,[]).push(On)})),On}_buildPlayer(p,_,T){return _.length>0?this.driver.animate(p.element,_,p.duration,p.delay,p.easing,T):new H.ZN(p.duration,p.delay)}}class ws{constructor(p,_,T){this.namespaceId=p,this.triggerName=_,this.element=T,this._player=new H.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(p){this._containsRealPlayer||(this._player=p,this._queuedCallbacks.forEach(((_,T)=>{_.forEach((k=>hr(p,T,void 0,k)))})),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(p.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(p){this.totalTime=p}syncPlayerEvents(p){const _=this._player;_.triggerCallback&&p.onStart((()=>_.triggerCallback("start"))),p.onDone((()=>this.finish())),p.onDestroy((()=>this.destroy()))}_queueEvent(p,_){Jn(this._queuedCallbacks,p,[]).push(_)}onDone(p){this.queued&&this._queueEvent("done",p),this._player.onDone(p)}onStart(p){this.queued&&this._queueEvent("start",p),this._player.onStart(p)}onDestroy(p){this.queued&&this._queueEvent("destroy",p),this._player.onDestroy(p)}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(p){this.queued||this._player.setPosition(p)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(p){const _=this._player;_.triggerCallback&&_.triggerCallback(p)}}function Io(R){return R&&1===R.nodeType}function _o(R,p){const _=R.style.display;return R.style.display=p??"none",_}function Wr(R,p,_,T,k){const W=[];_.forEach((ke=>W.push(_o(ke))));const _e=[];T.forEach(((ke,Xe)=>{const Ft=new Map;ke.forEach((jt=>{const Ln=p.computeStyle(Xe,jt,k);Ft.set(jt,Ln),(!Ln||0==Ln.length)&&(Xe[Xr]=ds,_e.push(Xe))})),R.set(Xe,Ft)}));let ye=0;return _.forEach((ke=>_o(ke,W[ye++]))),_e}function Ti(R,p){const _=new Map;if(R.forEach((ye=>_.set(ye,[]))),0==p.length)return _;const k=new Set(p),W=new Map;function _e(ye){if(!ye)return 1;let ke=W.get(ye);if(ke)return ke;const Xe=ye.parentNode;return ke=_.has(Xe)?Xe:k.has(Xe)?1:_e(Xe),W.set(ye,ke),ke}return p.forEach((ye=>{const ke=_e(ye);1!==ke&&_.get(ke).push(ye)})),_}function Ur(R,p){R.classList?.add(p)}function uo(R,p){R.classList?.remove(p)}function or(R,p,_){Nn(_).onDone((()=>R.processLeaveNode(p)))}function co(R,p){for(let _=0;_<R.length;_++){const T=R[_];T instanceof H.ZE?co(T.players,p):p.push(T)}}function Ho(R,p,_){const T=_.get(R);if(!T)return!1;let k=p.get(R);return k?T.forEach((W=>k.add(W))):p.set(R,T),_.delete(R),!0}class ts{constructor(p,_,T){this.bodyNode=p,this._driver=_,this._normalizer=T,this._triggerCache={},this.onRemovalComplete=(k,W)=>{},this._transitionEngine=new es(p,_,T),this._timelineEngine=new Cs(p,_,T),this._transitionEngine.onRemovalComplete=(k,W)=>this.onRemovalComplete(k,W)}registerTrigger(p,_,T,k,W){const _e=p+"-"+k;let ye=this._triggerCache[_e];if(!ye){const ke=[],Ft=Pn(this._driver,W,ke,[]);if(ke.length)throw function Pe(R,p){return new a.vHH(3404,!1)}();ye=function Us(R,p,_){return new vr(R,p,_)}(k,Ft,this._normalizer),this._triggerCache[_e]=ye}this._transitionEngine.registerTrigger(_,k,ye)}register(p,_){this._transitionEngine.register(p,_)}destroy(p,_){this._transitionEngine.destroy(p,_)}onInsert(p,_,T,k){this._transitionEngine.insertNode(p,_,T,k)}onRemove(p,_,T,k){this._transitionEngine.removeNode(p,_,k||!1,T)}disableAnimations(p,_){this._transitionEngine.markElementAsDisabled(p,_)}process(p,_,T,k){if("@"==T.charAt(0)){const[W,_e]=lr(T);this._timelineEngine.command(W,_,_e,k)}else this._transitionEngine.trigger(p,_,T,k)}listen(p,_,T,k,W){if("@"==T.charAt(0)){const[_e,ye]=lr(T);return this._timelineEngine.listen(_e,_,ye,W)}return this._transitionEngine.listen(p,_,T,k,W)}flush(p=-1){this._transitionEngine.flush(p)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let Pi=(()=>{class R{constructor(_,T,k){this._element=_,this._startStyles=T,this._endStyles=k,this._state=0;let W=R.initialStylesByElement.get(_);W||R.initialStylesByElement.set(_,W=new Map),this._initialStyles=W}start(){this._state<1&&(this._startStyles&&fr(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(fr(this._element,this._initialStyles),this._endStyles&&(fr(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(R.initialStylesByElement.delete(this._element),this._startStyles&&(Gn(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Gn(this._element,this._endStyles),this._endStyles=null),fr(this._element,this._initialStyles),this._state=3)}}return R.initialStylesByElement=new WeakMap,R})();function yo(R){let p=null;return R.forEach(((_,T)=>{(function zi(R){return"display"===R||"position"===R})(T)&&(p=p||new Map,p.set(T,_))})),p}class vo{constructor(p,_,T,k){this.element=p,this.keyframes=_,this.options=T,this._specialStyles=k,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=T.duration,this._delay=T.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach((p=>p())),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const p=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,p,this.options),this._finalKeyframe=p.length?p[p.length-1]:new Map,this.domPlayer.addEventListener("finish",(()=>this._onFinish()))}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(p){const _=[];return p.forEach((T=>{_.push(Object.fromEntries(T))})),_}_triggerWebAnimation(p,_,T){return p.animate(this._convertKeyframesToObject(_),T)}onStart(p){this._originalOnStartFns.push(p),this._onStartFns.push(p)}onDone(p){this._originalOnDoneFns.push(p),this._onDoneFns.push(p)}onDestroy(p){this._onDestroyFns.push(p)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach((p=>p())),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach((p=>p())),this._onDestroyFns=[])}setPosition(p){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=p*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const p=new Map;this.hasStarted()&&this._finalKeyframe.forEach(((T,k)=>{"offset"!==k&&p.set(k,this._finished?T:wt(this.element,k))})),this.currentSnapshot=p}triggerCallback(p){const _="start"===p?this._onStartFns:this._onDoneFns;_.forEach((T=>T())),_.length=0}}class js{validateStyleProperty(p){return!0}validateAnimatableStyleProperty(p){return!0}matchesElement(p,_){return!1}containsElement(p,_){return z(p,_)}getParentElement(p){return qt(p)}query(p,_,T){return q(p,_,T)}computeStyle(p,_,T){return window.getComputedStyle(p)[_]}animate(p,_,T,k,W,_e=[]){const ke={duration:T,delay:k,fill:0==k?"both":"forwards"};W&&(ke.easing=W);const Xe=new Map,Ft=_e.filter((On=>On instanceof vo));(function nt(R,p){return 0===R||0===p})(T,k)&&Ft.forEach((On=>{On.currentSnapshot.forEach(((yn,tn)=>Xe.set(tn,yn)))}));let jt=function kn(R){return R.length?R[0]instanceof Map?R:R.map((p=>Ht(p))):[]}(_).map((On=>pn(On)));jt=function zt(R,p,_){if(_.size&&p.length){let T=p[0],k=[];if(_.forEach(((W,_e)=>{T.has(_e)||k.push(_e),T.set(_e,W)})),k.length)for(let W=1;W<p.length;W++){let _e=p[W];k.forEach((ye=>_e.set(ye,wt(R,ye))))}}return p}(p,jt,Xe);const Ln=function bs(R,p){let _=null,T=null;return Array.isArray(p)&&p.length?(_=yo(p[0]),p.length>1&&(T=yo(p[p.length-1]))):p instanceof Map&&(_=yo(p)),_||T?new Pi(R,_,T):null}(p,jt);return new vo(p,jt,ke,Ln)}}var ct=x(6895);let jn=(()=>{class R extends H._j{constructor(_,T){super(),this._nextAnimationId=0,this._renderer=_.createRenderer(T.body,{id:"0",encapsulation:a.ifc.None,styles:[],data:{animation:[]}})}build(_){const T=this._nextAnimationId.toString();this._nextAnimationId++;const k=Array.isArray(_)?(0,H.vP)(_):_;return wr(this._renderer,null,T,"register",[k]),new ns(T,this._renderer)}}return R.ɵfac=function(_){return new(_||R)(a.LFG(a.FYo),a.LFG(ct.K0))},R.ɵprov=a.Yz7({token:R,factory:R.ɵfac}),R})();class ns extends H.LC{constructor(p,_){super(),this._id=p,this._renderer=_}create(p,_){return new jo(this._id,p,_||{},this._renderer)}}class jo{constructor(p,_,T,k){this.id=p,this.element=_,this._renderer=k,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",T)}_listen(p,_){return this._renderer.listen(this.element,`@@${this.id}:${p}`,_)}_command(p,..._){return wr(this._renderer,this.element,this.id,p,_)}onDone(p){this._listen("done",p)}onStart(p){this._listen("start",p)}onDestroy(p){this._listen("destroy",p)}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(p){this._command("setPosition",p)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function wr(R,p,_,T,k){return R.setProperty(p,`@@${_}:${T}`,k)}const mr="@.disabled";let Wi=(()=>{class R{constructor(_,T,k){this.delegate=_,this.engine=T,this._zone=k,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),T.onRemovalComplete=(W,_e)=>{const ye=_e?.parentNode(W);ye&&_e.removeChild(ye,W)}}createRenderer(_,T){const W=this.delegate.createRenderer(_,T);if(!(_&&T&&T.data&&T.data.animation)){let Ft=this._rendererCache.get(W);return Ft||(Ft=new Ro("",W,this.engine,(()=>this._rendererCache.delete(W))),this._rendererCache.set(W,Ft)),Ft}const _e=T.id,ye=T.id+"-"+this._currentId;this._currentId++,this.engine.register(ye,_);const ke=Ft=>{Array.isArray(Ft)?Ft.forEach(ke):this.engine.registerTrigger(_e,ye,_,Ft.name,Ft)};return T.data.animation.forEach(ke),new Co(this,ye,W,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then((()=>{this._microtaskId++}))}scheduleListenerCallback(_,T,k){_>=0&&_<this._microtaskId?this._zone.run((()=>T(k))):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then((()=>{this._zone.run((()=>{this._animationCallbacksBuffer.forEach((W=>{const[_e,ye]=W;_e(ye)})),this._animationCallbacksBuffer=[]}))})),this._animationCallbacksBuffer.push([T,k]))}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 R.ɵfac=function(_){return new(_||R)(a.LFG(a.FYo),a.LFG(ts),a.LFG(a.R0b))},R.ɵprov=a.Yz7({token:R,factory:R.ɵfac}),R})();class Ro{constructor(p,_,T,k){this.namespaceId=p,this.delegate=_,this.engine=T,this._onDestroy=k,this.destroyNode=this.delegate.destroyNode?W=>_.destroyNode(W):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(p,_){return this.delegate.createElement(p,_)}createComment(p){return this.delegate.createComment(p)}createText(p){return this.delegate.createText(p)}appendChild(p,_){this.delegate.appendChild(p,_),this.engine.onInsert(this.namespaceId,_,p,!1)}insertBefore(p,_,T,k=!0){this.delegate.insertBefore(p,_,T),this.engine.onInsert(this.namespaceId,_,p,k)}removeChild(p,_,T){this.engine.onRemove(this.namespaceId,_,this.delegate,T)}selectRootElement(p,_){return this.delegate.selectRootElement(p,_)}parentNode(p){return this.delegate.parentNode(p)}nextSibling(p){return this.delegate.nextSibling(p)}setAttribute(p,_,T,k){this.delegate.setAttribute(p,_,T,k)}removeAttribute(p,_,T){this.delegate.removeAttribute(p,_,T)}addClass(p,_){this.delegate.addClass(p,_)}removeClass(p,_){this.delegate.removeClass(p,_)}setStyle(p,_,T,k){this.delegate.setStyle(p,_,T,k)}removeStyle(p,_,T){this.delegate.removeStyle(p,_,T)}setProperty(p,_,T){"@"==_.charAt(0)&&_==mr?this.disableAnimations(p,!!T):this.delegate.setProperty(p,_,T)}setValue(p,_){this.delegate.setValue(p,_)}listen(p,_,T){return this.delegate.listen(p,_,T)}disableAnimations(p,_){this.engine.disableAnimations(p,_)}}class Co extends Ro{constructor(p,_,T,k,W){super(_,T,k,W),this.factory=p,this.namespaceId=_}setProperty(p,_,T){"@"==_.charAt(0)?"."==_.charAt(1)&&_==mr?this.disableAnimations(p,T=void 0===T||!!T):this.engine.process(this.namespaceId,p,_.slice(1),T):this.delegate.setProperty(p,_,T)}listen(p,_,T){if("@"==_.charAt(0)){const k=function Oi(R){switch(R){case"body":return document.body;case"document":return document;case"window":return window;default:return R}}(p);let W=_.slice(1),_e="";return"@"!=W.charAt(0)&&([W,_e]=function $s(R){const p=R.indexOf(".");return[R.substring(0,p),R.slice(p+1)]}(W)),this.engine.listen(this.namespaceId,k,W,_e,(ye=>{this.factory.scheduleListenerCallback(ye._data||-1,T,ye)}))}return this.delegate.listen(p,_,T)}}const fo=[{provide:H._j,useClass:jn},{provide:Qo,useFactory:function Ds(){return new oa}},{provide:ts,useClass:(()=>{class R extends ts{constructor(_,T,k,W){super(_.body,T,k)}ngOnDestroy(){this.flush()}}return R.ɵfac=function(_){return new(_||R)(a.LFG(ct.K0),a.LFG(et),a.LFG(Qo),a.LFG(a.z2F))},R.ɵprov=a.Yz7({token:R,factory:R.ɵfac}),R})()},{provide:a.FYo,useFactory:function fi(R,p,_){return new Wi(R,p,_)},deps:[b.se,ts,a.R0b]}],zs=[{provide:et,useFactory:()=>new js},{provide:a.QbO,useValue:"BrowserAnimations"},...fo],wo=[{provide:et,useClass:xe},{provide:a.QbO,useValue:"NoopAnimations"},...fo];let qi=(()=>{class R{static withConfig(_){return{ngModule:R,providers:_.disableAnimations?wo:zs}}}return R.ɵfac=function(_){return new(_||R)},R.ɵmod=a.oAB({type:R}),R.ɵinj=a.cJS({providers:zs,imports:[b.b2]}),R})()},1481:(Ie,J,x)=>{"use strict";x.d(J,{Dx:()=>fe,b2:()=>ri,q6:()=>Qr,se:()=>ae});var a=x(6895),b=x(1571);class H extends a.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class X extends H{static makeCurrent(){(0,a.HT)(new X)}onAndCancel(se,G,U){return se.addEventListener(G,U,!1),()=>{se.removeEventListener(G,U,!1)}}dispatchEvent(se,G){se.dispatchEvent(G)}remove(se){se.parentNode&&se.parentNode.removeChild(se)}createElement(se,G){return(G=G||this.getDefaultDocument()).createElement(se)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(se){return se.nodeType===Node.ELEMENT_NODE}isShadowRoot(se){return se instanceof DocumentFragment}getGlobalEventTarget(se,G){return"window"===G?window:"document"===G?se:"body"===G?se.body:null}getBaseHref(se){const G=function me(){return K=K||document.querySelector("base"),K?K.getAttribute("href"):null}();return null==G?null:function pe(De){re=re||document.createElement("a"),re.setAttribute("href",De);const se=re.pathname;return"/"===se.charAt(0)?se:`/${se}`}(G)}resetBaseElement(){K=null}getUserAgent(){return window.navigator.userAgent}getCookie(se){return(0,a.Mx)(document.cookie,se)}}let re,K=null;const be=new b.OlP("TRANSITION_ID"),oe=[{provide:b.ip1,useFactory:function Z(De,se,G){return()=>{G.get(b.CZH).donePromise.then((()=>{const U=(0,a.q)(),te=se.querySelectorAll(`style[ng-transition="${De}"]`);for(let Re=0;Re<te.length;Re++)U.remove(te[Re])}))}},deps:[be,a.K0,b.zs3],multi:!0}];let Ze=(()=>{class De{build(){return new XMLHttpRequest}}return De.ɵfac=function(G){return new(G||De)},De.ɵprov=b.Yz7({token:De,factory:De.ɵfac}),De})();const je=new b.OlP("EventManagerPlugins");let it=(()=>{class De{constructor(G,U){this._zone=U,this._eventNameToPlugin=new Map,G.forEach((te=>te.manager=this)),this._plugins=G.slice().reverse()}addEventListener(G,U,te){return this._findPluginFor(U).addEventListener(G,U,te)}addGlobalEventListener(G,U,te){return this._findPluginFor(U).addGlobalEventListener(G,U,te)}getZone(){return this._zone}_findPluginFor(G){const U=this._eventNameToPlugin.get(G);if(U)return U;const te=this._plugins;for(let Re=0;Re<te.length;Re++){const nt=te[Re];if(nt.supports(G))return this._eventNameToPlugin.set(G,nt),nt}throw new Error(`No event manager plugin found for event ${G}`)}}return De.ɵfac=function(G){return new(G||De)(b.LFG(je),b.LFG(b.R0b))},De.ɵprov=b.Yz7({token:De,factory:De.ɵfac}),De})();class It{constructor(se){this._doc=se}addGlobalEventListener(se,G,U){const te=(0,a.q)().getGlobalEventTarget(this._doc,se);if(!te)throw new Error(`Unsupported event target ${te} for event ${G}`);return this.addEventListener(te,G,U)}}let Ye=(()=>{class De{constructor(){this._stylesSet=new Set}addStyles(G){const U=new Set;G.forEach((te=>{this._stylesSet.has(te)||(this._stylesSet.add(te),U.add(te))})),this.onStylesAdded(U)}onStylesAdded(G){}getAllStyles(){return Array.from(this._stylesSet)}}return De.ɵfac=function(G){return new(G||De)},De.ɵprov=b.Yz7({token:De,factory:De.ɵfac}),De})(),Tt=(()=>{class De extends Ye{constructor(G){super(),this._doc=G,this._hostNodes=new Map,this._hostNodes.set(G.head,[])}_addStylesToHost(G,U,te){G.forEach((Re=>{const nt=this._doc.createElement("style");nt.textContent=Re,te.push(U.appendChild(nt))}))}addHost(G){const U=[];this._addStylesToHost(this._stylesSet,G,U),this._hostNodes.set(G,U)}removeHost(G){const U=this._hostNodes.get(G);U&&U.forEach(Ct),this._hostNodes.delete(G)}onStylesAdded(G){this._hostNodes.forEach(((U,te)=>{this._addStylesToHost(G,te,U)}))}ngOnDestroy(){this._hostNodes.forEach((G=>G.forEach(Ct)))}}return De.ɵfac=function(G){return new(G||De)(b.LFG(a.K0))},De.ɵprov=b.Yz7({token:De,factory:De.ɵfac}),De})();function Ct(De){(0,a.q)().remove(De)}const ot={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/"},Ge=/%COMP%/g;function Pe(De,se,G){for(let U=0;U<se.length;U++){let te=se[U];Array.isArray(te)?Pe(De,te,G):(te=te.replace(Ge,De),G.push(te))}return G}function Oe(De){return se=>{if("__ngUnwrap__"===se)return De;!1===De(se)&&(se.preventDefault(),se.returnValue=!1)}}let ae=(()=>{class De{constructor(G,U,te){this.eventManager=G,this.sharedStylesHost=U,this.appId=te,this.rendererByCompId=new Map,this.defaultRenderer=new Te(G)}createRenderer(G,U){if(!G||!U)return this.defaultRenderer;switch(U.encapsulation){case b.ifc.Emulated:{let te=this.rendererByCompId.get(U.id);return te||(te=new Xt(this.eventManager,this.sharedStylesHost,U,this.appId),this.rendererByCompId.set(U.id,te)),te.applyToHost(G),te}case 1:case b.ifc.ShadowDom:return new _n(this.eventManager,this.sharedStylesHost,G,U);default:if(!this.rendererByCompId.has(U.id)){const te=Pe(U.id,U.styles,[]);this.sharedStylesHost.addStyles(te),this.rendererByCompId.set(U.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return De.ɵfac=function(G){return new(G||De)(b.LFG(it),b.LFG(Tt),b.LFG(b.AFp))},De.ɵprov=b.Yz7({token:De,factory:De.ɵfac}),De})();class Te{constructor(se){this.eventManager=se,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(se,G){return G?document.createElementNS(ot[G]||G,se):document.createElement(se)}createComment(se){return document.createComment(se)}createText(se){return document.createTextNode(se)}appendChild(se,G){(Kn(se)?se.content:se).appendChild(G)}insertBefore(se,G,U){se&&(Kn(se)?se.content:se).insertBefore(G,U)}removeChild(se,G){se&&se.removeChild(G)}selectRootElement(se,G){let U="string"==typeof se?document.querySelector(se):se;if(!U)throw new Error(`The selector "${se}" did not match any elements`);return G||(U.textContent=""),U}parentNode(se){return se.parentNode}nextSibling(se){return se.nextSibling}setAttribute(se,G,U,te){if(te){G=te+":"+G;const Re=ot[te];Re?se.setAttributeNS(Re,G,U):se.setAttribute(G,U)}else se.setAttribute(G,U)}removeAttribute(se,G,U){if(U){const te=ot[U];te?se.removeAttributeNS(te,G):se.removeAttribute(`${U}:${G}`)}else se.removeAttribute(G)}addClass(se,G){se.classList.add(G)}removeClass(se,G){se.classList.remove(G)}setStyle(se,G,U,te){te&(b.JOm.DashCase|b.JOm.Important)?se.style.setProperty(G,U,te&b.JOm.Important?"important":""):se.style[G]=U}removeStyle(se,G,U){U&b.JOm.DashCase?se.style.removeProperty(G):se.style[G]=""}setProperty(se,G,U){se[G]=U}setValue(se,G){se.nodeValue=G}listen(se,G,U){return"string"==typeof se?this.eventManager.addGlobalEventListener(se,G,Oe(U)):this.eventManager.addEventListener(se,G,Oe(U))}}function Kn(De){return"TEMPLATE"===De.tagName&&void 0!==De.content}class Xt extends Te{constructor(se,G,U,te){super(se),this.component=U;const Re=Pe(te+"-"+U.id,U.styles,[]);G.addStyles(Re),this.contentAttr=function vt(De){return"_ngcontent-%COMP%".replace(Ge,De)}(te+"-"+U.id),this.hostAttr=function Ce(De){return"_nghost-%COMP%".replace(Ge,De)}(te+"-"+U.id)}applyToHost(se){super.setAttribute(se,this.hostAttr,"")}createElement(se,G){const U=super.createElement(se,G);return super.setAttribute(U,this.contentAttr,""),U}}class _n extends Te{constructor(se,G,U,te){super(se),this.sharedStylesHost=G,this.hostEl=U,this.shadowRoot=U.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Re=Pe(te.id,te.styles,[]);for(let nt=0;nt<Re.length;nt++){const zt=document.createElement("style");zt.textContent=Re[nt],this.shadowRoot.appendChild(zt)}}nodeOrShadowRoot(se){return se===this.hostEl?this.shadowRoot:se}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(se,G){return super.appendChild(this.nodeOrShadowRoot(se),G)}insertBefore(se,G,U){return super.insertBefore(this.nodeOrShadowRoot(se),G,U)}removeChild(se,G){return super.removeChild(this.nodeOrShadowRoot(se),G)}parentNode(se){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(se)))}}let Tn=(()=>{class De extends It{constructor(G){super(G)}supports(G){return!0}addEventListener(G,U,te){return G.addEventListener(U,te,!1),()=>this.removeEventListener(G,U,te)}removeEventListener(G,U,te){return G.removeEventListener(U,te)}}return De.ɵfac=function(G){return new(G||De)(b.LFG(a.K0))},De.ɵprov=b.Yz7({token:De,factory:De.ɵfac}),De})();const Cn=["alt","control","meta","shift"],Lr={"\b":"Backspace","\t":"Tab","":"Delete","":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},er={alt:De=>De.altKey,control:De=>De.ctrlKey,meta:De=>De.metaKey,shift:De=>De.shiftKey};let un=(()=>{class De extends It{constructor(G){super(G)}supports(G){return null!=De.parseEventName(G)}addEventListener(G,U,te){const Re=De.parseEventName(U),nt=De.eventCallback(Re.fullKey,te,this.manager.getZone());return this.manager.getZone().runOutsideAngular((()=>(0,a.q)().onAndCancel(G,Re.domEventName,nt)))}static parseEventName(G){const U=G.toLowerCase().split("."),te=U.shift();if(0===U.length||"keydown"!==te&&"keyup"!==te)return null;const Re=De._normalizeKey(U.pop());let nt="",zt=U.indexOf("code");if(zt>-1&&(U.splice(zt,1),nt="code."),Cn.forEach((wt=>{const Ue=U.indexOf(wt);Ue>-1&&(U.splice(Ue,1),nt+=wt+".")})),nt+=Re,0!=U.length||0===Re.length)return null;const tt={};return tt.domEventName=te,tt.fullKey=nt,tt}static matchEventFullKeyCode(G,U){let te=Lr[G.key]||G.key,Re="";return U.indexOf("code.")>-1&&(te=G.code,Re="code."),!(null==te||!te)&&(te=te.toLowerCase()," "===te?te="space":"."===te&&(te="dot"),Cn.forEach((nt=>{nt!==te&&(0,er[nt])(G)&&(Re+=nt+".")})),Re+=te,Re===U)}static eventCallback(G,U,te){return Re=>{De.matchEventFullKeyCode(Re,G)&&te.runGuarded((()=>U(Re)))}}static _normalizeKey(G){return"esc"===G?"escape":G}}return De.ɵfac=function(G){return new(G||De)(b.LFG(a.K0))},De.ɵprov=b.Yz7({token:De,factory:De.ɵfac}),De})();const Qr=(0,b.eFA)(b._c5,"browser",[{provide:b.Lbi,useValue:a.bD},{provide:b.g9A,useValue:function Ir(){X.makeCurrent()},multi:!0},{provide:a.K0,useFactory:function lr(){return(0,b.RDi)(document),document},deps:[]}]),_r=new b.OlP(""),qt=[{provide:b.rWj,useClass:class Se{addToWindow(se){b.dqk.getAngularTestability=(U,te=!0)=>{const Re=se.findTestabilityInTree(U,te);if(null==Re)throw new Error("Could not find testability for element.");return Re},b.dqk.getAllAngularTestabilities=()=>se.getAllTestabilities(),b.dqk.getAllAngularRootElements=()=>se.getAllRootElements(),b.dqk.frameworkStabilizers||(b.dqk.frameworkStabilizers=[]),b.dqk.frameworkStabilizers.push((U=>{const te=b.dqk.getAllAngularTestabilities();let Re=te.length,nt=!1;const zt=function(tt){nt=nt||tt,Re--,0==Re&&U(nt)};te.forEach((function(tt){tt.whenStable(zt)}))}))}findTestabilityInTree(se,G,U){return null==G?null:se.getTestability(G)??(U?(0,a.q)().isShadowRoot(G)?this.findTestabilityInTree(se,G.host,!0):this.findTestabilityInTree(se,G.parentElement,!0):null)}},deps:[]},{provide:b.lri,useClass:b.dDg,deps:[b.R0b,b.eoX,b.rWj]},{provide:b.dDg,useClass:b.dDg,deps:[b.R0b,b.eoX,b.rWj]}],Yr=[{provide:b.zSh,useValue:"root"},{provide:b.qLn,useFactory:function Jn(){return new b.qLn},deps:[]},{provide:je,useClass:Tn,multi:!0,deps:[a.K0,b.R0b,b.Lbi]},{provide:je,useClass:un,multi:!0,deps:[a.K0]},{provide:ae,useClass:ae,deps:[it,Tt,b.AFp]},{provide:b.FYo,useExisting:ae},{provide:Ye,useExisting:Tt},{provide:Tt,useClass:Tt,deps:[a.K0]},{provide:it,useClass:it,deps:[je,b.R0b]},{provide:a.JF,useClass:Ze,deps:[]},[]];let ri=(()=>{class De{constructor(G){}static withServerTransition(G){return{ngModule:De,providers:[{provide:b.AFp,useValue:G.appId},{provide:be,useExisting:b.AFp},oe]}}}return De.ɵfac=function(G){return new(G||De)(b.LFG(_r,12))},De.ɵmod=b.oAB({type:De}),De.ɵinj=b.cJS({providers:[...Yr,...qt],imports:[a.ez,b.hGG]}),De})(),fe=(()=>{class De{constructor(G){this._doc=G}getTitle(){return this._doc.title}setTitle(G){this._doc.title=G||""}}return De.ɵfac=function(G){return new(G||De)(b.LFG(a.K0))},De.ɵprov=b.Yz7({token:De,factory:function(G){let U=null;return U=G?new G:function Be(){return new fe((0,b.LFG)(a.K0))}(),U},providedIn:"root"}),De})();typeof window<"u"&&window},2304:(Ie,J,x)=>{"use strict";x.d(J,{yS:()=>Gs,Bz:()=>gi,lC:()=>Io});var a=x(1571),b=x(2076),H=x(9646),X=x(7579);class K extends X.x{constructor(m){super(),this._value=m}get value(){return this.getValue()}_subscribe(m){const f=super._subscribe(m);return!f.closed&&m.next(this._value),f}getValue(){const{hasError:m,thrownError:f,_value:w}=this;if(m)throw f;return this._throwIfClosed(),w}next(m){super.next(this._value=m)}}const re=(0,x(3888).d)((g=>function(){g(this),this.name="EmptyError",this.message="no elements in sequence"}));var pe=x(9751),be=x(4742),Z=x(4671),oe=x(3268),Se=x(7669),Ze=x(1810),je=x(5403),it=x(9672);function It(...g){const m=(0,Se.yG)(g),f=(0,Se.jO)(g),{args:w,keys:P}=(0,be.D)(g);if(0===w.length)return(0,b.D)([],m);const L=new pe.y(function Ye(g,m,f=Z.y){return w=>{Tt(m,(()=>{const{length:P}=g,L=new Array(P);let ne=P,le=P;for(let Ve=0;Ve<P;Ve++)Tt(m,(()=>{const yt=(0,b.D)(g[Ve],m);let mn=!1;yt.subscribe(new je.Q(w,(kt=>{L[Ve]=kt,mn||(mn=!0,le--),le||w.next(f(L.slice()))}),(()=>{--ne||w.complete()})))}),w)}),w)}}(w,m,P?ne=>(0,Ze.n)(P,ne):Z.y));return f?L.pipe((0,oe.Z)(f)):L}function Tt(g,m,f){g?(0,it.f)(f,g,m):m()}var Ct=x(8189);function Ge(...g){return function ot(){return(0,Ct.J)(1)}()((0,b.D)(g,(0,Se.yG)(g)))}var Me=x(8421);function Je(g){return new pe.y((m=>{(0,Me.Xf)(g()).subscribe(m)}))}var Jt=x(9635),Nt=x(576);function vt(g,m){const f=(0,Nt.m)(g)?g:()=>g,w=P=>P.error(f());return new pe.y(m?P=>m.schedule(w,0,P):w)}var Ce=x(515),Pe=x(727),Oe=x(4482);function Q(){return(0,Oe.e)(((g,m)=>{let f=null;g._refCount++;const w=new je.Q(m,void 0,void 0,void 0,(()=>{if(!g||g._refCount<=0||0<--g._refCount)return void(f=null);const P=g._connection,L=f;f=null,P&&(!L||P===L)&&P.unsubscribe(),m.unsubscribe()}));g.subscribe(w),w.closed||(f=g.connect())}))}class ae extends pe.y{constructor(m,f){super(),this.source=m,this.subjectFactory=f,this._subject=null,this._refCount=0,this._connection=null,(0,Oe.A)(m)&&(this.lift=m.lift)}_subscribe(m){return this.getSubject().subscribe(m)}getSubject(){const m=this._subject;return(!m||m.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:m}=this;this._subject=this._connection=null,m?.unsubscribe()}connect(){let m=this._connection;if(!m){m=this._connection=new Pe.w0;const f=this.getSubject();m.add(this.source.subscribe(new je.Q(f,void 0,(()=>{this._teardown(),f.complete()}),(w=>{this._teardown(),f.error(w)}),(()=>this._teardown())))),m.closed&&(this._connection=null,m=Pe.w0.EMPTY)}return m}refCount(){return Q()(this)}}var Te=x(6895),qe=x(4004);function Et(g,m){return(0,Oe.e)(((f,w)=>{let P=null,L=0,ne=!1;const le=()=>ne&&!P&&w.complete();f.subscribe(new je.Q(w,(Ve=>{P?.unsubscribe();let yt=0;const mn=L++;(0,Me.Xf)(g(Ve,mn)).subscribe(P=new je.Q(w,(kt=>w.next(m?m(Ve,kt,mn,yt++):kt)),(()=>{P=null,le()})))}),(()=>{ne=!0,le()})))}))}var Kn=x(5698),_n=x(9300),Tn=x(5577);function Cn(g){return(0,Oe.e)(((m,f)=>{let w=!1;m.subscribe(new je.Q(f,(P=>{w=!0,f.next(P)}),(()=>{w||f.next(g),f.complete()})))}))}function Lr(g=er){return(0,Oe.e)(((m,f)=>{let w=!1;m.subscribe(new je.Q(f,(P=>{w=!0,f.next(P)}),(()=>w?f.complete():f.error(g()))))}))}function er(){return new re}function un(g,m){const f=arguments.length>=2;return w=>w.pipe(g?(0,_n.h)(((P,L)=>g(P,L,w))):Z.y,(0,Kn.q)(1),f?Cn(m):Lr((()=>new re)))}var sr=x(4351);function Nn(g,m,f){const w=(0,Nt.m)(g)||m||f?{next:g,error:m,complete:f}:g;return w?(0,Oe.e)(((P,L)=>{var ne;null===(ne=w.subscribe)||void 0===ne||ne.call(w);let le=!0;P.subscribe(new je.Q(L,(Ve=>{var yt;null===(yt=w.next)||void 0===yt||yt.call(w,Ve),L.next(Ve)}),(()=>{var Ve;le=!1,null===(Ve=w.complete)||void 0===Ve||Ve.call(w),L.complete()}),(Ve=>{var yt;le=!1,null===(yt=w.error)||void 0===yt||yt.call(w,Ve),L.error(Ve)}),(()=>{var Ve,yt;le&&(null===(Ve=w.unsubscribe)||void 0===Ve||Ve.call(w)),null===(yt=w.finalize)||void 0===yt||yt.call(w)})))})):Z.y}function Hr(g){return(0,Oe.e)(((m,f)=>{let L,w=null,P=!1;w=m.subscribe(new je.Q(f,void 0,void 0,(ne=>{L=(0,Me.Xf)(g(ne,Hr(g)(m))),w?(w.unsubscribe(),w=null,L.subscribe(f)):P=!0}))),P&&(w.unsubscribe(),w=null,L.subscribe(f))}))}function hr(g,m,f,w,P){return(L,ne)=>{let le=f,Ve=m,yt=0;L.subscribe(new je.Q(ne,(mn=>{const kt=yt++;Ve=le?g(Ve,mn,kt):(le=!0,mn),w&&ne.next(Ve)}),P&&(()=>{le&&ne.next(Ve),ne.complete()})))}}function yi(g,m){return(0,Oe.e)(hr(g,m,arguments.length>=2,!0))}function Ir(g){return g<=0?()=>Ce.E:(0,Oe.e)(((m,f)=>{let w=[];m.subscribe(new je.Q(f,(P=>{w.push(P),g<w.length&&w.shift()}),(()=>{for(const P of w)f.next(P);f.complete()}),void 0,(()=>{w=null})))}))}function Jn(g,m){const f=arguments.length>=2;return w=>w.pipe(g?(0,_n.h)(((P,L)=>g(P,L,w))):Z.y,Ir(1),f?Cn(m):Lr((()=>new re)))}var Qr=x(7461),_r=x(1481);const qt="primary",Yr=Symbol("RouteTitle");class ri{constructor(m){this.params=m||{}}has(m){return Object.prototype.hasOwnProperty.call(this.params,m)}get(m){if(this.has(m)){const f=this.params[m];return Array.isArray(f)?f[0]:f}return null}getAll(m){if(this.has(m)){const f=this.params[m];return Array.isArray(f)?f:[f]}return[]}get keys(){return Object.keys(this.params)}}function de(g){return new ri(g)}function Ne(g,m,f){const w=f.path.split("/");if(w.length>g.length||"full"===f.pathMatch&&(m.hasChildren()||w.length<g.length))return null;const P={};for(let L=0;L<w.length;L++){const ne=w[L],le=g[L];if(ne.startsWith(":"))P[ne.substring(1)]=le;else if(ne!==le.path)return null}return{consumed:g.slice(0,w.length),posParams:P}}function Be(g,m){const f=g?Object.keys(g):void 0,w=m?Object.keys(m):void 0;if(!f||!w||f.length!=w.length)return!1;let P;for(let L=0;L<f.length;L++)if(P=f[L],!fe(g[P],m[P]))return!1;return!0}function fe(g,m){if(Array.isArray(g)&&Array.isArray(m)){if(g.length!==m.length)return!1;const f=[...g].sort(),w=[...m].sort();return f.every(((P,L)=>w[L]===P))}return g===m}function z(g){return Array.prototype.concat.apply([],g)}function q(g){return g.length>0?g[g.length-1]:null}function xe(g,m){for(const f in g)g.hasOwnProperty(f)&&m(g[f],f)}function et(g){return(0,a.CqO)(g)?g:(0,a.QGY)(g)?(0,b.D)(Promise.resolve(g)):(0,H.of)(g)}const at={exact:function Ut(g,m,f){if(!kn(g.segments,m.segments)||!Fn(g.segments,m.segments,f)||g.numberOfChildren!==m.numberOfChildren)return!1;for(const w in m.children)if(!g.children[w]||!Ut(g.children[w],m.children[w],f))return!1;return!0},subset:Rt},Dt={exact:function wn(g,m){return Be(g,m)},subset:function Pt(g,m){return Object.keys(m).length<=Object.keys(g).length&&Object.keys(m).every((f=>fe(g[f],m[f])))},ignored:()=>!0};function Yt(g,m,f){return at[f.paths](g.root,m.root,f.matrixParams)&&Dt[f.queryParams](g.queryParams,m.queryParams)&&!("exact"===f.fragment&&g.fragment!==m.fragment)}function Rt(g,m,f){return gt(g,m,m.segments,f)}function gt(g,m,f,w){if(g.segments.length>f.length){const P=g.segments.slice(0,f.length);return!(!kn(P,f)||m.hasChildren()||!Fn(P,f,w))}if(g.segments.length===f.length){if(!kn(g.segments,f)||!Fn(g.segments,f,w))return!1;for(const P in m.children)if(!g.children[P]||!Rt(g.children[P],m.children[P],w))return!1;return!0}{const P=f.slice(0,g.segments.length),L=f.slice(g.segments.length);return!!(kn(g.segments,P)&&Fn(g.segments,P,w)&&g.children[qt])&&gt(g.children[qt],m,L,w)}}function Fn(g,m,f){return m.every(((w,P)=>Dt[f](g[P].parameters,w.parameters)))}class Kt{constructor(m,f,w){this.root=m,this.queryParams=f,this.fragment=w}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=de(this.queryParams)),this._queryParamMap}toString(){return Or.serialize(this)}}class At{constructor(m,f){this.segments=m,this.children=f,this.parent=null,xe(f,((w,P)=>w.parent=this))}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return fr(this)}}class cn{constructor(m,f){this.path=m,this.parameters=f}get parameterMap(){return this._parameterMap||(this._parameterMap=de(this.parameters)),this._parameterMap}toString(){return U(this)}}function kn(g,m){return g.length===m.length&&g.every(((f,w)=>f.path===m[w].path))}let pn=(()=>{class g{}return g.ɵfac=function(f){return new(f||g)},g.ɵprov=a.Yz7({token:g,factory:function(){return new dn},providedIn:"root"}),g})();class dn{parse(m){const f=new xt(m);return new Kt(f.parseRootSegment(),f.parseQueryParams(),f.parseFragment())}serialize(m){const f=`/${Gn(m.root,!0)}`,w=function Re(g){const m=Object.keys(g).map((f=>{const w=g[f];return Array.isArray(w)?w.map((P=>`${Dr(f)}=${Dr(P)}`)).join("&"):`${Dr(f)}=${Dr(w)}`})).filter((f=>!!f));return m.length?`?${m.join("&")}`:""}(m.queryParams);return`${f}${w}${"string"==typeof m.fragment?`#${function gn(g){return encodeURI(g)}(m.fragment)}`:""}`}}const Or=new dn;function fr(g){return g.segments.map((m=>U(m))).join("/")}function Gn(g,m){if(!g.hasChildren())return fr(g);if(m){const f=g.children[qt]?Gn(g.children[qt],!1):"",w=[];return xe(g.children,((P,L)=>{L!==qt&&w.push(`${L}:${Gn(P,!1)}`)})),w.length>0?`${f}(${w.join("//")})`:f}{const f=function Bt(g,m){let f=[];return xe(g.children,((w,P)=>{P===qt&&(f=f.concat(m(w,P)))})),xe(g.children,((w,P)=>{P!==qt&&(f=f.concat(m(w,P)))})),f}(g,((w,P)=>P===qt?[Gn(g.children[qt],!1)]:[`${P}:${Gn(w,!1)}`]));return 1===Object.keys(g.children).length&&null!=g.children[qt]?`${fr(g)}/${f[0]}`:`${fr(g)}/(${f.join("//")})`}}function zn(g){return encodeURIComponent(g).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Dr(g){return zn(g).replace(/%3B/gi,";")}function De(g){return zn(g).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function se(g){return decodeURIComponent(g)}function G(g){return se(g.replace(/\+/g,"%20"))}function U(g){return`${De(g.path)}${function te(g){return Object.keys(g).map((m=>`;${De(m)}=${De(g[m])}`)).join("")}(g.parameters)}`}const nt=/^[^\/()?;=#]+/;function zt(g){const m=g.match(nt);return m?m[0]:""}const tt=/^[^=?&#]+/,Ue=/^[^&#]+/;class xt{constructor(m){this.url=m,this.remaining=m}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new At([],{}):new At([],this.parseChildren())}parseQueryParams(){const m={};if(this.consumeOptional("?"))do{this.parseQueryParam(m)}while(this.consumeOptional("&"));return m}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const m=[];for(this.peekStartsWith("(")||m.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),m.push(this.parseSegment());let f={};this.peekStartsWith("/(")&&(this.capture("/"),f=this.parseParens(!0));let w={};return this.peekStartsWith("(")&&(w=this.parseParens(!1)),(m.length>0||Object.keys(f).length>0)&&(w[qt]=new At(m,f)),w}parseSegment(){const m=zt(this.remaining);if(""===m&&this.peekStartsWith(";"))throw new a.vHH(4009,!1);return this.capture(m),new cn(se(m),this.parseMatrixParams())}parseMatrixParams(){const m={};for(;this.consumeOptional(";");)this.parseParam(m);return m}parseParam(m){const f=zt(this.remaining);if(!f)return;this.capture(f);let w="";if(this.consumeOptional("=")){const P=zt(this.remaining);P&&(w=P,this.capture(w))}m[se(f)]=se(w)}parseQueryParam(m){const f=function wt(g){const m=g.match(tt);return m?m[0]:""}(this.remaining);if(!f)return;this.capture(f);let w="";if(this.consumeOptional("=")){const ne=function bt(g){const m=g.match(Ue);return m?m[0]:""}(this.remaining);ne&&(w=ne,this.capture(w))}const P=G(f),L=G(w);if(m.hasOwnProperty(P)){let ne=m[P];Array.isArray(ne)||(ne=[ne],m[P]=ne),ne.push(L)}else m[P]=L}parseParens(m){const f={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const w=zt(this.remaining),P=this.remaining[w.length];if("/"!==P&&")"!==P&&";"!==P)throw new a.vHH(4010,!1);let L;w.indexOf(":")>-1?(L=w.slice(0,w.indexOf(":")),this.capture(L),this.capture(":")):m&&(L=qt);const ne=this.parseChildren();f[L]=1===Object.keys(ne).length?ne[qt]:new At([],ne),this.consumeOptional("//")}return f}peekStartsWith(m){return this.remaining.startsWith(m)}consumeOptional(m){return!!this.peekStartsWith(m)&&(this.remaining=this.remaining.substring(m.length),!0)}capture(m){if(!this.consumeOptional(m))throw new a.vHH(4011,!1)}}function Zt(g){return g.segments.length>0?new At([],{[qt]:g}):g}function Vt(g){const m={};for(const w of Object.keys(g.children)){const L=Vt(g.children[w]);(L.segments.length>0||L.hasChildren())&&(m[w]=L)}return function St(g){if(1===g.numberOfChildren&&g.children[qt]){const m=g.children[qt];return new At(g.segments.concat(m.segments),m.children)}return g}(new At(g.segments,m))}function fn(g){return g instanceof Kt}function pr(g,m,f,w,P){if(0===f.length)return $r(m.root,m.root,m.root,w,P);const L=function ui(g){if("string"==typeof g[0]&&1===g.length&&"/"===g[0])return new Pn(!0,0,g);let m=0,f=!1;const w=g.reduce(((P,L,ne)=>{if("object"==typeof L&&null!=L){if(L.outlets){const le={};return xe(L.outlets,((Ve,yt)=>{le[yt]="string"==typeof Ve?Ve.split("/"):Ve})),[...P,{outlets:le}]}if(L.segmentPath)return[...P,L.segmentPath]}return"string"!=typeof L?[...P,L]:0===ne?(L.split("/").forEach(((le,Ve)=>{0==Ve&&"."===le||(0==Ve&&""===le?f=!0:".."===le?m++:""!=le&&P.push(le))})),P):[...P,L]}),[]);return new Pn(f,m,w)}(f);return L.toRoot()?$r(m.root,m.root,new At([],{}),w,P):function ne(Ve){const yt=function $i(g,m,f,w){if(g.isAbsolute)return new ci(m.root,!0,0);if(-1===w)return new ci(f,f===m.root,0);return function vi(g,m,f){let w=g,P=m,L=f;for(;L>P;){if(L-=P,w=w.parent,!w)throw new a.vHH(4005,!1);P=w.segments.length}return new ci(w,!1,P-L)}(f,w+(yr(g.commands[0])?0:1),g.numberOfDoubleDots)}(L,m,g.snapshot?._urlSegment,Ve),mn=yt.processChildren?I(yt.segmentGroup,yt.index,L.commands):xr(yt.segmentGroup,yt.index,L.commands);return $r(m.root,yt.segmentGroup,mn,w,P)}(g.snapshot?._lastPathIndex)}function yr(g){return"object"==typeof g&&null!=g&&!g.outlets&&!g.segmentPath}function Rr(g){return"object"==typeof g&&null!=g&&g.outlets}function $r(g,m,f,w,P){let ne,L={};w&&xe(w,((Ve,yt)=>{L[yt]=Array.isArray(Ve)?Ve.map((mn=>`${mn}`)):`${Ve}`})),ne=g===m?f:Si(g,m,f);const le=Zt(Vt(ne));return new Kt(le,L,P)}function Si(g,m,f){const w={};return xe(g.children,((P,L)=>{w[L]=P===m?f:Si(P,m,f)})),new At(g.segments,w)}class Pn{constructor(m,f,w){if(this.isAbsolute=m,this.numberOfDoubleDots=f,this.commands=w,m&&w.length>0&&yr(w[0]))throw new a.vHH(4003,!1);const P=w.find(Rr);if(P&&P!==q(w))throw new a.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class ci{constructor(m,f,w){this.segmentGroup=m,this.processChildren=f,this.index=w}}function xr(g,m,f){if(g||(g=new At([],{})),0===g.segments.length&&g.hasChildren())return I(g,m,f);const w=function j(g,m,f){let w=0,P=m;const L={match:!1,pathIndex:0,commandIndex:0};for(;P<g.segments.length;){if(w>=f.length)return L;const ne=g.segments[P],le=f[w];if(Rr(le))break;const Ve=`${le}`,yt=w<f.length-1?f[w+1]:null;if(P>0&&void 0===Ve)break;if(Ve&&yt&&"object"==typeof yt&&void 0===yt.outlets){if(!We(Ve,yt,ne))return L;w+=2}else{if(!We(Ve,{},ne))return L;w++}P++}return{match:!0,pathIndex:P,commandIndex:w}}(g,m,f),P=f.slice(w.commandIndex);if(w.match&&w.pathIndex<g.segments.length){const L=new At(g.segments.slice(0,w.pathIndex),{});return L.children[qt]=new At(g.segments.slice(w.pathIndex),g.children),I(L,0,P)}return w.match&&0===P.length?new At(g.segments,{}):w.match&&!g.hasChildren()?V(g,m,f):w.match?I(g,0,P):V(g,m,f)}function I(g,m,f){if(0===f.length)return new At(g.segments,{});{const w=function Jr(g){return Rr(g[0])?g[0].outlets:{[qt]:g}}(f),P={};return xe(w,((L,ne)=>{"string"==typeof L&&(L=[L]),null!==L&&(P[ne]=xr(g.children[ne],m,L))})),xe(g.children,((L,ne)=>{void 0===w[ne]&&(P[ne]=L)})),new At(g.segments,P)}}function V(g,m,f){const w=g.segments.slice(0,m);let P=0;for(;P<f.length;){const L=f[P];if(Rr(L)){const Ve=ie(L.outlets);return new At(w,Ve)}if(0===P&&yr(f[0])){w.push(new cn(g.segments[m].path,Ke(f[0]))),P++;continue}const ne=Rr(L)?L.outlets[qt]:`${L}`,le=P<f.length-1?f[P+1]:null;ne&&le&&yr(le)?(w.push(new cn(ne,Ke(le))),P+=2):(w.push(new cn(ne,{})),P++)}return new At(w,{})}function ie(g){const m={};return xe(g,((f,w)=>{"string"==typeof f&&(f=[f]),null!==f&&(m[w]=V(new At([],{}),0,f))})),m}function Ke(g){const m={};return xe(g,((f,w)=>m[w]=`${f}`)),m}function We(g,m,f){return g==f.path&&Be(m,f.parameters)}class lt{constructor(m,f){this.id=m,this.url=f}}class ut extends lt{constructor(m,f,w="imperative",P=null){super(m,f),this.type=0,this.navigationTrigger=w,this.restoredState=P}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class dt extends lt{constructor(m,f,w){super(m,f),this.urlAfterRedirects=w,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class on extends lt{constructor(m,f,w,P){super(m,f),this.reason=w,this.code=P,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class bn extends lt{constructor(m,f,w,P){super(m,f),this.error=w,this.target=P,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Er extends lt{constructor(m,f,w,P){super(m,f),this.urlAfterRedirects=w,this.state=P,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class zr extends lt{constructor(m,f,w,P){super(m,f),this.urlAfterRedirects=w,this.state=P,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Mr extends lt{constructor(m,f,w,P,L){super(m,f),this.urlAfterRedirects=w,this.state=P,this.shouldActivate=L,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Ci extends lt{constructor(m,f,w,P){super(m,f),this.urlAfterRedirects=w,this.state=P,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Xi extends lt{constructor(m,f,w,P){super(m,f),this.urlAfterRedirects=w,this.state=P,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Po{constructor(m){this.route=m,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Oo{constructor(m){this.route=m,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Qo{constructor(m){this.snapshot=m,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Da{constructor(m){this.snapshot=m,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ea{constructor(m){this.snapshot=m,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class oa{constructor(m){this.snapshot=m,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ls{constructor(m,f,w){this.routerEvent=m,this.position=f,this.anchor=w,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Lo{constructor(m){this._root=m}get root(){return this._root.value}parent(m){const f=this.pathFromRoot(m);return f.length>1?f[f.length-2]:null}children(m){const f=Jo(m,this._root);return f?f.children.map((w=>w.value)):[]}firstChild(m){const f=Jo(m,this._root);return f&&f.children.length>0?f.children[0].value:null}siblings(m){const f=Vo(m,this._root);return f.length<2?[]:f[f.length-2].children.map((P=>P.value)).filter((P=>P!==m))}pathFromRoot(m){return Vo(m,this._root).map((f=>f.value))}}function Jo(g,m){if(g===m.value)return m;for(const f of m.children){const w=Jo(g,f);if(w)return w}return null}function Vo(g,m){if(g===m.value)return[m];for(const f of m.children){const w=Vo(g,f);if(w.length)return w.unshift(m),w}return[]}class Bi{constructor(m,f){this.value=m,this.children=f}toString(){return`TreeNode(${this.value})`}}function xo(g){const m={};return g&&g.children.forEach((f=>m[f.value.outlet]=f)),m}class Us extends Lo{constructor(m,f){super(m),this.snapshot=f,Ao(this,m)}toString(){return this.snapshot.toString()}}function vr(g,m){const f=function Zn(g,m){const ne=new mo([],{},{},"",{},qt,m,null,g.root,-1,{});return new us("",new Bi(ne,[]))}(g,m),w=new K([new cn("",{})]),P=new K({}),L=new K({}),ne=new K({}),le=new K(""),Ve=new ao(w,P,ne,le,L,qt,m,f.root);return Ve.snapshot=f.root,new Us(new Bi(Ve,[]),f)}class ao{constructor(m,f,w,P,L,ne,le,Ve){this.url=m,this.params=f,this.queryParams=w,this.fragment=P,this.data=L,this.outlet=ne,this.component=le,this.title=this.data?.pipe((0,qe.U)((yt=>yt[Yr])))??(0,H.of)(void 0),this._futureSnapshot=Ve}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,qe.U)((m=>de(m))))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,qe.U)((m=>de(m))))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Xo(g,m="emptyOnly"){const f=g.pathFromRoot;let w=0;if("always"!==m)for(w=f.length-1;w>=1;){const P=f[w],L=f[w-1];if(P.routeConfig&&""===P.routeConfig.path)w--;else{if(L.component)break;w--}}return function Cs(g){return g.reduce(((m,f)=>({params:{...m.params,...f.params},data:{...m.data,...f.data},resolve:{...f.data,...m.resolve,...f.routeConfig?.data,...f._resolvedData}})),{params:{},data:{},resolve:{}})}(f.slice(w))}class mo{constructor(m,f,w,P,L,ne,le,Ve,yt,mn,kt,Tr){this.url=m,this.params=f,this.queryParams=w,this.fragment=P,this.data=L,this.outlet=ne,this.component=le,this.title=this.data?.[Yr],this.routeConfig=Ve,this._urlSegment=yt,this._lastPathIndex=mn,this._correctedLastPathIndex=Tr??mn,this._resolve=kt}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=de(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=de(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map((w=>w.toString())).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class us extends Lo{constructor(m,f){super(f),this.url=m,Ao(this,f)}toString(){return Bo(this._root)}}function Ao(g,m){m.value._routerState=g,m.children.forEach((f=>Ao(g,f)))}function Bo(g){const m=g.children.length>0?` { ${g.children.map(Bo).join(", ")} } `:"";return`${g.value}${m}`}function cs(g){if(g.snapshot){const m=g.snapshot,f=g._futureSnapshot;g.snapshot=f,Be(m.queryParams,f.queryParams)||g.queryParams.next(f.queryParams),m.fragment!==f.fragment&&g.fragment.next(f.fragment),Be(m.params,f.params)||g.params.next(f.params),function Ae(g,m){if(g.length!==m.length)return!1;for(let f=0;f<g.length;++f)if(!Be(g[f],m[f]))return!1;return!0}(m.url,f.url)||g.url.next(f.url),Be(m.data,f.data)||g.data.next(f.data)}else g.snapshot=g._futureSnapshot,g.data.next(g._futureSnapshot.data)}function Nr(g,m){const f=Be(g.params,m.params)&&function Ht(g,m){return kn(g,m)&&g.every(((f,w)=>Be(f.parameters,m[w].parameters)))}(g.url,m.url);return f&&!(!g.parent!=!m.parent)&&(!g.parent||Nr(g.parent,m.parent))}function Fr(g,m,f){if(f&&g.shouldReuseRoute(m.value,f.value.snapshot)){const w=f.value;w._futureSnapshot=m.value;const P=function ds(g,m,f){return m.children.map((w=>{for(const P of f.children)if(g.shouldReuseRoute(w.value,P.value.snapshot))return Fr(g,w,P);return Fr(g,w)}))}(g,m,f);return new Bi(w,P)}{if(g.shouldAttach(m.value)){const L=g.retrieve(m.value);if(null!==L){const ne=L.route;return ne.value._futureSnapshot=m.value,ne.children=m.children.map((le=>Fr(g,le))),ne}}const w=function Xr(g){return new ao(new K(g.url),new K(g.params),new K(g.queryParams),new K(g.fragment),new K(g.data),g.outlet,g.component,g)}(m.value),P=m.children.map((L=>Fr(g,L)));return new Bi(w,P)}}const Gr="ngNavigationCancelingError";function lo(g,m){const{redirectTo:f,navigationBehaviorOptions:w}=fn(m)?{redirectTo:m,navigationBehaviorOptions:void 0}:m,P=Uo(!1,0,m);return P.url=f,P.navigationBehaviorOptions=w,P}function Uo(g,m,f){const w=new Error("NavigationCancelingError: "+(g||""));return w[Gr]=!0,w.cancellationCode=m,f&&(w.url=f),w}function Vr(g){return es(g)&&fn(g.url)}function es(g){return g&&g[Gr]}class ws{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new wi,this.attachRef=null}}let wi=(()=>{class g{constructor(){this.contexts=new Map}onChildOutletCreated(f,w){const P=this.getOrCreateContext(f);P.outlet=w,this.contexts.set(f,P)}onChildOutletDestroyed(f){const w=this.getContext(f);w&&(w.outlet=null,w.attachRef=null)}onOutletDeactivated(){const f=this.contexts;return this.contexts=new Map,f}onOutletReAttached(f){this.contexts=f}getOrCreateContext(f){let w=this.getContext(f);return w||(w=new ws,this.contexts.set(f,w)),w}getContext(f){return this.contexts.get(f)||null}}return g.ɵfac=function(f){return new(f||g)},g.ɵprov=a.Yz7({token:g,factory:g.ɵfac,providedIn:"root"}),g})();const gr=!1;let Io=(()=>{class g{constructor(f,w,P,L,ne){this.parentContexts=f,this.location=w,this.changeDetector=L,this.environmentInjector=ne,this.activated=null,this._activatedRoute=null,this.activateEvents=new a.vpe,this.deactivateEvents=new a.vpe,this.attachEvents=new a.vpe,this.detachEvents=new a.vpe,this.name=P||qt,f.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.getContext(this.name)?.outlet===this&&this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const f=this.parentContexts.getContext(this.name);f&&f.route&&(f.attachRef?this.attach(f.attachRef,f.route):this.activateWith(f.route,f.injector))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new a.vHH(4012,gr);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new a.vHH(4012,gr);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new a.vHH(4012,gr);this.location.detach();const f=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(f.instance),f}attach(f,w){this.activated=f,this._activatedRoute=w,this.location.insert(f.hostView),this.attachEvents.emit(f.instance)}deactivate(){if(this.activated){const f=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(f)}}activateWith(f,w){if(this.isActivated)throw new a.vHH(4013,gr);this._activatedRoute=f;const P=this.location,ne=f._futureSnapshot.component,le=this.parentContexts.getOrCreateContext(this.name).children,Ve=new ii(f,le,P.injector);if(w&&function _o(g){return!!g.resolveComponentFactory}(w)){const yt=w.resolveComponentFactory(ne);this.activated=P.createComponent(yt,P.length,Ve)}else this.activated=P.createComponent(ne,{index:P.length,injector:Ve,environmentInjector:w??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return g.ɵfac=function(f){return new(f||g)(a.Y36(wi),a.Y36(a.s_b),a.$8M("name"),a.Y36(a.sBO),a.Y36(a.lqb))},g.ɵdir=a.lG2({type:g,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0}),g})();class ii{constructor(m,f,w){this.route=m,this.childContexts=f,this.parent=w}get(m,f){return m===ao?this.route:m===wi?this.childContexts:this.parent.get(m,f)}}let Wr=(()=>{class g{}return g.ɵfac=function(f){return new(f||g)},g.ɵcmp=a.Xpm({type:g,selectors:[["ng-component"]],standalone:!0,features:[a.jDz],decls:1,vars:0,template:function(f,w){1&f&&a._UZ(0,"router-outlet")},dependencies:[Io],encapsulation:2}),g})();function Ti(g,m){return g.providers&&!g._injector&&(g._injector=(0,a.MMx)(g.providers,m,`Route: ${g.path}`)),g._injector??m}function bs(g){const m=g.children&&g.children.map(bs),f=m?{...g,children:m}:{...g};return!f.component&&!f.loadComponent&&(m||f.loadChildren)&&f.outlet&&f.outlet!==qt&&(f.component=Wr),f}function Pi(g){return g.outlet||qt}function yo(g,m){const f=g.filter((w=>Pi(w)===m));return f.push(...g.filter((w=>Pi(w)!==m))),f}function zi(g){if(!g)return null;if(g.routeConfig?._injector)return g.routeConfig._injector;for(let m=g.parent;m;m=m.parent){const f=m.routeConfig;if(f?._loadedInjector)return f._loadedInjector;if(f?._injector)return f._injector}return null}class js{constructor(m,f,w,P){this.routeReuseStrategy=m,this.futureState=f,this.currState=w,this.forwardEvent=P}activate(m){const f=this.futureState._root,w=this.currState?this.currState._root:null;this.deactivateChildRoutes(f,w,m),cs(this.futureState.root),this.activateChildRoutes(f,w,m)}deactivateChildRoutes(m,f,w){const P=xo(f);m.children.forEach((L=>{const ne=L.value.outlet;this.deactivateRoutes(L,P[ne],w),delete P[ne]})),xe(P,((L,ne)=>{this.deactivateRouteAndItsChildren(L,w)}))}deactivateRoutes(m,f,w){const P=m.value,L=f?f.value:null;if(P===L)if(P.component){const ne=w.getContext(P.outlet);ne&&this.deactivateChildRoutes(m,f,ne.children)}else this.deactivateChildRoutes(m,f,w);else L&&this.deactivateRouteAndItsChildren(f,w)}deactivateRouteAndItsChildren(m,f){m.value.component&&this.routeReuseStrategy.shouldDetach(m.value.snapshot)?this.detachAndStoreRouteSubtree(m,f):this.deactivateRouteAndOutlet(m,f)}detachAndStoreRouteSubtree(m,f){const w=f.getContext(m.value.outlet),P=w&&m.value.component?w.children:f,L=xo(m);for(const ne of Object.keys(L))this.deactivateRouteAndItsChildren(L[ne],P);if(w&&w.outlet){const ne=w.outlet.detach(),le=w.children.onOutletDeactivated();this.routeReuseStrategy.store(m.value.snapshot,{componentRef:ne,route:m,contexts:le})}}deactivateRouteAndOutlet(m,f){const w=f.getContext(m.value.outlet),P=w&&m.value.component?w.children:f,L=xo(m);for(const ne of Object.keys(L))this.deactivateRouteAndItsChildren(L[ne],P);w&&w.outlet&&(w.outlet.deactivate(),w.children.onOutletDeactivated(),w.attachRef=null,w.resolver=null,w.route=null)}activateChildRoutes(m,f,w){const P=xo(f);m.children.forEach((L=>{this.activateRoutes(L,P[L.value.outlet],w),this.forwardEvent(new oa(L.value.snapshot))})),m.children.length&&this.forwardEvent(new Da(m.value.snapshot))}activateRoutes(m,f,w){const P=m.value,L=f?f.value:null;if(cs(P),P===L)if(P.component){const ne=w.getOrCreateContext(P.outlet);this.activateChildRoutes(m,f,ne.children)}else this.activateChildRoutes(m,f,w);else if(P.component){const ne=w.getOrCreateContext(P.outlet);if(this.routeReuseStrategy.shouldAttach(P.snapshot)){const le=this.routeReuseStrategy.retrieve(P.snapshot);this.routeReuseStrategy.store(P.snapshot,null),ne.children.onOutletReAttached(le.contexts),ne.attachRef=le.componentRef,ne.route=le.route.value,ne.outlet&&ne.outlet.attach(le.componentRef,le.route.value),cs(le.route.value),this.activateChildRoutes(m,null,ne.children)}else{const le=zi(P.snapshot),Ve=le?.get(a._Vd)??null;ne.attachRef=null,ne.route=P,ne.resolver=Ve,ne.injector=le,ne.outlet&&ne.outlet.activateWith(P,ne.injector),this.activateChildRoutes(m,null,ne.children)}}else this.activateChildRoutes(m,null,w)}}class ct{constructor(m){this.path=m,this.route=this.path[this.path.length-1]}}class jn{constructor(m,f){this.component=m,this.route=f}}function ns(g,m,f){const w=g._root;return Gi(w,m?m._root:null,f,[w.value])}function wr(g,m){const f=Symbol(),w=m.get(g,f);return w===f?"function"!=typeof g||(0,a.Z0I)(g)?m.get(g):g:w}function Gi(g,m,f,w,P={canDeactivateChecks:[],canActivateChecks:[]}){const L=xo(m);return g.children.forEach((ne=>{(function mr(g,m,f,w,P={canDeactivateChecks:[],canActivateChecks:[]}){const L=g.value,ne=m?m.value:null,le=f?f.getContext(g.value.outlet):null;if(ne&&L.routeConfig===ne.routeConfig){const Ve=function Wi(g,m,f){if("function"==typeof f)return f(g,m);switch(f){case"pathParamsChange":return!kn(g.url,m.url);case"pathParamsOrQueryParamsChange":return!kn(g.url,m.url)||!Be(g.queryParams,m.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Nr(g,m)||!Be(g.queryParams,m.queryParams);default:return!Nr(g,m)}}(ne,L,L.routeConfig.runGuardsAndResolvers);Ve?P.canActivateChecks.push(new ct(w)):(L.data=ne.data,L._resolvedData=ne._resolvedData),Gi(g,m,L.component?le?le.children:null:f,w,P),Ve&&le&&le.outlet&&le.outlet.isActivated&&P.canDeactivateChecks.push(new jn(le.outlet.component,ne))}else ne&&Ro(m,le,P),P.canActivateChecks.push(new ct(w)),Gi(g,null,L.component?le?le.children:null:f,w,P)})(ne,L[ne.value.outlet],f,w.concat([ne.value]),P),delete L[ne.value.outlet]})),xe(L,((ne,le)=>Ro(ne,f.getContext(le),P))),P}function Ro(g,m,f){const w=xo(g),P=g.value;xe(w,((L,ne)=>{Ro(L,P.component?m?m.children.getContext(ne):null:m,f)})),f.canDeactivateChecks.push(new jn(P.component&&m&&m.outlet&&m.outlet.isActivated?m.outlet.component:null,P))}function Co(g){return"function"==typeof g}function qi(g){return g instanceof re||"EmptyError"===g?.name}const Es=Symbol("INITIAL_VALUE");function ei(){return Et((g=>It(g.map((m=>m.pipe((0,Kn.q)(1),function Xt(...g){const m=(0,Se.yG)(g);return(0,Oe.e)(((f,w)=>{(m?Ge(g,f,m):Ge(g,f)).subscribe(w)}))}(Es))))).pipe((0,qe.U)((m=>{for(const f of m)if(!0!==f){if(f===Es)return Es;if(!1===f||f instanceof Kt)return f}return!0})),(0,_n.h)((m=>m!==Es)),(0,Kn.q)(1))))}function ke(g){return(0,Jt.z)(Nn((m=>{if(fn(m))throw lo(0,m)})),(0,qe.U)((m=>!0===m)))}const Ft={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function jt(g,m,f,w,P){const L=Ln(g,m,f);return L.matched?function Xe(g,m,f,w){const P=m.canMatch;if(!P||0===P.length)return(0,H.of)(!0);const L=P.map((ne=>{const le=wr(ne,g);return et(function fo(g){return g&&Co(g.canMatch)}(le)?le.canMatch(m,f):g.runInContext((()=>le(m,f))))}));return(0,H.of)(L).pipe(ei(),ke())}(w=Ti(m,w),m,f).pipe((0,qe.U)((ne=>!0===ne?L:{...Ft}))):(0,H.of)(L)}function Ln(g,m,f){if(""===m.path)return"full"===m.pathMatch&&(g.hasChildren()||f.length>0)?{...Ft}:{matched:!0,consumedSegments:[],remainingSegments:f,parameters:{},positionalParamSegments:{}};const P=(m.matcher||Ne)(f,g,m);if(!P)return{...Ft};const L={};xe(P.posParams,((le,Ve)=>{L[Ve]=le.path}));const ne=P.consumed.length>0?{...L,...P.consumed[P.consumed.length-1].parameters}:L;return{matched:!0,consumedSegments:P.consumed,remainingSegments:f.slice(P.consumed.length),parameters:ne,positionalParamSegments:P.posParams??{}}}function On(g,m,f,w,P="corrected"){if(f.length>0&&function $n(g,m,f){return f.some((w=>ze(g,m,w)&&Pi(w)!==qt))}(g,f,w)){const ne=new At(m,function tn(g,m,f,w){const P={};P[qt]=w,w._sourceSegment=g,w._segmentIndexShift=m.length;for(const L of f)if(""===L.path&&Pi(L)!==qt){const ne=new At([],{});ne._sourceSegment=g,ne._segmentIndexShift=m.length,P[Pi(L)]=ne}return P}(g,m,w,new At(f,g.children)));return ne._sourceSegment=g,ne._segmentIndexShift=m.length,{segmentGroup:ne,slicedSegments:[]}}if(0===f.length&&function ge(g,m,f){return f.some((w=>ze(g,m,w)))}(g,f,w)){const ne=new At(g.segments,function yn(g,m,f,w,P,L){const ne={};for(const le of w)if(ze(g,f,le)&&!P[Pi(le)]){const Ve=new At([],{});Ve._sourceSegment=g,Ve._segmentIndexShift="legacy"===L?g.segments.length:m.length,ne[Pi(le)]=Ve}return{...P,...ne}}(g,m,f,w,g.children,P));return ne._sourceSegment=g,ne._segmentIndexShift=m.length,{segmentGroup:ne,slicedSegments:f}}const L=new At(g.segments,g.children);return L._sourceSegment=g,L._segmentIndexShift=m.length,{segmentGroup:L,slicedSegments:f}}function ze(g,m,f){return(!(g.hasChildren()||m.length>0)||"full"!==f.pathMatch)&&""===f.path}function He(g,m,f,w){return!!(Pi(g)===w||w!==qt&&ze(m,f,g))&&("**"===g.path||Ln(m,g,f).matched)}function Ot(g,m,f){return 0===m.length&&!g.children[f]}const hn=!1;class xn{constructor(m){this.segmentGroup=m||null}}class nr{constructor(m){this.urlTree=m}}function Vn(g){return vt(new xn(g))}function Di(g){return vt(new nr(g))}class $o{constructor(m,f,w,P,L){this.injector=m,this.configLoader=f,this.urlSerializer=w,this.urlTree=P,this.config=L,this.allowRedirects=!0}apply(){const m=On(this.urlTree.root,[],[],this.config).segmentGroup,f=new At(m.segments,m.children);return this.expandSegmentGroup(this.injector,this.config,f,qt).pipe((0,qe.U)((L=>this.createUrlTree(Vt(L),this.urlTree.queryParams,this.urlTree.fragment)))).pipe(Hr((L=>{if(L instanceof nr)return this.allowRedirects=!1,this.match(L.urlTree);throw L instanceof xn?this.noMatchError(L):L})))}match(m){return this.expandSegmentGroup(this.injector,this.config,m.root,qt).pipe((0,qe.U)((P=>this.createUrlTree(Vt(P),m.queryParams,m.fragment)))).pipe(Hr((P=>{throw P instanceof xn?this.noMatchError(P):P})))}noMatchError(m){return new a.vHH(4002,hn)}createUrlTree(m,f,w){const P=Zt(m);return new Kt(P,f,w)}expandSegmentGroup(m,f,w,P){return 0===w.segments.length&&w.hasChildren()?this.expandChildren(m,f,w).pipe((0,qe.U)((L=>new At([],L)))):this.expandSegment(m,w,f,w.segments,P,!0)}expandChildren(m,f,w){const P=[];for(const L of Object.keys(w.children))"primary"===L?P.unshift(L):P.push(L);return(0,b.D)(P).pipe((0,sr.b)((L=>{const ne=w.children[L],le=yo(f,L);return this.expandSegmentGroup(m,le,ne,L).pipe((0,qe.U)((Ve=>({segment:Ve,outlet:L}))))})),yi(((L,ne)=>(L[ne.outlet]=ne.segment,L)),{}),Jn())}expandSegment(m,f,w,P,L,ne){return(0,b.D)(w).pipe((0,sr.b)((le=>this.expandSegmentAgainstRoute(m,f,w,le,P,L,ne).pipe(Hr((yt=>{if(yt instanceof xn)return(0,H.of)(null);throw yt}))))),un((le=>!!le)),Hr(((le,Ve)=>{if(qi(le))return Ot(f,P,L)?(0,H.of)(new At([],{})):Vn(f);throw le})))}expandSegmentAgainstRoute(m,f,w,P,L,ne,le){return He(P,f,L,ne)?void 0===P.redirectTo?this.matchSegmentAgainstRoute(m,f,P,L,ne):le&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(m,f,w,P,L,ne):Vn(f):Vn(f)}expandSegmentAgainstRouteUsingRedirect(m,f,w,P,L,ne){return"**"===P.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(m,w,P,ne):this.expandRegularSegmentAgainstRouteUsingRedirect(m,f,w,P,L,ne)}expandWildCardWithParamsAgainstRouteUsingRedirect(m,f,w,P){const L=this.applyRedirectCommands([],w.redirectTo,{});return w.redirectTo.startsWith("/")?Di(L):this.lineralizeSegments(w,L).pipe((0,Tn.z)((ne=>{const le=new At(ne,{});return this.expandSegment(m,le,f,ne,P,!1)})))}expandRegularSegmentAgainstRouteUsingRedirect(m,f,w,P,L,ne){const{matched:le,consumedSegments:Ve,remainingSegments:yt,positionalParamSegments:mn}=Ln(f,P,L);if(!le)return Vn(f);const kt=this.applyRedirectCommands(Ve,P.redirectTo,mn);return P.redirectTo.startsWith("/")?Di(kt):this.lineralizeSegments(P,kt).pipe((0,Tn.z)((Tr=>this.expandSegment(m,f,w,Tr.concat(yt),ne,!1))))}matchSegmentAgainstRoute(m,f,w,P,L){return"**"===w.path?(m=Ti(w,m),w.loadChildren?(w._loadedRoutes?(0,H.of)({routes:w._loadedRoutes,injector:w._loadedInjector}):this.configLoader.loadChildren(m,w)).pipe((0,qe.U)((le=>(w._loadedRoutes=le.routes,w._loadedInjector=le.injector,new At(P,{}))))):(0,H.of)(new At(P,{}))):jt(f,w,P,m).pipe(Et((({matched:ne,consumedSegments:le,remainingSegments:Ve})=>ne?this.getChildConfig(m=w._injector??m,w,P).pipe((0,Tn.z)((mn=>{const kt=mn.injector??m,Tr=mn.routes,{segmentGroup:Ar,slicedSegments:to}=On(f,le,Ve,Tr),Ri=new At(Ar.segments,Ar.children);if(0===to.length&&Ri.hasChildren())return this.expandChildren(kt,Tr,Ri).pipe((0,qe.U)((Qa=>new At(le,Qa))));if(0===Tr.length&&0===to.length)return(0,H.of)(new At(le,{}));const qr=Pi(w)===L;return this.expandSegment(kt,Ri,Tr,to,qr?qt:L,!0).pipe((0,qe.U)((qs=>new At(le.concat(qs.segments),qs.children))))}))):Vn(f))))}getChildConfig(m,f,w){return f.children?(0,H.of)({routes:f.children,injector:m}):f.loadChildren?void 0!==f._loadedRoutes?(0,H.of)({routes:f._loadedRoutes,injector:f._loadedInjector}):function ye(g,m,f,w){const P=m.canLoad;if(void 0===P||0===P.length)return(0,H.of)(!0);const L=P.map((ne=>{const le=wr(ne,g);return et(function $s(g){return g&&Co(g.canLoad)}(le)?le.canLoad(m,f):g.runInContext((()=>le(m,f))))}));return(0,H.of)(L).pipe(ei(),ke())}(m,f,w).pipe((0,Tn.z)((P=>P?this.configLoader.loadChildren(m,f).pipe(Nn((L=>{f._loadedRoutes=L.routes,f._loadedInjector=L.injector}))):function Ei(g){return vt(Uo(hn,3))}()))):(0,H.of)({routes:[],injector:m})}lineralizeSegments(m,f){let w=[],P=f.root;for(;;){if(w=w.concat(P.segments),0===P.numberOfChildren)return(0,H.of)(w);if(P.numberOfChildren>1||!P.children[qt])return vt(new a.vHH(4e3,hn));P=P.children[qt]}}applyRedirectCommands(m,f,w){return this.applyRedirectCreateUrlTree(f,this.urlSerializer.parse(f),m,w)}applyRedirectCreateUrlTree(m,f,w,P){const L=this.createSegmentGroup(m,f.root,w,P);return new Kt(L,this.createQueryParams(f.queryParams,this.urlTree.queryParams),f.fragment)}createQueryParams(m,f){const w={};return xe(m,((P,L)=>{if("string"==typeof P&&P.startsWith(":")){const le=P.substring(1);w[L]=f[le]}else w[L]=P})),w}createSegmentGroup(m,f,w,P){const L=this.createSegments(m,f.segments,w,P);let ne={};return xe(f.children,((le,Ve)=>{ne[Ve]=this.createSegmentGroup(m,le,w,P)})),new At(L,ne)}createSegments(m,f,w,P){return f.map((L=>L.path.startsWith(":")?this.findPosParam(m,L,P):this.findOrReturn(L,w)))}findPosParam(m,f,w){const P=w[f.path.substring(1)];if(!P)throw new a.vHH(4001,hn);return P}findOrReturn(m,f){let w=0;for(const P of f){if(P.path===m.path)return f.splice(w),P;w++}return m}}class C{}class N{constructor(m,f,w,P,L,ne,le,Ve){this.injector=m,this.rootComponentType=f,this.config=w,this.urlTree=P,this.url=L,this.paramsInheritanceStrategy=ne,this.relativeLinkResolution=le,this.urlSerializer=Ve}recognize(){const m=On(this.urlTree.root,[],[],this.config.filter((f=>void 0===f.redirectTo)),this.relativeLinkResolution).segmentGroup;return this.processSegmentGroup(this.injector,this.config,m,qt).pipe((0,qe.U)((f=>{if(null===f)return null;const w=new mo([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},qt,this.rootComponentType,null,this.urlTree.root,-1,{}),P=new Bi(w,f),L=new us(this.url,P);return this.inheritParamsAndData(L._root),L})))}inheritParamsAndData(m){const f=m.value,w=Xo(f,this.paramsInheritanceStrategy);f.params=Object.freeze(w.params),f.data=Object.freeze(w.data),m.children.forEach((P=>this.inheritParamsAndData(P)))}processSegmentGroup(m,f,w,P){return 0===w.segments.length&&w.hasChildren()?this.processChildren(m,f,w):this.processSegment(m,f,w,w.segments,P)}processChildren(m,f,w){return(0,b.D)(Object.keys(w.children)).pipe((0,sr.b)((P=>{const L=w.children[P],ne=yo(f,P);return this.processSegmentGroup(m,ne,L,P)})),yi(((P,L)=>P&&L?(P.push(...L),P):null)),function lr(g,m=!1){return(0,Oe.e)(((f,w)=>{let P=0;f.subscribe(new je.Q(w,(L=>{const ne=g(L,P++);(ne||m)&&w.next(L),!ne&&w.complete()})))}))}((P=>null!==P)),Cn(null),Jn(),(0,qe.U)((P=>{if(null===P)return null;const L=Gt(P);return function ce(g){g.sort(((m,f)=>m.value.outlet===qt?-1:f.value.outlet===qt?1:m.value.outlet.localeCompare(f.value.outlet)))}(L),L})))}processSegment(m,f,w,P,L){return(0,b.D)(f).pipe((0,sr.b)((ne=>this.processSegmentAgainstRoute(ne._injector??m,ne,w,P,L))),un((ne=>!!ne)),Hr((ne=>{if(qi(ne))return Ot(w,P,L)?(0,H.of)([]):(0,H.of)(null);throw ne})))}processSegmentAgainstRoute(m,f,w,P,L){if(f.redirectTo||!He(f,w,P,L))return(0,H.of)(null);let ne;if("**"===f.path){const le=P.length>0?q(P).parameters:{},Ve=Qn(w)+P.length,yt=new mo(P,le,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,ar(f),Pi(f),f.component??f._loadedComponent??null,f,Bn(w),Ve,Un(f),Ve);ne=(0,H.of)({snapshot:yt,consumedSegments:[],remainingSegments:[]})}else ne=jt(w,f,P,m).pipe((0,qe.U)((({matched:le,consumedSegments:Ve,remainingSegments:yt,parameters:mn})=>{if(!le)return null;const kt=Qn(w)+Ve.length;return{snapshot:new mo(Ve,mn,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,ar(f),Pi(f),f.component??f._loadedComponent??null,f,Bn(w),kt,Un(f),kt),consumedSegments:Ve,remainingSegments:yt}})));return ne.pipe(Et((le=>{if(null===le)return(0,H.of)(null);const{snapshot:Ve,consumedSegments:yt,remainingSegments:mn}=le;m=f._injector??m;const kt=f._loadedInjector??m,Tr=function $e(g){return g.children?g.children:g.loadChildren?g._loadedRoutes:[]}(f),{segmentGroup:Ar,slicedSegments:to}=On(w,yt,mn,Tr.filter((qr=>void 0===qr.redirectTo)),this.relativeLinkResolution);if(0===to.length&&Ar.hasChildren())return this.processChildren(kt,Tr,Ar).pipe((0,qe.U)((qr=>null===qr?null:[new Bi(Ve,qr)])));if(0===Tr.length&&0===to.length)return(0,H.of)([new Bi(Ve,[])]);const Ri=Pi(f)===L;return this.processSegment(kt,Tr,Ar,to,Ri?qt:L).pipe((0,qe.U)((qr=>null===qr?null:[new Bi(Ve,qr)])))})))}}function rt(g){const m=g.value.routeConfig;return m&&""===m.path&&void 0===m.redirectTo}function Gt(g){const m=[],f=new Set;for(const w of g){if(!rt(w)){m.push(w);continue}const P=m.find((L=>w.value.routeConfig===L.value.routeConfig));void 0!==P?(P.children.push(...w.children),f.add(P)):m.push(w)}for(const w of f){const P=Gt(w.children);m.push(new Bi(w.value,P))}return m.filter((w=>!f.has(w)))}function Bn(g){let m=g;for(;m._sourceSegment;)m=m._sourceSegment;return m}function Qn(g){let m=g,f=m._segmentIndexShift??0;for(;m._sourceSegment;)m=m._sourceSegment,f+=m._segmentIndexShift??0;return f-1}function ar(g){return g.data||{}}function Un(g){return g.resolve||{}}function Ms(g){return"string"==typeof g.title||null===g.title}function Ss(g){return Et((m=>{const f=g(m);return f?(0,b.D)(f).pipe((0,qe.U)((()=>m))):(0,H.of)(m)}))}let za=(()=>{class g{buildTitle(f){let w,P=f.root;for(;void 0!==P;)w=this.getResolvedTitleForRoute(P)??w,P=P.children.find((L=>L.outlet===qt));return w}getResolvedTitleForRoute(f){return f.data[Yr]}}return g.ɵfac=function(f){return new(f||g)},g.ɵprov=a.Yz7({token:g,factory:function(){return(0,a.f3M)(Zi)},providedIn:"root"}),g})(),Zi=(()=>{class g extends za{constructor(f){super(),this.title=f}updateTitle(f){const w=this.buildTitle(f);void 0!==w&&this.title.setTitle(w)}}return g.ɵfac=function(f){return new(f||g)(a.LFG(_r.Dx))},g.ɵprov=a.Yz7({token:g,factory:g.ɵfac,providedIn:"root"}),g})();class Ts{}class Ma extends class Wa{shouldDetach(m){return!1}store(m,f){}shouldAttach(m){return!1}retrieve(m){return null}shouldReuseRoute(m,f){return m.routeConfig===f.routeConfig}}{}const Ps=new a.OlP("",{providedIn:"root",factory:()=>({})}),pi=new a.OlP("ROUTES");let Sa=(()=>{class g{constructor(f,w){this.injector=f,this.compiler=w,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(f){if(this.componentLoaders.get(f))return this.componentLoaders.get(f);if(f._loadedComponent)return(0,H.of)(f._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(f);const w=et(f.loadComponent()).pipe(Nn((L=>{this.onLoadEndListener&&this.onLoadEndListener(f),f._loadedComponent=L})),(0,Qr.x)((()=>{this.componentLoaders.delete(f)}))),P=new ae(w,(()=>new X.x)).pipe(Q());return this.componentLoaders.set(f,P),P}loadChildren(f,w){if(this.childrenLoaders.get(w))return this.childrenLoaders.get(w);if(w._loadedRoutes)return(0,H.of)({routes:w._loadedRoutes,injector:w._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(w);const L=this.loadModuleFactoryOrRoutes(w.loadChildren).pipe((0,qe.U)((le=>{this.onLoadEndListener&&this.onLoadEndListener(w);let Ve,yt,mn=!1;Array.isArray(le)?yt=le:(Ve=le.create(f).injector,yt=z(Ve.get(pi,[],a.XFs.Self|a.XFs.Optional)));return{routes:yt.map(bs),injector:Ve}})),(0,Qr.x)((()=>{this.childrenLoaders.delete(w)}))),ne=new ae(L,(()=>new X.x)).pipe(Q());return this.childrenLoaders.set(w,ne),ne}loadModuleFactoryOrRoutes(f){return et(f()).pipe((0,Tn.z)((w=>w instanceof a.YKP||Array.isArray(w)?(0,H.of)(w):(0,b.D)(this.compiler.compileModuleAsync(w)))))}}return g.ɵfac=function(f){return new(f||g)(a.LFG(a.zs3),a.LFG(a.Sil))},g.ɵprov=a.Yz7({token:g,factory:g.ɵfac,providedIn:"root"}),g})();class vl{}class qa{shouldProcessUrl(m){return!0}extract(m){return m}merge(m,f){return m}}function Os(g){throw g}function zo(g,m,f){return m.parse("/")}const Ta={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},hs={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function cr(){const g=(0,a.f3M)(pn),m=(0,a.f3M)(wi),f=(0,a.f3M)(Te.Ye),w=(0,a.f3M)(a.zs3),P=(0,a.f3M)(a.Sil),L=(0,a.f3M)(pi,{optional:!0})??[],ne=(0,a.f3M)(Ps,{optional:!0})??{},le=(0,a.f3M)(Zi),Ve=(0,a.f3M)(za,{optional:!0}),yt=(0,a.f3M)(vl,{optional:!0}),mn=(0,a.f3M)(Ts,{optional:!0}),kt=new Sr(null,g,m,f,w,P,z(L));return yt&&(kt.urlHandlingStrategy=yt),mn&&(kt.routeReuseStrategy=mn),kt.titleStrategy=Ve??le,function Ii(g,m){g.errorHandler&&(m.errorHandler=g.errorHandler),g.malformedUriErrorHandler&&(m.malformedUriErrorHandler=g.malformedUriErrorHandler),g.onSameUrlNavigation&&(m.onSameUrlNavigation=g.onSameUrlNavigation),g.paramsInheritanceStrategy&&(m.paramsInheritanceStrategy=g.paramsInheritanceStrategy),g.relativeLinkResolution&&(m.relativeLinkResolution=g.relativeLinkResolution),g.urlUpdateStrategy&&(m.urlUpdateStrategy=g.urlUpdateStrategy),g.canceledNavigationResolution&&(m.canceledNavigationResolution=g.canceledNavigationResolution)}(ne,kt),kt}let Sr=(()=>{class g{constructor(f,w,P,L,ne,le,Ve){this.rootComponentType=f,this.urlSerializer=w,this.rootContexts=P,this.location=L,this.config=Ve,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new X.x,this.errorHandler=Os,this.malformedUriErrorHandler=zo,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>(0,H.of)(void 0),this.urlHandlingStrategy=new qa,this.routeReuseStrategy=new Ma,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.configLoader=ne.get(Sa),this.configLoader.onLoadEndListener=Tr=>this.triggerEvent(new Oo(Tr)),this.configLoader.onLoadStartListener=Tr=>this.triggerEvent(new Po(Tr)),this.ngModule=ne.get(a.h0i),this.console=ne.get(a.c2e);const kt=ne.get(a.R0b);this.isNgZoneEnabled=kt instanceof a.R0b&&a.R0b.isInAngularZone(),this.resetConfig(Ve),this.currentUrlTree=function $t(){return new Kt(new At([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=vr(this.currentUrlTree,this.rootComponentType),this.transitions=new K({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){return this.location.getState()?.ɵrouterPageId}setupNavigations(f){const w=this.events;return f.pipe((0,_n.h)((P=>0!==P.id)),(0,qe.U)((P=>({...P,extractedUrl:this.urlHandlingStrategy.extract(P.rawUrl)}))),Et((P=>{let L=!1,ne=!1;return(0,H.of)(P).pipe(Nn((le=>{this.currentNavigation={id:le.id,initialUrl:le.rawUrl,extractedUrl:le.extractedUrl,trigger:le.source,extras:le.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}})),Et((le=>{const Ve=this.browserUrlTree.toString(),yt=!this.navigated||le.extractedUrl.toString()!==Ve||Ve!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||yt)&&this.urlHandlingStrategy.shouldProcessUrl(le.rawUrl))return Pa(le.source)&&(this.browserUrlTree=le.extractedUrl),(0,H.of)(le).pipe(Et((kt=>{const Tr=this.transitions.getValue();return w.next(new ut(kt.id,this.serializeUrl(kt.extractedUrl),kt.source,kt.restoredState)),Tr!==this.transitions.getValue()?Ce.E:Promise.resolve(kt)})),function xi(g,m,f,w){return Et((P=>function bo(g,m,f,w,P){return new $o(g,m,f,w,P).apply()}(g,m,f,P.extractedUrl,w).pipe((0,qe.U)((L=>({...P,urlAfterRedirects:L}))))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),Nn((kt=>{this.currentNavigation={...this.currentNavigation,finalUrl:kt.urlAfterRedirects},P.urlAfterRedirects=kt.urlAfterRedirects})),function Cr(g,m,f,w,P,L){return(0,Tn.z)((ne=>function D(g,m,f,w,P,L,ne="emptyOnly",le="legacy"){return new N(g,m,f,w,P,ne,le,L).recognize().pipe(Et((Ve=>null===Ve?function O(g){return new pe.y((m=>m.error(g)))}(new C):(0,H.of)(Ve))))}(g,m,f,ne.urlAfterRedirects,w.serialize(ne.urlAfterRedirects),w,P,L).pipe((0,qe.U)((le=>({...ne,targetSnapshot:le}))))))}(this.ngModule.injector,this.rootComponentType,this.config,this.urlSerializer,this.paramsInheritanceStrategy,this.relativeLinkResolution),Nn((kt=>{if(P.targetSnapshot=kt.targetSnapshot,"eager"===this.urlUpdateStrategy){if(!kt.extras.skipLocationChange){const Ar=this.urlHandlingStrategy.merge(kt.urlAfterRedirects,kt.rawUrl);this.setBrowserUrl(Ar,kt)}this.browserUrlTree=kt.urlAfterRedirects}const Tr=new Er(kt.id,this.serializeUrl(kt.extractedUrl),this.serializeUrl(kt.urlAfterRedirects),kt.targetSnapshot);w.next(Tr)})));if(yt&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:Tr,extractedUrl:Ar,source:to,restoredState:Ri,extras:qr}=le,El=new ut(Tr,this.serializeUrl(Ar),to,Ri);w.next(El);const qs=vr(Ar,this.rootComponentType).snapshot;return P={...le,targetSnapshot:qs,urlAfterRedirects:Ar,extras:{...qr,skipLocationChange:!1,replaceUrl:!1}},(0,H.of)(P)}return this.rawUrlTree=le.rawUrl,le.resolve(null),Ce.E})),Nn((le=>{const Ve=new zr(le.id,this.serializeUrl(le.extractedUrl),this.serializeUrl(le.urlAfterRedirects),le.targetSnapshot);this.triggerEvent(Ve)})),(0,qe.U)((le=>P={...le,guards:ns(le.targetSnapshot,le.currentSnapshot,this.rootContexts)})),function eo(g,m){return(0,Tn.z)((f=>{const{targetSnapshot:w,currentSnapshot:P,guards:{canActivateChecks:L,canDeactivateChecks:ne}}=f;return 0===ne.length&&0===L.length?(0,H.of)({...f,guardsResult:!0}):function R(g,m,f,w){return(0,b.D)(g).pipe((0,Tn.z)((P=>function _e(g,m,f,w,P){const L=m&&m.routeConfig?m.routeConfig.canDeactivate:null;if(!L||0===L.length)return(0,H.of)(!0);const ne=L.map((le=>{const Ve=zi(m)??P,yt=wr(le,Ve);return et(function fi(g){return g&&Co(g.canDeactivate)}(yt)?yt.canDeactivate(g,m,f,w):Ve.runInContext((()=>yt(g,m,f,w)))).pipe(un())}));return(0,H.of)(ne).pipe(ei())}(P.component,P.route,f,m,w))),un((P=>!0!==P),!0))}(ne,w,P,g).pipe((0,Tn.z)((le=>le&&function Oi(g){return"boolean"==typeof g}(le)?function p(g,m,f,w){return(0,b.D)(m).pipe((0,sr.b)((P=>Ge(function T(g,m){return null!==g&&m&&m(new Qo(g)),(0,H.of)(!0)}(P.route.parent,w),function _(g,m){return null!==g&&m&&m(new Ea(g)),(0,H.of)(!0)}(P.route,w),function W(g,m,f){const w=m[m.length-1],L=m.slice(0,m.length-1).reverse().map((ne=>function jo(g){const m=g.routeConfig?g.routeConfig.canActivateChild:null;return m&&0!==m.length?{node:g,guards:m}:null}(ne))).filter((ne=>null!==ne)).map((ne=>Je((()=>{const le=ne.guards.map((Ve=>{const yt=zi(ne.node)??f,mn=wr(Ve,yt);return et(function Ds(g){return g&&Co(g.canActivateChild)}(mn)?mn.canActivateChild(w,g):yt.runInContext((()=>mn(w,g)))).pipe(un())}));return(0,H.of)(le).pipe(ei())}))));return(0,H.of)(L).pipe(ei())}(g,P.path,f),function k(g,m,f){const w=m.routeConfig?m.routeConfig.canActivate:null;if(!w||0===w.length)return(0,H.of)(!0);const P=w.map((L=>Je((()=>{const ne=zi(m)??f,le=wr(L,ne);return et(function fs(g){return g&&Co(g.canActivate)}(le)?le.canActivate(m,g):ne.runInContext((()=>le(m,g)))).pipe(un())}))));return(0,H.of)(P).pipe(ei())}(g,P.route,f)))),un((P=>!0!==P),!0))}(w,L,g,m):(0,H.of)(le))),(0,qe.U)((le=>({...f,guardsResult:le}))))}))}(this.ngModule.injector,(le=>this.triggerEvent(le))),Nn((le=>{if(P.guardsResult=le.guardsResult,fn(le.guardsResult))throw lo(0,le.guardsResult);const Ve=new Mr(le.id,this.serializeUrl(le.extractedUrl),this.serializeUrl(le.urlAfterRedirects),le.targetSnapshot,!!le.guardsResult);this.triggerEvent(Ve)})),(0,_n.h)((le=>!!le.guardsResult||(this.restoreHistory(le),this.cancelNavigationTransition(le,"",3),!1))),Ss((le=>{if(le.guards.canActivateChecks.length)return(0,H.of)(le).pipe(Nn((Ve=>{const yt=new Ci(Ve.id,this.serializeUrl(Ve.extractedUrl),this.serializeUrl(Ve.urlAfterRedirects),Ve.targetSnapshot);this.triggerEvent(yt)})),Et((Ve=>{let yt=!1;return(0,H.of)(Ve).pipe(function Ai(g,m){return(0,Tn.z)((f=>{const{targetSnapshot:w,guards:{canActivateChecks:P}}=f;if(!P.length)return(0,H.of)(f);let L=0;return(0,b.D)(P).pipe((0,sr.b)((ne=>function hi(g,m,f,w){const P=g.routeConfig,L=g._resolve;return void 0!==P?.title&&!Ms(P)&&(L[Yr]=P.title),function Hi(g,m,f,w){const P=function oi(g){return[...Object.keys(g),...Object.getOwnPropertySymbols(g)]}(g);if(0===P.length)return(0,H.of)({});const L={};return(0,b.D)(P).pipe((0,Tn.z)((ne=>function rs(g,m,f,w){const P=zi(m)??w,L=wr(g,P);return et(L.resolve?L.resolve(m,f):P.runInContext((()=>L(m,f))))}(g[ne],m,f,w).pipe(un(),Nn((le=>{L[ne]=le}))))),Ir(1),function jr(g){return(0,qe.U)((()=>g))}(L),Hr((ne=>qi(ne)?Ce.E:vt(ne))))}(L,g,m,w).pipe((0,qe.U)((ne=>(g._resolvedData=ne,g.data=Xo(g,f).resolve,P&&Ms(P)&&(g.data[Yr]=P.title),null))))}(ne.route,w,g,m))),Nn((()=>L++)),Ir(1),(0,Tn.z)((ne=>L===P.length?(0,H.of)(f):Ce.E)))}))}(this.paramsInheritanceStrategy,this.ngModule.injector),Nn({next:()=>yt=!0,complete:()=>{yt||(this.restoreHistory(Ve),this.cancelNavigationTransition(Ve,"",2))}}))})),Nn((Ve=>{const yt=new Xi(Ve.id,this.serializeUrl(Ve.extractedUrl),this.serializeUrl(Ve.urlAfterRedirects),Ve.targetSnapshot);this.triggerEvent(yt)})))})),Ss((le=>{const Ve=yt=>{const mn=[];yt.routeConfig?.loadComponent&&!yt.routeConfig._loadedComponent&&mn.push(this.configLoader.loadComponent(yt.routeConfig).pipe(Nn((kt=>{yt.component=kt})),(0,qe.U)((()=>{}))));for(const kt of yt.children)mn.push(...Ve(kt));return mn};return It(Ve(le.targetSnapshot.root)).pipe(Cn(),(0,Kn.q)(1))})),Ss((()=>this.afterPreactivation())),(0,qe.U)((le=>{const Ve=function Hs(g,m,f){const w=Fr(g,m._root,f?f._root:void 0);return new Us(w,m)}(this.routeReuseStrategy,le.targetSnapshot,le.currentRouterState);return P={...le,targetRouterState:Ve}})),Nn((le=>{this.currentUrlTree=le.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(le.urlAfterRedirects,le.rawUrl),this.routerState=le.targetRouterState,"deferred"===this.urlUpdateStrategy&&(le.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,le),this.browserUrlTree=le.urlAfterRedirects)})),((g,m,f)=>(0,qe.U)((w=>(new js(m,w.targetRouterState,w.currentRouterState,f).activate(g),w))))(this.rootContexts,this.routeReuseStrategy,(le=>this.triggerEvent(le))),Nn({next(){L=!0},complete(){L=!0}}),(0,Qr.x)((()=>{L||ne||this.cancelNavigationTransition(P,"",1),this.currentNavigation?.id===P.id&&(this.currentNavigation=null)})),Hr((le=>{if(ne=!0,es(le)){Vr(le)||(this.navigated=!0,this.restoreHistory(P,!0));const Ve=new on(P.id,this.serializeUrl(P.extractedUrl),le.message,le.cancellationCode);if(w.next(Ve),Vr(le)){const yt=this.urlHandlingStrategy.merge(le.url,this.rawUrlTree),mn={skipLocationChange:P.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Pa(P.source)};this.scheduleNavigation(yt,"imperative",null,mn,{resolve:P.resolve,reject:P.reject,promise:P.promise})}else P.resolve(!1)}else{this.restoreHistory(P,!0);const Ve=new bn(P.id,this.serializeUrl(P.extractedUrl),le,P.targetSnapshot??void 0);w.next(Ve);try{P.resolve(this.errorHandler(le))}catch(yt){P.reject(yt)}}return Ce.E})))})))}resetRootComponentType(f){this.rootComponentType=f,this.routerState.root.component=this.rootComponentType}setTransition(f){this.transitions.next({...this.transitions.value,...f})}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe((f=>{const w="popstate"===f.type?"popstate":"hashchange";"popstate"===w&&setTimeout((()=>{const P={replaceUrl:!0},L=f.state?.navigationId?f.state:null;if(L){const le={...L};delete le.navigationId,delete le.ɵrouterPageId,0!==Object.keys(le).length&&(P.state=le)}const ne=this.parseUrl(f.url);this.scheduleNavigation(ne,w,L,P)}),0)})))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(f){this.events.next(f)}resetConfig(f){this.config=f.map(bs),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(f,w={}){const{relativeTo:P,queryParams:L,fragment:ne,queryParamsHandling:le,preserveFragment:Ve}=w,yt=P||this.routerState.root,mn=Ve?this.currentUrlTree.fragment:ne;let kt=null;switch(le){case"merge":kt={...this.currentUrlTree.queryParams,...L};break;case"preserve":kt=this.currentUrlTree.queryParams;break;default:kt=L||null}return null!==kt&&(kt=this.removeEmptyProps(kt)),pr(yt,this.currentUrlTree,f,kt,mn??null)}navigateByUrl(f,w={skipLocationChange:!1}){const P=fn(f)?f:this.parseUrl(f),L=this.urlHandlingStrategy.merge(P,this.rawUrlTree);return this.scheduleNavigation(L,"imperative",null,w)}navigate(f,w={skipLocationChange:!1}){return function Go(g){for(let m=0;m<g.length;m++){if(null==g[m])throw new a.vHH(4008,false)}}(f),this.navigateByUrl(this.createUrlTree(f,w),w)}serializeUrl(f){return this.urlSerializer.serialize(f)}parseUrl(f){let w;try{w=this.urlSerializer.parse(f)}catch(P){w=this.malformedUriErrorHandler(P,this.urlSerializer,f)}return w}isActive(f,w){let P;if(P=!0===w?{...Ta}:!1===w?{...hs}:w,fn(f))return Yt(this.currentUrlTree,f,P);const L=this.parseUrl(f);return Yt(this.currentUrlTree,L,P)}removeEmptyProps(f){return Object.keys(f).reduce(((w,P)=>{const L=f[P];return null!=L&&(w[P]=L),w}),{})}processNavigations(){this.navigations.subscribe((f=>{this.navigated=!0,this.lastSuccessfulId=f.id,this.currentPageId=f.targetPageId,this.events.next(new dt(f.id,this.serializeUrl(f.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.titleStrategy?.updateTitle(this.routerState.snapshot),f.resolve(!0)}),(f=>{this.console.warn(`Unhandled Navigation Error: ${f}`)}))}scheduleNavigation(f,w,P,L,ne){if(this.disposed)return Promise.resolve(!1);let le,Ve,yt;ne?(le=ne.resolve,Ve=ne.reject,yt=ne.promise):yt=new Promise(((Tr,Ar)=>{le=Tr,Ve=Ar}));const mn=++this.navigationId;let kt;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(P=this.location.getState()),kt=P&&P.ɵrouterPageId?P.ɵrouterPageId:L.replaceUrl||L.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):kt=0,this.setTransition({id:mn,targetPageId:kt,source:w,restoredState:P,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:f,extras:L,resolve:le,reject:Ve,promise:yt,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),yt.catch((Tr=>Promise.reject(Tr)))}setBrowserUrl(f,w){const P=this.urlSerializer.serialize(f),L={...w.extras.state,...this.generateNgRouterState(w.id,w.targetPageId)};this.location.isCurrentPathEqualTo(P)||w.extras.replaceUrl?this.location.replaceState(P,"",L):this.location.go(P,"",L)}restoreHistory(f,w=!1){if("computed"===this.canceledNavigationResolution){const P=this.currentPageId-f.targetPageId;"popstate"!==f.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.currentNavigation?.finalUrl||0===P?this.currentUrlTree===this.currentNavigation?.finalUrl&&0===P&&(this.resetState(f),this.browserUrlTree=f.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(P)}else"replace"===this.canceledNavigationResolution&&(w&&this.resetState(f),this.resetUrlToCurrentUrlTree())}resetState(f){this.routerState=f.currentRouterState,this.currentUrlTree=f.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,f.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(f,w,P){const L=new on(f.id,this.serializeUrl(f.extractedUrl),w,P);this.triggerEvent(L),f.resolve(!1)}generateNgRouterState(f,w){return"computed"===this.canceledNavigationResolution?{navigationId:f,"ɵrouterPageId":w}:{navigationId:f}}}return g.ɵfac=function(f){a.$Z()},g.ɵprov=a.Yz7({token:g,factory:function(){return cr()},providedIn:"root"}),g})();function Pa(g){return"imperative"!==g}let Gs=(()=>{class g{constructor(f,w,P){this.router=f,this.route=w,this.locationStrategy=P,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.commands=null,this.href=null,this.onChanges=new X.x,this.subscription=f.events.subscribe((L=>{L instanceof dt&&this.updateTargetUrlAndHref()}))}set preserveFragment(f){this._preserveFragment=(0,a.D6c)(f)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(f){this._skipLocationChange=(0,a.D6c)(f)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(f){this._replaceUrl=(0,a.D6c)(f)}get replaceUrl(){return this._replaceUrl}set routerLink(f){this.commands=null!=f?Array.isArray(f)?f:[f]:null}ngOnChanges(f){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(f,w,P,L,ne){return!!(0!==f||w||P||L||ne||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!1)}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return g.ɵfac=function(f){return new(f||g)(a.Y36(Sr),a.Y36(ao),a.Y36(Te.S$))},g.ɵdir=a.lG2({type:g,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(f,w){1&f&&a.NdJ("click",(function(L){return w.onClick(L.button,L.ctrlKey,L.shiftKey,L.altKey,L.metaKey)})),2&f&&a.uIk("target",w.target)("href",w.href,a.LSH)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[a.TTD]}),g})();class No{}let $=(()=>{class g{constructor(f,w,P,L,ne){this.router=f,this.injector=P,this.preloadingStrategy=L,this.loader=ne}setUpPreloading(){this.subscription=this.router.events.pipe((0,_n.h)((f=>f instanceof dt)),(0,sr.b)((()=>this.preload()))).subscribe((()=>{}))}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(f,w){const P=[];for(const L of w){L.providers&&!L._injector&&(L._injector=(0,a.MMx)(L.providers,f,`Route: ${L.path}`));const ne=L._injector??f,le=L._loadedInjector??ne;L.loadChildren&&!L._loadedRoutes&&void 0===L.canLoad||L.loadComponent&&!L._loadedComponent?P.push(this.preloadConfig(ne,L)):(L.children||L._loadedRoutes)&&P.push(this.processRoutes(le,L.children??L._loadedRoutes))}return(0,b.D)(P).pipe((0,Ct.J)())}preloadConfig(f,w){return this.preloadingStrategy.preload(w,(()=>{let P;P=w.loadChildren&&void 0===w.canLoad?this.loader.loadChildren(f,w):(0,H.of)(null);const L=P.pipe((0,Tn.z)((ne=>null===ne?(0,H.of)(void 0):(w._loadedRoutes=ne.routes,w._loadedInjector=ne.injector,this.processRoutes(ne.injector??f,ne.routes)))));if(w.loadComponent&&!w._loadedComponent){const ne=this.loader.loadComponent(w);return(0,b.D)([L,ne]).pipe((0,Ct.J)())}return L}))}}return g.ɵfac=function(f){return new(f||g)(a.LFG(Sr),a.LFG(a.Sil),a.LFG(a.lqb),a.LFG(No),a.LFG(Sa))},g.ɵprov=a.Yz7({token:g,factory:g.ɵfac,providedIn:"root"}),g})();const po=new a.OlP("");let xa=(()=>{class g{constructor(f,w,P={}){this.router=f,this.viewportScroller=w,this.options=P,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},P.scrollPositionRestoration=P.scrollPositionRestoration||"disabled",P.anchorScrolling=P.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((f=>{f instanceof ut?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=f.navigationTrigger,this.restoredId=f.restoredState?f.restoredState.navigationId:0):f instanceof dt&&(this.lastId=f.id,this.scheduleScrollEvent(f,this.router.parseUrl(f.urlAfterRedirects).fragment))}))}consumeScrollEvents(){return this.router.events.subscribe((f=>{f instanceof ls&&(f.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(f.position):f.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(f.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))}))}scheduleScrollEvent(f,w){this.router.triggerEvent(new ls(f,"popstate"===this.lastSource?this.store[this.restoredId]:null,w))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return g.ɵfac=function(f){a.$Z()},g.ɵprov=a.Yz7({token:g,factory:g.ɵfac}),g})();function la(g,m){return{"ɵkind":g,"ɵproviders":m}}function wl(g){return[{provide:pi,multi:!0,useValue:g}]}function Jl(){const g=(0,a.f3M)(a.zs3);return m=>{const f=g.get(a.z2F);if(m!==f.components[0])return;const w=g.get(Sr),P=g.get(Xl);1===g.get(bl)&&w.initialNavigation(),g.get(ai,null,a.XFs.Optional)?.setUpPreloading(),g.get(po,null,a.XFs.Optional)?.init(),w.resetRootComponentType(f.componentTypes[0]),P.closed||(P.next(),P.unsubscribe())}}const Xl=new a.OlP("",{factory:()=>new X.x}),bl=new a.OlP("",{providedIn:"root",factory:()=>1});const ai=new a.OlP("");function Aa(g){return la(0,[{provide:ai,useExisting:$},{provide:No,useExisting:g}])}const Zr=new a.OlP("ROUTER_FORROOT_GUARD"),Do=[Te.Ye,{provide:pn,useClass:dn},{provide:Sr,useFactory:cr},wi,{provide:ao,useFactory:function Ql(g){return g.routerState.root},deps:[Sr]},Sa];function Ra(){return new a.PXZ("Router",Sr)}let gi=(()=>{class g{constructor(f){}static forRoot(f,w){return{ngModule:g,providers:[Do,[],wl(f),{provide:Zr,useFactory:Dl,deps:[[Sr,new a.FiY,new a.tp0]]},{provide:Ps,useValue:w||{}},w?.useHash?{provide:Te.S$,useClass:Te.Do}:{provide:Te.S$,useClass:Te.b0},{provide:po,useFactory:()=>{const g=(0,a.f3M)(Sr),m=(0,a.f3M)(Te.EM),f=(0,a.f3M)(Ps);return f.scrollOffset&&m.setOffset(f.scrollOffset),new xa(g,m,f)}},w?.preloadingStrategy?Aa(w.preloadingStrategy).ɵproviders:[],{provide:a.PXZ,multi:!0,useFactory:Ra},w?.initialNavigation?eu(w):[],[{provide:Eo,useFactory:Jl},{provide:a.tb,multi:!0,useExisting:Eo}]]}}static forChild(f){return{ngModule:g,providers:[wl(f)]}}}return g.ɵfac=function(f){return new(f||g)(a.LFG(Zr,8))},g.ɵmod=a.oAB({type:g}),g.ɵinj=a.cJS({imports:[Wr]}),g})();function Dl(g){return"guarded"}function eu(g){return["disabled"===g.initialNavigation?la(3,[{provide:a.ip1,multi:!0,useFactory:()=>{const m=(0,a.f3M)(Sr);return()=>{m.setUpLocationChangeListener()}}},{provide:bl,useValue:2}]).ɵproviders:[],"enabledBlocking"===g.initialNavigation?la(2,[{provide:bl,useValue:0},{provide:a.ip1,multi:!0,deps:[a.zs3],useFactory:m=>{const f=m.get(Te.V_,Promise.resolve());let w=!1;return()=>f.then((()=>new Promise((L=>{const ne=m.get(Sr),le=m.get(Xl);(function P(L){m.get(Sr).events.pipe((0,_n.h)((le=>le instanceof dt||le instanceof on||le instanceof bn)),(0,qe.U)((le=>le instanceof dt||le instanceof on&&(0===le.code||1===le.code)&&null)),(0,_n.h)((le=>null!==le)),(0,Kn.q)(1)).subscribe((()=>{L()}))})((()=>{L(!0),w=!0})),ne.afterPreactivation=()=>(L(!0),w||le.closed?(0,H.of)(void 0):le),ne.initialNavigation()}))))}}]).ɵproviders:[]]}const Eo=new a.OlP("")},5419:(Ie,J,x)=>{"use strict";x.d(J,{A4:()=>Oe});var a=x(1571),b=x(529),H=x(4004),X=x(109),K=x(3022);const Z={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 oe{constructor(ae){this.unprotectedPaths=["/resetpass","/invitation"],this.protocol=ae.protocol;let Te=ae.port;Te||(function me(Q){return/^https:$/i.test(Q)}(this.protocol)?Te="443":function re(Q){return/^http:$/i.test(Q)}(this.protocol)&&(Te="80")),this.domain=ae.hostname,this.port=parseInt(Te,10),this.path=ae.pathname;const qe=this.path.match(/((?:\/cpsess\d+)?)(?:\/([^\/]+))?/)||[];if(this.applicationName=/^whm\./.test(this.domain)?Z[2087]:/^cpanel\./.test(this.domain)?Z[2083]:/^webmail\./.test(this.domain)?Z[2095]:Z[Te.toString()]||Z[qe[2]]||"whostmgr",this.securityToken=qe[1]||"",this.applicationPath=this.securityToken?this.path.replace(this.securityToken,""):this.path,this.theme="",!this.isUnprotected&&(this.isCpanel||this.isWebmail)){const Kn=this.path.split("/");this.theme=Kn[3]}this.themePath="";let Et=this.securityToken+"/";this.isUnprotected?Et="/":this.isCpanel?Et+="frontend/"+this.theme+"/":this.isWebmail?Et+="webmail/"+this.theme+"/":this.isOther&&(Et="/"),this.themePath=Et,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 pe(Q){return Q&&Q.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(ae){return this.themePath+ae}buildFullPath(ae){return this.protocol+"//"+this.domain+":"+this.port+this.buildPath(ae)}buildTokenPath(ae){return this.protocol+"//"+this.domain+":"+this.port+this.securityToken+ae}}class Se{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 Ze=x(4235),je=x.n(Ze),it=x(1305),It=x.n(it),Ye=(()=>{return(Q=Ye||(Ye={}))[Q.Error=0]="Error",Q[Q.Warning=1]="Warning",Q[Q.Information=2]="Information",Q[Q.Unknown=3]="Unknown",Ye;var Q})();const Tt={isPaged:!1,isFiltered:!1,record:0,page:0,pageSize:0,totalRecords:0,totalPages:0,recordsBeforeFilter:0,batch:!1,properties:{}};class Ge{constructor(ae){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={},ae.chunk&&(this.isPaged=!0,this.record=parseInt(ae.chunk.start,10)||0,this.page=parseInt(ae.chunk.current,10)||0,this.pageSize=parseInt(ae.chunk.size,10)||0,this.totalPages=parseInt(ae.chunk.chunks,10)||0,this.totalRecords=parseInt(ae.chunk.records,10)||0),ae.filter&&(this.isFiltered=!0,this.recordsBeforeFilter=parseInt(ae.filter.filtered,10)||0);const Te=new Set(["paginate","filter"]);Object.keys(ae).filter((qe=>!Te.has(qe))).forEach((qe=>{this.properties[qe]=ae[qe]}))}}class Me extends class ot{constructor(ae,Te){if(this.status=0,this.messages=[],this.meta=function Ct(Q){return JSON.parse(JSON.stringify(Q))}(Tt),this.options={keepUnprocessedResponse:!1},je()(ae)||It()(ae))throw new Error("The response was unexpectedly undefined or null");Te&&(this.options=Te),this.options.keepUnprocessedResponse&&(this.raw=JSON.parse(JSON.stringify(ae)))}get success(){return this.status>0}get failed(){return 0===this.status}_getMessages(ae){return this.messages.filter((Te=>Te.type===ae))}get errors(){return this._getMessages(Ye.Error)}get warnings(){return this._getMessages(Ye.Warning)}get infoMessages(){return this._getMessages(Ye.Information)}_hasMessages(ae){return this.messages.filter((Te=>Te.type===ae)).length>0}get hasErrors(){return this._hasMessages(Ye.Error)}get hasWarnings(){return this._hasMessages(Ye.Warning)}get hasInfoMessages(){return this._hasMessages(Ye.Information)}get isPaged(){return this.meta.isPaged}get isFiltered(){return this.meta.isFiltered}}{_parseStatus(ae){if(this.status=0,typeof ae.result>"u")throw new Error("The response should have a numeric status property indicating the API succeeded (>0) or failed (=0)");this.status=parseInt(ae.result,10)}_parseMessages(ae){if(!ae.result){const Te=[ae.reason];Te&&Te.length&&Te.forEach((qe=>{this.messages.push({type:Ye.Error,message:qe})}))}}_reduce_list_data(ae){if("object"==typeof ae&&!(ae instanceof Array)){const Te=Object.keys(ae);if(1===Te.length){const qe=ae[Te[0]];qe?qe instanceof Array&&(ae=qe):ae=[]}}return ae}constructor(ae,Te){if(super(ae,Te),!ae)throw new Error("Response object should be defined.");ae.metadata&&(this._parseStatus(ae.metadata),this._parseMessages(ae.metadata),this.meta=new Ge(ae.metadata)),this.data=this._reduce_list_data(ae.data)}}let Oe=(()=>{class Q{constructor(Te){this.http=Te}get(Te){const qe=Te.generate({verb:X.F.GET,encoder:new K.VN}),Et=this.packageUrl(qe);return this.http.get(Et,{headers:this.packageHeaders(qe)}).pipe((0,H.U)(this.packageResponseHandler(Et)))}post(Te){const qe=Te.generate(),Et=this.packageUrl(qe);return this.http.post(Et,qe.body,{headers:this.packageHeaders(qe)}).pipe((0,H.U)(this.packageResponseHandler(Et)))}packageHeaders(Te){const qe={};return Te.headers.forEach((Et=>{qe[Et.name]=Et.value})),new b.WM(qe)}packageUrl(Te){return new oe(new Se).buildTokenPath(Te.url)}packageResponseHandler(Te){return qe=>{const Et=new Me(qe);return Et.meta.properties.url=Te,Et}}}return Q.ɵfac=function(Te){return new(Te||Q)(a.LFG(b.eN))},Q.ɵprov=a.Yz7({token:Q,factory:Q.ɵfac,providedIn:"root"}),Q})()},348:(Ie,J,x)=>{"use strict";x.d(J,{m:()=>K});var a=x(1571),b=x(269);const H=new a.OlP("window"),X=me=>new b.g(me.CLDR,me.LEXICON);let K=(()=>{class me{}return me.ɵfac=function(pe){return new(pe||me)},me.ɵmod=a.oAB({type:me}),me.ɵinj=a.cJS({providers:[{provide:H,useValue:window},{provide:b.g,useFactory:X,deps:[H]}]}),me})()},3576:(Ie,J,x)=>{"use strict";x.d(J,{zr:()=>Aa,hF:()=>Dl,CQ:()=>eu,c9:()=>Go,k6:()=>Ar,RV:()=>to,Qt:()=>Ri,u3:()=>qr,gS:()=>Eo,t8:()=>Ka});var a=x(1571),b=x(6895),H=x(7579),X=x(9300),K=x(4482),me=x(5403),re=x(8421),pe=x(5032),Z=x(4408);const Se=new(x(640).v)(Z.o);var it=x(4671);function Ye(h,y){return h===y}var Tt=x(2076),Ct=x(9751),ot=x(4742),Ge=x(7669),Me=x(3268),Je=x(1810),Nt=x(4004);let vt=(()=>{class h{constructor(u,M){this._renderer=u,this._elementRef=M,this.onChange=ue=>{},this.onTouched=()=>{}}setProperty(u,M){this._renderer.setProperty(this._elementRef.nativeElement,u,M)}registerOnTouched(u){this.onTouched=u}registerOnChange(u){this.onChange=u}setDisabledState(u){this.setProperty("disabled",u)}}return h.ɵfac=function(u){return new(u||h)(a.Y36(a.Qsj),a.Y36(a.SBq))},h.ɵdir=a.lG2({type:h}),h})(),Ce=(()=>{class h extends vt{}return h.ɵfac=function(){let y;return function(M){return(y||(y=a.n5z(h)))(M||h)}}(),h.ɵdir=a.lG2({type:h,features:[a.qOj]}),h})();const Pe=new a.OlP("NgValueAccessor"),ae={provide:Pe,useExisting:(0,a.Gpc)((()=>Et)),multi:!0},qe=new a.OlP("CompositionEventMode");let Et=(()=>{class h extends vt{constructor(u,M,ue){super(u,M),this._compositionMode=ue,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function Te(){const h=(0,b.q)()?(0,b.q)().getUserAgent():"";return/android (\d+)/.test(h.toLowerCase())}())}writeValue(u){this.setProperty("value",u??"")}_handleInput(u){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(u)}_compositionStart(){this._composing=!0}_compositionEnd(u){this._composing=!1,this._compositionMode&&this.onChange(u)}}return h.ɵfac=function(u){return new(u||h)(a.Y36(a.Qsj),a.Y36(a.SBq),a.Y36(qe,8))},h.ɵdir=a.lG2({type:h,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(u,M){1&u&&a.NdJ("input",(function(Qe){return M._handleInput(Qe.target.value)}))("blur",(function(){return M.onTouched()}))("compositionstart",(function(){return M._compositionStart()}))("compositionend",(function(Qe){return M._compositionEnd(Qe.target.value)}))},features:[a._Bn([ae]),a.qOj]}),h})();const Tn=new a.OlP("NgValidators"),Cn=new a.OlP("NgAsyncValidators");function jr(h){return null!=h}function Qr(h){return(0,a.QGY)(h)?(0,Tt.D)(h):h}function _r(h){let y={};return h.forEach((u=>{y=null!=u?{...y,...u}:y})),0===Object.keys(y).length?null:y}function qt(h,y){return y.map((u=>u(h)))}function ri(h){return h.map((y=>function Yr(h){return!h.validate}(y)?y:u=>y.validate(u)))}function Ne(h){return null!=h?function de(h){if(!h)return null;const y=h.filter(jr);return 0==y.length?null:function(u){return _r(qt(u,y))}}(ri(h)):null}function Be(h){return null!=h?function Ae(h){if(!h)return null;const y=h.filter(jr);return 0==y.length?null:function(u){return function Jt(...h){const y=(0,Ge.jO)(h),{args:u,keys:M}=(0,ot.D)(h),ue=new Ct.y((Qe=>{const{length:Qt}=u;if(!Qt)return void Qe.complete();const An=new Array(Qt);let br=Qt,Ni=Qt;for(let Qi=0;Qi<Qt;Qi++){let Ys=!1;(0,re.Xf)(u[Qi]).subscribe(new me.Q(Qe,(As=>{Ys||(Ys=!0,Ni--),An[Qi]=As}),(()=>br--),void 0,(()=>{(!br||!Ys)&&(Ni||Qe.next(M?(0,Je.n)(M,An):An),Qe.complete())})))}}));return y?ue.pipe((0,Me.Z)(y)):ue}(qt(u,y).map(Qr)).pipe((0,Nt.U)(_r))}}(ri(h)):null}function fe(h,y){return null===h?[y]:Array.isArray(h)?[...h,y]:[h,y]}function Ee(h){return h?Array.isArray(h)?h:[h]:[]}function xe(h,y){return Array.isArray(h)?h.includes(y):h===y}function et(h,y){const u=Ee(y);return Ee(h).forEach((ue=>{xe(u,ue)||u.push(ue)})),u}function pt(h,y){return Ee(y).filter((u=>!xe(h,u)))}class $t{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(y){this._rawValidators=y||[],this._composedValidatorFn=Ne(this._rawValidators)}_setAsyncValidators(y){this._rawAsyncValidators=y||[],this._composedAsyncValidatorFn=Be(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(y){this._onDestroyCallbacks.push(y)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach((y=>y())),this._onDestroyCallbacks=[]}reset(y){this.control&&this.control.reset(y)}hasError(y,u){return!!this.control&&this.control.hasError(y,u)}getError(y,u){return this.control?this.control.getError(y,u):null}}class at extends $t{get formDirective(){return null}get path(){return null}}class Dt extends $t{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}let Pt=(()=>{class h extends class Yt{constructor(y){this._cd=y}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}{constructor(u){super(u)}}return h.ɵfac=function(u){return new(u||h)(a.Y36(Dt,2))},h.ɵdir=a.lG2({type:h,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(u,M){2&u&&a.ekj("ng-untouched",M.isUntouched)("ng-touched",M.isTouched)("ng-pristine",M.isPristine)("ng-dirty",M.isDirty)("ng-valid",M.isValid)("ng-invalid",M.isInvalid)("ng-pending",M.isPending)},features:[a.qOj]}),h})();const G="VALID",U="INVALID",te="PENDING",Re="DISABLED";function zt(h){return Array.isArray(h)?Ne(h):h||null}function wt(h){return Array.isArray(h)?Be(h):h||null}function Ue(h){return null!=h&&!Array.isArray(h)&&"object"==typeof h}function tr(h,y){(function $r(h,y){const u=function z(h){return h._rawValidators}(h);null!==y.validator?h.setValidators(fe(u,y.validator)):"function"==typeof u&&h.setValidators([u]);const M=function q(h){return h._rawAsyncValidators}(h);null!==y.asyncValidator?h.setAsyncValidators(fe(M,y.asyncValidator)):"function"==typeof M&&h.setAsyncValidators([M]);const ue=()=>h.updateValueAndValidity();yr(y._rawValidators,ue),yr(y._rawAsyncValidators,ue)})(h,y),y.valueAccessor.writeValue(h.value),h.disabled&&y.valueAccessor.setDisabledState?.(!0),function Pn(h,y){y.valueAccessor.registerOnChange((u=>{h._pendingValue=u,h._pendingChange=!0,h._pendingDirty=!0,"change"===h.updateOn&&ci(h,y)}))}(h,y),function di(h,y){const u=(M,ue)=>{y.valueAccessor.writeValue(M),ue&&y.viewToModelUpdate(M)};h.registerOnChange(u),y._registerOnDestroy((()=>{h._unregisterOnChange(u)}))}(h,y),function ui(h,y){y.valueAccessor.registerOnTouched((()=>{h._pendingTouched=!0,"blur"===h.updateOn&&h._pendingChange&&ci(h,y),"submit"!==h.updateOn&&h.markAsTouched()}))}(h,y),function Rr(h,y){if(y.valueAccessor.setDisabledState){const u=M=>{y.valueAccessor.setDisabledState(M)};h.registerOnDisabledChange(u),y._registerOnDestroy((()=>{h._unregisterOnDisabledChange(u)}))}}(h,y)}function yr(h,y){h.forEach((u=>{u.registerOnValidatorChange&&u.registerOnValidatorChange(y)}))}function ci(h,y){h._pendingDirty&&h.markAsDirty(),h.setValue(h._pendingValue,{emitModelToViewChange:!1}),y.viewToModelUpdate(h._pendingValue),h._pendingChange=!1}function Er(h,y){const u=h.indexOf(y);u>-1&&h.splice(u,1)}function zr(h){return"object"==typeof h&&null!==h&&2===Object.keys(h).length&&"value"in h&&"disabled"in h}const vs={provide:Dt,useExisting:(0,a.Gpc)((()=>Jo))},Lo=(()=>Promise.resolve())();let Jo=(()=>{class h extends Dt{constructor(u,M,ue,Qe,Qt){super(),this._changeDetectorRef=Qt,this.control=new class extends class Zt{constructor(y,u){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=y,this._rawAsyncValidators=u,this._composedValidatorFn=zt(this._rawValidators),this._composedAsyncValidatorFn=wt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(y){this._rawValidators=this._composedValidatorFn=y}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(y){this._rawAsyncValidators=this._composedAsyncValidatorFn=y}get parent(){return this._parent}get valid(){return this.status===G}get invalid(){return this.status===U}get pending(){return this.status==te}get disabled(){return this.status===Re}get enabled(){return this.status!==Re}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(y){this._rawValidators=y,this._composedValidatorFn=zt(y)}setAsyncValidators(y){this._rawAsyncValidators=y,this._composedAsyncValidatorFn=wt(y)}addValidators(y){this.setValidators(et(y,this._rawValidators))}addAsyncValidators(y){this.setAsyncValidators(et(y,this._rawAsyncValidators))}removeValidators(y){this.setValidators(pt(y,this._rawValidators))}removeAsyncValidators(y){this.setAsyncValidators(pt(y,this._rawAsyncValidators))}hasValidator(y){return xe(this._rawValidators,y)}hasAsyncValidator(y){return xe(this._rawAsyncValidators,y)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(y={}){this.touched=!0,this._parent&&!y.onlySelf&&this._parent.markAsTouched(y)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild((y=>y.markAllAsTouched()))}markAsUntouched(y={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild((u=>{u.markAsUntouched({onlySelf:!0})})),this._parent&&!y.onlySelf&&this._parent._updateTouched(y)}markAsDirty(y={}){this.pristine=!1,this._parent&&!y.onlySelf&&this._parent.markAsDirty(y)}markAsPristine(y={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild((u=>{u.markAsPristine({onlySelf:!0})})),this._parent&&!y.onlySelf&&this._parent._updatePristine(y)}markAsPending(y={}){this.status=te,!1!==y.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!y.onlySelf&&this._parent.markAsPending(y)}disable(y={}){const u=this._parentMarkedDirty(y.onlySelf);this.status=Re,this.errors=null,this._forEachChild((M=>{M.disable({...y,onlySelf:!0})})),this._updateValue(),!1!==y.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...y,skipPristineCheck:u}),this._onDisabledChange.forEach((M=>M(!0)))}enable(y={}){const u=this._parentMarkedDirty(y.onlySelf);this.status=G,this._forEachChild((M=>{M.enable({...y,onlySelf:!0})})),this.updateValueAndValidity({onlySelf:!0,emitEvent:y.emitEvent}),this._updateAncestors({...y,skipPristineCheck:u}),this._onDisabledChange.forEach((M=>M(!1)))}_updateAncestors(y){this._parent&&!y.onlySelf&&(this._parent.updateValueAndValidity(y),y.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(y){this._parent=y}getRawValue(){return this.value}updateValueAndValidity(y={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===G||this.status===te)&&this._runAsyncValidator(y.emitEvent)),!1!==y.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!y.onlySelf&&this._parent.updateValueAndValidity(y)}_updateTreeValidity(y={emitEvent:!0}){this._forEachChild((u=>u._updateTreeValidity(y))),this.updateValueAndValidity({onlySelf:!0,emitEvent:y.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Re:G}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(y){if(this.asyncValidator){this.status=te,this._hasOwnPendingAsyncValidator=!0;const u=Qr(this.asyncValidator(this));this._asyncValidationSubscription=u.subscribe((M=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(M,{emitEvent:y})}))}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(y,u={}){this.errors=y,this._updateControlsErrors(!1!==u.emitEvent)}get(y){let u=y;return null==u||(Array.isArray(u)||(u=u.split(".")),0===u.length)?null:u.reduce(((M,ue)=>M&&M._find(ue)),this)}getError(y,u){const M=u?this.get(u):this;return M&&M.errors?M.errors[y]:null}hasError(y,u){return!!this.getError(y,u)}get root(){let y=this;for(;y._parent;)y=y._parent;return y}_updateControlsErrors(y){this.status=this._calculateStatus(),y&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(y)}_initObservables(){this.valueChanges=new a.vpe,this.statusChanges=new a.vpe}_calculateStatus(){return this._allControlsDisabled()?Re:this.errors?U:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(te)?te:this._anyControlsHaveStatus(U)?U:G}_anyControlsHaveStatus(y){return this._anyControls((u=>u.status===y))}_anyControlsDirty(){return this._anyControls((y=>y.dirty))}_anyControlsTouched(){return this._anyControls((y=>y.touched))}_updatePristine(y={}){this.pristine=!this._anyControlsDirty(),this._parent&&!y.onlySelf&&this._parent._updatePristine(y)}_updateTouched(y={}){this.touched=this._anyControlsTouched(),this._parent&&!y.onlySelf&&this._parent._updateTouched(y)}_registerOnCollectionChange(y){this._onCollectionChange=y}_setUpdateStrategy(y){Ue(y)&&null!=y.updateOn&&(this._updateOn=y.updateOn)}_parentMarkedDirty(y){return!y&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(y){return null}}{constructor(y=null,u,M){super(function nt(h){return(Ue(h)?h.validators:h)||null}(u),function tt(h,y){return(Ue(y)?y.asyncValidators:h)||null}(M,u)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(y),this._setUpdateStrategy(u),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Ue(u)&&(u.nonNullable||u.initialValueIsDefault)&&(this.defaultValue=zr(y)?y.value:y)}setValue(y,u={}){this.value=this._pendingValue=y,this._onChange.length&&!1!==u.emitModelToViewChange&&this._onChange.forEach((M=>M(this.value,!1!==u.emitViewToModelChange))),this.updateValueAndValidity(u)}patchValue(y,u={}){this.setValue(y,u)}reset(y=this.defaultValue,u={}){this._applyFormState(y),this.markAsPristine(u),this.markAsUntouched(u),this.setValue(this.value,u),this._pendingChange=!1}_updateValue(){}_anyControls(y){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(y){this._onChange.push(y)}_unregisterOnChange(y){Er(this._onChange,y)}registerOnDisabledChange(y){this._onDisabledChange.push(y)}_unregisterOnDisabledChange(y){Er(this._onDisabledChange,y)}_forEachChild(y){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(y){zr(y)?(this.value=this._pendingValue=y.value,y.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=y}},this._registered=!1,this.update=new a.vpe,this._parent=u,this._setValidators(M),this._setAsyncValidators(ue),this.valueAccessor=function We(h,y){if(!y)return null;let u,M,ue;return Array.isArray(y),y.forEach((Qe=>{Qe.constructor===Et?u=Qe:function ie(h){return Object.getPrototypeOf(h.constructor)===Ce}(Qe)?M=Qe:ue=Qe})),ue||M||u||null}(0,Qe)}ngOnChanges(u){if(this._checkForErrors(),!this._registered||"name"in u){if(this._registered&&(this._checkName(),this.formDirective)){const M=u.name.previousValue;this.formDirective.removeControl({name:M,path:this._getPath(M)})}this._setUpControl()}"isDisabled"in u&&this._updateDisabled(u),function V(h,y){if(!h.hasOwnProperty("model"))return!1;const u=h.model;return!!u.isFirstChange()||!Object.is(y,u.currentValue)}(u,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(u){this.viewModel=u,this.update.emit(u)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){tr(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(u){Lo.then((()=>{this.control.setValue(u,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()}))}_updateDisabled(u){const M=u.isDisabled.currentValue,ue=0!==M&&(0,a.D6c)(M);Lo.then((()=>{ue&&!this.control.disabled?this.control.disable():!ue&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()}))}_getPath(u){return this._parent?function Sn(h,y){return[...y.path,h]}(u,this._parent):[u]}}return h.ɵfac=function(u){return new(u||h)(a.Y36(at,9),a.Y36(Tn,10),a.Y36(Cn,10),a.Y36(Pe,10),a.Y36(a.sBO,8))},h.ɵdir=a.lG2({type:h,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[a._Bn([vs]),a.qOj,a.TTD]}),h})(),Zn=(()=>{class h{}return h.ɵfac=function(u){return new(u||h)},h.ɵmod=a.oAB({type:h}),h.ɵinj=a.cJS({}),h})(),Co=(()=>{class h{}return h.ɵfac=function(u){return new(u||h)},h.ɵmod=a.oAB({type:h}),h.ɵinj=a.cJS({imports:[Zn]}),h})(),Oi=(()=>{class h{}return h.ɵfac=function(u){return new(u||h)},h.ɵmod=a.oAB({type:h}),h.ɵinj=a.cJS({imports:[Co]}),h})();var ei=x(348),eo=x(269),R=x(7340),p=x(8746);const _=function(h,y){return{"pull-left":h,"float-left":y}},T=function(h,y){return{"pull-right":h,"float-right":y}},k=function(h,y){return{disabled:h,currentPage:y}};function W(h,y){if(1&h){const u=a.EpF();a.TgZ(0,"li",11)(1,"a",12),a.NdJ("click",(function(ue){a.CHM(u);const Qe=a.oxw();return a.KtG(Qe.selectPage(1,ue))})),a.GkF(2,13),a.qZA()()}if(2&h){const u=a.oxw(),M=a.MAs(13);a.ekj("disabled",u.noPrevious()||u.disabled),a.xp6(2),a.Q6J("ngTemplateOutlet",u.customFirstTemplate||M)("ngTemplateOutletContext",a.WLB(4,k,u.noPrevious()||u.disabled,u.page))}}function _e(h,y){if(1&h){const u=a.EpF();a.TgZ(0,"li",14)(1,"a",12),a.NdJ("click",(function(ue){a.CHM(u);const Qe=a.oxw();return a.KtG(Qe.selectPage(Qe.page-1,ue))})),a.GkF(2,13),a.qZA()()}if(2&h){const u=a.oxw(),M=a.MAs(11);a.ekj("disabled",u.noPrevious()||u.disabled),a.xp6(2),a.Q6J("ngTemplateOutlet",u.customPreviousTemplate||M)("ngTemplateOutletContext",a.WLB(4,k,u.noPrevious()||u.disabled,u.page))}}const ye=function(h,y,u){return{disabled:h,$implicit:y,currentPage:u}};function ke(h,y){if(1&h){const u=a.EpF();a.TgZ(0,"li",15)(1,"a",12),a.NdJ("click",(function(ue){const Qt=a.CHM(u).$implicit,An=a.oxw();return a.KtG(An.selectPage(Qt.number,ue))})),a.GkF(2,13),a.qZA()()}if(2&h){const u=y.$implicit,M=a.oxw(),ue=a.MAs(7);a.ekj("active",u.active)("disabled",M.disabled&&!u.active),a.xp6(2),a.Q6J("ngTemplateOutlet",M.customPageTemplate||ue)("ngTemplateOutletContext",a.kEZ(6,ye,M.disabled,u,M.page))}}function Xe(h,y){if(1&h){const u=a.EpF();a.TgZ(0,"li",16)(1,"a",12),a.NdJ("click",(function(ue){a.CHM(u);const Qe=a.oxw();return a.KtG(Qe.selectPage(Qe.page+1,ue))})),a.GkF(2,13),a.qZA()()}if(2&h){const u=a.oxw(),M=a.MAs(9);a.ekj("disabled",u.noNext()||u.disabled),a.xp6(2),a.Q6J("ngTemplateOutlet",u.customNextTemplate||M)("ngTemplateOutletContext",a.WLB(4,k,u.noNext()||u.disabled,u.page))}}function Ft(h,y){if(1&h){const u=a.EpF();a.TgZ(0,"li",17)(1,"a",12),a.NdJ("click",(function(ue){a.CHM(u);const Qe=a.oxw();return a.KtG(Qe.selectPage(Qe.totalPages,ue))})),a.GkF(2,13),a.qZA()()}if(2&h){const u=a.oxw(),M=a.MAs(15);a.ekj("disabled",u.noNext()||u.disabled),a.xp6(2),a.Q6J("ngTemplateOutlet",u.customLastTemplate||M)("ngTemplateOutletContext",a.WLB(4,k,u.noNext()||u.disabled,u.page))}}function jt(h,y){1&h&&a._uU(0),2&h&&a.Oqu(y.$implicit.text)}function Ln(h,y){if(1&h&&a._uU(0),2&h){const u=a.oxw();a.Oqu(u.getText("next"))}}function On(h,y){if(1&h&&a._uU(0),2&h){const u=a.oxw();a.Oqu(u.getText("previous"))}}function yn(h,y){if(1&h&&a._uU(0),2&h){const u=a.oxw();a.Oqu(u.getText("first"))}}function tn(h,y){if(1&h&&a._uU(0),2&h){const u=a.oxw();a.Oqu(u.getText("last"))}}let $n=(()=>{class h{constructor(){this.main={itemsPerPage:10,boundaryLinks:!1,directionLinks:!0,firstText:"First",previousText:"Previous",nextText:"Next",lastText:"Last",pageBtnClass:"",rotate:!0},this.pager={itemsPerPage:15,previousText:"« Previous",nextText:"Next »",pageBtnClass:"",align:!0}}}return h.ɵfac=function(u){return new(u||h)},h.ɵprov=a.Yz7({token:h,factory:h.ɵfac,providedIn:"root"}),h})();const ge={provide:Pe,useExisting:(0,a.Gpc)((()=>ze)),multi:!0};let ze=(()=>{class h{constructor(u,M,ue){this.elementRef=u,this.changeDetection=ue,this.align=!1,this.boundaryLinks=!1,this.directionLinks=!0,this.firstText="First",this.previousText="« Previous",this.nextText="Next »",this.lastText="Last",this.rotate=!0,this.pageBtnClass="",this.disabled=!1,this.numPages=new a.vpe,this.pageChanged=new a.vpe,this.onChange=Function.prototype,this.onTouched=Function.prototype,this.classMap="",this.inited=!1,this._itemsPerPage=15,this._totalItems=0,this._totalPages=0,this._page=1,this.elementRef=u,this.config||this.configureOptions(Object.assign({},M.main,M.pager))}get itemsPerPage(){return this._itemsPerPage}set itemsPerPage(u){this._itemsPerPage=u,this.totalPages=this.calculateTotalPages()}get totalItems(){return this._totalItems}set totalItems(u){this._totalItems=u,this.totalPages=this.calculateTotalPages()}get totalPages(){return this._totalPages}set totalPages(u){this._totalPages=u,this.numPages.emit(u),this.inited&&this.selectPage(this.page)}get page(){return this._page}set page(u){const M=this._page;this._page=u>this.totalPages?this.totalPages:u||1,this.changeDetection.markForCheck(),!(M===this._page||typeof M>"u")&&this.pageChanged.emit({page:this._page,itemsPerPage:this.itemsPerPage})}configureOptions(u){this.config=Object.assign({},u)}ngOnInit(){typeof window<"u"&&(this.classMap=this.elementRef.nativeElement.getAttribute("class")||""),typeof this.maxSize>"u"&&(this.maxSize=this.config?.maxSize||0),typeof this.rotate>"u"&&(this.rotate=!!this.config?.rotate),typeof this.boundaryLinks>"u"&&(this.boundaryLinks=!!this.config?.boundaryLinks),typeof this.directionLinks>"u"&&(this.directionLinks=!!this.config?.directionLinks),typeof this.pageBtnClass>"u"&&(this.pageBtnClass=this.config?.pageBtnClass||""),typeof this.itemsPerPage>"u"&&(this.itemsPerPage=this.config?.itemsPerPage||0),this.totalPages=this.calculateTotalPages(),this.pages=this.getPages(this.page,this.totalPages),this.inited=!0}writeValue(u){this.page=u,this.pages=this.getPages(this.page,this.totalPages)}getText(u){return this[`${u}Text`]||this.config[`${u}Text`]}noPrevious(){return 1===this.page}noNext(){return this.page===this.totalPages}registerOnChange(u){this.onChange=u}registerOnTouched(u){this.onTouched=u}selectPage(u,M){M&&M.preventDefault(),this.disabled||(M&&M.target&&M.target.blur(),this.writeValue(u),this.onChange(this.page))}makePage(u,M,ue){return{text:M,number:u,active:ue}}getPages(u,M){const ue=[];let Qe=1,Qt=M;const An=typeof this.maxSize<"u"&&this.maxSize<M;An&&this.maxSize&&(this.rotate?(Qe=Math.max(u-Math.floor(this.maxSize/2),1),Qt=Qe+this.maxSize-1,Qt>M&&(Qt=M,Qe=Qt-this.maxSize+1)):(Qe=(Math.ceil(u/this.maxSize)-1)*this.maxSize+1,Qt=Math.min(Qe+this.maxSize-1,M)));for(let br=Qe;br<=Qt;br++){const Ni=this.makePage(br,br.toString(),br===u);ue.push(Ni)}if(An&&!this.rotate){if(Qe>1){const br=this.makePage(Qe-1,"...",!1);ue.unshift(br)}if(Qt<M){const br=this.makePage(Qt+1,"...",!1);ue.push(br)}}return ue}calculateTotalPages(){const u=this.itemsPerPage<1?1:Math.ceil(this.totalItems/this.itemsPerPage);return Math.max(u||0,1)}}return h.ɵfac=function(u){return new(u||h)(a.Y36(a.SBq),a.Y36($n),a.Y36(a.sBO))},h.ɵcmp=a.Xpm({type:h,selectors:[["pager"]],inputs:{align:"align",maxSize:"maxSize",boundaryLinks:"boundaryLinks",directionLinks:"directionLinks",firstText:"firstText",previousText:"previousText",nextText:"nextText",lastText:"lastText",rotate:"rotate",pageBtnClass:"pageBtnClass",disabled:"disabled",itemsPerPage:"itemsPerPage",totalItems:"totalItems"},outputs:{numPages:"numPages",pageChanged:"pageChanged"},features:[a._Bn([ge])],decls:7,vars:24,consts:[[1,"pager"],[3,"ngClass"],["href","",3,"click"]],template:function(u,M){1&u&&(a.TgZ(0,"ul",0)(1,"li",1)(2,"a",2),a.NdJ("click",(function(Qe){return M.selectPage(M.page-1,Qe)})),a._uU(3),a.qZA()(),a.TgZ(4,"li",1)(5,"a",2),a.NdJ("click",(function(Qe){return M.selectPage(M.page+1,Qe)})),a._uU(6),a.qZA()()()),2&u&&(a.xp6(1),a.Tol(M.pageBtnClass),a.ekj("disabled",M.noPrevious())("previous",M.align),a.Q6J("ngClass",a.WLB(18,_,M.align,M.align)),a.xp6(2),a.Oqu(M.getText("previous")),a.xp6(1),a.Tol(M.pageBtnClass),a.ekj("disabled",M.noNext())("next",M.align),a.Q6J("ngClass",a.WLB(21,T,M.align,M.align)),a.xp6(2),a.Oqu(M.getText("next")))},dependencies:[b.mk],encapsulation:2}),h})();const He={provide:Pe,useExisting:(0,a.Gpc)((()=>Ot)),multi:!0};let Ot=(()=>{class h{constructor(u,M,ue){this.elementRef=u,this.changeDetection=ue,this.align=!0,this.boundaryLinks=!1,this.directionLinks=!0,this.rotate=!0,this.pageBtnClass="",this.disabled=!1,this.numPages=new a.vpe,this.pageChanged=new a.vpe,this.onChange=Function.prototype,this.onTouched=Function.prototype,this.classMap="",this.inited=!1,this._itemsPerPage=10,this._totalItems=0,this._totalPages=0,this._page=1,this.elementRef=u,this.config||this.configureOptions(M.main)}get itemsPerPage(){return this._itemsPerPage}set itemsPerPage(u){this._itemsPerPage=u,this.totalPages=this.calculateTotalPages()}get totalItems(){return this._totalItems}set totalItems(u){this._totalItems=u,this.totalPages=this.calculateTotalPages()}get totalPages(){return this._totalPages}set totalPages(u){this._totalPages=u,this.numPages.emit(u),this.inited&&this.selectPage(this.page)}get page(){return this._page}set page(u){const M=this._page;this._page=u>this.totalPages?this.totalPages:u||1,this.changeDetection.markForCheck(),!(M===this._page||typeof M>"u")&&this.pageChanged.emit({page:this._page,itemsPerPage:this.itemsPerPage})}configureOptions(u){this.config=Object.assign({},u)}ngOnInit(){typeof window<"u"&&(this.classMap=this.elementRef.nativeElement.getAttribute("class")||""),typeof this.maxSize>"u"&&(this.maxSize=this.config?.maxSize||0),typeof this.rotate>"u"&&(this.rotate=!!this.config?.rotate),typeof this.boundaryLinks>"u"&&(this.boundaryLinks=!!this.config?.boundaryLinks),typeof this.directionLinks>"u"&&(this.directionLinks=!!this.config?.directionLinks),typeof this.pageBtnClass>"u"&&(this.pageBtnClass=this.config?.pageBtnClass||""),typeof this.itemsPerPage>"u"&&(this.itemsPerPage=this.config?.itemsPerPage||0),this.totalPages=this.calculateTotalPages(),this.pages=this.getPages(this.page,this.totalPages),this.inited=!0}writeValue(u){this.page=u,this.pages=this.getPages(this.page,this.totalPages)}getText(u){return this[`${u}Text`]||this.config[`${u}Text`]}noPrevious(){return 1===this.page}noNext(){return this.page===this.totalPages}registerOnChange(u){this.onChange=u}registerOnTouched(u){this.onTouched=u}selectPage(u,M){M&&M.preventDefault(),this.disabled||(M&&M.target&&M.target.blur(),this.writeValue(u),this.onChange(this.page))}makePage(u,M,ue){return{text:M,number:u,active:ue}}getPages(u,M){const ue=[];let Qe=1,Qt=M;const An=typeof this.maxSize<"u"&&this.maxSize<M;An&&this.maxSize&&(this.rotate?(Qe=Math.max(u-Math.floor(this.maxSize/2),1),Qt=Qe+this.maxSize-1,Qt>M&&(Qt=M,Qe=Qt-this.maxSize+1)):(Qe=(Math.ceil(u/this.maxSize)-1)*this.maxSize+1,Qt=Math.min(Qe+this.maxSize-1,M)));for(let br=Qe;br<=Qt;br++){const Ni=this.makePage(br,br.toString(),br===u);ue.push(Ni)}if(An&&!this.rotate){if(Qe>1){const br=this.makePage(Qe-1,"...",!1);ue.unshift(br)}if(Qt<M){const br=this.makePage(Qt+1,"...",!1);ue.push(br)}}return ue}calculateTotalPages(){const u=this.itemsPerPage<1?1:Math.ceil(this.totalItems/this.itemsPerPage);return Math.max(u||0,1)}}return h.ɵfac=function(u){return new(u||h)(a.Y36(a.SBq),a.Y36($n),a.Y36(a.sBO))},h.ɵcmp=a.Xpm({type:h,selectors:[["pagination"]],inputs:{align:"align",maxSize:"maxSize",boundaryLinks:"boundaryLinks",directionLinks:"directionLinks",firstText:"firstText",previousText:"previousText",nextText:"nextText",lastText:"lastText",rotate:"rotate",pageBtnClass:"pageBtnClass",disabled:"disabled",customPageTemplate:"customPageTemplate",customNextTemplate:"customNextTemplate",customPreviousTemplate:"customPreviousTemplate",customFirstTemplate:"customFirstTemplate",customLastTemplate:"customLastTemplate",itemsPerPage:"itemsPerPage",totalItems:"totalItems"},outputs:{numPages:"numPages",pageChanged:"pageChanged"},features:[a._Bn([He])],decls:16,vars:6,consts:[[1,"pagination",3,"ngClass"],["class","pagination-first page-item",3,"disabled",4,"ngIf"],["class","pagination-prev page-item",3,"disabled",4,"ngIf"],["class","pagination-page page-item",3,"active","disabled",4,"ngFor","ngForOf"],["class","pagination-next page-item",3,"disabled",4,"ngIf"],["class","pagination-last page-item",3,"disabled",4,"ngIf"],["defaultPageTemplate",""],["defaultNextTemplate",""],["defaultPreviousTemplate",""],["defaultFirstTemplate",""],["defaultLastTemplate",""],[1,"pagination-first","page-item"],["href","",1,"page-link",3,"click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"pagination-prev","page-item"],[1,"pagination-page","page-item"],[1,"pagination-next","page-item"],[1,"pagination-last","page-item"]],template:function(u,M){1&u&&(a.TgZ(0,"ul",0),a.YNc(1,W,3,7,"li",1),a.YNc(2,_e,3,7,"li",2),a.YNc(3,ke,3,10,"li",3),a.YNc(4,Xe,3,7,"li",4),a.YNc(5,Ft,3,7,"li",5),a.qZA(),a.YNc(6,jt,1,1,"ng-template",null,6,a.W1O),a.YNc(8,Ln,1,1,"ng-template",null,7,a.W1O),a.YNc(10,On,1,1,"ng-template",null,8,a.W1O),a.YNc(12,yn,1,1,"ng-template",null,9,a.W1O),a.YNc(14,tn,1,1,"ng-template",null,10,a.W1O)),2&u&&(a.Q6J("ngClass",M.classMap),a.xp6(1),a.Q6J("ngIf",M.boundaryLinks),a.xp6(1),a.Q6J("ngIf",M.directionLinks),a.xp6(1),a.Q6J("ngForOf",M.pages),a.xp6(1),a.Q6J("ngIf",M.directionLinks),a.xp6(1),a.Q6J("ngIf",M.boundaryLinks))},dependencies:[b.mk,b.sg,b.O5,b.tP],encapsulation:2}),h})(),hn=(()=>{class h{static forRoot(){return{ngModule:h,providers:[]}}}return h.ɵfac=function(u){return new(u||h)},h.ɵmod=a.oAB({type:h}),h.ɵinj=a.cJS({imports:[b.ez]}),h})();function Bn(h,y){if(1&h){const u=a.EpF();a.TgZ(0,"button",9),a.NdJ("click",(function(){a.CHM(u);const ue=a.oxw(2);return a.KtG(ue.fireClose())})),a.TgZ(1,"span"),a._uU(2,"×"),a.qZA()()}if(2&h){const u=a.oxw(2);a.Q6J("id",u.closeButtonID)("title",u.closeLabel),a.uIk("aria-label",u.closeLabel),a.xp6(1),a.uIk("aria-hidden",!0)}}function Qn(h,y){if(1&h){const u=a.EpF();a.TgZ(0,"button",10),a.NdJ("click",(function(){a.CHM(u);const ue=a.oxw(2);return a.KtG(ue.fireToggleMore())})),a._uU(1),a.qZA()}if(2&h){const u=a.oxw(2);a.Q6J("id",u.moreButtonID),a.xp6(1),a.hij(" ",u.moreLabel," ")}}function ln(h,y){if(1&h&&(a.TgZ(0,"strong",11),a._uU(1),a.qZA()),2&h){const u=a.oxw(2);a.xp6(1),a.Oqu(u.label)}}function ar(h,y){if(1&h&&(a.TgZ(0,"span",12),a._uU(1),a.qZA()),2&h){const u=a.oxw(2);a.Q6J("id",u.textMessageID),a.xp6(1),a.hij(" ",u.message," ")}}function Un(h,y){if(1&h&&(a.TgZ(0,"li")(1,"span",12),a._uU(2),a.qZA()()),2&h){const u=y.$implicit,M=y.index,ue=a.oxw(3);a.xp6(1),a.s9C("id",ue.textListID+"_"+M),a.xp6(1),a.hij(" ",u," ")}}function Cr(h,y){if(1&h&&(a.TgZ(0,"ul",13),a.YNc(1,Un,3,2,"li",14),a.qZA()),2&h){const u=a.oxw(2);a.xp6(1),a.Q6J("ngForOf",u.alert.list)}}function Ai(h,y){if(1&h&&(a.TgZ(0,"div",1),a.YNc(1,Bn,3,4,"button",2),a.YNc(2,Qn,2,2,"button",3),a._UZ(3,"span"),a.TgZ(4,"div",4),a.YNc(5,ln,2,1,"strong",5),a.TgZ(6,"span",6),a.YNc(7,ar,2,2,"span",7),a.qZA(),a.YNc(8,Cr,2,1,"ul",8),a.qZA()()),2&h){const u=a.oxw();a.Gre("alert alert-",u.type," ng-hide"),a.Q6J("@openClose",u.animationClass),a.xp6(1),a.Q6J("ngIf",u.showCloseButton),a.xp6(1),a.Q6J("ngIf",u.showMoreButton),a.xp6(1),a.Tol(u.icon),a.uIk("aria-hidden",!0),a.xp6(2),a.Q6J("ngIf",u.hasLabel),a.xp6(2),a.Q6J("ngIf",u.message),a.xp6(1),a.Q6J("ngIf",u.alert&&u.alert.list&&u.alert.list.length)}}function hi(h,y){if(1&h){const u=a.EpF();a.TgZ(0,"div",6)(1,"cp-alert",7),a.NdJ("close",(function(){const Qe=a.CHM(u).$implicit,Qt=a.oxw();return a.KtG(Qt.alertClosed(Qe))})),a.qZA()()}if(2&h){const u=y.$implicit;a.xp6(1),a.Q6J("alert",u)}}function Hi(h,y){if(1&h&&a._UZ(0,"div",8),2&h){const u=a.oxw();a.Q6J("ngClass",u.positionClasses)}}const oi=["searchInput"];function rs(h,y){if(1&h&&(a.TgZ(0,"span",6),a._uU(1),a.qZA()),2&h){const u=a.oxw();a.xp6(1),a.Oqu(u.clearIconLabel)}}function aa(h,y){if(1&h){const u=a.EpF();a.TgZ(0,"button",3),a.NdJ("click",(function(){const Qe=a.CHM(u).$implicit,Qt=a.oxw();return a.KtG(Qt.onOptionClicked(Qe))})),a.qZA()}if(2&h){const u=y.$implicit,M=a.oxw();a.Q6J("disabled",M.disabled)("selected",M.isOptionSelected(u))("value",u)}}function Os(h,y){1&h&&a._uU(0," >\n")}function zo(h,y){1&h&&a._uU(0," <\n")}function Ta(h,y){1&h&&a._uU(0," >>\n")}function hs(h,y){1&h&&a._uU(0," <<\n")}class Ii{constructor(y,u,M=Ii.defaultOptions){this._message=y,this._type=u;const ue=M.id?M.id:Math.random().toString(36).substr(2,9);this._id=ue,this._closable=M.isCloseable??!0,this._autoClosePeriod=M.autoClosePeriod,this._list=M.list,this._showMore=M.showMore||Ii.defaultShowMore,this._ts=M.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(y){const{message:u,type:M,...ue}=y;return new Ii(u,M,ue)}}Ii.defaultShowMore=!1,Ii.defaultAutoClosePeriod=0,Ii.defaultOptions={autoClosePeriod:Ii.defaultAutoClosePeriod,list:[]};var cr=(()=>{return(h=cr||(cr={}))[h.error=0]="error",h[h.success=1]="success",h[h.warning=2]="warning",h[h.information=3]="information",cr;var h})(),Sr=(()=>{return(h=Sr||(Sr={})).add="add",h.remove="remove",h.clear="clear",Sr;var h})();let Go=(()=>{class h{constructor(){this._alertEventsSource=new H.x,this._alerts={},this.alertEvents=this._alertEventsSource.asObservable()}add(u,M=h.defaultGroup){this._alerts[M]||(this._alerts[M]=[]);const ue=u instanceof Ii?u:Ii.makeAlert(u);if(this.list(M).push(ue),this._alertEventsSource.next({type:Sr.add,group:M,alert:ue}),(0,a.X6Q)())switch(ue.type){case cr.error:console.error(ue.message,ue);break;case cr.warning:console.warn(ue.message,ue);break;default:console.log(ue.message,ue)}return ue}success(u,M=h.defaultGroup){return this.add(new Ii(u,cr.success,h.defaultSuccessOptions),M)}error(u,M=h.defaultGroup){return this.add({message:u,type:cr.error},M)}info(u,M=h.defaultGroup){return this.add({message:u,type:cr.information},M)}warn(u,M=h.defaultGroup){return this.add({message:u,type:cr.warning},M)}removeById(u,M=h.defaultGroup){const ue=this.list(M),Qe=ue.findIndex((Qt=>Qt.id===u),0);if(-1!==Qe){const Qt=ue[Qe];ue.splice(Qe,1),this._alertEventsSource.next({type:Sr.remove,group:M,alert:Qt})}}clear(u=h.defaultGroup){this._alerts[u]=[],this._alertEventsSource.next({type:Sr.clear,group:u})}list(u=h.defaultGroup){return null==this._alerts[u]&&(this._alerts[u]=[]),this._alerts[u]}}return h.defaultGroup="__DEFAULT__",h.defaultSuccessOptions={autoClosePeriod:1e4},h.ɵfac=function(u){return new(u||h)},h.ɵprov=a.Yz7({token:h,factory:h.ɵfac,providedIn:"root"}),h})();var ho=(()=>{return(h=ho||(ho={})).inline="inline",h.topLeft="top-left",h.topMiddle="top-middle",h.topRight="top-right",h.bottomLeft="bottom-left",h.bottomMiddle="bottom-middle",h.bottomRight="bottom-right",h.middleLeft="middle-left",h.middleMiddle="middle-middle",h.middleRight="middle-right",ho;var h})();const Oa=ho.topRight,xs=ho.topLeft;let Aa=(()=>{class h{}return h.ɵfac=function(u){return new(u||h)},h.ɵmod=a.oAB({type:h}),h.ɵinj=a.cJS({imports:[b.ez]}),h})();var gi=(()=>{return(h=gi||(gi={})).new="new",h.closed="closed",h.open="open",gi;var h})();let Ws=(()=>{class h{constructor(u){this.locale=u,this.close=new a.vpe,this.toggleMore=new a.vpe,this.animationClass=gi.new}get icon(){switch(this.alert.type){case cr.error:return"type-icon fas fa-times-circle";case cr.warning:return"type-icon fas fa-exclamation-triangle";case cr.information:return"type-icon fas fa-info-circle";case cr.success:return"type-icon fas fa-check-circle"}}get type(){switch(this.alert.type){case cr.error:return"danger";case cr.warning:return"warning";case cr.information:return"info";case cr.success:return"success"}}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}get willAutoClose(){return this.autoClosePeriod>0}get autoClosePeriod(){return this.alert.autoClosePeriod}get isClosed(){return this._closed}ngOnInit(){if(this._showMore=!1,this._closed=!1,this.moreButtonID=this._buildID("btnMore",this.type,this.alert.id),this.closeButtonID=this._buildID("btnClose",this.type,this.alert.id),this.textMessageID=this._buildID("txtMessage",this.type,this.alert.id),this.textListID=this._buildID("txtList",this.type,this.alert.id),!this.label)switch(this.alert.type){case cr.success:this.label=this.locale.maketext("Success:");break;case cr.error:this.label=this.locale.maketext("Error:");break;case cr.information:this.label=this.locale.maketext("Information:");break;case cr.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=gi.open}),.25)}ngAfterViewInit(){this.willAutoClose&&this.startTimer()}fireToggleMore(){this._showMore=!this._showMore,this.toggleMore.emit({alert:this.alert,showMore:this._showMore,component:this})}fireClose(){this._timeout&&this.clearTimer(),this.animationClass=gi.closed,setTimeout((()=>{this.close.emit({alert:this.alert,component:this}),this._closed=!0}),250)}fireTimeout(){this.fireClose(),this.clearTimer()}startTimer(){this._timeout=setTimeout((()=>this.fireTimeout()),this.autoClosePeriod)}clearTimer(){this._timeout&&(clearTimeout(this._timeout),this._timeout=null)}_buildID(...u){return u.join("_")}}return h.ɵfac=function(u){return new(u||h)(a.Y36(eo.g))},h.ɵcmp=a.Xpm({type:h,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,M){1&u&&a.YNc(0,Ai,9,13,"div",0),2&u&&a.Q6J("ngIf",!M.isClosed)},dependencies:[b.sg,b.O5],styles:['.alert-danger[_ngcontent-%COMP%]{background-color:#f2dede;border:1px solid #d03f00}html[dir="ltr"][_nghost-%COMP%]   .alert-danger[_ngcontent-%COMP%], html[dir="ltr"]   [_nghost-%COMP%]   .alert-danger[_ngcontent-%COMP%]{box-shadow:inset 41px 0 #d03f00}html[dir="rtl"][_nghost-%COMP%]   .alert-danger[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .alert-danger[_ngcontent-%COMP%]{box-shadow:inset -41px 0 #d03f00}.alert-success[_ngcontent-%COMP%]{background-color:#dff2d5;border:1px solid #83b655}html[dir="ltr"][_nghost-%COMP%]   .alert-success[_ngcontent-%COMP%], html[dir="ltr"]   [_nghost-%COMP%]   .alert-success[_ngcontent-%COMP%]{box-shadow:inset 41px 0 #83b655}html[dir="rtl"][_nghost-%COMP%]   .alert-success[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .alert-success[_ngcontent-%COMP%]{box-shadow:inset -41px 0 #83b655}.alert-warning[_ngcontent-%COMP%]{background-color:#fcf8e1;border:1px solid #f6c342}html[dir="ltr"][_nghost-%COMP%]   .alert-warning[_ngcontent-%COMP%], html[dir="ltr"]   [_nghost-%COMP%]   .alert-warning[_ngcontent-%COMP%]{box-shadow:inset 41px 0 #f6c342}html[dir="rtl"][_nghost-%COMP%]   .alert-warning[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .alert-warning[_ngcontent-%COMP%]{box-shadow:inset -41px 0 #f6c342}.alert-info[_ngcontent-%COMP%]{background-color:#d7edf9;border:1px solid #179bd7}html[dir="ltr"][_nghost-%COMP%]   .alert-info[_ngcontent-%COMP%], html[dir="ltr"]   [_nghost-%COMP%]   .alert-info[_ngcontent-%COMP%]{box-shadow:inset 41px 0 #179bd7}html[dir="rtl"][_nghost-%COMP%]   .alert-info[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .alert-info[_ngcontent-%COMP%]{box-shadow:inset -41px 0 #179bd7}.alert[_ngcontent-%COMP%]{position:relative;border-radius:2px;padding:10px 30px 10px 50px}html[dir="rtl"][_nghost-%COMP%]   .alert[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .alert[_ngcontent-%COMP%]{padding:10px 50px 10px 30px}.alert-message[_ngcontent-%COMP%]{color:#333;overflow-wrap:break-word;word-wrap:break-word;word-break:break-word}.alert-message[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{text-decoration:underline}.alert[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]{top:-2px;position:relative;right:-21px}html[dir="rtl"][_nghost-%COMP%]   .alert[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .alert[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]{left:-21px;right:auto}.alert[_ngcontent-%COMP%]   .type-icon[_ngcontent-%COMP%]{color:#f2dede;left:10px;position:absolute;-webkit-text-size-adjust:100%;text-size-adjust:100%;font-size:20px;line-height:20px;top:9px}html[dir="rtl"][_nghost-%COMP%]   .alert[_ngcontent-%COMP%]   .type-icon[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .alert[_ngcontent-%COMP%]   .type-icon[_ngcontent-%COMP%]{left:auto;right:10px}.alert[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]{opacity:.5}.alert-success[_ngcontent-%COMP%]   .type-icon[_ngcontent-%COMP%]{color:#dff2d5}.alert-warning[_ngcontent-%COMP%]   .type-icon[_ngcontent-%COMP%]{color:#fcf8e1}.alert-info[_ngcontent-%COMP%]   .type-icon[_ngcontent-%COMP%]{color:#d7edf9}.alert[_ngcontent-%COMP%]   .alert-message[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{margin-bottom:0;padding:0 30px}.alert-warning[_ngcontent-%COMP%]   .alert-message[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{color:#8a6d3b}.alert-warning[_ngcontent-%COMP%]   .alert-message[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{color:#333}.alert-success[_ngcontent-%COMP%]   .alert-message[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{color:#3c763d}.alert-success[_ngcontent-%COMP%]   .alert-message[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{color:#333}.alert-info[_ngcontent-%COMP%]   .alert-message[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{color:#31708f}.alert-info[_ngcontent-%COMP%]   .alert-message[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{color:#333}.alert-danger[_ngcontent-%COMP%]   .alert-message[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{color:#a94442}.alert-danger[_ngcontent-%COMP%]   .alert-message[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{color:#333}.alert[_ngcontent-%COMP%]   .btn-more[_ngcontent-%COMP%]{padding:0;margin:0;line-height:1em;text-transform:none;color:#255783}'],data:{animation:[(0,R.X$)("openClose",[(0,R.SB)(gi.new,(0,R.oB)({opacity:0})),(0,R.SB)(gi.open,(0,R.oB)({opacity:1})),(0,R.SB)(gi.closed,(0,R.oB)({opacity:0,transform:"translateX(25%)"})),(0,R.eR)(`${gi.open} => ${gi.closed}`,[(0,R.jt)("0.25s")]),(0,R.eR)(`${gi.new} => ${gi.open}`,[(0,R.jt)("0.25s")]),(0,R.eR)(`${gi.closed} => ${gi.open}`,[(0,R.jt)("0.25s")])])]}}),h})(),Za=(()=>{class h{}return h.ɵfac=function(u){return new(u||h)},h.ɵmod=a.oAB({type:h}),h.ɵinj=a.cJS({imports:[b.ez,p.PW,ei.m]}),h})(),gs=(()=>{class h{constructor(u){this.locale=u}get position(){return this.locale.isLtr?Oa:xs}}return h.ɵfac=function(u){return new(u||h)(a.LFG(eo.g))},h.ɵprov=a.Yz7({token:h,factory:h.ɵfac,providedIn:"root"}),h})(),Dl=(()=>{class h{constructor(u,M){this._alertService=u,this._positionService=M,this.alerts=this.alerts?this.alerts:[]}get hasAlerts(){return this.alerts.length>0}get positionClasses(){return this.inline?h.positionPrefix+ho.inline.toString():h.positionPrefix+this.position.toString()}get position(){return this._position.toString()}set position(u){this._position=((h,y=ho.topRight)=>{if(h){const u=(h=>{const y=Object.keys(ho),M=Object.values(ho).indexOf(h);return-1!==M?y[M]:(console.warn("Invalid alertList.position set. It must be one of: top-left, top-middle, top-right, bottom-left, bottom-middle, bottom-right, middle-left, middle-middle, middle-right"),null)})(h);if(u)return ho[u]}return y})(u)}alertClosed(u){this._alertService.removeById(u.id,this.group)}ngOnInit(){this.group||(this.group=Go.defaultGroup),this._position||(this._position=this._positionService.position),this._alertService.list(this.group).forEach((M=>this._addAlert(M))),this._groupEvents=this._alertService.alertEvents.pipe((0,X.h)((M=>M.group===this.group))),this._eventSubscription=this._groupEvents.subscribe({next:this._onAlertEvent.bind(this),error:console.error})}ngOnDestroy(){this._eventSubscription.unsubscribe()}_findAlertIndexById(u){return this.alerts.findIndex((M=>M.id===u))}_addAlert(u){return this.alerts.push(u),this.alerts}_removeAlert(u){const M=this._findAlertIndexById(u.id);return M>-1&&(this.alerts.splice(M,1),!0)}_clearAlerts(){this.alerts.splice(0,this.alerts.length)}_onAlertEvent(u){switch(u.type){case Sr.add:this._addAlert(u.alert);break;case Sr.clear:this._clearAlerts();break;case Sr.remove:this._removeAlert(u.alert)}}}return h.positionPrefix="position-",h.ɵfac=function(u){return new(u||h)(a.Y36(Go),a.Y36(gs))},h.ɵcmp=a.Xpm({type:h,selectors:[["cp-alert-list"]],inputs:{alerts:"alerts",group:"group",inline:"inline",position:"position"},decls:7,vars:3,consts:[[1,"alert-list-container",3,"ngClass"],["container",""],[1,"alert-list"],["list",""],["class","alert-container",4,"ngFor","ngForOf"],["class","alert-list-backdrop",3,"ngClass",4,"ngIf"],[1,"alert-container"],[3,"alert","close"],[1,"alert-list-backdrop",3,"ngClass"]],template:function(u,M){1&u&&(a.TgZ(0,"div")(1,"div",0,1)(3,"div",2,3),a.YNc(5,hi,2,1,"div",4),a.qZA()(),a.YNc(6,Hi,1,1,"div",5),a.qZA()),2&u&&(a.xp6(1),a.Q6J("ngClass",M.positionClasses),a.xp6(4),a.Q6J("ngForOf",M.alerts),a.xp6(1),a.Q6J("ngIf",M.hasAlerts))},dependencies:[b.mk,b.sg,b.O5,Ws],styles:[".alert-list-container.position-inline[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{margin-top:0;margin-bottom:5px}@media (min-width: 768px){.alert-list-container.position-inline[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{margin-bottom:10px}}.alert-list-container.position-top-left[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;left:0}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-top-left[_ngcontent-%COMP%], .whostmgr   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-top-left[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-top-left[_ngcontent-%COMP%], .cpanel   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-top-left[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-top-left.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-top-left[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-top-left[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-top-left.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.whostmgr[_nghost-%COMP%]   .alert-list-container.position-top-left[_ngcontent-%COMP%], .whostmgr   [_nghost-%COMP%]   .alert-list-container.position-top-left[_ngcontent-%COMP%]{top:70px}.cpanel[_nghost-%COMP%]   .alert-list-container.position-top-left[_ngcontent-%COMP%], .cpanel   [_nghost-%COMP%]   .alert-list-container.position-top-left[_ngcontent-%COMP%]{top:30px}.webmail[_nghost-%COMP%]   .alert-list-container.position-top-left[_ngcontent-%COMP%], .webmail   [_nghost-%COMP%]   .alert-list-container.position-top-left[_ngcontent-%COMP%]{top:52px}@media (min-width: 768px){.whostmgr[_nghost-%COMP%]   .alert-list-container.position-top-left[_ngcontent-%COMP%], .whostmgr   [_nghost-%COMP%]   .alert-list-container.position-top-left[_ngcontent-%COMP%]{top:120px}.cpanel[_nghost-%COMP%]   .alert-list-container.position-top-left[_ngcontent-%COMP%], .cpanel   [_nghost-%COMP%]   .alert-list-container.position-top-left[_ngcontent-%COMP%]{top:52px}}@media (max-width: 667px){.webmail[_nghost-%COMP%]   .alert-list-container.position-top-left[_ngcontent-%COMP%], .webmail   [_nghost-%COMP%]   .alert-list-container.position-top-left[_ngcontent-%COMP%]{top:30px}}.alert-list-container.position-top-left[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{margin-top:2px;margin-bottom:0}@media (min-width: 768px){.alert-list-container.position-top-left[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{margin-top:10px}}.alert-list-container.position-top-left.show-scroll-bar[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{margin-bottom:2px}@media (min-width: 768px){.alert-list-container.position-top-left.show-scroll-bar[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{margin-bottom:10px}}@media (min-width: 768px){.alert-list-container.position-top-left[_ngcontent-%COMP%]{padding-left:10px;padding-right:0}}.alert-list-container.position-top-middle[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;left:50%;transform:translate(-50%)}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-top-middle[_ngcontent-%COMP%], .whostmgr   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-top-middle[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-top-middle[_ngcontent-%COMP%], .cpanel   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-top-middle[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-top-middle.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-top-middle[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-top-middle[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-top-middle.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.whostmgr[_nghost-%COMP%]   .alert-list-container.position-top-middle[_ngcontent-%COMP%], .whostmgr   [_nghost-%COMP%]   .alert-list-container.position-top-middle[_ngcontent-%COMP%]{top:70px}.cpanel[_nghost-%COMP%]   .alert-list-container.position-top-middle[_ngcontent-%COMP%], .cpanel   [_nghost-%COMP%]   .alert-list-container.position-top-middle[_ngcontent-%COMP%]{top:30px}.webmail[_nghost-%COMP%]   .alert-list-container.position-top-middle[_ngcontent-%COMP%], .webmail   [_nghost-%COMP%]   .alert-list-container.position-top-middle[_ngcontent-%COMP%]{top:52px}@media (min-width: 768px){.whostmgr[_nghost-%COMP%]   .alert-list-container.position-top-middle[_ngcontent-%COMP%], .whostmgr   [_nghost-%COMP%]   .alert-list-container.position-top-middle[_ngcontent-%COMP%]{top:120px}.cpanel[_nghost-%COMP%]   .alert-list-container.position-top-middle[_ngcontent-%COMP%], .cpanel   [_nghost-%COMP%]   .alert-list-container.position-top-middle[_ngcontent-%COMP%]{top:52px}}@media (max-width: 667px){.webmail[_nghost-%COMP%]   .alert-list-container.position-top-middle[_ngcontent-%COMP%], .webmail   [_nghost-%COMP%]   .alert-list-container.position-top-middle[_ngcontent-%COMP%]{top:30px}}.alert-list-container.position-top-middle[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{margin-top:2px;margin-bottom:0}@media (min-width: 768px){.alert-list-container.position-top-middle[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{margin-top:10px}}.alert-list-container.position-top-middle.show-scroll-bar[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{margin-bottom:2px}@media (min-width: 768px){.alert-list-container.position-top-middle.show-scroll-bar[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{margin-bottom:10px}}@media (min-width: 768px){.alert-list-container.position-top-middle[_ngcontent-%COMP%]{padding-left:0;padding-right:0}}.alert-list-container.position-top-right[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;right:0}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-top-right[_ngcontent-%COMP%], .whostmgr   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-top-right[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-top-right[_ngcontent-%COMP%], .cpanel   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-top-right[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-top-right.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-top-right[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-top-right[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-top-right.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.whostmgr[_nghost-%COMP%]   .alert-list-container.position-top-right[_ngcontent-%COMP%], .whostmgr   [_nghost-%COMP%]   .alert-list-container.position-top-right[_ngcontent-%COMP%]{top:70px}.cpanel[_nghost-%COMP%]   .alert-list-container.position-top-right[_ngcontent-%COMP%], .cpanel   [_nghost-%COMP%]   .alert-list-container.position-top-right[_ngcontent-%COMP%]{top:30px}.webmail[_nghost-%COMP%]   .alert-list-container.position-top-right[_ngcontent-%COMP%], .webmail   [_nghost-%COMP%]   .alert-list-container.position-top-right[_ngcontent-%COMP%]{top:52px}@media (min-width: 768px){.whostmgr[_nghost-%COMP%]   .alert-list-container.position-top-right[_ngcontent-%COMP%], .whostmgr   [_nghost-%COMP%]   .alert-list-container.position-top-right[_ngcontent-%COMP%]{top:120px}.cpanel[_nghost-%COMP%]   .alert-list-container.position-top-right[_ngcontent-%COMP%], .cpanel   [_nghost-%COMP%]   .alert-list-container.position-top-right[_ngcontent-%COMP%]{top:52px}}@media (max-width: 667px){.webmail[_nghost-%COMP%]   .alert-list-container.position-top-right[_ngcontent-%COMP%], .webmail   [_nghost-%COMP%]   .alert-list-container.position-top-right[_ngcontent-%COMP%]{top:30px}}.alert-list-container.position-top-right[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{margin-top:2px;margin-bottom:0}@media (min-width: 768px){.alert-list-container.position-top-right[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{margin-top:10px}}.alert-list-container.position-top-right.show-scroll-bar[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{margin-bottom:2px}@media (min-width: 768px){.alert-list-container.position-top-right.show-scroll-bar[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{margin-bottom:10px}}@media (min-width: 768px){.alert-list-container.position-top-right[_ngcontent-%COMP%]{padding-left:0;padding-right:10px}}.alert-list-container.position-middle-left[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;top:50%;transform:translateY(-50%);left:0}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-middle-left[_ngcontent-%COMP%], .whostmgr   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-middle-left[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-middle-left[_ngcontent-%COMP%], .cpanel   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-middle-left[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-middle-left.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-middle-left[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-middle-left[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-middle-left.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-middle-left[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{margin-top:1px;margin-bottom:1px}@media (min-width: 768px){.alert-list-container.position-middle-left[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{margin-bottom:5px;margin-top:5px}}@media (min-width: 768px){.alert-list-container.position-middle-left[_ngcontent-%COMP%]{padding-left:10px;padding-right:0}}.alert-list-backdrop.position-middle-middle[_ngcontent-%COMP%]{position:fixed;inset:0;z-index:899;overflow:hidden;outline:0;background-color:#000;opacity:.5}.alert-list-container.position-middle-middle[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;top:50%;transform:translateY(-50%);left:50%;transform:translate(-50%)}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-middle-middle[_ngcontent-%COMP%], .whostmgr   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-middle-middle[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-middle-middle[_ngcontent-%COMP%], .cpanel   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-middle-middle[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-middle-middle.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-middle-middle[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-middle-middle[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-middle-middle.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-middle-middle[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{margin-top:1px;margin-bottom:1px}@media (min-width: 768px){.alert-list-container.position-middle-middle[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{margin-bottom:5px;margin-top:5px}}@media (min-width: 768px){.alert-list-container.position-middle-middle[_ngcontent-%COMP%]{padding-left:0;padding-right:0}}.alert-list-container.position-middle-right[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;top:50%;transform:translateY(-50%);right:0}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-middle-right[_ngcontent-%COMP%], .whostmgr   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-middle-right[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-middle-right[_ngcontent-%COMP%], .cpanel   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-middle-right[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-middle-right.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-middle-right[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-middle-right[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-middle-right.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-middle-right[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{margin-top:1px;margin-bottom:1px}@media (min-width: 768px){.alert-list-container.position-middle-right[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{margin-bottom:5px;margin-top:5px}}@media (min-width: 768px){.alert-list-container.position-middle-right[_ngcontent-%COMP%]{padding-left:0;padding-right:10px}}.alert-list-container.position-bottom-left[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;bottom:0;left:0}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-bottom-left[_ngcontent-%COMP%], .whostmgr   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-bottom-left[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-bottom-left[_ngcontent-%COMP%], .cpanel   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-bottom-left[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-bottom-left.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-bottom-left[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-bottom-left[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-bottom-left.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-bottom-left[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{margin-top:0;margin-bottom:2px}@media (min-width: 768px){.alert-list-container.position-bottom-left[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{margin-bottom:10px}}.alert-list-container.position-bottom-left.show-scroll-bar[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{margin-top:2px}@media (min-width: 768px){.alert-list-container.position-bottom-left.show-scroll-bar[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{margin-top:10px}}@media (min-width: 768px){.alert-list-container.position-bottom-left[_ngcontent-%COMP%]{padding-left:10px;padding-right:0}}.alert-list-container.position-bottom-middle[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;bottom:0;left:50%;transform:translate(-50%)}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-bottom-middle[_ngcontent-%COMP%], .whostmgr   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-bottom-middle[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-bottom-middle[_ngcontent-%COMP%], .cpanel   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-bottom-middle[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-bottom-middle.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-bottom-middle[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-bottom-middle[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-bottom-middle.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-bottom-middle[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{margin-top:0;margin-bottom:2px}@media (min-width: 768px){.alert-list-container.position-bottom-middle[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{margin-bottom:10px}}.alert-list-container.position-bottom-middle.show-scroll-bar[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{margin-top:2px}@media (min-width: 768px){.alert-list-container.position-bottom-middle.show-scroll-bar[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{margin-top:10px}}@media (min-width: 768px){.alert-list-container.position-bottom-middle[_ngcontent-%COMP%]{padding-left:0;padding-right:0}}.alert-list-container.position-bottom-right[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;bottom:0;right:0}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-bottom-right[_ngcontent-%COMP%], .whostmgr   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-bottom-right[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-bottom-right[_ngcontent-%COMP%], .cpanel   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-bottom-right[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-bottom-right[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-bottom-right[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-bottom-right.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-bottom-right[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{margin-top:0;margin-bottom:2px}@media (min-width: 768px){.alert-list-container.position-bottom-right[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{margin-bottom:10px}}.alert-list-container.position-bottom-right.show-scroll-bar[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{margin-top:2px}@media (min-width: 768px){.alert-list-container.position-bottom-right.show-scroll-bar[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{margin-top:10px}}@media (min-width: 768px){.alert-list-container.position-bottom-right[_ngcontent-%COMP%]{padding-left:0;padding-right:10px}}@media (max-width: 768px){.whostmgr.nav-collapsed[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.nav-collapsed   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .webmail[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .webmail   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline){position:fixed;z-index:900;min-width:25%;padding-left:1px;padding-right:1px;inset:0 auto auto 0;transform:none;max-width:100%;min-width:100%;width:100%}.whostmgr.nav-collapsed[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert-list[_ngcontent-%COMP%], .whostmgr.nav-collapsed   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert-list[_ngcontent-%COMP%], .whostmgr[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert-list[_ngcontent-%COMP%], .whostmgr   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert-list[_ngcontent-%COMP%], .cpanel[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert-list[_ngcontent-%COMP%], .cpanel   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert-list[_ngcontent-%COMP%], .webmail[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert-list[_ngcontent-%COMP%], .webmail   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert-list[_ngcontent-%COMP%]{width:100%}.whostmgr.nav-collapsed[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .whostmgr.nav-collapsed   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .whostmgr[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .whostmgr   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .cpanel[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .cpanel   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .webmail[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .webmail   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar{overflow-y:scroll}.whostmgr.nav-collapsed[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert[_ngcontent-%COMP%], .whostmgr.nav-collapsed   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert[_ngcontent-%COMP%], .whostmgr[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert[_ngcontent-%COMP%], .whostmgr   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert[_ngcontent-%COMP%], .cpanel[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert[_ngcontent-%COMP%], .cpanel   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert[_ngcontent-%COMP%], .webmail[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert[_ngcontent-%COMP%], .webmail   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert[_ngcontent-%COMP%]{margin-bottom:5px}}@media (max-width: 768px) and (max-width: 768px){.whostmgr.whostmgr.nav-collapsed[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.whostmgr.nav-collapsed   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr   .whostmgr.nav-collapsed[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr   .whostmgr.nav-collapsed   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.nav-collapsed   .whostmgr[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.nav-collapsed   .whostmgr   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.whostmgr[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.whostmgr   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr   .whostmgr[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr   .whostmgr   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr   .whostmgr[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr   .whostmgr   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.cpanel[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.cpanel   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr   .cpanel[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr   .cpanel   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel   .whostmgr[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel   .whostmgr   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.webmail[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.webmail   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr   .webmail[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr   .webmail   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .webmail   .whostmgr[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .webmail   .whostmgr   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline){max-width:calc(100% - 218px)}}@media (max-width: 768px) and (max-width: 768px){.cpanel.whostmgr.nav-collapsed[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.whostmgr.nav-collapsed   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel   .whostmgr.nav-collapsed[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel   .whostmgr.nav-collapsed   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.nav-collapsed   .cpanel[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.nav-collapsed   .cpanel   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.whostmgr[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.whostmgr   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel   .whostmgr[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel   .whostmgr   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr   .cpanel[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr   .cpanel   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.cpanel[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.cpanel   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel   .cpanel[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel   .cpanel   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel   .cpanel[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel   .cpanel   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.webmail[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.webmail   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel   .webmail[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel   .webmail   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .webmail   .cpanel[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .webmail   .cpanel   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline){max-width:calc(100% - 50px)}}@media (max-width: 768px) and (min-width: 768px){.whostmgr.nav-collapsed[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert-list[_ngcontent-%COMP%], .whostmgr.nav-collapsed   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert-list[_ngcontent-%COMP%], .whostmgr[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert-list[_ngcontent-%COMP%], .whostmgr   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert-list[_ngcontent-%COMP%], .cpanel[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert-list[_ngcontent-%COMP%], .cpanel   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert-list[_ngcontent-%COMP%], .webmail[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert-list[_ngcontent-%COMP%], .webmail   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert-list[_ngcontent-%COMP%]{max-width:500px}}"]}),h})(),eu=(()=>{class h{}return h.ɵfac=function(u){return new(u||h)},h.ɵmod=a.oAB({type:h}),h.ɵinj=a.cJS({imports:[b.ez,Za]}),h})(),Eo=(()=>{class h{constructor(u){this.locale=u,this.autofocus=!1,this.debounce=250,this.disabled=!1,this.label="Search",this.placeholder="Search",this.valueChange=new a.vpe,this._searchSubject=new H.x,this._unsubscribe=new H.x,delete this.label,delete this.placeholder}get value(){return this._value}set value(u){this._value=u,this._searchSubject.next(u)}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-search`");this.clearIconLabel=this.locale.maketext("Clear Input"),this.label||(this.label=this.locale.maketext("Search")),this.placeholder||(this.placeholder=this.locale.maketext("Search")),this._searchSubject.pipe(function be(h){return(0,K.e)(((y,u)=>{(0,re.Xf)(h).subscribe(new me.Q(u,(()=>u.complete()),pe.Z)),!u.closed&&y.subscribe(u)}))}(this._unsubscribe),function je(h,y=Se){return(0,K.e)(((u,M)=>{let ue=null,Qe=null,Qt=null;const An=()=>{if(ue){ue.unsubscribe(),ue=null;const Ni=Qe;Qe=null,M.next(Ni)}};function br(){const Ni=Qt+h,Qi=y.now();if(Qi<Ni)return ue=this.schedule(void 0,Ni-Qi),void M.add(ue);An()}u.subscribe(new me.Q(M,(Ni=>{Qe=Ni,Qt=y.now(),ue||(ue=y.schedule(br,h),M.add(ue))}),(()=>{An(),M.complete()}),void 0,(()=>{Qe=ue=null})))}))}(this.debounce),function It(h,y=it.y){return h=h??Ye,(0,K.e)(((u,M)=>{let ue,Qe=!0;u.subscribe(new me.Q(M,(Qt=>{const An=y(Qt);(Qe||!h(ue,An))&&(Qe=!1,ue=An,M.next(Qt))})))}))}()).subscribe((u=>{this.valueChange.emit(u)}))}ngAfterViewInit(){this.autofocus&&this.searchInput.nativeElement.focus()}ngOnDestroy(){this._unsubscribe.next(),this._unsubscribe.complete()}clearValue(){this.value=""}}return h.ɵfac=function(u){return new(u||h)(a.Y36(eo.g))},h.ɵcmp=a.Xpm({type:h,selectors:[["cp-search"]],viewQuery:function(u,M){if(1&u&&a.Gf(oi,5),2&u){let ue;a.iGM(ue=a.CRH())&&(M.searchInput=ue.first)}},inputs:{autofocus:"autofocus",debounce:"debounce",disabled:"disabled",id:"id",label:"label",placeholder:"placeholder",list:"list",value:"value"},outputs:{valueChange:"valueChange"},decls:6,vars:11,consts:[["role","search",1,"input-group"],["data-test","input","type","search",1,"form-control",3,"ngModel","disabled","id","placeholder","title","ngModelChange","keyup.esc"],["searchInput",""],["data-test","addon",1,"input-group-addon",3,"id","click"],["aria-hidden","true","data-test","icon",3,"ngClass","id"],["class","sr-only",4,"ngIf"],[1,"sr-only"]],template:function(u,M){1&u&&(a.TgZ(0,"div",0)(1,"input",1,2),a.NdJ("ngModelChange",(function(Qe){return M.value=Qe}))("keyup.esc",(function(){return M.clearValue()})),a.qZA(),a.TgZ(3,"span",3),a.NdJ("click",(function(){return M.clearValue()})),a._UZ(4,"span",4),a.YNc(5,rs,2,1,"span",5),a.qZA()()),2&u&&(a.xp6(1),a.MGl("id","",M.id,"-search-input"),a.Q6J("ngModel",M.value)("disabled",M.disabled)("placeholder",M.placeholder)("title",M.label),a.uIk("aria-label",M.label)("list",M.list),a.xp6(2),a.MGl("id","",M.id,"-search-input-addon"),a.xp6(1),a.MGl("id","",M.id,"-search-input-icon"),a.Q6J("ngClass",(null==M.value?null:M.value.length)>0?"fas fa-times":"fas fa-search"),a.xp6(1),a.Q6J("ngIf",(null==M.value?null:M.value.length)>0))},dependencies:[b.mk,b.O5,Et,Pt,Jo],changeDetection:0}),h})(),Ka=(()=>{class h{}return h.ɵfac=function(u){return new(u||h)},h.ɵmod=a.oAB({type:h}),h.ɵinj=a.cJS({imports:[b.ez,Oi,ei.m]}),h})(),yt=(()=>{class h{constructor(u,M=[]){this.selectorName="",this.requiredInputs=["id"],this.requiredInputs=this.requiredInputs.concat(M),this.selectorName=u.nativeElement.tagName.toLowerCase()}ngOnInit(){this.requiredInputs.forEach((u=>{if(!this[u])throw new Error(`"${u}" must be defined for "${this.selectorName}"`)})),this._initiate()}_initiate(){}}return h.ɵfac=function(u){a.$Z()},h.ɵdir=a.lG2({type:h,inputs:{id:"id"}}),h})();var mn=(()=>{return(h=mn||(mn={}))[h.all=-1]="all",mn;var h})();const kt="pageSizeOption";let Tr=(()=>{class h{constructor(u){this.locale=u,this.id="",this.cssClasses="",this.description="",this.ariaPressed=!1,this.selected=!1,this._baseCSSClasses="btn btn-default btn-sm no-validation-border",this._activeClass="active"}ngOnChanges(){this.value===mn.all?(this.label=this.locale.maketext("All"),this.description=this.locale.maketext("Show all entries"),this.id=`${kt}_all`):(this.label=this.value.toString(),this.description=this.locale.maketext("Show [quant,_1,entry per page,entries per page]",this.value),this.id=`${kt}_${this.value.toString()}`),this.selected?(this.cssClasses=`${this._baseCSSClasses} ${this._activeClass}`,this.ariaPressed=!0):(this.cssClasses=this._baseCSSClasses,this.ariaPressed=!1)}ngOnInit(){this.ngOnChanges()}}return h.ɵfac=function(u){return new(u||h)(a.Y36(eo.g))},h.ɵdir=a.lG2({type:h,selectors:[["","cpPageSizeOption",""]],hostVars:6,hostBindings:function(u,M){2&u&&(a.Ikx("id",M.id)("innerText",M.label),a.uIk("aria-label",M.description)("aria-pressed",M.ariaPressed),a.Tol(M.cssClasses))},inputs:{value:"value",selected:"selected"},features:[a.TTD]}),h})(),Ar=(()=>{class h extends yt{constructor(u,M){super(u),this.locale=M,this.selectedPageSize=h.defaultPageSize,this.pageSizeOptions=h.defaultPageSizeOptions,this.showOptionAll=!1,this.disabled=!1,this.optionSelected=new a.vpe,this.displayedPageSizeOptions=[]}isOptionSelected(u){return u===this.selectedPageSize}onOptionClicked(u){this._dispatchChange(u)}ngOnChanges(){this._buildOptions()}_initiate(){this._buildOptions()}_buildOptions(){const u=this.pageSizeOptions.slice(0).sort(((ue,Qe)=>ue-Qe));this.showOptionAll&&u.push(mn.all),-1!==u.indexOf(this.selectedPageSize)?this.displayedPageSizeOptions=u:this._dispatchChange(u[0])}_dispatchChange(u){this.optionSelected.emit(u)}}return h.defaultPageSizeOptions=[20,50,100,500],h.defaultPageSize=20,h.ɵfac=function(u){return new(u||h)(a.Y36(a.SBq),a.Y36(eo.g))},h.ɵcmp=a.Xpm({type:h,selectors:[["cp-page-size-selector"]],inputs:{selectedPageSize:"selectedPageSize",pageSizeOptions:"pageSizeOptions",showOptionAll:"showOptionAll",disabled:"disabled"},outputs:{optionSelected:"optionSelected"},features:[a.qOj,a.TTD],decls:5,vars:2,consts:[[1,"text-small","text-uppercase"],["role","group",1,"btn-group","page-size-buttons"],["cpPageSizeOption","","type","button",3,"disabled","selected","value","click",4,"ngFor","ngForOf"],["cpPageSizeOption","","type","button",3,"disabled","selected","value","click"]],template:function(u,M){1&u&&(a.TgZ(0,"div")(1,"div",0),a._uU(2),a.qZA(),a.TgZ(3,"div",1),a.YNc(4,aa,1,3,"button",2),a.qZA()()),2&u&&(a.xp6(2),a.hij(" ",M.locale.maketext("Entries Per Page")," "),a.xp6(2),a.Q6J("ngForOf",M.displayedPageSizeOptions))},dependencies:[b.sg,Tr],styles:[".page-size-buttons[_ngcontent-%COMP%]{margin-top:3px;display:flex}"]}),h})(),to=(()=>{class h{}return h.ɵfac=function(u){return new(u||h)},h.ɵmod=a.oAB({type:h}),h.ɵinj=a.cJS({imports:[b.ez,ei.m]}),h})(),Ri=(()=>{class h extends yt{constructor(u,M){super(u),this.locale=M,this.maxPagesVisible=h.defaultMaxPagesVisible,this.selectedPage=h.firstPageIndex,this.pageSize=Ar.defaultPageSize,this.disabled=!1,this.pageChanged=new a.vpe}onPageChanged(u){this._dispatchChange(u)}onNumPagesChanged(u){this._dispatchChange(this.selectedPage)}_initiate(){this._dispatchChange(this.selectedPage)}_dispatchChange(u){const M=this.pageSize*(u-1),ue=Math.min(M+this.pageSize,this.totalItems);this.pageChanged.emit({page:u,firstItem:M,lastItem:ue}),this.itemsDetails=this.locale.maketext("[_1] - [_2] of [_3]",M+1,ue,this.totalItems)}}return h.defaultMaxPagesVisible=5,h.firstPageIndex=1,h.ɵfac=function(u){return new(u||h)(a.Y36(a.SBq),a.Y36(eo.g))},h.ɵcmp=a.Xpm({type:h,selectors:[["cp-pagination"]],inputs:{maxPagesVisible:"maxPagesVisible",totalItems:"totalItems",selectedPage:"selectedPage",pageSize:"pageSize",disabled:"disabled"},outputs:{pageChanged:"pageChanged"},features:[a.qOj],decls:12,vars:13,consts:[[3,"id"],[3,"id","totalItems","maxSize","disabled","itemsPerPage","ngModel","boundaryLinks","customFirstTemplate","customLastTemplate","customPreviousTemplate","customNextTemplate","ngModelChange","pageChanged","numPages"],[1,"pagination-item-details","text-small","text-right","flip"],["nextTemplate",""],["prevTemplate",""],["lastTemplate",""],["firstTemplate",""]],template:function(u,M){if(1&u&&(a.TgZ(0,"div",0)(1,"pagination",1),a.NdJ("ngModelChange",(function(Qe){return M.selectedPage=Qe}))("pageChanged",(function(Qe){return M.onPageChanged(Qe.page)}))("numPages",(function(Qe){return M.onNumPagesChanged(Qe)})),a.qZA(),a.TgZ(2,"p",2),a._uU(3),a.qZA()(),a.YNc(4,Os,1,0,"ng-template",null,3,a.W1O),a.YNc(6,zo,1,0,"ng-template",null,4,a.W1O),a.YNc(8,Ta,1,0,"ng-template",null,5,a.W1O),a.YNc(10,hs,1,0,"ng-template",null,6,a.W1O)),2&u){const ue=a.MAs(5),Qe=a.MAs(7),Qt=a.MAs(9),An=a.MAs(11);a.Q6J("id",M.id),a.xp6(1),a.MGl("id","",M.id,"_ngx_paginator"),a.Q6J("totalItems",M.totalItems)("maxSize",M.maxPagesVisible)("disabled",M.disabled)("itemsPerPage",M.pageSize)("ngModel",M.selectedPage)("boundaryLinks",!0)("customFirstTemplate",An)("customLastTemplate",Qt)("customPreviousTemplate",Qe)("customNextTemplate",ue),a.xp6(2),a.hij(" ",M.itemsDetails," ")}},dependencies:[Pt,Jo,Ot],styles:[".pagination-item-details[_ngcontent-%COMP%]{margin-top:-20px}"]}),h})(),qr=(()=>{class h{}return h.ɵfac=function(u){return new(u||h)},h.ɵmod=a.oAB({type:h}),h.ɵinj=a.cJS({imports:[b.ez,Oi,hn.forRoot(),ei.m]}),h})()},8523:(Ie,J,x)=>{"use strict";x.d(J,{TO:()=>$i,Hz:()=>vi,mr:()=>xr,Mq:()=>Jr});var a=x(1571),b=x(9300);class H{constructor(j,V){this.open=j,this.close=V||j}isManual(){return"manual"===this.open||"manual"===this.close}}const X={hover:["mouseover","mouseout"],focus:["focusin","focusout"]};const Z=typeof window<"u"&&window||{};let Je;function Jt(){if(typeof Z.document>"u")return"bs4";const I=Z.document.createElement("span");I.innerText="testing bs version",I.classList.add("d-none"),I.classList.add("pl-1"),Z.document.head.appendChild(I);const j=I.getBoundingClientRect(),V=Z.getComputedStyle(I).paddingLeft;return!j||j&&0!==j.top?(Z.document.head.removeChild(I),"bs3"):V&&parseFloat(V)?(Z.document.head.removeChild(I),"bs4"):(Z.document.head.removeChild(I),"bs5")}function vt(){return typeof Z>"u"||(typeof Z.__theme>"u"?(Je||(Je=Jt()),"bs3"===Je):"bs3"===Z.__theme)}function Ce(){return!vt()&&(Je||(Je=Jt()),"bs4"===Je)}function Oe(){return{isBs3:vt(),isBs4:Ce(),isBs5:!vt()&&!Ce()&&(Je||(Je=Jt()),"bs5"===Je)}}typeof console>"u"||console;var _n=x(6895),Tn=x(7579),Cn=x(6451),Lr=x(8421),er=x(9751),un=x(5577),sr=x(1144),Nn=x(576),Hr=x(3268);const hr=["addListener","removeListener"],yi=["addEventListener","removeEventListener"],Ir=["on","off"];function Jn(I,j,V,ie){if((0,Nn.m)(V)&&(ie=V,V=void 0),ie)return Jn(I,j,V).pipe((0,Hr.Z)(ie));const[Ke,We]=function _r(I){return(0,Nn.m)(I.addEventListener)&&(0,Nn.m)(I.removeEventListener)}(I)?yi.map((lt=>ut=>I[lt](j,ut,V))):function jr(I){return(0,Nn.m)(I.addListener)&&(0,Nn.m)(I.removeListener)}(I)?hr.map(lr(I,j)):function Qr(I){return(0,Nn.m)(I.on)&&(0,Nn.m)(I.off)}(I)?Ir.map(lr(I,j)):[];if(!Ke&&(0,sr.z)(I))return(0,un.z)((lt=>Jn(lt,j,V)))((0,Lr.Xf)(I));if(!Ke)throw new TypeError("Invalid event target");return new er.y((lt=>{const ut=(...dt)=>lt.next(1<dt.length?dt:dt[0]);return Ke(ut),()=>We(ut)}))}function lr(I,j){return V=>ie=>I[V](j,ie)}var qt=x(9646),Yr=x(4408),ri=x(727);const de={schedule(I){let j=requestAnimationFrame,V=cancelAnimationFrame;const{delegate:ie}=de;ie&&(j=ie.requestAnimationFrame,V=ie.cancelAnimationFrame);const Ke=j((We=>{V=void 0,I(We)}));return new ri.w0((()=>V?.(Ke)))},requestAnimationFrame(...I){const{delegate:j}=de;return(j?.requestAnimationFrame||requestAnimationFrame)(...I)},cancelAnimationFrame(...I){const{delegate:j}=de;return(j?.cancelAnimationFrame||cancelAnimationFrame)(...I)},delegate:void 0};var Ae=x(640);const fe=new class Be extends Ae.v{flush(j){this._active=!0,this._scheduled=void 0;const{actions:V}=this;let ie,Ke=-1;j=j||V.shift();const We=V.length;do{if(ie=j.execute(j.state,j.delay))break}while(++Ke<We&&(j=V.shift()));if(this._active=!1,ie){for(;++Ke<We&&(j=V.shift());)j.unsubscribe();throw ie}}}(class Ne extends Yr.o{constructor(j,V){super(j,V),this.scheduler=j,this.work=V}requestAsyncId(j,V,ie=0){return null!==ie&&ie>0?super.requestAsyncId(j,V,ie):(j.actions.push(this),j._scheduled||(j._scheduled=de.requestAnimationFrame((()=>j.flush(void 0)))))}recycleAsyncId(j,V,ie=0){if(null!=ie&&ie>0||null==ie&&this.delay>0)return super.recycleAsyncId(j,V,ie);0===j.actions.length&&(de.cancelAnimationFrame(V),j._scheduled=void 0)}});var q=(()=>{return(I=q||(q={})).top="top",I.bottom="bottom",I.left="left",I.right="right",I.auto="auto",I.end="right",I.start="left",I["top left"]="top left",I["top right"]="top right",I["right top"]="right top",I["right bottom"]="right bottom",I["bottom right"]="bottom right",I["bottom left"]="bottom left",I["left bottom"]="left bottom",I["left top"]="left top",I["top start"]="top left",I["top end"]="top right",I["end top"]="right top",I["end bottom"]="right bottom",I["bottom end"]="bottom right",I["bottom start"]="bottom left",I["start bottom"]="start bottom",I["start top"]="left top",q;var I})(),Ee=(()=>{return(I=Ee||(Ee={})).top="top",I.bottom="bottom",I.left="start",I.right="end",I.auto="auto",I.end="end",I.start="start",I["top left"]="top start",I["top right"]="top end",I["right top"]="end top",I["right bottom"]="end bottom",I["bottom right"]="bottom end",I["bottom left"]="bottom start",I["left bottom"]="start bottom",I["left top"]="start top",I["top start"]="top start",I["top end"]="top end",I["end top"]="end top",I["end bottom"]="end bottom",I["bottom end"]="bottom end",I["bottom start"]="bottom start",I["start bottom"]="start bottom",I["start top"]="start top",Ee;var I})();function xe(I,j){if(1!==I.nodeType)return[];const ie=I.ownerDocument.defaultView?.getComputedStyle(I,null);return j?ie&&ie[j]:ie}function et(I){if(!I)return document.documentElement;let ie,V=I?.offsetParent;for(;null===V&&I.nextElementSibling&&ie!==I.nextElementSibling;)ie=I.nextElementSibling,V=ie.offsetParent;const Ke=V&&V.nodeName;return Ke&&"BODY"!==Ke&&"HTML"!==Ke?V&&-1!==["TH","TD","TABLE"].indexOf(V.nodeName)&&"static"===xe(V,"position")?et(V):V:ie?ie.ownerDocument.documentElement:document.documentElement}function $t(I){return null!==I.parentNode?$t(I.parentNode):I}function at(I,j){if(!(I&&I.nodeType&&j&&j.nodeType))return document.documentElement;const V=I.compareDocumentPosition(j)&Node.DOCUMENT_POSITION_FOLLOWING,ie=V?I:j,Ke=V?j:I,We=document.createRange();We.setStart(ie,0),We.setEnd(Ke,0);const lt=We.commonAncestorContainer;if(I!==lt&&j!==lt||ie.contains(Ke))return function pt(I){const{nodeName:j}=I;return"BODY"!==j&&("HTML"===j||et(I.firstElementChild)===I)}(lt)?lt:et(lt);const ut=$t(I);return ut.host?at(ut.host,j):at(I,$t(j).host)}function Dt(I){if(!I||!I.parentElement)return document.documentElement;let j=I.parentElement;for(;j?.parentElement&&"none"===xe(j,"transform");)j=j.parentElement;return j||document.documentElement}function Yt(I,j){const V="x"===j?"Left":"Top",ie="Left"===V?"Right":"Bottom";return parseFloat(I[`border${V}Width`])+parseFloat(I[`border${ie}Width`])}function wn(I,j,V,ie){return Math.max(j[`offset${I}`],j[`scroll${I}`],V[`client${I}`],V[`offset${I}`],V[`scroll${I}`],0)}function Ut(I){const j=I.body,V=I.documentElement;return{height:wn("Height",j,V),width:wn("Width",j,V)}}function Pt(I){return{...I,right:(I.left||0)+I.width,bottom:(I.top||0)+I.height}}function gt(I){return"number"==typeof I||"[object Number]"===Object.prototype.toString.call(I)}function Fn(I){const j=I.getBoundingClientRect();if(!(j&&gt(j.top)&&gt(j.left)&&gt(j.bottom)&&gt(j.right)))return j;const V={left:j.left,top:j.top,width:j.right-j.left,height:j.bottom-j.top},ie="HTML"===I.nodeName?Ut(I.ownerDocument):void 0,Ke=ie?.width||I.clientWidth||gt(j.right)&&gt(V.left)&&j.right-V.left||0,We=ie?.height||I.clientHeight||gt(j.bottom)&&gt(V.top)&&j.bottom-V.top||0;let lt=I.offsetWidth-Ke,ut=I.offsetHeight-We;if(lt||ut){const dt=xe(I);lt-=Yt(dt,"x"),ut-=Yt(dt,"y"),V.width-=lt,V.height-=ut}return Pt(V)}function Kt(I){return"HTML"===I.nodeName?I:I.parentNode||I.host}function At(I){if(!I)return document.body;switch(I.nodeName){case"HTML":case"BODY":return I.ownerDocument.body;case"#document":return I.body}const{overflow:j,overflowX:V,overflowY:ie}=xe(I);return/(auto|scroll|overlay)/.test(String(j)+String(ie)+String(V))?I:At(Kt(I))}function cn(I,j,V=!1){const ie="HTML"===j.nodeName,Ke=Fn(I),We=Fn(j),ut=(At(I),xe(j)),dt=parseFloat(ut.borderTopWidth),on=parseFloat(ut.borderLeftWidth);V&&ie&&(We.top=Math.max(We.top??0,0),We.left=Math.max(We.left??0,0));const bn=Pt({top:(Ke.top??0)-(We.top??0)-dt,left:(Ke.left??0)-(We.left??0)-on,width:Ke.width,height:Ke.height});if(bn.marginTop=0,bn.marginLeft=0,ie){const Er=parseFloat(ut.marginTop),zr=parseFloat(ut.marginLeft);gt(bn.top)&&(bn.top-=dt-Er),gt(bn.bottom)&&(bn.bottom-=dt-Er),gt(bn.left)&&(bn.left-=on-zr),gt(bn.right)&&(bn.right-=on-zr),bn.marginTop=Er,bn.marginLeft=zr}return bn}function Ht(I,j="top"){const V="top"===j?"scrollTop":"scrollLeft",ie=I.nodeName;if("BODY"===ie||"HTML"===ie){const Ke=I.ownerDocument.documentElement;return(I.ownerDocument.scrollingElement||Ke)[V]}return I[V]}function Bt(I){const j=I.nodeName;return"BODY"!==j&&"HTML"!==j&&("fixed"===xe(I,"position")||Bt(Kt(I)))}function pn(I,j,V=0,ie,Ke=!1){let We={top:0,left:0};const lt=Ke?Dt(I):at(I,j);if("viewport"===ie)We=function kn(I,j=!1){const V=I.ownerDocument.documentElement,ie=cn(I,V),Ke=Math.max(V.clientWidth,window.innerWidth||0),We=Math.max(V.clientHeight,window.innerHeight||0),lt=j?0:Ht(V),ut=j?0:Ht(V,"left");return Pt({top:lt-Number(ie?.top)+Number(ie?.marginTop),left:ut-Number(ie?.left)+Number(ie?.marginLeft),width:Ke,height:We})}(lt,Ke);else{let ut;"scrollParent"===ie?(ut=At(Kt(j)),"BODY"===ut.nodeName&&(ut=I.ownerDocument.documentElement)):ut="window"===ie?I.ownerDocument.documentElement:ie;const dt=cn(ut,lt,Ke);if(dt&&"HTML"===ut.nodeName&&!Bt(lt)){const{height:on,width:bn}=Ut(I.ownerDocument);gt(We.top)&&gt(dt.top)&&gt(dt.marginTop)&&(We.top+=dt.top-dt.marginTop),gt(We.top)&&(We.bottom=Number(on)+Number(dt.top)),gt(We.left)&&gt(dt.left)&&gt(dt.marginLeft)&&(We.left+=dt.left-dt.marginLeft),gt(We.top)&&(We.right=Number(bn)+Number(dt.left))}else dt&&(We=dt)}return gt(We.left)&&(We.left+=V),gt(We.top)&&(We.top+=V),gt(We.right)&&(We.right-=V),gt(We.bottom)&&(We.bottom-=V),We}function dn({width:I,height:j}){return I*j}function Or(I,j,V,ie,Ke=["top","bottom","right","left"],We="viewport",lt=0){if(-1===I.indexOf("auto"))return I;const ut=pn(V,ie,lt,We),dt={top:{width:ut?.width??0,height:(j?.top??0)-(ut?.top??0)},right:{width:(ut?.right??0)-(j?.right??0),height:ut?.height??0},bottom:{width:ut?.width??0,height:(ut?.bottom??0)-(j?.bottom??0)},left:{width:(j.left??0)-(ut?.left??0),height:ut?.height??0}},on=Object.keys(dt).map((Mr=>({position:Mr,...dt[Mr],area:dn(dt[Mr])}))).sort(((Mr,Ci)=>Ci.area-Mr.area));let bn=on.filter((({width:Mr,height:Ci})=>Mr>=V.clientWidth&&Ci>=V.clientHeight));bn=bn.filter((({position:Mr})=>Ke.some((Ci=>Ci===Mr))));const Er=bn.length>0?bn[0].position:on[0].position,zr=I.split(" ")[1];return V.className=V.className.replace(/bs-tooltip-auto/g,`bs-tooltip-${Oe().isBs5?Ee[Er]:Er}`),Er+(zr?`-${zr}`:"")}const Dr=(I,j=0)=>I?parseFloat(I):j;function gn(I){const V=I.ownerDocument.defaultView?.getComputedStyle(I),ie=Dr(V?.marginTop)+Dr(V?.marginBottom),Ke=Dr(V?.marginLeft)+Dr(V?.marginRight);return{width:Number(I.offsetWidth)+Ke,height:Number(I.offsetHeight)+ie}}function De(I,j,V){return cn(j,V?Dt(I):at(I,j),V)}function se(I,j,V){const ie=V.split(" ")[0],Ke=gn(I),We={width:Ke.width,height:Ke.height},lt=-1!==["right","left"].indexOf(ie),ut=lt?"top":"left",dt=lt?"left":"top",on=lt?"height":"width",bn=lt?"width":"height";return We[ut]=(j[ut]??0)+j[on]/2-Ke[on]/2,We[dt]=ie===dt?(j[dt]??0)-Ke[bn]:j[function Gn(I){const j={left:"right",right:"left",bottom:"top",top:"bottom"};return I.replace(/left|right|bottom|top/g,(V=>j[V]))}(dt)]??0,We}function G(I,j){return!!I.modifiers[j]?.enabled}const U={top:["top","top start","top end"],bottom:["bottom","bottom start","bottom end"],start:["start","start top","start bottom"],end:["end","end top","end bottom"]};function te(I,j){return!!Oe().isBs5&&U[j].includes(I)}function zt(I,j,V){!I||!j||Object.keys(j).forEach((ie=>{let Ke="";-1!==["width","height","top","right","bottom","left"].indexOf(ie)&&function Rt(I){return""!==I&&!isNaN(parseFloat(I))&&isFinite(Number(I))}(j[ie])&&(Ke="px"),V?V.setStyle(I,ie,`${String(j[ie])}${Ke}`):I.style[ie]=String(j[ie])+Ke}))}function tt(I){let j=I.offsets.target;const V=I.instance.target.querySelector(".arrow");if(!V)return I;const ie=-1!==["left","right"].indexOf(I.placement.split(" ")[0]),Ke=ie?"height":"width",We=ie?"Top":"Left",lt=We.toLowerCase(),ut=ie?"left":"top",dt=ie?"bottom":"right",on=gn(V)[Ke],bn=I.placement.split(" ")[1];(I.offsets.host[dt]??0)-on<(j[lt]??0)&&(j[lt]-=(j[lt]??0)-((I.offsets.host[dt]??0)-on)),Number(I.offsets.host[lt])+Number(on)>(j[dt]??0)&&(j[lt]+=Number(I.offsets.host[lt])+Number(on)-Number(j[dt])),j=Pt(j);const Er=xe(I.instance.target),zr=parseFloat(Er[`margin${We}`])||0,Mr=parseFloat(Er[`border${We}Width`])||0;let Ci;if(bn){const Po=parseFloat(Er.borderRadius)||0,Oo=Number(zr+Mr+Po);Ci=lt===bn?Number(I.offsets.host[lt])+Oo:Number(I.offsets.host[lt])+Number(I.offsets.host[Ke]-Oo)}else Ci=Number(I.offsets.host[lt])+Number(I.offsets.host[Ke]/2-on/2);let Xi=Ci-(j[lt]??0)-zr-Mr;return Xi=Math.max(Math.min(j[Ke]-(on+5),Xi),0),I.offsets.arrow={[lt]:Math.round(Xi),[ut]:""},I.instance.arrow=V,I}function wt(I){if(I.offsets.target=Pt(I.offsets.target),!G(I.options,"flip"))return I.offsets.target={...I.offsets.target,...se(I.instance.target,I.offsets.host,I.placement)},I;const j=pn(I.instance.target,I.instance.host,0,"viewport",!1);let V=I.placement.split(" ")[0],ie=I.placement.split(" ")[1]||"";const ut=Or("auto",I.offsets.host,I.instance.target,I.instance.host,I.options.allowedPositions),dt=[V,ut];return dt.forEach(((on,bn)=>{if(V!==on||dt.length===bn+1)return;V=I.placement.split(" ")[0];const Er="left"===V&&Math.floor(I.offsets.target.right??0)>Math.floor(I.offsets.host.left??0)||"right"===V&&Math.floor(I.offsets.target.left??0)<Math.floor(I.offsets.host.right??0)||"top"===V&&Math.floor(I.offsets.target.bottom??0)>Math.floor(I.offsets.host.top??0)||"bottom"===V&&Math.floor(I.offsets.target.top??0)<Math.floor(I.offsets.host.bottom??0),zr=Math.floor(I.offsets.target.left??0)<Math.floor(j.left??0),Mr=Math.floor(I.offsets.target.right??0)>Math.floor(j.right??0),Ci=Math.floor(I.offsets.target.top??0)<Math.floor(j.top??0),Xi=Math.floor(I.offsets.target.bottom??0)>Math.floor(j.bottom??0),Po="left"===V&&zr||"right"===V&&Mr||"top"===V&&Ci||"bottom"===V&&Xi,Oo=-1!==["top","bottom"].indexOf(V),Qo=Oo&&"left"===ie&&zr||Oo&&"right"===ie&&Mr||!Oo&&"left"===ie&&Ci||!Oo&&"right"===ie&&Xi;(Er||Po||Qo)&&((Er||Po)&&(V=dt[bn+1]),Qo&&(ie=function zn(I){return"right"===I?"left":"left"===I?"right":I}(ie)),I.placement=V+(ie?` ${ie}`:""),I.offsets.target={...I.offsets.target,...se(I.instance.target,I.offsets.host,I.placement)})})),I}function bt(I){if(!G(I.options,"preventOverflow"))return I;const j="transform",V=I.instance.target.style,{top:ie,left:Ke,[j]:We}=V;V.top="",V.left="",V[j]="";const lt=pn(I.instance.target,I.instance.host,0,I.options.modifiers.preventOverflow?.boundariesElement||"scrollParent",!1);V.top=ie,V.left=Ke,V[j]=We;const dt={primary(on){let bn=I.offsets.target[on];return(I.offsets.target[on]??0)<(lt[on]??0)&&(bn=Math.max(I.offsets.target[on]??0,lt[on]??0)),{[on]:bn}},secondary(on){const bn="right"===on,Er=bn?"left":"top";let Mr=I.offsets.target[Er];return(I.offsets.target[on]??0)>(lt[on]??0)&&(Mr=Math.min(I.offsets.target[Er]??0,(lt[on]??0)-I.offsets.target[bn?"width":"height"])),{[Er]:Mr}}};return["left","right","top","bottom"].forEach((on=>{const bn=-1!==["left","top","start"].indexOf(on)?dt.primary:dt.secondary;I.offsets.target={...I.offsets.target,...bn(on)}})),I}function xt(I){const j=I.placement,V=j.split(" ")[0],ie=j.split(" ")[1];if(ie){const{host:Ke,target:We}=I.offsets,lt=-1!==["bottom","top"].indexOf(V),ut=lt?"left":"top",dt=lt?"width":"height",on={start:{[ut]:Ke[ut]},end:{[ut]:(Ke[ut]??0)+Ke[dt]-We[dt]}};I.offsets.target={...We,[ut]:ut===ie?on.start[ut]:on.end[ut]}}return I}const Vt=new class Zt{position(j,V){return this.offset(j,V)}offset(j,V){return De(V,j)}positionElements(j,V,ie,Ke,We){const lt=[wt,xt,bt,tt],dt=function Ue(I,j,V,ie){if(!I||!j)return;const Ke=De(I,j);!V.match(/^(auto)*\s*(left|right|top|bottom|start|end)*$/)&&!V.match(/^(left|right|top|bottom|start|end)*(?: (left|right|top|bottom|start|end))*$/)&&(V="auto");const We=!!V.match(/auto/g);let lt=V.match(/auto\s(left|right|top|bottom|start|end)/)?V.split(" ")[1]||"auto":V;const ut=lt.match(/^(left|right|top|bottom|start|end)* ?(?!\1)(left|right|top|bottom|start|end)?/);return ut&&(lt=ut[1]+(ut[2]?` ${ut[2]}`:"")),-1!==["left right","right left","top bottom","bottom top"].indexOf(lt)&&(lt="auto"),lt=Or(lt,Ke,I,j,ie?ie.allowedPositions:void 0),{options:ie||{modifiers:{}},instance:{target:I,host:j,arrow:void 0},offsets:{target:se(I,Ke,lt),host:Ke,arrow:void 0},positionFixed:!1,placement:lt,placementAuto:We}}(V,j,q[ie],We);if(dt)return lt.reduce(((on,bn)=>bn(on)),dt)}};function St(I,j,V,ie,Ke,We){const lt=Vt.positionElements(I,j,V,ie,Ke);if(!lt)return;const ut=function fr(I){return{width:I.offsets.target.width,height:I.offsets.target.height,left:Math.floor(I.offsets.target.left??0),top:Math.round(I.offsets.target.top??0),bottom:Math.round(I.offsets.target.bottom??0),right:Math.floor(I.offsets.target.right??0)}}(lt);zt(j,{"will-change":"transform",top:"0px",left:"0px",transform:`translate3d(${ut.left}px, ${ut.top}px, 0px)`},We),lt.instance.arrow&&zt(lt.instance.arrow,lt.offsets.arrow,We),function nt(I,j){const V=I.instance.target;let ie=V.className;const Ke=Oe().isBs5?Ee[I.placement]:I.placement;I.placementAuto&&(ie=ie.replace(/bs-popover-auto/g,`bs-popover-${Ke}`),ie=ie.replace(/ms-2|me-2|mb-2|mt-2/g,""),ie=ie.replace(/bs-tooltip-auto/g,`bs-tooltip-${Ke}`),ie=ie.replace(/\sauto/g,` ${Ke}`),-1!==ie.indexOf("popover")&&(ie=ie+" "+function Re(I){return Oe().isBs5?te(I,"end")?"ms-2":te(I,"start")?"me-2":te(I,"top")?"mb-2":te(I,"bottom")?"mt-2":"":""}(Ke)),-1!==ie.indexOf("popover")&&-1===ie.indexOf("popover-auto")&&(ie+=" popover-auto"),-1!==ie.indexOf("tooltip")&&-1===ie.indexOf("tooltip-auto")&&(ie+=" tooltip-auto")),ie=ie.replace(/left|right|top|bottom|end|start/g,`${Ke.split(" ")[0]}`),j?j.setAttribute(V,"class",ie):V.className=ie}(lt,We)}let fn=(()=>{class I{constructor(V,ie,Ke){this.update$$=new Tn.x,this.positionElements=new Map,this.isDisabled=!1,(0,_n.NF)(Ke)&&V.runOutsideAngular((()=>{this.triggerEvent$=(0,Cn.T)(Jn(window,"scroll",{passive:!0}),Jn(window,"resize",{passive:!0}),(0,qt.of)(0,fe),this.update$$),this.triggerEvent$.subscribe((()=>{this.isDisabled||this.positionElements.forEach((We=>{St(nn(We.target),nn(We.element),We.attachment,We.appendToBody,this.options,ie.createRenderer(null,null))}))}))}))}position(V){this.addPositionElement(V)}get event$(){return this.triggerEvent$}disable(){this.isDisabled=!0}enable(){this.isDisabled=!1}addPositionElement(V){this.positionElements.set(nn(V.element),V)}calcPosition(){this.update$$.next(null)}deletePositionElement(V){this.positionElements.delete(nn(V))}setOptions(V){this.options=V}}return I.ɵfac=function(V){return new(V||I)(a.LFG(a.R0b),a.LFG(a.FYo),a.LFG(a.Lbi))},I.ɵprov=a.Yz7({token:I,factory:I.ɵfac,providedIn:"root"}),I})();function nn(I){return"string"==typeof I?document.querySelector(I):I instanceof a.SBq?I.nativeElement:I??null}class Sn{constructor(j,V,ie){this.nodes=j,this.viewRef=V,this.componentRef=ie}}class tr{constructor(j,V,ie,Ke,We,lt,ut,dt,on){this._viewContainerRef=j,this._renderer=V,this._elementRef=ie,this._injector=Ke,this._componentFactoryResolver=We,this._ngZone=lt,this._applicationRef=ut,this._posService=dt,this._document=on,this.onBeforeShow=new a.vpe,this.onShown=new a.vpe,this.onBeforeHide=new a.vpe,this.onHidden=new a.vpe,this._providers=[],this._isHiding=!1,this.containerDefaultSelector="body",this._listenOpts={},this._globalListener=Function.prototype}get isShown(){return!this._isHiding&&!!this._componentRef}attach(j){return this._componentFactory=this._componentFactoryResolver.resolveComponentFactory(j),this}to(j){return this.container=j||this.container,this}position(j){return j?(this.attachment=j.attachment||this.attachment,this._elementRef=j.target||this._elementRef,this):this}provide(j){return this._providers.push(j),this}show(j={}){if(this._subscribePositioning(),this._innerComponent=void 0,!this._componentRef){this.onBeforeShow.emit(),this._contentRef=this._getContentRef(j.content,j.context,j.initialState);const V=a.zs3.create({providers:this._providers,parent:this._injector});if(!this._componentFactory)return;if(this._componentRef=this._componentFactory.create(V,this._contentRef.nodes),this._applicationRef.attachView(this._componentRef.hostView),this.instance=this._componentRef.instance,Object.assign(this._componentRef.instance,j),this.container instanceof a.SBq&&this.container.nativeElement.appendChild(this._componentRef.location.nativeElement),"string"==typeof this.container&&typeof this._document<"u"){const ie=this._document.querySelector(this.container)||this._document.querySelector(this.containerDefaultSelector);if(!ie)return;ie.appendChild(this._componentRef.location.nativeElement)}!this.container&&this._elementRef&&this._elementRef.nativeElement.parentElement&&this._elementRef.nativeElement.parentElement.appendChild(this._componentRef.location.nativeElement),this._contentRef.componentRef&&(this._innerComponent=this._contentRef.componentRef.instance,this._contentRef.componentRef.changeDetectorRef.markForCheck(),this._contentRef.componentRef.changeDetectorRef.detectChanges()),this._componentRef.changeDetectorRef.markForCheck(),this._componentRef.changeDetectorRef.detectChanges(),this.onShown.emit(j.id?{id:j.id}:this._componentRef.instance)}return this._registerOutsideClick(),this._componentRef}hide(j){if(!this._componentRef)return this;this._posService.deletePositionElement(this._componentRef.location),this.onBeforeHide.emit(this._componentRef.instance);const V=this._componentRef.location.nativeElement;return V.parentNode?.removeChild(V),this._contentRef?.componentRef?.destroy(),this._viewContainerRef&&this._contentRef?.viewRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._contentRef.viewRef)),this._contentRef?.viewRef?.destroy(),this._contentRef=void 0,this._componentRef=void 0,this._removeGlobalListener(),this.onHidden.emit(j?{id:j}:null),this}toggle(){this.isShown?this.hide():this.show()}dispose(){this.isShown&&this.hide(),this._unsubscribePositioning(),this._unregisterListenersFn&&this._unregisterListenersFn()}listen(j){this.triggers=j.triggers||this.triggers,this._listenOpts.outsideClick=j.outsideClick,this._listenOpts.outsideEsc=j.outsideEsc,j.target=j.target||this._elementRef?.nativeElement;const V=this._listenOpts.hide=()=>j.hide?j.hide():void this.hide(),ie=this._listenOpts.show=We=>{j.show?j.show(We):this.show(We),We()};return this._renderer&&(this._unregisterListenersFn=function re(I,j){const V=function K(I,j=X){const V=(I||"").trim();if(0===V.length)return[];const ie=V.split(/\s+/).map((We=>We.split(":"))).map((We=>{const lt=j[We[0]]||We;return new H(lt[0],lt[1])})),Ke=ie.filter((We=>We.isManual()));if(Ke.length>1)throw new Error("Triggers parse error: only one manual trigger is allowed");if(1===Ke.length&&ie.length>1)throw new Error("Triggers parse error: manual trigger can't be mixed with other triggers");return ie}(j.triggers),ie=j.target;if(1===V.length&&V[0].isManual())return Function.prototype;const Ke=[],We=[],lt=()=>{We.forEach((ut=>Ke.push(ut()))),We.length=0};return V.forEach((ut=>{const dt=ut.open===ut.close,on=dt?j.toggle:j.show;if(!dt&&ut.close&&j.hide){const bn=I.listen(ie,ut.close,j.hide);We.push((()=>bn))}on&&Ke.push(I.listen(ie,ut.open,(()=>on(lt))))})),()=>{Ke.forEach((ut=>ut()))}}(this._renderer,{target:j.target,triggers:j.triggers,show:ie,hide:V,toggle:We=>{this.isShown?V():ie(We)}})),this}_removeGlobalListener(){this._globalListener&&(this._globalListener(),this._globalListener=Function.prototype)}attachInline(j,V){return j&&V&&(this._inlineViewRef=j.createEmbeddedView(V)),this}_registerOutsideClick(){if(this._componentRef&&this._componentRef.location){if(this._listenOpts.outsideClick){const j=this._componentRef.location.nativeElement;setTimeout((()=>{this._renderer&&this._elementRef&&(this._globalListener=function pe(I,j){return j.outsideClick?I.listen("document","click",(V=>{j.target&&j.target.contains(V.target)||j.targets&&j.targets.some((ie=>ie.contains(V.target)))||j.hide&&j.hide()})):Function.prototype}(this._renderer,{targets:[j,this._elementRef.nativeElement],outsideClick:this._listenOpts.outsideClick,hide:()=>this._listenOpts.hide&&this._listenOpts.hide()}))}))}this._listenOpts.outsideEsc&&this._renderer&&this._elementRef&&(this._globalListener=function be(I,j){return j.outsideEsc?I.listen("document","keyup.esc",(V=>{j.target&&j.target.contains(V.target)||j.targets&&j.targets.some((ie=>ie.contains(V.target)))||j.hide&&j.hide()})):Function.prototype}(this._renderer,{targets:[this._componentRef.location.nativeElement,this._elementRef.nativeElement],outsideEsc:this._listenOpts.outsideEsc,hide:()=>this._listenOpts.hide&&this._listenOpts.hide()}))}}getInnerComponent(){return this._innerComponent}_subscribePositioning(){this._zoneSubscription||!this.attachment||(this.onShown.subscribe((()=>{this._posService.position({element:this._componentRef?.location,target:this._elementRef,attachment:this.attachment,appendToBody:"body"===this.container})})),this._zoneSubscription=this._ngZone.onStable.subscribe((()=>{!this._componentRef||this._posService.calcPosition()})))}_unsubscribePositioning(){!this._zoneSubscription||(this._zoneSubscription.unsubscribe(),this._zoneSubscription=void 0)}_getContentRef(j,V,ie){if(!j)return new Sn([]);if(j instanceof a.Rgc){if(this._viewContainerRef){const lt=this._viewContainerRef.createEmbeddedView(j,V);return lt.markForCheck(),new Sn([lt.rootNodes],lt)}const We=j.createEmbeddedView({});return this._applicationRef.attachView(We),new Sn([We.rootNodes],We)}if("function"==typeof j){const We=this._componentFactoryResolver.resolveComponentFactory(j),lt=a.zs3.create({providers:this._providers,parent:this._injector}),ut=We.create(lt);return Object.assign(ut.instance,ie),this._applicationRef.attachView(ut.hostView),new Sn([[ut.location.nativeElement]],ut.hostView,ut)}const Ke=this._renderer?[this._renderer.createText(`${j}`)]:[];return new Sn([Ke])}}let pr=(()=>{class I{constructor(V,ie,Ke,We,lt,ut){this._componentFactoryResolver=V,this._ngZone=ie,this._injector=Ke,this._posService=We,this._applicationRef=lt,this._document=ut}createLoader(V,ie,Ke){return new tr(ie,Ke,V,this._injector,this._componentFactoryResolver,this._ngZone,this._applicationRef,this._posService,this._document)}}return I.ɵfac=function(V){return new(V||I)(a.LFG(a._Vd),a.LFG(a.R0b),a.LFG(a.zs3),a.LFG(fn),a.LFG(a.z2F),a.LFG(_n.K0))},I.ɵprov=a.Yz7({token:I,factory:I.ɵfac,providedIn:"root"}),I})();var yr=x(7340);const Rr=function(I){return{dropdown:I}},$r=["*"];let Si=(()=>{class I{constructor(){this.autoClose=!0,this.insideClick=!1,this.isAnimated=!1,this.stopOnClickPropagation=!1}}return I.ɵfac=function(V){return new(V||I)},I.ɵprov=a.Yz7({token:I,factory:I.ɵfac,providedIn:"root"}),I})(),Pn=(()=>{class I{constructor(){this.direction="down",this.autoClose=!0,this.insideClick=!1,this.isAnimated=!1,this.stopOnClickPropagation=!1,this.isOpenChange=new a.vpe,this.isDisabledChange=new a.vpe,this.toggleClick=new a.vpe,this.counts=0,this.dropdownMenu=new Promise((V=>{this.resolveDropdownMenu=V}))}}return I.ɵfac=function(V){return new(V||I)},I.ɵprov=a.Yz7({token:I,factory:I.ɵfac,providedIn:"platform"}),I})();const ci=[(0,yr.oB)({height:0,overflow:"hidden"}),(0,yr.jt)("220ms cubic-bezier(0, 0, 0.2, 1)",(0,yr.oB)({height:"*",overflow:"hidden"}))];let di=(()=>{class I{constructor(V,ie,Ke,We,lt){this._state=V,this.cd=ie,this._renderer=Ke,this._element=We,this.isOpen=!1,this._factoryDropDownAnimation=lt.build(ci),this._subscription=V.isOpenChange.subscribe((ut=>{this.isOpen=ut;const dt=this._element.nativeElement.querySelector(".dropdown-menu");this._renderer.addClass(this._element.nativeElement.querySelector("div"),"open"),dt&&!vt()&&(this._renderer.addClass(dt,"show"),(dt.classList.contains("dropdown-menu-right")||dt.classList.contains("dropdown-menu-end"))&&(this._renderer.setStyle(dt,"left","auto"),this._renderer.setStyle(dt,"right","0")),"up"===this.direction&&(this._renderer.setStyle(dt,"top","auto"),this._renderer.setStyle(dt,"transform","translateY(-101%)"))),dt&&this._state.isAnimated&&this._factoryDropDownAnimation.create(dt).play(),this.cd.markForCheck(),this.cd.detectChanges()}))}get direction(){return this._state.direction}_contains(V){return this._element.nativeElement.contains(V)}ngOnDestroy(){this._subscription.unsubscribe()}}return I.ɵfac=function(V){return new(V||I)(a.Y36(Pn),a.Y36(a.sBO),a.Y36(a.Qsj),a.Y36(a.SBq),a.Y36(yr._j))},I.ɵcmp=a.Xpm({type:I,selectors:[["bs-dropdown-container"]],hostAttrs:[2,"display","block","position","absolute","z-index","1040"],ngContentSelectors:$r,decls:2,vars:9,consts:[[3,"ngClass"]],template:function(V,ie){1&V&&(a.F$t(),a.TgZ(0,"div",0),a.Hsn(1),a.qZA()),2&V&&(a.ekj("dropup","up"===ie.direction)("show",ie.isOpen)("open",ie.isOpen),a.Q6J("ngClass",a.VKq(7,Rr,"down"===ie.direction)))},dependencies:[_n.mk],encapsulation:2,changeDetection:0}),I})(),$i=(()=>{class I{constructor(V,ie,Ke,We,lt,ut,dt){this._elementRef=V,this._renderer=ie,this._viewContainerRef=Ke,this._cis=We,this._state=lt,this._config=ut,this.dropup=!1,this._isInlineOpen=!1,this._isDisabled=!1,this._subscriptions=[],this._isInited=!1,this._state.autoClose=this._config.autoClose,this._state.insideClick=this._config.insideClick,this._state.isAnimated=this._config.isAnimated,this._state.stopOnClickPropagation=this._config.stopOnClickPropagation,this._factoryDropDownAnimation=dt.build(ci),this._dropdown=this._cis.createLoader(this._elementRef,this._viewContainerRef,this._renderer).provide({provide:Pn,useValue:this._state}),this.onShown=this._dropdown.onShown,this.onHidden=this._dropdown.onHidden,this.isOpenChange=this._state.isOpenChange}set autoClose(V){this._state.autoClose=V}get autoClose(){return this._state.autoClose}set isAnimated(V){this._state.isAnimated=V}get isAnimated(){return this._state.isAnimated}set insideClick(V){this._state.insideClick=V}get insideClick(){return this._state.insideClick}set isDisabled(V){this._isDisabled=V,this._state.isDisabledChange.emit(V),V&&this.hide()}get isDisabled(){return this._isDisabled}get isOpen(){return this._showInline?this._isInlineOpen:this._dropdown.isShown}set isOpen(V){V?this.show():this.hide()}get isBs4(){return!vt()}get _showInline(){return!this.container}ngOnInit(){this._isInited||(this._isInited=!0,this._dropdown.listen({outsideClick:!1,triggers:this.triggers,show:()=>this.show()}),this._subscriptions.push(this._state.toggleClick.subscribe((V=>this.toggle(V)))),this._subscriptions.push(this._state.isDisabledChange.pipe((0,b.h)((V=>V))).subscribe((()=>this.hide()))))}show(){if(!this.isOpen&&!this.isDisabled){if(this._showInline)return this._inlinedMenu||this._state.dropdownMenu.then((V=>{this._dropdown.attachInline(V.viewContainer,V.templateRef),this._inlinedMenu=this._dropdown._inlineViewRef,this.addBs4Polyfills(),this._inlinedMenu&&this._renderer.addClass(this._inlinedMenu.rootNodes[0].parentNode,"open"),this.playAnimation()})).catch(),this.addBs4Polyfills(),this._isInlineOpen=!0,this.onShown.emit(!0),this._state.isOpenChange.emit(!0),void this.playAnimation();this._state.dropdownMenu.then((V=>{const ie=this.dropup||typeof this.dropup<"u"&&this.dropup;this._state.direction=ie?"up":"down";const Ke=this.placement||(ie?"top start":"bottom start");this._dropdown.attach(di).to(this.container).position({attachment:Ke}).show({content:V.templateRef,placement:Ke}),this._state.isOpenChange.emit(!0)})).catch()}}hide(){!this.isOpen||(this._showInline?(this.removeShowClass(),this.removeDropupStyles(),this._isInlineOpen=!1,this.onHidden.emit(!0)):this._dropdown.hide(),this._state.isOpenChange.emit(!1))}toggle(V){return this.isOpen||!V?this.hide():this.show()}_contains(V){return this._elementRef.nativeElement.contains(V.target)||this._dropdown.instance&&this._dropdown.instance._contains(V.target)}navigationClick(V){const ie=this._elementRef.nativeElement.querySelector(".dropdown-menu");if(!ie)return;const Ke=this._elementRef.nativeElement.ownerDocument.activeElement,We=ie.querySelectorAll(".dropdown-item");switch(V.keyCode){case 38:this._state.counts>0&&We[--this._state.counts].focus();break;case 40:this._state.counts+1<We.length&&(Ke.classList!==We[this._state.counts].classList?We[this._state.counts].focus():We[++this._state.counts].focus())}V.preventDefault()}ngOnDestroy(){for(const V of this._subscriptions)V.unsubscribe();this._dropdown.dispose()}addBs4Polyfills(){vt()||(this.addShowClass(),this.checkRightAlignment(),this.addDropupStyles())}playAnimation(){this._state.isAnimated&&this._inlinedMenu&&setTimeout((()=>{this._inlinedMenu&&this._factoryDropDownAnimation.create(this._inlinedMenu.rootNodes[0]).play()}))}addShowClass(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&this._renderer.addClass(this._inlinedMenu.rootNodes[0],"show")}removeShowClass(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&this._renderer.removeClass(this._inlinedMenu.rootNodes[0],"show")}checkRightAlignment(){if(this._inlinedMenu&&this._inlinedMenu.rootNodes[0]){const V=this._inlinedMenu.rootNodes[0].classList.contains("dropdown-menu-right")||this._inlinedMenu.rootNodes[0].classList.contains("dropdown-menu-end");this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"left",V?"auto":"0"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"right",V?"0":"auto")}}addDropupStyles(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&(this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"top",this.dropup?"auto":"100%"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"transform",this.dropup?"translateY(-101%)":"translateY(0)"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"bottom","auto"))}removeDropupStyles(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&(this._renderer.removeStyle(this._inlinedMenu.rootNodes[0],"top"),this._renderer.removeStyle(this._inlinedMenu.rootNodes[0],"transform"),this._renderer.removeStyle(this._inlinedMenu.rootNodes[0],"bottom"))}}return I.ɵfac=function(V){return new(V||I)(a.Y36(a.SBq),a.Y36(a.Qsj),a.Y36(a.s_b),a.Y36(pr),a.Y36(Pn),a.Y36(Si),a.Y36(yr._j))},I.ɵdir=a.lG2({type:I,selectors:[["","bsDropdown",""],["","dropdown",""]],hostVars:6,hostBindings:function(V,ie){1&V&&a.NdJ("keydown.arrowDown",(function(We){return ie.navigationClick(We)}))("keydown.arrowUp",(function(We){return ie.navigationClick(We)})),2&V&&a.ekj("dropup",ie.dropup)("open",ie.isOpen)("show",ie.isOpen&&ie.isBs4)},inputs:{placement:"placement",triggers:"triggers",container:"container",dropup:"dropup",autoClose:"autoClose",isAnimated:"isAnimated",insideClick:"insideClick",isDisabled:"isDisabled",isOpen:"isOpen"},outputs:{isOpenChange:"isOpenChange",onShown:"onShown",onHidden:"onHidden"},exportAs:["bs-dropdown"],features:[a._Bn([Pn])]}),I})(),vi=(()=>{class I{constructor(V,ie,Ke){V.resolveDropdownMenu({templateRef:Ke,viewContainer:ie})}}return I.ɵfac=function(V){return new(V||I)(a.Y36(Pn),a.Y36(a.s_b),a.Y36(a.Rgc))},I.ɵdir=a.lG2({type:I,selectors:[["","bsDropdownMenu",""],["","dropdownMenu",""]],exportAs:["bs-dropdown-menu"]}),I})(),Jr=(()=>{class I{constructor(V,ie,Ke,We,lt){this._changeDetectorRef=V,this._dropdown=ie,this._element=Ke,this._renderer=We,this._state=lt,this.isOpen=!1,this._subscriptions=[],this._subscriptions.push(this._state.isOpenChange.subscribe((ut=>{this.isOpen=ut,ut?(this._documentClickListener=this._renderer.listen("document","click",(dt=>{this._state.autoClose&&2!==dt.button&&!this._element.nativeElement.contains(dt.target)&&(!this._state.insideClick||!this._dropdown._contains(dt))&&(this._state.toggleClick.emit(!1),this._changeDetectorRef.detectChanges())})),this._escKeyUpListener=this._renderer.listen(this._element.nativeElement,"keyup.esc",(()=>{this._state.autoClose&&(this._state.toggleClick.emit(!1),this._changeDetectorRef.detectChanges())}))):(this._documentClickListener&&this._documentClickListener(),this._escKeyUpListener&&this._escKeyUpListener())}))),this._subscriptions.push(this._state.isDisabledChange.subscribe((ut=>this.isDisabled=ut||void 0)))}onClick(V){this._state.stopOnClickPropagation&&V.stopPropagation(),!this.isDisabled&&this._state.toggleClick.emit(!0)}ngOnDestroy(){this._documentClickListener&&this._documentClickListener(),this._escKeyUpListener&&this._escKeyUpListener();for(const V of this._subscriptions)V.unsubscribe()}}return I.ɵfac=function(V){return new(V||I)(a.Y36(a.sBO),a.Y36($i),a.Y36(a.SBq),a.Y36(a.Qsj),a.Y36(Pn))},I.ɵdir=a.lG2({type:I,selectors:[["","bsDropdownToggle",""],["","dropdownToggle",""]],hostVars:3,hostBindings:function(V,ie){1&V&&a.NdJ("click",(function(We){return ie.onClick(We)})),2&V&&a.uIk("aria-haspopup",!0)("disabled",ie.isDisabled)("aria-expanded",ie.isOpen)},exportAs:["bs-dropdown-toggle"]}),I})(),xr=(()=>{class I{static forRoot(){return{ngModule:I,providers:[pr,fn,Pn]}}}return I.ɵfac=function(V){return new(V||I)},I.ɵmod=a.oAB({type:I}),I.ɵinj=a.cJS({imports:[_n.ez]}),I})()}}]);
Back to Directory File Manager