Viewing File: /usr/local/cpanel/whostmgr/docroot/templates/link-server-nodes/vendor.min.js
(self.webpackChunklink_server_nodes=self.webpackChunklink_server_nodes||[]).push([[736],{109:(Z,F,v)=>{"use strict";v.d(F,{F:()=>o});var o=(()=>{return(p=o||(o={}))[p.GET=0]="GET",p[p.HEAD=1]="HEAD",p[p.POST=2]="POST",p[p.PUT=3]="PUT",p[p.DELETE=4]="DELETE",p[p.CONNECT=5]="CONNECT",p[p.OPTIONS=6]="OPTIONS",p[p.TRACE=7]="TRACE",p[p.PATCH=8]="PATCH",o;var p})()},7709:(Z,F,v)=>{"use strict";v.d(F,{h:()=>o});class o{constructor(L,I){if(!L)throw new Error("You must provide a name when creating a name/value argument");this.name=L,this.value=I}}},3022:(Z,F,v)=>{"use strict";v.d(F,{tO:()=>Ke,VN:()=>Be});var o=v(4235),p=v.n(o),A=v(1305),L=v.n(A),I=v(4798),B=v.n(I),V=v(9138),j=v.n(V),te=v(248),U=v.n(te),X=v(1503),oe=v.n(X),De=v(7614),Se=v.n(De);function xe(rt){if(p()(rt)||L()(rt)||B()(rt)||j()(rt)||U()(rt))return!0;if(!Se()(rt)&&!oe()(rt))return!1;for(const nt in rt)if(!xe(rt[nt]))return!1;return!0}class Be{constructor(){this.contentType="application/x-www-form-urlencoded",this.separatorStart="",this.separatorEnd="",this.recordSeparator="&"}encode(nt,Ge,Me){if(!nt)throw new Error("Name must have a non-empty value");return`${nt}=${encodeURIComponent(Ge.toString())}`+(Me?"":this.recordSeparator)}}class Ke{constructor(){this.contentType="application/json",this.separatorStart="{",this.separatorEnd="}",this.recordSeparator=","}encode(nt,Ge,Me){if(!nt)throw new Error("Name must have a non-empty value");if(!xe(Ge))throw new Error("The passed in value can not be serialized to JSON");return JSON.stringify(nt)+":"+JSON.stringify(Ge)+(Me?"":this.recordSeparator)}}},3357:(Z,F,v)=>{"use strict";v.d(F,{p:()=>o,w:()=>p});var o=(()=>{return(A=o||(o={}))[A.Contains=0]="Contains",A[A.Begins=1]="Begins",A[A.Ends=2]="Ends",A[A.Matches=3]="Matches",A[A.Equal=4]="Equal",A[A.NotEqual=5]="NotEqual",A[A.LessThan=6]="LessThan",A[A.LessThanUnlimited=7]="LessThanUnlimited",A[A.GreaterThan=8]="GreaterThan",A[A.GreaterThanUnlimited=9]="GreaterThanUnlimited",A[A.Defined=10]="Defined",A[A.Undefined=11]="Undefined",o;var A})();class p{constructor(L,I,B){if(!L)throw new Error("You must define a non-empty column name.");this.column=L,this.operator=I,this.value=B}}},6962:(Z,F,v)=>{"use strict";v.d(F,{a:()=>o});class o{get pathname(){return window.location.pathname}get port(){return window.location.port}get hostname(){return window.location.hostname}get protocol(){return window.location.protocol}}},5380:(Z,F,v)=>{"use strict";v.d(F,{uE:()=>A});const p=Number.POSITIVE_INFINITY;class A{constructor(I=1,B=20){if(I<=0)throw new Error("The page must be 1 or greater. This is the logical page, not a programming index.");if(B<=0)throw new Error("The pageSize must be set to 'ALL' or a number > 0");this.page=I,this.pageSize=B}all(){return this.pageSize===p}}},5712:(Z,F,v)=>{"use strict";v.d(F,{b5:()=>B});const I={80:"other",443:"other",2082:"cpanel",2083:"cpanel",2086:"whostmgr",2087:"whostmgr",2095:"webmail",2096:"webmail",9876:"unittest",9877:"unittest",9878:"unittest",9879:"unittest",frontend:"cpanel",webmail:"webmail"};class B{constructor(j){this.unprotectedPaths=["/resetpass","/invitation"],this.protocol=j.protocol;let te=j.port;te||(function o(V){return/^https:$/i.test(V)}(this.protocol)?te="443":function p(V){return/^http:$/i.test(V)}(this.protocol)&&(te="80")),this.domain=j.hostname,this.port=parseInt(te,10),this.path=j.pathname;const U=this.path.match(/((?:\/cpsess\d+)?)(?:\/([^\/]+))?/)||[];if(this.applicationName=/^whm\./.test(this.domain)?I[2087]:/^cpanel\./.test(this.domain)?I[2083]:/^webmail\./.test(this.domain)?I[2095]:I[te.toString()]||I[U[2]]||"whostmgr",this.securityToken=U[1]||"",this.applicationPath=this.securityToken?this.path.replace(this.securityToken,""):this.path,this.theme="",!this.isUnprotected&&(this.isCpanel||this.isWebmail)){const oe=this.path.split("/");this.theme=oe[3]}this.themePath="";let X=this.securityToken+"/";this.isUnprotected?X="/":this.isCpanel?X+="frontend/"+this.theme+"/":this.isWebmail?X+="webmail/"+this.theme+"/":this.isOther&&(X="/"),this.themePath=X,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 A(V){return V&&V.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(j){return this.themePath+j}buildFullPath(j){return this.protocol+"//"+this.domain+":"+this.port+this.buildPath(j)}buildTokenPath(j){return this.protocol+"//"+this.domain+":"+this.port+this.securityToken+j}}},755:(Z,F,v)=>{"use strict";v.d(F,{ER:()=>p,PE:()=>A,Sr:()=>o});var o=(()=>{return(L=o||(o={}))[L.Ascending=0]="Ascending",L[L.Descending=1]="Descending",o;var L})(),p=(()=>{return(L=p||(p={}))[L.Lexicographic=0]="Lexicographic",L[L.Ipv4=1]="Ipv4",L[L.Numeric=2]="Numeric",L[L.NumericZeroAsMax=3]="NumericZeroAsMax",p;var L})();class A{constructor(I,B=o.Ascending,V=p.Lexicographic){if(!I)throw new Error("You must provide a non-empty column name for a Sort rule.");this.column=I,this.direction=B,this.type=V}}},5397:(Z,F,v)=>{"use strict";v.d(F,{r:()=>_t,N:()=>yt});var o=v(1978),p=v.n(o);function A(ye){return ye?"1":"0"}var B=v(755),V=v(3357),j=v(7709),te=v(5380);class U{constructor(ee=[]){this.headers=ee}push(ee){this.headers.push(ee)}forEach(ee,me){this.headers.forEach(ee,me)}toArray(){const ee=[];return this.headers.forEach((me=>ee.push({name:me.name,value:me.value}))),ee}toObject(){return this.headers.reduce(((ee,me)=>(ee[me.name]=me.value,ee)),{})}}class X{constructor(ee){this._header=ee}get name(){return this._header.name}get value(){return this._header.value}}class oe extends Error{constructor(ee){super(ee),this.name="CpanelApiTokenInvalidError",Object.setPrototypeOf(this,oe.prototype)}}class De extends Error{constructor(ee){super(ee),this.name="CpanelApiTokenMismatchError",Object.setPrototypeOf(this,De.prototype)}}class Se extends X{constructor(ee,me){if(!ee)throw new oe("You must pass a valid token to the constructor.");if(!me&&!/^.+[:]/.test(ee))throw new oe("You must pass a cPanel username associated with the cPanel API token.");if(!me&&!/[:].+$/.test(ee))throw new oe("You must pass a valid cPanel API token.");super({name:"Authorization",value:`cpanel ${me?me+":":""}${ee}`})}}Error,Error;var rt=v(109);const Ge=new class nt{constructor(){this.map={},this.map.DEFAULT={verb:"DEFAULT",dataInBody:!0},[rt.F.GET,rt.F.DELETE,rt.F.HEAD].forEach((ee=>{const me=rt.F[ee].toString();this.map[me]={verb:me,dataInBody:!1}})),[rt.F.POST,rt.F.PUT,rt.F.PATCH].forEach((ee=>{const me=rt.F[ee].toString();this.map[me]={verb:me,dataInBody:!0}}))}getRule(ee){const me="string"==typeof ee?ee:rt.F[ee].toString();let je=this.map[me];return je||(je=this.map.DEFAULT),je}};var Me=v(3022),We=v(8448),Xt=v.n(We),yt=(()=>{return(ye=yt||(yt={})).JsonApi="json-api",ye.XmlApi="xml-api",yt;var ye})();class _t extends class Ke{constructor(ee){this.namespace="",this.method="",this.arguments=[],this.sorts=[],this.filters=[],this.columns=[],this.pager=new te.uE,this.headers=new U,this._usePager=!1,this.defaultConfig={analytics:!1,json:!1},this.config=this.defaultConfig,ee&&(this.method=ee.method,ee.namespace&&(this.namespace=ee.namespace),ee.arguments&&ee.arguments.forEach((me=>{this.addArgument(me)})),ee.sorts&&ee.sorts.forEach((me=>{this.addSort(me)})),ee.filters&&ee.filters.forEach((me=>{this.addFilter(me)})),ee.columns&&ee.columns.forEach((me=>this.addColumn(me))),ee.pager&&this.paginate(ee.pager),this.config=ee.config?ee.config:this.defaultConfig,ee.headers&&ee.headers.forEach((me=>{this.addHeader(me)})))}get usePager(){return this._usePager}addArgument(ee){return this.arguments.push(ee instanceof j.h?ee:new j.h(ee.name,ee.value)),this}addSort(ee){return this.sorts.push(ee instanceof B.PE?ee:new B.PE(ee.column,ee.direction,ee.type)),this}addFilter(ee){return this.filters.push(ee instanceof V.w?ee:new V.w(ee.column,ee.operator,ee.value)),this}addColumn(ee){return this.columns.push(ee),this}addHeader(ee){return this.headers.push(ee instanceof X?ee:new X(ee)),this}paginate(ee){return this.pager=ee instanceof te.uE?ee:new te.uE(ee.page,ee.pageSize||20),this._usePager=!0,this}}{constructor(ee,me){if(super(me),this.apiType=yt.JsonApi,ee!=yt.JsonApi&&ee!=yt.XmlApi)throw new Error("You must define the API type for the whmapi call before you generate a request.");if(this.apiType=ee,!this.method)throw new Error("You must define a method for the WHM API call before you generate a request")}addHeader(ee){if(ee instanceof Se)throw new De("A CpanelApiTokenHeader cannot be used on a WhmApiRequest");return super.addHeader(ee),this}_build(ee,me){let je="";return ee.forEach(((Te,He,pt)=>{je+=me.encode(Te.name,Te.value,He===pt.length-1)})),me.separatorStart+je+me.separatorEnd}_make_whm_api_fieldspec_from_number(ee){return Xt()("",Math.floor(ee/26),"z")+"abcdefghijklmnopqrstuvwxyz".charAt(ee%26)}_generateArguments(ee){ee.push({name:"api.version",value:1}),this.arguments.forEach((je=>ee.push(je)))}_generateSorts(ee){this.sorts.forEach(((me,je)=>{0===je&&ee.push({name:"api.sort.enable",value:A(!0)});const Te=`api.sort.${this._make_whm_api_fieldspec_from_number(je)}`;ee.push({name:`${Te}.field`,value:me.column}),ee.push({name:`${Te}.reverse`,value:A(me.direction!==B.Sr.Ascending)}),ee.push({name:`${Te}.method`,value:p()(B.ER[me.type])})}))}_lookupFilterOperator(ee){switch(ee){case V.p.GreaterThanUnlimited:return"gt_handle_unlimited";case V.p.GreaterThan:return"gt";case V.p.LessThanUnlimited:return"lt_handle_unlimited";case V.p.LessThan:return"lt";case V.p.Equal:return"eq";case V.p.Begins:return"begins";case V.p.Contains:return"contains";default:throw new Error(`Unrecoginzed FilterOperator ${V.p[ee]} for WHM API 1`)}}_generateFilters(ee){this.filters.forEach(((me,je)=>{0===je&&(ee.push({name:"api.filter.enable",value:A(!0)}),ee.push({name:"api.filter.verbose",value:A(!0)}));const Te=`api.filter.${this._make_whm_api_fieldspec_from_number(je)}`;ee.push({name:`${Te}.field`,value:me.column}),ee.push({name:`${Te}.type`,value:this._lookupFilterOperator(me.operator)}),ee.push({name:`${Te}.arg0`,value:me.value})}))}_translatePageToStart(ee){return(ee.page-1)*ee.pageSize+1}_generatePagination(ee){if(!this.usePager)return;const me=this.pager.all();ee.push({name:"api.chunk.enable",value:A(!0)}),ee.push({name:"api.chunk.verbose",value:A(!0)}),ee.push({name:"api.chunk.start",value:me?-1:this._translatePageToStart(this.pager)}),me||ee.push({name:"api.chunk.size",value:this.pager.pageSize})}generate(ee){ee||(ee={verb:rt.F.POST,encoder:this.config.json?new Me.tO:new Me.VN}),ee.encoder||(ee.encoder=this.config.json?new Me.tO:new Me.VN);const me=Ge.getRule(ee.verb),je={headers:new U([{name:"Content-Type",value:ee.encoder.contentType}]),url:["",this.apiType,this.method].map(encodeURIComponent).join("/"),body:""},Te=[];this._generateArguments(Te),this._generateSorts(Te),this._generateFilters(Te),this._generatePagination(Te);const He=this._build(Te,ee.encoder);return me.dataInBody?je.body=He:je.url+=ee.verb===rt.F.GET?`?${He}`:He,this.headers.forEach((pt=>{je.headers.push({name:pt.name,value:pt.value})})),je}}},269:(Z,F,v)=>{"use strict";F.g=void 0;const p=v(1680);Object.defineProperty(F,"g",{enumerable:!0,get:function(){return p.Locale}})},5074:(Z,F)=>{"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.CLDR=void 0,F.CLDR=class v{constructor(p){this.rawData=p,this.validateCLDR(this.rawData)}validateCLDR(p){if(!p)throw new Error("CLDR data cannot be null");if(!p.locale)throw new Error("CLDR data is missing locale information");if(!Object.prototype.hasOwnProperty.call(p,"functions")||Object.prototype.hasOwnProperty.call(p,"get_plural_form")||"function"!=typeof p.functions.get_plural_form)throw new Error("CLDR data is missing function get_plural_form");if(!Object.prototype.hasOwnProperty.call(p,"datetime_info"))throw new Error("CLDR data is missing datetime_info");if(!Object.prototype.hasOwnProperty.call(p,"misc_info"))throw new Error("CLDR data is missing misc_info");if(!Object.prototype.hasOwnProperty.call(p.misc_info,"cldr_formats"))throw new Error("CLDR data is missing cldr_formats");if(!Object.prototype.hasOwnProperty.call(p.misc_info,"orientation")||!Object.prototype.hasOwnProperty.call(p.misc_info.orientation,"characters"))throw new Error("CLDR data is missing orientation information");if(!Object.prototype.hasOwnProperty.call(p.misc_info,"delimiters"))throw new Error("CLDR data is missing delimiter information");return!0}getLocale(){return this.rawData.locale}getPluralForm(p,...A){return(0,this.rawData.functions.get_plural_form)(p,...A)}getDateTimeInfo(){return this.rawData.datetime_info}getFormats(){return this.rawData.misc_info.cldr_formats}getDelimiters(){return this.rawData.misc_info.delimiters}isRtl(){return"right-to-left"===this.rawData.misc_info.orientation.characters}isLtr(){return"left-to-right"===this.rawData.misc_info.orientation.characters}}},1680:(Z,F,v)=>{"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.Locale=void 0;const o=v(2889),p=v(9483),A=v(741),L=v(786),I=v(5074);F.Locale=class B{constructor(j,te={}){this.lexicon=te,this._cldr=new I.CLDR(j)}maketext(j,...te){return(0,o.maketext)({cldr:this._cldr,lexicon:this.lexicon,template:j,args:te})}localDatetime(j,te){return this._datetimeWrapper(p.local_datetime,j,te)}datetime(j,te){return this._datetimeWrapper(p.datetime,j,te)}_datetimeWrapper(j,te,U){return j({cldr:this._cldr,args:[te,U]})}getCurrentLocale(){return this._cldr.getLocale()}get isRtl(){return this._cldr.isRtl()}get isLtr(){return this._cldr.isLtr()}get cldr(){return this._cldr}numf(j,te){return this._formatNumber(A.numf,j,te)}format_bytes(j,te){return this._formatNumber(A.format_bytes,j,te)}_formatNumber(j,...te){return this._callCLDRFunc(j,te)}list_and(...j){return this._callCLDRFunc(L.list_and,j)}list_and_quoted(...j){return this._callCLDRFunc(L.list_and_quoted,j)}list_or(...j){return this._callCLDRFunc(L.list_or,j)}list_or_quoted(...j){return this._callCLDRFunc(L.list_or_quoted,j)}_callCLDRFunc(j,te){return j({cldr:this._cldr,args:te})}}},7296:(Z,F,v)=>{"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.asis=void 0;const o=v(5247);F.asis=function p({args:[A,...L]}){if(!A||L.length>0||"string"!=typeof A)throw new Error("asis function accepts one non translatable string.");return(A=A.replace(/chr\((\d+)\)/g,(function(I,B){return o.functions.chr(Number(B))}))).replace(/amp\(\)/g,(function(){return o.functions.amp()}))}},527:(Z,F)=>{"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.boolean=void 0,F.boolean=function v({args:[o,p,A,L]}){if(null==p||0===p.length||null==A||0===A.length)throw new Error("boolean function needs a valid whenTrue, whenFalse arguments.");return String(typeof o<"u"&&o?p:L&&null==o?L:A)}},9076:(Z,F)=>{"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.comment=void 0,F.comment=function v({args:[o]}){return""}},9483:(Z,F,v)=>{"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.local_datetime=F.datetime=F.dateToLocalDayNum=void 0;const o=v(5074),p=function(U){const X=U.getUTCDay()-1;return X<0?6:X},A=[7,1,2,3,4,5,6];function L(U,X){return(A[U.getUTCDay()]+7-X)%7+1}F.dateToLocalDayNum=L;const I=function(U,X,oe){let De="",Se=0;return X=X||0,oe=String(void 0===oe?" ":oe),Se=X-String(U).length,Se>0&&(De=[...Array(Se)].map(String.prototype.valueOf,oe).join("")),De+U};function B({cldr:U,args:[X=new Date,oe],tzString:De="UTC"}){if("number"==typeof X&&/^-?\d+$/.test(X.toString())&&(X=new Date(1e3*X)),!(X instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(U instanceof o.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const Se=U.getDateTimeInfo();return"string"==typeof oe&&/^(?:date|time|datetime|special)_format_/.test(oe)&&(oe=Se[oe]),oe||(oe=Se.date_format_long),oe.replace(/('[^']+')|(([a-zA-Z])\3*)/g,(function(xe,ft,Be){return ft?function V(U){return U.substr(1,U.length-2)}(ft):function j(U,X,oe,De){switch(oe){case"yy":return Math.abs(U.getUTCFullYear()).toString().slice(-2);case"y":case"yyy":case"yyyy":return String(Math.abs(U.getUTCFullYear()));case"MMMMM":return X.month_format_narrow[U.getUTCMonth()];case"LLLLL":return X.month_stand_alone_narrow[U.getUTCMonth()];case"MMMM":return X.month_format_wide[U.getUTCMonth()];case"LLLL":return X.month_stand_alone_wide[U.getUTCMonth()];case"MMM":return X.month_format_abbreviated[U.getUTCMonth()];case"LLL":return X.month_stand_alone_abbreviated[U.getUTCMonth()];case"MM":case"LL":return I((U.getUTCMonth()+1).toString(),2,"0");case"M":case"L":return String(U.getUTCMonth()+1);case"EEEE":return X.day_format_wide[p(U)];case"EEE":case"EE":case"E":return X.day_format_abbreviated[p(U)];case"EEEEE":return X.day_format_narrow[p(U)];case"cccc":return X.day_stand_alone_wide[p(U)];case"ccc":return X.day_stand_alone_abbreviated[p(U)];case"cc":case"c":return String(L(U,Number(X.first_day_of_week)));case"ccccc":return X.day_stand_alone_narrow[p(U)];case"dd":return I(U.getUTCDate().toString(),2,"0");case"d":return String(U.getUTCDate());case"h":case"hh":{let Se=U.getUTCHours();Se>12&&(Se-=12),0===Se&&(Se=12);const xe="hh"===oe?I(Se.toString(),2,"0"):Se;return String(xe)}case"H":return String(U.getUTCHours());case"HH":return I(U.getUTCHours().toString(),2,"0");case"m":return String(U.getUTCMinutes());case"mm":return I(U.getUTCMinutes().toString(),2,"0");case"s":return String(U.getUTCSeconds());case"ss":return I(U.getUTCSeconds().toString(),2,"0");case"a":return U.getUTCHours()<12?X.am_pm_abbreviated[0]:X.am_pm_abbreviated[1];case"z":case"zzzz":case"v":case"vvvv":return De;case"G":case"GG":case"GGG":return X.era_abbreviated[U.getUTCFullYear()<0?0:1];case"GGGGG":return X.era_narrow[U.getUTCFullYear()<0?0:1];case"GGGG":return X.era_wide[U.getUTCFullYear()<0?0:1]}return oe}(X,Se,Be,De)}))}F.datetime=B,F.local_datetime=function te({cldr:U,args:[X=new Date,oe]}){if("number"==typeof X&&/^-?\d+$/.test(X.toString())&&(X=new Date(1e3*X)),!(X instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(U instanceof o.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const De=X.getTimezoneOffset();(X=new Date(X)).setMinutes(X.getMinutes()-De);const Se=De>0?"-":"+",xe=Math.floor(Math.abs(De)/60),ft=Math.abs(De%60);return B({cldr:U,args:[X,oe],tzString:"GMT"+Se+I(xe.toString(),2,"0")+I(ft.toString(),2,"0")})}},40:(Z,F,v)=>{"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.functions=void 0;const o=v(7296),p=v(5247),A=v(9076),L=v(527),I=v(741),B=v(9483),V=v(786);F.functions={asis:o.asis,output:p.output,comment:A.comment,boolean:L.boolean,numf:I.numf,numerate:I.numerate,quant:I.quant,format_bytes:I.format_bytes,datetime:B.datetime,local_datetime:B.local_datetime,list_and:V.list_and,list_or:V.list_or,list_or_quoted:V.list_or_quoted,list_and_quoted:V.list_and_quoted}},786:(Z,F)=>{"use strict";function o(V,j,...te){let U=te.slice();switch(1===U.length&&Array.isArray(U[0])&&(U=U[0].slice()),(typeof U>"u"||0===U.length)&&(U=[""]),U=U.map((X=>function v(V,j){const te=V.getDelimiters();return te&&Object.prototype.hasOwnProperty.call(te,"quotation_start")&&Object.prototype.hasOwnProperty.call(te,"quotation_end")?te.quotation_start+j+te.quotation_end:j}(V,X))),j){case"list_and":return I({cldr:V,args:U});case"list_or":return B({cldr:V,args:U});default:throw new Error("Did you mean list_and_quoted or list_or_quoted?")}}function L(V,j,...te){let U=te.slice();1===U.length&&Array.isArray(U[0])&&(U=U[0].slice());const X=U.length;let oe,De,Se,xe;try{oe=V.getFormats()[j]}catch{throw new Error("CLDR Data is missing information related to formatting list.")}const ft=function(Be,Ke){switch(Ke){case"0":return Se;case"1":return U[xe++]}};switch(X){case 0:return"";case 1:return String(U[0]);default:if(Se=2===X?oe[2]:oe.start,Se=Se.replace(/\{([01])\}/g,(function(Be,Ke){return U[Ke]})),2===X)return Se;for(xe=2;xe<X;)De=oe[xe===X-1?"end":"middle"],Se=De.replace(/\{([01])\}/g,ft);return Se}}function I({cldr:V,args:[...j]}){return L(V,"list",...j)}function B({cldr:V,args:[...j]}){return L(V,"list_or",...j)}Object.defineProperty(F,"__esModule",{value:!0}),F.list_or=F.list_and=F.list_or_quoted=F.list_and_quoted=void 0,F.list_and_quoted=function p({cldr:V,args:[...j]}){return o(V,"list_and",...j)},F.list_or_quoted=function A({cldr:V,args:[...j]}){return o(V,"list_or",...j)},F.list_and=I,F.list_or=B},5247:(Z,F,v)=>{"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.functions=F.output=void 0;const o=v(7906),p=v(8533);F.output=function A({args:[L,...I]}){if(I&&"string"==typeof I[0]&&(I[0]=I[0].replace(/chr\((\d+)\)/g,(function(B,V){return F.functions.chr(Number(V))})),I[0]=I[0].replace(/amp\(\)/g,(function(){return F.functions.amp()}))),"function"==typeof F.functions[L])return F.functions[L](...I);throw new Error(`Locale output function '${L}' is not implemented.`)},F.functions={amp:()=>(0,o.htmlEscape)("&"),apos:()=>(0,o.htmlEscape)("'"),quot:()=>(0,o.htmlEscape)('"'),underline:L=>`<u>${L}</u>`,strong:L=>`<strong>${L}</strong>`,em:L=>`<em>${L}</em>`,abbr:(L,I)=>`<abbr title="${I}">${L}</abbr>`,acronym:(L,I)=>`<abbr title="${I}" class="initialism">${L}</abbr>`,class:(L,...I)=>`<span class="${I.join(" ")}">${L}</span>`,chr(L){if("string"==typeof L&&(L=Number(L)),"number"!=typeof L||isNaN(L))throw new Error("chr needs a number as argument");return(0,o.htmlEscape)(String.fromCharCode(L))},url(L,...I){let B,V;if("object"==typeof I[I.length-1])if(B=I[I.length-1],2===I.length){if(B.html)throw new Error("Cannot provide both text and configuration with html attribute");V=I[0]}else B&&B.html?(V=B.html,delete B.html):V=L;else I.length%2==0?(B=(0,p.listToObject)(...I),B&&"html"in B&&""!==B.html?(V=B.html,delete B.html):V=L):(V=I.shift(),B=(0,p.listToObject)(...I));"_type"in B&&"offsite"===B._type&&(B.class="offsite",B.target="_blank",delete B._type);let j=`<a href="${L}"`;if("object"==typeof B)for(const te in B)Object.prototype.hasOwnProperty.call(B,te)&&(j+=` ${te}="${B[te]}"`);return j+=`>${V}</a>`,j}}},741:(Z,F,v)=>{"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.format_bytes=F.numf=F.quant=F.numerate=void 0;const o=v(5074);function A({cldr:V,args:[j,...te]}){if(!(V instanceof o.CLDR))throw new Error("`quant` function requires a valid CLDR instance for the `cldr` parameter.");let U,X=3;j instanceof Array?(X=j[1],U=j[0]):U=j;const oe=V.getPluralForm(U,...te),De=oe[0]?oe[0]:te[te.length-1];if(oe&&oe.length>=2&&oe[1])return De;const xe=I({cldr:V,args:[U,X]});return-1!==De.indexOf("%s")?De.replace(/%s/g,xe):V.isRtl()?De+" "+xe:xe+" "+De}function I({cldr:V,args:[j,te=6]}){if(!(V instanceof o.CLDR))throw new Error("`numf` function requires a valid CLDR instance for the `cldr` parameter.");if(/e/.test(j.toString()))return String(j);const{decimalFormat:U,decimalGroup:X,decimalDecimal:oe}=function L(V){const j={},te=V.getFormats();return Object.prototype.hasOwnProperty.call(te,"decimal")&&(j.decimalFormat=te.decimal),Object.prototype.hasOwnProperty.call(te,"_decimal_format_group")&&(j.decimalGroup=te._decimal_format_group),Object.prototype.hasOwnProperty.call(te,"_decimal_format_decimal")&&(j.decimalDecimal=te._decimal_format_decimal),j}(V);if(!U||!X||!oe)throw new Error("CLDR Data is missing information related to formatting decimals.");const De=j<0;j=Math.abs(j);let xe,ft,Se=Math.floor(j);/(?!')\.(?!')/.test(j.toString())&&(xe=String(j).replace(/^[^.]+/,"0"),xe=Number(xe).toFixed(te),/^1/.test(xe)?(Se++,j=Se,xe=void 0):xe=xe.replace(/^.*\./,"").replace(/0+$/,"")),ft=/(?!');(?!')/.test(U)?U.split(/(?!');(?!')/)[De?1:0]:(De?"-":"")+U;const rt=ft.match(/[0#].*[0#]/)[0].split(/(?!')\.(?!')/)[0].split("").reverse().join("").split(/(?!'),(?!')/);let nt;1===rt.length?nt="":(rt.pop(),nt=X);const Ge=String(Se).split("").reverse(),Me=[];let We;const Xt=function(_t){switch(_t){case"#":return Ge.shift()||"";case"0":return Ge.shift()||"0"}};for(;Ge.length;){rt.length&&(We=rt.shift());const _t=We.replace(/(?!')[0#]|[0#](?!')/g,Xt).replace(/'([.,0#;\xa4%E])'$/,"").replace(/'([.,0#;\xa4%E])'/,"$1");Me.push(_t)}const yt=Me.join(nt).split("").reverse().join("")+(xe?oe+xe:"");return ft.replace(/[0#].*[0#]/,yt)}F.numerate=function p({cldr:V,args:[j,...te]}){if(!(V instanceof o.CLDR))throw new Error("`numerate` function requires a valid CLDR instance for the `cldr` parameter.");const U=V.getPluralForm(j,...te);return U?U[0]:te[te.length-1]},F.quant=A,F.numf=I,F.format_bytes=function B({cldr:V,args:[j,te=2]}){if(!(V instanceof o.CLDR))throw new Error("`format_bytes` function requires a valid CLDR instance for the `cldr` parameter.");const U=["KB","MB","GB","TB","PB","EB","ZB","YB"],oe=j&&Math.min(Math.floor(Math.log(j)/Math.log(1024)),U.length);return oe?I({cldr:V,args:[j/Math.pow(1024,oe),te]})+" "+U[oe-1]:A({cldr:V,args:[j,"%s byte","%s bytes"]})}},2889:(Z,F,v)=>{"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.maketext=F.functions=F.config=void 0;const o=v(40);function I(B,V){const j=[];let te=!1,U=!1;return B.forEach((X=>{if("_"===X.charAt(0))if("_*"===X){if(U)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";j.push(...V),te=!0}else{const oe=X.match(F.config.underscoreDigitRe);if(oe){if(te)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";const[De,Se]=oe,xe=Number(Se)-1;if(!(xe in V))throw`The "${De}" substitution argument was not passed to the maketext function.`;j.push(V[xe]),U=!0}}else j.push(X)})),j}F.config={bracketRe:/([^~\[\]]+|~.|\[|\]|~)/g,underscoreDigitRe:/^_(\d+)$/,fauxComma:"",fauxCommaRe:new RegExp("","g"),tildeChars:new Set(["[","]","~"])},F.functions={...o.functions},F.maketext=function A({cldr:B,lexicon:V,template:j,args:te}){if("string"!=typeof j)throw"You must pass a string template to the maketext function.";if(-1===(j=V&&V[j]||j).indexOf("["))return j;const U=j.match(F.config.bracketRe)||[],X=[];let oe=!1,De="";if(U.forEach((Se=>{if("["===Se){if(oe)throw Error(`Invalid maketext string: ${j} \nThe string contains nested brackets.`);oe=!0}else if("]"===Se){if(!oe)throw Error(`Invalid maketext string: ${j} \nThe string contains an unmatched closing bracket character (]).`);if(!De)throw Error(`Invalid maketext string: ${j} \nThe string contains empty brackets. Use the escape character (~) if the bracket characters were meant to be printed literally.`);let xe;oe=!1;try{xe=function L(B,V,j){let te=V.split(",");if(te=te.map((oe=>oe.replace(F.config.fauxCommaRe,","))),1===te.length){if(!F.config.underscoreDigitRe.test(te[0]))throw"A bracket must contain more than one argument, unless it is a pure substition.\n Example: Number of accounts: [_1]";const[oe]=I(te,j);return String(oe)}const U=te.shift();if(!U||"function"!=typeof F.functions[U])throw`Invalid function "${U}" in maketext string.`;const X=I(te,j);return F.functions[U]({cldr:B,args:X})}(B,De,te)}catch(ft){throw Error(`Invalid maketext string: ${j} \n${ft}`)}De="",X.push(xe)}else if("~"===Se.charAt(0)){const xe=Se.charAt(1)||"~";oe?De+=","===xe?F.config.fauxComma:xe:F.config.tildeChars.has(xe)?X.push(xe):X.push(Se)}else oe?De+=Se:X.push(Se)})),oe)throw Error(`Invalid maketext string: ${j} \nThe string contains an unmatched opening bracket character ([).`);return X.join("")}},7906:(Z,F)=>{"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.htmlEscape=F.entityMap=void 0,F.entityMap={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},F.htmlEscape=function v(o){return String(o).replace(/[&<>"'\/]/g,(p=>F.entityMap[p]))}},8533:(Z,F)=>{"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.listToObject=void 0,F.listToObject=function p(...A){let L={};return function v(A){if(A.length%2>0)throw new Error("An associative list must have an even number of parts: {name1}, {value1}, {name2}, {value2} ...");for(let I=0,B=A.length;I<B;I+=2){const V=A[I];if("string"!=typeof V||""===V)throw new Error("An associative list must provide non-empty string names in the 1st, 3rd, ... positions.")}return!0}(A)&&(L=function o(A){const L=A.length,I={};let V,j,B=0;for(;B<L;)V=A[B],j=A[++B],I[V]=j,B++;return I}(A)),L}},50:(Z,F,v)=>{"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.commonValidators=void 0;const o=v(2257);F.commonValidators=new class p extends o.BaseValidator{constructor(){super(...arguments),this.prefix="common",this.STARTS_WITH_LETTER=/^[a-zA-Z]/,this.CONTAINS_SPACES=/^\S*$/}required(L){const I=L||this.locale.maketext("This field is required.");return B=>{let V={},j=B.value;return j&&(j=j.toString()),j&&j.length?null:(V=this.addError(V,"required",I),V)}}requiredTrue(L){const I=L||this.locale.maketext("This control's value should be true.");return B=>{let V={};return!0!==B.value?(V=this.addError(V,"requiredTrue",I),V):null}}startsWithLetter(L){return I=>{let B={};return I.value&&!this.STARTS_WITH_LETTER.test(I.value)?(B=this.addError(B,"doesNotStartWithLetter",L),B):null}}containsSpaces(L){return I=>{let B={};return I.value&&!this.CONTAINS_SPACES.test(I.value)?(B=this.addError(B,"containsSpace",L),B):null}}minLength(L,I){return B=>{let V={};return B.value&&B.value.length<I?(V=this.addError(V,"minLength",L),V):null}}maxLength(L,I){return B=>{let V={};return B.value&&B.value.length>I?(V=this.addError(V,"maxLength",L),V):null}}min(L,I){return B=>{let V={};return B.value&&B.value<I?(V=this.addError(V,"min",L),V):null}}max(L,I){return B=>{let V={};return B.value&&B.value>I?(V=this.addError(V,"max",L),V):null}}}},7414:(Z,F,v)=>{"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.cPUserNoteValidators=void 0;const o=v(2257),p=v(9761),L=/[^ \n\P{White_Space}]|[^ \n\P{Control}]|[^ \P{Separator}]/u;F.cPUserNoteValidators=new class I extends o.BaseValidator{constructor(){super(...arguments),this.prefix="note"}validate(V=250,j=""){return te=>{let U=p.stringValidators.validUnicode()(te);if(!U){const X=this.locale.maketext("This note is too long.");U=p.stringValidators.maxCharacterLength(X)(V,te)}if(!U){const X=te.match(L);if(X){U={};const oe=X.index,De=X[0].codePointAt(0);this.addError(U,"character",this.locale.maketext("[asis,Unicode] character [numf,_1] (position [numf,_2]) is forbidden.",De,1+oe))}}return U}}}},6128:(Z,F,v)=>{"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.cpanelUsernameValidators=void 0;const o=v(2257);F.cpanelUsernameValidators=new class p extends o.BaseValidator{constructor(){super(...arguments),this.prefix="cpanelUsername",this.VALID_USERNAME=/^(?![-.0-9])[a-z0-9]{1,16}$/}cpanelUsername(L){const I=L||this.locale.maketext("This is not a valid username.");return B=>{let V={};return B.value&&!this.VALID_USERNAME.test(B.value)?(V=this.addError(V,"invalidUsername",I),V):null}}}},6156:(Z,F,v)=>{"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.databaseValidators=void 0;const o=v(2257),p=v(6369);F.databaseValidators=new class A extends o.BaseValidator{constructor(){super(...arguments),this.prefix="databases",this._dbPrefix="",this.DATABASE_NAME_LENGTH_LIMIT=64,this.ANYTHING_BUT_PRINTABLE_7_BIT_ASCII=/[^\u0020-\u007e]/,this.MYSQL_DB_NAME_INVALID_CHARACTERS=/[`'"\/\\]/,this.MYSQL_DB_NAME_INVALID_CHARACTERS_LIST=["'",'"',"`","/","\\"],this.MYSQL_DB_NAME_WILDCARDS=/(_|%|\\)/g,this.MYSQL_STARTED_ALLOWING_FILESYS_CHARACTERS=50116,this.MYSQL_STARTED_ALLOWING_LONG_USERNAMES=1e5}get dbPrefix(){return this._dbPrefix}validateDatabaseName(I,B,V){return j=>I===p.DatabaseType.MySQL?(this._dbPrefix=B||"",this.validateMySQLDatabaseName(j.value,V||"")):null}validateMySQLDatabaseName(I,B){const V=this._performMySqlDatabaseNameValidation(I,B);let j={};return V?(j=this.addError(j,"databaseName",V),j):null}_performMySqlDatabaseNameValidation(I,B){let V=null;return V=this._verifyNameLengthLimit(I),null!==V||(V=this._verifyDatabaseNameIgnoreLength(I),null!==V)||(V=this._verifyDatabaseName(I,B)),V}_verifyNameLengthLimit(I){let B=null,V=this.DATABASE_NAME_LENGTH_LIMIT;this._dbPrefix&&(V-=this._dbPrefix.length+1);const j=unescape(encodeURIComponent(I)).length-V;return j>0&&(B={message:this.locale.maketext("This value is too long by [quant,_1,character,characters]. The maximum length is [quant,_2,character,characters].",j,V)}),B}_verifyDatabaseNameIgnoreLength(I){return this.ANYTHING_BUT_PRINTABLE_7_BIT_ASCII.test(I)?{message:this.locale.maketext("This system allows only printable [asis,ASCII] characters in database names.")}:this.MYSQL_DB_NAME_INVALID_CHARACTERS.test(I)?{message:this.locale.maketext("This system prohibits the following [numerate,_1,character,characters] in database names: [list_or,_2]",3,this.MYSQL_DB_NAME_INVALID_CHARACTERS_LIST)}:null}_verifyDatabaseName(I,B){if(null!==I&&I.endsWith(" "))return{message:this.locale.maketext("A [asis,MariaDB]/[asis,MySQL] database name cannot end with a space character.")};const V=this._verifySpecialWildcardsInDatabaseNames(I);return null!==V?V:B&&this._convertVersionStringToNumber(B)<this.MYSQL_STARTED_ALLOWING_FILESYS_CHARACTERS&&/\./.test(I)?{message:this.locale.maketext("This system’s [asis,MySQL] version ([_1]) prohibits the character “[_2]” in database names. Ask your administrator to upgrade to a [asis,MariaDB] or to a newer [asis,MySQL] version.",B,".")}:null}_convertVersionStringToNumber(I){return I.match(/mariadb/i)&&(I=I.replace(/^[^-]+-/,"")),parseInt(I.replace(/-.*/,"").split(/\./).map((function(B){return B.padStart(2,"0")})).join(""),10)}_verifySpecialWildcardsInDatabaseNames(I){if(null===I)return null;const B=I.replace(this.MYSQL_DB_NAME_WILDCARDS,"\\$1").length;let V=this.DATABASE_NAME_LENGTH_LIMIT;this._dbPrefix&&(V-=this._dbPrefix.length+1);const j=B-V;return j>0?{message:this.locale.maketext("This database name has too many wildcard-sensitive characters ([list_and_quoted,_1]). The system stores each of these as two characters internally, up to a limit of [quant,_2,character,characters]. This name would take up [quant,_3,character,characters] of internal storage, which is [numf,_4] too many.",["\\","_","%"],V,B,j)}:null}}},4559:function(Z,F,v){"use strict";var o=this&&this.__importDefault||function(V){return V&&V.__esModule?V:{default:V}};Object.defineProperty(F,"__esModule",{value:!0}),F.domainValidators=void 0;const p=v(549),A=o(v(4879)),L=o(v(836)),I=v(2257);F.domainValidators=new class B extends I.BaseValidator{constructor(){super(...arguments),this.prefix="domains",this.VALID_TLD_REGEX=/^[.][a-zA-Z0-9]+$/,this.VALID_IDN_TLD_REGEX=/^[.]xn--[a-zA-Z0-9-]+$/,this.MAX_DOMAIN_BYTES=254,this.MAX_LABEL_BYTES=63,this.UNICODE_ASCII_CUTOFF=127,this.NONINITIAL_LABEL_REGEX=/^[a-zA-Z0-9]([a-zA-Z0-9-]*[a-zA-Z0-9])?$/,this.IPv4_REGEX=/^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$/,this.IPv6_REGEX=/((^\s*((([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))\s*$)|(^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$))/}_getNonASCII(j){const te=[],U=A.default.ucs2.decode(j);for(let X=0;X<U.length;X++)U[X]>this.UNICODE_ASCII_CUTOFF&&te.push(A.default.ucs2.encode([U[X]]));return(0,L.default)(te)}_validateLabelBasics(){return j=>{let te={};if(j.value&&0!==j.value.length){if(j.value.length>this.MAX_LABEL_BYTES)te=this.addError(te,"length",{message:this.locale.maketext("A label must not exceed [quant,_1,character,characters].",this.MAX_LABEL_BYTES),MAX_LABEL_BYTES:this.MAX_LABEL_BYTES});else if("-"===j.value[0])te=this.addError(te,"charCondition",this.locale.maketext("A label must not begin with “[_1]”.","-"));else if("-"===j.value[j.value.length-1])te=this.addError(te,"charCondition",this.locale.maketext("A label must not end with “[_1]”.","-"));else if(A.default.toASCII(j.value).length>this.MAX_LABEL_BYTES){const U=this._getNonASCII(j.value);te=this.addError(te,"length",this.locale.maketext("The label’s [asis,Punycode] representation cannot exceed [quant,_1,byte,bytes]. (Non-[asis,ASCII] characters, like “[_2]”, require multiple characters to represent in [asis,Punycode].)",this.MAX_LABEL_BYTES,U[0]))}}else te=this.addError(te,"length",this.locale.maketext("A label must not be empty."));return te}}validDomainLength(){return j=>{let te={};if(j.value.length>this.MAX_DOMAIN_BYTES)return te=this.addError(te,"length",this.locale.maketext("The domain name cannot exceed [quant,_1,character,characters].",this.MAX_DOMAIN_BYTES)),te;if(A.default.toASCII(j.value).length>this.MAX_DOMAIN_BYTES){const X=this._getNonASCII(j.value);return te=this.addError(te,"length",this.locale.maketext("The domain name’s [asis,Punycode] representation cannot exceed [quant,_1,character,characters]. (Non-[asis,ASCII] characters, like “[_2]”, require multiple characters to represent in [asis,Punycode].)",this.MAX_DOMAIN_BYTES,X[0])),te}return null}}validateLabel(){return j=>(0,p.runValidationGroup)(j,[this._validateLabelBasics(),te=>{let U={};return this.NONINITIAL_LABEL_REGEX.test(te.value)||(U=this.addError(U,"charCondition",this.locale.maketext("The label must contain only the following characters: [list_and,_1].",["a-z","A-Z","0-9","-"]))),U}])}validateTLD(){return j=>{let te={};return!this.VALID_TLD_REGEX.test(j.value)&&!this.VALID_IDN_TLD_REGEX.test(j.value)&&(te=this.addError(te,"tld",this.locale.maketext("The domain name must include a valid [output,acronym,TLD,Top Level Domain]."))),te}}fqdn(){return j=>{const te=j.value.split("."),U=te[te.length-1],X=te[0],oe=j.value,De=[()=>{let Se={};const xe=this.IPv4_REGEX.test(oe),ft=this.IPv6_REGEX.test(oe);return xe||ft?Se=this.addError(Se,"ipAddr",this.locale.maketext("You [output,strong,must] enter a hostname.")):te.length<2?Se=this.addError(Se,"oneDomain",this.locale.maketext("The domain name must include at least two labels.")):null},this.validDomainLength(),this.validateLabel().bind(this,{value:X}),this.validateTLD().bind(this,{value:"."+U})];return te.forEach((Se=>{De.push(this.validateLabel().bind(this,{value:Se}))})),(0,p.runValidationGroup)(j,De)}}fqdnOrIP(){return j=>{const te=(0,p.runValidationGroup)(j,[this.anyIP()]),U=j.value.split("."),X=U[U.length-1],oe=U[0],De=[xe=>{let ft={};return U.length<2&&(ft=this.addError(ft,"oneDomain",this.locale.maketext("The domain name must include at least two labels."))),ft},this.validDomainLength(),this.validateLabel().bind(this,{value:oe}),this.validateTLD().bind(this,{value:"."+X})];U.forEach((xe=>{De.push(this.validateLabel().bind(this,{value:xe}))}));const Se=(0,p.runValidationGroup)(j,De);return te&&Se?{...te,...Se}:null}}ipv4(){return j=>{let te={};return j.value&&!this.IPv4_REGEX.test(j.value)?(te=this.addError(te,"ipv4",this.locale.maketext("Invalid [asis,IPv4] compatible address.")),te):null}}ipv6(){return j=>{let te={};return j.value&&!this.IPv6_REGEX.test(j.value)?(te=this.addError(te,"ipv6",this.locale.maketext("Invalid [asis,IPv6] compatible address.")),te):null}}anyIP(){return j=>{let te={};return!j.value||this.IPv4_REGEX.test(j.value)||this.IPv6_REGEX.test(j.value)?null:(te=this.addError(te,"anyIP",this.locale.maketext("Invalid [asis,IPv4] or [asis,IPv6] compatible address.")),te)}}}},8415:(Z,F,v)=>{"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.emailValidators=void 0;const o=v(2257);F.emailValidators=new class p extends o.BaseValidator{constructor(){super(...arguments),this.prefix="email",this.VALID_EMAIL=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/}validateEmail(L){const I=L||this.locale.maketext("Make sure to use a valid email format. For example, [asis,user@example.com].");return B=>{let V={};return B.value&&!this.VALID_EMAIL.test(B.value)?(V=this.addError(V,"invalidEmail",I),V):null}}}},7348:(Z,F,v)=>{"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.equalityValidators=void 0;const o=v(2257);F.equalityValidators=new class p extends o.BaseValidator{constructor(){super(...arguments),this.prefix="equality"}equalTo(L,I,B){return V=>{const j=V.get(I).value;let U={};return j===V.get(B).value&&""!==j?(U=this.addError(U,"equalFields",L),U):null}}}},2502:(Z,F,v)=>{"use strict";F.uZ=F.Xz=void 0;v(50);const A=v(4559);Object.defineProperty(F,"Xz",{enumerable:!0,get:function(){return A.domainValidators}});const L=v(2257);Object.defineProperty(F,"uZ",{enumerable:!0,get:function(){return L.BaseValidator}});v(6156),v(6369),v(6128),v(8415),v(7348),v(7414),v(9761)},2257:(Z,F)=>{"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.BaseValidator=void 0;let v,o=!0;F.BaseValidator=class A{constructor(){this.prefix="",v={maketext:I=>{throw"DEVELOPER: You must specify a locale engine through the static variable BaseValidator.locale = myLocaleEngine"}}}static set locale(I){v=I}get locale(){return v}_buildKey(I){return o?`cpanel.${this.prefix}.${I}`:I}static disablePrefixing(){o=!1}static enablePrefixing(){o=!0}addError(I={},B,V){return"string"==typeof V&&(V={message:V}),I[this._buildKey(B)]=V,I}}},6369:(Z,F)=>{"use strict";var o;Object.defineProperty(F,"__esModule",{value:!0}),F.DatabaseType=void 0,(o=F.DatabaseType||(F.DatabaseType={})).MySQL="MySQL",o.PostgreSQL="PostgreSQL"},91:(Z,F)=>{"use strict";function A(I){return"0x"+I.toString(16)}Object.defineProperty(F,"__esModule",{value:!0}),F.characterLength=void 0,F.characterLength=function L(I,B){let V=0;for(let j=0;j<I.length;j++){V++;const te=I.charCodeAt(j);if(55296==(64512&te)){if(j++,j===I.length)throw new Error(B.maketext("This string ends with an incomplete [asis,UTF-16] surrogate pair ([_1]).",A(te)));const U=I.charCodeAt(j);if(56320!=(64512&U))throw new Error(B.maketext("This string contains an invalid [asis,UTF-16] surrogate pair ([join,~, ,_1]) at position [numf,_2].",[te,U].map(A),j))}}return V}},549:function(Z,F,v){"use strict";var o=this&&this.__importDefault||function(L){return L&&L.__esModule?L:{default:L}};Object.defineProperty(F,"__esModule",{value:!0}),F.runValidationGroup=void 0;const p=o(v(9721));F.runValidationGroup=function A(L,I){const B={};return I.forEach((V=>{(0,p.default)(B,V(L))})),Object.keys(B).length?B:null}},9761:(Z,F,v)=>{"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.stringValidators=void 0;const o=v(2257),p=v(91);F.stringValidators=new class L extends o.BaseValidator{constructor(){super(...arguments),this.prefix="string"}validUnicode(){return B=>{let V;try{V=(0,p.characterLength)(B,this.locale)}catch(j){const te={};return j instanceof Error&&this.addError(te,"unicode",j.message),te}return null}}maxCharacterLength(B){return(V,j)=>{if((0,p.characterLength)(j,this.locale)>V){const oe={};return this.addError(oe,"length",B),oe}return null}}maxUTF8Length(B){return(V,j)=>{if(function A(I){return unescape(encodeURIComponent(I)).length}(j)>V){const te={};return this.addError(te,"length",B),te}return null}}}},4994:(Z,F,v)=>{var o=v(4312),p=v(6421),A=v(5764),L=v(8685),I=v(6676);function B(V){var j=-1,te=null==V?0:V.length;for(this.clear();++j<te;){var U=V[j];this.set(U[0],U[1])}}B.prototype.clear=o,B.prototype.delete=p,B.prototype.get=A,B.prototype.has=L,B.prototype.set=I,Z.exports=B},9215:(Z,F,v)=>{var o=v(1840),p=v(4378),A=v(4981),L=v(7343),I=v(8895);function B(V){var j=-1,te=null==V?0:V.length;for(this.clear();++j<te;){var U=V[j];this.set(U[0],U[1])}}B.prototype.clear=o,B.prototype.delete=p,B.prototype.get=A,B.prototype.has=L,B.prototype.set=I,Z.exports=B},1501:(Z,F,v)=>{var A=v(3436)(v(2119),"Map");Z.exports=A},9850:(Z,F,v)=>{var o=v(638),p=v(1184),A=v(866),L=v(3771),I=v(1772);function B(V){var j=-1,te=null==V?0:V.length;for(this.clear();++j<te;){var U=V[j];this.set(U[0],U[1])}}B.prototype.clear=o,B.prototype.delete=p,B.prototype.get=A,B.prototype.has=L,B.prototype.set=I,Z.exports=B},6323:(Z,F,v)=>{var A=v(3436)(v(2119),"Set");Z.exports=A},8849:(Z,F,v)=>{var o=v(9850),p=v(4600),A=v(1387);function L(I){var B=-1,V=null==I?0:I.length;for(this.__data__=new o;++B<V;)this.add(I[B])}L.prototype.add=L.prototype.push=p,L.prototype.has=A,Z.exports=L},443:(Z,F,v)=>{var o=v(2119);Z.exports=o.Symbol},6999:Z=>{Z.exports=function F(v,o,p){switch(p.length){case 0:return v.call(o);case 1:return v.call(o,p[0]);case 2:return v.call(o,p[0],p[1]);case 3:return v.call(o,p[0],p[1],p[2])}return v.apply(o,p)}},1253:(Z,F,v)=>{var o=v(4164);Z.exports=function p(A,L){return!(null==A||!A.length)&&o(A,L,0)>-1}},7609:Z=>{Z.exports=function F(v,o,p){for(var A=-1,L=null==v?0:v.length;++A<L;)if(p(o,v[A]))return!0;return!1}},2271:(Z,F,v)=>{var o=v(5334),p=v(7151),A=v(1503),L=v(891),I=v(8442),B=v(8159),j=Object.prototype.hasOwnProperty;Z.exports=function te(U,X){var oe=A(U),De=!oe&&p(U),Se=!oe&&!De&&L(U),xe=!oe&&!De&&!Se&&B(U),ft=oe||De||Se||xe,Be=ft?o(U.length,String):[],Ke=Be.length;for(var rt in U)(X||j.call(U,rt))&&(!ft||!("length"==rt||Se&&("offset"==rt||"parent"==rt)||xe&&("buffer"==rt||"byteLength"==rt||"byteOffset"==rt)||I(rt,Ke)))&&Be.push(rt);return Be}},4633:Z=>{Z.exports=function F(v,o){for(var p=-1,A=null==v?0:v.length,L=Array(A);++p<A;)L[p]=o(v[p],p,v);return L}},8745:Z=>{Z.exports=function F(v,o,p,A){var L=-1,I=null==v?0:v.length;for(A&&I&&(p=v[++L]);++L<I;)p=o(p,v[L],L,v);return p}},5481:(Z,F,v)=>{var p=v(1847)("length");Z.exports=p},6422:Z=>{Z.exports=function F(v){return v.split("")}},69:Z=>{var F=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;Z.exports=function v(o){return o.match(F)||[]}},9719:(Z,F,v)=>{var o=v(5683),p=v(217),L=Object.prototype.hasOwnProperty;Z.exports=function I(B,V,j){var te=B[V];(!L.call(B,V)||!p(te,j)||void 0===j&&!(V in B))&&o(B,V,j)}},3503:(Z,F,v)=>{var o=v(217);Z.exports=function p(A,L){for(var I=A.length;I--;)if(o(A[I][0],L))return I;return-1}},5683:(Z,F,v)=>{var o=v(6713);Z.exports=function p(A,L,I){"__proto__"==L&&o?o(A,L,{configurable:!0,enumerable:!0,value:I,writable:!0}):A[L]=I}},5317:Z=>{Z.exports=function F(v,o,p,A){for(var L=v.length,I=p+(A?1:-1);A?I--:++I<L;)if(o(v[I],I,v))return I;return-1}},3337:(Z,F,v)=>{var o=v(443),p=v(1318),A=v(2902),B=o?o.toStringTag:void 0;Z.exports=function V(j){return null==j?void 0===j?"[object Undefined]":"[object Null]":B&&B in Object(j)?p(j):A(j)}},4164:(Z,F,v)=>{var o=v(5317),p=v(968),A=v(4977);Z.exports=function L(I,B,V){return B==B?A(I,B,V):o(I,p,V)}},186:(Z,F,v)=>{var o=v(3337),p=v(2671);Z.exports=function L(I){return p(I)&&"[object Arguments]"==o(I)}},968:Z=>{Z.exports=function F(v){return v!=v}},7304:(Z,F,v)=>{var o=v(5946),p=v(1943),A=v(5940),L=v(2827),B=/^\[object .+?Constructor\]$/,X=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");Z.exports=function oe(De){return!(!A(De)||p(De))&&(o(De)?X:B).test(L(De))}},1083:(Z,F,v)=>{var o=v(3337),p=v(6231),A=v(2671),ee={};ee["[object Float32Array]"]=ee["[object Float64Array]"]=ee["[object Int8Array]"]=ee["[object Int16Array]"]=ee["[object Int32Array]"]=ee["[object Uint8Array]"]=ee["[object Uint8ClampedArray]"]=ee["[object Uint16Array]"]=ee["[object Uint32Array]"]=!0,ee["[object Arguments]"]=ee["[object Array]"]=ee["[object ArrayBuffer]"]=ee["[object Boolean]"]=ee["[object DataView]"]=ee["[object Date]"]=ee["[object Error]"]=ee["[object Function]"]=ee["[object Map]"]=ee["[object Number]"]=ee["[object Object]"]=ee["[object RegExp]"]=ee["[object Set]"]=ee["[object String]"]=ee["[object WeakMap]"]=!1,Z.exports=function me(je){return A(je)&&p(je.length)&&!!ee[o(je)]}},2809:(Z,F,v)=>{var o=v(5940),p=v(5488),A=v(2158),I=Object.prototype.hasOwnProperty;Z.exports=function B(V){if(!o(V))return A(V);var j=p(V),te=[];for(var U in V)"constructor"==U&&(j||!I.call(V,U))||te.push(U);return te}},1847:Z=>{Z.exports=function F(v){return function(o){return o?.[v]}}},2724:Z=>{Z.exports=function F(v){return function(o){return v?.[o]}}},7065:Z=>{var v=Math.floor;Z.exports=function o(p,A){var L="";if(!p||A<1||A>9007199254740991)return L;do{A%2&&(L+=p),(A=v(A/2))&&(p+=p)}while(A);return L}},3269:(Z,F,v)=>{var o=v(2608),p=v(3983),A=v(2185);Z.exports=function L(I,B){return A(p(I,B,o),I+"")}},9510:(Z,F,v)=>{var o=v(6684),p=v(6713),A=v(2608);Z.exports=p?function(I,B){return p(I,"toString",{configurable:!0,enumerable:!1,value:o(B),writable:!0})}:A},4363:Z=>{Z.exports=function F(v,o,p){var A=-1,L=v.length;o<0&&(o=-o>L?0:L+o),(p=p>L?L:p)<0&&(p+=L),L=o>p?0:p-o>>>0,o>>>=0;for(var I=Array(L);++A<L;)I[A]=v[A+o];return I}},5334:Z=>{Z.exports=function F(v,o){for(var p=-1,A=Array(v);++p<v;)A[p]=o(p);return A}},3935:(Z,F,v)=>{var o=v(443),p=v(4633),A=v(1503),L=v(4129),B=o?o.prototype:void 0,V=B?B.toString:void 0;Z.exports=function j(te){if("string"==typeof te)return te;if(A(te))return p(te,j)+"";if(L(te))return V?V.call(te):"";var U=te+"";return"0"==U&&1/te==-1/0?"-0":U}},3348:(Z,F,v)=>{var o=v(2760),p=/^\s+/;Z.exports=function A(L){return L&&L.slice(0,o(L)+1).replace(p,"")}},5647:Z=>{Z.exports=function F(v){return function(o){return v(o)}}},707:(Z,F,v)=>{var o=v(8849),p=v(1253),A=v(7609),L=v(5972),I=v(4575),B=v(4174);Z.exports=function j(te,U,X){var oe=-1,De=p,Se=te.length,xe=!0,ft=[],Be=ft;if(X)xe=!1,De=A;else if(Se>=200){var Ke=U?null:I(te);if(Ke)return B(Ke);xe=!1,De=L,Be=new o}else Be=U?[]:ft;e:for(;++oe<Se;){var rt=te[oe],nt=U?U(rt):rt;if(rt=X||0!==rt?rt:0,xe&&nt==nt){for(var Ge=Be.length;Ge--;)if(Be[Ge]===nt)continue e;U&&Be.push(nt),ft.push(rt)}else De(Be,nt,X)||(Be!==ft&&Be.push(nt),ft.push(rt))}return ft}},5972:Z=>{Z.exports=function F(v,o){return v.has(o)}},2329:(Z,F,v)=>{var o=v(4363);Z.exports=function p(A,L,I){var B=A.length;return I=void 0===I?B:I,!L&&I>=B?A:o(A,L,I)}},1989:(Z,F,v)=>{var o=v(9719),p=v(5683);Z.exports=function A(L,I,B,V){var j=!B;B||(B={});for(var te=-1,U=I.length;++te<U;){var X=I[te],oe=V?V(B[X],L[X],X,B,L):void 0;void 0===oe&&(oe=L[X]),j?p(B,X,oe):o(B,X,oe)}return B}},4610:(Z,F,v)=>{var o=v(2119);Z.exports=o["__core-js_shared__"]},4944:(Z,F,v)=>{var o=v(3269),p=v(3342);Z.exports=function A(L){return o((function(I,B){var V=-1,j=B.length,te=j>1?B[j-1]:void 0,U=j>2?B[2]:void 0;for(te=L.length>3&&"function"==typeof te?(j--,te):void 0,U&&p(B[0],B[1],U)&&(te=j<3?void 0:te,j=1),I=Object(I);++V<j;){var X=B[V];X&&L(I,X,V,te)}return I}))}},1491:(Z,F,v)=>{var o=v(8745),p=v(4707),A=v(7188),I=RegExp("['’]","g");Z.exports=function B(V){return function(j){return o(A(p(j).replace(I,"")),V,"")}}},5171:(Z,F,v)=>{var o=v(7065),p=v(3935),A=v(2329),L=v(7247),I=v(2315),B=v(6007),V=Math.ceil;Z.exports=function j(te,U){var X=(U=void 0===U?" ":p(U)).length;if(X<2)return X?o(U,te):U;var oe=o(U,V(te/I(U)));return L(U)?A(B(oe),0,te).join(""):oe.slice(0,te)}},4575:(Z,F,v)=>{var o=v(6323),p=v(2552),A=v(4174),I=o&&1/A(new o([,-0]))[1]==1/0?function(B){return new o(B)}:p;Z.exports=I},9148:(Z,F,v)=>{var A=v(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"});Z.exports=A},6713:(Z,F,v)=>{var o=v(3436),p=function(){try{var A=o(Object,"defineProperty");return A({},"",{}),A}catch{}}();Z.exports=p},9122:Z=>{var F="object"==typeof global&&global&&global.Object===Object&&global;Z.exports=F},4537:(Z,F,v)=>{var o=v(3819);Z.exports=function p(A,L){var I=A.__data__;return o(L)?I["string"==typeof L?"string":"hash"]:I.map}},3436:(Z,F,v)=>{var o=v(7304),p=v(1990);Z.exports=function A(L,I){var B=p(L,I);return o(B)?B:void 0}},9519:(Z,F,v)=>{var p=v(9385)(Object.getPrototypeOf,Object);Z.exports=p},1318:(Z,F,v)=>{var o=v(443),p=Object.prototype,A=p.hasOwnProperty,L=p.toString,I=o?o.toStringTag:void 0;Z.exports=function B(V){var j=A.call(V,I),te=V[I];try{V[I]=void 0;var U=!0}catch{}var X=L.call(V);return U&&(j?V[I]=te:delete V[I]),X}},1990:Z=>{Z.exports=function F(v,o){return v?.[o]}},7247:Z=>{var B=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");Z.exports=function V(j){return B.test(j)}},9062:Z=>{var F=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;Z.exports=function v(o){return F.test(o)}},4312:(Z,F,v)=>{var o=v(862);Z.exports=function p(){this.__data__=o?o(null):{},this.size=0}},6421:Z=>{Z.exports=function F(v){var o=this.has(v)&&delete this.__data__[v];return this.size-=o?1:0,o}},5764:(Z,F,v)=>{var o=v(862),L=Object.prototype.hasOwnProperty;Z.exports=function I(B){var V=this.__data__;if(o){var j=V[B];return"__lodash_hash_undefined__"===j?void 0:j}return L.call(V,B)?V[B]:void 0}},8685:(Z,F,v)=>{var o=v(862),A=Object.prototype.hasOwnProperty;Z.exports=function L(I){var B=this.__data__;return o?void 0!==B[I]:A.call(B,I)}},6676:(Z,F,v)=>{var o=v(862);Z.exports=function A(L,I){var B=this.__data__;return this.size+=this.has(L)?0:1,B[L]=o&&void 0===I?"__lodash_hash_undefined__":I,this}},8442:Z=>{var v=/^(?:0|[1-9]\d*)$/;Z.exports=function o(p,A){var L=typeof p;return!!(A=A??9007199254740991)&&("number"==L||"symbol"!=L&&v.test(p))&&p>-1&&p%1==0&&p<A}},3342:(Z,F,v)=>{var o=v(217),p=v(6507),A=v(8442),L=v(5940);Z.exports=function I(B,V,j){if(!L(j))return!1;var te=typeof V;return!!("number"==te?p(j)&&A(V,j.length):"string"==te&&V in j)&&o(j[V],B)}},3819:Z=>{Z.exports=function F(v){var o=typeof v;return"string"==o||"number"==o||"symbol"==o||"boolean"==o?"__proto__"!==v:null===v}},1943:(Z,F,v)=>{var L,o=v(4610),p=(L=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+L:"";Z.exports=function A(L){return!!p&&p in L}},5488:Z=>{var F=Object.prototype;Z.exports=function v(o){var p=o&&o.constructor;return o===("function"==typeof p&&p.prototype||F)}},1840:Z=>{Z.exports=function F(){this.__data__=[],this.size=0}},4378:(Z,F,v)=>{var o=v(3503),A=Array.prototype.splice;Z.exports=function L(I){var B=this.__data__,V=o(B,I);return!(V<0||(V==B.length-1?B.pop():A.call(B,V,1),--this.size,0))}},4981:(Z,F,v)=>{var o=v(3503);Z.exports=function p(A){var L=this.__data__,I=o(L,A);return I<0?void 0:L[I][1]}},7343:(Z,F,v)=>{var o=v(3503);Z.exports=function p(A){return o(this.__data__,A)>-1}},8895:(Z,F,v)=>{var o=v(3503);Z.exports=function p(A,L){var I=this.__data__,B=o(I,A);return B<0?(++this.size,I.push([A,L])):I[B][1]=L,this}},638:(Z,F,v)=>{var o=v(4994),p=v(9215),A=v(1501);Z.exports=function L(){this.size=0,this.__data__={hash:new o,map:new(A||p),string:new o}}},1184:(Z,F,v)=>{var o=v(4537);Z.exports=function p(A){var L=o(this,A).delete(A);return this.size-=L?1:0,L}},866:(Z,F,v)=>{var o=v(4537);Z.exports=function p(A){return o(this,A).get(A)}},3771:(Z,F,v)=>{var o=v(4537);Z.exports=function p(A){return o(this,A).has(A)}},1772:(Z,F,v)=>{var o=v(4537);Z.exports=function p(A,L){var I=o(this,A),B=I.size;return I.set(A,L),this.size+=I.size==B?0:1,this}},862:(Z,F,v)=>{var p=v(3436)(Object,"create");Z.exports=p},2158:Z=>{Z.exports=function F(v){var o=[];if(null!=v)for(var p in Object(v))o.push(p);return o}},3597:(Z,F,v)=>{Z=v.nmd(Z);var o=v(9122),p=F&&!F.nodeType&&F,A=p&&Z&&!Z.nodeType&&Z,I=A&&A.exports===p&&o.process,B=function(){try{return A&&A.require&&A.require("util").types||I&&I.binding&&I.binding("util")}catch{}}();Z.exports=B},2902:Z=>{var v=Object.prototype.toString;Z.exports=function o(p){return v.call(p)}},9385:Z=>{Z.exports=function F(v,o){return function(p){return v(o(p))}}},3983:(Z,F,v)=>{var o=v(6999),p=Math.max;Z.exports=function A(L,I,B){return I=p(void 0===I?L.length-1:I,0),function(){for(var V=arguments,j=-1,te=p(V.length-I,0),U=Array(te);++j<te;)U[j]=V[I+j];j=-1;for(var X=Array(I+1);++j<I;)X[j]=V[j];return X[I]=B(U),o(L,this,X)}}},2119:(Z,F,v)=>{var o=v(9122),p="object"==typeof self&&self&&self.Object===Object&&self,A=o||p||Function("return this")();Z.exports=A},4600:Z=>{Z.exports=function v(o){return this.__data__.set(o,"__lodash_hash_undefined__"),this}},1387:Z=>{Z.exports=function F(v){return this.__data__.has(v)}},4174:Z=>{Z.exports=function F(v){var o=-1,p=Array(v.size);return v.forEach((function(A){p[++o]=A})),p}},2185:(Z,F,v)=>{var o=v(9510),A=v(29)(o);Z.exports=A},29:Z=>{var o=Date.now;Z.exports=function p(A){var L=0,I=0;return function(){var B=o(),V=16-(B-I);if(I=B,V>0){if(++L>=800)return arguments[0]}else L=0;return A.apply(void 0,arguments)}}},4977:Z=>{Z.exports=function F(v,o,p){for(var A=p-1,L=v.length;++A<L;)if(v[A]===o)return A;return-1}},2315:(Z,F,v)=>{var o=v(5481),p=v(7247),A=v(1149);Z.exports=function L(I){return p(I)?A(I):o(I)}},6007:(Z,F,v)=>{var o=v(6422),p=v(7247),A=v(6319);Z.exports=function L(I){return p(I)?A(I):o(I)}},2827:Z=>{var v=Function.prototype.toString;Z.exports=function o(p){if(null!=p){try{return v.call(p)}catch{}try{return p+""}catch{}}return""}},2760:Z=>{var F=/\s/;Z.exports=function v(o){for(var p=o.length;p--&&F.test(o.charAt(p)););return p}},1149:Z=>{var F="\\ud800-\\udfff",I="["+F+"]",B="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",V="\\ud83c[\\udffb-\\udfff]",te="[^"+F+"]",U="(?:\\ud83c[\\udde6-\\uddff]){2}",X="[\\ud800-\\udbff][\\udc00-\\udfff]",De="(?:"+B+"|"+V+")?",Se="[\\ufe0e\\ufe0f]?",ft=Se+De+"(?:\\u200d(?:"+[te,U,X].join("|")+")"+Se+De+")*",Be="(?:"+[te+B+"?",B,U,X,I].join("|")+")",Ke=RegExp(V+"(?="+V+")|"+Be+ft,"g");Z.exports=function rt(nt){for(var Ge=Ke.lastIndex=0;Ke.test(nt);)++Ge;return Ge}},6319:Z=>{var F="\\ud800-\\udfff",I="["+F+"]",B="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",V="\\ud83c[\\udffb-\\udfff]",te="[^"+F+"]",U="(?:\\ud83c[\\udde6-\\uddff]){2}",X="[\\ud800-\\udbff][\\udc00-\\udfff]",De="(?:"+B+"|"+V+")?",Se="[\\ufe0e\\ufe0f]?",ft=Se+De+"(?:\\u200d(?:"+[te,U,X].join("|")+")"+Se+De+")*",Be="(?:"+[te+B+"?",B,U,X,I].join("|")+")",Ke=RegExp(V+"(?="+V+")|"+Be+ft,"g");Z.exports=function rt(nt){return nt.match(Ke)||[]}},910:Z=>{var F="\\ud800-\\udfff",L="\\u2700-\\u27bf",I="a-z\\xdf-\\xf6\\xf8-\\xff",U="A-Z\\xc0-\\xd6\\xd8-\\xde",oe="\\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",Se="["+oe+"]",ft="\\d+",Be="["+L+"]",Ke="["+I+"]",rt="[^"+F+oe+ft+L+I+U+"]",We="(?:\\ud83c[\\udde6-\\uddff]){2}",Xt="[\\ud800-\\udbff][\\udc00-\\udfff]",yt="["+U+"]",ye="(?:"+Ke+"|"+rt+")",ee="(?:"+yt+"|"+rt+")",me="(?:['’](?:d|ll|m|re|s|t|ve))?",je="(?:['’](?:D|LL|M|RE|S|T|VE))?",Te="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",He="[\\ufe0e\\ufe0f]?",Wt=He+Te+"(?:\\u200d(?:"+["[^"+F+"]",We,Xt].join("|")+")"+He+Te+")*",en="(?:"+[Be,We,Xt].join("|")+")"+Wt,Rn=RegExp([yt+"?"+Ke+"+"+me+"(?="+[Se,yt,"$"].join("|")+")",ee+"+"+je+"(?="+[Se,yt+ye,"$"].join("|")+")",yt+"?"+ye+"+"+me,yt+"+"+je,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ft,en].join("|"),"g");Z.exports=function gn(ir){return ir.match(Rn)||[]}},9919:(Z,F,v)=>{var o=v(1989),p=v(4944),A=v(6555),L=p((function(I,B){o(B,A(B),I)}));Z.exports=L},6684:Z=>{Z.exports=function F(v){return function(){return v}}},4707:(Z,F,v)=>{var o=v(9148),p=v(3943),A=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,te=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");Z.exports=function U(X){return(X=p(X))&&X.replace(A,o).replace(te,"")}},217:Z=>{Z.exports=function F(v,o){return v===o||v!=v&&o!=o}},9721:(Z,F,v)=>{Z.exports=v(9919)},2608:Z=>{Z.exports=function F(v){return v}},7151:(Z,F,v)=>{var o=v(186),p=v(2671),A=Object.prototype,L=A.hasOwnProperty,I=A.propertyIsEnumerable,B=o(function(){return arguments}())?o:function(V){return p(V)&&L.call(V,"callee")&&!I.call(V,"callee")};Z.exports=B},1503:Z=>{Z.exports=Array.isArray},6507:(Z,F,v)=>{var o=v(5946),p=v(6231);Z.exports=function A(L){return null!=L&&p(L.length)&&!o(L)}},4798:(Z,F,v)=>{var o=v(3337),p=v(2671);Z.exports=function L(I){return!0===I||!1===I||p(I)&&"[object Boolean]"==o(I)}},891:(Z,F,v)=>{Z=v.nmd(Z);var o=v(2119),p=v(3580),A=F&&!F.nodeType&&F,L=A&&Z&&!Z.nodeType&&Z,B=L&&L.exports===A?o.Buffer:void 0;Z.exports=(B?B.isBuffer:void 0)||p},5946:(Z,F,v)=>{var o=v(3337),p=v(5940);Z.exports=function V(j){if(!p(j))return!1;var te=o(j);return"[object Function]"==te||"[object GeneratorFunction]"==te||"[object AsyncFunction]"==te||"[object Proxy]"==te}},6231:Z=>{Z.exports=function v(o){return"number"==typeof o&&o>-1&&o%1==0&&o<=9007199254740991}},1305:Z=>{Z.exports=function F(v){return null===v}},9138:(Z,F,v)=>{var o=v(3337),p=v(2671);Z.exports=function L(I){return"number"==typeof I||p(I)&&"[object Number]"==o(I)}},5940:Z=>{Z.exports=function F(v){var o=typeof v;return null!=v&&("object"==o||"function"==o)}},2671:Z=>{Z.exports=function F(v){return null!=v&&"object"==typeof v}},7614:(Z,F,v)=>{var o=v(3337),p=v(9519),A=v(2671),V=Function.prototype.toString,j=Object.prototype.hasOwnProperty,te=V.call(Object);Z.exports=function U(X){if(!A(X)||"[object Object]"!=o(X))return!1;var oe=p(X);if(null===oe)return!0;var De=j.call(oe,"constructor")&&oe.constructor;return"function"==typeof De&&De instanceof De&&V.call(De)==te}},248:(Z,F,v)=>{var o=v(3337),p=v(1503),A=v(2671);Z.exports=function I(B){return"string"==typeof B||!p(B)&&A(B)&&"[object String]"==o(B)}},4129:(Z,F,v)=>{var o=v(3337),p=v(2671);Z.exports=function L(I){return"symbol"==typeof I||p(I)&&"[object Symbol]"==o(I)}},8159:(Z,F,v)=>{var o=v(1083),p=v(5647),A=v(3597),L=A&&A.isTypedArray,I=L?p(L):o;Z.exports=I},4235:Z=>{Z.exports=function F(v){return void 0===v}},6555:(Z,F,v)=>{var o=v(2271),p=v(2809),A=v(6507);Z.exports=function L(I){return A(I)?o(I,!0):p(I)}},7489:function(Z,F,v){var o;Z=v.nmd(Z),function(){var p,B="Expected a function",j="__lodash_hash_undefined__",U="__lodash_placeholder__",pt=1/0,Ot=9007199254740991,en=4294967295,ir=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],Mn="[object Arguments]",Zt="[object Array]",Nn="[object Boolean]",br="[object Date]",Oi="[object Error]",$r="[object Function]",Fr="[object GeneratorFunction]",Cr="[object Map]",qr="[object Number]",Dr="[object Object]",qt="[object Promise]",dr="[object RegExp]",pe="[object Set]",Ne="[object String]",Ae="[object Symbol]",Xe="[object WeakMap]",it="[object ArrayBuffer]",at="[object DataView]",Mt="[object Float32Array]",It="[object Float64Array]",Rt="[object Int8Array]",wn="[object Int16Array]",Nt="[object Int32Array]",Ht="[object Uint8Array]",mn="[object Uint8ClampedArray]",Wn="[object Uint16Array]",Kt="[object Uint32Array]",Qt=/\b__p \+= '';/g,cn=/\b(__p \+=) '' \+/g,Tt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Xn=/&(?:amp|lt|gt|quot|#39);/g,Sn=/[&<>"']/g,Ft=RegExp(Xn.source),vn=RegExp(Sn.source),Lt=/<%-([\s\S]+?)%>/g,Pe=/<%([\s\S]+?)%>/g,re=/<%=([\s\S]+?)%>/g,ae=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ie=/^\w*$/,$e=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ut=/[\\^$.*+?()[\]{}|]/g,tn=RegExp(Ut.source),un=/^\s+/,nn=/\s/,$t=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ce=/\{\n\/\* \[wrapped with (.+)\] \*/,de=/,? & /,ne=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,z=/[()=,{}\[\]\/\s]/,se=/\\(\\)?/g,Oe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,tt=/\w*$/,At=/^[-+]0x[0-9a-f]+$/i,ot=/^0b[01]+$/i,Dt=/^\[object .+?Constructor\]$/,Ue=/^0o[0-7]+$/i,wt=/^(?:0|[1-9]\d*)$/,Pt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Yt=/($^)/,jt=/['\n\r\u2028\u2029\\]/g,St="\\ud800-\\udfff",Un="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",ar="\\u2700-\\u27bf",Ar="a-z\\xdf-\\xf6\\xf8-\\xff",Tn="A-Z\\xc0-\\xd6\\xd8-\\xde",si="\\ufe0e\\ufe0f",Ai="\\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",Si="["+St+"]",fi="["+Ai+"]",ti="["+Un+"]",mr="\\d+",k="["+ar+"]",Q="["+Ar+"]",Y="[^"+St+Ai+mr+ar+Ar+Tn+"]",ce="\\ud83c[\\udffb-\\udfff]",Ye="[^"+St+"]",ut="(?:\\ud83c[\\udde6-\\uddff]){2}",ct="[\\ud800-\\udbff][\\udc00-\\udfff]",dt="["+Tn+"]",On="(?:"+Q+"|"+Y+")",Lr="(?:"+dt+"|"+Y+")",Qr="(?:['’](?:d|ll|m|re|s|t|ve))?",kr="(?:['’](?:D|LL|M|RE|S|T|VE))?",yi="(?:"+ti+"|"+ce+")?",io="["+si+"]?",as=io+yi+"(?:\\u200d(?:"+[Ye,ut,ct].join("|")+")"+io+yi+")*",Bs="(?:"+[k,ut,ct].join("|")+")"+as,Oa="(?:"+[Ye+ti+"?",ti,ut,ct,Si].join("|")+")",Us=RegExp("['’]","g"),Hs=RegExp(ti,"g"),ys=RegExp(ce+"(?="+ce+")|"+Oa+as,"g"),zo=RegExp([dt+"?"+Q+"+"+Qr+"(?="+[fi,dt,"$"].join("|")+")",Lr+"+"+kr+"(?="+[fi,dt+On,"$"].join("|")+")",dt+"?"+On+"+"+Qr,dt+"+"+kr,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",mr,Bs].join("|"),"g"),Wo=RegExp("[\\u200d"+St+Un+si+"]"),ni=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Mo=["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"],No=-1,_r={};_r[Mt]=_r[It]=_r[Rt]=_r[wn]=_r[Nt]=_r[Ht]=_r[mn]=_r[Wn]=_r[Kt]=!0,_r[Mn]=_r[Zt]=_r[it]=_r[Nn]=_r[at]=_r[br]=_r[Oi]=_r[$r]=_r[Cr]=_r[qr]=_r[Dr]=_r[dr]=_r[pe]=_r[Ne]=_r[Xe]=!1;var Yn={};Yn[Mn]=Yn[Zt]=Yn[it]=Yn[at]=Yn[Nn]=Yn[br]=Yn[Mt]=Yn[It]=Yn[Rt]=Yn[wn]=Yn[Nt]=Yn[Cr]=Yn[qr]=Yn[Dr]=Yn[dr]=Yn[pe]=Yn[Ne]=Yn[Ae]=Yn[Ht]=Yn[mn]=Yn[Wn]=Yn[Kt]=!0,Yn[Oi]=Yn[$r]=Yn[Xe]=!1;var ls={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Cs=parseFloat,us=parseInt,So="object"==typeof global&&global&&global.Object===Object&&global,Yo="object"==typeof self&&self&&self.Object===Object&&self,Vr=So||Yo||Function("return this")(),la=F&&!F.nodeType&&F,Wr=la&&Z&&!Z.nodeType&&Z,$s=Wr&&Wr.exports===la,Zo=$s&&So.process,ai=function(){try{return Wr&&Wr.require&&Wr.require("util").types||Zo&&Zo.binding&&Zo.binding("util")}catch{}}(),qo=ai&&ai.isArrayBuffer,ws=ai&&ai.isDate,hr=ai&&ai.isMap,bs=ai&&ai.isRegExp,ua=ai&&ai.isSet,Ii=ai&&ai.isTypedArray;function pr(be,st,Ze){switch(Ze.length){case 0:return be.call(st);case 1:return be.call(st,Ze[0]);case 2:return be.call(st,Ze[0],Ze[1]);case 3:return be.call(st,Ze[0],Ze[1],Ze[2])}return be.apply(st,Ze)}function Ko(be,st,Ze,Gt){for(var Pn=-1,or=null==be?0:be.length;++Pn<or;){var ri=be[Pn];st(Gt,ri,Ze(ri),be)}return Gt}function Ci(be,st){for(var Ze=-1,Gt=null==be?0:be.length;++Ze<Gt&&!1!==st(be[Ze],Ze,be););return be}function mo(be,st){for(var Ze=null==be?0:be.length;Ze--&&!1!==st(be[Ze],Ze,be););return be}function Gr(be,st){for(var Ze=-1,Gt=null==be?0:be.length;++Ze<Gt;)if(!st(be[Ze],Ze,be))return!1;return!0}function ao(be,st){for(var Ze=-1,Gt=null==be?0:be.length,Pn=0,or=[];++Ze<Gt;){var ri=be[Ze];st(ri,Ze,be)&&(or[Pn++]=ri)}return or}function Wi(be,st){return!(null==be||!be.length)&&Lo(be,st,0)>-1}function Gs(be,st,Ze){for(var Gt=-1,Pn=null==be?0:be.length;++Gt<Pn;)if(Ze(st,be[Gt]))return!0;return!1}function Fn(be,st){for(var Ze=-1,Gt=null==be?0:be.length,Pn=Array(Gt);++Ze<Gt;)Pn[Ze]=st(be[Ze],Ze,be);return Pn}function lo(be,st){for(var Ze=-1,Gt=st.length,Pn=be.length;++Ze<Gt;)be[Pn+Ze]=st[Ze];return be}function Ri(be,st,Ze,Gt){var Pn=-1,or=null==be?0:be.length;for(Gt&&or&&(Ze=be[++Pn]);++Pn<or;)Ze=st(Ze,be[Pn],Pn,be);return Ze}function bn(be,st,Ze,Gt){var Pn=null==be?0:be.length;for(Gt&&Pn&&(Ze=be[--Pn]);Pn--;)Ze=st(Ze,be[Pn],Pn,be);return Ze}function Qo(be,st){for(var Ze=-1,Gt=null==be?0:be.length;++Ze<Gt;)if(st(be[Ze],Ze,be))return!0;return!1}var tl=wi("length");function cs(be,st,Ze){var Gt;return Ze(be,(function(Pn,or,ri){if(st(Pn,or,ri))return Gt=or,!1})),Gt}function Ni(be,st,Ze,Gt){for(var Pn=be.length,or=Ze+(Gt?1:-1);Gt?or--:++or<Pn;)if(st(be[or],or,be))return or;return-1}function Lo(be,st,Ze){return st==st?function Aa(be,st,Ze){for(var Gt=Ze-1,Pn=be.length;++Gt<Pn;)if(be[Gt]===st)return Gt;return-1}(be,st,Ze):Ni(be,gt,Ze)}function ca(be,st,Ze,Gt){for(var Pn=Ze-1,or=be.length;++Pn<or;)if(Gt(be[Pn],st))return Pn;return-1}function gt(be){return be!=be}function $n(be,st){var Ze=null==be?0:be.length;return Ze?vr(be,st)/Ze:NaN}function wi(be){return function(st){return null==st?p:st[be]}}function _o(be){return function(st){return null==be?p:be[st]}}function Pr(be,st,Ze,Gt,Pn){return Pn(be,(function(or,ri,sr){Ze=Gt?(Gt=!1,or):st(Ze,or,ri,sr)})),Ze}function vr(be,st){for(var Ze,Gt=-1,Pn=be.length;++Gt<Pn;){var or=st(be[Gt]);or!==p&&(Ze=Ze===p?or:Ze+or)}return Ze}function x(be,st){for(var Ze=-1,Gt=Array(be);++Ze<be;)Gt[Ze]=st(Ze);return Gt}function M(be){return be&&be.slice(0,Ts(be)+1).replace(un,"")}function K(be){return function(st){return be(st)}}function qe(be,st){return Fn(st,(function(Ze){return be[Ze]}))}function Jt(be,st){return be.has(st)}function Mr(be,st){for(var Ze=-1,Gt=be.length;++Ze<Gt&&Lo(st,be[Ze],0)>-1;);return Ze}function wr(be,st){for(var Ze=be.length;Ze--&&Lo(st,be[Ze],0)>-1;);return Ze}function bi(be,st){for(var Ze=be.length,Gt=0;Ze--;)be[Ze]===st&&++Gt;return Gt}var Xo=_o({"À":"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"}),Ji=_o({"&":"&","<":"<",">":">",'"':""","'":"'"});function Ti(be){return"\\"+ls[be]}function hi(be){return Wo.test(be)}function Es(be){var st=-1,Ze=Array(be.size);return be.forEach((function(Gt,Pn){Ze[++st]=[Pn,Gt]})),Ze}function Ms(be,st){return function(Ze){return be(st(Ze))}}function vo(be,st){for(var Ze=-1,Gt=be.length,Pn=0,or=[];++Ze<Gt;){var ri=be[Ze];(ri===st||ri===U)&&(be[Ze]=U,or[Pn++]=Ze)}return or}function Ss(be){var st=-1,Ze=Array(be.size);return be.forEach((function(Gt){Ze[++st]=Gt})),Ze}function ko(be){return hi(be)?function da(be){for(var st=ys.lastIndex=0;ys.test(be);)++st;return st}(be):tl(be)}function Zi(be){return hi(be)?function Ra(be){return be.match(ys)||[]}(be):function Ds(be){return be.split("")}(be)}function Ts(be){for(var st=be.length;st--&&nn.test(be.charAt(st)););return st}var Ia=_o({"&":"&","<":"<",">":">",""":'"',"'":"'"}),yo=function be(st){var r,Ze=(st=null==st?Vr:yo.defaults(Vr.Object(),st,yo.pick(Vr,Mo))).Array,Gt=st.Date,Pn=st.Error,or=st.Function,ri=st.Math,sr=st.Object,fs=st.RegExp,fa=st.String,qi=st.TypeError,Ws=Ze.prototype,Xi=sr.prototype,Co=st["__core-js_shared__"],b=or.prototype.toString,N=Xi.hasOwnProperty,E=0,W=(r=/[^.]+$/.exec(Co&&Co.keys&&Co.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",_e=Xi.toString,ze=b.call(sr),ht=Vr._,sn=fs("^"+b.call(N).replace(Ut,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Jn=$s?st.Buffer:p,Zn=st.Symbol,nr=st.Uint8Array,Gn=Jn?Jn.allocUnsafe:p,Ir=Ms(sr.getPrototypeOf,sr),yr=sr.create,Br=Xi.propertyIsEnumerable,To=Ws.splice,Pi=Zn?Zn.isConcatSpreadable:p,eo=Zn?Zn.iterator:p,Di=Zn?Zn.toStringTag:p,Ps=function(){try{var r=Ls(sr,"defineProperty");return r({},"",{}),r}catch{}}(),Ys=st.clearTimeout!==Vr.clearTimeout&&st.clearTimeout,Zs=Gt&&Gt.now!==Vr.Date.now&&Gt.now,bl=st.setTimeout!==Vr.setTimeout&&st.setTimeout,to=ri.ceil,rl=ri.floor,xs=sr.getOwnPropertySymbols,il=Jn?Jn.isBuffer:p,Na=st.isFinite,Fa=Ws.join,Os=Ms(sr.keys,sr),li=ri.max,pi=ri.min,La=Gt.now,Ql=st.parseInt,Dl=ri.random,ka=Ws.reverse,qs=Ls(st,"DataView"),hs=Ls(st,"Map"),El=Ls(st,"Promise"),Ks=Ls(st,"Set"),ha=Ls(st,"WeakMap"),Po=Ls(sr,"create"),ui=ha&&new ha,Qs={},ol=pl(qs),sl=pl(hs),Va=pl(El),Ml=pl(Ks),Js=pl(ha),Vo=Zn?Zn.prototype:p,ts=Vo?Vo.valueOf:p,Sl=Vo?Vo.toString:p;function J(r){if(oi(r)&&!Kn(r)&&!(r instanceof an)){if(r instanceof Zr)return r;if(N.call(r,"__wrapped__"))return Ju(r)}return new Zr(r)}var Yr=function(){function r(){}return function(a){if(!ci(a))return{};if(yr)return yr(a);r.prototype=a;var d=new r;return r.prototype=p,d}}();function Rr(){}function Zr(r,a){this.__wrapped__=r,this.__actions__=[],this.__chain__=!!a,this.__index__=0,this.__values__=p}function an(r){this.__wrapped__=r,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=en,this.__views__=[]}function pa(r){var a=-1,d=null==r?0:r.length;for(this.clear();++a<d;){var S=r[a];this.set(S[0],S[1])}}function As(r){var a=-1,d=null==r?0:r.length;for(this.clear();++a<d;){var S=r[a];this.set(S[0],S[1])}}function Jr(r){var a=-1,d=null==r?0:r.length;for(this.clear();++a<d;){var S=r[a];this.set(S[0],S[1])}}function Is(r){var a=-1,d=null==r?0:r.length;for(this.__data__=new Jr;++a<d;)this.add(r[a])}function xo(r){var a=this.__data__=new As(r);this.size=a.size}function w(r,a){var d=Kn(r),S=!d&&Gl(r),H=!d&&!S&&oa(r),ie=!d&&!S&&!H&&zl(r),ge=d||S||H||ie,Ee=ge?x(r.length,fa):[],Fe=Ee.length;for(var vt in r)(a||N.call(r,vt))&&(!ge||!("length"==vt||H&&("offset"==vt||"parent"==vt)||ie&&("buffer"==vt||"byteLength"==vt||"byteOffset"==vt)||Ca(vt,Fe)))&&Ee.push(vt);return Ee}function T(r){var a=r.length;return a?r[Ho(0,a-1)]:p}function G(r,a){return vu(Go(r),Ki(a,0,r.length))}function ue(r){return vu(Go(r))}function he(r,a,d){(d!==p&&!_s(r[a],d)||d===p&&!(a in r))&&Ur(r,a,d)}function Ve(r,a,d){var S=r[a];(!N.call(r,a)||!_s(S,d)||d===p&&!(a in r))&&Ur(r,a,d)}function Et(r,a){for(var d=r.length;d--;)if(_s(r[d][0],a))return d;return-1}function Dn(r,a,d,S){return Bo(r,(function(H,ie,ge){a(S,H,d(H),ge)})),S}function Vt(r,a){return r&&ta(a,ho(a),r)}function Ur(r,a,d){"__proto__"==a&&Ps?Ps(r,a,{configurable:!0,enumerable:!0,value:d,writable:!0}):r[a]=d}function wo(r,a){for(var d=-1,S=a.length,H=Ze(S),ie=null==r;++d<S;)H[d]=ie?p:hh(r,a[d]);return H}function Ki(r,a,d){return r==r&&(d!==p&&(r=r<=d?r:d),a!==p&&(r=r>=a?r:a)),r}function ii(r,a,d,S,H,ie){var ge,Ee=1&a,Fe=2&a,vt=4&a;if(d&&(ge=H?d(r,S,H,ie):d(r)),ge!==p)return ge;if(!ci(r))return r;var mt=Kn(r);if(mt){if(ge=function Kc(r){var a=r.length,d=new r.constructor(a);return a&&"string"==typeof r[0]&&N.call(r,"index")&&(d.index=r.index,d.input=r.input),d}(r),!Ee)return Go(r,ge)}else{var Ct=Eo(r),zt=Ct==$r||Ct==Fr;if(oa(r))return uf(r,Ee);if(Ct==Dr||Ct==Mn||zt&&!H){if(ge=Fe||zt?{}:Za(r),!Ee)return Fe?function zc(r,a){return ta(r,Df(r),a)}(r,function xr(r,a){return r&&ta(a,is(a),r)}(ge,r)):function Gc(r,a){return ta(r,Ku(r),a)}(r,Vt(ge,r))}else{if(!Yn[Ct])return H?r:{};ge=function lp(r,a,d){var S=r.constructor;switch(a){case it:return ju(r);case Nn:case br:return new S(+r);case at:return function rp(r,a){var d=a?ju(r.buffer):r.buffer;return new r.constructor(d,r.byteOffset,r.byteLength)}(r,d);case Mt:case It:case Rt:case wn:case Nt:case Ht:case mn:case Wn:case Kt:return $u(r,d);case Cr:return new S;case qr:case Ne:return new S(r);case dr:return function ip(r){var a=new r.constructor(r.source,tt.exec(r));return a.lastIndex=r.lastIndex,a}(r);case pe:return new S;case Ae:return function $c(r){return ts?sr(ts.call(r)):{}}(r)}}(r,Ct,Ee)}}ie||(ie=new xo);var hn=ie.get(r);if(hn)return hn;ie.set(r,ge),sc(r)?r.forEach((function(In){ge.add(ii(In,a,d,In,r,ie))})):sh(r)&&r.forEach((function(In,ur){ge.set(ur,ii(In,a,d,ur,r,ie))}));var rr=mt?p:(vt?Fe?qu:pu:Fe?is:ho)(r);return Ci(rr||r,(function(In,ur){rr&&(In=r[ur=In]),Ve(ge,ur,ii(In,a,d,ur,r,ie))})),ge}function _a(r,a,d){var S=d.length;if(null==r)return!S;for(r=sr(r);S--;){var H=d[S],ge=r[H];if(ge===p&&!(H in r)||!(0,a[H])(ge))return!1}return!0}function Ol(r,a,d){if("function"!=typeof r)throw new qi(B);return Qu((function(){r.apply(p,d)}),a)}function Xs(r,a,d,S){var H=-1,ie=Wi,ge=!0,Ee=r.length,Fe=[],vt=a.length;if(!Ee)return Fe;d&&(a=Fn(a,K(d))),S?(ie=Gs,ge=!1):a.length>=200&&(ie=Jt,ge=!1,a=new Is(a));e:for(;++H<Ee;){var mt=r[H],Ct=null==d?mt:d(mt);if(mt=S||0!==mt?mt:0,ge&&Ct==Ct){for(var zt=vt;zt--;)if(a[zt]===Ct)continue e;Fe.push(mt)}else ie(a,Ct,S)||Fe.push(mt)}return Fe}J.templateSettings={escape:Lt,evaluate:Pe,interpolate:re,variable:"",imports:{_:J}},(J.prototype=Rr.prototype).constructor=J,(Zr.prototype=Yr(Rr.prototype)).constructor=Zr,(an.prototype=Yr(Rr.prototype)).constructor=an,pa.prototype.clear=function Jl(){this.__data__=Po?Po(null):{},this.size=0},pa.prototype.delete=function Xl(r){var a=this.has(r)&&delete this.__data__[r];return this.size-=a?1:0,a},pa.prototype.get=function eu(r){var a=this.__data__;if(Po){var d=a[r];return d===j?p:d}return N.call(a,r)?a[r]:p},pa.prototype.has=function Ba(r){var a=this.__data__;return Po?a[r]!==p:N.call(a,r)},pa.prototype.set=function kc(r,a){var d=this.__data__;return this.size+=this.has(r)?0:1,d[r]=Po&&a===p?j:a,this},As.prototype.clear=function gi(){this.__data__=[],this.size=0},As.prototype.delete=function Pl(r){var a=this.__data__,d=Et(a,r);return!(d<0||(d==a.length-1?a.pop():To.call(a,d,1),--this.size,0))},As.prototype.get=function Ua(r){var a=this.__data__,d=Et(a,r);return d<0?p:a[d][1]},As.prototype.has=function al(r){return Et(this.__data__,r)>-1},As.prototype.set=function Iu(r,a){var d=this.__data__,S=Et(d,r);return S<0?(++this.size,d.push([r,a])):d[S][1]=a,this},Jr.prototype.clear=function ns(){this.size=0,this.__data__={hash:new pa,map:new(hs||As),string:new pa}},Jr.prototype.delete=function ga(r){var a=Ll(this,r).delete(r);return this.size-=a?1:0,a},Jr.prototype.get=function Ha(r){return Ll(this,r).get(r)},Jr.prototype.has=function ma(r){return Ll(this,r).has(r)},Jr.prototype.set=function xl(r,a){var d=Ll(this,r),S=d.size;return d.set(r,a),this.size+=d.size==S?0:1,this},Is.prototype.add=Is.prototype.push=function Rs(r){return this.__data__.set(r,j),this},Is.prototype.has=function Ru(r){return this.__data__.has(r)},xo.prototype.clear=function tu(){this.__data__=new As,this.size=0},xo.prototype.delete=function Oo(r){var a=this.__data__,d=a.delete(r);return this.size=a.size,d},xo.prototype.get=function m(r){return this.__data__.get(r)},xo.prototype.has=function y(r){return this.__data__.has(r)},xo.prototype.set=function h(r,a){var d=this.__data__;if(d instanceof As){var S=d.__data__;if(!hs||S.length<199)return S.push([r,a]),this.size=++d.size,this;d=this.__data__=new Jr(S)}return d.set(r,a),this.size=d.size,this};var Bo=cl(Ns),ru=cl(Al,!0);function Xr(r,a){var d=!0;return Bo(r,(function(S,H,ie){return d=!!a(S,H,ie)})),d}function ja(r,a,d){for(var S=-1,H=r.length;++S<H;){var ie=r[S],ge=a(ie);if(null!=ge&&(Ee===p?ge==ge&&!Io(ge):d(ge,Ee)))var Ee=ge,Fe=ie}return Fe}function ll(r,a){var d=[];return Bo(r,(function(S,H,ie){a(S,H,ie)&&d.push(S)})),d}function mi(r,a,d,S,H){var ie=-1,ge=r.length;for(d||(d=o_),H||(H=[]);++ie<ge;){var Ee=r[ie];a>0&&d(Ee)?a>1?mi(Ee,a-1,d,S,H):lo(H,Ee):S||(H[H.length]=Ee)}return H}var iu=Gu(),Fu=Gu(!0);function Ns(r,a){return r&&iu(r,a,ho)}function Al(r,a){return r&&Fu(r,a,ho)}function va(r,a){return ao(a,(function(d){return Ea(r[d])}))}function g(r,a){for(var d=0,S=(a=za(a,r)).length;null!=r&&d<S;)r=r[ia(a[d++])];return d&&d==S?r:p}function c(r,a,d){var S=a(r);return Kn(r)?S:lo(S,d(r))}function l(r){return null==r?r===p?"[object Undefined]":"[object Null]":Di&&Di in sr(r)?function ap(r){var a=N.call(r,Di),d=r[Di];try{r[Di]=p;var S=!0}catch{}var H=_e.call(r);return S&&(a?r[Di]=d:delete r[Di]),H}(r):function hp(r){return _e.call(r)}(r)}function _(r,a){return r>a}function O(r,a){return null!=r&&N.call(r,a)}function $(r,a){return null!=r&&a in sr(r)}function ve(r,a,d){for(var S=d?Gs:Wi,H=r[0].length,ie=r.length,ge=ie,Ee=Ze(ie),Fe=1/0,vt=[];ge--;){var mt=r[ge];ge&&a&&(mt=Fn(mt,K(a))),Fe=pi(mt.length,Fe),Ee[ge]=!d&&(a||H>=120&&mt.length>=120)?new Is(ge&&mt):p}mt=r[0];var Ct=-1,zt=Ee[0];e:for(;++Ct<H&&vt.length<Fe;){var hn=mt[Ct],kn=a?a(hn):hn;if(hn=d||0!==hn?hn:0,!(zt?Jt(zt,kn):S(vt,kn,d))){for(ge=ie;--ge;){var rr=Ee[ge];if(!(rr?Jt(rr,kn):S(r[ge],kn,d)))continue e}zt&&zt.push(kn),vt.push(hn)}}return vt}function Je(r,a,d){var S=null==(r=wa(r,a=za(a,r)))?r:r[ia(ms(a))];return null==S?p:pr(S,r,d)}function kt(r){return oi(r)&&l(r)==Mn}function Hn(r,a,d,S,H){return r===a||(null==r||null==a||!oi(r)&&!oi(a)?r!=r&&a!=a:function An(r,a,d,S,H,ie){var ge=Kn(r),Ee=Kn(a),Fe=ge?Zt:Eo(r),vt=Ee?Zt:Eo(a),mt=(Fe=Fe==Mn?Dr:Fe)==Dr,Ct=(vt=vt==Mn?Dr:vt)==Dr,zt=Fe==vt;if(zt&&oa(r)){if(!oa(a))return!1;ge=!0,mt=!1}if(zt&&!mt)return ie||(ie=new xo),ge||zl(r)?Cf(r,a,d,S,H,ie):function wf(r,a,d,S,H,ie,ge){switch(d){case at:if(r.byteLength!=a.byteLength||r.byteOffset!=a.byteOffset)return!1;r=r.buffer,a=a.buffer;case it:return!(r.byteLength!=a.byteLength||!ie(new nr(r),new nr(a)));case Nn:case br:case qr:return _s(+r,+a);case Oi:return r.name==a.name&&r.message==a.message;case dr:case Ne:return r==a+"";case Cr:var Ee=Es;case pe:if(Ee||(Ee=Ss),r.size!=a.size&&!(1&S))return!1;var vt=ge.get(r);if(vt)return vt==a;S|=2,ge.set(r,a);var mt=Cf(Ee(r),Ee(a),S,H,ie,ge);return ge.delete(r),mt;case Ae:if(ts)return ts.call(r)==ts.call(a)}return!1}(r,a,Fe,d,S,H,ie);if(!(1&d)){var hn=mt&&N.call(r,"__wrapped__"),kn=Ct&&N.call(a,"__wrapped__");if(hn||kn){var rr=hn?r.value():r,In=kn?a.value():a;return ie||(ie=new xo),H(rr,In,d,S,ie)}}return!!zt&&(ie||(ie=new xo),function bf(r,a,d,S,H,ie){var ge=1&d,Ee=pu(r),Fe=Ee.length;if(Fe!=pu(a).length&&!ge)return!1;for(var Ct=Fe;Ct--;){var zt=Ee[Ct];if(!(ge?zt in a:N.call(a,zt)))return!1}var hn=ie.get(r),kn=ie.get(a);if(hn&&kn)return hn==a&&kn==r;var rr=!0;ie.set(r,a),ie.set(a,r);for(var In=ge;++Ct<Fe;){var ur=r[zt=Ee[Ct]],Qn=a[zt];if(S)var po=ge?S(Qn,ur,zt,a,r,ie):S(ur,Qn,zt,r,a,ie);if(!(po===p?ur===Qn||H(ur,Qn,d,S,ie):po)){rr=!1;break}In||(In="constructor"==zt)}if(rr&&!In){var Nr=r.constructor,Qi=a.constructor;Nr!=Qi&&"constructor"in r&&"constructor"in a&&!("function"==typeof Nr&&Nr instanceof Nr&&"function"==typeof Qi&&Qi instanceof Qi)&&(rr=!1)}return ie.delete(r),ie.delete(a),rr}(r,a,d,S,H,ie))}(r,a,d,S,Hn,H))}function Er(r,a,d,S){var H=d.length,ie=H,ge=!S;if(null==r)return!ie;for(r=sr(r);H--;){var Ee=d[H];if(ge&&Ee[2]?Ee[1]!==r[Ee[0]]:!(Ee[0]in r))return!1}for(;++H<ie;){var Fe=(Ee=d[H])[0],vt=r[Fe],mt=Ee[1];if(ge&&Ee[2]){if(vt===p&&!(Fe in r))return!1}else{var Ct=new xo;if(S)var zt=S(vt,mt,Fe,r,a,Ct);if(!(zt===p?Hn(mt,vt,3,S,Ct):zt))return!1}}return!0}function Hr(r){return!(!ci(r)||function Jc(r){return!!W&&W in r}(r))&&(Ea(r)?sn:Dt).test(pl(r))}function ya(r){return"function"==typeof r?r:null==r?_i:"object"==typeof r?Kn(r)?ou(r[0],r[1]):ps(r):vc(r)}function Ao(r){if(!Vl(r))return Os(r);var a=[];for(var d in sr(r))N.call(r,d)&&"constructor"!=d&&a.push(d);return a}function Uo(r,a){return r<a}function Fs(r,a){var d=-1,S=Hi(r)?Ze(r.length):[];return Bo(r,(function(H,ie,ge){S[++d]=a(H,ie,ge)})),S}function ps(r){var a=gu(r);return 1==a.length&&a[0][2]?ed(a[0][0],a[0][1]):function(d){return d===r||Er(d,r,a)}}function ou(r,a){return Qc(r)&&Xc(a)?ed(ia(r),a):function(d){var S=hh(d,r);return S===p&&S===a?fc(d,r):Hn(a,S,3)}}function gs(r,a,d,S,H){r!==a&&iu(a,(function(ie,ge){if(H||(H=new xo),ci(ie))!function $a(r,a,d,S,H,ie,ge){var Ee=td(r,d),Fe=td(a,d),vt=ge.get(Fe);if(vt)he(r,d,vt);else{var mt=ie?ie(Ee,Fe,d+"",r,a,ge):p,Ct=mt===p;if(Ct){var zt=Kn(Fe),hn=!zt&&oa(Fe),kn=!zt&&!hn&&zl(Fe);mt=Fe,zt||hn||kn?Kn(Ee)?mt=Ee:xi(Ee)?mt=Go(Ee):hn?(Ct=!1,mt=uf(Fe,!0)):kn?(Ct=!1,mt=$u(Fe,!0)):mt=[]:Eu(Fe)||Gl(Fe)?(mt=Ee,Gl(Ee)?mt=uc(Ee):(!ci(Ee)||Ea(Ee))&&(mt=Za(Fe))):Ct=!1}Ct&&(ge.set(Fe,mt),H(mt,Fe,S,ie,ge),ge.delete(Fe)),he(r,d,mt)}}(r,a,ge,d,gs,S,H);else{var Ee=S?S(td(r,ge),ie,ge+"",r,a,H):p;Ee===p&&(Ee=ie),he(r,ge,Ee)}}),is)}function Lu(r,a){var d=r.length;if(d)return Ca(a+=a<0?d:0,d)?r[a]:p}function ul(r,a,d){a=a.length?Fn(a,(function(ie){return Kn(ie)?function(ge){return g(ge,1===ie.length?ie[0]:ie)}:ie})):[_i];var S=-1;return a=Fn(a,K(xn())),function Jo(be,st){var Ze=be.length;for(be.sort(st);Ze--;)be[Ze]=be[Ze].value;return be}(Fs(r,(function(ie,ge,Ee){return{criteria:Fn(a,(function(vt){return vt(ie)})),index:++S,value:ie}})),(function(ie,ge){return function df(r,a,d){for(var S=-1,H=r.criteria,ie=a.criteria,ge=H.length,Ee=d.length;++S<ge;){var Fe=cf(H[S],ie[S]);if(Fe)return S>=Ee?Fe:Fe*("desc"==d[S]?-1:1)}return r.index-a.index}(ie,ge,d)}))}function En(r,a,d){for(var S=-1,H=a.length,ie={};++S<H;){var ge=a[S],Ee=g(r,ge);d(Ee,ge)&&Or(ie,za(ge,r),Ee)}return ie}function gr(r,a,d,S){var H=S?ca:Lo,ie=-1,ge=a.length,Ee=r;for(r===a&&(a=Go(a)),d&&(Ee=Fn(r,K(d)));++ie<ge;)for(var Fe=0,vt=a[ie],mt=d?d(vt):vt;(Fe=H(Ee,mt,Fe,S))>-1;)Ee!==r&&To.call(Ee,Fe,1),To.call(r,Fe,1);return r}function Bi(r,a){for(var d=r?a.length:0,S=d-1;d--;){var H=a[d];if(d==S||H!==ie){var ie=H;Ca(H)?To.call(r,H,1):co(r,H)}}return r}function Ho(r,a){return r+rl(Dl()*(a-r+1))}function jo(r,a){var d="";if(!r||a<1||a>Ot)return d;do{a%2&&(d+=r),(a=rl(a/2))&&(r+=r)}while(a);return d}function fn(r,a){return Pf(Tf(r,a,_i),r+"")}function su(r){return T(Yl(r))}function ku(r,a){var d=Yl(r);return vu(d,Ki(a,0,d.length))}function Or(r,a,d,S){if(!ci(r))return r;for(var H=-1,ie=(a=za(a,r)).length,ge=ie-1,Ee=r;null!=Ee&&++H<ie;){var Fe=ia(a[H]),vt=d;if("__proto__"===Fe||"constructor"===Fe||"prototype"===Fe)return r;if(H!=ge){var mt=Ee[Fe];(vt=S?S(mt,Fe,Ee):p)===p&&(vt=ci(mt)?mt:Ca(a[H+1])?[]:{})}Ve(Ee,Fe,vt),Ee=Ee[Fe]}return r}var ea=ui?function(r,a){return ui.set(r,a),r}:_i,$o=Ps?function(r,a){return Ps(r,"toString",{configurable:!0,enumerable:!1,value:jd(a),writable:!0})}:_i;function Il(r){return vu(Yl(r))}function uo(r,a,d){var S=-1,H=r.length;a<0&&(a=-a>H?0:H+a),(d=d>H?H:d)<0&&(d+=H),H=a>d?0:d-a>>>0,a>>>=0;for(var ie=Ze(H);++S<H;)ie[S]=r[S+a];return ie}function Vc(r,a){var d;return Bo(r,(function(S,H,ie){return!(d=a(S,H,ie))})),!!d}function Vu(r,a,d){var S=0,H=null==r?S:r.length;if("number"==typeof a&&a==a&&H<=2147483647){for(;S<H;){var ie=S+H>>>1,ge=r[ie];null!==ge&&!Io(ge)&&(d?ge<=a:ge<a)?S=ie+1:H=ie}return H}return Bc(r,a,_i,d)}function Bc(r,a,d,S){var H=0,ie=null==r?0:r.length;if(0===ie)return 0;for(var ge=(a=d(a))!=a,Ee=null===a,Fe=Io(a),vt=a===p;H<ie;){var mt=rl((H+ie)/2),Ct=d(r[mt]),zt=Ct!==p,hn=null===Ct,kn=Ct==Ct,rr=Io(Ct);if(ge)var In=S||kn;else In=vt?kn&&(S||zt):Ee?kn&&zt&&(S||!hn):Fe?kn&&zt&&!hn&&(S||!rr):!hn&&!rr&&(S?Ct<=a:Ct<a);In?H=mt+1:ie=mt}return pi(ie,4294967294)}function af(r,a){for(var d=-1,S=r.length,H=0,ie=[];++d<S;){var ge=r[d],Ee=a?a(ge):ge;if(!d||!_s(Ee,Fe)){var Fe=Ee;ie[H++]=0===ge?0:ge}}return ie}function Uc(r){return"number"==typeof r?r:Io(r)?NaN:+r}function rs(r){if("string"==typeof r)return r;if(Kn(r))return Fn(r,rs)+"";if(Io(r))return Sl?Sl.call(r):"";var a=r+"";return"0"==a&&1/r==-pt?"-0":a}function Ga(r,a,d){var S=-1,H=Wi,ie=r.length,ge=!0,Ee=[],Fe=Ee;if(d)ge=!1,H=Gs;else if(ie>=200){var vt=a?null:dl(r);if(vt)return Ss(vt);ge=!1,H=Jt,Fe=new Is}else Fe=a?[]:Ee;e:for(;++S<ie;){var mt=r[S],Ct=a?a(mt):mt;if(mt=d||0!==mt?mt:0,ge&&Ct==Ct){for(var zt=Fe.length;zt--;)if(Fe[zt]===Ct)continue e;a&&Fe.push(Ct),Ee.push(mt)}else H(Fe,Ct,d)||(Fe!==Ee&&Fe.push(Ct),Ee.push(mt))}return Ee}function co(r,a){return null==(r=wa(r,a=za(a,r)))||delete r[ia(ms(a))]}function Bu(r,a,d,S){return Or(r,a,d(g(r,a)),S)}function au(r,a,d,S){for(var H=r.length,ie=S?H:-1;(S?ie--:++ie<H)&&a(r[ie],ie,r););return d?uo(r,S?0:ie,S?ie+1:H):uo(r,S?ie+1:0,S?H:ie)}function Uu(r,a){var d=r;return d instanceof an&&(d=d.value()),Ri(a,(function(S,H){return H.func.apply(H.thisArg,lo([S],H.args))}),d)}function ro(r,a,d){var S=r.length;if(S<2)return S?Ga(r[0]):[];for(var H=-1,ie=Ze(S);++H<S;)for(var ge=r[H],Ee=-1;++Ee<S;)Ee!=H&&(ie[H]=Xs(ie[H]||ge,r[Ee],a,d));return Ga(mi(ie,1),a,d)}function Rl(r,a,d){for(var S=-1,H=r.length,ie=a.length,ge={};++S<H;)d(ge,r[S],S<ie?a[S]:p);return ge}function Hu(r){return xi(r)?r:[]}function Hc(r){return"function"==typeof r?r:_i}function za(r,a){return Kn(r)?r:Qc(r,a)?[r]:xf(Sr(r))}var lf=fn;function Wa(r,a,d){var S=r.length;return d=d===p?S:d,!a&&d>=S?r:uo(r,a,d)}var jc=Ys||function(r){return Vr.clearTimeout(r)};function uf(r,a){if(a)return r.slice();var d=r.length,S=Gn?Gn(d):new r.constructor(d);return r.copy(S),S}function ju(r){var a=new r.constructor(r.byteLength);return new nr(a).set(new nr(r)),a}function $u(r,a){var d=a?ju(r.buffer):r.buffer;return new r.constructor(d,r.byteOffset,r.length)}function cf(r,a){if(r!==a){var d=r!==p,S=null===r,H=r==r,ie=Io(r),ge=a!==p,Ee=null===a,Fe=a==a,vt=Io(a);if(!Ee&&!vt&&!ie&&r>a||ie&&ge&&Fe&&!Ee&&!vt||S&&ge&&Fe||!d&&Fe||!H)return 1;if(!S&&!ie&&!vt&&r<a||vt&&d&&H&&!S&&!ie||Ee&&d&&H||!ge&&H||!Fe)return-1}return 0}function ff(r,a,d,S){for(var H=-1,ie=r.length,ge=d.length,Ee=-1,Fe=a.length,vt=li(ie-ge,0),mt=Ze(Fe+vt),Ct=!S;++Ee<Fe;)mt[Ee]=a[Ee];for(;++H<ge;)(Ct||H<ie)&&(mt[d[H]]=r[H]);for(;vt--;)mt[Ee++]=r[H++];return mt}function Nl(r,a,d,S){for(var H=-1,ie=r.length,ge=-1,Ee=d.length,Fe=-1,vt=a.length,mt=li(ie-Ee,0),Ct=Ze(mt+vt),zt=!S;++H<mt;)Ct[H]=r[H];for(var hn=H;++Fe<vt;)Ct[hn+Fe]=a[Fe];for(;++ge<Ee;)(zt||H<ie)&&(Ct[hn+d[ge]]=r[H++]);return Ct}function Go(r,a){var d=-1,S=r.length;for(a||(a=Ze(S));++d<S;)a[d]=r[d];return a}function ta(r,a,d,S){var H=!d;d||(d={});for(var ie=-1,ge=a.length;++ie<ge;){var Ee=a[ie],Fe=S?S(d[Ee],r[Ee],Ee,d,r):p;Fe===p&&(Fe=r[Ee]),H?Ur(d,Ee,Fe):Ve(d,Ee,Fe)}return d}function lu(r,a){return function(d,S){var H=Kn(d)?Ko:Dn,ie=a?a():{};return H(d,r,xn(S,2),ie)}}function uu(r){return fn((function(a,d){var S=-1,H=d.length,ie=H>1?d[H-1]:p,ge=H>2?d[2]:p;for(ie=r.length>3&&"function"==typeof ie?(H--,ie):p,ge&&fo(d[0],d[1],ge)&&(ie=H<3?p:ie,H=1),a=sr(a);++S<H;){var Ee=d[S];Ee&&r(a,Ee,S,ie)}return a}))}function cl(r,a){return function(d,S){if(null==d)return d;if(!Hi(d))return r(d,S);for(var H=d.length,ie=a?H:-1,ge=sr(d);(a?ie--:++ie<H)&&!1!==S(ge[ie],ie,ge););return d}}function Gu(r){return function(a,d,S){for(var H=-1,ie=sr(a),ge=S(a),Ee=ge.length;Ee--;){var Fe=ge[r?Ee:++H];if(!1===d(ie[Fe],Fe,ie))break}return a}}function pf(r){return function(a){var d=hi(a=Sr(a))?Zi(a):p,S=d?d[0]:a.charAt(0),H=d?Wa(d,1).join(""):a.slice(1);return S[r]()+H}}function Ya(r){return function(a){return Ri(Sh(gc(a).replace(Us,"")),r,"")}}function cu(r){return function(){var a=arguments;switch(a.length){case 0:return new r;case 1:return new r(a[0]);case 2:return new r(a[0],a[1]);case 3:return new r(a[0],a[1],a[2]);case 4:return new r(a[0],a[1],a[2],a[3]);case 5:return new r(a[0],a[1],a[2],a[3],a[4]);case 6:return new r(a[0],a[1],a[2],a[3],a[4],a[5]);case 7:return new r(a[0],a[1],a[2],a[3],a[4],a[5],a[6])}var d=Yr(r.prototype),S=r.apply(d,a);return ci(S)?S:d}}function gf(r){return function(a,d,S){var H=sr(a);if(!Hi(a)){var ie=xn(d,3);a=ho(a),d=function(Ee){return ie(H[Ee],Ee,H)}}var ge=r(a,d,S);return ge>-1?H[ie?a[ge]:ge]:p}}function mf(r){return ra((function(a){var d=a.length,S=d,H=Zr.prototype.thru;for(r&&a.reverse();S--;){var ie=a[S];if("function"!=typeof ie)throw new qi(B);if(H&&!ge&&"wrapper"==fl(ie))var ge=new Zr([],!0)}for(S=ge?S:d;++S<d;){var Ee=fl(ie=a[S]),Fe="wrapper"==Ee?Fl(ie):p;ge=Fe&&kl(Fe[0])&&424==Fe[1]&&!Fe[4].length&&1==Fe[9]?ge[fl(Fe[0])].apply(ge,Fe[3]):1==ie.length&&kl(ie)?ge[Ee]():ge.thru(ie)}return function(){var vt=arguments,mt=vt[0];if(ge&&1==vt.length&&Kn(mt))return ge.plant(mt).value();for(var Ct=0,zt=d?a[Ct].apply(this,vt):mt;++Ct<d;)zt=a[Ct].call(this,zt);return zt}}))}function zu(r,a,d,S,H,ie,ge,Ee,Fe,vt){var mt=128&a,Ct=1&a,zt=2&a,hn=24&a,kn=512&a,rr=zt?p:cu(r);return function In(){for(var ur=arguments.length,Qn=Ze(ur),po=ur;po--;)Qn[po]=arguments[po];if(hn)var Nr=hl(In),Qi=bi(Qn,Nr);if(S&&(Qn=ff(Qn,S,H,hn)),ie&&(Qn=Nl(Qn,ie,ge,hn)),ur-=Qi,hn&&ur<vt){var di=vo(Qn,Nr);return Yc(r,a,zu,In.placeholder,d,Qn,di,Ee,Fe,vt-ur)}var Ei=Ct?d:this,Vs=zt?Ei[r]:r;return ur=Qn.length,Ee?Qn=_u(Qn,Ee):kn&&ur>1&&Qn.reverse(),mt&&Fe<ur&&(Qn.length=Fe),this&&this!==Vr&&this instanceof In&&(Vs=rr||cu(Vs)),Vs.apply(Ei,Qn)}}function _f(r,a){return function(d,S){return function Re(r,a,d,S){return Ns(r,(function(H,ie,ge){a(S,d(H),ie,ge)})),S}(d,r,a(S),{})}}function du(r,a){return function(d,S){var H;if(d===p&&S===p)return a;if(d!==p&&(H=d),S!==p){if(H===p)return S;"string"==typeof d||"string"==typeof S?(d=rs(d),S=rs(S)):(d=Uc(d),S=Uc(S)),H=r(d,S)}return H}}function fu(r){return ra((function(a){return a=Fn(a,K(xn())),fn((function(d){var S=this;return r(a,(function(H){return pr(H,S,d)}))}))}))}function hu(r,a){var d=(a=a===p?" ":rs(a)).length;if(d<2)return d?jo(a,r):a;var S=jo(a,to(r/ko(a)));return hi(a)?Wa(Zi(S),0,r).join(""):S.slice(0,r)}function vf(r){return function(a,d,S){return S&&"number"!=typeof S&&fo(a,d,S)&&(d=S=p),a=sa(a),d===p?(d=a,a=0):d=sa(d),function Do(r,a,d,S){for(var H=-1,ie=li(to((a-r)/(d||1)),0),ge=Ze(ie);ie--;)ge[S?ie:++H]=r,r+=d;return ge}(a,d,S=S===p?a<d?1:-1:sa(S),r)}}function Wu(r){return function(a,d){return"string"==typeof a&&"string"==typeof d||(a=ji(a),d=ji(d)),r(a,d)}}function Yc(r,a,d,S,H,ie,ge,Ee,Fe,vt){var mt=8&a;a|=mt?32:64,4&(a&=~(mt?64:32))||(a&=-4);var rr=[r,a,H,mt?ie:p,mt?ge:p,mt?p:ie,mt?p:ge,Ee,Fe,vt],In=d.apply(p,rr);return kl(r)&&pp(In,rr),In.placeholder=S,gp(In,r,a)}function Yu(r){var a=ri[r];return function(d,S){if(d=ji(d),(S=null==S?0:pi(tr(S),292))&&Na(d)){var H=(Sr(d)+"e").split("e");return+((H=(Sr(a(H[0]+"e"+(+H[1]+S)))+"e").split("e"))[0]+"e"+(+H[1]-S))}return a(d)}}var dl=Ks&&1/Ss(new Ks([,-0]))[1]==pt?function(r){return new Ks(r)}:Gd;function Zc(r){return function(a){var d=Eo(a);return d==Cr?Es(a):d==pe?function wl(be){var st=-1,Ze=Array(be.size);return be.forEach((function(Gt){Ze[++st]=[Gt,Gt]})),Ze}(a):function P(be,st){return Fn(st,(function(Ze){return[Ze,be[Ze]]}))}(a,r(a))}}function na(r,a,d,S,H,ie,ge,Ee){var Fe=2&a;if(!Fe&&"function"!=typeof r)throw new qi(B);var vt=S?S.length:0;if(vt||(a&=-97,S=H=p),ge=ge===p?ge:li(tr(ge),0),Ee=Ee===p?Ee:tr(Ee),vt-=H?H.length:0,64&a){var mt=S,Ct=H;S=H=p}var zt=Fe?p:Fl(r),hn=[r,a,d,S,H,mt,Ct,ie,ge,Ee];if(zt&&function dp(r,a){var d=r[1],S=a[1],H=d|S;if(!(H<131||(128==S&&8==d||128==S&&256==d&&r[7].length<=a[8]||384==S&&a[7].length<=a[8]&&8==d)))return r;1&S&&(r[2]=a[2],H|=1&d?0:4);var Ee=a[3];if(Ee){var Fe=r[3];r[3]=Fe?ff(Fe,Ee,a[4]):Ee,r[4]=Fe?vo(r[3],U):a[4]}(Ee=a[5])&&(r[5]=(Fe=r[5])?Nl(Fe,Ee,a[6]):Ee,r[6]=Fe?vo(r[5],U):a[6]),(Ee=a[7])&&(r[7]=Ee),128&S&&(r[8]=null==r[8]?a[8]:pi(r[8],a[8])),null==r[9]&&(r[9]=a[9]),r[0]=a[0],r[1]=H}(hn,zt),r=hn[0],a=hn[1],d=hn[2],S=hn[3],H=hn[4],!(Ee=hn[9]=hn[9]===p?Fe?0:r.length:li(hn[9]-vt,0))&&24&a&&(a&=-25),a&&1!=a)kn=8==a||16==a?function op(r,a,d){var S=cu(r);return function H(){for(var ie=arguments.length,ge=Ze(ie),Ee=ie,Fe=hl(H);Ee--;)ge[Ee]=arguments[Ee];var vt=ie<3&&ge[0]!==Fe&&ge[ie-1]!==Fe?[]:vo(ge,Fe);return(ie-=vt.length)<d?Yc(r,a,zu,H.placeholder,p,ge,vt,p,p,d-ie):pr(this&&this!==Vr&&this instanceof H?S:r,this,ge)}}(r,a,Ee):32!=a&&33!=a||H.length?zu.apply(p,hn):function Wc(r,a,d,S){var H=1&a,ie=cu(r);return function ge(){for(var Ee=-1,Fe=arguments.length,vt=-1,mt=S.length,Ct=Ze(mt+Fe),zt=this&&this!==Vr&&this instanceof ge?ie:r;++vt<mt;)Ct[vt]=S[vt];for(;Fe--;)Ct[vt++]=arguments[++Ee];return pr(zt,H?d:this,Ct)}}(r,a,d,S);else var kn=function hf(r,a,d){var S=1&a,H=cu(r);return function ie(){return(this&&this!==Vr&&this instanceof ie?H:r).apply(S?d:this,arguments)}}(r,a,d);return gp((zt?ea:pp)(kn,hn),r,a)}function yf(r,a,d,S){return r===p||_s(r,Xi[d])&&!N.call(S,d)?a:r}function sp(r,a,d,S,H,ie){return ci(r)&&ci(a)&&(ie.set(a,r),gs(r,a,p,sp,ie),ie.delete(a)),r}function Zu(r){return Eu(r)?p:r}function Cf(r,a,d,S,H,ie){var ge=1&d,Ee=r.length,Fe=a.length;if(Ee!=Fe&&!(ge&&Fe>Ee))return!1;var vt=ie.get(r),mt=ie.get(a);if(vt&&mt)return vt==a&&mt==r;var Ct=-1,zt=!0,hn=2&d?new Is:p;for(ie.set(r,a),ie.set(a,r);++Ct<Ee;){var kn=r[Ct],rr=a[Ct];if(S)var In=ge?S(rr,kn,Ct,a,r,ie):S(kn,rr,Ct,r,a,ie);if(In!==p){if(In)continue;zt=!1;break}if(hn){if(!Qo(a,(function(ur,Qn){if(!Jt(hn,Qn)&&(kn===ur||H(kn,ur,d,S,ie)))return hn.push(Qn)}))){zt=!1;break}}else if(kn!==rr&&!H(kn,rr,d,S,ie)){zt=!1;break}}return ie.delete(r),ie.delete(a),zt}function ra(r){return Pf(Tf(r,p,Rf),r+"")}function pu(r){return c(r,ho,Ku)}function qu(r){return c(r,is,Df)}var Fl=ui?function(r){return ui.get(r)}:Gd;function fl(r){for(var a=r.name+"",d=Qs[a],S=N.call(Qs,a)?d.length:0;S--;){var H=d[S],ie=H.func;if(null==ie||ie==r)return H.name}return a}function hl(r){return(N.call(J,"placeholder")?J:r).placeholder}function xn(){var r=J.iteratee||Mu;return r=r===Mu?ya:r,arguments.length?r(arguments[0],arguments[1]):r}function Ll(r,a){var d=r.__data__;return function Mf(r){var a=typeof r;return"string"==a||"number"==a||"symbol"==a||"boolean"==a?"__proto__"!==r:null===r}(a)?d["string"==typeof a?"string":"hash"]:d.map}function gu(r){for(var a=ho(r),d=a.length;d--;){var S=a[d],H=r[S];a[d]=[S,H,Xc(H)]}return a}function Ls(r,a){var d=function es(be,st){return null==be?p:be[st]}(r,a);return Hr(d)?d:p}var Ku=xs?function(r){return null==r?[]:(r=sr(r),ao(xs(r),(function(a){return Br.call(r,a)})))}:Ah,Df=xs?function(r){for(var a=[];r;)lo(a,Ku(r)),r=Ir(r);return a}:Ah,Eo=l;function mu(r,a,d){for(var S=-1,H=(a=za(a,r)).length,ie=!1;++S<H;){var ge=ia(a[S]);if(!(ie=null!=r&&d(r,ge)))break;r=r[ge]}return ie||++S!=H?ie:!!(H=null==r?0:r.length)&&ic(H)&&Ca(ge,H)&&(Kn(r)||Gl(r))}function Za(r){return"function"!=typeof r.constructor||Vl(r)?{}:Yr(Ir(r))}function o_(r){return Kn(r)||Gl(r)||!!(Pi&&r&&r[Pi])}function Ca(r,a){var d=typeof r;return!!(a=a??Ot)&&("number"==d||"symbol"!=d&&wt.test(r))&&r>-1&&r%1==0&&r<a}function fo(r,a,d){if(!ci(d))return!1;var S=typeof a;return!!("number"==S?Hi(d)&&Ca(a,d.length):"string"==S&&a in d)&&_s(d[a],r)}function Qc(r,a){if(Kn(r))return!1;var d=typeof r;return!("number"!=d&&"symbol"!=d&&"boolean"!=d&&null!=r&&!Io(r))||Ie.test(r)||!ae.test(r)||null!=a&&r in sr(a)}function kl(r){var a=fl(r),d=J[a];if("function"!=typeof d||!(a in an.prototype))return!1;if(r===d)return!0;var S=Fl(d);return!!S&&r===S[0]}(qs&&Eo(new qs(new ArrayBuffer(1)))!=at||hs&&Eo(new hs)!=Cr||El&&Eo(El.resolve())!=qt||Ks&&Eo(new Ks)!=pe||ha&&Eo(new ha)!=Xe)&&(Eo=function(r){var a=l(r),d=a==Dr?r.constructor:p,S=d?pl(d):"";if(S)switch(S){case ol:return at;case sl:return Cr;case Va:return qt;case Ml:return pe;case Js:return Xe}return a});var Sf=Co?Ea:Cc;function Vl(r){var a=r&&r.constructor;return r===("function"==typeof a&&a.prototype||Xi)}function Xc(r){return r==r&&!ci(r)}function ed(r,a){return function(d){return null!=d&&d[r]===a&&(a!==p||r in sr(d))}}function Tf(r,a,d){return a=li(a===p?r.length-1:a,0),function(){for(var S=arguments,H=-1,ie=li(S.length-a,0),ge=Ze(ie);++H<ie;)ge[H]=S[a+H];H=-1;for(var Ee=Ze(a+1);++H<a;)Ee[H]=S[H];return Ee[a]=d(ge),pr(r,this,Ee)}}function wa(r,a){return a.length<2?r:g(r,uo(a,0,-1))}function _u(r,a){for(var d=r.length,S=pi(a.length,d),H=Go(r);S--;){var ie=a[S];r[S]=Ca(ie,d)?H[ie]:p}return r}function td(r,a){if(("constructor"!==a||"function"!=typeof r[a])&&"__proto__"!=a)return r[a]}var pp=mp(ea),Qu=bl||function(r,a){return Vr.setTimeout(r,a)},Pf=mp($o);function gp(r,a,d){var S=a+"";return Pf(r,function up(r,a){var d=a.length;if(!d)return r;var S=d-1;return a[S]=(d>1?"& ":"")+a[S],a=a.join(d>2?", ":" "),r.replace($t,"{\n/* [wrapped with "+a+"] */\n")}(S,function _p(r,a){return Ci(ir,(function(d){var S="_."+d[0];a&d[1]&&!Wi(r,S)&&r.push(S)})),r.sort()}(function qc(r){var a=r.match(Ce);return a?a[1].split(de):[]}(S),d)))}function mp(r){var a=0,d=0;return function(){var S=La(),H=16-(S-d);if(d=S,H>0){if(++a>=800)return arguments[0]}else a=0;return r.apply(p,arguments)}}function vu(r,a){var d=-1,S=r.length,H=S-1;for(a=a===p?S:a;++d<a;){var ie=Ho(d,H),ge=r[ie];r[ie]=r[d],r[d]=ge}return r.length=a,r}var xf=function cp(r){var a=nc(r,(function(S){return 500===d.size&&d.clear(),S})),d=a.cache;return a}((function(r){var a=[];return 46===r.charCodeAt(0)&&a.push(""),r.replace($e,(function(d,S,H,ie){a.push(H?ie.replace(se,"$1"):S||d)})),a}));function ia(r){if("string"==typeof r||Io(r))return r;var a=r+"";return"0"==a&&1/r==-pt?"-0":a}function pl(r){if(null!=r){try{return b.call(r)}catch{}try{return r+""}catch{}}return""}function Ju(r){if(r instanceof an)return r.clone();var a=new Zr(r.__wrapped__,r.__chain__);return a.__actions__=Go(r.__actions__),a.__index__=r.__index__,a.__values__=r.__values__,a}var Af=fn((function(r,a){return xi(r)?Xs(r,mi(a,1,xi,!0)):[]})),If=fn((function(r,a){var d=ms(a);return xi(d)&&(d=p),xi(r)?Xs(r,mi(a,1,xi,!0),xn(d,2)):[]})),s_=fn((function(r,a){var d=ms(a);return xi(d)&&(d=p),xi(r)?Xs(r,mi(a,1,xi,!0),p,d):[]}));function vp(r,a,d){var S=null==r?0:r.length;if(!S)return-1;var H=null==d?0:tr(d);return H<0&&(H=li(S+H,0)),Ni(r,xn(a,3),H)}function id(r,a,d){var S=null==r?0:r.length;if(!S)return-1;var H=S-1;return d!==p&&(H=tr(d),H=d<0?li(S+H,0):pi(H,S-1)),Ni(r,xn(a,3),H,!0)}function Rf(r){return null!=r&&r.length?mi(r,1):[]}function od(r){return r&&r.length?r[0]:p}var sd=fn((function(r){var a=Fn(r,Hu);return a.length&&a[0]===r[0]?ve(a):[]})),Dp=fn((function(r){var a=ms(r),d=Fn(r,Hu);return a===ms(d)?a=p:d.pop(),d.length&&d[0]===r[0]?ve(d,xn(a,2)):[]})),Ui=fn((function(r){var a=ms(r),d=Fn(r,Hu);return(a="function"==typeof a?a:p)&&d.pop(),d.length&&d[0]===r[0]?ve(d,p,a):[]}));function ms(r){var a=null==r?0:r.length;return a?r[a-1]:p}var Ep=fn(Lf);function Lf(r,a){return r&&r.length&&a&&a.length?gr(r,a):r}var Tp=ra((function(r,a){var d=null==r?0:r.length,S=wo(r,a);return Bi(r,Fn(a,(function(H){return Ca(H,d)?+H:H})).sort(cf)),S}));function kf(r){return null==r?r:ka.call(r)}var gl=fn((function(r){return Ga(mi(r,1,xi,!0))})),Op=fn((function(r){var a=ms(r);return xi(a)&&(a=p),Ga(mi(r,1,xi,!0),xn(a,2))})),dd=fn((function(r){var a=ms(r);return a="function"==typeof a?a:p,Ga(mi(r,1,xi,!0),p,a)}));function Bl(r){if(!r||!r.length)return[];var a=0;return r=ao(r,(function(d){if(xi(d))return a=li(d.length,a),!0})),x(a,(function(d){return Fn(r,wi(d))}))}function qa(r,a){if(!r||!r.length)return[];var d=Bl(r);return null==a?d:Fn(d,(function(S){return pr(a,p,S)}))}var zf=fn((function(r,a){return xi(r)?Xs(r,a):[]})),hd=fn((function(r){return ro(ao(r,xi))})),Ip=fn((function(r){var a=ms(r);return xi(a)&&(a=p),ro(ao(r,xi),xn(a,2))})),Rp=fn((function(r){var a=ms(r);return a="function"==typeof a?a:p,ro(ao(r,xi),p,a)})),Wf=fn(Bl),Fp=fn((function(r){var a=r.length,d=a>1?r[a-1]:p;return d="function"==typeof d?(r.pop(),d):p,qa(r,d)}));function Yf(r){var a=J(r);return a.__chain__=!0,a}function Hl(r,a){return a(r)}var kp=ra((function(r){var a=r.length,d=a?r[0]:0,S=this.__wrapped__,H=function(ie){return wo(ie,r)};return!(a>1||this.__actions__.length)&&S instanceof an&&Ca(d)?((S=S.slice(d,+d+(a?1:0))).__actions__.push({func:Hl,args:[H],thisArg:p}),new Zr(S,this.__chain__).thru((function(ie){return a&&!ie.length&&ie.push(p),ie}))):this.thru(H)})),jl=lu((function(r,a,d){N.call(r,d)?++r[d]:Ur(r,d,1)})),h_=gf(vp),Kf=gf(id);function pd(r,a){return(Kn(r)?Ci:Bo)(r,xn(a,3))}function Qf(r,a){return(Kn(r)?mo:ru)(r,xn(a,3))}var gd=lu((function(r,a,d){N.call(r,d)?r[d].push(a):Ur(r,d,[a])})),zp=fn((function(r,a,d){var S=-1,H="function"==typeof a,ie=Hi(r)?Ze(r.length):[];return Bo(r,(function(ge){ie[++S]=H?pr(a,ge,d):Je(ge,a,d)})),ie})),_d=lu((function(r,a,d){Ur(r,d,a)}));function Ka(r,a){return(Kn(r)?Fn:Fs)(r,xn(a,3))}var Yp=lu((function(r,a,d){r[d?0:1].push(a)}),(function(){return[[],[]]})),eg=fn((function(r,a){if(null==r)return[];var d=a.length;return d>1&&fo(r,a[0],a[1])?a=[]:d>2&&fo(a[0],a[1],a[2])&&(a=[a[0]]),ul(r,mi(a,1),[])})),vd=Zs||function(){return Vr.Date.now()};function yd(r,a,d){return a=d?p:a,na(r,128,p,p,p,p,a=r&&null==a?r.length:a)}function tg(r,a){var d;if("function"!=typeof a)throw new qi(B);return r=tr(r),function(){return--r>0&&(d=a.apply(this,arguments)),r<=1&&(a=p),d}}var tc=fn((function(r,a,d){var S=1;if(d.length){var H=vo(d,hl(tc));S|=32}return na(r,S,a,d,H)})),ng=fn((function(r,a,d){var S=3;if(d.length){var H=vo(d,hl(ng));S|=32}return na(a,S,r,d,H)}));function wd(r,a,d){var S,H,ie,ge,Ee,Fe,vt=0,mt=!1,Ct=!1,zt=!0;if("function"!=typeof r)throw new qi(B);function hn(di){var Ei=S,Vs=H;return S=H=p,vt=di,ge=r.apply(Vs,Ei)}function kn(di){return vt=di,Ee=Qu(ur,a),mt?hn(di):ge}function In(di){var Ei=di-Fe;return Fe===p||Ei>=a||Ei<0||Ct&&di-vt>=ie}function ur(){var di=vd();if(In(di))return Qn(di);Ee=Qu(ur,function rr(di){var vl=a-(di-Fe);return Ct?pi(vl,ie-(di-vt)):vl}(di))}function Qn(di){return Ee=p,zt&&S?hn(di):(S=H=p,ge)}function Qi(){var di=vd(),Ei=In(di);if(S=arguments,H=this,Fe=di,Ei){if(Ee===p)return kn(Fe);if(Ct)return jc(Ee),Ee=Qu(ur,a),hn(Fe)}return Ee===p&&(Ee=Qu(ur,a)),ge}return a=ji(a)||0,ci(d)&&(mt=!!d.leading,ie=(Ct="maxWait"in d)?li(ji(d.maxWait)||0,a):ie,zt="trailing"in d?!!d.trailing:zt),Qi.cancel=function po(){Ee!==p&&jc(Ee),vt=0,S=Fe=H=Ee=p},Qi.flush=function Nr(){return Ee===p?ge:Qn(vd())},Qi}var rg=fn((function(r,a){return Ol(r,1,a)})),ig=fn((function(r,a,d){return Ol(r,ji(a)||0,d)}));function nc(r,a){if("function"!=typeof r||null!=a&&"function"!=typeof a)throw new qi(B);var d=function(){var S=arguments,H=a?a.apply(this,S):S[0],ie=d.cache;if(ie.has(H))return ie.get(H);var ge=r.apply(this,S);return d.cache=ie.set(H,ge)||ie,ge};return d.cache=new(nc.Cache||Jr),d}function Du(r){if("function"!=typeof r)throw new qi(B);return function(){var a=arguments;switch(a.length){case 0:return!r.call(this);case 1:return!r.call(this,a[0]);case 2:return!r.call(this,a[0],a[1]);case 3:return!r.call(this,a[0],a[1],a[2])}return!r.apply(this,a)}}nc.Cache=Jr;var sg=lf((function(r,a){var d=(a=1==a.length&&Kn(a[0])?Fn(a[0],K(xn())):Fn(mi(a,1),K(xn()))).length;return fn((function(S){for(var H=-1,ie=pi(S.length,d);++H<ie;)S[H]=a[H].call(this,S[H]);return pr(r,this,S)}))})),bd=fn((function(r,a){var d=vo(a,hl(bd));return na(r,32,p,a,d)})),Xf=fn((function(r,a){var d=vo(a,hl(Xf));return na(r,64,p,a,d)})),eh=ra((function(r,a){return na(r,256,p,p,p,a)}));function _s(r,a){return r===a||r!=r&&a!=a}var hg=Wu(_),pg=Wu((function(r,a){return r>=a})),Gl=kt(function(){return arguments}())?kt:function(r){return oi(r)&&N.call(r,"callee")&&!Br.call(r,"callee")},Kn=Ze.isArray,oh=qo?K(qo):function rn(r){return oi(r)&&l(r)==it};function Hi(r){return null!=r&&ic(r.length)&&!Ea(r)}function xi(r){return oi(r)&&Hi(r)}var oa=il||Cc,gg=ws?K(ws):function lr(r){return oi(r)&&l(r)==br};function rc(r){if(!oi(r))return!1;var a=l(r);return a==Oi||"[object DOMException]"==a||"string"==typeof r.message&&"string"==typeof r.name&&!Eu(r)}function Ea(r){if(!ci(r))return!1;var a=l(r);return a==$r||a==Fr||"[object AsyncFunction]"==a||"[object Proxy]"==a}function ml(r){return"number"==typeof r&&r==tr(r)}function ic(r){return"number"==typeof r&&r>-1&&r%1==0&&r<=Ot}function ci(r){var a=typeof r;return null!=r&&("object"==a||"function"==a)}function oi(r){return null!=r&&"object"==typeof r}var sh=hr?K(hr):function zn(r){return oi(r)&&Eo(r)==Cr};function Ed(r){return"number"==typeof r||oi(r)&&l(r)==qr}function Eu(r){if(!oi(r)||l(r)!=Dr)return!1;var a=Ir(r);if(null===a)return!0;var d=N.call(a,"constructor")&&a.constructor;return"function"==typeof d&&d instanceof d&&b.call(d)==ze}var oc=bs?K(bs):function Li(r){return oi(r)&&l(r)==dr},sc=ua?K(ua):function ki(r){return oi(r)&&Eo(r)==pe};function Md(r){return"string"==typeof r||!Kn(r)&&oi(r)&&l(r)==Ne}function Io(r){return"symbol"==typeof r||oi(r)&&l(r)==Ae}var zl=Ii?K(Ii):function Vi(r){return oi(r)&&ic(r.length)&&!!_r[l(r)]},ch=Wu(Uo),ac=Wu((function(r,a){return r<=a}));function vs(r){if(!r)return[];if(Hi(r))return Md(r)?Zi(r):Go(r);if(eo&&r[eo])return function Cl(be){for(var st,Ze=[];!(st=be.next()).done;)Ze.push(st.value);return Ze}(r[eo]());var a=Eo(r);return(a==Cr?Es:a==pe?Ss:Yl)(r)}function sa(r){return r?(r=ji(r))===pt||r===-pt?17976931348623157e292*(r<0?-1:1):r==r?r:0:0===r?r:0}function tr(r){var a=sa(r),d=a%1;return a==a?d?a-d:a:0}function lc(r){return r?Ki(tr(r),0,en):0}function ji(r){if("number"==typeof r)return r;if(Io(r))return NaN;if(ci(r)){var a="function"==typeof r.valueOf?r.valueOf():r;r=ci(a)?a+"":a}if("string"!=typeof r)return 0===r?r:+r;r=M(r);var d=ot.test(r);return d||Ue.test(r)?us(r.slice(2),d?2:8):At.test(r)?NaN:+r}function uc(r){return ta(r,is(r))}function Sr(r){return null==r?"":rs(r)}var C_=uu((function(r,a){if(Vl(a)||Hi(a))ta(a,ho(a),r);else for(var d in a)N.call(a,d)&&Ve(r,d,a[d])})),Sd=uu((function(r,a){ta(a,is(a),r)})),Td=uu((function(r,a,d,S){ta(a,is(a),r,S)})),cc=uu((function(r,a,d,S){ta(a,ho(a),r,S)})),dc=ra(wo),xd=fn((function(r,a){r=sr(r);var d=-1,S=a.length,H=S>2?a[2]:p;for(H&&fo(a[0],a[1],H)&&(S=1);++d<S;)for(var ie=a[d],ge=is(ie),Ee=-1,Fe=ge.length;++Ee<Fe;){var vt=ge[Ee],mt=r[vt];(mt===p||_s(mt,Xi[vt])&&!N.call(r,vt))&&(r[vt]=ie[vt])}return r})),Od=fn((function(r){return r.push(p,sp),pr(Pg,p,r)}));function hh(r,a,d){var S=null==r?p:g(r,a);return S===p?d:S}function fc(r,a){return null!=r&&mu(r,a,$)}var Tg=_f((function(r,a,d){null!=a&&"function"!=typeof a.toString&&(a=_e.call(a)),r[a]=d}),jd(_i)),Ad=_f((function(r,a,d){null!=a&&"function"!=typeof a.toString&&(a=_e.call(a)),N.call(r,a)?r[a].push(d):r[a]=[d]}),xn),D_=fn(Je);function ho(r){return Hi(r)?w(r):Ao(r)}function is(r){return Hi(r)?w(r,!0):function bo(r){if(!ci(r))return function fp(r){var a=[];if(null!=r)for(var d in sr(r))a.push(d);return a}(r);var a=Vl(r),d=[];for(var S in r)"constructor"==S&&(a||!N.call(r,S))||d.push(S);return d}(r)}var S_=uu((function(r,a,d){gs(r,a,d)})),Pg=uu((function(r,a,d,S){gs(r,a,d,S)})),T_=ra((function(r,a){var d={};if(null==r)return d;var S=!1;a=Fn(a,(function(ie){return ie=za(ie,r),S||(S=ie.length>1),ie})),ta(r,qu(r),d),S&&(d=ii(d,7,Zu));for(var H=a.length;H--;)co(d,a[H]);return d})),x_=ra((function(r,a){return null==r?{}:function pn(r,a){return En(r,a,(function(d,S){return fc(r,S)}))}(r,a)}));function Ma(r,a){if(null==r)return{};var d=Fn(qu(r),(function(S){return[S]}));return a=xn(a),En(r,d,(function(S,H){return a(S,H[0])}))}var hc=Zc(ho),Rd=Zc(is);function Yl(r){return null==r?[]:qe(r,ho(r))}var pc=Ya((function(r,a,d){return a=a.toLowerCase(),r+(d?_l(a):a)}));function _l(r){return Ud(Sr(r).toLowerCase())}function gc(r){return(r=Sr(r))&&r.replace(Pt,Xo).replace(Hs,"")}var vh=Ya((function(r,a,d){return r+(d?"-":"")+a.toLowerCase()})),yh=Ya((function(r,a,d){return r+(d?" ":"")+a.toLowerCase()})),Ld=pf("toLowerCase"),wh=Ya((function(r,a,d){return r+(d?"_":"")+a.toLowerCase()})),bh=Ya((function(r,a,d){return r+(d?" ":"")+Ud(a)})),Ug=Ya((function(r,a,d){return r+(d?" ":"")+a.toUpperCase()})),Ud=pf("toUpperCase");function Sh(r,a,d){return r=Sr(r),(a=d?p:a)===p?function ds(be){return ni.test(be)}(r)?function Kl(be){return be.match(zo)||[]}(r):function Yi(be){return be.match(ne)||[]}(r):r.match(a)||[]}var Hd=fn((function(r,a){try{return pr(r,p,a)}catch(d){return rc(d)?d:new Pn(d)}})),Hg=ra((function(r,a){return Ci(a,(function(d){d=ia(d),Ur(r,d,tc(r[d],r))})),r}));function jd(r){return function(){return r}}var xh=mf(),$g=mf(!0);function _i(r){return r}function Mu(r){return ya("function"==typeof r?r:ii(r,1))}var I_=fn((function(r,a){return function(d){return Je(d,r,a)}})),Oh=fn((function(r,a){return function(d){return Je(r,d,a)}}));function $d(r,a,d){var S=ho(a),H=va(a,S);null==d&&(!ci(a)||!H.length&&S.length)&&(d=a,a=r,r=this,H=va(a,ho(a)));var ie=!(ci(d)&&"chain"in d&&!d.chain),ge=Ea(r);return Ci(H,(function(Ee){var Fe=a[Ee];r[Ee]=Fe,ge&&(r.prototype[Ee]=function(){var vt=this.__chain__;if(ie||vt){var mt=r(this.__wrapped__),Ct=mt.__actions__=Go(this.__actions__);return Ct.push({func:Fe,args:arguments,thisArg:r}),mt.__chain__=vt,mt}return Fe.apply(r,lo([this.value()],arguments))})})),r}function Gd(){}var Yg=fu(Fn),Zg=fu(Gr),_c=fu(Qo);function vc(r){return Qc(r)?wi(ia(r)):function Ln(r){return function(a){return g(a,r)}}(r)}var R_=vf(),Wd=vf(!0);function Ah(){return[]}function Cc(){return!1}var bc=du((function(r,a){return r+a}),0),Su=Yu("ceil"),qg=du((function(r,a){return r/a}),1),Zd=Yu("floor"),Xg=du((function(r,a){return r*a}),1),F_=Yu("round"),em=du((function(r,a){return r-a}),0);return J.after=function p_(r,a){if("function"!=typeof a)throw new qi(B);return r=tr(r),function(){if(--r<1)return a.apply(this,arguments)}},J.ary=yd,J.assign=C_,J.assignIn=Sd,J.assignInWith=Td,J.assignWith=cc,J.at=dc,J.before=tg,J.bind=tc,J.bindAll=Hg,J.bindKey=ng,J.castArray=function nh(){if(!arguments.length)return[];var r=arguments[0];return Kn(r)?r:[r]},J.chain=Yf,J.chunk=function ba(r,a,d){a=(d?fo(r,a,d):a===p)?1:li(tr(a),0);var S=null==r?0:r.length;if(!S||a<1)return[];for(var H=0,ie=0,ge=Ze(to(S/a));H<S;)ge[ie++]=uo(r,H,H+=a);return ge},J.compact=function yu(r){for(var a=-1,d=null==r?0:r.length,S=0,H=[];++a<d;){var ie=r[a];ie&&(H[S++]=ie)}return H},J.concat=function Of(){var r=arguments.length;if(!r)return[];for(var a=Ze(r-1),d=arguments[0],S=r;S--;)a[S-1]=arguments[S];return lo(Kn(d)?Go(d):[d],mi(a,1))},J.cond=function Th(r){var a=null==r?0:r.length,d=xn();return r=a?Fn(r,(function(S){if("function"!=typeof S[1])throw new qi(B);return[d(S[0]),S[1]]})):[],fn((function(S){for(var H=-1;++H<a;){var ie=r[H];if(pr(ie[0],this,S))return pr(ie[1],this,S)}}))},J.conforms=function jg(r){return function nu(r){var a=ho(r);return function(d){return _a(d,r,a)}}(ii(r,1))},J.constant=jd,J.countBy=jl,J.create=function Pd(r,a){var d=Yr(r);return null==a?d:Vt(d,a)},J.curry=function Cd(r,a,d){var S=na(r,8,p,p,p,p,p,a=d?p:a);return S.placeholder=Cd.placeholder,S},J.curryRight=function Jf(r,a,d){var S=na(r,16,p,p,p,p,p,a=d?p:a);return S.placeholder=Jf.placeholder,S},J.debounce=wd,J.defaults=xd,J.defaultsDeep=Od,J.defer=rg,J.delay=ig,J.difference=Af,J.differenceBy=If,J.differenceWith=s_,J.drop=function a_(r,a,d){var S=null==r?0:r.length;return S?uo(r,(a=d||a===p?1:tr(a))<0?0:a,S):[]},J.dropRight=function l_(r,a,d){var S=null==r?0:r.length;return S?uo(r,0,(a=S-(a=d||a===p?1:tr(a)))<0?0:a):[]},J.dropRightWhile=function nd(r,a){return r&&r.length?au(r,xn(a,3),!0,!0):[]},J.dropWhile=function rd(r,a){return r&&r.length?au(r,xn(a,3),!0):[]},J.fill=function u_(r,a,d,S){var H=null==r?0:r.length;return H?(d&&"number"!=typeof d&&fo(r,a,d)&&(d=0,S=H),function Nu(r,a,d,S){var H=r.length;for((d=tr(d))<0&&(d=-d>H?0:H+d),(S=S===p||S>H?H:tr(S))<0&&(S+=H),S=d>S?0:lc(S);d<S;)r[d++]=a;return r}(r,a,d,S)):[]},J.filter=function Hp(r,a){return(Kn(r)?ao:ll)(r,xn(a,3))},J.flatMap=function jp(r,a){return mi(Ka(r,a),1)},J.flatMapDeep=function $p(r,a){return mi(Ka(r,a),pt)},J.flatMapDepth=function Gp(r,a,d){return d=d===p?1:tr(d),mi(Ka(r,a),d)},J.flatten=Rf,J.flattenDeep=function yp(r){return null!=r&&r.length?mi(r,pt):[]},J.flattenDepth=function Cp(r,a){return null!=r&&r.length?mi(r,a=a===p?1:tr(a)):[]},J.flip=function ks(r){return na(r,512)},J.flow=xh,J.flowRight=$g,J.fromPairs=function wp(r){for(var a=-1,d=null==r?0:r.length,S={};++a<d;){var H=r[a];S[H[0]]=H[1]}return S},J.functions=function b_(r){return null==r?[]:va(r,ho(r))},J.functionsIn=function Sg(r){return null==r?[]:va(r,is(r))},J.groupBy=gd,J.initial=function bp(r){return null!=r&&r.length?uo(r,0,-1):[]},J.intersection=sd,J.intersectionBy=Dp,J.intersectionWith=Ui,J.invert=Tg,J.invertBy=Ad,J.invokeMap=zp,J.iteratee=Mu,J.keyBy=_d,J.keys=ho,J.keysIn=is,J.map=Ka,J.mapKeys=function E_(r,a){var d={};return a=xn(a,3),Ns(r,(function(S,H,ie){Ur(d,a(S,H,ie),S)})),d},J.mapValues=function M_(r,a){var d={};return a=xn(a,3),Ns(r,(function(S,H,ie){Ur(d,H,a(S,H,ie))})),d},J.matches=function Gg(r){return ps(ii(r,1))},J.matchesProperty=function zg(r,a){return ou(r,ii(a,1))},J.memoize=nc,J.merge=S_,J.mergeWith=Pg,J.method=I_,J.methodOf=Oh,J.mixin=$d,J.negate=Du,J.nthArg=function zd(r){return r=tr(r),fn((function(a){return Lu(a,r)}))},J.omit=T_,J.omitBy=function P_(r,a){return Ma(r,Du(xn(a)))},J.once=function og(r){return tg(2,r)},J.orderBy=function Wp(r,a,d,S){return null==r?[]:(Kn(a)||(a=null==a?[]:[a]),Kn(d=S?p:d)||(d=null==d?[]:[d]),ul(r,a,d))},J.over=Yg,J.overArgs=sg,J.overEvery=Zg,J.overSome=_c,J.partial=bd,J.partialRight=Xf,J.partition=Yp,J.pick=x_,J.pickBy=Ma,J.property=vc,J.propertyOf=function yc(r){return function(a){return null==r?p:g(r,a)}},J.pull=Ep,J.pullAll=Lf,J.pullAllBy=function Mp(r,a,d){return r&&r.length&&a&&a.length?gr(r,a,xn(d,2)):r},J.pullAllWith=function Sp(r,a,d){return r&&r.length&&a&&a.length?gr(r,a,p,d):r},J.pullAt=Tp,J.range=R_,J.rangeRight=Wd,J.rearg=eh,J.reject=function Kp(r,a){return(Kn(r)?ao:ll)(r,Du(xn(a,3)))},J.remove=function c_(r,a){var d=[];if(!r||!r.length)return d;var S=-1,H=[],ie=r.length;for(a=xn(a,3);++S<ie;){var ge=r[S];a(ge,S,r)&&(d.push(ge),H.push(S))}return Bi(r,H),d},J.rest=function ag(r,a){if("function"!=typeof r)throw new qi(B);return fn(r,a=a===p?a:tr(a))},J.reverse=kf,J.sampleSize=function Jp(r,a,d){return a=(d?fo(r,a,d):a===p)?1:tr(a),(Kn(r)?G:ku)(r,a)},J.set=function xg(r,a,d){return null==r?r:Or(r,a,d)},J.setWith=function gh(r,a,d,S){return S="function"==typeof S?S:p,null==r?r:Or(r,a,d,S)},J.shuffle=function $l(r){return(Kn(r)?ue:Il)(r)},J.slice=function Cu(r,a,d){var S=null==r?0:r.length;return S?(d&&"number"!=typeof d&&fo(r,a,d)?(a=0,d=S):(a=null==a?0:tr(a),d=d===p?S:tr(d)),uo(r,a,d)):[]},J.sortBy=eg,J.sortedUniq=function jf(r){return r&&r.length?af(r):[]},J.sortedUniqBy=function ud(r,a){return r&&r.length?af(r,xn(a,2)):[]},J.split=function Lg(r,a,d){return d&&"number"!=typeof d&&fo(r,a,d)&&(a=d=p),(d=d===p?en:d>>>0)?(r=Sr(r))&&("string"==typeof a||null!=a&&!oc(a))&&!(a=rs(a))&&hi(r)?Wa(Zi(r),0,d):r.split(a,d):[]},J.spread=function lg(r,a){if("function"!=typeof r)throw new qi(B);return a=null==a?0:li(tr(a),0),fn((function(d){var S=d[a],H=Wa(d,0,a);return S&&lo(H,S),pr(r,this,H)}))},J.tail=function d_(r){var a=null==r?0:r.length;return a?uo(r,1,a):[]},J.take=function xp(r,a,d){return r&&r.length?uo(r,0,(a=d||a===p?1:tr(a))<0?0:a):[]},J.takeRight=function cd(r,a,d){var S=null==r?0:r.length;return S?uo(r,(a=S-(a=d||a===p?1:tr(a)))<0?0:a,S):[]},J.takeRightWhile=function $f(r,a){return r&&r.length?au(r,xn(a,3),!1,!0):[]},J.takeWhile=function Gf(r,a){return r&&r.length?au(r,xn(a,3)):[]},J.tap=function Lp(r,a){return a(r),r},J.throttle=function ug(r,a,d){var S=!0,H=!0;if("function"!=typeof r)throw new qi(B);return ci(d)&&(S="leading"in d?!!d.leading:S,H="trailing"in d?!!d.trailing:H),wd(r,a,{leading:S,maxWait:a,trailing:H})},J.thru=Hl,J.toArray=vs,J.toPairs=hc,J.toPairsIn=Rd,J.toPath=function Sa(r){return Kn(r)?Fn(r,ia):Io(r)?[r]:Go(xf(Sr(r)))},J.toPlainObject=uc,J.transform=function Nd(r,a,d){var S=Kn(r),H=S||oa(r)||zl(r);if(a=xn(a,4),null==d){var ie=r&&r.constructor;d=H?S?new ie:[]:ci(r)&&Ea(ie)?Yr(Ir(r)):{}}return(H?Ci:Ns)(r,(function(ge,Ee,Fe){return a(d,ge,Ee,Fe)})),d},J.unary=function qn(r){return yd(r,1)},J.union=gl,J.unionBy=Op,J.unionWith=dd,J.uniq=function ec(r){return r&&r.length?Ga(r):[]},J.uniqBy=function Ap(r,a){return r&&r.length?Ga(r,xn(a,2)):[]},J.uniqWith=function fd(r,a){return a="function"==typeof a?a:p,r&&r.length?Ga(r,p,a):[]},J.unset=function Og(r,a){return null==r||co(r,a)},J.unzip=Bl,J.unzipWith=qa,J.update=function Qa(r,a,d){return null==r?r:Bu(r,a,Hc(d))},J.updateWith=function mh(r,a,d,S){return S="function"==typeof S?S:p,null==r?r:Bu(r,a,Hc(d),S)},J.values=Yl,J.valuesIn=function Ag(r){return null==r?[]:qe(r,is(r))},J.without=zf,J.words=Sh,J.wrap=function th(r,a){return bd(Hc(a),r)},J.xor=hd,J.xorBy=Ip,J.xorWith=Rp,J.zip=Wf,J.zipObject=function Ul(r,a){return Rl(r||[],a||[],Ve)},J.zipObjectDeep=function Np(r,a){return Rl(r||[],a||[],Or)},J.zipWith=Fp,J.entries=hc,J.entriesIn=Rd,J.extend=Sd,J.extendWith=Td,$d(J,J),J.add=bc,J.attempt=Hd,J.camelCase=pc,J.capitalize=_l,J.ceil=Su,J.clamp=function _h(r,a,d){return d===p&&(d=a,a=p),d!==p&&(d=(d=ji(d))==d?d:0),a!==p&&(a=(a=ji(a))==a?a:0),Ki(ji(r),a,d)},J.clone=function rh(r){return ii(r,4)},J.cloneDeep=function dg(r){return ii(r,5)},J.cloneDeepWith=function ih(r,a){return ii(r,5,a="function"==typeof a?a:p)},J.cloneWith=function cg(r,a){return ii(r,4,a="function"==typeof a?a:p)},J.conformsTo=function fg(r,a){return null==a||_a(r,a,ho(a))},J.deburr=gc,J.defaultTo=function Ph(r,a){return null==r||r!=r?a:r},J.divide=qg,J.endsWith=function Zl(r,a,d){r=Sr(r),a=rs(a);var S=r.length,H=d=d===p?S:Ki(tr(d),0,S);return(d-=a.length)>=0&&r.slice(d,H)==a},J.eq=_s,J.escape=function Fd(r){return(r=Sr(r))&&vn.test(r)?r.replace(Sn,Ji):r},J.escapeRegExp=function mc(r){return(r=Sr(r))&&tn.test(r)?r.replace(Ut,"\\$&"):r},J.every=function bu(r,a,d){var S=Kn(r)?Gr:Xr;return d&&fo(r,a,d)&&(a=p),S(r,xn(a,3))},J.find=h_,J.findIndex=vp,J.findKey=function w_(r,a){return cs(r,xn(a,3),Ns)},J.findLast=Kf,J.findLastIndex=id,J.findLastKey=function bg(r,a){return cs(r,xn(a,3),Al)},J.floor=Zd,J.forEach=pd,J.forEachRight=Qf,J.forIn=function Dg(r,a){return null==r?r:iu(r,xn(a,3),is)},J.forInRight=function Eg(r,a){return null==r?r:Fu(r,xn(a,3),is)},J.forOwn=function Mg(r,a){return r&&Ns(r,xn(a,3))},J.forOwnRight=function fh(r,a){return r&&Al(r,xn(a,3))},J.get=hh,J.gt=hg,J.gte=pg,J.has=function ph(r,a){return null!=r&&mu(r,a,O)},J.hasIn=fc,J.head=od,J.identity=_i,J.includes=function md(r,a,d,S){r=Hi(r)?r:Yl(r),d=d&&!S?tr(d):0;var H=r.length;return d<0&&(d=li(H+d,0)),Md(r)?d<=H&&r.indexOf(a,d)>-1:!!H&&Lo(r,a,d)>-1},J.indexOf=function Xu(r,a,d){var S=null==r?0:r.length;if(!S)return-1;var H=null==d?0:tr(d);return H<0&&(H=li(S+H,0)),Lo(r,a,H)},J.inRange=function Ig(r,a,d){return a=sa(a),d===p?(d=a,a=0):d=sa(d),function fe(r,a,d){return r>=pi(a,d)&&r<li(a,d)}(r=ji(r),a,d)},J.invoke=D_,J.isArguments=Gl,J.isArray=Kn,J.isArrayBuffer=oh,J.isArrayLike=Hi,J.isArrayLikeObject=xi,J.isBoolean=function Dd(r){return!0===r||!1===r||oi(r)&&l(r)==Nn},J.isBuffer=oa,J.isDate=gg,J.isElement=function g_(r){return oi(r)&&1===r.nodeType&&!Eu(r)},J.isEmpty=function m_(r){if(null==r)return!0;if(Hi(r)&&(Kn(r)||"string"==typeof r||"function"==typeof r.splice||oa(r)||zl(r)||Gl(r)))return!r.length;var a=Eo(r);if(a==Cr||a==pe)return!r.size;if(Vl(r))return!Ao(r).length;for(var d in r)if(N.call(r,d))return!1;return!0},J.isEqual=function __(r,a){return Hn(r,a)},J.isEqualWith=function mg(r,a,d){var S=(d="function"==typeof d?d:p)?d(r,a):p;return S===p?Hn(r,a,p,d):!!S},J.isError=rc,J.isFinite=function v_(r){return"number"==typeof r&&Na(r)},J.isFunction=Ea,J.isInteger=ml,J.isLength=ic,J.isMap=sh,J.isMatch=function ah(r,a){return r===a||Er(r,a,gu(a))},J.isMatchWith=function _g(r,a,d){return d="function"==typeof d?d:p,Er(r,a,gu(a),d)},J.isNaN=function vg(r){return Ed(r)&&r!=+r},J.isNative=function yg(r){if(Sf(r))throw new Pn("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Hr(r)},J.isNil=function wg(r){return null==r},J.isNull=function Cg(r){return null===r},J.isNumber=Ed,J.isObject=ci,J.isObjectLike=oi,J.isPlainObject=Eu,J.isRegExp=oc,J.isSafeInteger=function lh(r){return ml(r)&&r>=-Ot&&r<=Ot},J.isSet=sc,J.isString=Md,J.isSymbol=Io,J.isTypedArray=zl,J.isUndefined=function y_(r){return r===p},J.isWeakMap=function Wl(r){return oi(r)&&Eo(r)==Xe},J.isWeakSet=function uh(r){return oi(r)&&"[object WeakSet]"==l(r)},J.join=function Nf(r,a){return null==r?"":Fa.call(r,a)},J.kebabCase=vh,J.last=ms,J.lastIndexOf=function ad(r,a,d){var S=null==r?0:r.length;if(!S)return-1;var H=S;return d!==p&&(H=(H=tr(d))<0?li(S+H,0):pi(H,S-1)),a==a?function zs(be,st,Ze){for(var Gt=Ze+1;Gt--;)if(be[Gt]===st)return Gt;return Gt}(r,a,H):Ni(r,gt,H,!0)},J.lowerCase=yh,J.lowerFirst=Ld,J.lt=ch,J.lte=ac,J.max=function Fh(r){return r&&r.length?ja(r,_i,_):p},J.maxBy=function Kg(r,a){return r&&r.length?ja(r,xn(a,2),_):p},J.mean=function Qg(r){return $n(r,_i)},J.meanBy=function Tu(r,a){return $n(r,xn(a,2))},J.min=function Jg(r){return r&&r.length?ja(r,_i,Uo):p},J.minBy=function N_(r,a){return r&&r.length?ja(r,xn(a,2),Uo):p},J.stubArray=Ah,J.stubFalse=Cc,J.stubObject=function Ih(){return{}},J.stubString=function Rh(){return""},J.stubTrue=function Nh(){return!0},J.multiply=Xg,J.nth=function Ff(r,a){return r&&r.length?Lu(r,tr(a)):p},J.noConflict=function Wg(){return Vr._===this&&(Vr._=ht),this},J.noop=Gd,J.now=vd,J.pad=function kd(r,a,d){r=Sr(r);var S=(a=tr(a))?ko(r):0;if(!a||S>=a)return r;var H=(a-S)/2;return hu(rl(H),d)+r+hu(to(H),d)},J.padEnd=function Ch(r,a,d){r=Sr(r);var S=(a=tr(a))?ko(r):0;return a&&S<a?r+hu(a-S,d):r},J.padStart=function Vd(r,a,d){r=Sr(r);var S=(a=tr(a))?ko(r):0;return a&&S<a?hu(a-S,d)+r:r},J.parseInt=function Ng(r,a,d){return d||null==a?a=0:a&&(a=+a),Ql(Sr(r).replace(un,""),a||0)},J.random=function Rg(r,a,d){if(d&&"boolean"!=typeof d&&fo(r,a,d)&&(a=d=p),d===p&&("boolean"==typeof a?(d=a,a=p):"boolean"==typeof r&&(d=r,r=p)),r===p&&a===p?(r=0,a=1):(r=sa(r),a===p?(a=r,r=0):a=sa(a)),r>a){var S=r;r=a,a=S}if(d||r%1||a%1){var H=Dl();return pi(r+H*(a-r+Cs("1e-"+((H+"").length-1))),a)}return Ho(r,a)},J.reduce=function Zp(r,a,d){var S=Kn(r)?Ri:Pr,H=arguments.length<3;return S(r,xn(a,4),d,H,Bo)},J.reduceRight=function qp(r,a,d){var S=Kn(r)?bn:Pr,H=arguments.length<3;return S(r,xn(a,4),d,H,ru)},J.repeat=function O_(r,a,d){return a=(d?fo(r,a,d):a===p)?1:tr(a),jo(Sr(r),a)},J.replace=function Fg(){var r=arguments,a=Sr(r[0]);return r.length<3?a:a.replace(r[1],r[2])},J.result=function Id(r,a,d){var S=-1,H=(a=za(a,r)).length;for(H||(H=1,r=p);++S<H;){var ie=null==r?p:r[ia(a[S])];ie===p&&(S=H,ie=d),r=Ea(ie)?ie.call(r):ie}return r},J.round=F_,J.runInContext=be,J.sample=function Qp(r){return(Kn(r)?T:su)(r)},J.size=function Da(r){if(null==r)return 0;if(Hi(r))return Md(r)?ko(r):r.length;var a=Eo(r);return a==Cr||a==pe?r.size:Ao(r).length},J.snakeCase=wh,J.some=function Xp(r,a,d){var S=Kn(r)?Qo:Vc;return d&&fo(r,a,d)&&(a=p),S(r,xn(a,3))},J.sortedIndex=function ld(r,a){return Vu(r,a)},J.sortedIndexBy=function Vf(r,a,d){return Bc(r,a,xn(d,2))},J.sortedIndexOf=function Bf(r,a){var d=null==r?0:r.length;if(d){var S=Vu(r,a);if(S<d&&_s(r[S],a))return S}return-1},J.sortedLastIndex=function Uf(r,a){return Vu(r,a,!0)},J.sortedLastIndexBy=function Pp(r,a,d){return Bc(r,a,xn(d,2),!0)},J.sortedLastIndexOf=function Hf(r,a){if(null!=r&&r.length){var S=Vu(r,a,!0)-1;if(_s(r[S],a))return S}return-1},J.startCase=bh,J.startsWith=function Dh(r,a,d){return r=Sr(r),d=null==d?0:Ki(tr(d),0,r.length),a=rs(a),r.slice(d,d+a.length)==a},J.subtract=em,J.sum=function tm(r){return r&&r.length?vr(r,_i):0},J.sumBy=function nm(r,a){return r&&r.length?vr(r,xn(a,2)):0},J.template=function kg(r,a,d){var S=J.templateSettings;d&&fo(r,a,d)&&(a=p),r=Sr(r),a=Td({},a,S,yf);var Ee,Fe,H=Td({},a.imports,S.imports,yf),ie=ho(H),ge=qe(H,ie),vt=0,mt=a.interpolate||Yt,Ct="__p += '",zt=fs((a.escape||Yt).source+"|"+mt.source+"|"+(mt===re?Oe:Yt).source+"|"+(a.evaluate||Yt).source+"|$","g"),hn="//# sourceURL="+(N.call(a,"sourceURL")?(a.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++No+"]")+"\n";r.replace(zt,(function(In,ur,Qn,po,Nr,Qi){return Qn||(Qn=po),Ct+=r.slice(vt,Qi).replace(jt,Ti),ur&&(Ee=!0,Ct+="' +\n__e("+ur+") +\n'"),Nr&&(Fe=!0,Ct+="';\n"+Nr+";\n__p += '"),Qn&&(Ct+="' +\n((__t = ("+Qn+")) == null ? '' : __t) +\n'"),vt=Qi+In.length,In})),Ct+="';\n";var kn=N.call(a,"variable")&&a.variable;if(kn){if(z.test(kn))throw new Pn("Invalid `variable` option passed into `_.template`")}else Ct="with (obj) {\n"+Ct+"\n}\n";Ct=(Fe?Ct.replace(Qt,""):Ct).replace(cn,"$1").replace(Tt,"$1;"),Ct="function("+(kn||"obj")+") {\n"+(kn?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(Ee?", __e = _.escape":"")+(Fe?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+Ct+"return __p\n}";var rr=Hd((function(){return or(ie,hn+"return "+Ct).apply(p,ge)}));if(rr.source=Ct,rc(rr))throw rr;return rr},J.times=function Yd(r,a){if((r=tr(r))<1||r>Ot)return[];var d=en,S=pi(r,en);a=xn(a),r-=en;for(var H=x(S,a);++d<r;)a(d);return H},J.toFinite=sa,J.toInteger=tr,J.toLength=lc,J.toLower=function os(r){return Sr(r).toLowerCase()},J.toNumber=ji,J.toSafeInteger=function dh(r){return r?Ki(tr(r),-Ot,Ot):0===r?r:0},J.toString=Sr,J.toUpper=function Eh(r){return Sr(r).toUpperCase()},J.trim=function Vg(r,a,d){if((r=Sr(r))&&(d||a===p))return M(r);if(!r||!(a=rs(a)))return r;var S=Zi(r),H=Zi(a);return Wa(S,Mr(S,H),wr(S,H)+1).join("")},J.trimEnd=function A_(r,a,d){if((r=Sr(r))&&(d||a===p))return r.slice(0,Ts(r)+1);if(!r||!(a=rs(a)))return r;var S=Zi(r);return Wa(S,0,wr(S,Zi(a))+1).join("")},J.trimStart=function Bg(r,a,d){if((r=Sr(r))&&(d||a===p))return r.replace(un,"");if(!r||!(a=rs(a)))return r;var S=Zi(r);return Wa(S,Mr(S,Zi(a))).join("")},J.truncate=function Bd(r,a){var d=30,S="...";if(ci(a)){var H="separator"in a?a.separator:H;d="length"in a?tr(a.length):d,S="omission"in a?rs(a.omission):S}var ie=(r=Sr(r)).length;if(hi(r)){var ge=Zi(r);ie=ge.length}if(d>=ie)return r;var Ee=d-ko(S);if(Ee<1)return S;var Fe=ge?Wa(ge,0,Ee).join(""):r.slice(0,Ee);if(H===p)return Fe+S;if(ge&&(Ee+=Fe.length-Ee),oc(H)){if(r.slice(Ee).search(H)){var vt,mt=Fe;for(H.global||(H=fs(H.source,Sr(tt.exec(H))+"g")),H.lastIndex=0;vt=H.exec(mt);)var Ct=vt.index;Fe=Fe.slice(0,Ct===p?Ee:Ct)}}else if(r.indexOf(rs(H),Ee)!=Ee){var zt=Fe.lastIndexOf(H);zt>-1&&(Fe=Fe.slice(0,zt))}return Fe+S},J.unescape=function Mh(r){return(r=Sr(r))&&Ft.test(r)?r.replace(Xn,Ia):r},J.uniqueId=function wc(r){var a=++E;return Sr(r)+a},J.upperCase=Ug,J.upperFirst=Ud,J.each=pd,J.eachRight=Qf,J.first=od,$d(J,function(){var r={};return Ns(J,(function(a,d){N.call(J.prototype,d)||(r[d]=a)})),r}(),{chain:!1}),J.VERSION="4.17.21",Ci(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(r){J[r].placeholder=J})),Ci(["drop","take"],(function(r,a){an.prototype[r]=function(d){d=d===p?1:li(tr(d),0);var S=this.__filtered__&&!a?new an(this):this.clone();return S.__filtered__?S.__takeCount__=pi(d,S.__takeCount__):S.__views__.push({size:pi(d,en),type:r+(S.__dir__<0?"Right":"")}),S},an.prototype[r+"Right"]=function(d){return this.reverse()[r](d).reverse()}})),Ci(["filter","map","takeWhile"],(function(r,a){var d=a+1,S=1==d||3==d;an.prototype[r]=function(H){var ie=this.clone();return ie.__iteratees__.push({iteratee:xn(H,3),type:d}),ie.__filtered__=ie.__filtered__||S,ie}})),Ci(["head","last"],(function(r,a){var d="take"+(a?"Right":"");an.prototype[r]=function(){return this[d](1).value()[0]}})),Ci(["initial","tail"],(function(r,a){var d="drop"+(a?"":"Right");an.prototype[r]=function(){return this.__filtered__?new an(this):this[d](1)}})),an.prototype.compact=function(){return this.filter(_i)},an.prototype.find=function(r){return this.filter(r).head()},an.prototype.findLast=function(r){return this.reverse().find(r)},an.prototype.invokeMap=fn((function(r,a){return"function"==typeof r?new an(this):this.map((function(d){return Je(d,r,a)}))})),an.prototype.reject=function(r){return this.filter(Du(xn(r)))},an.prototype.slice=function(r,a){r=tr(r);var d=this;return d.__filtered__&&(r>0||a<0)?new an(d):(r<0?d=d.takeRight(-r):r&&(d=d.drop(r)),a!==p&&(d=(a=tr(a))<0?d.dropRight(-a):d.take(a-r)),d)},an.prototype.takeRightWhile=function(r){return this.reverse().takeWhile(r).reverse()},an.prototype.toArray=function(){return this.take(en)},Ns(an.prototype,(function(r,a){var d=/^(?:filter|find|map|reject)|While$/.test(a),S=/^(?:head|last)$/.test(a),H=J[S?"take"+("last"==a?"Right":""):a],ie=S||/^find/.test(a);!H||(J.prototype[a]=function(){var ge=this.__wrapped__,Ee=S?[1]:arguments,Fe=ge instanceof an,vt=Ee[0],mt=Fe||Kn(ge),Ct=function(ur){var Qn=H.apply(J,lo([ur],Ee));return S&&zt?Qn[0]:Qn};mt&&d&&"function"==typeof vt&&1!=vt.length&&(Fe=mt=!1);var zt=this.__chain__,hn=!!this.__actions__.length,kn=ie&&!zt,rr=Fe&&!hn;if(!ie&&mt){ge=rr?ge:new an(this);var In=r.apply(ge,Ee);return In.__actions__.push({func:Hl,args:[Ct],thisArg:p}),new Zr(In,zt)}return kn&&rr?r.apply(this,Ee):(In=this.thru(Ct),kn?S?In.value()[0]:In.value():In)})})),Ci(["pop","push","shift","sort","splice","unshift"],(function(r){var a=Ws[r],d=/^(?:push|sort|unshift)$/.test(r)?"tap":"thru",S=/^(?:pop|shift)$/.test(r);J.prototype[r]=function(){var H=arguments;if(S&&!this.__chain__){var ie=this.value();return a.apply(Kn(ie)?ie:[],H)}return this[d]((function(ge){return a.apply(Kn(ge)?ge:[],H)}))}})),Ns(an.prototype,(function(r,a){var d=J[a];if(d){var S=d.name+"";N.call(Qs,S)||(Qs[S]=[]),Qs[S].push({name:a,func:d})}})),Qs[zu(p,2).name]=[{name:"wrapper",func:p}],an.prototype.clone=function Au(){var r=new an(this.__wrapped__);return r.__actions__=Go(this.__actions__),r.__dir__=this.__dir__,r.__filtered__=this.__filtered__,r.__iteratees__=Go(this.__iteratees__),r.__takeCount__=this.__takeCount__,r.__views__=Go(this.__views__),r},an.prototype.reverse=function no(){if(this.__filtered__){var r=new an(this);r.__dir__=-1,r.__filtered__=!0}else(r=this.clone()).__dir__*=-1;return r},an.prototype.value=function Tl(){var r=this.__wrapped__.value(),a=this.__dir__,d=Kn(r),S=a<0,H=d?r.length:0,ie=function Ef(r,a,d){for(var S=-1,H=d.length;++S<H;){var ie=d[S],ge=ie.size;switch(ie.type){case"drop":r+=ge;break;case"dropRight":a-=ge;break;case"take":a=pi(a,r+ge);break;case"takeRight":r=li(r,a-ge)}}return{start:r,end:a}}(0,H,this.__views__),ge=ie.start,Ee=ie.end,Fe=Ee-ge,vt=S?Ee:ge-1,mt=this.__iteratees__,Ct=mt.length,zt=0,hn=pi(Fe,this.__takeCount__);if(!d||!S&&H==Fe&&hn==Fe)return Uu(r,this.__actions__);var kn=[];e:for(;Fe--&&zt<hn;){for(var rr=-1,In=r[vt+=a];++rr<Ct;){var ur=mt[rr],po=ur.type,Nr=(0,ur.iteratee)(In);if(2==po)In=Nr;else if(!Nr){if(1==po)continue e;break e}}kn[zt++]=In}return kn},J.prototype.at=kp,J.prototype.chain=function Zf(){return Yf(this)},J.prototype.commit=function Vp(){return new Zr(this.value(),this.__chain__)},J.prototype.next=function qf(){this.__values__===p&&(this.__values__=vs(this.value()));var r=this.__index__>=this.__values__.length;return{done:r,value:r?p:this.__values__[this.__index__++]}},J.prototype.plant=function Bp(r){for(var a,d=this;d instanceof Rr;){var S=Ju(d);S.__index__=0,S.__values__=p,a?H.__wrapped__=S:a=S;var H=S;d=d.__wrapped__}return H.__wrapped__=r,a},J.prototype.reverse=function wu(){var r=this.__wrapped__;if(r instanceof an){var a=r;return this.__actions__.length&&(a=new an(this)),(a=a.reverse()).__actions__.push({func:Hl,args:[kf],thisArg:p}),new Zr(a,this.__chain__)}return this.thru(kf)},J.prototype.toJSON=J.prototype.valueOf=J.prototype.value=function Up(){return Uu(this.__wrapped__,this.__actions__)},J.prototype.first=J.prototype.head,eo&&(J.prototype[eo]=function f_(){return this}),J}();Vr._=yo,(o=function(){return yo}.call(F,v,F,Z))!==p&&(Z.exports=o)}.call(this)},2552:Z=>{Z.exports=function F(){}},8448:(Z,F,v)=>{var o=v(5171),p=v(2315),A=v(4401),L=v(3943);Z.exports=function I(B,V,j){B=L(B);var te=(V=A(V))?p(B):0;return V&&te<V?o(V-te,j)+B:B}},1978:(Z,F,v)=>{var p=v(1491)((function(A,L,I){return A+(I?"_":"")+L.toLowerCase()}));Z.exports=p},3580:Z=>{Z.exports=function F(){return!1}},2232:(Z,F,v)=>{var o=v(1467),p=1/0;Z.exports=function L(I){return I?(I=o(I))===p||I===-p?17976931348623157e292*(I<0?-1:1):I==I?I:0:0===I?I:0}},4401:(Z,F,v)=>{var o=v(2232);Z.exports=function p(A){var L=o(A),I=L%1;return L==L?I?L-I:L:0}},1467:(Z,F,v)=>{var o=v(3348),p=v(5940),A=v(4129),I=/^[-+]0x[0-9a-f]+$/i,B=/^0b[01]+$/i,V=/^0o[0-7]+$/i,j=parseInt;Z.exports=function te(U){if("number"==typeof U)return U;if(A(U))return NaN;if(p(U)){var X="function"==typeof U.valueOf?U.valueOf():U;U=p(X)?X+"":X}if("string"!=typeof U)return 0===U?U:+U;U=o(U);var oe=B.test(U);return oe||V.test(U)?j(U.slice(2),oe?2:8):I.test(U)?NaN:+U}},3943:(Z,F,v)=>{var o=v(3935);Z.exports=function p(A){return null==A?"":o(A)}},836:(Z,F,v)=>{var o=v(707);Z.exports=function p(A){return A&&A.length?o(A):[]}},7188:(Z,F,v)=>{var o=v(69),p=v(9062),A=v(3943),L=v(910);Z.exports=function I(B,V,j){return B=A(B),void 0===(V=j?void 0:V)?p(B)?L(B):o(B):B.match(V)||[]}},4879:(Z,F,v)=>{"use strict";v.r(F),v.d(F,{decode:()=>yt,default:()=>je,encode:()=>_t,toASCII:()=>ee,toUnicode:()=>ye,ucs2decode:()=>nt,ucs2encode:()=>Ge});const o=2147483647,p=36,U=/^xn--/,X=/[^\0-\x7E]/,oe=/[\x2E\u3002\uFF0E\uFF61]/g,De={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},xe=Math.floor,ft=String.fromCharCode;function Be(Te){throw new RangeError(De[Te])}function rt(Te,He){const pt=Te.split("@");let Ot="";pt.length>1&&(Ot=pt[0]+"@",Te=pt[1]);const Wt=function Ke(Te,He){const pt=[];let Ot=Te.length;for(;Ot--;)pt[Ot]=He(Te[Ot]);return pt}((Te=Te.replace(oe,".")).split("."),He).join(".");return Ot+Wt}function nt(Te){const He=[];let pt=0;const Ot=Te.length;for(;pt<Ot;){const Cn=Te.charCodeAt(pt++);if(Cn>=55296&&Cn<=56319&&pt<Ot){const Wt=Te.charCodeAt(pt++);56320==(64512&Wt)?He.push(((1023&Cn)<<10)+(1023&Wt)+65536):(He.push(Cn),pt--)}else He.push(Cn)}return He}const Ge=Te=>String.fromCodePoint(...Te),Me=function(Te){return Te-48<10?Te-22:Te-65<26?Te-65:Te-97<26?Te-97:p},We=function(Te,He){return Te+22+75*(Te<26)-((0!=He)<<5)},Xt=function(Te,He,pt){let Ot=0;for(Te=pt?xe(Te/700):Te>>1,Te+=xe(Te/He);Te>455;Ot+=p)Te=xe(Te/35);return xe(Ot+36*Te/(Te+38))},yt=function(Te){const He=[],pt=Te.length;let Ot=0,Cn=128,Wt=72,en=Te.lastIndexOf("-");en<0&&(en=0);for(let Rn=0;Rn<en;++Rn)Te.charCodeAt(Rn)>=128&&Be("not-basic"),He.push(Te.charCodeAt(Rn));for(let Rn=en>0?en+1:0;Rn<pt;){let gn=Ot;for(let Mn=1,Zt=p;;Zt+=p){Rn>=pt&&Be("invalid-input");const jn=Me(Te.charCodeAt(Rn++));(jn>=p||jn>xe((o-Ot)/Mn))&&Be("overflow"),Ot+=jn*Mn;const Nn=Zt<=Wt?1:Zt>=Wt+26?26:Zt-Wt;if(jn<Nn)break;const br=p-Nn;Mn>xe(o/br)&&Be("overflow"),Mn*=br}const ir=He.length+1;Wt=Xt(Ot-gn,ir,0==gn),xe(Ot/ir)>o-Cn&&Be("overflow"),Cn+=xe(Ot/ir),Ot%=ir,He.splice(Ot++,0,Cn)}return String.fromCodePoint(...He)},_t=function(Te){const He=[];let pt=(Te=nt(Te)).length,Ot=128,Cn=0,Wt=72;for(const gn of Te)gn<128&&He.push(ft(gn));let en=He.length,Rn=en;for(en&&He.push("-");Rn<pt;){let gn=o;for(const Mn of Te)Mn>=Ot&&Mn<gn&&(gn=Mn);const ir=Rn+1;gn-Ot>xe((o-Cn)/ir)&&Be("overflow"),Cn+=(gn-Ot)*ir,Ot=gn;for(const Mn of Te)if(Mn<Ot&&++Cn>o&&Be("overflow"),Mn==Ot){let Zt=Cn;for(let jn=p;;jn+=p){const Nn=jn<=Wt?1:jn>=Wt+26?26:jn-Wt;if(Zt<Nn)break;const br=Zt-Nn,cr=p-Nn;He.push(ft(We(Nn+br%cr,0))),Zt=xe(br/cr)}He.push(ft(We(Zt,0))),Wt=Xt(Cn,ir,Rn==en),Cn=0,++Rn}++Cn,++Ot}return He.join("")},ye=function(Te){return rt(Te,(function(He){return U.test(He)?yt(He.slice(4).toLowerCase()):He}))},ee=function(Te){return rt(Te,(function(He){return X.test(He)?"xn--"+_t(He):He}))},je={version:"2.1.0",ucs2:{decode:nt,encode:Ge},decode:yt,encode:_t,toASCII:ee,toUnicode:ye}},9751:(Z,F,v)=>{"use strict";v.d(F,{y:()=>j});var o=v(930),p=v(727),A=v(8822),L=v(9635),I=v(2416),B=v(576),V=v(2806);let j=(()=>{class oe{constructor(Se){Se&&(this._subscribe=Se)}lift(Se){const xe=new oe;return xe.source=this,xe.operator=Se,xe}subscribe(Se,xe,ft){const Be=function X(oe){return oe&&oe instanceof o.Lv||function U(oe){return oe&&(0,B.m)(oe.next)&&(0,B.m)(oe.error)&&(0,B.m)(oe.complete)}(oe)&&(0,p.Nn)(oe)}(Se)?Se:new o.Hp(Se,xe,ft);return(0,V.x)((()=>{const{operator:Ke,source:rt}=this;Be.add(Ke?Ke.call(Be,rt):rt?this._subscribe(Be):this._trySubscribe(Be))})),Be}_trySubscribe(Se){try{return this._subscribe(Se)}catch(xe){Se.error(xe)}}forEach(Se,xe){return new(xe=te(xe))(((ft,Be)=>{let Ke;Ke=this.subscribe((rt=>{try{Se(rt)}catch(nt){Be(nt),Ke?.unsubscribe()}}),Be,ft)}))}_subscribe(Se){var xe;return null===(xe=this.source)||void 0===xe?void 0:xe.subscribe(Se)}[A.L](){return this}pipe(...Se){return(0,L.U)(Se)(this)}toPromise(Se){return new(Se=te(Se))(((xe,ft)=>{let Be;this.subscribe((Ke=>Be=Ke),(Ke=>ft(Ke)),(()=>xe(Be)))}))}}return oe.create=De=>new oe(De),oe})();function te(oe){var De;return null!==(De=oe??I.v.Promise)&&void 0!==De?De:Promise}},7579:(Z,F,v)=>{"use strict";v.d(F,{x:()=>V});var o=v(9751),p=v(727);const L=(0,v(3888).d)((te=>function(){te(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}));var I=v(8737),B=v(2806);let V=(()=>{class te extends o.y{constructor(){super(),this.closed=!1,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(X){const oe=new j(this,this);return oe.operator=X,oe}_throwIfClosed(){if(this.closed)throw new L}next(X){(0,B.x)((()=>{if(this._throwIfClosed(),!this.isStopped){const oe=this.observers.slice();for(const De of oe)De.next(X)}}))}error(X){(0,B.x)((()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=X;const{observers:oe}=this;for(;oe.length;)oe.shift().error(X)}}))}complete(){(0,B.x)((()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:X}=this;for(;X.length;)X.shift().complete()}}))}unsubscribe(){this.isStopped=this.closed=!0,this.observers=null}get observed(){var X;return(null===(X=this.observers)||void 0===X?void 0:X.length)>0}_trySubscribe(X){return this._throwIfClosed(),super._trySubscribe(X)}_subscribe(X){return this._throwIfClosed(),this._checkFinalizedStatuses(X),this._innerSubscribe(X)}_innerSubscribe(X){const{hasError:oe,isStopped:De,observers:Se}=this;return oe||De?p.Lc:(Se.push(X),new p.w0((()=>(0,I.P)(Se,X))))}_checkFinalizedStatuses(X){const{hasError:oe,thrownError:De,isStopped:Se}=this;oe?X.error(De):Se&&X.complete()}asObservable(){const X=new o.y;return X.source=this,X}}return te.create=(U,X)=>new j(U,X),te})();class j extends V{constructor(U,X){super(),this.destination=U,this.source=X}next(U){var X,oe;null===(oe=null===(X=this.destination)||void 0===X?void 0:X.next)||void 0===oe||oe.call(X,U)}error(U){var X,oe;null===(oe=null===(X=this.destination)||void 0===X?void 0:X.error)||void 0===oe||oe.call(X,U)}complete(){var U,X;null===(X=null===(U=this.destination)||void 0===U?void 0:U.complete)||void 0===X||X.call(U)}_subscribe(U){var X,oe;return null!==(oe=null===(X=this.source)||void 0===X?void 0:X.subscribe(U))&&void 0!==oe?oe:p.Lc}}},930:(Z,F,v)=>{"use strict";v.d(F,{Hp:()=>De,Lv:()=>oe});var o=v(576),p=v(727),A=v(2416),L=v(7849),I=v(5032);const B=te("C",void 0,void 0);function te(Ke,rt,nt){return{kind:Ke,value:rt,error:nt}}var U=v(3410),X=v(2806);class oe extends p.w0{constructor(rt){super(),this.isStopped=!1,rt?(this.destination=rt,(0,p.Nn)(rt)&&rt.add(this)):this.destination=Be}static create(rt,nt,Ge){return new De(rt,nt,Ge)}next(rt){this.isStopped?ft(function j(Ke){return te("N",Ke,void 0)}(rt),this):this._next(rt)}error(rt){this.isStopped?ft(function V(Ke){return te("E",void 0,Ke)}(rt),this):(this.isStopped=!0,this._error(rt))}complete(){this.isStopped?ft(B,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(rt){this.destination.next(rt)}_error(rt){try{this.destination.error(rt)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}class De extends oe{constructor(rt,nt,Ge){let Me;if(super(),(0,o.m)(rt))Me=rt;else if(rt){let We;({next:Me,error:nt,complete:Ge}=rt),this&&A.v.useDeprecatedNextContext?(We=Object.create(rt),We.unsubscribe=()=>this.unsubscribe()):We=rt,Me=Me?.bind(We),nt=nt?.bind(We),Ge=Ge?.bind(We)}this.destination={next:Me?Se(Me):I.Z,error:Se(nt??xe),complete:Ge?Se(Ge):I.Z}}}function Se(Ke,rt){return(...nt)=>{try{Ke(...nt)}catch(Ge){A.v.useDeprecatedSynchronousErrorHandling?(0,X.O)(Ge):(0,L.h)(Ge)}}}function xe(Ke){throw Ke}function ft(Ke,rt){const{onStoppedNotification:nt}=A.v;nt&&U.z.setTimeout((()=>nt(Ke,rt)))}const Be={closed:!0,next:I.Z,error:xe,complete:I.Z}},727:(Z,F,v)=>{"use strict";v.d(F,{Lc:()=>B,w0:()=>I,Nn:()=>V});var o=v(576);const A=(0,v(3888).d)((te=>function(X){te(this),this.message=X?`${X.length} errors occurred during unsubscription:\n${X.map(((oe,De)=>`${De+1}) ${oe.toString()}`)).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=X}));var L=v(8737);class I{constructor(U){this.initialTeardown=U,this.closed=!1,this._parentage=null,this._teardowns=null}unsubscribe(){let U;if(!this.closed){this.closed=!0;const{_parentage:X}=this;if(X)if(this._parentage=null,Array.isArray(X))for(const Se of X)Se.remove(this);else X.remove(this);const{initialTeardown:oe}=this;if((0,o.m)(oe))try{oe()}catch(Se){U=Se instanceof A?Se.errors:[Se]}const{_teardowns:De}=this;if(De){this._teardowns=null;for(const Se of De)try{j(Se)}catch(xe){U=U??[],xe instanceof A?U=[...U,...xe.errors]:U.push(xe)}}if(U)throw new A(U)}}add(U){var X;if(U&&U!==this)if(this.closed)j(U);else{if(U instanceof I){if(U.closed||U._hasParent(this))return;U._addParent(this)}(this._teardowns=null!==(X=this._teardowns)&&void 0!==X?X:[]).push(U)}}_hasParent(U){const{_parentage:X}=this;return X===U||Array.isArray(X)&&X.includes(U)}_addParent(U){const{_parentage:X}=this;this._parentage=Array.isArray(X)?(X.push(U),X):X?[X,U]:U}_removeParent(U){const{_parentage:X}=this;X===U?this._parentage=null:Array.isArray(X)&&(0,L.P)(X,U)}remove(U){const{_teardowns:X}=this;X&&(0,L.P)(X,U),U instanceof I&&U._removeParent(this)}}I.EMPTY=(()=>{const te=new I;return te.closed=!0,te})();const B=I.EMPTY;function V(te){return te instanceof I||te&&"closed"in te&&(0,o.m)(te.remove)&&(0,o.m)(te.add)&&(0,o.m)(te.unsubscribe)}function j(te){(0,o.m)(te)?te():te.unsubscribe()}},2416:(Z,F,v)=>{"use strict";v.d(F,{v:()=>o});const o={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},515:(Z,F,v)=>{"use strict";v.d(F,{E:()=>p});const p=new(v(9751).y)((I=>I.complete()))},2076:(Z,F,v)=>{"use strict";v.d(F,{D:()=>Xt});var o=v(8421),p=v(9672),A=v(4482),L=v(5403);function I(yt,_t=0){return(0,A.e)(((ye,ee)=>{ye.subscribe(new L.Q(ee,(me=>(0,p.f)(ee,yt,(()=>ee.next(me)),_t)),(()=>(0,p.f)(ee,yt,(()=>ee.complete()),_t)),(me=>(0,p.f)(ee,yt,(()=>ee.error(me)),_t))))}))}function B(yt,_t=0){return(0,A.e)(((ye,ee)=>{ee.add(yt.schedule((()=>ye.subscribe(ee)),_t))}))}var te=v(9751),X=v(2202),oe=v(576);function Se(yt,_t){if(!yt)throw new Error("Iterable cannot be null");return new te.y((ye=>{(0,p.f)(ye,_t,(()=>{const ee=yt[Symbol.asyncIterator]();(0,p.f)(ye,_t,(()=>{ee.next().then((me=>{me.done?ye.complete():ye.next(me.value)}))}),0,!0)}))}))}var xe=v(3670),ft=v(8239),Be=v(1144),Ke=v(6495),rt=v(2206),nt=v(4532),Ge=v(3260);function Xt(yt,_t){return _t?function We(yt,_t){if(null!=yt){if((0,xe.c)(yt))return function V(yt,_t){return(0,o.Xf)(yt).pipe(B(_t),I(_t))}(yt,_t);if((0,Be.z)(yt))return function U(yt,_t){return new te.y((ye=>{let ee=0;return _t.schedule((function(){ee===yt.length?ye.complete():(ye.next(yt[ee++]),ye.closed||this.schedule())}))}))}(yt,_t);if((0,ft.t)(yt))return function j(yt,_t){return(0,o.Xf)(yt).pipe(B(_t),I(_t))}(yt,_t);if((0,rt.D)(yt))return Se(yt,_t);if((0,Ke.T)(yt))return function De(yt,_t){return new te.y((ye=>{let ee;return(0,p.f)(ye,_t,(()=>{ee=yt[X.h](),(0,p.f)(ye,_t,(()=>{let me,je;try{({value:me,done:je}=ee.next())}catch(Te){return void ye.error(Te)}je?ye.complete():ye.next(me)}),0,!0)})),()=>(0,oe.m)(ee?.return)&&ee.return()}))}(yt,_t);if((0,Ge.L)(yt))return function Me(yt,_t){return Se((0,Ge.Q)(yt),_t)}(yt,_t)}throw(0,nt.z)(yt)}(yt,_t):(0,o.Xf)(yt)}},8421:(Z,F,v)=>{"use strict";v.d(F,{Xf:()=>De});var o=v(5987),p=v(1144),A=v(8239),L=v(9751),I=v(3670),B=v(2206),V=v(4532),j=v(6495),te=v(3260),U=v(576),X=v(7849),oe=v(8822);function De(Ge){if(Ge instanceof L.y)return Ge;if(null!=Ge){if((0,I.c)(Ge))return function Se(Ge){return new L.y((Me=>{const We=Ge[oe.L]();if((0,U.m)(We.subscribe))return We.subscribe(Me);throw new TypeError("Provided object does not correctly implement Symbol.observable")}))}(Ge);if((0,p.z)(Ge))return function xe(Ge){return new L.y((Me=>{for(let We=0;We<Ge.length&&!Me.closed;We++)Me.next(Ge[We]);Me.complete()}))}(Ge);if((0,A.t)(Ge))return function ft(Ge){return new L.y((Me=>{Ge.then((We=>{Me.closed||(Me.next(We),Me.complete())}),(We=>Me.error(We))).then(null,X.h)}))}(Ge);if((0,B.D)(Ge))return Ke(Ge);if((0,j.T)(Ge))return function Be(Ge){return new L.y((Me=>{for(const We of Ge)if(Me.next(We),Me.closed)return;Me.complete()}))}(Ge);if((0,te.L)(Ge))return function rt(Ge){return Ke((0,te.Q)(Ge))}(Ge)}throw(0,V.z)(Ge)}function Ke(Ge){return new L.y((Me=>{(function nt(Ge,Me){var We,Xt,yt,_t;return(0,o.mG)(this,void 0,void 0,(function*(){try{for(We=(0,o.KL)(Ge);!(Xt=yield We.next()).done;)if(Me.next(Xt.value),Me.closed)return}catch(ye){yt={error:ye}}finally{try{Xt&&!Xt.done&&(_t=We.return)&&(yield _t.call(We))}finally{if(yt)throw yt.error}}Me.complete()}))})(Ge,Me).catch((We=>Me.error(We)))}))}},6451:(Z,F,v)=>{"use strict";v.d(F,{T:()=>B});var o=v(8189),p=v(8421),A=v(515),L=v(184),I=v(2076);function B(...V){const j=(0,L.yG)(V),te=(0,L._6)(V,1/0),U=V;return U.length?1===U.length?(0,p.Xf)(U[0]):(0,o.J)(te)((0,I.D)(U,j)):A.E}},9646:(Z,F,v)=>{"use strict";v.d(F,{of:()=>A});var o=v(184),p=v(2076);function A(...L){const I=(0,o.yG)(L);return(0,p.D)(L,I)}},5963:(Z,F,v)=>{"use strict";v.d(F,{H:()=>I});var o=v(9751),p=v(4986),A=v(3532);function I(B=0,V,j=p.P){let te=-1;return null!=V&&((0,A.K)(V)?j=V:te=V),new o.y((U=>{let X=function L(B){return B instanceof Date&&!isNaN(B)}(B)?+B-j.now():B;X<0&&(X=0);let oe=0;return j.schedule((function(){U.closed||(U.next(oe++),0<=te?this.schedule(void 0,te):U.complete())}),X)}))}},5403:(Z,F,v)=>{"use strict";v.d(F,{Q:()=>p});var o=v(930);class p extends o.Lv{constructor(L,I,B,V,j){super(L),this.onFinalize=j,this._next=I?function(te){try{I(te)}catch(U){L.error(U)}}:super._next,this._error=V?function(te){try{V(te)}catch(U){L.error(U)}finally{this.unsubscribe()}}:super._error,this._complete=B?function(){try{B()}catch(te){L.error(te)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var L;const{closed:I}=this;super.unsubscribe(),!I&&(null===(L=this.onFinalize)||void 0===L||L.call(this))}}},4351:(Z,F,v)=>{"use strict";v.d(F,{b:()=>A});var o=v(5577),p=v(576);function A(L,I){return(0,p.m)(I)?(0,o.z)(L,I,1):(0,o.z)(L,1)}},7331:(Z,F,v)=>{"use strict";v.d(F,{D:()=>I});var o=v(4482),p=v(5032),A=v(5403),L=v(8421);function I(B){return(0,o.e)(((V,j)=>{let te=!1,U=null,X=null;const oe=()=>{if(X?.unsubscribe(),X=null,te){te=!1;const De=U;U=null,j.next(De)}};V.subscribe(new A.Q(j,(De=>{X?.unsubscribe(),te=!0,U=De,X=new A.Q(j,oe,p.Z),(0,L.Xf)(B(De)).subscribe(X)}),(()=>{oe(),j.complete()}),void 0,(()=>{U=X=null})))}))}},9300:(Z,F,v)=>{"use strict";v.d(F,{h:()=>A});var o=v(4482),p=v(5403);function A(L,I){return(0,o.e)(((B,V)=>{let j=0;B.subscribe(new p.Q(V,(te=>L.call(I,te,j++)&&V.next(te))))}))}},8746:(Z,F,v)=>{"use strict";v.d(F,{x:()=>p});var o=v(4482);function p(A){return(0,o.e)(((L,I)=>{try{L.subscribe(I)}finally{I.add(A)}}))}},8312:(Z,F,v)=>{"use strict";v.d(F,{V:()=>p});const p=v(5577).z},4004:(Z,F,v)=>{"use strict";v.d(F,{U:()=>A});var o=v(4482),p=v(5403);function A(L,I){return(0,o.e)(((B,V)=>{let j=0;B.subscribe(new p.Q(V,(te=>{V.next(L.call(I,te,j++))})))}))}},8189:(Z,F,v)=>{"use strict";v.d(F,{J:()=>A});var o=v(5577),p=v(4671);function A(L=1/0){return(0,o.z)(p.y,L)}},5577:(Z,F,v)=>{"use strict";v.d(F,{z:()=>j});var o=v(4004),p=v(8421),A=v(4482),L=v(9672),I=v(5403),V=v(576);function j(te,U,X=1/0){return(0,V.m)(U)?j(((oe,De)=>(0,o.U)(((Se,xe)=>U(oe,Se,De,xe)))((0,p.Xf)(te(oe,De)))),X):("number"==typeof U&&(X=U),(0,A.e)(((oe,De)=>function B(te,U,X,oe,De,Se,xe,ft){const Be=[];let Ke=0,rt=0,nt=!1;const Ge=()=>{nt&&!Be.length&&!Ke&&U.complete()},Me=Xt=>Ke<oe?We(Xt):Be.push(Xt),We=Xt=>{Se&&U.next(Xt),Ke++;let yt=!1;(0,p.Xf)(X(Xt,rt++)).subscribe(new I.Q(U,(_t=>{De?.(_t),Se?Me(_t):U.next(_t)}),(()=>{yt=!0}),void 0,(()=>{if(yt)try{for(Ke--;Be.length&&Ke<oe;){const _t=Be.shift();xe?(0,L.f)(U,xe,(()=>We(_t))):We(_t)}Ge()}catch(_t){U.error(_t)}})))};return te.subscribe(new I.Q(U,Me,(()=>{nt=!0,Ge()}))),()=>{ft?.()}}(oe,De,te,X))))}},5698:(Z,F,v)=>{"use strict";v.d(F,{q:()=>L});var o=v(515),p=v(4482),A=v(5403);function L(I){return I<=0?()=>o.E:(0,p.e)(((B,V)=>{let j=0;B.subscribe(new A.Q(V,(te=>{++j<=I&&(V.next(te),I<=j&&V.complete())})))}))}},4408:(Z,F,v)=>{"use strict";v.d(F,{o:()=>I});var o=v(727);class p extends o.w0{constructor(V,j){super()}schedule(V,j=0){return this}}const A={setInterval(...B){const{delegate:V}=A;return(V?.setInterval||setInterval)(...B)},clearInterval(B){const{delegate:V}=A;return(V?.clearInterval||clearInterval)(B)},delegate:void 0};var L=v(8737);class I extends p{constructor(V,j){super(V,j),this.scheduler=V,this.work=j,this.pending=!1}schedule(V,j=0){if(this.closed)return this;this.state=V;const te=this.id,U=this.scheduler;return null!=te&&(this.id=this.recycleAsyncId(U,te,j)),this.pending=!0,this.delay=j,this.id=this.id||this.requestAsyncId(U,this.id,j),this}requestAsyncId(V,j,te=0){return A.setInterval(V.flush.bind(V,this),te)}recycleAsyncId(V,j,te=0){if(null!=te&&this.delay===te&&!1===this.pending)return j;A.clearInterval(j)}execute(V,j){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const te=this._execute(V,j);if(te)return te;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(V,j){let U,te=!1;try{this.work(V)}catch(X){te=!0,U=X||new Error("Scheduled action threw falsy error")}if(te)return this.unsubscribe(),U}unsubscribe(){if(!this.closed){const{id:V,scheduler:j}=this,{actions:te}=j;this.work=this.state=this.scheduler=null,this.pending=!1,(0,L.P)(te,this),null!=V&&(this.id=this.recycleAsyncId(j,V,null)),this.delay=null,super.unsubscribe()}}}},640:(Z,F,v)=>{"use strict";v.d(F,{v:()=>A});const o={now:()=>(o.delegate||Date).now(),delegate:void 0};class p{constructor(I,B=p.now){this.schedulerActionCtor=I,this.now=B}schedule(I,B=0,V){return new this.schedulerActionCtor(this,I).schedule(V,B)}}p.now=o.now;class A extends p{constructor(I,B=p.now){super(I,B),this.actions=[],this._active=!1,this._scheduled=void 0}flush(I){const{actions:B}=this;if(this._active)return void B.push(I);let V;this._active=!0;do{if(V=I.execute(I.state,I.delay))break}while(I=B.shift());if(this._active=!1,V){for(;I=B.shift();)I.unsubscribe();throw V}}}},4986:(Z,F,v)=>{"use strict";v.d(F,{P:()=>L,z:()=>A});var o=v(4408);const A=new(v(640).v)(o.o),L=A},3410:(Z,F,v)=>{"use strict";v.d(F,{z:()=>o});const o={setTimeout(...p){const{delegate:A}=o;return(A?.setTimeout||setTimeout)(...p)},clearTimeout(p){const{delegate:A}=o;return(A?.clearTimeout||clearTimeout)(p)},delegate:void 0}},2202:(Z,F,v)=>{"use strict";v.d(F,{h:()=>p});const p=function o(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(Z,F,v)=>{"use strict";v.d(F,{L:()=>o});const o="function"==typeof Symbol&&Symbol.observable||"@@observable"},184:(Z,F,v)=>{"use strict";v.d(F,{_6:()=>B,jO:()=>L,yG:()=>I});var o=v(576),p=v(3532);function A(V){return V[V.length-1]}function L(V){return(0,o.m)(A(V))?V.pop():void 0}function I(V){return(0,p.K)(A(V))?V.pop():void 0}function B(V,j){return"number"==typeof A(V)?V.pop():j}},4742:(Z,F,v)=>{"use strict";v.d(F,{D:()=>I});const{isArray:o}=Array,{getPrototypeOf:p,prototype:A,keys:L}=Object;function I(V){if(1===V.length){const j=V[0];if(o(j))return{args:j,keys:null};if(function B(V){return V&&"object"==typeof V&&p(V)===A}(j)){const te=L(j);return{args:te.map((U=>j[U])),keys:te}}}return{args:V,keys:null}}},8737:(Z,F,v)=>{"use strict";function o(p,A){if(p){const L=p.indexOf(A);0<=L&&p.splice(L,1)}}v.d(F,{P:()=>o})},3888:(Z,F,v)=>{"use strict";function o(p){const L=p((I=>{Error.call(I),I.stack=(new Error).stack}));return L.prototype=Object.create(Error.prototype),L.prototype.constructor=L,L}v.d(F,{d:()=>o})},1810:(Z,F,v)=>{"use strict";function o(p,A){return p.reduce(((L,I,B)=>(L[I]=A[B],L)),{})}v.d(F,{n:()=>o})},2806:(Z,F,v)=>{"use strict";v.d(F,{O:()=>L,x:()=>A});var o=v(2416);let p=null;function A(I){if(o.v.useDeprecatedSynchronousErrorHandling){const B=!p;if(B&&(p={errorThrown:!1,error:null}),I(),B){const{errorThrown:V,error:j}=p;if(p=null,V)throw j}}else I()}function L(I){o.v.useDeprecatedSynchronousErrorHandling&&p&&(p.errorThrown=!0,p.error=I)}},9672:(Z,F,v)=>{"use strict";function o(p,A,L,I=0,B=!1){const V=A.schedule((function(){L(),B?p.add(this.schedule(null,I)):this.unsubscribe()}),I);if(p.add(V),!B)return V}v.d(F,{f:()=>o})},4671:(Z,F,v)=>{"use strict";function o(p){return p}v.d(F,{y:()=>o})},1144:(Z,F,v)=>{"use strict";v.d(F,{z:()=>o});const o=p=>p&&"number"==typeof p.length&&"function"!=typeof p},2206:(Z,F,v)=>{"use strict";v.d(F,{D:()=>p});var o=v(576);function p(A){return Symbol.asyncIterator&&(0,o.m)(A?.[Symbol.asyncIterator])}},576:(Z,F,v)=>{"use strict";function o(p){return"function"==typeof p}v.d(F,{m:()=>o})},3670:(Z,F,v)=>{"use strict";v.d(F,{c:()=>A});var o=v(8822),p=v(576);function A(L){return(0,p.m)(L[o.L])}},6495:(Z,F,v)=>{"use strict";v.d(F,{T:()=>A});var o=v(2202),p=v(576);function A(L){return(0,p.m)(L?.[o.h])}},8239:(Z,F,v)=>{"use strict";v.d(F,{t:()=>p});var o=v(576);function p(A){return(0,o.m)(A?.then)}},3260:(Z,F,v)=>{"use strict";v.d(F,{L:()=>L,Q:()=>A});var o=v(5987),p=v(576);function A(I){return(0,o.FC)(this,arguments,(function*(){const V=I.getReader();try{for(;;){const{value:j,done:te}=yield(0,o.qq)(V.read());if(te)return yield(0,o.qq)(void 0);yield yield(0,o.qq)(j)}}finally{V.releaseLock()}}))}function L(I){return(0,p.m)(I?.getReader)}},3532:(Z,F,v)=>{"use strict";v.d(F,{K:()=>p});var o=v(576);function p(A){return A&&(0,o.m)(A.schedule)}},4482:(Z,F,v)=>{"use strict";v.d(F,{A:()=>p,e:()=>A});var o=v(576);function p(L){return(0,o.m)(L?.lift)}function A(L){return I=>{if(p(I))return I.lift((function(B){try{return L(B,this)}catch(V){this.error(V)}}));throw new TypeError("Unable to lift unknown Observable type")}}},3268:(Z,F,v)=>{"use strict";v.d(F,{Z:()=>L});var o=v(4004);const{isArray:p}=Array;function L(I){return(0,o.U)((B=>function A(I,B){return p(B)?I(...B):I(B)}(I,B)))}},5032:(Z,F,v)=>{"use strict";function o(){}v.d(F,{Z:()=>o})},9635:(Z,F,v)=>{"use strict";v.d(F,{U:()=>A,z:()=>p});var o=v(4671);function p(...L){return A(L)}function A(L){return 0===L.length?o.y:1===L.length?L[0]:function(B){return L.reduce(((V,j)=>j(V)),B)}}},7849:(Z,F,v)=>{"use strict";v.d(F,{h:()=>A});var o=v(2416),p=v(3410);function A(L){p.z.setTimeout((()=>{const{onUnhandledError:I}=o.v;if(!I)throw L;I(L)}))}},4532:(Z,F,v)=>{"use strict";function o(p){return new TypeError(`You provided ${null!==p&&"object"==typeof p?"an invalid object":`'${p}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}v.d(F,{z:()=>o})},8583:()=>{"use strict";!function(pe){const Ne=pe.performance;function Ae(de){Ne&&Ne.mark&&Ne.mark(de)}function ke(de,ne){Ne&&Ne.measure&&Ne.measure(de,ne)}Ae("Zone");const Xe=pe.__Zone_symbol_prefix||"__zone_symbol__";function et(de){return Xe+de}const it=!0===pe[et("forceDuplicateZoneCheck")];if(pe.Zone){if(it||"function"!=typeof pe.Zone.__symbol__)throw new Error("Zone already loaded.");return pe.Zone}let at=(()=>{class de{constructor(z,se){this._parent=z,this._name=se?se.name||"unnamed":"<root>",this._properties=se&&se.properties||{},this._zoneDelegate=new It(this,this._parent&&this._parent._zoneDelegate,se)}static assertZonePatched(){if(pe.Promise!==Ut.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 z=de.current;for(;z.parent;)z=z.parent;return z}static get current(){return un.zone}static get currentTask(){return nn}static __load_patch(z,se,Oe=!1){if(Ut.hasOwnProperty(z)){if(!Oe&&it)throw Error("Already loaded patch: "+z)}else if(!pe["__Zone_disable_"+z]){const tt="Zone:"+z;Ae(tt),Ut[z]=se(pe,de,tn),ke(tt,tt)}}get parent(){return this._parent}get name(){return this._name}get(z){const se=this.getZoneWith(z);if(se)return se._properties[z]}getZoneWith(z){let se=this;for(;se;){if(se._properties.hasOwnProperty(z))return se;se=se._parent}return null}fork(z){if(!z)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,z)}wrap(z,se){if("function"!=typeof z)throw new Error("Expecting function got: "+z);const Oe=this._zoneDelegate.intercept(this,z,se),tt=this;return function(){return tt.runGuarded(Oe,this,arguments,se)}}run(z,se,Oe,tt){un={parent:un,zone:this};try{return this._zoneDelegate.invoke(this,z,se,Oe,tt)}finally{un=un.parent}}runGuarded(z,se=null,Oe,tt){un={parent:un,zone:this};try{try{return this._zoneDelegate.invoke(this,z,se,Oe,tt)}catch(At){if(this._zoneDelegate.handleError(this,At))throw At}}finally{un=un.parent}}runTask(z,se,Oe){if(z.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(z.zone||Xn).name+"; Execution: "+this.name+")");if(z.state===Sn&&(z.type===$e||z.type===Ie))return;const tt=z.state!=Lt;tt&&z._transitionTo(Lt,vn),z.runCount++;const At=nn;nn=z,un={parent:un,zone:this};try{z.type==Ie&&z.data&&!z.data.isPeriodic&&(z.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,z,se,Oe)}catch(ot){if(this._zoneDelegate.handleError(this,ot))throw ot}}finally{z.state!==Sn&&z.state!==re&&(z.type==$e||z.data&&z.data.isPeriodic?tt&&z._transitionTo(vn,Lt):(z.runCount=0,this._updateTaskCount(z,-1),tt&&z._transitionTo(Sn,Lt,Sn))),un=un.parent,nn=At}}scheduleTask(z){if(z.zone&&z.zone!==this){let Oe=this;for(;Oe;){if(Oe===z.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${z.zone.name}`);Oe=Oe.parent}}z._transitionTo(Ft,Sn);const se=[];z._zoneDelegates=se,z._zone=this;try{z=this._zoneDelegate.scheduleTask(this,z)}catch(Oe){throw z._transitionTo(re,Ft,Sn),this._zoneDelegate.handleError(this,Oe),Oe}return z._zoneDelegates===se&&this._updateTaskCount(z,1),z.state==Ft&&z._transitionTo(vn,Ft),z}scheduleMicroTask(z,se,Oe,tt){return this.scheduleTask(new Rt(ae,z,se,Oe,tt,void 0))}scheduleMacroTask(z,se,Oe,tt,At){return this.scheduleTask(new Rt(Ie,z,se,Oe,tt,At))}scheduleEventTask(z,se,Oe,tt,At){return this.scheduleTask(new Rt($e,z,se,Oe,tt,At))}cancelTask(z){if(z.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(z.zone||Xn).name+"; Execution: "+this.name+")");z._transitionTo(Pe,vn,Lt);try{this._zoneDelegate.cancelTask(this,z)}catch(se){throw z._transitionTo(re,Pe),this._zoneDelegate.handleError(this,se),se}return this._updateTaskCount(z,-1),z._transitionTo(Sn,Pe),z.runCount=0,z}_updateTaskCount(z,se){const Oe=z._zoneDelegates;-1==se&&(z._zoneDelegates=null);for(let tt=0;tt<Oe.length;tt++)Oe[tt]._updateTaskCount(z.type,se)}}return de.__symbol__=et,de})();const Mt={name:"",onHasTask:(de,ne,z,se)=>de.hasTask(z,se),onScheduleTask:(de,ne,z,se)=>de.scheduleTask(z,se),onInvokeTask:(de,ne,z,se,Oe,tt)=>de.invokeTask(z,se,Oe,tt),onCancelTask:(de,ne,z,se)=>de.cancelTask(z,se)};class It{constructor(ne,z,se){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=ne,this._parentDelegate=z,this._forkZS=se&&(se&&se.onFork?se:z._forkZS),this._forkDlgt=se&&(se.onFork?z:z._forkDlgt),this._forkCurrZone=se&&(se.onFork?this.zone:z._forkCurrZone),this._interceptZS=se&&(se.onIntercept?se:z._interceptZS),this._interceptDlgt=se&&(se.onIntercept?z:z._interceptDlgt),this._interceptCurrZone=se&&(se.onIntercept?this.zone:z._interceptCurrZone),this._invokeZS=se&&(se.onInvoke?se:z._invokeZS),this._invokeDlgt=se&&(se.onInvoke?z:z._invokeDlgt),this._invokeCurrZone=se&&(se.onInvoke?this.zone:z._invokeCurrZone),this._handleErrorZS=se&&(se.onHandleError?se:z._handleErrorZS),this._handleErrorDlgt=se&&(se.onHandleError?z:z._handleErrorDlgt),this._handleErrorCurrZone=se&&(se.onHandleError?this.zone:z._handleErrorCurrZone),this._scheduleTaskZS=se&&(se.onScheduleTask?se:z._scheduleTaskZS),this._scheduleTaskDlgt=se&&(se.onScheduleTask?z:z._scheduleTaskDlgt),this._scheduleTaskCurrZone=se&&(se.onScheduleTask?this.zone:z._scheduleTaskCurrZone),this._invokeTaskZS=se&&(se.onInvokeTask?se:z._invokeTaskZS),this._invokeTaskDlgt=se&&(se.onInvokeTask?z:z._invokeTaskDlgt),this._invokeTaskCurrZone=se&&(se.onInvokeTask?this.zone:z._invokeTaskCurrZone),this._cancelTaskZS=se&&(se.onCancelTask?se:z._cancelTaskZS),this._cancelTaskDlgt=se&&(se.onCancelTask?z:z._cancelTaskDlgt),this._cancelTaskCurrZone=se&&(se.onCancelTask?this.zone:z._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const Oe=se&&se.onHasTask;(Oe||z&&z._hasTaskZS)&&(this._hasTaskZS=Oe?se:Mt,this._hasTaskDlgt=z,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=ne,se.onScheduleTask||(this._scheduleTaskZS=Mt,this._scheduleTaskDlgt=z,this._scheduleTaskCurrZone=this.zone),se.onInvokeTask||(this._invokeTaskZS=Mt,this._invokeTaskDlgt=z,this._invokeTaskCurrZone=this.zone),se.onCancelTask||(this._cancelTaskZS=Mt,this._cancelTaskDlgt=z,this._cancelTaskCurrZone=this.zone))}fork(ne,z){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,ne,z):new at(ne,z)}intercept(ne,z,se){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,ne,z,se):z}invoke(ne,z,se,Oe,tt){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,ne,z,se,Oe,tt):z.apply(se,Oe)}handleError(ne,z){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,ne,z)}scheduleTask(ne,z){let se=z;if(this._scheduleTaskZS)this._hasTaskZS&&se._zoneDelegates.push(this._hasTaskDlgtOwner),se=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,ne,z),se||(se=z);else if(z.scheduleFn)z.scheduleFn(z);else{if(z.type!=ae)throw new Error("Task is missing scheduleFn.");cn(z)}return se}invokeTask(ne,z,se,Oe){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,ne,z,se,Oe):z.callback.apply(se,Oe)}cancelTask(ne,z){let se;if(this._cancelTaskZS)se=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,ne,z);else{if(!z.cancelFn)throw Error("Task is not cancelable");se=z.cancelFn(z)}return se}hasTask(ne,z){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,ne,z)}catch(se){this.handleError(ne,se)}}_updateTaskCount(ne,z){const se=this._taskCounts,Oe=se[ne],tt=se[ne]=Oe+z;if(tt<0)throw new Error("More tasks executed then were scheduled.");0!=Oe&&0!=tt||this.hasTask(this.zone,{microTask:se.microTask>0,macroTask:se.macroTask>0,eventTask:se.eventTask>0,change:ne})}}class Rt{constructor(ne,z,se,Oe,tt,At){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=ne,this.source=z,this.data=Oe,this.scheduleFn=tt,this.cancelFn=At,!se)throw new Error("callback is not defined");this.callback=se;const ot=this;this.invoke=ne===$e&&Oe&&Oe.useG?Rt.invokeTask:function(){return Rt.invokeTask.call(pe,ot,this,arguments)}}static invokeTask(ne,z,se){ne||(ne=this),$t++;try{return ne.runCount++,ne.zone.runTask(ne,z,se)}finally{1==$t&&Tt(),$t--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(Sn,Ft)}_transitionTo(ne,z,se){if(this._state!==z&&this._state!==se)throw new Error(`${this.type} '${this.source}': can not transition to '${ne}', expecting state '${z}'${se?" or '"+se+"'":""}, was '${this._state}'.`);this._state=ne,ne==Sn&&(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 wn=et("setTimeout"),Nt=et("Promise"),Ht=et("then");let Kt,mn=[],Wn=!1;function Qt(de){if(Kt||pe[Nt]&&(Kt=pe[Nt].resolve(0)),Kt){let ne=Kt[Ht];ne||(ne=Kt.then),ne.call(Kt,de)}else pe[wn](de,0)}function cn(de){0===$t&&0===mn.length&&Qt(Tt),de&&mn.push(de)}function Tt(){if(!Wn){for(Wn=!0;mn.length;){const de=mn;mn=[];for(let ne=0;ne<de.length;ne++){const z=de[ne];try{z.zone.runTask(z,null,null)}catch(se){tn.onUnhandledError(se)}}}tn.microtaskDrainDone(),Wn=!1}}const Xn={name:"NO ZONE"},Sn="notScheduled",Ft="scheduling",vn="scheduled",Lt="running",Pe="canceling",re="unknown",ae="microTask",Ie="macroTask",$e="eventTask",Ut={},tn={symbol:et,currentZoneFrame:()=>un,onUnhandledError:Ce,microtaskDrainDone:Ce,scheduleMicroTask:cn,showUncaughtError:()=>!at[et("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:Ce,patchMethod:()=>Ce,bindArguments:()=>[],patchThen:()=>Ce,patchMacroTask:()=>Ce,patchEventPrototype:()=>Ce,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>Ce,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>Ce,wrapWithCurrentZone:()=>Ce,filterProperties:()=>[],attachOriginToPatched:()=>Ce,_redefineProperty:()=>Ce,patchCallbacks:()=>Ce,nativeScheduleMicroTask:Qt};let un={parent:null,zone:new at(null,null)},nn=null,$t=0;function Ce(){}ke("Zone","Zone"),pe.Zone=at}(typeof window<"u"&&window||typeof self<"u"&&self||global);const Z=Object.getOwnPropertyDescriptor,F=Object.defineProperty,v=Object.getPrototypeOf,o=Object.create,p=Array.prototype.slice,A="addEventListener",L="removeEventListener",I=Zone.__symbol__(A),B=Zone.__symbol__(L),V="true",j="false",te=Zone.__symbol__("");function U(pe,Ne){return Zone.current.wrap(pe,Ne)}function X(pe,Ne,Ae,ke,Xe){return Zone.current.scheduleMacroTask(pe,Ne,Ae,ke,Xe)}const oe=Zone.__symbol__,De=typeof window<"u",Se=De?window:void 0,xe=De&&Se||"object"==typeof self&&self||global;function Be(pe,Ne){for(let Ae=pe.length-1;Ae>=0;Ae--)"function"==typeof pe[Ae]&&(pe[Ae]=U(pe[Ae],Ne+"_"+Ae));return pe}function rt(pe){return!pe||!1!==pe.writable&&!("function"==typeof pe.get&&typeof pe.set>"u")}const nt=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Ge=!("nw"in xe)&&typeof xe.process<"u"&&"[object process]"==={}.toString.call(xe.process),Me=!Ge&&!nt&&!(!De||!Se.HTMLElement),We=typeof xe.process<"u"&&"[object process]"==={}.toString.call(xe.process)&&!nt&&!(!De||!Se.HTMLElement),Xt={},yt=function(pe){if(!(pe=pe||xe.event))return;let Ne=Xt[pe.type];Ne||(Ne=Xt[pe.type]=oe("ON_PROPERTY"+pe.type));const Ae=this||pe.target||xe,ke=Ae[Ne];let Xe;if(Me&&Ae===Se&&"error"===pe.type){const et=pe;Xe=ke&&ke.call(this,et.message,et.filename,et.lineno,et.colno,et.error),!0===Xe&&pe.preventDefault()}else Xe=ke&&ke.apply(this,arguments),null!=Xe&&!Xe&&pe.preventDefault();return Xe};function _t(pe,Ne,Ae){let ke=Z(pe,Ne);if(!ke&&Ae&&Z(Ae,Ne)&&(ke={enumerable:!0,configurable:!0}),!ke||!ke.configurable)return;const Xe=oe("on"+Ne+"patched");if(pe.hasOwnProperty(Xe)&&pe[Xe])return;delete ke.writable,delete ke.value;const et=ke.get,it=ke.set,at=Ne.slice(2);let Mt=Xt[at];Mt||(Mt=Xt[at]=oe("ON_PROPERTY"+at)),ke.set=function(It){let Rt=this;!Rt&&pe===xe&&(Rt=xe),Rt&&("function"==typeof Rt[Mt]&&Rt.removeEventListener(at,yt),it&&it.call(Rt,null),Rt[Mt]=It,"function"==typeof It&&Rt.addEventListener(at,yt,!1))},ke.get=function(){let It=this;if(!It&&pe===xe&&(It=xe),!It)return null;const Rt=It[Mt];if(Rt)return Rt;if(et){let wn=et.call(this);if(wn)return ke.set.call(this,wn),"function"==typeof It.removeAttribute&&It.removeAttribute(Ne),wn}return null},F(pe,Ne,ke),pe[Xe]=!0}function ye(pe,Ne,Ae){if(Ne)for(let ke=0;ke<Ne.length;ke++)_t(pe,"on"+Ne[ke],Ae);else{const ke=[];for(const Xe in pe)"on"==Xe.slice(0,2)&&ke.push(Xe);for(let Xe=0;Xe<ke.length;Xe++)_t(pe,ke[Xe],Ae)}}const ee=oe("originalInstance");function me(pe){const Ne=xe[pe];if(!Ne)return;xe[oe(pe)]=Ne,xe[pe]=function(){const Xe=Be(arguments,pe);switch(Xe.length){case 0:this[ee]=new Ne;break;case 1:this[ee]=new Ne(Xe[0]);break;case 2:this[ee]=new Ne(Xe[0],Xe[1]);break;case 3:this[ee]=new Ne(Xe[0],Xe[1],Xe[2]);break;case 4:this[ee]=new Ne(Xe[0],Xe[1],Xe[2],Xe[3]);break;default:throw new Error("Arg list too long.")}},He(xe[pe],Ne);const Ae=new Ne((function(){}));let ke;for(ke in Ae)"XMLHttpRequest"===pe&&"responseBlob"===ke||function(Xe){"function"==typeof Ae[Xe]?xe[pe].prototype[Xe]=function(){return this[ee][Xe].apply(this[ee],arguments)}:F(xe[pe].prototype,Xe,{set:function(et){"function"==typeof et?(this[ee][Xe]=U(et,pe+"."+Xe),He(this[ee][Xe],et)):this[ee][Xe]=et},get:function(){return this[ee][Xe]}})}(ke);for(ke in Ne)"prototype"!==ke&&Ne.hasOwnProperty(ke)&&(xe[pe][ke]=Ne[ke])}function je(pe,Ne,Ae){let ke=pe;for(;ke&&!ke.hasOwnProperty(Ne);)ke=v(ke);!ke&&pe[Ne]&&(ke=pe);const Xe=oe(Ne);let et=null;if(ke&&(!(et=ke[Xe])||!ke.hasOwnProperty(Xe))&&(et=ke[Xe]=ke[Ne],rt(ke&&Z(ke,Ne)))){const at=Ae(et,Xe,Ne);ke[Ne]=function(){return at(this,arguments)},He(ke[Ne],et)}return et}function Te(pe,Ne,Ae){let ke=null;function Xe(et){const it=et.data;return it.args[it.cbIdx]=function(){et.invoke.apply(this,arguments)},ke.apply(it.target,it.args),et}ke=je(pe,Ne,(et=>function(it,at){const Mt=Ae(it,at);return Mt.cbIdx>=0&&"function"==typeof at[Mt.cbIdx]?X(Mt.name,at[Mt.cbIdx],Mt,Xe):et.apply(it,at)}))}function He(pe,Ne){pe[oe("OriginalDelegate")]=Ne}let pt=!1,Ot=!1;function Wt(){if(pt)return Ot;pt=!0;try{const pe=Se.navigator.userAgent;(-1!==pe.indexOf("MSIE ")||-1!==pe.indexOf("Trident/")||-1!==pe.indexOf("Edge/"))&&(Ot=!0)}catch{}return Ot}Zone.__load_patch("ZoneAwarePromise",((pe,Ne,Ae)=>{const ke=Object.getOwnPropertyDescriptor,Xe=Object.defineProperty,it=Ae.symbol,at=[],Mt=!0===pe[it("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],It=it("Promise"),Rt=it("then");Ae.onUnhandledError=ot=>{if(Ae.showUncaughtError()){const Dt=ot&&ot.rejection;Dt?console.error("Unhandled Promise rejection:",Dt instanceof Error?Dt.message:Dt,"; Zone:",ot.zone.name,"; Task:",ot.task&&ot.task.source,"; Value:",Dt,Dt instanceof Error?Dt.stack:void 0):console.error(ot)}},Ae.microtaskDrainDone=()=>{for(;at.length;){const ot=at.shift();try{ot.zone.runGuarded((()=>{throw ot.throwOriginal?ot.rejection:ot}))}catch(Dt){Ht(Dt)}}};const Nt=it("unhandledPromiseRejectionHandler");function Ht(ot){Ae.onUnhandledError(ot);try{const Dt=Ne[Nt];"function"==typeof Dt&&Dt.call(this,ot)}catch{}}function mn(ot){return ot&&ot.then}function Wn(ot){return ot}function Kt(ot){return z.reject(ot)}const Qt=it("state"),cn=it("value"),Tt=it("finally"),Xn=it("parentPromiseValue"),Sn=it("parentPromiseState"),vn=null,Pe=!1;function ae(ot,Dt){return Ue=>{try{tn(ot,Dt,Ue)}catch(wt){tn(ot,!1,wt)}}}const Ie=function(){let ot=!1;return function(Ue){return function(){ot||(ot=!0,Ue.apply(null,arguments))}}},Ut=it("currentTaskTrace");function tn(ot,Dt,Ue){const wt=Ie();if(ot===Ue)throw new TypeError("Promise resolved with itself");if(ot[Qt]===vn){let Pt=null;try{("object"==typeof Ue||"function"==typeof Ue)&&(Pt=Ue&&Ue.then)}catch(Yt){return wt((()=>{tn(ot,!1,Yt)}))(),ot}if(Dt!==Pe&&Ue instanceof z&&Ue.hasOwnProperty(Qt)&&Ue.hasOwnProperty(cn)&&Ue[Qt]!==vn)nn(Ue),tn(ot,Ue[Qt],Ue[cn]);else if(Dt!==Pe&&"function"==typeof Pt)try{Pt.call(Ue,wt(ae(ot,Dt)),wt(ae(ot,!1)))}catch(Yt){wt((()=>{tn(ot,!1,Yt)}))()}else{ot[Qt]=Dt;const Yt=ot[cn];if(ot[cn]=Ue,ot[Tt]===Tt&&!0===Dt&&(ot[Qt]=ot[Sn],ot[cn]=ot[Xn]),Dt===Pe&&Ue instanceof Error){const jt=Ne.currentTask&&Ne.currentTask.data&&Ne.currentTask.data.__creationTrace__;jt&&Xe(Ue,Ut,{configurable:!0,enumerable:!1,writable:!0,value:jt})}for(let jt=0;jt<Yt.length;)$t(ot,Yt[jt++],Yt[jt++],Yt[jt++],Yt[jt++]);if(0==Yt.length&&Dt==Pe){ot[Qt]=0;let jt=Ue;try{throw new Error("Uncaught (in promise): "+function et(ot){return ot&&ot.toString===Object.prototype.toString?(ot.constructor&&ot.constructor.name||"")+": "+JSON.stringify(ot):ot?ot.toString():Object.prototype.toString.call(ot)}(Ue)+(Ue&&Ue.stack?"\n"+Ue.stack:""))}catch(St){jt=St}Mt&&(jt.throwOriginal=!0),jt.rejection=Ue,jt.promise=ot,jt.zone=Ne.current,jt.task=Ne.currentTask,at.push(jt),Ae.scheduleMicroTask()}}}return ot}const un=it("rejectionHandledHandler");function nn(ot){if(0===ot[Qt]){try{const Dt=Ne[un];Dt&&"function"==typeof Dt&&Dt.call(this,{rejection:ot[cn],promise:ot})}catch{}ot[Qt]=Pe;for(let Dt=0;Dt<at.length;Dt++)ot===at[Dt].promise&&at.splice(Dt,1)}}function $t(ot,Dt,Ue,wt,Pt){nn(ot);const Yt=ot[Qt],jt=Yt?"function"==typeof wt?wt:Wn:"function"==typeof Pt?Pt:Kt;Dt.scheduleMicroTask("Promise.then",(()=>{try{const St=ot[cn],dn=!!Ue&&Tt===Ue[Tt];dn&&(Ue[Xn]=St,Ue[Sn]=Yt);const on=Dt.run(jt,void 0,dn&&jt!==Kt&&jt!==Wn?[]:[St]);tn(Ue,!0,on)}catch(St){tn(Ue,!1,St)}}),Ue)}const de=function(){},ne=pe.AggregateError;class z{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(Dt){return tn(new this(null),!0,Dt)}static reject(Dt){return tn(new this(null),Pe,Dt)}static any(Dt){if(!Dt||"function"!=typeof Dt[Symbol.iterator])return Promise.reject(new ne([],"All promises were rejected"));const Ue=[];let wt=0;try{for(let jt of Dt)wt++,Ue.push(z.resolve(jt))}catch{return Promise.reject(new ne([],"All promises were rejected"))}if(0===wt)return Promise.reject(new ne([],"All promises were rejected"));let Pt=!1;const Yt=[];return new z(((jt,St)=>{for(let dn=0;dn<Ue.length;dn++)Ue[dn].then((on=>{Pt||(Pt=!0,jt(on))}),(on=>{Yt.push(on),wt--,0===wt&&(Pt=!0,St(new ne(Yt,"All promises were rejected")))}))}))}static race(Dt){let Ue,wt,Pt=new this(((St,dn)=>{Ue=St,wt=dn}));function Yt(St){Ue(St)}function jt(St){wt(St)}for(let St of Dt)mn(St)||(St=this.resolve(St)),St.then(Yt,jt);return Pt}static all(Dt){return z.allWithCallback(Dt)}static allSettled(Dt){return(this&&this.prototype instanceof z?this:z).allWithCallback(Dt,{thenCallback:wt=>({status:"fulfilled",value:wt}),errorCallback:wt=>({status:"rejected",reason:wt})})}static allWithCallback(Dt,Ue){let wt,Pt,Yt=new this(((on,er)=>{wt=on,Pt=er})),jt=2,St=0;const dn=[];for(let on of Dt){mn(on)||(on=this.resolve(on));const er=St;try{on.then((Un=>{dn[er]=Ue?Ue.thenCallback(Un):Un,jt--,0===jt&&wt(dn)}),(Un=>{Ue?(dn[er]=Ue.errorCallback(Un),jt--,0===jt&&wt(dn)):Pt(Un)}))}catch(Un){Pt(Un)}jt++,St++}return jt-=2,0===jt&&wt(dn),Yt}constructor(Dt){const Ue=this;if(!(Ue instanceof z))throw new Error("Must be an instanceof Promise.");Ue[Qt]=vn,Ue[cn]=[];try{const wt=Ie();Dt&&Dt(wt(ae(Ue,!0)),wt(ae(Ue,Pe)))}catch(wt){tn(Ue,!1,wt)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return z}then(Dt,Ue){var wt;let Pt=null===(wt=this.constructor)||void 0===wt?void 0:wt[Symbol.species];(!Pt||"function"!=typeof Pt)&&(Pt=this.constructor||z);const Yt=new Pt(de),jt=Ne.current;return this[Qt]==vn?this[cn].push(jt,Yt,Dt,Ue):$t(this,jt,Yt,Dt,Ue),Yt}catch(Dt){return this.then(null,Dt)}finally(Dt){var Ue;let wt=null===(Ue=this.constructor)||void 0===Ue?void 0:Ue[Symbol.species];(!wt||"function"!=typeof wt)&&(wt=z);const Pt=new wt(de);Pt[Tt]=Tt;const Yt=Ne.current;return this[Qt]==vn?this[cn].push(Yt,Pt,Dt,Dt):$t(this,Yt,Pt,Dt,Dt),Pt}}z.resolve=z.resolve,z.reject=z.reject,z.race=z.race,z.all=z.all;const se=pe[It]=pe.Promise;pe.Promise=z;const Oe=it("thenPatched");function tt(ot){const Dt=ot.prototype,Ue=ke(Dt,"then");if(Ue&&(!1===Ue.writable||!Ue.configurable))return;const wt=Dt.then;Dt[Rt]=wt,ot.prototype.then=function(Pt,Yt){return new z(((St,dn)=>{wt.call(this,St,dn)})).then(Pt,Yt)},ot[Oe]=!0}return Ae.patchThen=tt,se&&(tt(se),je(pe,"fetch",(ot=>function At(ot){return function(Dt,Ue){let wt=ot.apply(Dt,Ue);if(wt instanceof z)return wt;let Pt=wt.constructor;return Pt[Oe]||tt(Pt),wt}}(ot)))),Promise[Ne.__symbol__("uncaughtPromiseErrors")]=at,z})),Zone.__load_patch("toString",(pe=>{const Ne=Function.prototype.toString,Ae=oe("OriginalDelegate"),ke=oe("Promise"),Xe=oe("Error"),et=function(){if("function"==typeof this){const It=this[Ae];if(It)return"function"==typeof It?Ne.call(It):Object.prototype.toString.call(It);if(this===Promise){const Rt=pe[ke];if(Rt)return Ne.call(Rt)}if(this===Error){const Rt=pe[Xe];if(Rt)return Ne.call(Rt)}}return Ne.call(this)};et[Ae]=Ne,Function.prototype.toString=et;const it=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":it.call(this)}}));let en=!1;if(typeof window<"u")try{const pe=Object.defineProperty({},"passive",{get:function(){en=!0}});window.addEventListener("test",pe,pe),window.removeEventListener("test",pe,pe)}catch{en=!1}const Rn={useG:!0},gn={},ir={},Mn=new RegExp("^"+te+"(\\w+)(true|false)$"),Zt=oe("propagationStopped");function jn(pe,Ne){const Ae=(Ne?Ne(pe):pe)+j,ke=(Ne?Ne(pe):pe)+V,Xe=te+Ae,et=te+ke;gn[pe]={},gn[pe][j]=Xe,gn[pe][V]=et}function Nn(pe,Ne,Ae,ke){const Xe=ke&&ke.add||A,et=ke&&ke.rm||L,it=ke&&ke.listeners||"eventListeners",at=ke&&ke.rmAll||"removeAllListeners",Mt=oe(Xe),It="."+Xe+":",Nt=function(cn,Tt,Xn){if(cn.isRemoved)return;const Sn=cn.callback;let Ft;"object"==typeof Sn&&Sn.handleEvent&&(cn.callback=Lt=>Sn.handleEvent(Lt),cn.originalDelegate=Sn);try{cn.invoke(cn,Tt,[Xn])}catch(Lt){Ft=Lt}const vn=cn.options;return vn&&"object"==typeof vn&&vn.once&&Tt[et].call(Tt,Xn.type,cn.originalDelegate?cn.originalDelegate:cn.callback,vn),Ft};function Ht(cn,Tt,Xn){if(!(Tt=Tt||pe.event))return;const Sn=cn||Tt.target||pe,Ft=Sn[gn[Tt.type][Xn?V:j]];if(Ft){const vn=[];if(1===Ft.length){const Lt=Nt(Ft[0],Sn,Tt);Lt&&vn.push(Lt)}else{const Lt=Ft.slice();for(let Pe=0;Pe<Lt.length&&(!Tt||!0!==Tt[Zt]);Pe++){const re=Nt(Lt[Pe],Sn,Tt);re&&vn.push(re)}}if(1===vn.length)throw vn[0];for(let Lt=0;Lt<vn.length;Lt++){const Pe=vn[Lt];Ne.nativeScheduleMicroTask((()=>{throw Pe}))}}}const mn=function(cn){return Ht(this,cn,!1)},Wn=function(cn){return Ht(this,cn,!0)};function Kt(cn,Tt){if(!cn)return!1;let Xn=!0;Tt&&void 0!==Tt.useG&&(Xn=Tt.useG);const Sn=Tt&&Tt.vh;let Ft=!0;Tt&&void 0!==Tt.chkDup&&(Ft=Tt.chkDup);let vn=!1;Tt&&void 0!==Tt.rt&&(vn=Tt.rt);let Lt=cn;for(;Lt&&!Lt.hasOwnProperty(Xe);)Lt=v(Lt);if(!Lt&&cn[Xe]&&(Lt=cn),!Lt||Lt[Mt])return!1;const Pe=Tt&&Tt.eventNameToString,re={},ae=Lt[Mt]=Lt[Xe],Ie=Lt[oe(et)]=Lt[et],$e=Lt[oe(it)]=Lt[it],Ut=Lt[oe(at)]=Lt[at];let tn;function un(Ue,wt){return!en&&"object"==typeof Ue&&Ue?!!Ue.capture:en&&wt?"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}Tt&&Tt.prepend&&(tn=Lt[oe(Tt.prepend)]=Lt[Tt.prepend]);const z=Xn?function(Ue){if(!re.isExisting)return ae.call(re.target,re.eventName,re.capture?Wn:mn,re.options)}:function(Ue){return ae.call(re.target,re.eventName,Ue.invoke,re.options)},se=Xn?function(Ue){if(!Ue.isRemoved){const wt=gn[Ue.eventName];let Pt;wt&&(Pt=wt[Ue.capture?V:j]);const Yt=Pt&&Ue.target[Pt];if(Yt)for(let jt=0;jt<Yt.length;jt++)if(Yt[jt]===Ue){Yt.splice(jt,1),Ue.isRemoved=!0,0===Yt.length&&(Ue.allRemoved=!0,Ue.target[Pt]=null);break}}if(Ue.allRemoved)return Ie.call(Ue.target,Ue.eventName,Ue.capture?Wn:mn,Ue.options)}:function(Ue){return Ie.call(Ue.target,Ue.eventName,Ue.invoke,Ue.options)},tt=Tt&&Tt.diff?Tt.diff:function(Ue,wt){const Pt=typeof wt;return"function"===Pt&&Ue.callback===wt||"object"===Pt&&Ue.originalDelegate===wt},At=Zone[oe("UNPATCHED_EVENTS")],ot=pe[oe("PASSIVE_EVENTS")],Dt=function(Ue,wt,Pt,Yt,jt=!1,St=!1){return function(){const dn=this||pe;let on=arguments[0];Tt&&Tt.transferEventName&&(on=Tt.transferEventName(on));let er=arguments[1];if(!er)return Ue.apply(this,arguments);if(Ge&&"uncaughtException"===on)return Ue.apply(this,arguments);let Un=!1;if("function"!=typeof er){if(!er.handleEvent)return Ue.apply(this,arguments);Un=!0}if(Sn&&!Sn(Ue,er,dn,arguments))return;const ar=en&&!!ot&&-1!==ot.indexOf(on),Ar=un(arguments[2],ar);if(At)for(let k=0;k<At.length;k++)if(on===At[k])return ar?Ue.call(dn,on,er,Ar):Ue.apply(this,arguments);const zr=!!Ar&&("boolean"==typeof Ar||Ar.capture),Tr=!(!Ar||"object"!=typeof Ar)&&Ar.once,fr=Zone.current;let Gi=gn[on];Gi||(jn(on,Pe),Gi=gn[on]);const Tn=Gi[zr?V:j];let vi,si=dn[Tn],Ai=!1;if(si){if(Ai=!0,Ft)for(let k=0;k<si.length;k++)if(tt(si[k],er))return}else si=dn[Tn]=[];const Si=dn.constructor.name,fi=ir[Si];fi&&(vi=fi[on]),vi||(vi=Si+wt+(Pe?Pe(on):on)),re.options=Ar,Tr&&(re.options.once=!1),re.target=dn,re.capture=zr,re.eventName=on,re.isExisting=Ai;const ti=Xn?Rn:void 0;ti&&(ti.taskData=re);const mr=fr.scheduleEventTask(vi,er,ti,Pt,Yt);return re.target=null,ti&&(ti.taskData=null),Tr&&(Ar.once=!0),!en&&"boolean"==typeof mr.options||(mr.options=Ar),mr.target=dn,mr.capture=zr,mr.eventName=on,Un&&(mr.originalDelegate=er),St?si.unshift(mr):si.push(mr),jt?dn:void 0}};return Lt[Xe]=Dt(ae,It,z,se,vn),tn&&(Lt.prependListener=Dt(tn,".prependListener:",(function(Ue){return tn.call(re.target,re.eventName,Ue.invoke,re.options)}),se,vn,!0)),Lt[et]=function(){const Ue=this||pe;let wt=arguments[0];Tt&&Tt.transferEventName&&(wt=Tt.transferEventName(wt));const Pt=arguments[2],Yt=!!Pt&&("boolean"==typeof Pt||Pt.capture),jt=arguments[1];if(!jt)return Ie.apply(this,arguments);if(Sn&&!Sn(Ie,jt,Ue,arguments))return;const St=gn[wt];let dn;St&&(dn=St[Yt?V:j]);const on=dn&&Ue[dn];if(on)for(let er=0;er<on.length;er++){const Un=on[er];if(tt(Un,jt))return on.splice(er,1),Un.isRemoved=!0,0===on.length&&(Un.allRemoved=!0,Ue[dn]=null,"string"==typeof wt)&&(Ue[te+"ON_PROPERTY"+wt]=null),Un.zone.cancelTask(Un),vn?Ue:void 0}return Ie.apply(this,arguments)},Lt[it]=function(){const Ue=this||pe;let wt=arguments[0];Tt&&Tt.transferEventName&&(wt=Tt.transferEventName(wt));const Pt=[],Yt=br(Ue,Pe?Pe(wt):wt);for(let jt=0;jt<Yt.length;jt++){const St=Yt[jt];Pt.push(St.originalDelegate?St.originalDelegate:St.callback)}return Pt},Lt[at]=function(){const Ue=this||pe;let wt=arguments[0];if(wt){Tt&&Tt.transferEventName&&(wt=Tt.transferEventName(wt));const Pt=gn[wt];if(Pt){const St=Ue[Pt[j]],dn=Ue[Pt[V]];if(St){const on=St.slice();for(let er=0;er<on.length;er++){const Un=on[er];this[et].call(this,wt,Un.originalDelegate?Un.originalDelegate:Un.callback,Un.options)}}if(dn){const on=dn.slice();for(let er=0;er<on.length;er++){const Un=on[er];this[et].call(this,wt,Un.originalDelegate?Un.originalDelegate:Un.callback,Un.options)}}}}else{const Pt=Object.keys(Ue);for(let Yt=0;Yt<Pt.length;Yt++){const St=Mn.exec(Pt[Yt]);let dn=St&&St[1];dn&&"removeListener"!==dn&&this[at].call(this,dn)}this[at].call(this,"removeListener")}if(vn)return this},He(Lt[Xe],ae),He(Lt[et],Ie),Ut&&He(Lt[at],Ut),$e&&He(Lt[it],$e),!0}let Qt=[];for(let cn=0;cn<Ae.length;cn++)Qt[cn]=Kt(Ae[cn],ke);return Qt}function br(pe,Ne){if(!Ne){const et=[];for(let it in pe){const at=Mn.exec(it);let Mt=at&&at[1];if(Mt&&(!Ne||Mt===Ne)){const It=pe[it];if(It)for(let Rt=0;Rt<It.length;Rt++)et.push(It[Rt])}}return et}let Ae=gn[Ne];Ae||(jn(Ne),Ae=gn[Ne]);const ke=pe[Ae[j]],Xe=pe[Ae[V]];return ke?Xe?ke.concat(Xe):ke.slice():Xe?Xe.slice():[]}function cr(pe,Ne){const Ae=pe.Event;Ae&&Ae.prototype&&Ne.patchMethod(Ae.prototype,"stopImmediatePropagation",(ke=>function(Xe,et){Xe[Zt]=!0,ke&&ke.apply(Xe,et)}))}function Oi(pe,Ne,Ae,ke,Xe){const et=Zone.__symbol__(ke);if(Ne[et])return;const it=Ne[et]=Ne[ke];Ne[ke]=function(at,Mt,It){return Mt&&Mt.prototype&&Xe.forEach((function(Rt){const wn=`${Ae}.${ke}::`+Rt,Nt=Mt.prototype;try{if(Nt.hasOwnProperty(Rt)){const Ht=pe.ObjectGetOwnPropertyDescriptor(Nt,Rt);Ht&&Ht.value?(Ht.value=pe.wrapWithCurrentZone(Ht.value,wn),pe._redefineProperty(Mt.prototype,Rt,Ht)):Nt[Rt]&&(Nt[Rt]=pe.wrapWithCurrentZone(Nt[Rt],wn))}else Nt[Rt]&&(Nt[Rt]=pe.wrapWithCurrentZone(Nt[Rt],wn))}catch{}})),it.call(Ne,at,Mt,It)},pe.attachOriginToPatched(Ne[ke],it)}function $r(pe,Ne,Ae){if(!Ae||0===Ae.length)return Ne;const ke=Ae.filter((et=>et.target===pe));if(!ke||0===ke.length)return Ne;const Xe=ke[0].ignoreProperties;return Ne.filter((et=>-1===Xe.indexOf(et)))}function Fr(pe,Ne,Ae,ke){pe&&ye(pe,$r(pe,Ne,Ae),ke)}function Cr(pe){return Object.getOwnPropertyNames(pe).filter((Ne=>Ne.startsWith("on")&&Ne.length>2)).map((Ne=>Ne.substring(2)))}Zone.__load_patch("util",((pe,Ne,Ae)=>{const ke=Cr(pe);Ae.patchOnProperties=ye,Ae.patchMethod=je,Ae.bindArguments=Be,Ae.patchMacroTask=Te;const Xe=Ne.__symbol__("BLACK_LISTED_EVENTS"),et=Ne.__symbol__("UNPATCHED_EVENTS");pe[et]&&(pe[Xe]=pe[et]),pe[Xe]&&(Ne[Xe]=Ne[et]=pe[Xe]),Ae.patchEventPrototype=cr,Ae.patchEventTarget=Nn,Ae.isIEOrEdge=Wt,Ae.ObjectDefineProperty=F,Ae.ObjectGetOwnPropertyDescriptor=Z,Ae.ObjectCreate=o,Ae.ArraySlice=p,Ae.patchClass=me,Ae.wrapWithCurrentZone=U,Ae.filterProperties=$r,Ae.attachOriginToPatched=He,Ae._redefineProperty=Object.defineProperty,Ae.patchCallbacks=Oi,Ae.getGlobalObjects=()=>({globalSources:ir,zoneSymbolEventNames:gn,eventNames:ke,isBrowser:Me,isMix:We,isNode:Ge,TRUE_STR:V,FALSE_STR:j,ZONE_SYMBOL_PREFIX:te,ADD_EVENT_LISTENER_STR:A,REMOVE_EVENT_LISTENER_STR:L})}));const ei=oe("zoneTask");function Dr(pe,Ne,Ae,ke){let Xe=null,et=null;Ae+=ke;const it={};function at(It){const Rt=It.data;return Rt.args[0]=function(){return It.invoke.apply(this,arguments)},Rt.handleId=Xe.apply(pe,Rt.args),It}function Mt(It){return et.call(pe,It.data.handleId)}Xe=je(pe,Ne+=ke,(It=>function(Rt,wn){if("function"==typeof wn[0]){const Nt={isPeriodic:"Interval"===ke,delay:"Timeout"===ke||"Interval"===ke?wn[1]||0:void 0,args:wn},Ht=wn[0];wn[0]=function(){try{return Ht.apply(this,arguments)}finally{Nt.isPeriodic||("number"==typeof Nt.handleId?delete it[Nt.handleId]:Nt.handleId&&(Nt.handleId[ei]=null))}};const mn=X(Ne,wn[0],Nt,at,Mt);if(!mn)return mn;const Wn=mn.data.handleId;return"number"==typeof Wn?it[Wn]=mn:Wn&&(Wn[ei]=mn),Wn&&Wn.ref&&Wn.unref&&"function"==typeof Wn.ref&&"function"==typeof Wn.unref&&(mn.ref=Wn.ref.bind(Wn),mn.unref=Wn.unref.bind(Wn)),"number"==typeof Wn||Wn?Wn:mn}return It.apply(pe,wn)})),et=je(pe,Ae,(It=>function(Rt,wn){const Nt=wn[0];let Ht;"number"==typeof Nt?Ht=it[Nt]:(Ht=Nt&&Nt[ei],Ht||(Ht=Nt)),Ht&&"string"==typeof Ht.type?"notScheduled"!==Ht.state&&(Ht.cancelFn&&Ht.data.isPeriodic||0===Ht.runCount)&&("number"==typeof Nt?delete it[Nt]:Nt&&(Nt[ei]=null),Ht.zone.cancelTask(Ht)):It.apply(pe,wn)}))}Zone.__load_patch("legacy",(pe=>{const Ne=pe[Zone.__symbol__("legacyPatch")];Ne&&Ne()})),Zone.__load_patch("queueMicrotask",((pe,Ne,Ae)=>{Ae.patchMethod(pe,"queueMicrotask",(ke=>function(Xe,et){Ne.current.scheduleMicroTask("queueMicrotask",et[0])}))})),Zone.__load_patch("timers",(pe=>{const Ae="clear";Dr(pe,"set",Ae,"Timeout"),Dr(pe,"set",Ae,"Interval"),Dr(pe,"set",Ae,"Immediate")})),Zone.__load_patch("requestAnimationFrame",(pe=>{Dr(pe,"request","cancel","AnimationFrame"),Dr(pe,"mozRequest","mozCancel","AnimationFrame"),Dr(pe,"webkitRequest","webkitCancel","AnimationFrame")})),Zone.__load_patch("blocking",((pe,Ne)=>{const Ae=["alert","prompt","confirm"];for(let ke=0;ke<Ae.length;ke++)je(pe,Ae[ke],((et,it,at)=>function(Mt,It){return Ne.current.run(et,pe,It,at)}))})),Zone.__load_patch("EventTarget",((pe,Ne,Ae)=>{(function dr(pe,Ne){Ne.patchEventPrototype(pe,Ne)})(pe,Ae),function Kr(pe,Ne){if(Zone[Ne.symbol("patchEventTarget")])return;const{eventNames:Ae,zoneSymbolEventNames:ke,TRUE_STR:Xe,FALSE_STR:et,ZONE_SYMBOL_PREFIX:it}=Ne.getGlobalObjects();for(let Mt=0;Mt<Ae.length;Mt++){const It=Ae[Mt],Nt=it+(It+et),Ht=it+(It+Xe);ke[It]={},ke[It][et]=Nt,ke[It][Xe]=Ht}const at=pe.EventTarget;at&&at.prototype&&Ne.patchEventTarget(pe,Ne,[at&&at.prototype])}(pe,Ae);const ke=pe.XMLHttpRequestEventTarget;ke&&ke.prototype&&Ae.patchEventTarget(pe,Ae,[ke.prototype])})),Zone.__load_patch("MutationObserver",((pe,Ne,Ae)=>{me("MutationObserver"),me("WebKitMutationObserver")})),Zone.__load_patch("IntersectionObserver",((pe,Ne,Ae)=>{me("IntersectionObserver")})),Zone.__load_patch("FileReader",((pe,Ne,Ae)=>{me("FileReader")})),Zone.__load_patch("on_property",((pe,Ne,Ae)=>{!function qr(pe,Ne){if(Ge&&!We||Zone[pe.symbol("patchEvents")])return;const Ae=Ne.__Zone_ignore_on_properties;let ke=[];if(Me){const Xe=window;ke=ke.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const et=function Cn(){try{const pe=Se.navigator.userAgent;if(-1!==pe.indexOf("MSIE ")||-1!==pe.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:Xe,ignoreProperties:["error"]}]:[];Fr(Xe,Cr(Xe),Ae&&Ae.concat(et),v(Xe))}ke=ke.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let Xe=0;Xe<ke.length;Xe++){const et=Ne[ke[Xe]];et&&et.prototype&&Fr(et.prototype,Cr(et.prototype),Ae)}}(Ae,pe)})),Zone.__load_patch("customElements",((pe,Ne,Ae)=>{!function qt(pe,Ne){const{isBrowser:Ae,isMix:ke}=Ne.getGlobalObjects();(Ae||ke)&&pe.customElements&&"customElements"in pe&&Ne.patchCallbacks(Ne,pe.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(pe,Ae)})),Zone.__load_patch("XHR",((pe,Ne)=>{!function Mt(It){const Rt=It.XMLHttpRequest;if(!Rt)return;const wn=Rt.prototype;let Ht=wn[I],mn=wn[B];if(!Ht){const re=It.XMLHttpRequestEventTarget;if(re){const ae=re.prototype;Ht=ae[I],mn=ae[B]}}const Wn="readystatechange",Kt="scheduled";function Qt(re){const ae=re.data,Ie=ae.target;Ie[et]=!1,Ie[at]=!1;const $e=Ie[Xe];Ht||(Ht=Ie[I],mn=Ie[B]),$e&&mn.call(Ie,Wn,$e);const Ut=Ie[Xe]=()=>{if(Ie.readyState===Ie.DONE)if(!ae.aborted&&Ie[et]&&re.state===Kt){const un=Ie[Ne.__symbol__("loadfalse")];if(0!==Ie.status&&un&&un.length>0){const nn=re.invoke;re.invoke=function(){const $t=Ie[Ne.__symbol__("loadfalse")];for(let Ce=0;Ce<$t.length;Ce++)$t[Ce]===re&&$t.splice(Ce,1);!ae.aborted&&re.state===Kt&&nn.call(re)},un.push(re)}else re.invoke()}else!ae.aborted&&!1===Ie[et]&&(Ie[at]=!0)};return Ht.call(Ie,Wn,Ut),Ie[Ae]||(Ie[Ae]=re),Lt.apply(Ie,ae.args),Ie[et]=!0,re}function cn(){}function Tt(re){const ae=re.data;return ae.aborted=!0,Pe.apply(ae.target,ae.args)}const Xn=je(wn,"open",(()=>function(re,ae){return re[ke]=0==ae[2],re[it]=ae[1],Xn.apply(re,ae)})),Ft=oe("fetchTaskAborting"),vn=oe("fetchTaskScheduling"),Lt=je(wn,"send",(()=>function(re,ae){if(!0===Ne.current[vn]||re[ke])return Lt.apply(re,ae);{const Ie={target:re,url:re[it],isPeriodic:!1,args:ae,aborted:!1},$e=X("XMLHttpRequest.send",cn,Ie,Qt,Tt);re&&!0===re[at]&&!Ie.aborted&&$e.state===Kt&&$e.invoke()}})),Pe=je(wn,"abort",(()=>function(re,ae){const Ie=function Nt(re){return re[Ae]}(re);if(Ie&&"string"==typeof Ie.type){if(null==Ie.cancelFn||Ie.data&&Ie.data.aborted)return;Ie.zone.cancelTask(Ie)}else if(!0===Ne.current[Ft])return Pe.apply(re,ae)}))}(pe);const Ae=oe("xhrTask"),ke=oe("xhrSync"),Xe=oe("xhrListener"),et=oe("xhrScheduled"),it=oe("xhrURL"),at=oe("xhrErrorBeforeScheduled")})),Zone.__load_patch("geolocation",(pe=>{pe.navigator&&pe.navigator.geolocation&&function Ke(pe,Ne){const Ae=pe.constructor.name;for(let ke=0;ke<Ne.length;ke++){const Xe=Ne[ke],et=pe[Xe];if(et){if(!rt(Z(pe,Xe)))continue;pe[Xe]=(at=>{const Mt=function(){return at.apply(this,Be(arguments,Ae+"."+Xe))};return He(Mt,at),Mt})(et)}}}(pe.navigator.geolocation,["getCurrentPosition","watchPosition"])})),Zone.__load_patch("PromiseRejectionEvent",((pe,Ne)=>{function Ae(ke){return function(Xe){br(pe,ke).forEach((it=>{const at=pe.PromiseRejectionEvent;if(at){const Mt=new at(ke,{promise:Xe.promise,reason:Xe.rejection});it.invoke(Mt)}}))}}pe.PromiseRejectionEvent&&(Ne[oe("unhandledPromiseRejectionHandler")]=Ae("unhandledrejection"),Ne[oe("rejectionHandledHandler")]=Ae("rejectionhandled"))}))},5987:(Z,F,v)=>{"use strict";function j(ye,ee,me,je){return new(me||(me=Promise))((function(He,pt){function Ot(en){try{Wt(je.next(en))}catch(Rn){pt(Rn)}}function Cn(en){try{Wt(je.throw(en))}catch(Rn){pt(Rn)}}function Wt(en){en.done?He(en.value):function Te(He){return He instanceof me?He:new me((function(pt){pt(He)}))}(en.value).then(Ot,Cn)}Wt((je=je.apply(ye,ee||[])).next())}))}function Be(ye){return this instanceof Be?(this.v=ye,this):new Be(ye)}function Ke(ye,ee,me){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Te,je=me.apply(ye,ee||[]),He=[];return Te={},pt("next"),pt("throw"),pt("return"),Te[Symbol.asyncIterator]=function(){return this},Te;function pt(gn){je[gn]&&(Te[gn]=function(ir){return new Promise((function(Mn,Zt){He.push([gn,ir,Mn,Zt])>1||Ot(gn,ir)}))})}function Ot(gn,ir){try{!function Cn(gn){gn.value instanceof Be?Promise.resolve(gn.value.v).then(Wt,en):Rn(He[0][2],gn)}(je[gn](ir))}catch(Mn){Rn(He[0][3],Mn)}}function Wt(gn){Ot("next",gn)}function en(gn){Ot("throw",gn)}function Rn(gn,ir){gn(ir),He.shift(),He.length&&Ot(He[0][0],He[0][1])}}function nt(ye){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var me,ee=ye[Symbol.asyncIterator];return ee?ee.call(ye):(ye=function oe(ye){var ee="function"==typeof Symbol&&Symbol.iterator,me=ee&&ye[ee],je=0;if(me)return me.call(ye);if(ye&&"number"==typeof ye.length)return{next:function(){return ye&&je>=ye.length&&(ye=void 0),{value:ye&&ye[je++],done:!ye}}};throw new TypeError(ee?"Object is not iterable.":"Symbol.iterator is not defined.")}(ye),me={},je("next"),je("throw"),je("return"),me[Symbol.asyncIterator]=function(){return this},me);function je(He){me[He]=ye[He]&&function(pt){return new Promise((function(Ot,Cn){!function Te(He,pt,Ot,Cn){Promise.resolve(Cn).then((function(Wt){He({value:Wt,done:Ot})}),pt)}(Ot,Cn,(pt=ye[He](pt)).done,pt.value)}))}}}v.d(F,{FC:()=>Ke,KL:()=>nt,mG:()=>j,qq:()=>Be})},7340:(Z,F,v)=>{"use strict";v.d(F,{LC:()=>p,SB:()=>te,X$:()=>L,ZE:()=>rt,ZN:()=>Ke,_j:()=>o,eR:()=>X,jt:()=>I,k1:()=>nt,l3:()=>A,oB:()=>j,vP:()=>V});class o{}class p{}const A="*";function L(Ge,Me){return{type:7,name:Ge,definitions:Me,options:{}}}function I(Ge,Me=null){return{type:4,styles:Me,timings:Ge}}function V(Ge,Me=null){return{type:2,steps:Ge,options:Me}}function j(Ge){return{type:6,styles:Ge,offset:null}}function te(Ge,Me,We){return{type:0,name:Ge,styles:Me,options:We}}function X(Ge,Me,We=null){return{type:1,expr:Ge,animation:Me,options:We}}function Be(Ge){Promise.resolve().then(Ge)}class Ke{constructor(Me=0,We=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+We}_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(){Be((()=>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 We="start"==Me?this._onStartFns:this._onDoneFns;We.forEach((Xt=>Xt())),We.length=0}}class rt{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 We=0,Xt=0,yt=0;const _t=this.players.length;0==_t?Be((()=>this._onFinish())):this.players.forEach((ye=>{ye.onDone((()=>{++We==_t&&this._onFinish()})),ye.onDestroy((()=>{++Xt==_t&&this._onDestroy()})),ye.onStart((()=>{++yt==_t&&this._onStart()}))})),this.totalTime=this.players.reduce(((ye,ee)=>Math.max(ye,ee.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 We=Me*this.totalTime;this.players.forEach((Xt=>{const yt=Xt.totalTime?Math.min(1,We/Xt.totalTime):1;Xt.setPosition(yt)}))}getPosition(){const Me=this.players.reduce(((We,Xt)=>null===We||Xt.totalTime>We.totalTime?Xt:We),null);return null!=Me?Me.getPosition():0}beforeDestroy(){this.players.forEach((Me=>{Me.beforeDestroy&&Me.beforeDestroy()}))}triggerCallback(Me){const We="start"==Me?this._onStartFns:this._onDoneFns;We.forEach((Xt=>Xt())),We.length=0}}const nt="!"},6895:(Z,F,v)=>{"use strict";v.d(F,{Do:()=>nt,EM:()=>Zo,HT:()=>I,JF:()=>bs,K0:()=>V,Mx:()=>ar,NF:()=>Yo,O5:()=>vi,PC:()=>Ye,S$:()=>Be,V_:()=>U,Ye:()=>Ge,b0:()=>rt,bD:()=>ls,ez:()=>Fo,mk:()=>Ar,mr:()=>Ke,q:()=>A,sg:()=>Tn,tP:()=>ut,w_:()=>B});var o=v(1571);let p=null;function A(){return p}function I(b){p||(p=b)}class B{}const V=new o.OlP("DocumentToken");let j=(()=>{class b{historyGo(E){throw new Error("Not implemented")}}return b.ɵfac=function(E){return new(E||b)},b.ɵprov=o.Yz7({token:b,factory:function(){return function te(){return(0,o.LFG)(X)}()},providedIn:"platform"}),b})();const U=new o.OlP("Location Initialized");let X=(()=>{class b extends j{constructor(E){super(),this._doc=E,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return A().getBaseHref(this._doc)}onPopState(E){const W=A().getGlobalEventTarget(this._doc,"window");return W.addEventListener("popstate",E,!1),()=>W.removeEventListener("popstate",E)}onHashChange(E){const W=A().getGlobalEventTarget(this._doc,"window");return W.addEventListener("hashchange",E,!1),()=>W.removeEventListener("hashchange",E)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(E){this.location.pathname=E}pushState(E,W,_e){oe()?this._history.pushState(E,W,_e):this.location.hash=_e}replaceState(E,W,_e){oe()?this._history.replaceState(E,W,_e):this.location.hash=_e}forward(){this._history.forward()}back(){this._history.back()}historyGo(E=0){this._history.go(E)}getState(){return this._history.state}}return b.ɵfac=function(E){return new(E||b)(o.LFG(V))},b.ɵprov=o.Yz7({token:b,factory:function(){return function De(){return new X((0,o.LFG)(V))}()},providedIn:"platform"}),b})();function oe(){return!!window.history.pushState}function Se(b,N){if(0==b.length)return N;if(0==N.length)return b;let E=0;return b.endsWith("/")&&E++,N.startsWith("/")&&E++,2==E?b+N.substring(1):1==E?b+N:b+"/"+N}function xe(b){const N=b.match(/#|\?|$/),E=N&&N.index||b.length;return b.slice(0,E-("/"===b[E-1]?1:0))+b.slice(E)}function ft(b){return b&&"?"!==b[0]?"?"+b:b}let Be=(()=>{class b{historyGo(E){throw new Error("Not implemented")}}return b.ɵfac=function(E){return new(E||b)},b.ɵprov=o.Yz7({token:b,factory:function(){return(0,o.f3M)(rt)},providedIn:"root"}),b})();const Ke=new o.OlP("appBaseHref");let rt=(()=>{class b extends Be{constructor(E,W){super(),this._platformLocation=E,this._removeListenerFns=[],this._baseHref=W??this._platformLocation.getBaseHrefFromDOM()??(0,o.f3M)(V).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(E){this._removeListenerFns.push(this._platformLocation.onPopState(E),this._platformLocation.onHashChange(E))}getBaseHref(){return this._baseHref}prepareExternalUrl(E){return Se(this._baseHref,E)}path(E=!1){const W=this._platformLocation.pathname+ft(this._platformLocation.search),_e=this._platformLocation.hash;return _e&&E?`${W}${_e}`:W}pushState(E,W,_e,ze){const ht=this.prepareExternalUrl(_e+ft(ze));this._platformLocation.pushState(E,W,ht)}replaceState(E,W,_e,ze){const ht=this.prepareExternalUrl(_e+ft(ze));this._platformLocation.replaceState(E,W,ht)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(E=0){this._platformLocation.historyGo?.(E)}}return b.ɵfac=function(E){return new(E||b)(o.LFG(j),o.LFG(Ke,8))},b.ɵprov=o.Yz7({token:b,factory:b.ɵfac,providedIn:"root"}),b})(),nt=(()=>{class b extends Be{constructor(E,W){super(),this._platformLocation=E,this._baseHref="",this._removeListenerFns=[],null!=W&&(this._baseHref=W)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(E){this._removeListenerFns.push(this._platformLocation.onPopState(E),this._platformLocation.onHashChange(E))}getBaseHref(){return this._baseHref}path(E=!1){let W=this._platformLocation.hash;return null==W&&(W="#"),W.length>0?W.substring(1):W}prepareExternalUrl(E){const W=Se(this._baseHref,E);return W.length>0?"#"+W:W}pushState(E,W,_e,ze){let ht=this.prepareExternalUrl(_e+ft(ze));0==ht.length&&(ht=this._platformLocation.pathname),this._platformLocation.pushState(E,W,ht)}replaceState(E,W,_e,ze){let ht=this.prepareExternalUrl(_e+ft(ze));0==ht.length&&(ht=this._platformLocation.pathname),this._platformLocation.replaceState(E,W,ht)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(E=0){this._platformLocation.historyGo?.(E)}}return b.ɵfac=function(E){return new(E||b)(o.LFG(j),o.LFG(Ke,8))},b.ɵprov=o.Yz7({token:b,factory:b.ɵfac}),b})(),Ge=(()=>{class b{constructor(E){this._subject=new o.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=E;const W=this._locationStrategy.getBaseHref();this._baseHref=xe(Xt(W)),this._locationStrategy.onPopState((_e=>{this._subject.emit({url:this.path(!0),pop:!0,state:_e.state,type:_e.type})}))}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(E=!1){return this.normalize(this._locationStrategy.path(E))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(E,W=""){return this.path()==this.normalize(E+ft(W))}normalize(E){return b.stripTrailingSlash(function We(b,N){return b&&N.startsWith(b)?N.substring(b.length):N}(this._baseHref,Xt(E)))}prepareExternalUrl(E){return E&&"/"!==E[0]&&(E="/"+E),this._locationStrategy.prepareExternalUrl(E)}go(E,W="",_e=null){this._locationStrategy.pushState(_e,"",E,W),this._notifyUrlChangeListeners(this.prepareExternalUrl(E+ft(W)),_e)}replaceState(E,W="",_e=null){this._locationStrategy.replaceState(_e,"",E,W),this._notifyUrlChangeListeners(this.prepareExternalUrl(E+ft(W)),_e)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(E=0){this._locationStrategy.historyGo?.(E)}onUrlChange(E){return this._urlChangeListeners.push(E),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe((W=>{this._notifyUrlChangeListeners(W.url,W.state)}))),()=>{const W=this._urlChangeListeners.indexOf(E);this._urlChangeListeners.splice(W,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(E="",W){this._urlChangeListeners.forEach((_e=>_e(E,W)))}subscribe(E,W,_e){return this._subject.subscribe({next:E,error:W,complete:_e})}}return b.normalizeQueryParams=ft,b.joinWithSlash=Se,b.stripTrailingSlash=xe,b.ɵfac=function(E){return new(E||b)(o.LFG(Be))},b.ɵprov=o.Yz7({token:b,factory:function(){return function Me(){return new Ge((0,o.LFG)(Be))}()},providedIn:"root"}),b})();function Xt(b){return b.replace(/\/index.html$/,"")}function ar(b,N){N=encodeURIComponent(N);for(const E of b.split(";")){const W=E.indexOf("="),[_e,ze]=-1==W?[E,""]:[E.slice(0,W),E.slice(W+1)];if(_e.trim()===N)return decodeURIComponent(ze)}return null}let Ar=(()=>{class b{constructor(E,W,_e,ze){this._iterableDiffers=E,this._keyValueDiffers=W,this._ngEl=_e,this._renderer=ze,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(E){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof E?E.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(E){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof E?E.split(/\s+/):E,this._rawClass&&((0,o.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const E=this._iterableDiffer.diff(this._rawClass);E&&this._applyIterableChanges(E)}else if(this._keyValueDiffer){const E=this._keyValueDiffer.diff(this._rawClass);E&&this._applyKeyValueChanges(E)}}_applyKeyValueChanges(E){E.forEachAddedItem((W=>this._toggleClass(W.key,W.currentValue))),E.forEachChangedItem((W=>this._toggleClass(W.key,W.currentValue))),E.forEachRemovedItem((W=>{W.previousValue&&this._toggleClass(W.key,!1)}))}_applyIterableChanges(E){E.forEachAddedItem((W=>{if("string"!=typeof W.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,o.AaK)(W.item)}`);this._toggleClass(W.item,!0)})),E.forEachRemovedItem((W=>this._toggleClass(W.item,!1)))}_applyClasses(E){E&&(Array.isArray(E)||E instanceof Set?E.forEach((W=>this._toggleClass(W,!0))):Object.keys(E).forEach((W=>this._toggleClass(W,!!E[W]))))}_removeClasses(E){E&&(Array.isArray(E)||E instanceof Set?E.forEach((W=>this._toggleClass(W,!1))):Object.keys(E).forEach((W=>this._toggleClass(W,!1))))}_toggleClass(E,W){(E=E.trim())&&E.split(/\s+/g).forEach((_e=>{W?this._renderer.addClass(this._ngEl.nativeElement,_e):this._renderer.removeClass(this._ngEl.nativeElement,_e)}))}}return b.ɵfac=function(E){return new(E||b)(o.Y36(o.ZZ4),o.Y36(o.aQg),o.Y36(o.SBq),o.Y36(o.Qsj))},b.ɵdir=o.lG2({type:b,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),b})();class Gi{constructor(N,E,W,_e){this.$implicit=N,this.ngForOf=E,this.index=W,this.count=_e}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 Tn=(()=>{class b{constructor(E,W,_e){this._viewContainer=E,this._template=W,this._differs=_e,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(E){this._ngForOf=E,this._ngForOfDirty=!0}set ngForTrackBy(E){this._trackByFn=E}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(E){E&&(this._template=E)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const E=this._ngForOf;!this._differ&&E&&(this._differ=this._differs.find(E).create(this.ngForTrackBy))}if(this._differ){const E=this._differ.diff(this._ngForOf);E&&this._applyChanges(E)}}_applyChanges(E){const W=this._viewContainer;E.forEachOperation(((_e,ze,ht)=>{if(null==_e.previousIndex)W.createEmbeddedView(this._template,new Gi(_e.item,this._ngForOf,-1,-1),null===ht?void 0:ht);else if(null==ht)W.remove(null===ze?void 0:ze);else if(null!==ze){const sn=W.get(ze);W.move(sn,ht),si(sn,_e)}}));for(let _e=0,ze=W.length;_e<ze;_e++){const sn=W.get(_e).context;sn.index=_e,sn.count=ze,sn.ngForOf=this._ngForOf}E.forEachIdentityChange((_e=>{si(W.get(_e.currentIndex),_e)}))}static ngTemplateContextGuard(E,W){return!0}}return b.ɵfac=function(E){return new(E||b)(o.Y36(o.s_b),o.Y36(o.Rgc),o.Y36(o.ZZ4))},b.ɵdir=o.lG2({type:b,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),b})();function si(b,N){b.context.$implicit=N.item}let vi=(()=>{class b{constructor(E,W){this._viewContainer=E,this._context=new Si,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=W}set ngIf(E){this._context.$implicit=this._context.ngIf=E,this._updateView()}set ngIfThen(E){fi("ngIfThen",E),this._thenTemplateRef=E,this._thenViewRef=null,this._updateView()}set ngIfElse(E){fi("ngIfElse",E),this._elseTemplateRef=E,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(E,W){return!0}}return b.ɵfac=function(E){return new(E||b)(o.Y36(o.s_b),o.Y36(o.Rgc))},b.ɵdir=o.lG2({type:b,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),b})();class Si{constructor(){this.$implicit=null,this.ngIf=null}}function fi(b,N){if(N&&!N.createEmbeddedView)throw new Error(`${b} must be a TemplateRef, but received '${(0,o.AaK)(N)}'.`)}let Ye=(()=>{class b{constructor(E,W,_e){this._ngEl=E,this._differs=W,this._renderer=_e,this._ngStyle=null,this._differ=null}set ngStyle(E){this._ngStyle=E,!this._differ&&E&&(this._differ=this._differs.find(E).create())}ngDoCheck(){if(this._differ){const E=this._differ.diff(this._ngStyle);E&&this._applyChanges(E)}}_setStyle(E,W){const[_e,ze]=E.split("."),ht=-1===_e.indexOf("-")?void 0:o.JOm.DashCase;null!=W?this._renderer.setStyle(this._ngEl.nativeElement,_e,ze?`${W}${ze}`:W,ht):this._renderer.removeStyle(this._ngEl.nativeElement,_e,ht)}_applyChanges(E){E.forEachRemovedItem((W=>this._setStyle(W.key,null))),E.forEachAddedItem((W=>this._setStyle(W.key,W.currentValue))),E.forEachChangedItem((W=>this._setStyle(W.key,W.currentValue)))}}return b.ɵfac=function(E){return new(E||b)(o.Y36(o.SBq),o.Y36(o.aQg),o.Y36(o.Qsj))},b.ɵdir=o.lG2({type:b,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),b})(),ut=(()=>{class b{constructor(E){this._viewContainerRef=E,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(E){if(E.ngTemplateOutlet||E.ngTemplateOutletInjector){const W=this._viewContainerRef;if(this._viewRef&&W.remove(W.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:_e,ngTemplateOutletContext:ze,ngTemplateOutletInjector:ht}=this;this._viewRef=W.createEmbeddedView(_e,ze,ht?{injector:ht}:void 0)}else this._viewRef=null}else this._viewRef&&E.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return b.ɵfac=function(E){return new(E||b)(o.Y36(o.s_b))},b.ɵdir=o.lG2({type:b,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[o.TTD]}),b})(),Fo=(()=>{class b{}return b.ɵfac=function(E){return new(E||b)},b.ɵmod=o.oAB({type:b}),b.ɵinj=o.cJS({}),b})();const ls="browser";function Yo(b){return b===ls}let Zo=(()=>{class b{}return b.ɵprov=(0,o.Yz7)({token:b,providedIn:"root",factory:()=>new ai((0,o.LFG)(V),window)}),b})();class ai{constructor(N,E){this.document=N,this.window=E,this.offset=()=>[0,0]}setOffset(N){this.offset=Array.isArray(N)?()=>N:N}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(N){this.supportsScrolling()&&this.window.scrollTo(N[0],N[1])}scrollToAnchor(N){if(!this.supportsScrolling())return;const E=function ws(b,N){const E=b.getElementById(N)||b.getElementsByName(N)[0];if(E)return E;if("function"==typeof b.createTreeWalker&&b.body&&(b.body.createShadowRoot||b.body.attachShadow)){const W=b.createTreeWalker(b.body,NodeFilter.SHOW_ELEMENT);let _e=W.currentNode;for(;_e;){const ze=_e.shadowRoot;if(ze){const ht=ze.getElementById(N)||ze.querySelector(`[name="${N}"]`);if(ht)return ht}_e=W.nextNode()}}return null}(this.document,N);E&&(this.scrollToElement(E),E.focus())}setHistoryScrollRestoration(N){if(this.supportScrollRestoration()){const E=this.window.history;E&&E.scrollRestoration&&(E.scrollRestoration=N)}}scrollToElement(N){const E=N.getBoundingClientRect(),W=E.left+this.window.pageXOffset,_e=E.top+this.window.pageYOffset,ze=this.offset();this.window.scrollTo(W-ze[0],_e-ze[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const N=qo(this.window.history)||qo(Object.getPrototypeOf(this.window.history));return!(!N||!N.writable&&!N.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function qo(b){return Object.getOwnPropertyDescriptor(b,"scrollRestoration")}class bs{}},1571:(Z,F,v)=>{"use strict";v.d(F,{QbO:()=>Hb,tb:()=>C0,AFp:()=>_0,ip1:()=>m0,CZH:()=>Qh,hGG:()=>PD,z2F:()=>Xh,sBO:()=>fD,Sil:()=>Wb,_Vd:()=>wu,EJc:()=>Gb,Xts:()=>ld,SBq:()=>bu,lqb:()=>qa,qLn:()=>Ka,vpe:()=>el,XFs:()=>Ae,OlP:()=>an,zs3:()=>Hi,ZZ4:()=>Zm,aQg:()=>qm,soG:()=>Jh,YKP:()=>Cy,h0i:()=>Nc,PXZ:()=>oD,R0b:()=>aa,FiY:()=>va,Lbi:()=>Ub,g9A:()=>y0,Qsj:()=>jp,FYo:()=>Kf,JOm:()=>Or,tp0:()=>c,Rgc:()=>rf,dDg:()=>tD,eoX:()=>T0,GfV:()=>pd,s_b:()=>Zh,ifc:()=>Nt,MMx:()=>Dm,Lck:()=>Lw,eFA:()=>O0,G48:()=>dD,Gpc:()=>ft,f3M:()=>Nu,X6Q:()=>cD,_c5:()=>TD,c2e:()=>jb,zSh:()=>dd,wAp:()=>Vn,vHH:()=>nt,lri:()=>M0,rWj:()=>S0,D6c:()=>xD,cg1:()=>gm,kL8:()=>zv,dqk:()=>Ht,Z0I:()=>Cr,sIi:()=>hn,CqO:()=>q_,QGY:()=>am,QP$:()=>ne,F4k:()=>Z_,RDi:()=>Qc,AaK:()=>De,qOj:()=>a,TTD:()=>js,_Bn:()=>yy,jDz:()=>by,xp6:()=>th,uIk:()=>Vs,Tol:()=>yv,Gre:()=>Nv,ekj:()=>cm,Suo:()=>zy,Xpm:()=>Pe,lG2:()=>un,Yz7:()=>cr,cJS:()=>$r,oAB:()=>$e,Yjl:()=>nn,Y36:()=>Wl,_UZ:()=>om,GkF:()=>sm,BQk:()=>Bh,ynx:()=>Vh,qZA:()=>kh,TgZ:()=>Lh,EpF:()=>Y_,n5z:()=>Qs,Ikx:()=>pm,LFG:()=>Xr,$8M:()=>Ml,$Z:()=>uh,NdJ:()=>lm,CRH:()=>Wy,oxw:()=>ev,Hsn:()=>nv,F$t:()=>tv,Q6J:()=>rm,s9C:()=>um,MGl:()=>Uh,DdM:()=>xy,VKq:()=>Oy,WLB:()=>Ay,kEZ:()=>Iy,iGM:()=>$y,MAs:()=>W_,KtG:()=>_o,CHM:()=>wi,oJD:()=>Nf,LSH:()=>ad,YNc:()=>z_,W1O:()=>Ky,_uU:()=>Sv,Oqu:()=>fm,hij:()=>jh,AsE:()=>hm,Gf:()=>Gy});var o=v(7579),p=v(727),A=v(9751),L=v(6451),I=v(2076),B=v(5698),V=v(930),j=v(4482);function U(e,t,...n){return!0===t?(e(),null):!1===t?null:t(...n).pipe((0,B.q)(1)).subscribe((()=>e()))}function X(e){for(let t in e)if(e[t]===X)return t;throw Error("Could not find renamed property on target object.")}function oe(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function De(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(De).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 Se(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const xe=X({__forward_ref__:X});function ft(e){return e.__forward_ref__=ft,e.toString=function(){return De(this())},e}function Be(e){return Ke(e)?e():e}function Ke(e){return"function"==typeof e&&e.hasOwnProperty(xe)&&e.__forward_ref__===ft}class nt 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 ye(e,t){throw new nt(-201,!1)}function Mn(e,t){null==e&&function Zt(e,t,n,i){throw new Error(`ASSERTION ERROR: ${e}`+(null==i?"":` [Expected=> ${n} ${i} ${t} <=Actual]`))}(t,e,null,"!=")}function cr(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function $r(e){return{providers:e.providers||[],imports:e.imports||[]}}function Fr(e){return qr(e,Kr)||qr(e,pe)}function Cr(e){return null!==Fr(e)}function qr(e,t){return e.hasOwnProperty(t)?e[t]:null}function qt(e){return e&&(e.hasOwnProperty(dr)||e.hasOwnProperty(Ne))?e[dr]:null}const Kr=X({"ɵprov":X}),dr=X({"ɵinj":X}),pe=X({ngInjectableDef:X}),Ne=X({ngInjectorDef:X});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 ke;function et(e){const t=ke;return ke=e,t}function it(e,t,n){const i=Fr(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 ye(De(e))}function Mt(e){return{toString:e}.toString()}var It=(()=>((It=It||{})[It.OnPush=0]="OnPush",It[It.Default=1]="Default",It))(),Nt=(()=>{return(e=Nt||(Nt={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Nt;var e})();const Ht=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Kt={},Qt=[],cn=X({"ɵcmp":X}),Tt=X({"ɵdir":X}),Xn=X({"ɵpipe":X}),Sn=X({"ɵmod":X}),Ft=X({"ɵfac":X}),vn=X({__NG_ELEMENT_ID__:X});let Lt=0;function Pe(e){return Mt((()=>{const n=!0===e.standalone,i={},s={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:i,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===It.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||Qt,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Nt.Emulated,id:"c"+Lt++,styles:e.styles||Qt,_:null,setInput:null,schemas:e.schemas||null,tView:null},u=e.dependencies,f=e.features;return s.inputs=tn(e.inputs,i),s.outputs=tn(e.outputs),f&&f.forEach((C=>C(s))),s.directiveDefs=u?()=>("function"==typeof u?u():u).map(ae).filter(Ie):null,s.pipeDefs=u?()=>("function"==typeof u?u():u).map(de).filter(Ie):null,s}))}function ae(e){return $t(e)||Ce(e)}function Ie(e){return null!==e}function $e(e){return Mt((()=>({type:e.type,bootstrap:e.bootstrap||Qt,declarations:e.declarations||Qt,imports:e.imports||Qt,exports:e.exports||Qt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null})))}function tn(e,t){if(null==e)return Kt;const n={};for(const i in e)if(e.hasOwnProperty(i)){let s=e[i],u=s;Array.isArray(s)&&(u=s[1],s=s[0]),n[s]=i,t&&(t[s]=u)}return n}const un=Pe;function nn(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 $t(e){return e[cn]||null}function Ce(e){return e[Tt]||null}function de(e){return e[Xn]||null}function ne(e){const t=$t(e)||Ce(e)||de(e);return null!==t&&t.standalone}function z(e,t){const n=e[Sn]||null;if(!n&&!0===t)throw new Error(`Type ${De(e)} does not have 'ɵmod' property.`);return n}const k=10;function Y(e){return Array.isArray(e)&&"object"==typeof e[1]}function ce(e){return Array.isArray(e)&&!0===e[1]}function Qe(e){return 0!=(8&e.flags)}function Ye(e){return 2==(2&e.flags)}function ut(e){return 1==(1&e.flags)}function ct(e){return null!==e.template}function dt(e){return 0!=(256&e[2])}function Yn(e,t){return e.hasOwnProperty(Ft)?e[Ft]:null}class so{constructor(t,n,i){this.previousValue=t,this.currentValue=n,this.firstChange=i}isFirstChange(){return this.firstChange}}function js(){return Fo}function Fo(e){return e.type.prototype.ngOnChanges&&(e.setInput=Cs),ls}function ls(){const e=So(this),t=e?.current;if(t){const n=e.previous;if(n===Kt)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function Cs(e,t,n,i){const s=So(e)||function Yo(e,t){return e[us]=t}(e,{previous:Kt,current:null}),u=s.current||(s.current={}),f=s.previous,C=this.declaredInputs[n],D=f[C];u[C]=new so(D&&D.currentValue,t,f===Kt),e[i]=t}js.ngInherit=!0;const us="__ngSimpleChanges__";function So(e){return e[us]||null}function hr(e){for(;Array.isArray(e);)e=e[0];return e}function Ii(e,t){return hr(t[e])}function pr(e,t){return hr(t[e.index])}function Ci(e,t){return e.data[t]}function Gr(e,t){const n=t[e];return Y(n)?n:n[0]}function Wi(e){return 64==(64&e[2])}function Fn(e,t){return null==t?null:e[t]}function lo(e){e[18]=0}function Ri(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 bn={lFrame:Zi(null),bindingsEnabled:!0};function Ni(){return bn.bindingsEnabled}function gt(){return bn.lFrame.lView}function $n(){return bn.lFrame.tView}function wi(e){return bn.lFrame.contextLView=e,e[8]}function _o(e){return bn.lFrame.contextLView=null,e}function Pr(){let e=Jo();for(;null!==e&&64===e.type;)e=e.parent;return e}function Jo(){return bn.lFrame.currentTNode}function x(e,t){const n=bn.lFrame;n.currentTNode=e,n.isParent=t}function P(){return bn.lFrame.isParent}function M(){bn.lFrame.isParent=!1}function wr(){const e=bn.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Ji(){return bn.lFrame.bindingIndex++}function Ti(e){const t=bn.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function ds(e,t){const n=bn.lFrame;n.bindingIndex=n.bindingRootIndex=e,Es(t)}function Es(e){bn.lFrame.currentDirectiveIndex=e}function vo(){return bn.lFrame.currentQueryIndex}function Ss(e){bn.lFrame.currentQueryIndex=e}function wl(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Aa(e,t,n){if(n&Ae.SkipSelf){let s=t,u=e;for(;!(s=s.parent,null!==s||n&Ae.Host||(s=wl(u),null===s||(u=u[15],10&s.type))););if(null===s)return!1;t=s,e=u}const i=bn.lFrame=ko();return i.currentTNode=t,i.lView=e,!0}function zs(e){const t=ko(),n=e[1];bn.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function ko(){const e=bn.lFrame,t=null===e?null:e.child;return null===t?Zi(e):t}function Zi(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 Ts(){const e=bn.lFrame;return bn.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Ia=Ts;function da(){const e=Ts();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 Fi(){return bn.lFrame.selectedIndex}function yo(e){bn.lFrame.selectedIndex=e}function be(){const e=bn.lFrame;return Ci(e.tView,e.selectedIndex)}function sr(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n<i;n++){const u=e.data[n].type.prototype,{ngAfterContentInit:f,ngAfterContentChecked:C,ngAfterViewInit:D,ngAfterViewChecked:R,ngOnDestroy:q}=u;f&&(e.contentHooks||(e.contentHooks=[])).push(-n,f),C&&((e.contentHooks||(e.contentHooks=[])).push(n,C),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,C)),D&&(e.viewHooks||(e.viewHooks=[])).push(-n,D),R&&((e.viewHooks||(e.viewHooks=[])).push(n,R),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,R)),null!=q&&(e.destroyHooks||(e.destroyHooks=[])).push(n,q)}}function fs(e,t,n){Ws(e,t,3,n)}function fa(e,t,n,i){(3&e[2])===n&&Ws(e,t,n,i)}function qi(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function Ws(e,t,n,i){const u=i??-1,f=t.length-1;let C=0;for(let D=void 0!==i?65535&e[18]:0;D<f;D++)if("number"==typeof t[D+1]){if(C=t[D],null!=i&&C>=i)break}else t[D]<0&&(e[18]+=65536),(C<u||-1==u)&&(nl(e,n,t,D),e[18]=(4294901760&e[18])+D+2),D++}function nl(e,t,n,i){const s=n[i]<0,u=n[i+1],C=e[s?-n[i]:n[i]];if(s){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{u.call(C)}finally{}}}else try{u.call(C)}finally{}}class Co{constructor(t,n,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i}}function Jn(e,t,n){let i=0;for(;i<n.length;){const s=n[i];if("number"==typeof s){if(0!==s)break;i++;const u=n[i++],f=n[i++],C=n[i++];e.setAttribute(t,f,C,u)}else{const u=s,f=n[++i];nr(u)?e.setProperty(t,u,f):e.setAttribute(t,u,f),i++}}return i}function Zn(e){return 3===e||4===e||6===e}function nr(e){return 64===e.charCodeAt(0)}function Gn(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 s=t[i];"number"==typeof s?n=s:0===n||Ir(e,n,s,null,-1===n||2===n?t[++i]:null)}}return e}function Ir(e,t,n,i,s){let u=0,f=e.length;if(-1===t)f=-1;else for(;u<e.length;){const C=e[u++];if("number"==typeof C){if(C===t){f=-1;break}if(C>t){f=u-1;break}}}for(;u<e.length;){const C=e[u];if("number"==typeof C)break;if(C===n){if(null===i)return void(null!==s&&(e[u+1]=s));if(i===e[u+1])return void(e[u+2]=s)}u++,null!==i&&u++,null!==s&&u++}-1!==f&&(e.splice(f,0,t),u=f+1),e.splice(u++,0,n),null!==i&&e.splice(u++,0,i),null!==s&&e.splice(u++,0,s)}function yr(e){return-1!==e}function Br(e){return 32767&e}function Pi(e,t){let n=function To(e){return e>>16}(e),i=t;for(;n>0;)i=i[15],n--;return i}let eo=!0;function Di(e){const t=eo;return eo=e,t}let bl=0;const to={};function xs(e,t){const n=Na(e,t);if(-1!==n)return n;const i=t[1];i.firstCreatePass&&(e.injectorIndex=t.length,il(i.data,e),il(t,null),il(i.blueprint,null));const s=Fa(e,t),u=e.injectorIndex;if(yr(s)){const f=Br(s),C=Pi(s,t),D=C[1].data;for(let R=0;R<8;R++)t[u+R]=C[f+R]|D[f+R]}return t[u+8]=s,u}function il(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Na(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Fa(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,i=null,s=t;for(;null!==s;){if(i=Va(s),null===i)return-1;if(n++,s=s[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return-1}function Os(e,t,n){!function rl(e,t,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(vn)&&(i=n[vn]),null==i&&(i=n[vn]=bl++);const s=255&i;t.data[e+(s>>5)]|=1<<s}(e,t,n)}function pi(e,t,n){if(n&Ae.Optional||void 0!==e)return e;ye()}function La(e,t,n,i){if(n&Ae.Optional&&void 0===i&&(i=null),0==(n&(Ae.Self|Ae.Host))){const s=e[9],u=et(void 0);try{return s?s.get(t,i,n&Ae.Optional):it(t,i,n&Ae.Optional)}finally{et(u)}}return pi(i,0,n)}function Ql(e,t,n,i=Ae.Default,s){if(null!==e){if(1024&t[2]){const f=function sl(e,t,n,i,s){let u=e,f=t;for(;null!==u&&null!==f&&1024&f[2]&&!(256&f[2]);){const C=Dl(u,f,n,i|Ae.Self,to);if(C!==to)return C;let D=u.parent;if(!D){const R=f[21];if(R){const q=R.get(n,to,i);if(q!==to)return q}D=Va(f),f=f[15]}u=D}return s}(e,t,n,i,to);if(f!==to)return f}const u=Dl(e,t,n,i,to);if(u!==to)return u}return La(t,n,i,s)}function Dl(e,t,n,i,s){const u=function El(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(vn)?e[vn]:void 0;return"number"==typeof t?t>=0?255&t:ui:t}(n);if("function"==typeof u){if(!Aa(t,e,i))return i&Ae.Host?pi(s,0,i):La(t,n,i,s);try{const f=u(i);if(null!=f||i&Ae.Optional)return f;ye()}finally{Ia()}}else if("number"==typeof u){let f=null,C=Na(e,t),D=-1,R=i&Ae.Host?t[16][6]:null;for((-1===C||i&Ae.SkipSelf)&&(D=-1===C?Fa(e,t):t[C+8],-1!==D&&ha(i,!1)?(f=t[1],C=Br(D),t=Pi(D,t)):C=-1);-1!==C;){const q=t[1];if(Ks(u,C,q.data)){const le=ka(C,t,n,f,i,R);if(le!==to)return le}D=t[C+8],-1!==D&&ha(i,t[1].data[C+8]===R)&&Ks(u,C,t)?(f=q,C=Br(D),t=Pi(D,t)):C=-1}}return s}function ka(e,t,n,i,s,u){const f=t[1],C=f.data[e+8],q=qs(C,f,n,null==i?Ye(C)&&eo:i!=f&&0!=(3&C.type),s&Ae.Host&&u===C);return null!==q?hs(t,f,q,C):to}function qs(e,t,n,i,s){const u=e.providerIndexes,f=t.data,C=1048575&u,D=e.directiveStart,q=u>>20,we=s?C+q:e.directiveEnd;for(let Le=i?C:C+q;Le<we;Le++){const lt=f[Le];if(Le<D&&n===lt||Le>=D&<.type===n)return Le}if(s){const Le=f[D];if(Le&&ct(Le)&&Le.type===n)return D}return null}function hs(e,t,n,i){let s=e[n];const u=t.data;if(function b(e){return e instanceof Co}(s)){const f=s;f.resolving&&function Xt(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new nt(-200,`Circular dependency in DI detected for ${e}${n}`)}(function We(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)}(u[n]));const C=Di(f.canSeeViewProviders);f.resolving=!0;const D=f.injectImpl?et(f.injectImpl):null;Aa(e,i,Ae.Default);try{s=e[n]=f.factory(void 0,u,e,i),t.firstCreatePass&&n>=i.directiveStart&&function ri(e,t,n){const{ngOnChanges:i,ngOnInit:s,ngDoCheck:u}=t.type.prototype;if(i){const f=Fo(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,f),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,f)}s&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,s),u&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,u),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,u))}(n,u[n],t)}finally{null!==D&&et(D),Di(C),f.resolving=!1,Ia()}}return s}function Ks(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function ha(e,t){return!(e&Ae.Self||e&Ae.Host&&t)}class Po{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,i){return Ql(this._tNode,this._lView,t,i,n)}}function ui(){return new Po(Pr(),gt())}function Qs(e){return Mt((()=>{const t=e.prototype.constructor,n=t[Ft]||ol(t),i=Object.prototype;let s=Object.getPrototypeOf(e.prototype).constructor;for(;s&&s!==i;){const u=s[Ft]||ol(s);if(u&&u!==n)return u;s=Object.getPrototypeOf(s)}return u=>new u}))}function ol(e){return Ke(e)?()=>{const t=ol(Be(e));return t&&t()}:Yn(e)}function Va(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}function Ml(e){return function li(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 s=0;for(;s<i;){const u=n[s];if(Zn(u))break;if(0===u)s+=2;else if("number"==typeof u)for(s++;s<i&&"string"==typeof n[s];)s++;else{if(u===t)return n[s+1];s+=2}}}return null}(Pr(),e)}const Vo="__parameters__";function Yr(e,t,n){return Mt((()=>{const i=function J(e){return function(...n){if(e){const i=e(...n);for(const s in i)this[s]=i[s]}}}(t);function s(...u){if(this instanceof s)return i.apply(this,u),this;const f=new s(...u);return C.annotation=f,C;function C(D,R,q){const le=D.hasOwnProperty(Vo)?D[Vo]:Object.defineProperty(D,Vo,{value:[]})[Vo];for(;le.length<=q;)le.push(null);return(le[q]=le[q]||[]).push(f),D}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s}))}class an{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=cr({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Jr(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)),Jr(i,t)):t!==e&&t.push(i)}return t}function ns(e,t){e.forEach((n=>Array.isArray(n)?ns(n,t):t(n)))}function ga(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Ha(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function ma(e,t){const n=[];for(let i=0;i<e;i++)n.push(t);return n}function Oo(e,t,n){let i=y(e,t);return i>=0?e[1|i]=n:(i=~i,function Rs(e,t,n,i){let s=e.length;if(s==t)e.push(n,i);else if(1===s)e.push(i,e[0]),e[0]=n;else{for(s--,e.push(e[s-1],e[s]);s>t;)e[s]=e[s-2],s--;e[t]=n,e[t+1]=i}}(e,i,t,n)),i}function m(e,t){const n=y(e,t);if(n>=0)return e[1|n]}function y(e,t){return function w(e,t,n){let i=0,s=e.length>>n;for(;s!==i;){const u=i+(s-i>>1),f=e[u<<n];if(t===f)return u<<n;f>t?s=u:i=u+1}return~(s<<n)}(e,t,1)}const Ur={},wo="__NG_DI_FLAG__",Ki="ngTempTokenPath",nu=/\n/gm,Ol="__source";let Xs;function Bo(e){const t=Xs;return Xs=e,t}function ru(e,t=Ae.Default){if(void 0===Xs)throw new nt(-203,!1);return null===Xs?it(e,void 0,t):Xs.get(e,t&Ae.Optional?null:void 0,t)}function Xr(e,t=Ae.Default){return(function Xe(){return ke}()||ru)(Be(e),t)}function Nu(e,t=Ae.Default){return"number"!=typeof t&&(t=0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)),Xr(e,t)}function ll(e){const t=[];for(let n=0;n<e.length;n++){const i=Be(e[n]);if(Array.isArray(i)){if(0===i.length)throw new nt(900,!1);let s,u=Ae.Default;for(let f=0;f<i.length;f++){const C=i[f],D=iu(C);"number"==typeof D?-1===D?s=C.token:u|=D:s=C}t.push(Xr(s,u))}else t.push(Xr(i))}return t}function mi(e,t){return e[wo]=t,e.prototype[wo]=t,e}function iu(e){return e[wo]}const va=mi(Yr("Optional"),8),c=mi(Yr("SkipSelf"),4);var Or=(()=>((Or=Or||{})[Or.Important=1]="Important",Or[Or.DashCase=2]="DashCase",Or))();const Vc=new Map;let Vu=0;const Uu="__ngContext__";function ro(e,t){Y(t)?(e[Uu]=t[20],function af(e){Vc.set(e[20],e)}(t)):e[Uu]=t}function $u(e,t){return undefined(e,t)}function Nl(e){const t=e[3];return ce(t)?t[3]:t}function Gc(e){return lu(e[13])}function zc(e){return lu(e[4])}function lu(e){for(;null!==e&&!ce(e);)e=e[4];return e}function cl(e,t,n,i,s){if(null!=i){let u,f=!1;ce(i)?u=i:Y(i)&&(f=!0,i=i[0]);const C=hr(i);0===e&&null!==n?null==s?Zc(t,n,C):dl(t,n,C,s||null,!0):1===e&&null!==n?dl(t,n,C,s||null,!0):2===e?function Ll(e,t,n){const i=Zu(e,t);i&&function yf(e,t,n,i){e.removeChild(t,n,i)}(e,i,t,n)}(t,C,f):3===e&&t.destroyNode(C),null!=u&&function Df(e,t,n,i,s){const u=n[7];u!==hr(n)&&cl(t,e,i,u,s);for(let C=k;C<n.length;C++){const D=n[C];Ls(D[1],D,e,t,i,u)}}(t,e,u,n,s)}}function Ya(e,t,n){return e.createElement(t,n)}function du(e,t){const n=e[9],i=n.indexOf(t),s=t[3];512&t[2]&&(t[2]&=-513,Ri(s,-1)),n.splice(i,1)}function fu(e,t){if(e.length<=k)return;const n=k+t,i=e[n];if(i){const s=i[17];null!==s&&s!==e&&du(s,i),t>0&&(e[n-1][4]=i[4]);const u=Ha(e,k+t);!function cu(e,t){Ls(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(i[1],i);const f=u[19];null!==f&&f.detachView(u[1]),i[3]=null,i[4]=null,i[2]&=-65}return i}function hu(e,t){if(!(128&t[2])){const n=t[11];n.destroyNode&&Ls(e,t,n,3,null,null),function mf(e){let t=e[13];if(!t)return Wc(e[1],e);for(;t;){let n=null;if(Y(t))n=t[13];else{const i=t[k];i&&(n=i)}if(!n){for(;t&&!t[4]&&t!==e;)Y(t)&&Wc(t[1],t),t=t[3];null===t&&(t=e),Y(t)&&Wc(t[1],t),n=t&&t[4]}t=n}}(t)}}function Wc(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function Wu(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let i=0;i<n.length;i+=2){const s=t[n[i]];if(!(s instanceof Co)){const u=n[i+1];if(Array.isArray(u))for(let f=0;f<u.length;f+=2){const C=s[u[f]],D=u[f+1];try{D.call(C)}finally{}}else try{u.call(s)}finally{}}}}(e,t),function vf(e,t){const n=e.cleanup,i=t[7];let s=-1;if(null!==n)for(let u=0;u<n.length-1;u+=2)if("string"==typeof n[u]){const f=n[u+1],C="function"==typeof f?f(t):hr(t[f]),D=i[s=n[u+2]],R=n[u+3];"boolean"==typeof R?C.removeEventListener(n[u],D,R):R>=0?i[s=R]():i[s=-R].unsubscribe(),u+=2}else{const f=i[s=n[u+1]];n[u].call(f)}if(null!==i){for(let u=s+1;u<i.length;u++)(0,i[u])();t[7]=null}}(e,t),1===t[1].type&&t[11].destroy();const n=t[17];if(null!==n&&ce(t[3])){n!==t[3]&&du(n,t);const i=t[19];null!==i&&i.detachView(e)}!function rs(e){Vc.delete(e[20])}(t)}}function Yc(e,t,n){return function Yu(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 s=e.data[i.directiveStart].encapsulation;if(s===Nt.None||s===Nt.Emulated)return null}return pr(i,n)}(e,t.parent,n)}function dl(e,t,n,i,s){e.insertBefore(t,n,i,s)}function Zc(e,t,n){e.appendChild(t,n)}function na(e,t,n,i,s){null!==i?dl(e,t,n,i,s):Zc(e,t,n)}function Zu(e,t){return e.parentNode(t)}function wf(e,t,n){return ra(e,t,n)}let mu,fo,kl,ra=function bf(e,t,n){return 40&e.type?pr(e,n):null};function Fl(e,t,n,i){const s=Yc(e,i,t),u=t[11],C=wf(i.parent||t[6],i,t);if(null!=s)if(Array.isArray(n))for(let D=0;D<n.length;D++)na(u,s,n[D],C,!1);else na(u,s,n,C,!1)}function fl(e,t){if(null!==t){const n=t.type;if(3&n)return pr(t,e);if(4&n)return xn(-1,e[t.index]);if(8&n){const i=t.child;if(null!==i)return fl(e,i);{const s=e[t.index];return ce(s)?xn(-1,s):hr(s)}}if(32&n)return $u(t,e)()||hr(e[t.index]);{const i=hl(e,t);return null!==i?Array.isArray(i)?i[0]:fl(Nl(e[16]),i):fl(e,t.next)}}return null}function hl(e,t){return null!==t?e[16][6].projection[t.projection]:null}function xn(e,t){const n=k+e+1;if(n<t.length){const i=t[n],s=i[1].firstChild;if(null!==s)return fl(i,s)}return t[7]}function gu(e,t,n,i,s,u,f){for(;null!=n;){const C=i[n.index],D=n.type;if(f&&0===t&&(C&&ro(hr(C),i),n.flags|=4),64!=(64&n.flags))if(8&D)gu(e,t,n.child,i,s,u,!1),cl(t,e,s,C,u);else if(32&D){const R=$u(n,i);let q;for(;q=R();)cl(t,e,s,q,u);cl(t,e,s,C,u)}else 16&D?Ku(e,t,i,n,s,u):cl(t,e,s,C,u);n=f?n.projectionNext:n.next}}function Ls(e,t,n,i,s,u){gu(n,i,e.firstChild,t,s,u,!1)}function Ku(e,t,n,i,s,u){const f=n[16],D=f[6].projection[i.projection];if(Array.isArray(D))for(let R=0;R<D.length;R++)cl(t,e,s,D[R],u);else gu(e,t,D,f[3],s,u,!0)}function Ef(e,t,n){e.setAttribute(t,"style",n)}function qc(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Za(e){return function Kc(){if(void 0===mu&&(mu=null,Ht.trustedTypes))try{mu=Ht.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return mu}()?.createHTML(e)||e}function Qc(e){fo=e}function Sf(e){return function Jc(){if(void 0===kl&&(kl=null,Ht.trustedTypes))try{kl=Ht.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return kl}()?.createHTML(e)||e}class ed{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}function wa(e){return e instanceof ed?e.changingThisBreaksApplicationSecurity:e}function _u(e,t){const n=function td(e){return e instanceof ed&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}class xf{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Za(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class ia{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);const i=this.inertDocument.createElement("body");n.appendChild(i)}}getInertBodyElement(t){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=Za(t),n;const i=this.inertDocument.createElement("body");return i.innerHTML=Za(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(i),i}stripCustomNsAttrs(t){const n=t.attributes;for(let s=n.length-1;0<s;s--){const f=n.item(s).name;("xmlns:ns1"===f||0===f.indexOf("ns1:"))&&t.removeAttribute(f)}let i=t.firstChild;for(;i;)i.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(i),i=i.nextSibling}}const _p=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;function Ju(e){return(e=String(e)).match(_p)?e:"unsafe:"+e}function ba(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function yu(...e){const t={};for(const n of e)for(const i in n)n.hasOwnProperty(i)&&(t[i]=!0);return t}const Of=ba("area,br,col,hr,img,wbr"),Af=ba("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),If=ba("rp,rt"),nd=yu(Of,yu(Af,ba("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),yu(If,ba("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),yu(If,Af)),rd=ba("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),id=yu(rd,ba("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),ba("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),Rf=ba("script,style,template");class yp{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,i=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?i=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,i&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let s=this.checkClobberedElement(n,n.nextSibling);if(s){n=s;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!nd.hasOwnProperty(n))return this.sanitizedSomething=!0,!Rf.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const i=t.attributes;for(let s=0;s<i.length;s++){const u=i.item(s),f=u.name,C=f.toLowerCase();if(!id.hasOwnProperty(C)){this.sanitizedSomething=!0;continue}let D=u.value;rd[C]&&(D=Ju(D)),this.buf.push(" ",f,'="',od(D),'"')}return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();nd.hasOwnProperty(n)&&!Of.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(od(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return n}}const Cp=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,wp=/([^\#-~ |!])/g;function od(e){return e.replace(/&/g,"&").replace(Cp,(function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"})).replace(wp,(function(t){return"&#"+t.charCodeAt(0)+";"})).replace(/</g,"<").replace(/>/g,">")}let Xu;function sd(e){return"content"in e&&function Dp(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Ui=(()=>((Ui=Ui||{})[Ui.NONE=0]="NONE",Ui[Ui.HTML=1]="HTML",Ui[Ui.STYLE=2]="STYLE",Ui[Ui.SCRIPT=3]="SCRIPT",Ui[Ui.URL=4]="URL",Ui[Ui.RESOURCE_URL=5]="RESOURCE_URL",Ui))();function Nf(e){const t=Cu();return t?Sf(t.sanitize(Ui.HTML,e)||""):_u(e,"HTML")?Sf(wa(e)):function bp(e,t){let n=null;try{Xu=Xu||function vu(e){const t=new ia(e);return function pl(){try{return!!(new window.DOMParser).parseFromString(Za(""),"text/html")}catch{return!1}}()?new xf(t):t}(e);let i=t?String(t):"";n=Xu.getInertBodyElement(i);let s=5,u=i;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,i=u,u=n.innerHTML,n=Xu.getInertBodyElement(i)}while(i!==u);return Za((new yp).sanitizeChildren(sd(n)||n))}finally{if(n){const i=sd(n)||n;for(;i.firstChild;)i.removeChild(i.firstChild)}}}(function Mf(){return void 0!==fo?fo:typeof document<"u"?document:void 0}(),Me(e))}function ad(e){const t=Cu();return t?t.sanitize(Ui.URL,e)||"":_u(e,"URL")?wa(e):Ju(Me(e))}function Cu(){const e=gt();return e&&e[12]}const ld=new an("ENVIRONMENT_INITIALIZER"),Vf=new an("INJECTOR",-1),Bf=new an("INJECTOR_DEF_TYPES");class Uf{get(t,n=Ur){if(n===Ur){const i=new Error(`NullInjectorError: No provider for ${De(t)}!`);throw i.name="NullInjectorError",i}return n}}function Pp(...e){return{"ɵproviders":Hf(0,e)}}function Hf(e,...t){const n=[],i=new Set;let s;return ns(t,(u=>{const f=u;ud(f,n,[],i)&&(s||(s=[]),s.push(f))})),void 0!==s&&jf(s,n),n}function jf(e,t){for(let n=0;n<e.length;n++){const{providers:s}=e[n];ns(s,(u=>{t.push(u)}))}}function ud(e,t,n,i){if(!(e=Be(e)))return!1;let s=null,u=qt(e);const f=!u&&$t(e);if(u||f){if(f&&!f.standalone)return!1;s=e}else{const D=e.ngModule;if(u=qt(D),!u)return!1;s=D}const C=i.has(s);if(f){if(C)return!1;if(i.add(s),f.dependencies){const D="function"==typeof f.dependencies?f.dependencies():f.dependencies;for(const R of D)ud(R,t,n,i)}}else{if(!u)return!1;{if(null!=u.imports&&!C){let R;i.add(s);try{ns(u.imports,(q=>{ud(q,t,n,i)&&(R||(R=[]),R.push(q))}))}finally{}void 0!==R&&jf(R,t)}if(!C){const R=Yn(s)||(()=>new s);t.push({provide:s,useFactory:R,deps:Qt},{provide:Bf,useValue:s,multi:!0},{provide:ld,useValue:()=>Xr(s),multi:!0})}const D=u.providers;null==D||C||ns(D,(q=>{t.push(q)}))}}return s!==e&&void 0!==e.providers}const xp=X({provide:String,useValue:X});function cd(e){return null!==e&&"object"==typeof e&&xp in e}function gl(e){return"function"==typeof e}const dd=new an("Set Injector scope."),ec={},Ap={};let fd;function Bl(){return void 0===fd&&(fd=new Uf),fd}class qa{}class zf extends qa{constructor(t,n,i,s){super(),this.parent=n,this.source=i,this.scopes=s,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Hl(t,(f=>this.processProvider(f))),this.records.set(Vf,Ul(void 0,this)),s.has("environment")&&this.records.set(qa,Ul(void 0,this));const u=this.records.get(dd);null!=u&&"string"==typeof u.value&&this.scopes.add(u.value),this.injectorDefTypes=new Set(this.get(Bf.multi,Qt,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=Bo(this),i=et(void 0);try{return t()}finally{Bo(n),et(i)}}get(t,n=Ur,i=Ae.Default){this.assertNotDestroyed();const s=Bo(this),u=et(void 0);try{if(!(i&Ae.SkipSelf)){let C=this.records.get(t);if(void 0===C){const D=function Yf(e){return"function"==typeof e||"object"==typeof e&&e instanceof an}(t)&&Fr(t);C=D&&this.injectableDefInScope(D)?Ul(hd(t),ec):null,this.records.set(t,C)}if(null!=C)return this.hydrate(t,C)}return(i&Ae.Self?Bl():this.parent).get(t,n=i&Ae.Optional&&n===Ur?null:n)}catch(f){if("NullInjectorError"===f.name){if((f[Ki]=f[Ki]||[]).unshift(De(t)),s)throw f;return function Fu(e,t,n,i){const s=e[Ki];throw t[Ol]&&s.unshift(t[Ol]),e.message=function Ns(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&"ɵ"==e.charAt(1)?e.slice(2):e;let s=De(t);if(Array.isArray(t))s=t.map(De).join(" -> ");else if("object"==typeof t){let u=[];for(let f in t)if(t.hasOwnProperty(f)){let C=t[f];u.push(f+":"+("string"==typeof C?JSON.stringify(C):De(C)))}s=`{${u.join(", ")}}`}return`${n}${i?"("+i+")":""}[${s}]: ${e.replace(nu,"\n ")}`}("\n"+e.message,s,n,i),e.ngTokenPath=s,e[Ki]=null,e}(f,t,"R3InjectorError",this.source)}throw f}finally{et(u),Bo(s)}}resolveInjectorInitializers(){const t=Bo(this),n=et(void 0);try{const i=this.get(ld.multi,Qt,Ae.Self);for(const s of i)s()}finally{Bo(t),et(n)}}toString(){const t=[],n=this.records;for(const i of n.keys())t.push(De(i));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new nt(205,!1)}processProvider(t){let n=gl(t=Be(t))?t:Be(t&&t.provide);const i=function Rp(e){return cd(e)?Ul(void 0,e.useValue):Ul(Wf(e),ec)}(t);if(gl(t)||!0!==t.multi)this.records.get(n);else{let s=this.records.get(n);s||(s=Ul(void 0,ec,!0),s.factory=()=>ll(s.multi),this.records.set(n,s)),n=t,s.multi.push(t)}this.records.set(n,i)}hydrate(t,n){return n.value===ec&&(n.value=Ap,n.value=n.factory()),"object"==typeof n.value&&n.value&&function Fp(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=Be(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function hd(e){const t=Fr(e),n=null!==t?t.factory:Yn(e);if(null!==n)return n;if(e instanceof an)throw new nt(204,!1);if(e instanceof Function)return function Ip(e){const t=e.length;if(t>0)throw ma(t,"?"),new nt(204,!1);const n=function ei(e){const t=e&&(e[Kr]||e[pe]);if(t){const n=function Dr(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 nt(204,!1)}function Wf(e,t,n){let i;if(gl(e)){const s=Be(e);return Yn(s)||hd(s)}if(cd(e))i=()=>Be(e.useValue);else if(function Gf(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...ll(e.deps||[]));else if(function $f(e){return!(!e||!e.useExisting)}(e))i=()=>Xr(Be(e.useExisting));else{const s=Be(e&&(e.useClass||e.provide));if(!function Np(e){return!!e.deps}(e))return Yn(s)||hd(s);i=()=>new s(...ll(e.deps))}return i}function Ul(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Lp(e){return!!e.ɵproviders}function Hl(e,t){for(const n of e)Array.isArray(n)?Hl(n,t):Lp(n)?Hl(n.ɵproviders,t):t(n)}class Zf{}class Bp{resolveComponentFactory(t){throw function Vp(e){const t=Error(`No component factory found for ${De(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let wu=(()=>{class e{}return e.NULL=new Bp,e})();function Up(){return jl(Pr(),gt())}function jl(e,t){return new bu(pr(e,t))}let bu=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=Up,e})();function Hp(e){return e instanceof bu?e.nativeElement:e}class Kf{}let jp=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function $p(){const e=gt(),n=Gr(Pr().index,e);return(Y(n)?n:e)[11]}(),e})(),Gp=(()=>{class e{}return e.ɵprov=cr({token:e,providedIn:"root",factory:()=>null}),e})();class pd{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Qf=new pd("14.3.0"),gd={};function _d(e){return e.ngOriginalError}class Ka{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&&_d(t);for(;n&&_d(n);)n=_d(n);return n||null}}function Da(e){return e instanceof Function?e():e}function tc(e,t,n){let i=e.length;for(;;){const s=e.indexOf(t,n);if(-1===s)return s;if(0===s||e.charCodeAt(s-1)<=32){const u=t.length;if(s+u===i||e.charCodeAt(s+u)<=32)return s}n=s+1}}const Cd="ng-template";function Jf(e,t,n){let i=0;for(;i<e.length;){let s=e[i++];if(n&&"class"===s){if(s=e[i],-1!==tc(s.toLowerCase(),t,0))return!0}else if(1===s){for(;i<e.length&&"string"==typeof(s=e[i++]);)if(s.toLowerCase()===t)return!0;return!1}}return!1}function wd(e){return 4===e.type&&e.value!==Cd}function rg(e,t,n){return t===(4!==e.type||n?e.value:Cd)}function ig(e,t,n){let i=4;const s=e.attrs||[],u=function sg(e){for(let t=0;t<e.length;t++)if(Zn(e[t]))return t;return e.length}(s);let f=!1;for(let C=0;C<t.length;C++){const D=t[C];if("number"!=typeof D){if(!f)if(4&i){if(i=2|1&i,""!==D&&!rg(e,D,n)||""===D&&1===t.length){if(ks(i))return!1;f=!0}}else{const R=8&i?D:t[++C];if(8&i&&null!==e.attrs){if(!Jf(e.attrs,R,n)){if(ks(i))return!1;f=!0}continue}const le=nc(8&i?"class":D,s,wd(e),n);if(-1===le){if(ks(i))return!1;f=!0;continue}if(""!==R){let we;we=le>u?"":s[le+1].toLowerCase();const Le=8&i?we:null;if(Le&&-1!==tc(Le,R,0)||2&i&&R!==we){if(ks(i))return!1;f=!0}}}}else{if(!f&&!ks(i)&&!ks(D))return!1;if(f&&ks(D))continue;f=!1,i=D|1&i}}return ks(i)||f}function ks(e){return 0==(1&e)}function nc(e,t,n,i){if(null===t)return-1;let s=0;if(i||!n){let u=!1;for(;s<t.length;){const f=t[s];if(f===e)return s;if(3===f||6===f)u=!0;else{if(1===f||2===f){let C=t[++s];for(;"string"==typeof C;)C=t[++s];continue}if(4===f)break;if(0===f){s+=4;continue}}s+=u?1:2}return-1}return function bd(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 Du(e,t,n=!1){for(let i=0;i<t.length;i++)if(ig(e,t[i],n))return!0;return!1}function Xf(e,t){e:for(let n=0;n<t.length;n++){const i=t[n];if(e.length===i.length){for(let s=0;s<e.length;s++)if(e[s]!==i[s])continue e;return!0}}return!1}function eh(e,t){return e?":not("+t.trim()+")":t}function ag(e){let t=e[0],n=1,i=2,s="",u=!1;for(;n<e.length;){let f=e[n];if("string"==typeof f)if(2&i){const C=e[++n];s+="["+f+(C.length>0?'="'+C+'"':"")+"]"}else 8&i?s+="."+f:4&i&&(s+=" "+f);else""!==s&&!ks(f)&&(t+=eh(u,s),s=""),i=f,u=u||!ks(i);n++}return""!==s&&(t+=eh(u,s)),t}const qn={};function th(e){nh($n(),gt(),Fi()+e,!1)}function nh(e,t,n,i){if(!i)if(3==(3&t[2])){const u=e.preOrderCheckHooks;null!==u&&fs(t,u,n)}else{const u=e.preOrderHooks;null!==u&&fa(t,u,0,n)}yo(n)}function Kn(e,t=null,n=null,i){const s=oh(e,t,n,i);return s.resolveInjectorInitializers(),s}function oh(e,t=null,n=null,i,s=new Set){const u=[n||Qt,Pp(e)];return i=i||("object"==typeof e?void 0:De(e)),new zf(u,t||Bl(),i||null,s)}let Hi=(()=>{class e{static create(n,i){if(Array.isArray(n))return Kn({name:""},i,n,"");{const s=n.name??"";return Kn({name:s},n.parent,n.providers,s)}}}return e.THROW_IF_NOT_FOUND=Ur,e.NULL=new Uf,e.ɵprov=cr({token:e,providedIn:"any",factory:()=>Xr(Vf)}),e.__NG_ELEMENT_ID__=-1,e})();function Wl(e,t=Ae.Default){const n=gt();return null===n?Xr(e,t):Ql(Pr(),n,Be(e),t)}function uh(){throw new Error("invalid")}function ac(e,t){return e<<17|t<<2}function vs(e){return e>>17&32767}function lc(e){return 2|e}function ji(e){return(131068&e)>>2}function uc(e,t){return-131069&e|t<<2}function Sr(e){return 1|e}function _h(e,t){const n=e.contentQueries;if(null!==n)for(let i=0;i<n.length;i+=2){const s=n[i],u=n[i+1];if(-1!==u){const f=e.data[u];Ss(s),f.contentQueries(2,t[u],u)}}}function pc(e,t,n,i,s,u,f,C,D,R,q){const le=t.blueprint.slice();return le[0]=s,le[2]=76|i,(null!==q||e&&1024&e[2])&&(le[2]|=1024),lo(le),le[3]=le[15]=e,le[8]=n,le[10]=f||e&&e[10],le[11]=C||e&&e[11],le[12]=D||e&&e[12]||null,le[9]=R||e&&e[9]||null,le[6]=u,le[20]=function Bc(){return Vu++}(),le[21]=q,le[16]=2==t.type?e[16]:le,le}function _l(e,t,n,i,s){let u=e.data[t];if(null===u)u=function gc(e,t,n,i,s){const u=Jo(),f=P(),D=e.data[t]=function Lg(e,t,n,i,s,u){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:s,attrs:u,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,f?u:u&&u.parent,n,t,i,s);return null===e.firstChild&&(e.firstChild=D),null!==u&&(f?null==u.child&&null!==D.parent&&(u.child=D):null===u.next&&(u.next=D)),D}(e,t,n,i,s),function es(){return bn.lFrame.inI18n}()&&(u.flags|=64);else if(64&u.type){u.type=n,u.value=i,u.attrs=s;const f=function vr(){const e=bn.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();u.injectorIndex=null===f?-1:f.injectorIndex}return x(u,!0),u}function Zl(e,t,n,i){if(0===n)return-1;const s=t.length;for(let u=0;u<n;u++)t.push(i),e.blueprint.push(i),e.data.push(null);return s}function Fd(e,t,n){zs(t);try{const i=e.viewQuery;null!==i&&Wd(1,i,n);const s=e.template;null!==s&&vh(e,t,s,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&_h(e,t),e.staticViewQueries&&Wd(2,e.viewQuery,n);const u=e.components;null!==u&&function Rg(e,t){for(let n=0;n<t.length;n++)Yg(e,t[n])}(t,u)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{t[2]&=-5,da()}}function mc(e,t,n,i){const s=t[2];if(128!=(128&s)){zs(t);try{lo(t),function Xo(e){return bn.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&vh(e,t,n,2,i);const f=3==(3&s);if(f){const R=e.preOrderCheckHooks;null!==R&&fs(t,R,null)}else{const R=e.preOrderHooks;null!==R&&fa(t,R,0,null),qi(t,0)}if(function Wg(e){for(let t=Gc(e);null!==t;t=zc(t)){if(!t[2])continue;const n=t[9];for(let i=0;i<n.length;i++){const s=n[i],u=s[3];0==(512&s[2])&&Ri(u,1),s[2]|=512}}}(t),function $d(e){for(let t=Gc(e);null!==t;t=zc(t))for(let n=k;n<t.length;n++){const i=t[n],s=i[1];Wi(i)&&mc(s,i,s.template,i[8])}}(t),null!==e.contentQueries&&_h(e,t),f){const R=e.contentCheckHooks;null!==R&&fs(t,R)}else{const R=e.contentHooks;null!==R&&fa(t,R,1),qi(t,1)}!function Ag(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let i=0;i<n.length;i++){const s=n[i];if(s<0)yo(~s);else{const u=s,f=n[++i],C=n[++i];ds(f,u),C(2,t[u])}}}finally{yo(-1)}}(e,t);const C=e.components;null!==C&&function Ig(e,t){for(let n=0;n<t.length;n++)Gd(e,t[n])}(t,C);const D=e.viewQuery;if(null!==D&&Wd(2,D,i),f){const R=e.viewCheckHooks;null!==R&&fs(t,R)}else{const R=e.viewHooks;null!==R&&fa(t,R,2),qi(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[2]&=-41,512&t[2]&&(t[2]&=-513,Ri(t[3],-1))}finally{da()}}}function vh(e,t,n,i,s){const u=Fi(),f=2&i;try{yo(-1),f&&t.length>22&&nh(e,t,22,!1),n(i,s)}finally{yo(u)}}function yh(e,t,n){if(Qe(t)){const s=t.directiveEnd;for(let u=t.directiveStart;u<s;u++){const f=e.data[u];f.contentQueries&&f.contentQueries(1,n[u],u)}}}function Ld(e,t,n){!Ni()||(function Ud(e,t,n,i){const s=n.directiveStart,u=n.directiveEnd;e.firstCreatePass||xs(n,t),ro(i,t);const f=n.initialInputs;for(let C=s;C<u;C++){const D=e.data[C],R=ct(D);R&&$g(t,n,D);const q=hs(t,e,C,n);ro(q,t),null!==f&&Gg(0,C-s,q,D,0,f),R&&(Gr(n.index,t)[8]=q)}}(e,t,n,pr(n,t)),128==(128&n.flags)&&function Sh(e,t,n){const i=n.directiveStart,s=n.directiveEnd,u=n.index,f=function Cl(){return bn.lFrame.currentDirectiveIndex}();try{yo(u);for(let C=i;C<s;C++){const D=e.data[C],R=t[C];Es(C),(null!==D.hostBindings||0!==D.hostVars||null!==D.hostAttrs)&&Hd(D,R)}}finally{yo(-1),Es(f)}}(e,t,n))}function kd(e,t,n=pr){const i=t.localNames;if(null!==i){let s=t.index+1;for(let u=0;u<i.length;u+=2){const f=i[u+1],C=-1===f?n(t,e):e[f];e[s++]=C}}}function Ch(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Vd(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function Vd(e,t,n,i,s,u,f,C,D,R){const q=22+i,le=q+s,we=function Ng(e,t){const n=[];for(let i=0;i<t;i++)n.push(i<e?null:qn);return n}(q,le),Le="function"==typeof R?R():R;return we[1]={type:e,blueprint:we,template:n,queries:null,viewQuery:C,declTNode:t,data:we.slice().fill(null,q),bindingStartIndex:q,expandoStartIndex:le,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 u?u():u,pipeRegistry:"function"==typeof f?f():f,firstChild:null,schemas:D,consts:Le,incompleteFirstPass:!1}}function wh(e,t,n,i){const s=Cc(t);null===n?s.push(i):(s.push(n),e.firstCreatePass&&Ih(e).push(i,s.length-1))}function bh(e,t,n){for(let i in e)if(e.hasOwnProperty(i)){const s=e[i];(n=null===n?{}:n).hasOwnProperty(i)?n[i].push(t,s):n[i]=[t,s]}return n}function Dh(e,t){const i=t.directiveEnd,s=e.data,u=t.attrs,f=[];let C=null,D=null;for(let R=t.directiveStart;R<i;R++){const q=s[R],le=q.inputs,we=null===u||wd(t)?null:zg(le,u);f.push(we),C=bh(le,R,C),D=bh(q.outputs,R,D)}null!==C&&(C.hasOwnProperty("class")&&(t.flags|=16),C.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=f,t.inputs=C,t.outputs=D}function os(e,t,n,i,s,u,f,C){const D=pr(t,n);let q,R=t.inputs;!C&&null!=R&&(q=R[i])?(Yd(e,n,q,i,s),Ye(t)&&Eh(n,t.index)):3&t.type&&(i=function kg(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i),s=null!=f?f(s,t.value||"",i):s,u.setProperty(D,i,s))}function Eh(e,t){const n=Gr(t,e);16&n[2]||(n[2]|=32)}function Bd(e,t,n,i){let s=!1;if(Ni()){const u=function Hg(e,t,n){const i=e.directiveRegistry;let s=null;if(i)for(let u=0;u<i.length;u++){const f=i[u];Du(n,f.selectors,!1)&&(s||(s=[]),Os(xs(n,t),e,f.type),ct(f)?(Th(e,n),s.unshift(f)):s.push(f))}return s}(e,t,n),f=null===i?null:{"":-1};if(null!==u){s=!0,Ph(n,e.data.length,u.length);for(let q=0;q<u.length;q++){const le=u[q];le.providersResolver&&le.providersResolver(le)}let C=!1,D=!1,R=Zl(e,t,u.length,null);for(let q=0;q<u.length;q++){const le=u[q];n.mergedAttrs=Gn(n.mergedAttrs,le.hostAttrs),xh(e,n,t,R,le),jd(R,le,f),null!==le.contentQueries&&(n.flags|=8),(null!==le.hostBindings||null!==le.hostAttrs||0!==le.hostVars)&&(n.flags|=128);const we=le.type.prototype;!C&&(we.ngOnChanges||we.ngOnInit||we.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),C=!0),!D&&(we.ngOnChanges||we.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),D=!0),R++}Dh(e,n)}f&&function jg(e,t,n){if(t){const i=e.localNames=[];for(let s=0;s<t.length;s+=2){const u=n[t[s+1]];if(null==u)throw new nt(-301,!1);i.push(t[s],u)}}}(n,i,f)}return n.mergedAttrs=Gn(n.mergedAttrs,n.attrs),s}function Mh(e,t,n,i,s,u){const f=u.hostBindings;if(f){let C=e.hostBindingOpCodes;null===C&&(C=e.hostBindingOpCodes=[]);const D=~t.index;(function Ug(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(C)!=D&&C.push(D),C.push(i,s,f)}}function Hd(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Th(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function jd(e,t,n){if(n){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)n[t.exportAs[i]]=e;ct(t)&&(n[""]=e)}}function Ph(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function xh(e,t,n,i,s){e.data[i]=s;const u=s.factory||(s.factory=Yn(s.type)),f=new Co(u,ct(s),Wl);e.blueprint[i]=f,n[i]=f,Mh(e,t,0,i,Zl(e,n,s.hostVars,qn),s)}function $g(e,t,n){const i=pr(t,e),s=Ch(n),u=e[10],f=_c(e,pc(e,s,null,n.onPush?32:16,i,t,u,u.createRenderer(i,n),null,null,null));e[t.index]=f}function _i(e,t,n,i,s,u){const f=pr(e,t);!function Mu(e,t,n,i,s,u,f){if(null==u)e.removeAttribute(t,s,n);else{const C=null==f?Me(u):f(u,i||"",s);e.setAttribute(t,s,C,n)}}(t[11],f,u,e.value,n,i,s)}function Gg(e,t,n,i,s,u){const f=u[t];if(null!==f){const C=i.setInput;for(let D=0;D<f.length;){const R=f[D++],q=f[D++],le=f[D++];null!==C?i.setInput(n,le,R,q):n[q]=le}}}function zg(e,t){let n=null,i=0;for(;i<t.length;){const s=t[i];if(0!==s)if(5!==s){if("number"==typeof s)break;e.hasOwnProperty(s)&&(null===n&&(n=[]),n.push(s,e[s],t[i+1])),i+=2}else i+=2;else i+=4}return n}function Oh(e,t,n,i){return new Array(e,!0,!1,t,null,0,i,n,null,null)}function Gd(e,t){const n=Gr(t,e);if(Wi(n)){const i=n[1];48&n[2]?mc(i,n,i.template,n[8]):n[5]>0&&zd(n)}}function zd(e){for(let i=Gc(e);null!==i;i=zc(i))for(let s=k;s<i.length;s++){const u=i[s];if(Wi(u))if(512&u[2]){const f=u[1];mc(f,u,f.template,u[8])}else u[5]>0&&zd(u)}const n=e[1].components;if(null!==n)for(let i=0;i<n.length;i++){const s=Gr(n[i],e);Wi(s)&&s[5]>0&&zd(s)}}function Yg(e,t){const n=Gr(t,e),i=n[1];(function Zg(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(i,n),Fd(i,n,n[8])}function _c(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function vc(e){for(;e;){e[2]|=32;const t=Nl(e);if(dt(e)&&!t)return e;e=t}return null}function yc(e,t,n,i=!0){const s=t[10];s.begin&&s.begin();try{mc(e,t,e.template,n)}catch(f){throw i&&Nh(t,f),f}finally{s.end&&s.end()}}function Wd(e,t,n){Ss(0),t(e,n)}function Cc(e){return e[7]||(e[7]=[])}function Ih(e){return e.cleanup||(e.cleanup=[])}function Nh(e,t){const n=e[9],i=n?n.get(Ka,null):null;i&&i.handleError(t)}function Yd(e,t,n,i,s){for(let u=0;u<n.length;){const f=n[u++],C=n[u++],D=t[f],R=e.data[f];null!==R.setInput?R.setInput(D,s,i,C):D[C]=s}}function Sa(e,t,n){const i=Ii(t,e);!function hf(e,t,n){e.setValue(t,n)}(e[11],i,n)}function wc(e,t,n){let i=n?e.styles:null,s=n?e.classes:null,u=0;if(null!==t)for(let f=0;f<t.length;f++){const C=t[f];"number"==typeof C?u=C:1==u?s=Se(s,C):2==u&&(i=Se(i,C+": "+t[++f]+";"))}n?e.styles=i:e.stylesWithoutHost=i,n?e.classes=s:e.classesWithoutHost=s}function bc(e,t,n,i,s=!1){for(;null!==n;){const u=t[n.index];if(null!==u&&i.push(hr(u)),ce(u))for(let C=k;C<u.length;C++){const D=u[C],R=D[1].firstChild;null!==R&&bc(D[1],D,R,i)}const f=n.type;if(8&f)bc(e,t,n.child,i);else if(32&f){const C=$u(n,t);let D;for(;D=C();)i.push(D)}else if(16&f){const C=hl(t,n);if(Array.isArray(C))i.push(...C);else{const D=Nl(t[16]);bc(D[1],D,C,i,!0)}}n=s?n.projectionNext:n.next}return i}class Su{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 bc(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(ce(t)){const n=t[8],i=n?n.indexOf(this):-1;i>-1&&(fu(t,i),Ha(n,i))}this._attachedToViewContainer=!1}hu(this._lView[1],this._lView)}onDestroy(t){wh(this._lView[1],this._lView,null,t)}markForCheck(){vc(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){yc(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new nt(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function gf(e,t){Ls(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new nt(902,!1);this._appRef=t}}class qg extends Su{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;yc(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class Zd extends wu{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=$t(t);return new Tu(n,this.ngModule)}}function Fh(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class Qg{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,i){const s=this.injector.get(t,gd,i);return s!==gd||n===gd?s:this.parentInjector.get(t,n,i)}}class Tu extends Zf{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function lg(e){return e.map(ag).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return Fh(this.componentDef.inputs)}get outputs(){return Fh(this.componentDef.outputs)}create(t,n,i,s){let u=(s=s||this.ngModule)instanceof qa?s:s?.injector;u&&null!==this.componentDef.getStandaloneInjector&&(u=this.componentDef.getStandaloneInjector(u)||u);const f=u?new Qg(t,u):t,C=f.get(Kf,null);if(null===C)throw new nt(407,!1);const D=f.get(Gp,null),R=C.createRenderer(null,this.componentDef),q=this.componentDef.selectors[0][0]||"div",le=i?function Fg(e,t,n){return e.selectRootElement(t,n===Nt.ShadowDom)}(R,i,this.componentDef.encapsulation):Ya(R,q,function Kg(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(q)),we=this.componentDef.onPush?288:272,Le=Vd(0,null,null,1,0,null,null,null,null,null),lt=pc(null,Le,null,we,null,null,C,R,D,f,null);let xt,Bt;zs(lt);try{const ln=function em(e,t,n,i,s,u){const f=n[1];n[22]=e;const D=_l(f,22,2,"#host",null),R=D.mergedAttrs=t.hostAttrs;null!==R&&(wc(D,R,!0),null!==e&&(Jn(s,e,R),null!==D.classes&&qc(s,e,D.classes),null!==D.styles&&Ef(s,e,D.styles)));const q=i.createRenderer(e,t),le=pc(n,Ch(t),null,t.onPush?32:16,n[22],D,i,q,u||null,null,null);return f.firstCreatePass&&(Os(xs(D,n),f,t.type),Th(f,D),Ph(D,n.length,1)),_c(n,le),n[22]=le}(le,this.componentDef,lt,C,R);if(le)if(i)Jn(R,le,["ng-version",Qf.full]);else{const{attrs:yn,classes:bt}=function ug(e){const t=[],n=[];let i=1,s=2;for(;i<e.length;){let u=e[i];if("string"==typeof u)2===s?""!==u&&t.push(u,e[++i]):8===s&&n.push(u);else{if(!ks(s))break;s=u}i++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);yn&&Jn(R,le,yn),bt&&bt.length>0&&qc(R,le,bt.join(" "))}if(Bt=Ci(Le,22),void 0!==n){const yn=Bt.projection=[];for(let bt=0;bt<this.ngContentSelectors.length;bt++){const Bn=n[bt];yn.push(null!=Bn?Array.from(Bn):null)}}xt=function tm(e,t,n,i){const s=n[1],u=function Bg(e,t,n){const i=Pr();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),xh(e,i,t,Zl(e,t,1,null),n),Dh(e,i));const s=hs(t,e,i.directiveStart,i);ro(s,t);const u=pr(i,t);return u&&ro(u,t),s}(s,n,t);if(e[8]=n[8]=u,null!==i)for(const C of i)C(u,t);if(t.contentQueries){const C=Pr();t.contentQueries(1,u,C.directiveStart)}const f=Pr();return!s.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(yo(f.index),Mh(n[1],f,0,f.directiveStart,f.directiveEnd,t),Hd(t,u)),u}(ln,this.componentDef,lt,[nm]),Fd(Le,lt,null)}finally{da()}return new Xg(this.componentType,xt,jl(Bt,lt),lt,Bt)}}class Xg extends class kp{}{constructor(t,n,i,s,u){super(),this.location=i,this._rootLView=s,this._tNode=u,this.instance=n,this.hostView=this.changeDetectorRef=new qg(s),this.componentType=t}setInput(t,n){const i=this._tNode.inputs;let s;if(null!==i&&(s=i[t])){const u=this._rootLView;Yd(u[1],u,s,t,n),Eh(u,this._tNode.index)}}get injector(){return new Po(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function nm(){const e=Pr();sr(gt()[1],e)}function a(e){let t=function r(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const i=[e];for(;t;){let s;if(ct(e))s=t.ɵcmp||t.ɵdir;else{if(t.ɵcmp)throw new nt(903,!1);s=t.ɵdir}if(s){if(n){i.push(s);const f=e;f.inputs=S(e.inputs),f.declaredInputs=S(e.declaredInputs),f.outputs=S(e.outputs);const C=s.hostBindings;C&&ge(e,C);const D=s.viewQuery,R=s.contentQueries;if(D&&H(e,D),R&&ie(e,R),oe(e.inputs,s.inputs),oe(e.declaredInputs,s.declaredInputs),oe(e.outputs,s.outputs),ct(s)&&s.data.animation){const q=e.data;q.animation=(q.animation||[]).concat(s.data.animation)}}const u=s.features;if(u)for(let f=0;f<u.length;f++){const C=u[f];C&&C.ngInherit&&C(e),C===a&&(n=!1)}}t=Object.getPrototypeOf(t)}!function d(e){let t=0,n=null;for(let i=e.length-1;i>=0;i--){const s=e[i];s.hostVars=t+=s.hostVars,s.hostAttrs=Gn(s.hostAttrs,n=Gn(n,s.hostAttrs))}}(i)}function S(e){return e===Kt?{}:e===Qt?[]:e}function H(e,t){const n=e.viewQuery;e.viewQuery=n?(i,s)=>{t(i,s),n(i,s)}:t}function ie(e,t){const n=e.contentQueries;e.contentQueries=n?(i,s,u)=>{t(i,s,u),n(i,s,u)}:t}function ge(e,t){const n=e.hostBindings;e.hostBindings=n?(i,s)=>{t(i,s),n(i,s)}:t}let mt=null;function Ct(){if(!mt){const e=Ht.Symbol;if(e&&e.iterator)mt=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&&(mt=i)}}}return mt}function hn(e){return!!In(e)&&(Array.isArray(e)||!(e instanceof Map)&&Ct()in e)}function In(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Qn(e,t,n){return e[t]=n}function Nr(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Qi(e,t,n,i){const s=Nr(e,t,n);return Nr(e,t+1,i)||s}function Vs(e,t,n,i){const s=gt();return Nr(s,Ji(),t)&&($n(),_i(be(),s,e,t,n,i)),Vs}function Dc(e,t,n,i){return Nr(e,Ji(),n)?t+Me(n)+i:qn}function Ec(e,t,n,i,s,u){const C=Qi(e,function bi(){return bn.lFrame.bindingIndex}(),n,s);return Ti(2),C?t+Me(n)+i+Me(s)+u:qn}function z_(e,t,n,i,s,u,f,C){const D=gt(),R=$n(),q=e+22,le=R.firstCreatePass?function K0(e,t,n,i,s,u,f,C,D){const R=t.consts,q=_l(t,e,4,f||null,Fn(R,C));Bd(t,n,q,Fn(R,D)),sr(t,q);const le=q.tViews=Vd(2,q,i,s,u,t.directiveRegistry,t.pipeRegistry,null,t.schemas,R);return null!==t.queries&&(t.queries.template(t,q),le.queries=t.queries.embeddedTView(q)),q}(q,R,D,t,n,i,s,u,f):R.data[q];x(le,!1);const we=D[11].createComment("");Fl(R,D,we,le),ro(we,D),_c(D,D[q]=Oh(we,D,we,le)),ut(le)&&Ld(R,D,le),null!=f&&kd(D,le,C)}function W_(e){return function mo(e,t){return e[t]}(function qe(){return bn.lFrame.contextLView}(),22+e)}function rm(e,t,n){const i=gt();return Nr(i,Ji(),t)&&os($n(),be(),i,e,t,i[11],n,!1),rm}function im(e,t,n,i,s){const f=s?"class":"style";Yd(e,n,t.inputs[f],f,i)}function Lh(e,t,n,i){const s=gt(),u=$n(),f=22+e,C=s[11],D=s[f]=Ya(C,t,function or(){return bn.lFrame.currentNamespace}()),R=u.firstCreatePass?function J0(e,t,n,i,s,u,f){const C=t.consts,R=_l(t,e,2,s,Fn(C,u));return Bd(t,n,R,Fn(C,f)),null!==R.attrs&&wc(R,R.attrs,!1),null!==R.mergedAttrs&&wc(R,R.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,R),R}(f,u,s,0,t,n,i):u.data[f];x(R,!0);const q=R.mergedAttrs;null!==q&&Jn(C,D,q);const le=R.classes;null!==le&&qc(C,D,le);const we=R.styles;return null!==we&&Ef(C,D,we),64!=(64&R.flags)&&Fl(u,s,D,R),0===function Ds(){return bn.lFrame.elementDepthCount}()&&ro(D,s),function Yi(){bn.lFrame.elementDepthCount++}(),ut(R)&&(Ld(u,s,R),yh(u,R,s)),null!==i&&kd(s,R),Lh}function kh(){let e=Pr();P()?M():(e=e.parent,x(e,!1));const t=e;!function cs(){bn.lFrame.elementDepthCount--}();const n=$n();return n.firstCreatePass&&(sr(n,e),Qe(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function _e(e){return 0!=(16&e.flags)}(t)&&im(n,t,gt(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function ze(e){return 0!=(32&e.flags)}(t)&&im(n,t,gt(),t.stylesWithoutHost,!1),kh}function om(e,t,n,i){return Lh(e,t,n,i),kh(),om}function Vh(e,t,n){const i=gt(),s=$n(),u=e+22,f=s.firstCreatePass?function X0(e,t,n,i,s){const u=t.consts,f=Fn(u,i),C=_l(t,e,8,"ng-container",f);return null!==f&&wc(C,f,!0),Bd(t,n,C,Fn(u,s)),null!==t.queries&&t.queries.elementStart(t,C),C}(u,s,i,t,n):s.data[u];x(f,!0);const C=i[u]=i[11].createComment("");return Fl(s,i,C,f),ro(C,i),ut(f)&&(Ld(s,i,f),yh(s,f,i)),null!=n&&kd(i,f),Vh}function Bh(){let e=Pr();const t=$n();return P()?M():(e=e.parent,x(e,!1)),t.firstCreatePass&&(sr(t,e),Qe(e)&&t.queries.elementEnd(e)),Bh}function sm(e,t,n){return Vh(e,t,n),Bh(),sm}function Y_(){return gt()}function am(e){return!!e&&"function"==typeof e.then}function Z_(e){return!!e&&"function"==typeof e.subscribe}const q_=Z_;function lm(e,t,n,i){const s=gt(),u=$n(),f=Pr();return function Q_(e,t,n,i,s,u,f,C){const D=ut(i),q=e.firstCreatePass&&Ih(e),le=t[8],we=Cc(t);let Le=!0;if(3&i.type||C){const Bt=pr(i,t),ln=C?C(Bt):Bt,yn=we.length,bt=C?jr=>C(hr(jr[i.index])):i.index;let Bn=null;if(!C&&D&&(Bn=function eC(e,t,n,i){const s=e.cleanup;if(null!=s)for(let u=0;u<s.length-1;u+=2){const f=s[u];if(f===n&&s[u+1]===i){const C=t[7],D=s[u+2];return C.length>D?C[D]:null}"string"==typeof f&&(u+=2)}return null}(e,t,s,i.index)),null!==Bn)(Bn.__ngLastListenerFn__||Bn).__ngNextListenerFn__=u,Bn.__ngLastListenerFn__=u,Le=!1;else{u=X_(i,t,le,u,!1);const jr=n.listen(ln,s,u);we.push(u,jr),q&&q.push(s,bt,yn,yn+1)}}else u=X_(i,t,le,u,!1);const lt=i.outputs;let xt;if(Le&&null!==lt&&(xt=lt[s])){const Bt=xt.length;if(Bt)for(let ln=0;ln<Bt;ln+=2){const Mi=t[xt[ln]][xt[ln+1]].subscribe(u),Ou=we.length;we.push(u,Mi),q&&q.push(s,i.index,Ou,-(Ou+1))}}}(u,s,s[11],f,e,t,0,i),lm}function J_(e,t,n,i){try{return!1!==n(i)}catch(s){return Nh(e,s),!1}}function X_(e,t,n,i,s){return function u(f){if(f===Function)return i;vc(2&e.flags?Gr(e.index,t):t);let D=J_(t,0,i,f),R=u.__ngNextListenerFn__;for(;R;)D=J_(t,0,R,f)&&D,R=R.__ngNextListenerFn__;return s&&!1===D&&(f.preventDefault(),f.returnValue=!1),D}}function ev(e=1){return function Ra(e){return(bn.lFrame.contextLView=function Kl(e,t){for(;e>0;)t=t[15],e--;return t}(e,bn.lFrame.contextLView))[8]}(e)}function tC(e,t){let n=null;const i=function og(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 s=0;s<t.length;s++){const u=t[s];if("*"!==u){if(null===i?Du(e,u,!0):Xf(i,u))return s}else n=s}return n}function tv(e){const t=gt()[16][6];if(!t.projection){const i=t.projection=ma(e?e.length:1,null),s=i.slice();let u=t.child;for(;null!==u;){const f=e?tC(u,e):0;null!==f&&(s[f]?s[f].projectionNext=u:i[f]=u,s[f]=u),u=u.next}}}function nv(e,t=0,n){const i=gt(),s=$n(),u=_l(s,22+e,16,null,n||null);null===u.projection&&(u.projection=t),M(),64!=(64&u.flags)&&function ap(e,t,n){Ku(t[11],0,t,n,Yc(e,n,t),wf(n.parent||t[6],n,t))}(s,i,u)}function um(e,t,n){return Uh(e,"",t,"",n),um}function Uh(e,t,n,i,s){const u=gt(),f=Dc(u,t,n,i);return f!==qn&&os($n(),be(),u,e,f,u[11],s,!1),Uh}function dv(e,t,n,i,s){const u=e[n+1],f=null===t;let C=i?vs(u):ji(u),D=!1;for(;0!==C&&(!1===D||f);){const q=e[C+1];iC(e[C],t)&&(D=!0,e[C+1]=i?Sr(q):lc(q)),C=i?vs(q):ji(q)}D&&(e[n+1]=i?lc(u):Sr(u))}function iC(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&y(e,t)>=0}const go={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function fv(e){return e.substring(go.key,go.keyEnd)}function hv(e,t){const n=go.textEnd;return n===t?-1:(t=go.keyEnd=function lC(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,go.key=t,n),Ac(e,t,n))}function Ac(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function cm(e,t){return function Ta(e,t,n,i){const s=gt(),u=$n(),f=Ti(2);u.firstUpdatePass&&wv(u,e,f,i),t!==qn&&Nr(s,f,t)&&Dv(u,u.data[Fi()],s,s[11],e,s[f+1]=function vC(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=De(wa(e)))),e}(t,n),i,f)}(e,t,null,!0),cm}function yv(e){Pa(Oo,Xa,e,!0)}function Xa(e,t){for(let n=function sC(e){return function gv(e){go.key=0,go.keyEnd=0,go.value=0,go.valueEnd=0,go.textEnd=e.length}(e),hv(e,Ac(e,0,go.textEnd))}(t);n>=0;n=hv(t,n))Oo(e,fv(t),!0)}function Pa(e,t,n,i){const s=$n(),u=Ti(2);s.firstUpdatePass&&wv(s,null,u,i);const f=gt();if(n!==qn&&Nr(f,u,n)){const C=s.data[Fi()];if(Mv(C,i)&&!Cv(s,u)){let D=i?C.classesWithoutHost:C.stylesWithoutHost;null!==D&&(n=Se(D,n||"")),im(s,C,f,n,i)}else!function _C(e,t,n,i,s,u,f,C){s===qn&&(s=Qt);let D=0,R=0,q=0<s.length?s[0]:null,le=0<u.length?u[0]:null;for(;null!==q||null!==le;){const we=D<s.length?s[D+1]:void 0,Le=R<u.length?u[R+1]:void 0;let xt,lt=null;q===le?(D+=2,R+=2,we!==Le&&(lt=le,xt=Le)):null===le||null!==q&&q<le?(D+=2,lt=q):(R+=2,lt=le,xt=Le),null!==lt&&Dv(e,t,n,i,lt,xt,f,C),q=D<s.length?s[D]:null,le=R<u.length?u[R]:null}}(s,C,f,f[11],f[u+1],f[u+1]=function mC(e,t,n){if(null==n||""===n)return Qt;const i=[],s=wa(n);if(Array.isArray(s))for(let u=0;u<s.length;u++)e(i,s[u],!0);else if("object"==typeof s)for(const u in s)s.hasOwnProperty(u)&&e(i,u,s[u]);else"string"==typeof s&&t(i,s);return i}(e,t,n),i,u)}}function Cv(e,t){return t>=e.expandoStartIndex}function wv(e,t,n,i){const s=e.data;if(null===s[n+1]){const u=s[Fi()],f=Cv(e,n);Mv(u,i)&&null===t&&!f&&(t=!1),t=function fC(e,t,n,i){const s=function Ms(e){const t=bn.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let u=i?t.residualClasses:t.residualStyles;if(null===s)0===(i?t.classBindings:t.styleBindings)&&(n=qd(n=dm(null,e,t,n,i),t.attrs,i),u=null);else{const f=t.directiveStylingLast;if(-1===f||e[f]!==s)if(n=dm(s,e,t,n,i),null===u){let D=function hC(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0!==ji(i))return e[vs(i)]}(e,t,i);void 0!==D&&Array.isArray(D)&&(D=dm(null,e,t,D[1],i),D=qd(D,t.attrs,i),function pC(e,t,n,i){e[vs(n?t.classBindings:t.styleBindings)]=i}(e,t,i,D))}else u=function gC(e,t,n){let i;const s=t.directiveEnd;for(let u=1+t.directiveStylingLast;u<s;u++)i=qd(i,e[u].hostAttrs,n);return qd(i,t.attrs,n)}(e,t,i)}return void 0!==u&&(i?t.residualClasses=u:t.residualStyles=u),n}(s,u,t,i),function nC(e,t,n,i,s,u){let f=u?t.classBindings:t.styleBindings,C=vs(f),D=ji(f);e[i]=n;let q,R=!1;if(Array.isArray(n)){const le=n;q=le[1],(null===q||y(le,q)>0)&&(R=!0)}else q=n;if(s)if(0!==D){const we=vs(e[C+1]);e[i+1]=ac(we,C),0!==we&&(e[we+1]=uc(e[we+1],i)),e[C+1]=function tr(e,t){return 131071&e|t<<17}(e[C+1],i)}else e[i+1]=ac(C,0),0!==C&&(e[C+1]=uc(e[C+1],i)),C=i;else e[i+1]=ac(D,0),0===C?C=i:e[D+1]=uc(e[D+1],i),D=i;R&&(e[i+1]=lc(e[i+1])),dv(e,q,i,!0),dv(e,q,i,!1),function rC(e,t,n,i,s){const u=s?e.residualClasses:e.residualStyles;null!=u&&"string"==typeof t&&y(u,t)>=0&&(n[i+1]=Sr(n[i+1]))}(t,q,e,i,u),f=ac(C,D),u?t.classBindings=f:t.styleBindings=f}(s,u,t,n,f,i)}}function dm(e,t,n,i,s){let u=null;const f=n.directiveEnd;let C=n.directiveStylingLast;for(-1===C?C=n.directiveStart:C++;C<f&&(u=t[C],i=qd(i,u.hostAttrs,s),u!==e);)C++;return null!==e&&(n.directiveStylingLast=C),i}function qd(e,t,n){const i=n?1:2;let s=-1;if(null!==t)for(let u=0;u<t.length;u++){const f=t[u];"number"==typeof f?s=f:s===i&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Oo(e,f,!!n||t[++u]))}return void 0===e?null:e}function Dv(e,t,n,i,s,u,f,C){if(!(3&t.type))return;const D=e.data,R=D[C+1];Hh(function dh(e){return 1==(1&e)}(R)?Ev(D,t,n,s,ji(R),f):void 0)||(Hh(u)||function sa(e){return 2==(2&e)}(R)&&(u=Ev(D,null,n,s,C,f)),function Eo(e,t,n,i,s){if(t)s?e.addClass(n,i):e.removeClass(n,i);else{let u=-1===i.indexOf("-")?void 0:Or.DashCase;null==s?e.removeStyle(n,i,u):("string"==typeof s&&s.endsWith("!important")&&(s=s.slice(0,-10),u|=Or.Important),e.setStyle(n,i,s,u))}}(i,f,Ii(Fi(),n),s,u))}function Ev(e,t,n,i,s,u){const f=null===t;let C;for(;s>0;){const D=e[s],R=Array.isArray(D),q=R?D[1]:D,le=null===q;let we=n[s+1];we===qn&&(we=le?Qt:void 0);let Le=le?m(we,i):q===i?we:void 0;if(R&&!Hh(Le)&&(Le=m(D,i)),Hh(Le)&&(C=Le,f))return C;const lt=e[s+1];s=f?vs(lt):ji(lt)}if(null!==t){let D=u?t.residualClasses:t.residualStyles;null!=D&&(C=m(D,i))}return C}function Hh(e){return void 0!==e}function Mv(e,t){return 0!=(e.flags&(t?16:32))}function Sv(e,t=""){const n=gt(),i=$n(),s=e+22,u=i.firstCreatePass?_l(i,s,1,t,null):i.data[s],f=n[s]=function Gu(e,t){return e.createText(t)}(n[11],t);Fl(i,n,f,u),x(u,!1)}function fm(e){return jh("",e,""),fm}function jh(e,t,n){const i=gt(),s=Dc(i,e,t,n);return s!==qn&&Sa(i,Fi(),s),jh}function hm(e,t,n,i,s){const u=gt(),f=Ec(u,e,t,n,i,s);return f!==qn&&Sa(u,Fi(),f),hm}function Nv(e,t,n){Pa(Oo,Xa,Dc(gt(),e,t,n),!0)}function pm(e,t,n){const i=gt();return Nr(i,Ji(),t)&&os($n(),be(),i,e,t,i[11],n,!0),pm}const Pu=void 0;var kC=["en",[["a","p"],["AM","PM"],Pu],[["AM","PM"],Pu,Pu],[["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"]],Pu,[["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"]],Pu,[["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}",Pu,"{1} 'at' {0}",Pu],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function LC(e){const n=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===i?1:5}];let Ic={};function gm(e){const t=function VC(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Wv(t);if(n)return n;const i=t.split("-")[0];if(n=Wv(i),n)return n;if("en"===i)return kC;throw new nt(701,!1)}function zv(e){return gm(e)[Vn.PluralCase]}function Wv(e){return e in Ic||(Ic[e]=Ht.ng&&Ht.ng.common&&Ht.ng.common.locales&&Ht.ng.common.locales[e]),Ic[e]}var Vn=(()=>((Vn=Vn||{})[Vn.LocaleId=0]="LocaleId",Vn[Vn.DayPeriodsFormat=1]="DayPeriodsFormat",Vn[Vn.DayPeriodsStandalone=2]="DayPeriodsStandalone",Vn[Vn.DaysFormat=3]="DaysFormat",Vn[Vn.DaysStandalone=4]="DaysStandalone",Vn[Vn.MonthsFormat=5]="MonthsFormat",Vn[Vn.MonthsStandalone=6]="MonthsStandalone",Vn[Vn.Eras=7]="Eras",Vn[Vn.FirstDayOfWeek=8]="FirstDayOfWeek",Vn[Vn.WeekendRange=9]="WeekendRange",Vn[Vn.DateFormat=10]="DateFormat",Vn[Vn.TimeFormat=11]="TimeFormat",Vn[Vn.DateTimeFormat=12]="DateTimeFormat",Vn[Vn.NumberSymbols=13]="NumberSymbols",Vn[Vn.NumberFormats=14]="NumberFormats",Vn[Vn.CurrencyCode=15]="CurrencyCode",Vn[Vn.CurrencySymbol=16]="CurrencySymbol",Vn[Vn.CurrencyName=17]="CurrencyName",Vn[Vn.Currencies=18]="Currencies",Vn[Vn.Directionality=19]="Directionality",Vn[Vn.PluralCase=20]="PluralCase",Vn[Vn.ExtraData=21]="ExtraData",Vn))();const Rc="en-US";let Yv=Rc;function vm(e,t,n,i,s){if(e=Be(e),Array.isArray(e))for(let u=0;u<e.length;u++)vm(e[u],t,n,i,s);else{const u=$n(),f=gt();let C=gl(e)?e:Be(e.provide),D=Wf(e);const R=Pr(),q=1048575&R.providerIndexes,le=R.directiveStart,we=R.providerIndexes>>20;if(gl(e)||!e.multi){const Le=new Co(D,s,Wl),lt=Cm(C,t,s?q:q+we,le);-1===lt?(Os(xs(R,f),u,C),ym(u,e,t.length),t.push(C),R.directiveStart++,R.directiveEnd++,s&&(R.providerIndexes+=1048576),n.push(Le),f.push(Le)):(n[lt]=Le,f[lt]=Le)}else{const Le=Cm(C,t,q+we,le),lt=Cm(C,t,q,q+we),xt=Le>=0&&n[Le],Bt=lt>=0&&n[lt];if(s&&!Bt||!s&&!xt){Os(xs(R,f),u,C);const ln=function Fw(e,t,n,i,s){const u=new Co(e,n,Wl);return u.multi=[],u.index=t,u.componentProviders=0,vy(u,s,i&&!n),u}(s?Nw:Rw,n.length,s,i,D);!s&&Bt&&(n[lt].providerFactory=ln),ym(u,e,t.length,0),t.push(C),R.directiveStart++,R.directiveEnd++,s&&(R.providerIndexes+=1048576),n.push(ln),f.push(ln)}else ym(u,e,Le>-1?Le:lt,vy(n[s?lt:Le],D,!s&&i));!s&&i&&Bt&&n[lt].componentProviders++}}}function ym(e,t,n,i){const s=gl(t),u=function Op(e){return!!e.useClass}(t);if(s||u){const D=(u?Be(t.useClass):t).prototype.ngOnDestroy;if(D){const R=e.destroyHooks||(e.destroyHooks=[]);if(!s&&t.multi){const q=R.indexOf(n);-1===q?R.push(n,[i,D]):R[q+1].push(i,D)}else R.push(n,D)}}}function vy(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Cm(e,t,n,i){for(let s=n;s<i;s++)if(t[s]===e)return s;return-1}function Rw(e,t,n,i){return wm(this.multi,[])}function Nw(e,t,n,i){const s=this.multi;let u;if(this.providerFactory){const f=this.providerFactory.componentProviders,C=hs(n,n[1],this.providerFactory.index,i);u=C.slice(0,f),wm(s,u);for(let D=f;D<C.length;D++)u.push(C[D])}else u=[],wm(s,u);return u}function wm(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function yy(e,t=[]){return n=>{n.providersResolver=(i,s)=>function Iw(e,t,n){const i=$n();if(i.firstCreatePass){const s=ct(e);vm(n,i.data,i.blueprint,s,!0),vm(t,i.data,i.blueprint,s,!1)}}(i,s?s(e):e,t)}}class Nc{}class Cy{}function Lw(e,t){return new wy(e,t??null)}class wy extends Nc{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Zd(this);const i=z(t);this._bootstrapComponents=Da(i.bootstrap),this._r3Injector=oh(t,n,[{provide:Nc,useValue:this},{provide:wu,useValue:this.componentFactoryResolver}],De(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 bm extends Cy{constructor(t){super(),this.moduleType=t}create(t){return new wy(this.moduleType,t)}}class kw extends Nc{constructor(t,n,i){super(),this.componentFactoryResolver=new Zd(this),this.instance=null;const s=new zf([...t,{provide:Nc,useValue:this},{provide:wu,useValue:this.componentFactoryResolver}],n||Bl(),i,new Set(["environment"]));this.injector=s,s.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Dm(e,t,n=null){return new kw(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=Hf(0,n.type),s=i.length>0?Dm([i],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n.id,s)}return this.cachedInjectors.get(n.id)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return e.ɵprov=cr({token:e,providedIn:"environment",factory:()=>new e(Xr(qa))}),e})();function by(e){e.getStandaloneInjector=t=>t.get(Vw).getOrCreateStandaloneInjector(e)}function xy(e,t,n){const i=wr()+e,s=gt();return s[i]===qn?Qn(s,i,n?t.call(n):t()):function po(e,t){return e[t]}(s,i)}function Oy(e,t,n,i){return function Ry(e,t,n,i,s,u){const f=t+n;return Nr(e,f,s)?Qn(e,f+1,u?i.call(u,s):i(s)):tf(e,f+1)}(gt(),wr(),e,t,n,i)}function Ay(e,t,n,i,s){return function Ny(e,t,n,i,s,u,f){const C=t+n;return Qi(e,C,s,u)?Qn(e,C+2,f?i.call(f,s,u):i(s,u)):tf(e,C+2)}(gt(),wr(),e,t,n,i,s)}function Iy(e,t,n,i,s,u){return function Fy(e,t,n,i,s,u,f,C){const D=t+n;return function di(e,t,n,i,s){const u=Qi(e,t,n,i);return Nr(e,t+2,s)||u}(e,D,s,u,f)?Qn(e,D+3,C?i.call(C,s,u,f):i(s,u,f)):tf(e,D+3)}(gt(),wr(),e,t,n,i,s,u)}function tf(e,t){const n=e[t];return n===qn?void 0:n}function Mm(e){return t=>{setTimeout(e,void 0,t)}}const el=class sb extends o.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,i){let s=t,u=n||(()=>null),f=i;if(t&&"object"==typeof t){const D=t;s=D.next?.bind(D),u=D.error?.bind(D),f=D.complete?.bind(D)}this.__isAsync&&(u=Mm(u),s&&(s=Mm(s)),f&&(f=Mm(f)));const C=super.subscribe({next:s,error:u,complete:f});return t instanceof p.w0&&t.add(C),C}};function ab(){return this._results[Ct()]()}class Sm{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=Ct(),i=Sm.prototype;i[n]||(i[n]=ab)}get changes(){return this._changes||(this._changes=new el)}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 s=Jr(t);(this._changesDetected=!function Iu(e,t,n){if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++){let s=e[i],u=t[i];if(n&&(s=n(s),u=n(u)),u!==s)return!1}return!0}(i._results,s,n))&&(i._results=s,i.length=s.length,i.last=s[this.length-1],i.first=s[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let rf=(()=>{class e{}return e.__NG_ELEMENT_ID__=cb,e})();const lb=rf,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,s=pc(this._declarationLView,i,t,16,null,i.declTNode,null,null,null,null,n||null);s[17]=this._declarationLView[this._declarationTContainer.index];const f=this._declarationLView[19];return null!==f&&(s[19]=f.createEmbeddedView(i)),Fd(i,s,t),new Su(s)}};function cb(){return Yh(Pr(),gt())}function Yh(e,t){return 4&e.type?new ub(t,e,jl(e,t)):null}let Zh=(()=>{class e{}return e.__NG_ELEMENT_ID__=db,e})();function db(){return Uy(Pr(),gt())}const fb=Zh,Vy=class extends fb{constructor(t,n,i){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=i}get element(){return jl(this._hostTNode,this._hostLView)}get injector(){return new Po(this._hostTNode,this._hostLView)}get parentInjector(){const t=Fa(this._hostTNode,this._hostLView);if(yr(t)){const n=Pi(t,this._hostLView),i=Br(t);return new Po(n[1].data[i+8],n)}return new Po(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=By(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-k}createEmbeddedView(t,n,i){let s,u;"number"==typeof i?s=i:null!=i&&(s=i.index,u=i.injector);const f=t.createEmbeddedView(n||{},u);return this.insert(f,s),f}createComponent(t,n,i,s,u){const f=t&&!function Ua(e){return"function"==typeof e}(t);let C;if(f)C=n;else{const le=n||{};C=le.index,i=le.injector,s=le.projectableNodes,u=le.environmentInjector||le.ngModuleRef}const D=f?t:new Tu($t(t)),R=i||this.parentInjector;if(!u&&null==D.ngModule){const we=(f?R:this.parentInjector).get(qa,null);we&&(u=we)}const q=D.create(R,s,void 0,u);return this.insert(q.hostView,C),q}insert(t,n){const i=t._lView,s=i[1];if(function Gs(e){return ce(e[3])}(i)){const q=this.indexOf(t);if(-1!==q)this.detach(q);else{const le=i[3],we=new Vy(le,le[6],le[3]);we.detach(we.indexOf(t))}}const u=this._adjustIndex(n),f=this._lContainer;!function zu(e,t,n,i){const s=k+i,u=n.length;i>0&&(n[s-1][4]=t),i<u-k?(t[4]=n[s],ga(n,k+i,t)):(n.push(t),t[4]=null),t[3]=n;const f=t[17];null!==f&&n!==f&&function _f(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(f,t);const C=t[19];null!==C&&C.insertView(e),t[2]|=64}(s,i,f,u);const C=xn(u,f),D=i[11],R=Zu(D,f[7]);return null!==R&&function op(e,t,n,i,s,u){i[0]=s,i[6]=t,Ls(e,i,n,1,s,u)}(s,f[6],D,i,R,C),t.attachToViewContainerRef(),ga(Tm(f),u,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=By(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),i=fu(this._lContainer,n);i&&(Ha(Tm(this._lContainer),n),hu(i[1],i))}detach(t){const n=this._adjustIndex(t,-1),i=fu(this._lContainer,n);return i&&null!=Ha(Tm(this._lContainer),n)?new Su(i):null}_adjustIndex(t,n=0){return t??this.length+n}};function By(e){return e[8]}function Tm(e){return e[8]||(e[8]=[])}function Uy(e,t){let n;const i=t[e.index];if(ce(i))n=i;else{let s;if(8&e.type)s=hr(i);else{const u=t[11];s=u.createComment("");const f=pr(e,t);dl(u,Zu(u,f),s,function Cf(e,t){return e.nextSibling(t)}(u,f),!1)}t[e.index]=n=Oh(i,t,s,e),_c(t,n)}return new Vy(n,e,t)}class Pm{constructor(t){this.queryList=t,this.matches=null}clone(){return new Pm(this.queryList)}setDirty(){this.queryList.setDirty()}}class xm{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const i=null!==t.contentQueries?t.contentQueries[0]:n.length,s=[];for(let u=0;u<i;u++){const f=n.getByIndex(u);s.push(this.queries[f.indexInDeclarationView].clone())}return new xm(s)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==qy(t,n).matches&&this.queries[n].setDirty()}}class Hy{constructor(t,n,i=null){this.predicate=t,this.flags=n,this.read=i}}class Om{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 s=null!==n?n.length:0,u=this.getByIndex(i).embeddedTView(t,s);u&&(u.indexInDeclarationView=i,null!==n?n.push(u):n=[u])}return null!==n?new Om(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 Am{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 Am(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 s=0;s<i.length;s++){const u=i[s];this.matchTNodeWithReadOption(t,n,gb(n,u)),this.matchTNodeWithReadOption(t,n,qs(n,t,u,!1,!1))}else i===rf?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,qs(n,t,i,!1,!1))}matchTNodeWithReadOption(t,n,i){if(null!==i){const s=this.metadata.read;if(null!==s)if(s===bu||s===Zh||s===rf&&4&n.type)this.addMatch(n.index,-2);else{const u=qs(n,t,s,!1,!1);null!==u&&this.addMatch(n.index,u)}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?jl(e,t):4&e.type?Yh(e,t):null}(t,e):-2===n?function vb(e,t,n){return n===bu?jl(t,e):n===rf?Yh(t,e):n===Zh?Uy(t,e):void 0}(e,t,i):hs(e,e[1],n,t)}function jy(e,t,n,i){const s=t[19].queries[i];if(null===s.matches){const u=e.data,f=n.matches,C=[];for(let D=0;D<f.length;D+=2){const R=f[D];C.push(R<0?null:_b(t,u[R],f[D+1],n.metadata.read))}s.matches=C}return s.matches}function Im(e,t,n,i){const s=e.queries.getByIndex(n),u=s.matches;if(null!==u){const f=jy(e,t,s,n);for(let C=0;C<u.length;C+=2){const D=u[C];if(D>0)i.push(f[C/2]);else{const R=u[C+1],q=t[-D];for(let le=k;le<q.length;le++){const we=q[le];we[17]===we[3]&&Im(we[1],we,R,i)}if(null!==q[9]){const le=q[9];for(let we=0;we<le.length;we++){const Le=le[we];Im(Le[1],Le,R,i)}}}}}return i}function $y(e){const t=gt(),n=$n(),i=vo();Ss(i+1);const s=qy(n,i);if(e.dirty&&function ao(e){return 4==(4&e[2])}(t)===(2==(2&s.metadata.flags))){if(null===s.matches)e.reset([]);else{const u=s.crossesNgTemplate?Im(n,t,i,[]):jy(n,t,s,i);e.reset(u,Hp),e.notifyOnChanges()}return!0}return!1}function Gy(e,t,n){const i=$n();i.firstCreatePass&&(Zy(i,new Hy(e,t,n),-1),2==(2&t)&&(i.staticViewQueries=!0)),Yy(i,gt(),t)}function zy(e,t,n,i){const s=$n();if(s.firstCreatePass){const u=Pr();Zy(s,new Hy(t,n,i),u.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)}(s,e),2==(2&n)&&(s.staticContentQueries=!0)}Yy(s,gt(),n)}function Wy(){return function yb(e,t){return e[19].queries[t].queryList}(gt(),vo())}function Yy(e,t,n){const i=new Sm(4==(4&n));wh(e,t,i,i.destroy),null===t[19]&&(t[19]=new xm),t[19].queries.push(new Pm(i))}function Zy(e,t,n){null===e.queries&&(e.queries=new Om),e.queries.track(new Am(t,n))}function qy(e,t){return e.queries.getByIndex(t)}function Ky(e,t){return Yh(e,t)}function Kh(...e){}const m0=new an("Application Initializer");let Qh=(()=>{class e{constructor(n){this.appInits=n,this.resolve=Kh,this.reject=Kh,this.initialized=!1,this.done=!1,this.donePromise=new Promise(((i,s)=>{this.resolve=i,this.reject=s}))}runInitializers(){if(this.initialized)return;const n=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let s=0;s<this.appInits.length;s++){const u=this.appInits[s]();if(am(u))n.push(u);else if(q_(u)){const f=new Promise(((C,D)=>{u.subscribe({complete:C,error:D})}));n.push(f)}}Promise.all(n).then((()=>{i()})).catch((s=>{this.reject(s)})),0===n.length&&i(),this.initialized=!0}}return e.ɵfac=function(n){return new(n||e)(Xr(m0,8))},e.ɵprov=cr({token:e,factory:e.ɵfac,providedIn:"root"}),e})();const _0=new an("AppId",{providedIn:"root",factory:function v0(){return`${km()}${km()}${km()}`}});function km(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const y0=new an("Platform Initializer"),Ub=new an("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),C0=new an("appBootstrapListener"),Hb=new an("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=cr({token:e,factory:e.ɵfac,providedIn:"platform"}),e})();const Jh=new an("LocaleId",{providedIn:"root",factory:()=>Nu(Jh,Ae.Optional|Ae.SkipSelf)||function $b(){return typeof $localize<"u"&&$localize.locale||Rc}()}),Gb=new an("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class zb{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let Wb=(()=>{class e{compileModuleSync(n){return new bm(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const i=this.compileModuleSync(n),u=Da(z(n).declarations).reduce(((f,C)=>{const D=$t(C);return D&&f.push(new Tu(D)),f}),[]);return new zb(i,u)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.ɵfac=function(n){return new(n||e)},e.ɵprov=cr({token:e,factory:e.ɵfac,providedIn:"root"}),e})();const qb=(()=>Promise.resolve(0))();function Vm(e){typeof Zone>"u"?qb.then((()=>{e&&e.apply(null,null)})):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class aa{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new el(!1),this.onMicrotaskEmpty=new el(!1),this.onStable=new el(!1),this.onError=new el(!1),typeof Zone>"u")throw new nt(908,!1);Zone.assertZonePatched();const s=this;if(s._nesting=0,s._outer=s._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const u=Zone.AsyncStackTaggingZoneSpec;s._inner=s._inner.fork(new u("Angular"))}Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!i&&n,s.shouldCoalesceRunChangeDetection=i,s.lastRequestAnimationFrameId=-1,s.nativeRequestAnimationFrame=function Kb(){let e=Ht.requestAnimationFrame,t=Ht.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(Ht,(()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",(()=>{e.lastRequestAnimationFrameId=-1,Um(e),e.isCheckStableRunning=!0,Bm(e),e.isCheckStableRunning=!1}),void 0,(()=>{}),(()=>{}))),e.fakeTopEventTask.invoke()})),Um(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,s,u,f,C)=>{try{return D0(e),n.invokeTask(s,u,f,C)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===u.type||e.shouldCoalesceRunChangeDetection)&&t(),E0(e)}},onInvoke:(n,i,s,u,f,C,D)=>{try{return D0(e),n.invoke(s,u,f,C,D)}finally{e.shouldCoalesceRunChangeDetection&&t(),E0(e)}},onHasTask:(n,i,s,u)=>{n.hasTask(s,u),i===s&&("microTask"==u.change?(e._hasPendingMicrotasks=u.microTask,Um(e),Bm(e)):"macroTask"==u.change&&(e.hasPendingMacrotasks=u.macroTask))},onHandleError:(n,i,s,u)=>(n.handleError(s,u),e.runOutsideAngular((()=>e.onError.emit(u))),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!aa.isInAngularZone())throw new nt(909,!1)}static assertNotInAngularZone(){if(aa.isInAngularZone())throw new nt(909,!1)}run(t,n,i){return this._inner.run(t,n,i)}runTask(t,n,i,s){const u=this._inner,f=u.scheduleEventTask("NgZoneEvent: "+s,t,Qb,Kh,Kh);try{return u.runTask(f,n,i)}finally{u.cancelTask(f)}}runGuarded(t,n,i){return this._inner.runGuarded(t,n,i)}runOutsideAngular(t){return this._outer.run(t)}}const Qb={};function Bm(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 Um(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function D0(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function E0(e){e._nesting--,Bm(e)}class eD{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new el,this.onMicrotaskEmpty=new el,this.onStable=new el,this.onError=new el}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,s){return t.apply(n,i)}}const M0=new an(""),S0=new an("");let Hm,tD=(()=>{class e{constructor(n,i,s){this._ngZone=n,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Hm||(function nD(e){Hm=e}(s),s.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:()=>{aa.assertNotInAngularZone(),Vm((()=>{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())Vm((()=>{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,s){let u=-1;i&&i>0&&(u=setTimeout((()=>{this._callbacks=this._callbacks.filter((f=>f.timeoutId!==u)),n(this._didWork,this.getPendingTasks())}),i)),this._callbacks.push({doneCb:n,timeoutId:u,updateCb:s})}whenStable(n,i,s){if(s&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,i,s),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,i,s){return[]}}return e.ɵfac=function(n){return new(n||e)(Xr(aa),Xr(T0),Xr(S0))},e.ɵprov=cr({token:e,factory:e.ɵfac}),e})(),T0=(()=>{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 Hm?.findTestabilityInTree(this,n,i)??null}}return e.ɵfac=function(n){return new(n||e)},e.ɵprov=cr({token:e,factory:e.ɵfac,providedIn:"platform"}),e})(),ql=null;const P0=new an("AllowMultipleToken"),jm=new an("PlatformDestroyListeners");class oD{constructor(t,n){this.name=t,this.token=n}}function O0(e,t,n=[]){const i=`Platform: ${t}`,s=new an(i);return(u=[])=>{let f=$m();if(!f||f.injector.get(P0,!1)){const C=[...n,...u,{provide:s,useValue:!0}];e?e(C):function sD(e){if(ql&&!ql.get(P0,!1))throw new nt(400,!1);ql=e;const t=e.get(I0);(function x0(e){const t=e.get(y0,null);t&&t.forEach((n=>n()))})(e)}(function A0(e=[],t){return Hi.create({name:t,providers:[{provide:dd,useValue:"platform"},{provide:jm,useValue:new Set([()=>ql=null])},...e]})}(C,i))}return function lD(e){const t=$m();if(!t)throw new nt(401,!1);return t}()}}function $m(){return ql?.get(I0)??null}let I0=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,i){const s=function N0(e,t){let n;return n="noop"===e?new eD:("zone.js"===e?void 0:e)||new aa(t),n}(i?.ngZone,function R0(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(i)),u=[{provide:aa,useValue:s}];return s.run((()=>{const f=Hi.create({providers:u,parent:this.injector,name:n.moduleType.name}),C=n.create(f),D=C.injector.get(Ka,null);if(!D)throw new nt(402,!1);return s.runOutsideAngular((()=>{const R=s.onError.subscribe({next:q=>{D.handleError(q)}});C.onDestroy((()=>{ep(this._modules,C),R.unsubscribe()}))})),function F0(e,t,n){try{const i=n();return am(i)?i.catch((s=>{throw t.runOutsideAngular((()=>e.handleError(s))),s})):i}catch(i){throw t.runOutsideAngular((()=>e.handleError(i))),i}}(D,s,(()=>{const R=C.injector.get(Qh);return R.runInitializers(),R.donePromise.then((()=>(function Zv(e){Mn(e,"Expected localeId to be defined"),"string"==typeof e&&(Yv=e.toLowerCase().replace(/_/g,"-"))}(C.injector.get(Jh,Rc)||Rc),this._moduleDoBootstrap(C),C)))}))}))}bootstrapModule(n,i=[]){const s=L0({},i);return function rD(e,t,n){const i=new bm(n);return Promise.resolve(i)}(0,0,n).then((u=>this.bootstrapModuleFactory(u,s)))}_moduleDoBootstrap(n){const i=n.injector.get(Xh);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach((s=>i.bootstrap(s)));else{if(!n.instance.ngDoBootstrap)throw new nt(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 nt(404,!1);this._modules.slice().forEach((i=>i.destroy())),this._destroyListeners.forEach((i=>i()));const n=this._injector.get(jm,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)(Xr(Hi))},e.ɵprov=cr({token:e,factory:e.ɵfac,providedIn:"platform"}),e})();function L0(e,t){return Array.isArray(t)?t.reduce(L0,e):{...e,...t}}let Xh=(()=>{class e{constructor(n,i,s){this._zone=n,this._injector=i,this._exceptionHandler=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run((()=>{this.tick()}))}});const u=new A.y((C=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular((()=>{C.next(this._stable),C.complete()}))})),f=new A.y((C=>{let D;this._zone.runOutsideAngular((()=>{D=this._zone.onStable.subscribe((()=>{aa.assertNotInAngularZone(),Vm((()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,C.next(!0))}))}))}));const R=this._zone.onUnstable.subscribe((()=>{aa.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular((()=>{C.next(!1)})))}));return()=>{D.unsubscribe(),R.unsubscribe()}}));this.isStable=(0,L.T)(u,f.pipe(function te(e={}){const{connector:t=(()=>new o.x),resetOnError:n=!0,resetOnComplete:i=!0,resetOnRefCountZero:s=!0}=e;return u=>{let f=null,C=null,D=null,R=0,q=!1,le=!1;const we=()=>{C?.unsubscribe(),C=null},Le=()=>{we(),f=D=null,q=le=!1},lt=()=>{const xt=f;Le(),xt?.unsubscribe()};return(0,j.e)(((xt,Bt)=>{R++,!le&&!q&&we();const ln=D=D??t();Bt.add((()=>{R--,0===R&&!le&&!q&&(C=U(lt,s))})),ln.subscribe(Bt),f||(f=new V.Hp({next:yn=>ln.next(yn),error:yn=>{le=!0,we(),C=U(Le,n,yn),ln.error(yn)},complete:()=>{q=!0,we(),C=U(Le,i),ln.complete()}}),(0,I.D)(xt).subscribe(f))}))(u)}}()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,i){const s=n instanceof Zf;if(!this._injector.get(Qh).done)throw!s&&ne(n),new nt(405,false);let f;f=s?n:this._injector.get(wu).resolveComponentFactory(n),this.componentTypes.push(f.componentType);const C=function iD(e){return e.isBoundToModule}(f)?void 0:this._injector.get(Nc),R=f.create(Hi.NULL,[],i||f.selector,C),q=R.location.nativeElement,le=R.injector.get(M0,null);return le?.registerApplication(q),R.onDestroy((()=>{this.detachView(R.hostView),ep(this.components,R),le?.unregisterApplication(q)})),this._loadComponent(R),R}tick(){if(this._runningTick)throw new nt(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;ep(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(C0,[]).concat(this._bootstrapListeners).forEach((s=>s(n)))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach((n=>n())),this._views.slice().forEach((n=>n.destroy())),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>ep(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new nt(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)(Xr(aa),Xr(qa),Xr(Ka))},e.ɵprov=cr({token:e,factory:e.ɵfac,providedIn:"root"}),e})();function ep(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let V0=!0,B0=!1;function cD(){return B0=!0,V0}function dD(){if(B0)throw new Error("Cannot enable prod mode after platform setup.");V0=!1}let fD=(()=>{class e{}return e.__NG_ELEMENT_ID__=hD,e})();function hD(e){return function pD(e,t,n){if(Ye(e)&&!n){const i=Gr(e.index,t);return new Su(i,i)}return 47&e.type?new Su(t[16],t):null}(Pr(),gt(),16==(16&e))}class $0{constructor(){}supports(t){return hn(t)}create(t){return new CD(t)}}const yD=(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||yD}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,i=this._removalsHead,s=0,u=null;for(;n||i;){const f=!i||n&&n.currentIndex<z0(i,s,u)?n:i,C=z0(f,s,u),D=f.currentIndex;if(f===i)s--,i=i._nextRemoved;else if(n=n._next,null==f.previousIndex)s++;else{u||(u=[]);const R=C-s,q=D-s;if(R!=q){for(let we=0;we<R;we++){const Le=we<u.length?u[we]:u[we]=0,lt=Le+we;q<=lt&<<R&&(u[we]=Le+1)}u[f.previousIndex]=q-R}}C!==D&&t(f,C,D)}}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=[]),!hn(t))throw new nt(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let s,u,f,n=this._itHead,i=!1;if(Array.isArray(t)){this.length=t.length;for(let C=0;C<this.length;C++)u=t[C],f=this._trackByFn(C,u),null!==n&&Object.is(n.trackById,f)?(i&&(n=this._verifyReinsertion(n,u,f,C)),Object.is(n.item,u)||this._addIdentityChange(n,u)):(n=this._mismatch(n,u,f,C),i=!0),n=n._next}else s=0,function rr(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Ct()]();let i;for(;!(i=n.next()).done;)t(i.value)}}(t,(C=>{f=this._trackByFn(s,C),null!==n&&Object.is(n.trackById,f)?(i&&(n=this._verifyReinsertion(n,C,f,s)),Object.is(n.item,C)||this._addIdentityChange(n,C)):(n=this._mismatch(n,C,f,s),i=!0),n=n._next,s++})),this.length=s;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,i,s){let u;return null===t?u=this._itTail:(u=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,u,s)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,s))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,u,s)):t=this._addAfter(new wD(n,i),u,s),t}_verifyReinsertion(t,n,i,s){let u=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==u?t=this._reinsertAfter(u,t._prev,s):t.currentIndex!=s&&(t.currentIndex=s,this._addToMoves(t,s)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const s=t._prevRemoved,u=t._nextRemoved;return null===s?this._removalsHead=u:s._nextRemoved=u,null===u?this._removalsTail=s:u._prevRemoved=s,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 s=null===n?this._itHead:n._next;return t._next=s,t._prev=n,null===s?this._itTail=t:s._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new G0),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 G0),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 G0{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 s=this.map.get(t);return s?s.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function z0(e,t,n){const i=e.previousIndex;if(null===i)return i;let s=0;return n&&i<n.length&&(s=n[i]),i+t+s}class W0{constructor(){}supports(t){return t instanceof Map||In(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||In(t)))throw new nt(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,s)=>{if(n&&n.key===s)this._maybeAddToChanges(n,i),this._appendAfter=n,n=n._next;else{const u=this._getOrCreateRecordForKey(s,i);n=this._insertBeforeOrAppend(n,u)}})),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 s=this._records.get(t);this._maybeAddToChanges(s,n);const u=s._prev,f=s._next;return u&&(u._next=f),f&&(f._prev=u),s._next=null,s._prev=null,s}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 Y0(){return new Zm([new $0])}let Zm=(()=>{class e{constructor(n){this.factories=n}static create(n,i){if(null!=i){const s=i.factories.slice();n=n.concat(s)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||Y0()),deps:[[e,new c,new va]]}}find(n){const i=this.factories.find((s=>s.supports(n)));if(null!=i)return i;throw new nt(901,!1)}}return e.ɵprov=cr({token:e,providedIn:"root",factory:Y0}),e})();function Z0(){return new qm([new W0])}let qm=(()=>{class e{constructor(n){this.factories=n}static create(n,i){if(i){const s=i.factories.slice();n=n.concat(s)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||Z0()),deps:[[e,new c,new va]]}}find(n){const i=this.factories.find((s=>s.supports(n)));if(i)return i;throw new nt(901,!1)}}return e.ɵprov=cr({token:e,providedIn:"root",factory:Z0}),e})();const TD=O0(null,"core",[]);let PD=(()=>{class e{constructor(n){}}return e.ɵfac=function(n){return new(n||e)(Xr(Xh))},e.ɵmod=$e({type:e}),e.ɵinj=$r({}),e})();function xD(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}},433:(Z,F,v)=>{"use strict";v.d(F,{Wl:()=>Be,Fj:()=>Ge,u:()=>Fo,sg:()=>ni,u5:()=>Ni,JU:()=>xe,JJ:()=>Xe,JL:()=>et,F:()=>fi,On:()=>Qr,_:()=>Bs,UX:()=>Lo,p4:()=>Q,nJ:()=>ne,kI:()=>ee,_Y:()=>kr});var o=v(1571),p=v(6895),A=v(2076),L=v(9751),I=v(4742),B=v(8421),V=v(184),j=v(5403),te=v(3268),U=v(1810),oe=v(4004);let De=(()=>{class x{constructor(M,K){this._renderer=M,this._elementRef=K,this.onChange=qe=>{},this.onTouched=()=>{}}setProperty(M,K){this._renderer.setProperty(this._elementRef.nativeElement,M,K)}registerOnTouched(M){this.onTouched=M}registerOnChange(M){this.onChange=M}setDisabledState(M){this.setProperty("disabled",M)}}return x.ɵfac=function(M){return new(M||x)(o.Y36(o.Qsj),o.Y36(o.SBq))},x.ɵdir=o.lG2({type:x}),x})(),Se=(()=>{class x extends De{}return x.ɵfac=function(){let P;return function(K){return(P||(P=o.n5z(x)))(K||x)}}(),x.ɵdir=o.lG2({type:x,features:[o.qOj]}),x})();const xe=new o.OlP("NgValueAccessor"),ft={provide:xe,useExisting:(0,o.Gpc)((()=>Be)),multi:!0};let Be=(()=>{class x extends Se{writeValue(M){this.setProperty("checked",M)}}return x.ɵfac=function(){let P;return function(K){return(P||(P=o.n5z(x)))(K||x)}}(),x.ɵdir=o.lG2({type:x,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(M,K){1&M&&o.NdJ("change",(function(Jt){return K.onChange(Jt.target.checked)}))("blur",(function(){return K.onTouched()}))},features:[o._Bn([ft]),o.qOj]}),x})();const Ke={provide:xe,useExisting:(0,o.Gpc)((()=>Ge)),multi:!0},nt=new o.OlP("CompositionEventMode");let Ge=(()=>{class x extends De{constructor(M,K,qe){super(M,K),this._compositionMode=qe,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function rt(){const x=(0,p.q)()?(0,p.q)().getUserAgent():"";return/android (\d+)/.test(x.toLowerCase())}())}writeValue(M){this.setProperty("value",M??"")}_handleInput(M){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(M)}_compositionStart(){this._composing=!0}_compositionEnd(M){this._composing=!1,this._compositionMode&&this.onChange(M)}}return x.ɵfac=function(M){return new(M||x)(o.Y36(o.Qsj),o.Y36(o.SBq),o.Y36(nt,8))},x.ɵdir=o.lG2({type:x,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(M,K){1&M&&o.NdJ("input",(function(Jt){return K._handleInput(Jt.target.value)}))("blur",(function(){return K.onTouched()}))("compositionstart",(function(){return K._compositionStart()}))("compositionend",(function(Jt){return K._compositionEnd(Jt.target.value)}))},features:[o._Bn([Ke]),o.qOj]}),x})();function We(x){return null==x||("string"==typeof x||Array.isArray(x))&&0===x.length}function Xt(x){return null!=x&&"number"==typeof x.length}const yt=new o.OlP("NgValidators"),_t=new o.OlP("NgAsyncValidators"),ye=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class ee{static min(P){return function me(x){return P=>{if(We(P.value)||We(x))return null;const M=parseFloat(P.value);return!isNaN(M)&&M<x?{min:{min:x,actual:P.value}}:null}}(P)}static max(P){return function je(x){return P=>{if(We(P.value)||We(x))return null;const M=parseFloat(P.value);return!isNaN(M)&&M>x?{max:{max:x,actual:P.value}}:null}}(P)}static required(P){return function Te(x){return We(x.value)?{required:!0}:null}(P)}static requiredTrue(P){return function He(x){return!0===x.value?null:{required:!0}}(P)}static email(P){return function pt(x){return We(x.value)||ye.test(x.value)?null:{email:!0}}(P)}static minLength(P){return function Ot(x){return P=>We(P.value)||!Xt(P.value)?null:P.value.length<x?{minlength:{requiredLength:x,actualLength:P.value.length}}:null}(P)}static maxLength(P){return function Cn(x){return P=>Xt(P.value)&&P.value.length>x?{maxlength:{requiredLength:x,actualLength:P.value.length}}:null}(P)}static pattern(P){return function Wt(x){if(!x)return en;let P,M;return"string"==typeof x?(M="","^"!==x.charAt(0)&&(M+="^"),M+=x,"$"!==x.charAt(x.length-1)&&(M+="$"),P=new RegExp(M)):(M=x.toString(),P=x),K=>{if(We(K.value))return null;const qe=K.value;return P.test(qe)?null:{pattern:{requiredPattern:M,actualValue:qe}}}}(P)}static nullValidator(P){return null}static compose(P){return Nn(P)}static composeAsync(P){return cr(P)}}function en(x){return null}function Rn(x){return null!=x}function gn(x){return(0,o.QGY)(x)?(0,A.D)(x):x}function ir(x){let P={};return x.forEach((M=>{P=null!=M?{...P,...M}:P})),0===Object.keys(P).length?null:P}function Mn(x,P){return P.map((M=>M(x)))}function jn(x){return x.map((P=>function Zt(x){return!x.validate}(P)?P:M=>P.validate(M)))}function Nn(x){if(!x)return null;const P=x.filter(Rn);return 0==P.length?null:function(M){return ir(Mn(M,P))}}function br(x){return null!=x?Nn(jn(x)):null}function cr(x){if(!x)return null;const P=x.filter(Rn);return 0==P.length?null:function(M){return function X(...x){const P=(0,V.jO)(x),{args:M,keys:K}=(0,I.D)(x),qe=new L.y((Jt=>{const{length:Mr}=M;if(!Mr)return void Jt.complete();const wr=new Array(Mr);let bi=Mr,Xo=Mr;for(let Ji=0;Ji<Mr;Ji++){let Ti=!1;(0,B.Xf)(M[Ji]).subscribe(new j.Q(Jt,(es=>{Ti||(Ti=!0,Xo--),wr[Ji]=es}),(()=>bi--),void 0,(()=>{(!bi||!Ti)&&(Xo||Jt.next(K?(0,U.n)(K,wr):wr),Jt.complete())})))}}));return P?qe.pipe((0,te.Z)(P)):qe}(Mn(M,P).map(gn)).pipe((0,oe.U)(ir))}}function Oi(x){return null!=x?cr(jn(x)):null}function $r(x,P){return null===x?[P]:Array.isArray(x)?[...x,P]:[x,P]}function Fr(x){return x._rawValidators}function Cr(x){return x._rawAsyncValidators}function qr(x){return x?Array.isArray(x)?x:[x]:[]}function ei(x,P){return Array.isArray(x)?x.includes(P):x===P}function Dr(x,P){const M=qr(P);return qr(x).forEach((qe=>{ei(M,qe)||M.push(qe)})),M}function qt(x,P){return qr(P).filter((M=>!ei(x,M)))}class Kr{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(P){this._rawValidators=P||[],this._composedValidatorFn=br(this._rawValidators)}_setAsyncValidators(P){this._rawAsyncValidators=P||[],this._composedAsyncValidatorFn=Oi(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(P){this._onDestroyCallbacks.push(P)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach((P=>P())),this._onDestroyCallbacks=[]}reset(P){this.control&&this.control.reset(P)}hasError(P,M){return!!this.control&&this.control.hasError(P,M)}getError(P,M){return this.control?this.control.getError(P,M):null}}class dr extends Kr{get formDirective(){return null}get path(){return null}}class pe extends Kr{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Ne{constructor(P){this._cd=P}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}}let Xe=(()=>{class x extends Ne{constructor(M){super(M)}}return x.ɵfac=function(M){return new(M||x)(o.Y36(pe,2))},x.ɵdir=o.lG2({type:x,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(M,K){2&M&&o.ekj("ng-untouched",K.isUntouched)("ng-touched",K.isTouched)("ng-pristine",K.isPristine)("ng-dirty",K.isDirty)("ng-valid",K.isValid)("ng-invalid",K.isInvalid)("ng-pending",K.isPending)},features:[o.qOj]}),x})(),et=(()=>{class x extends Ne{constructor(M){super(M)}}return x.ɵfac=function(M){return new(M||x)(o.Y36(dr,10))},x.ɵdir=o.lG2({type:x,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(M,K){2&M&&o.ekj("ng-untouched",K.isUntouched)("ng-touched",K.isTouched)("ng-pristine",K.isPristine)("ng-dirty",K.isDirty)("ng-valid",K.isValid)("ng-invalid",K.isInvalid)("ng-pending",K.isPending)("ng-submitted",K.isSubmitted)},features:[o.qOj]}),x})();const Lt="VALID",Pe="INVALID",re="PENDING",ae="DISABLED";function Ie(x){return(un(x)?x.validators:x)||null}function $e(x){return Array.isArray(x)?br(x):x||null}function Ut(x,P){return(un(P)?P.asyncValidators:x)||null}function tn(x){return Array.isArray(x)?Oi(x):x||null}function un(x){return null!=x&&!Array.isArray(x)&&"object"==typeof x}class Ce{constructor(P,M){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=P,this._rawAsyncValidators=M,this._composedValidatorFn=$e(this._rawValidators),this._composedAsyncValidatorFn=tn(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(P){this._rawValidators=this._composedValidatorFn=P}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(P){this._rawAsyncValidators=this._composedAsyncValidatorFn=P}get parent(){return this._parent}get valid(){return this.status===Lt}get invalid(){return this.status===Pe}get pending(){return this.status==re}get disabled(){return this.status===ae}get enabled(){return this.status!==ae}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(P){this._rawValidators=P,this._composedValidatorFn=$e(P)}setAsyncValidators(P){this._rawAsyncValidators=P,this._composedAsyncValidatorFn=tn(P)}addValidators(P){this.setValidators(Dr(P,this._rawValidators))}addAsyncValidators(P){this.setAsyncValidators(Dr(P,this._rawAsyncValidators))}removeValidators(P){this.setValidators(qt(P,this._rawValidators))}removeAsyncValidators(P){this.setAsyncValidators(qt(P,this._rawAsyncValidators))}hasValidator(P){return ei(this._rawValidators,P)}hasAsyncValidator(P){return ei(this._rawAsyncValidators,P)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(P={}){this.touched=!0,this._parent&&!P.onlySelf&&this._parent.markAsTouched(P)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild((P=>P.markAllAsTouched()))}markAsUntouched(P={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild((M=>{M.markAsUntouched({onlySelf:!0})})),this._parent&&!P.onlySelf&&this._parent._updateTouched(P)}markAsDirty(P={}){this.pristine=!1,this._parent&&!P.onlySelf&&this._parent.markAsDirty(P)}markAsPristine(P={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild((M=>{M.markAsPristine({onlySelf:!0})})),this._parent&&!P.onlySelf&&this._parent._updatePristine(P)}markAsPending(P={}){this.status=re,!1!==P.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!P.onlySelf&&this._parent.markAsPending(P)}disable(P={}){const M=this._parentMarkedDirty(P.onlySelf);this.status=ae,this.errors=null,this._forEachChild((K=>{K.disable({...P,onlySelf:!0})})),this._updateValue(),!1!==P.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...P,skipPristineCheck:M}),this._onDisabledChange.forEach((K=>K(!0)))}enable(P={}){const M=this._parentMarkedDirty(P.onlySelf);this.status=Lt,this._forEachChild((K=>{K.enable({...P,onlySelf:!0})})),this.updateValueAndValidity({onlySelf:!0,emitEvent:P.emitEvent}),this._updateAncestors({...P,skipPristineCheck:M}),this._onDisabledChange.forEach((K=>K(!1)))}_updateAncestors(P){this._parent&&!P.onlySelf&&(this._parent.updateValueAndValidity(P),P.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(P){this._parent=P}getRawValue(){return this.value}updateValueAndValidity(P={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Lt||this.status===re)&&this._runAsyncValidator(P.emitEvent)),!1!==P.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!P.onlySelf&&this._parent.updateValueAndValidity(P)}_updateTreeValidity(P={emitEvent:!0}){this._forEachChild((M=>M._updateTreeValidity(P))),this.updateValueAndValidity({onlySelf:!0,emitEvent:P.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?ae:Lt}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(P){if(this.asyncValidator){this.status=re,this._hasOwnPendingAsyncValidator=!0;const M=gn(this.asyncValidator(this));this._asyncValidationSubscription=M.subscribe((K=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(K,{emitEvent:P})}))}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(P,M={}){this.errors=P,this._updateControlsErrors(!1!==M.emitEvent)}get(P){let M=P;return null==M||(Array.isArray(M)||(M=M.split(".")),0===M.length)?null:M.reduce(((K,qe)=>K&&K._find(qe)),this)}getError(P,M){const K=M?this.get(M):this;return K&&K.errors?K.errors[P]:null}hasError(P,M){return!!this.getError(P,M)}get root(){let P=this;for(;P._parent;)P=P._parent;return P}_updateControlsErrors(P){this.status=this._calculateStatus(),P&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(P)}_initObservables(){this.valueChanges=new o.vpe,this.statusChanges=new o.vpe}_calculateStatus(){return this._allControlsDisabled()?ae:this.errors?Pe:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(re)?re:this._anyControlsHaveStatus(Pe)?Pe:Lt}_anyControlsHaveStatus(P){return this._anyControls((M=>M.status===P))}_anyControlsDirty(){return this._anyControls((P=>P.dirty))}_anyControlsTouched(){return this._anyControls((P=>P.touched))}_updatePristine(P={}){this.pristine=!this._anyControlsDirty(),this._parent&&!P.onlySelf&&this._parent._updatePristine(P)}_updateTouched(P={}){this.touched=this._anyControlsTouched(),this._parent&&!P.onlySelf&&this._parent._updateTouched(P)}_registerOnCollectionChange(P){this._onCollectionChange=P}_setUpdateStrategy(P){un(P)&&null!=P.updateOn&&(this._updateOn=P.updateOn)}_parentMarkedDirty(P){return!P&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(P){return null}}class de extends Ce{constructor(P,M,K){super(Ie(M),Ut(K,M)),this.controls=P,this._initObservables(),this._setUpdateStrategy(M),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(P,M){return this.controls[P]?this.controls[P]:(this.controls[P]=M,M.setParent(this),M._registerOnCollectionChange(this._onCollectionChange),M)}addControl(P,M,K={}){this.registerControl(P,M),this.updateValueAndValidity({emitEvent:K.emitEvent}),this._onCollectionChange()}removeControl(P,M={}){this.controls[P]&&this.controls[P]._registerOnCollectionChange((()=>{})),delete this.controls[P],this.updateValueAndValidity({emitEvent:M.emitEvent}),this._onCollectionChange()}setControl(P,M,K={}){this.controls[P]&&this.controls[P]._registerOnCollectionChange((()=>{})),delete this.controls[P],M&&this.registerControl(P,M),this.updateValueAndValidity({emitEvent:K.emitEvent}),this._onCollectionChange()}contains(P){return this.controls.hasOwnProperty(P)&&this.controls[P].enabled}setValue(P,M={}){(function $t(x,P,M){x._forEachChild(((K,qe)=>{if(void 0===M[qe])throw new o.vHH(1002,"")}))})(this,0,P),Object.keys(P).forEach((K=>{(function nn(x,P,M){const K=x.controls;if(!(P?Object.keys(K):K).length)throw new o.vHH(1e3,"");if(!K[M])throw new o.vHH(1001,"")})(this,!0,K),this.controls[K].setValue(P[K],{onlySelf:!0,emitEvent:M.emitEvent})})),this.updateValueAndValidity(M)}patchValue(P,M={}){null!=P&&(Object.keys(P).forEach((K=>{const qe=this.controls[K];qe&&qe.patchValue(P[K],{onlySelf:!0,emitEvent:M.emitEvent})})),this.updateValueAndValidity(M))}reset(P={},M={}){this._forEachChild(((K,qe)=>{K.reset(P[qe],{onlySelf:!0,emitEvent:M.emitEvent})})),this._updatePristine(M),this._updateTouched(M),this.updateValueAndValidity(M)}getRawValue(){return this._reduceChildren({},((P,M,K)=>(P[K]=M.getRawValue(),P)))}_syncPendingControls(){let P=this._reduceChildren(!1,((M,K)=>!!K._syncPendingControls()||M));return P&&this.updateValueAndValidity({onlySelf:!0}),P}_forEachChild(P){Object.keys(this.controls).forEach((M=>{const K=this.controls[M];K&&P(K,M)}))}_setUpControls(){this._forEachChild((P=>{P.setParent(this),P._registerOnCollectionChange(this._onCollectionChange)}))}_updateValue(){this.value=this._reduceValue()}_anyControls(P){for(const[M,K]of Object.entries(this.controls))if(this.contains(M)&&P(K))return!0;return!1}_reduceValue(){return this._reduceChildren({},((M,K,qe)=>((K.enabled||this.disabled)&&(M[qe]=K.value),M)))}_reduceChildren(P,M){let K=P;return this._forEachChild(((qe,Jt)=>{K=M(K,qe,Jt)})),K}_allControlsDisabled(){for(const P of Object.keys(this.controls))if(this.controls[P].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(P){return this.controls.hasOwnProperty(P)?this.controls[P]:null}}const ne=de;function tt(x,P){return[...P.path,x]}function At(x,P){wt(x,P),P.valueAccessor.writeValue(x.value),x.disabled&&P.valueAccessor.setDisabledState?.(!0),function Yt(x,P){P.valueAccessor.registerOnChange((M=>{x._pendingValue=M,x._pendingChange=!0,x._pendingDirty=!0,"change"===x.updateOn&&St(x,P)}))}(x,P),function dn(x,P){const M=(K,qe)=>{P.valueAccessor.writeValue(K),qe&&P.viewToModelUpdate(K)};x.registerOnChange(M),P._registerOnDestroy((()=>{x._unregisterOnChange(M)}))}(x,P),function jt(x,P){P.valueAccessor.registerOnTouched((()=>{x._pendingTouched=!0,"blur"===x.updateOn&&x._pendingChange&&St(x,P),"submit"!==x.updateOn&&x.markAsTouched()}))}(x,P),function Ue(x,P){if(P.valueAccessor.setDisabledState){const M=K=>{P.valueAccessor.setDisabledState(K)};x.registerOnDisabledChange(M),P._registerOnDestroy((()=>{x._unregisterOnDisabledChange(M)}))}}(x,P)}function ot(x,P,M=!0){const K=()=>{};P.valueAccessor&&(P.valueAccessor.registerOnChange(K),P.valueAccessor.registerOnTouched(K)),Pt(x,P),x&&(P._invokeOnDestroyCallbacks(),x._registerOnCollectionChange((()=>{})))}function Dt(x,P){x.forEach((M=>{M.registerOnValidatorChange&&M.registerOnValidatorChange(P)}))}function wt(x,P){const M=Fr(x);null!==P.validator?x.setValidators($r(M,P.validator)):"function"==typeof M&&x.setValidators([M]);const K=Cr(x);null!==P.asyncValidator?x.setAsyncValidators($r(K,P.asyncValidator)):"function"==typeof K&&x.setAsyncValidators([K]);const qe=()=>x.updateValueAndValidity();Dt(P._rawValidators,qe),Dt(P._rawAsyncValidators,qe)}function Pt(x,P){let M=!1;if(null!==x){if(null!==P.validator){const qe=Fr(x);if(Array.isArray(qe)&&qe.length>0){const Jt=qe.filter((Mr=>Mr!==P.validator));Jt.length!==qe.length&&(M=!0,x.setValidators(Jt))}}if(null!==P.asyncValidator){const qe=Cr(x);if(Array.isArray(qe)&&qe.length>0){const Jt=qe.filter((Mr=>Mr!==P.asyncValidator));Jt.length!==qe.length&&(M=!0,x.setAsyncValidators(Jt))}}}const K=()=>{};return Dt(P._rawValidators,K),Dt(P._rawAsyncValidators,K),M}function St(x,P){x._pendingDirty&&x.markAsDirty(),x.setValue(x._pendingValue,{emitModelToViewChange:!1}),P.viewToModelUpdate(x._pendingValue),x._pendingChange=!1}function on(x,P){wt(x,P)}function Tr(x,P){if(!x.hasOwnProperty("model"))return!1;const M=x.model;return!!M.isFirstChange()||!Object.is(P,M.currentValue)}function Gi(x,P){x._syncPendingControls(),P.forEach((M=>{const K=M.control;"submit"===K.updateOn&&K._pendingChange&&(M.viewToModelUpdate(K._pendingValue),K._pendingChange=!1)}))}function Tn(x,P){if(!P)return null;let M,K,qe;return Array.isArray(P),P.forEach((Jt=>{Jt.constructor===Ge?M=Jt:function fr(x){return Object.getPrototypeOf(x.constructor)===Se}(Jt)?K=Jt:qe=Jt})),qe||K||M||null}const vi={provide:dr,useExisting:(0,o.Gpc)((()=>fi))},Si=(()=>Promise.resolve())();let fi=(()=>{class x extends dr{constructor(M,K){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new o.vpe,this.form=new de({},br(M),Oi(K))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(M){Si.then((()=>{const K=this._findContainer(M.path);M.control=K.registerControl(M.name,M.control),At(M.control,M),M.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(M)}))}getControl(M){return this.form.get(M.path)}removeControl(M){Si.then((()=>{const K=this._findContainer(M.path);K&&K.removeControl(M.name),this._directives.delete(M)}))}addFormGroup(M){Si.then((()=>{const K=this._findContainer(M.path),qe=new de({});on(qe,M),K.registerControl(M.name,qe),qe.updateValueAndValidity({emitEvent:!1})}))}removeFormGroup(M){Si.then((()=>{const K=this._findContainer(M.path);K&&K.removeControl(M.name)}))}getFormGroup(M){return this.form.get(M.path)}updateModel(M,K){Si.then((()=>{this.form.get(M.path).setValue(K)}))}setValue(M){this.control.setValue(M)}onSubmit(M){return this.submitted=!0,Gi(this.form,this._directives),this.ngSubmit.emit(M),"dialog"===M?.target?.method}onReset(){this.resetForm()}resetForm(M){this.form.reset(M),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(M){return M.pop(),M.length?this.form.get(M):this.form}}return x.ɵfac=function(M){return new(M||x)(o.Y36(yt,10),o.Y36(_t,10))},x.ɵdir=o.lG2({type:x,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(M,K){1&M&&o.NdJ("submit",(function(Jt){return K.onSubmit(Jt)}))("reset",(function(){return K.onReset()}))},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[o._Bn([vi]),o.qOj]}),x})();function ti(x,P){const M=x.indexOf(P);M>-1&&x.splice(M,1)}function mr(x){return"object"==typeof x&&null!==x&&2===Object.keys(x).length&&"value"in x&&"disabled"in x}const k=class extends Ce{constructor(P=null,M,K){super(Ie(M),Ut(K,M)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(P),this._setUpdateStrategy(M),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),un(M)&&(M.nonNullable||M.initialValueIsDefault)&&(this.defaultValue=mr(P)?P.value:P)}setValue(P,M={}){this.value=this._pendingValue=P,this._onChange.length&&!1!==M.emitModelToViewChange&&this._onChange.forEach((K=>K(this.value,!1!==M.emitViewToModelChange))),this.updateValueAndValidity(M)}patchValue(P,M={}){this.setValue(P,M)}reset(P=this.defaultValue,M={}){this._applyFormState(P),this.markAsPristine(M),this.markAsUntouched(M),this.setValue(this.value,M),this._pendingChange=!1}_updateValue(){}_anyControls(P){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(P){this._onChange.push(P)}_unregisterOnChange(P){ti(this._onChange,P)}registerOnDisabledChange(P){this._onDisabledChange.push(P)}_unregisterOnDisabledChange(P){ti(this._onDisabledChange,P)}_forEachChild(P){}_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(P){mr(P)?(this.value=this._pendingValue=P.value,P.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=P}},Q=k,On={provide:pe,useExisting:(0,o.Gpc)((()=>Qr))},Lr=(()=>Promise.resolve())();let Qr=(()=>{class x extends pe{constructor(M,K,qe,Jt,Mr){super(),this._changeDetectorRef=Mr,this.control=new k,this._registered=!1,this.update=new o.vpe,this._parent=M,this._setValidators(K),this._setAsyncValidators(qe),this.valueAccessor=Tn(0,Jt)}ngOnChanges(M){if(this._checkForErrors(),!this._registered||"name"in M){if(this._registered&&(this._checkName(),this.formDirective)){const K=M.name.previousValue;this.formDirective.removeControl({name:K,path:this._getPath(K)})}this._setUpControl()}"isDisabled"in M&&this._updateDisabled(M),Tr(M,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(M){this.viewModel=M,this.update.emit(M)}_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(){At(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(M){Lr.then((()=>{this.control.setValue(M,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()}))}_updateDisabled(M){const K=M.isDisabled.currentValue,qe=0!==K&&(0,o.D6c)(K);Lr.then((()=>{qe&&!this.control.disabled?this.control.disable():!qe&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()}))}_getPath(M){return this._parent?tt(M,this._parent):[M]}}return x.ɵfac=function(M){return new(M||x)(o.Y36(dr,9),o.Y36(yt,10),o.Y36(_t,10),o.Y36(xe,10),o.Y36(o.sBO,8))},x.ɵdir=o.lG2({type:x,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[o._Bn([On]),o.qOj,o.TTD]}),x})(),kr=(()=>{class x{}return x.ɵfac=function(M){return new(M||x)},x.ɵdir=o.lG2({type:x,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),x})();const zi={provide:xe,useExisting:(0,o.Gpc)((()=>Bs)),multi:!0};let Ro=(()=>{class x{}return x.ɵfac=function(M){return new(M||x)},x.ɵmod=o.oAB({type:x}),x.ɵinj=o.cJS({}),x})(),as=(()=>{class x{constructor(){this._accessors=[]}add(M,K){this._accessors.push([M,K])}remove(M){for(let K=this._accessors.length-1;K>=0;--K)if(this._accessors[K][1]===M)return void this._accessors.splice(K,1)}select(M){this._accessors.forEach((K=>{this._isSameGroup(K,M)&&K[1]!==M&&K[1].fireUncheck(M.value)}))}_isSameGroup(M,K){return!!M[0].control&&M[0]._parent===K._control._parent&&M[1].name===K.name}}return x.ɵfac=function(M){return new(M||x)},x.ɵprov=o.Yz7({token:x,factory:x.ɵfac,providedIn:Ro}),x})(),Bs=(()=>{class x extends Se{constructor(M,K,qe,Jt){super(M,K),this._registry=qe,this._injector=Jt,this.onChange=()=>{}}ngOnInit(){this._control=this._injector.get(pe),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(M){this._state=M===this.value,this.setProperty("checked",this._state)}registerOnChange(M){this._fn=M,this.onChange=()=>{M(this.value),this._registry.select(this)}}fireUncheck(M){this.writeValue(M)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}return x.ɵfac=function(M){return new(M||x)(o.Y36(o.Qsj),o.Y36(o.SBq),o.Y36(as),o.Y36(o.zs3))},x.ɵdir=o.lG2({type:x,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(M,K){1&M&&o.NdJ("change",(function(){return K.onChange()}))("blur",(function(){return K.onTouched()}))},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[o._Bn([zi]),o.qOj]}),x})();const Hs=new o.OlP("NgModelWithFormControlWarning"),Wo={provide:dr,useExisting:(0,o.Gpc)((()=>ni))};let ni=(()=>{class x extends dr{constructor(M,K){super(),this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new o.vpe,this._setValidators(M),this._setAsyncValidators(K)}ngOnChanges(M){this._checkFormPresent(),M.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Pt(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange((()=>{})))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(M){const K=this.form.get(M.path);return At(K,M),K.updateValueAndValidity({emitEvent:!1}),this.directives.push(M),K}getControl(M){return this.form.get(M.path)}removeControl(M){ot(M.control||null,M,!1),function si(x,P){const M=x.indexOf(P);M>-1&&x.splice(M,1)}(this.directives,M)}addFormGroup(M){this._setUpFormContainer(M)}removeFormGroup(M){this._cleanUpFormContainer(M)}getFormGroup(M){return this.form.get(M.path)}addFormArray(M){this._setUpFormContainer(M)}removeFormArray(M){this._cleanUpFormContainer(M)}getFormArray(M){return this.form.get(M.path)}updateModel(M,K){this.form.get(M.path).setValue(K)}onSubmit(M){return this.submitted=!0,Gi(this.form,this.directives),this.ngSubmit.emit(M),"dialog"===M?.target?.method}onReset(){this.resetForm()}resetForm(M){this.form.reset(M),this.submitted=!1}_updateDomValue(){this.directives.forEach((M=>{const K=M.control,qe=this.form.get(M.path);K!==qe&&(ot(K||null,M),(x=>x instanceof k)(qe)&&(At(qe,M),M.control=qe))})),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(M){const K=this.form.get(M.path);on(K,M),K.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(M){if(this.form){const K=this.form.get(M.path);K&&function er(x,P){return Pt(x,P)}(K,M)&&K.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange((()=>{}))}_updateValidators(){wt(this.form,this),this._oldForm&&Pt(this._oldForm,this)}_checkFormPresent(){}}return x.ɵfac=function(M){return new(M||x)(o.Y36(yt,10),o.Y36(_t,10))},x.ɵdir=o.lG2({type:x,selectors:[["","formGroup",""]],hostBindings:function(M,K){1&M&&o.NdJ("submit",(function(Jt){return K.onSubmit(Jt)}))("reset",(function(){return K.onReset()}))},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[o._Bn([Wo]),o.qOj,o.TTD]}),x})();const js={provide:pe,useExisting:(0,o.Gpc)((()=>Fo))};let Fo=(()=>{class x extends pe{constructor(M,K,qe,Jt,Mr){super(),this._ngModelWarningConfig=Mr,this._added=!1,this.update=new o.vpe,this._ngModelWarningSent=!1,this._parent=M,this._setValidators(K),this._setAsyncValidators(qe),this.valueAccessor=Tn(0,Jt)}set isDisabled(M){}ngOnChanges(M){this._added||this._setUpControl(),Tr(M,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(M){this.viewModel=M,this.update.emit(M)}get path(){return tt(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return x._ngModelWarningSentOnce=!1,x.ɵfac=function(M){return new(M||x)(o.Y36(dr,13),o.Y36(yt,10),o.Y36(_t,10),o.Y36(xe,10),o.Y36(Hs,8))},x.ɵdir=o.lG2({type:x,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[o._Bn([js]),o.qOj,o.TTD]}),x})(),cs=(()=>{class x{}return x.ɵfac=function(M){return new(M||x)},x.ɵmod=o.oAB({type:x}),x.ɵinj=o.cJS({imports:[Ro]}),x})(),Ni=(()=>{class x{}return x.ɵfac=function(M){return new(M||x)},x.ɵmod=o.oAB({type:x}),x.ɵinj=o.cJS({imports:[cs]}),x})(),Lo=(()=>{class x{static withConfig(M){return{ngModule:x,providers:[{provide:Hs,useValue:M.warnOnNgModelWithFormControl}]}}}return x.ɵfac=function(M){return new(M||x)},x.ɵmod=o.oAB({type:x}),x.ɵinj=o.cJS({imports:[cs]}),x})()},1481:(Z,F,v)=>{"use strict";v.d(F,{Dx:()=>Xe,b2:()=>dr,q6:()=>ei,se:()=>Te});var o=v(6895),p=v(1571);class A extends o.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class L extends A{static makeCurrent(){(0,o.HT)(new L)}onAndCancel(de,ne,z){return de.addEventListener(ne,z,!1),()=>{de.removeEventListener(ne,z,!1)}}dispatchEvent(de,ne){de.dispatchEvent(ne)}remove(de){de.parentNode&&de.parentNode.removeChild(de)}createElement(de,ne){return(ne=ne||this.getDefaultDocument()).createElement(de)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(de){return de.nodeType===Node.ELEMENT_NODE}isShadowRoot(de){return de instanceof DocumentFragment}getGlobalEventTarget(de,ne){return"window"===ne?window:"document"===ne?de:"body"===ne?de.body:null}getBaseHref(de){const ne=function B(){return I=I||document.querySelector("base"),I?I.getAttribute("href"):null}();return null==ne?null:function j(Ce){V=V||document.createElement("a"),V.setAttribute("href",Ce);const de=V.pathname;return"/"===de.charAt(0)?de:`/${de}`}(ne)}resetBaseElement(){I=null}getUserAgent(){return window.navigator.userAgent}getCookie(de){return(0,o.Mx)(document.cookie,de)}}let V,I=null;const te=new p.OlP("TRANSITION_ID"),X=[{provide:p.ip1,useFactory:function U(Ce,de,ne){return()=>{ne.get(p.CZH).donePromise.then((()=>{const z=(0,o.q)(),se=de.querySelectorAll(`style[ng-transition="${Ce}"]`);for(let Oe=0;Oe<se.length;Oe++)z.remove(se[Oe])}))}},deps:[te,o.K0,p.zs3],multi:!0}];let De=(()=>{class Ce{build(){return new XMLHttpRequest}}return Ce.ɵfac=function(ne){return new(ne||Ce)},Ce.ɵprov=p.Yz7({token:Ce,factory:Ce.ɵfac}),Ce})();const Se=new p.OlP("EventManagerPlugins");let xe=(()=>{class Ce{constructor(ne,z){this._zone=z,this._eventNameToPlugin=new Map,ne.forEach((se=>se.manager=this)),this._plugins=ne.slice().reverse()}addEventListener(ne,z,se){return this._findPluginFor(z).addEventListener(ne,z,se)}addGlobalEventListener(ne,z,se){return this._findPluginFor(z).addGlobalEventListener(ne,z,se)}getZone(){return this._zone}_findPluginFor(ne){const z=this._eventNameToPlugin.get(ne);if(z)return z;const se=this._plugins;for(let Oe=0;Oe<se.length;Oe++){const tt=se[Oe];if(tt.supports(ne))return this._eventNameToPlugin.set(ne,tt),tt}throw new Error(`No event manager plugin found for event ${ne}`)}}return Ce.ɵfac=function(ne){return new(ne||Ce)(p.LFG(Se),p.LFG(p.R0b))},Ce.ɵprov=p.Yz7({token:Ce,factory:Ce.ɵfac}),Ce})();class ft{constructor(de){this._doc=de}addGlobalEventListener(de,ne,z){const se=(0,o.q)().getGlobalEventTarget(this._doc,de);if(!se)throw new Error(`Unsupported event target ${se} for event ${ne}`);return this.addEventListener(se,ne,z)}}let Be=(()=>{class Ce{constructor(){this._stylesSet=new Set}addStyles(ne){const z=new Set;ne.forEach((se=>{this._stylesSet.has(se)||(this._stylesSet.add(se),z.add(se))})),this.onStylesAdded(z)}onStylesAdded(ne){}getAllStyles(){return Array.from(this._stylesSet)}}return Ce.ɵfac=function(ne){return new(ne||Ce)},Ce.ɵprov=p.Yz7({token:Ce,factory:Ce.ɵfac}),Ce})(),Ke=(()=>{class Ce extends Be{constructor(ne){super(),this._doc=ne,this._hostNodes=new Map,this._hostNodes.set(ne.head,[])}_addStylesToHost(ne,z,se){ne.forEach((Oe=>{const tt=this._doc.createElement("style");tt.textContent=Oe,se.push(z.appendChild(tt))}))}addHost(ne){const z=[];this._addStylesToHost(this._stylesSet,ne,z),this._hostNodes.set(ne,z)}removeHost(ne){const z=this._hostNodes.get(ne);z&&z.forEach(rt),this._hostNodes.delete(ne)}onStylesAdded(ne){this._hostNodes.forEach(((z,se)=>{this._addStylesToHost(ne,se,z)}))}ngOnDestroy(){this._hostNodes.forEach((ne=>ne.forEach(rt)))}}return Ce.ɵfac=function(ne){return new(ne||Ce)(p.LFG(o.K0))},Ce.ɵprov=p.Yz7({token:Ce,factory:Ce.ɵfac}),Ce})();function rt(Ce){(0,o.q)().remove(Ce)}const nt={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 ee(Ce,de,ne){for(let z=0;z<de.length;z++){let se=de[z];Array.isArray(se)?ee(Ce,se,ne):(se=se.replace(Ge,Ce),ne.push(se))}return ne}function me(Ce){return de=>{if("__ngUnwrap__"===de)return Ce;!1===Ce(de)&&(de.preventDefault(),de.returnValue=!1)}}let Te=(()=>{class Ce{constructor(ne,z,se){this.eventManager=ne,this.sharedStylesHost=z,this.appId=se,this.rendererByCompId=new Map,this.defaultRenderer=new He(ne)}createRenderer(ne,z){if(!ne||!z)return this.defaultRenderer;switch(z.encapsulation){case p.ifc.Emulated:{let se=this.rendererByCompId.get(z.id);return se||(se=new Wt(this.eventManager,this.sharedStylesHost,z,this.appId),this.rendererByCompId.set(z.id,se)),se.applyToHost(ne),se}case 1:case p.ifc.ShadowDom:return new en(this.eventManager,this.sharedStylesHost,ne,z);default:if(!this.rendererByCompId.has(z.id)){const se=ee(z.id,z.styles,[]);this.sharedStylesHost.addStyles(se),this.rendererByCompId.set(z.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return Ce.ɵfac=function(ne){return new(ne||Ce)(p.LFG(xe),p.LFG(Ke),p.LFG(p.AFp))},Ce.ɵprov=p.Yz7({token:Ce,factory:Ce.ɵfac}),Ce})();class He{constructor(de){this.eventManager=de,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(de,ne){return ne?document.createElementNS(nt[ne]||ne,de):document.createElement(de)}createComment(de){return document.createComment(de)}createText(de){return document.createTextNode(de)}appendChild(de,ne){(Cn(de)?de.content:de).appendChild(ne)}insertBefore(de,ne,z){de&&(Cn(de)?de.content:de).insertBefore(ne,z)}removeChild(de,ne){de&&de.removeChild(ne)}selectRootElement(de,ne){let z="string"==typeof de?document.querySelector(de):de;if(!z)throw new Error(`The selector "${de}" did not match any elements`);return ne||(z.textContent=""),z}parentNode(de){return de.parentNode}nextSibling(de){return de.nextSibling}setAttribute(de,ne,z,se){if(se){ne=se+":"+ne;const Oe=nt[se];Oe?de.setAttributeNS(Oe,ne,z):de.setAttribute(ne,z)}else de.setAttribute(ne,z)}removeAttribute(de,ne,z){if(z){const se=nt[z];se?de.removeAttributeNS(se,ne):de.removeAttribute(`${z}:${ne}`)}else de.removeAttribute(ne)}addClass(de,ne){de.classList.add(ne)}removeClass(de,ne){de.classList.remove(ne)}setStyle(de,ne,z,se){se&(p.JOm.DashCase|p.JOm.Important)?de.style.setProperty(ne,z,se&p.JOm.Important?"important":""):de.style[ne]=z}removeStyle(de,ne,z){z&p.JOm.DashCase?de.style.removeProperty(ne):de.style[ne]=""}setProperty(de,ne,z){de[ne]=z}setValue(de,ne){de.nodeValue=ne}listen(de,ne,z){return"string"==typeof de?this.eventManager.addGlobalEventListener(de,ne,me(z)):this.eventManager.addEventListener(de,ne,me(z))}}function Cn(Ce){return"TEMPLATE"===Ce.tagName&&void 0!==Ce.content}class Wt extends He{constructor(de,ne,z,se){super(de),this.component=z;const Oe=ee(se+"-"+z.id,z.styles,[]);ne.addStyles(Oe),this.contentAttr=function _t(Ce){return"_ngcontent-%COMP%".replace(Ge,Ce)}(se+"-"+z.id),this.hostAttr=function ye(Ce){return"_nghost-%COMP%".replace(Ge,Ce)}(se+"-"+z.id)}applyToHost(de){super.setAttribute(de,this.hostAttr,"")}createElement(de,ne){const z=super.createElement(de,ne);return super.setAttribute(z,this.contentAttr,""),z}}class en extends He{constructor(de,ne,z,se){super(de),this.sharedStylesHost=ne,this.hostEl=z,this.shadowRoot=z.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Oe=ee(se.id,se.styles,[]);for(let tt=0;tt<Oe.length;tt++){const At=document.createElement("style");At.textContent=Oe[tt],this.shadowRoot.appendChild(At)}}nodeOrShadowRoot(de){return de===this.hostEl?this.shadowRoot:de}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(de,ne){return super.appendChild(this.nodeOrShadowRoot(de),ne)}insertBefore(de,ne,z){return super.insertBefore(this.nodeOrShadowRoot(de),ne,z)}removeChild(de,ne){return super.removeChild(this.nodeOrShadowRoot(de),ne)}parentNode(de){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(de)))}}let Rn=(()=>{class Ce extends ft{constructor(ne){super(ne)}supports(ne){return!0}addEventListener(ne,z,se){return ne.addEventListener(z,se,!1),()=>this.removeEventListener(ne,z,se)}removeEventListener(ne,z,se){return ne.removeEventListener(z,se)}}return Ce.ɵfac=function(ne){return new(ne||Ce)(p.LFG(o.K0))},Ce.ɵprov=p.Yz7({token:Ce,factory:Ce.ɵfac}),Ce})();const gn=["alt","control","meta","shift"],ir={"\b":"Backspace","\t":"Tab","":"Delete","":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Mn={alt:Ce=>Ce.altKey,control:Ce=>Ce.ctrlKey,meta:Ce=>Ce.metaKey,shift:Ce=>Ce.shiftKey};let Zt=(()=>{class Ce extends ft{constructor(ne){super(ne)}supports(ne){return null!=Ce.parseEventName(ne)}addEventListener(ne,z,se){const Oe=Ce.parseEventName(z),tt=Ce.eventCallback(Oe.fullKey,se,this.manager.getZone());return this.manager.getZone().runOutsideAngular((()=>(0,o.q)().onAndCancel(ne,Oe.domEventName,tt)))}static parseEventName(ne){const z=ne.toLowerCase().split("."),se=z.shift();if(0===z.length||"keydown"!==se&&"keyup"!==se)return null;const Oe=Ce._normalizeKey(z.pop());let tt="",At=z.indexOf("code");if(At>-1&&(z.splice(At,1),tt="code."),gn.forEach((Dt=>{const Ue=z.indexOf(Dt);Ue>-1&&(z.splice(Ue,1),tt+=Dt+".")})),tt+=Oe,0!=z.length||0===Oe.length)return null;const ot={};return ot.domEventName=se,ot.fullKey=tt,ot}static matchEventFullKeyCode(ne,z){let se=ir[ne.key]||ne.key,Oe="";return z.indexOf("code.")>-1&&(se=ne.code,Oe="code."),!(null==se||!se)&&(se=se.toLowerCase()," "===se?se="space":"."===se&&(se="dot"),gn.forEach((tt=>{tt!==se&&(0,Mn[tt])(ne)&&(Oe+=tt+".")})),Oe+=se,Oe===z)}static eventCallback(ne,z,se){return Oe=>{Ce.matchEventFullKeyCode(Oe,ne)&&se.runGuarded((()=>z(Oe)))}}static _normalizeKey(ne){return"esc"===ne?"escape":ne}}return Ce.ɵfac=function(ne){return new(ne||Ce)(p.LFG(o.K0))},Ce.ɵprov=p.Yz7({token:Ce,factory:Ce.ɵfac}),Ce})();const ei=(0,p.eFA)(p._c5,"browser",[{provide:p.Lbi,useValue:o.bD},{provide:p.g9A,useValue:function $r(){L.makeCurrent()},multi:!0},{provide:o.K0,useFactory:function Cr(){return(0,p.RDi)(document),document},deps:[]}]),Dr=new p.OlP(""),qt=[{provide:p.rWj,useClass:class oe{addToWindow(de){p.dqk.getAngularTestability=(z,se=!0)=>{const Oe=de.findTestabilityInTree(z,se);if(null==Oe)throw new Error("Could not find testability for element.");return Oe},p.dqk.getAllAngularTestabilities=()=>de.getAllTestabilities(),p.dqk.getAllAngularRootElements=()=>de.getAllRootElements(),p.dqk.frameworkStabilizers||(p.dqk.frameworkStabilizers=[]),p.dqk.frameworkStabilizers.push((z=>{const se=p.dqk.getAllAngularTestabilities();let Oe=se.length,tt=!1;const At=function(ot){tt=tt||ot,Oe--,0==Oe&&z(tt)};se.forEach((function(ot){ot.whenStable(At)}))}))}findTestabilityInTree(de,ne,z){return null==ne?null:de.getTestability(ne)??(z?(0,o.q)().isShadowRoot(ne)?this.findTestabilityInTree(de,ne.host,!0):this.findTestabilityInTree(de,ne.parentElement,!0):null)}},deps:[]},{provide:p.lri,useClass:p.dDg,deps:[p.R0b,p.eoX,p.rWj]},{provide:p.dDg,useClass:p.dDg,deps:[p.R0b,p.eoX,p.rWj]}],Kr=[{provide:p.zSh,useValue:"root"},{provide:p.qLn,useFactory:function Fr(){return new p.qLn},deps:[]},{provide:Se,useClass:Rn,multi:!0,deps:[o.K0,p.R0b,p.Lbi]},{provide:Se,useClass:Zt,multi:!0,deps:[o.K0]},{provide:Te,useClass:Te,deps:[xe,Ke,p.AFp]},{provide:p.FYo,useExisting:Te},{provide:Be,useExisting:Ke},{provide:Ke,useClass:Ke,deps:[o.K0]},{provide:xe,useClass:xe,deps:[Se,p.R0b]},{provide:o.JF,useClass:De,deps:[]},[]];let dr=(()=>{class Ce{constructor(ne){}static withServerTransition(ne){return{ngModule:Ce,providers:[{provide:p.AFp,useValue:ne.appId},{provide:te,useExisting:p.AFp},X]}}}return Ce.ɵfac=function(ne){return new(ne||Ce)(p.LFG(Dr,12))},Ce.ɵmod=p.oAB({type:Ce}),Ce.ɵinj=p.cJS({providers:[...Kr,...qt],imports:[o.ez,p.hGG]}),Ce})(),Xe=(()=>{class Ce{constructor(ne){this._doc=ne}getTitle(){return this._doc.title}setTitle(ne){this._doc.title=ne||""}}return Ce.ɵfac=function(ne){return new(ne||Ce)(p.LFG(o.K0))},Ce.ɵprov=p.Yz7({token:Ce,factory:function(ne){let z=null;return z=ne?new ne:function ke(){return new Xe((0,p.LFG)(o.K0))}(),z},providedIn:"root"}),Ce})();typeof window<"u"&&window},2304:(Z,F,v)=>{"use strict";v.d(F,{gz:()=>so,m2:()=>dt,OD:()=>ct,F0:()=>ui,rH:()=>sl,yS:()=>Va,Bz:()=>Ha,lC:()=>Ko});var o=v(1571),p=v(2076),A=v(9646),L=v(7579);class I extends L.x{constructor(y){super(),this._value=y}get value(){return this.getValue()}_subscribe(y){const h=super._subscribe(y);return!h.closed&&y.next(this._value),h}getValue(){const{hasError:y,thrownError:h,_value:w}=this;if(y)throw h;return this._throwIfClosed(),w}next(y){super.next(this._value=y)}}const V=(0,v(3888).d)((m=>function(){m(this),this.name="EmptyError",this.message="no elements in sequence"}));var j=v(9751),te=v(4742),U=v(4671),X=v(3268),oe=v(184),De=v(1810),Se=v(5403),xe=v(9672);function ft(...m){const y=(0,oe.yG)(m),h=(0,oe.jO)(m),{args:w,keys:T}=(0,te.D)(m);if(0===w.length)return(0,p.D)([],y);const G=new j.y(function Be(m,y,h=U.y){return w=>{Ke(y,(()=>{const{length:T}=m,G=new Array(T);let ue=T,he=T;for(let Ve=0;Ve<T;Ve++)Ke(y,(()=>{const Et=(0,p.D)(m[Ve],y);let Dn=!1;Et.subscribe(new Se.Q(w,(Vt=>{G[Ve]=Vt,Dn||(Dn=!0,he--),he||w.next(h(G.slice()))}),(()=>{--ue||w.complete()})))}),w)}),w)}}(w,y,T?ue=>(0,De.n)(T,ue):U.y));return h?G.pipe((0,X.Z)(h)):G}function Ke(m,y,h){m?(0,xe.f)(h,m,y):y()}var rt=v(8189);function Ge(...m){return function nt(){return(0,rt.J)(1)}()((0,p.D)(m,(0,oe.yG)(m)))}var Me=v(8421);function We(m){return new j.y((y=>{(0,Me.Xf)(m()).subscribe(y)}))}var Xt=v(9635),yt=v(576);function _t(m,y){const h=(0,yt.m)(m)?m:()=>m,w=T=>T.error(h());return new j.y(y?T=>y.schedule(w,0,T):w)}var ye=v(515),ee=v(727),me=v(4482);function je(){return(0,me.e)(((m,y)=>{let h=null;m._refCount++;const w=new Se.Q(y,void 0,void 0,void 0,(()=>{if(!m||m._refCount<=0||0<--m._refCount)return void(h=null);const T=m._connection,G=h;h=null,T&&(!G||T===G)&&T.unsubscribe(),y.unsubscribe()}));m.subscribe(w),w.closed||(h=m.connect())}))}class Te extends j.y{constructor(y,h){super(),this.source=y,this.subjectFactory=h,this._subject=null,this._refCount=0,this._connection=null,(0,me.A)(y)&&(this.lift=y.lift)}_subscribe(y){return this.getSubject().subscribe(y)}getSubject(){const y=this._subject;return(!y||y.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:y}=this;this._subject=this._connection=null,y?.unsubscribe()}connect(){let y=this._connection;if(!y){y=this._connection=new ee.w0;const h=this.getSubject();y.add(this.source.subscribe(new Se.Q(h,void 0,(()=>{this._teardown(),h.complete()}),(w=>{this._teardown(),h.error(w)}),(()=>this._teardown())))),y.closed&&(this._connection=null,y=ee.w0.EMPTY)}return y}refCount(){return je()(this)}}var He=v(6895),pt=v(4004);function Ot(m,y){return(0,me.e)(((h,w)=>{let T=null,G=0,ue=!1;const he=()=>ue&&!T&&w.complete();h.subscribe(new Se.Q(w,(Ve=>{T?.unsubscribe();let Et=0;const Dn=G++;(0,Me.Xf)(m(Ve,Dn)).subscribe(T=new Se.Q(w,(Vt=>w.next(y?y(Ve,Vt,Dn,Et++):Vt)),(()=>{T=null,he()})))}),(()=>{ue=!0,he()})))}))}var Cn=v(5698),en=v(9300),Rn=v(5577);function gn(m){return(0,me.e)(((y,h)=>{let w=!1;y.subscribe(new Se.Q(h,(T=>{w=!0,h.next(T)}),(()=>{w||h.next(m),h.complete()})))}))}function ir(m=Mn){return(0,me.e)(((y,h)=>{let w=!1;y.subscribe(new Se.Q(h,(T=>{w=!0,h.next(T)}),(()=>w?h.complete():h.error(m()))))}))}function Mn(){return new V}function Zt(m,y){const h=arguments.length>=2;return w=>w.pipe(m?(0,en.h)(((T,G)=>m(T,G,w))):U.y,(0,Cn.q)(1),h?gn(y):ir((()=>new V)))}var jn=v(4351);function Nn(m,y,h){const w=(0,yt.m)(m)||y||h?{next:m,error:y,complete:h}:m;return w?(0,me.e)(((T,G)=>{var ue;null===(ue=w.subscribe)||void 0===ue||ue.call(w);let he=!0;T.subscribe(new Se.Q(G,(Ve=>{var Et;null===(Et=w.next)||void 0===Et||Et.call(w,Ve),G.next(Ve)}),(()=>{var Ve;he=!1,null===(Ve=w.complete)||void 0===Ve||Ve.call(w),G.complete()}),(Ve=>{var Et;he=!1,null===(Et=w.error)||void 0===Et||Et.call(w,Ve),G.error(Ve)}),(()=>{var Ve,Et;he&&(null===(Ve=w.unsubscribe)||void 0===Ve||Ve.call(w)),null===(Et=w.finalize)||void 0===Et||Et.call(w)})))})):U.y}function br(m){return(0,me.e)(((y,h)=>{let G,w=null,T=!1;w=y.subscribe(new Se.Q(h,void 0,void 0,(ue=>{G=(0,Me.Xf)(m(ue,br(m)(y))),w?(w.unsubscribe(),w=null,G.subscribe(h)):T=!0}))),T&&(w.unsubscribe(),w=null,G.subscribe(h))}))}function cr(m,y,h,w,T){return(G,ue)=>{let he=h,Ve=y,Et=0;G.subscribe(new Se.Q(ue,(Dn=>{const Vt=Et++;Ve=he?m(Ve,Dn,Vt):(he=!0,Dn),w&&ue.next(Ve)}),T&&(()=>{he&&ue.next(Ve),ue.complete()})))}}function Oi(m,y){return(0,me.e)(cr(m,y,arguments.length>=2,!0))}function $r(m){return m<=0?()=>ye.E:(0,me.e)(((y,h)=>{let w=[];y.subscribe(new Se.Q(h,(T=>{w.push(T),m<w.length&&w.shift()}),(()=>{for(const T of w)h.next(T);h.complete()}),void 0,(()=>{w=null})))}))}function Fr(m,y){const h=arguments.length>=2;return w=>w.pipe(m?(0,en.h)(((T,G)=>m(T,G,w))):U.y,$r(1),h?gn(y):ir((()=>new V)))}var ei=v(8746),Dr=v(1481);const qt="primary",Kr=Symbol("RouteTitle");class dr{constructor(y){this.params=y||{}}has(y){return Object.prototype.hasOwnProperty.call(this.params,y)}get(y){if(this.has(y)){const h=this.params[y];return Array.isArray(h)?h[0]:h}return null}getAll(y){if(this.has(y)){const h=this.params[y];return Array.isArray(h)?h:[h]}return[]}get keys(){return Object.keys(this.params)}}function pe(m){return new dr(m)}function Ne(m,y,h){const w=h.path.split("/");if(w.length>m.length||"full"===h.pathMatch&&(y.hasChildren()||w.length<m.length))return null;const T={};for(let G=0;G<w.length;G++){const ue=w[G],he=m[G];if(ue.startsWith(":"))T[ue.substring(1)]=he;else if(ue!==he.path)return null}return{consumed:m.slice(0,w.length),posParams:T}}function ke(m,y){const h=m?Object.keys(m):void 0,w=y?Object.keys(y):void 0;if(!h||!w||h.length!=w.length)return!1;let T;for(let G=0;G<h.length;G++)if(T=h[G],!Xe(m[T],y[T]))return!1;return!0}function Xe(m,y){if(Array.isArray(m)&&Array.isArray(y)){if(m.length!==y.length)return!1;const h=[...m].sort(),w=[...y].sort();return h.every(((T,G)=>w[G]===T))}return m===y}function et(m){return Array.prototype.concat.apply([],m)}function it(m){return m.length>0?m[m.length-1]:null}function Mt(m,y){for(const h in m)m.hasOwnProperty(h)&&y(m[h],h)}function It(m){return(0,o.CqO)(m)?m:(0,o.QGY)(m)?(0,p.D)(Promise.resolve(m)):(0,A.of)(m)}const Nt={exact:function Kt(m,y,h){if(!Pe(m.segments,y.segments)||!Xn(m.segments,y.segments,h)||m.numberOfChildren!==y.numberOfChildren)return!1;for(const w in y.children)if(!m.children[w]||!Kt(m.children[w],y.children[w],h))return!1;return!0},subset:cn},Ht={exact:function Wn(m,y){return ke(m,y)},subset:function Qt(m,y){return Object.keys(y).length<=Object.keys(m).length&&Object.keys(y).every((h=>Xe(m[h],y[h])))},ignored:()=>!0};function mn(m,y,h){return Nt[h.paths](m.root,y.root,h.matrixParams)&&Ht[h.queryParams](m.queryParams,y.queryParams)&&!("exact"===h.fragment&&m.fragment!==y.fragment)}function cn(m,y,h){return Tt(m,y,y.segments,h)}function Tt(m,y,h,w){if(m.segments.length>h.length){const T=m.segments.slice(0,h.length);return!(!Pe(T,h)||y.hasChildren()||!Xn(T,h,w))}if(m.segments.length===h.length){if(!Pe(m.segments,h)||!Xn(m.segments,h,w))return!1;for(const T in y.children)if(!m.children[T]||!cn(m.children[T],y.children[T],w))return!1;return!0}{const T=h.slice(0,m.segments.length),G=h.slice(m.segments.length);return!!(Pe(m.segments,T)&&Xn(m.segments,T,w)&&m.children[qt])&&Tt(m.children[qt],y,G,w)}}function Xn(m,y,h){return y.every(((w,T)=>Ht[h](m[T].parameters,w.parameters)))}class Sn{constructor(y,h,w){this.root=y,this.queryParams=h,this.fragment=w}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=pe(this.queryParams)),this._queryParamMap}toString(){return $e.serialize(this)}}class Ft{constructor(y,h){this.segments=y,this.children=h,this.parent=null,Mt(h,((w,T)=>w.parent=this))}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ut(this)}}class vn{constructor(y,h){this.path=y,this.parameters=h}get parameterMap(){return this._parameterMap||(this._parameterMap=pe(this.parameters)),this._parameterMap}toString(){return z(this)}}function Pe(m,y){return m.length===y.length&&m.every(((h,w)=>h.path===y[w].path))}let ae=(()=>{class m{}return m.ɵfac=function(h){return new(h||m)},m.ɵprov=o.Yz7({token:m,factory:function(){return new Ie},providedIn:"root"}),m})();class Ie{parse(y){const h=new Pt(y);return new Sn(h.parseRootSegment(),h.parseQueryParams(),h.parseFragment())}serialize(y){const h=`/${tn(y.root,!0)}`,w=function Oe(m){const y=Object.keys(m).map((h=>{const w=m[h];return Array.isArray(w)?w.map((T=>`${nn(h)}=${nn(T)}`)).join("&"):`${nn(h)}=${nn(w)}`})).filter((h=>!!h));return y.length?`?${y.join("&")}`:""}(y.queryParams);return`${h}${w}${"string"==typeof y.fragment?`#${function $t(m){return encodeURI(m)}(y.fragment)}`:""}`}}const $e=new Ie;function Ut(m){return m.segments.map((y=>z(y))).join("/")}function tn(m,y){if(!m.hasChildren())return Ut(m);if(y){const h=m.children[qt]?tn(m.children[qt],!1):"",w=[];return Mt(m.children,((T,G)=>{G!==qt&&w.push(`${G}:${tn(T,!1)}`)})),w.length>0?`${h}(${w.join("//")})`:h}{const h=function re(m,y){let h=[];return Mt(m.children,((w,T)=>{T===qt&&(h=h.concat(y(w,T)))})),Mt(m.children,((w,T)=>{T!==qt&&(h=h.concat(y(w,T)))})),h}(m,((w,T)=>T===qt?[tn(m.children[qt],!1)]:[`${T}:${tn(w,!1)}`]));return 1===Object.keys(m.children).length&&null!=m.children[qt]?`${Ut(m)}/${h[0]}`:`${Ut(m)}/(${h.join("//")})`}}function un(m){return encodeURIComponent(m).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function nn(m){return un(m).replace(/%3B/gi,";")}function Ce(m){return un(m).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function de(m){return decodeURIComponent(m)}function ne(m){return de(m.replace(/\+/g,"%20"))}function z(m){return`${Ce(m.path)}${function se(m){return Object.keys(m).map((y=>`;${Ce(y)}=${Ce(m[y])}`)).join("")}(m.parameters)}`}const tt=/^[^\/()?;=#]+/;function At(m){const y=m.match(tt);return y?y[0]:""}const ot=/^[^=?&#]+/,Ue=/^[^&#]+/;class Pt{constructor(y){this.url=y,this.remaining=y}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ft([],{}):new Ft([],this.parseChildren())}parseQueryParams(){const y={};if(this.consumeOptional("?"))do{this.parseQueryParam(y)}while(this.consumeOptional("&"));return y}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const y=[];for(this.peekStartsWith("(")||y.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),y.push(this.parseSegment());let h={};this.peekStartsWith("/(")&&(this.capture("/"),h=this.parseParens(!0));let w={};return this.peekStartsWith("(")&&(w=this.parseParens(!1)),(y.length>0||Object.keys(h).length>0)&&(w[qt]=new Ft(y,h)),w}parseSegment(){const y=At(this.remaining);if(""===y&&this.peekStartsWith(";"))throw new o.vHH(4009,!1);return this.capture(y),new vn(de(y),this.parseMatrixParams())}parseMatrixParams(){const y={};for(;this.consumeOptional(";");)this.parseParam(y);return y}parseParam(y){const h=At(this.remaining);if(!h)return;this.capture(h);let w="";if(this.consumeOptional("=")){const T=At(this.remaining);T&&(w=T,this.capture(w))}y[de(h)]=de(w)}parseQueryParam(y){const h=function Dt(m){const y=m.match(ot);return y?y[0]:""}(this.remaining);if(!h)return;this.capture(h);let w="";if(this.consumeOptional("=")){const ue=function wt(m){const y=m.match(Ue);return y?y[0]:""}(this.remaining);ue&&(w=ue,this.capture(w))}const T=ne(h),G=ne(w);if(y.hasOwnProperty(T)){let ue=y[T];Array.isArray(ue)||(ue=[ue],y[T]=ue),ue.push(G)}else y[T]=G}parseParens(y){const h={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const w=At(this.remaining),T=this.remaining[w.length];if("/"!==T&&")"!==T&&";"!==T)throw new o.vHH(4010,!1);let G;w.indexOf(":")>-1?(G=w.slice(0,w.indexOf(":")),this.capture(G),this.capture(":")):y&&(G=qt);const ue=this.parseChildren();h[G]=1===Object.keys(ue).length?ue[qt]:new Ft([],ue),this.consumeOptional("//")}return h}peekStartsWith(y){return this.remaining.startsWith(y)}consumeOptional(y){return!!this.peekStartsWith(y)&&(this.remaining=this.remaining.substring(y.length),!0)}capture(y){if(!this.consumeOptional(y))throw new o.vHH(4011,!1)}}function Yt(m){return m.segments.length>0?new Ft([],{[qt]:m}):m}function jt(m){const y={};for(const w of Object.keys(m.children)){const G=jt(m.children[w]);(G.segments.length>0||G.hasChildren())&&(y[w]=G)}return function St(m){if(1===m.numberOfChildren&&m.children[qt]){const y=m.children[qt];return new Ft(m.segments.concat(y.segments),y.children)}return m}(new Ft(m.segments,y))}function dn(m){return m instanceof Sn}function Ar(m,y,h,w,T){if(0===h.length)return fr(y.root,y.root,y.root,w,T);const G=function si(m){if("string"==typeof m[0]&&1===m.length&&"/"===m[0])return new Tn(!0,0,m);let y=0,h=!1;const w=m.reduce(((T,G,ue)=>{if("object"==typeof G&&null!=G){if(G.outlets){const he={};return Mt(G.outlets,((Ve,Et)=>{he[Et]="string"==typeof Ve?Ve.split("/"):Ve})),[...T,{outlets:he}]}if(G.segmentPath)return[...T,G.segmentPath]}return"string"!=typeof G?[...T,G]:0===ue?(G.split("/").forEach(((he,Ve)=>{0==Ve&&"."===he||(0==Ve&&""===he?h=!0:".."===he?y++:""!=he&&T.push(he))})),T):[...T,G]}),[]);return new Tn(h,y,w)}(h);return G.toRoot()?fr(y.root,y.root,new Ft([],{}),w,T):function ue(Ve){const Et=function Si(m,y,h,w){if(m.isAbsolute)return new Ai(y.root,!0,0);if(-1===w)return new Ai(h,h===y.root,0);return function fi(m,y,h){let w=m,T=y,G=h;for(;G>T;){if(G-=T,w=w.parent,!w)throw new o.vHH(4005,!1);T=w.segments.length}return new Ai(w,!1,T-G)}(h,w+(zr(m.commands[0])?0:1),m.numberOfDoubleDots)}(G,y,m.snapshot?._urlSegment,Ve),Dn=Et.processChildren?k(Et.segmentGroup,Et.index,G.commands):mr(Et.segmentGroup,Et.index,G.commands);return fr(y.root,Et.segmentGroup,Dn,w,T)}(m.snapshot?._lastPathIndex)}function zr(m){return"object"==typeof m&&null!=m&&!m.outlets&&!m.segmentPath}function Tr(m){return"object"==typeof m&&null!=m&&m.outlets}function fr(m,y,h,w,T){let ue,G={};w&&Mt(w,((Ve,Et)=>{G[Et]=Array.isArray(Ve)?Ve.map((Dn=>`${Dn}`)):`${Ve}`})),ue=m===y?h:Gi(m,y,h);const he=Yt(jt(ue));return new Sn(he,G,T)}function Gi(m,y,h){const w={};return Mt(m.children,((T,G)=>{w[G]=T===y?h:Gi(T,y,h)})),new Ft(m.segments,w)}class Tn{constructor(y,h,w){if(this.isAbsolute=y,this.numberOfDoubleDots=h,this.commands=w,y&&w.length>0&&zr(w[0]))throw new o.vHH(4003,!1);const T=w.find(Tr);if(T&&T!==it(w))throw new o.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Ai{constructor(y,h,w){this.segmentGroup=y,this.processChildren=h,this.index=w}}function mr(m,y,h){if(m||(m=new Ft([],{})),0===m.segments.length&&m.hasChildren())return k(m,y,h);const w=function Q(m,y,h){let w=0,T=y;const G={match:!1,pathIndex:0,commandIndex:0};for(;T<m.segments.length;){if(w>=h.length)return G;const ue=m.segments[T],he=h[w];if(Tr(he))break;const Ve=`${he}`,Et=w<h.length-1?h[w+1]:null;if(T>0&&void 0===Ve)break;if(Ve&&Et&&"object"==typeof Et&&void 0===Et.outlets){if(!Ye(Ve,Et,ue))return G;w+=2}else{if(!Ye(Ve,{},ue))return G;w++}T++}return{match:!0,pathIndex:T,commandIndex:w}}(m,y,h),T=h.slice(w.commandIndex);if(w.match&&w.pathIndex<m.segments.length){const G=new Ft(m.segments.slice(0,w.pathIndex),{});return G.children[qt]=new Ft(m.segments.slice(w.pathIndex),m.children),k(G,0,T)}return w.match&&0===T.length?new Ft(m.segments,{}):w.match&&!m.hasChildren()?Y(m,y,h):w.match?k(m,0,T):Y(m,y,h)}function k(m,y,h){if(0===h.length)return new Ft(m.segments,{});{const w=function ti(m){return Tr(m[0])?m[0].outlets:{[qt]:m}}(h),T={};return Mt(w,((G,ue)=>{"string"==typeof G&&(G=[G]),null!==G&&(T[ue]=mr(m.children[ue],y,G))})),Mt(m.children,((G,ue)=>{void 0===w[ue]&&(T[ue]=G)})),new Ft(m.segments,T)}}function Y(m,y,h){const w=m.segments.slice(0,y);let T=0;for(;T<h.length;){const G=h[T];if(Tr(G)){const Ve=ce(G.outlets);return new Ft(w,Ve)}if(0===T&&zr(h[0])){w.push(new vn(m.segments[y].path,Qe(h[0]))),T++;continue}const ue=Tr(G)?G.outlets[qt]:`${G}`,he=T<h.length-1?h[T+1]:null;ue&&he&&zr(he)?(w.push(new vn(ue,Qe(he))),T+=2):(w.push(new vn(ue,{})),T++)}return new Ft(w,{})}function ce(m){const y={};return Mt(m,((h,w)=>{"string"==typeof h&&(h=[h]),null!==h&&(y[w]=Y(new Ft([],{}),0,h))})),y}function Qe(m){const y={};return Mt(m,((h,w)=>y[w]=`${h}`)),y}function Ye(m,y,h){return m==h.path&&ke(y,h.parameters)}class ut{constructor(y,h){this.id=y,this.url=h}}class ct extends ut{constructor(y,h,w="imperative",T=null){super(y,h),this.type=0,this.navigationTrigger=w,this.restoredState=T}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class dt extends ut{constructor(y,h,w){super(y,h),this.urlAfterRedirects=w,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class _n extends ut{constructor(y,h,w,T){super(y,h),this.reason=w,this.code=T,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class On extends ut{constructor(y,h,w,T){super(y,h),this.error=w,this.target=T,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Lr extends ut{constructor(y,h,w,T){super(y,h),this.urlAfterRedirects=w,this.state=T,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Qr extends ut{constructor(y,h,w,T){super(y,h),this.urlAfterRedirects=w,this.state=T,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class kr extends ut{constructor(y,h,w,T,G){super(y,h),this.urlAfterRedirects=w,this.state=T,this.shouldActivate=G,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class yi extends ut{constructor(y,h,w,T){super(y,h),this.urlAfterRedirects=w,this.state=T,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class io extends ut{constructor(y,h,w,T){super(y,h),this.urlAfterRedirects=w,this.state=T,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class zi{constructor(y){this.route=y,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class oo{constructor(y){this.route=y,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Ro{constructor(y){this.snapshot=y,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class as{constructor(y){this.snapshot=y,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Bs{constructor(y){this.snapshot=y,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Oa{constructor(y){this.snapshot=y,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Us{constructor(y,h,w){this.routerEvent=y,this.position=h,this.anchor=w,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class ys{constructor(y){this._root=y}get root(){return this._root.value}parent(y){const h=this.pathFromRoot(y);return h.length>1?h[h.length-2]:null}children(y){const h=zo(y,this._root);return h?h.children.map((w=>w.value)):[]}firstChild(y){const h=zo(y,this._root);return h&&h.children.length>0?h.children[0].value:null}siblings(y){const h=Wo(y,this._root);return h.length<2?[]:h[h.length-2].children.map((T=>T.value)).filter((T=>T!==y))}pathFromRoot(y){return Wo(y,this._root).map((h=>h.value))}}function zo(m,y){if(m===y.value)return y;for(const h of y.children){const w=zo(m,h);if(w)return w}return null}function Wo(m,y){if(m===y.value)return[y];for(const h of y.children){const w=Wo(m,h);if(w.length)return w.unshift(y),w}return[]}class ni{constructor(y,h){this.value=y,this.children=h}toString(){return`TreeNode(${this.value})`}}function Mo(m){const y={};return m&&m.children.forEach((h=>y[h.value.outlet]=h)),y}class No extends ys{constructor(y,h){super(y),this.snapshot=h,us(this,y)}toString(){return this.snapshot.toString()}}function _r(m,y){const h=function Yn(m,y){const ue=new ls([],{},{},"",{},qt,y,null,m.root,-1,{});return new Cs("",new ni(ue,[]))}(m,y),w=new I([new vn("",{})]),T=new I({}),G=new I({}),ue=new I({}),he=new I(""),Ve=new so(w,T,ue,he,G,qt,y,h.root);return Ve.snapshot=h.root,new No(new ni(Ve,[]),h)}class so{constructor(y,h,w,T,G,ue,he,Ve){this.url=y,this.params=h,this.queryParams=w,this.fragment=T,this.data=G,this.outlet=ue,this.component=he,this.title=this.data?.pipe((0,pt.U)((Et=>Et[Kr])))??(0,A.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,pt.U)((y=>pe(y))))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,pt.U)((y=>pe(y))))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function js(m,y="emptyOnly"){const h=m.pathFromRoot;let w=0;if("always"!==y)for(w=h.length-1;w>=1;){const T=h[w],G=h[w-1];if(T.routeConfig&&""===T.routeConfig.path)w--;else{if(G.component)break;w--}}return function Fo(m){return m.reduce(((y,h)=>({params:{...y.params,...h.params},data:{...y.data,...h.data},resolve:{...h.data,...y.resolve,...h.routeConfig?.data,...h._resolvedData}})),{params:{},data:{},resolve:{}})}(h.slice(w))}class ls{constructor(y,h,w,T,G,ue,he,Ve,Et,Dn,Vt,xr){this.url=y,this.params=h,this.queryParams=w,this.fragment=T,this.data=G,this.outlet=ue,this.component=he,this.title=this.data?.[Kr],this.routeConfig=Ve,this._urlSegment=Et,this._lastPathIndex=Dn,this._correctedLastPathIndex=xr??Dn,this._resolve=Vt}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=pe(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=pe(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map((w=>w.toString())).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Cs extends ys{constructor(y,h){super(h),this.url=y,us(this,h)}toString(){return So(this._root)}}function us(m,y){y.value._routerState=m,y.children.forEach((h=>us(m,h)))}function So(m){const y=m.children.length>0?` { ${m.children.map(So).join(", ")} } `:"";return`${m.value}${y}`}function Yo(m){if(m.snapshot){const y=m.snapshot,h=m._futureSnapshot;m.snapshot=h,ke(y.queryParams,h.queryParams)||m.queryParams.next(h.queryParams),y.fragment!==h.fragment&&m.fragment.next(h.fragment),ke(y.params,h.params)||m.params.next(h.params),function Ae(m,y){if(m.length!==y.length)return!1;for(let h=0;h<m.length;++h)if(!ke(m[h],y[h]))return!1;return!0}(y.url,h.url)||m.url.next(h.url),ke(y.data,h.data)||m.data.next(h.data)}else m.snapshot=m._futureSnapshot,m.data.next(m._futureSnapshot.data)}function Vr(m,y){const h=ke(m.params,y.params)&&function Lt(m,y){return Pe(m,y)&&m.every(((h,w)=>ke(h.parameters,y[w].parameters)))}(m.url,y.url);return h&&!(!m.parent!=!y.parent)&&(!m.parent||Vr(m.parent,y.parent))}function Wr(m,y,h){if(h&&m.shouldReuseRoute(y.value,h.value.snapshot)){const w=h.value;w._futureSnapshot=y.value;const T=function $s(m,y,h){return y.children.map((w=>{for(const T of h.children)if(m.shouldReuseRoute(w.value,T.value.snapshot))return Wr(m,w,T);return Wr(m,w)}))}(m,y,h);return new ni(w,T)}{if(m.shouldAttach(y.value)){const G=m.retrieve(y.value);if(null!==G){const ue=G.route;return ue.value._futureSnapshot=y.value,ue.children=y.children.map((he=>Wr(m,he))),ue}}const w=function Zo(m){return new so(new I(m.url),new I(m.params),new I(m.queryParams),new I(m.fragment),new I(m.data),m.outlet,m.component,m)}(y.value),T=y.children.map((G=>Wr(m,G)));return new ni(w,T)}}const ai="ngNavigationCancelingError";function qo(m,y){const{redirectTo:h,navigationBehaviorOptions:w}=dn(y)?{redirectTo:y,navigationBehaviorOptions:void 0}:y,T=ws(!1,0,y);return T.url=h,T.navigationBehaviorOptions=w,T}function ws(m,y,h){const w=new Error("NavigationCancelingError: "+(m||""));return w[ai]=!0,w.cancellationCode=y,h&&(w.url=h),w}function hr(m){return bs(m)&&dn(m.url)}function bs(m){return m&&m[ai]}class ua{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new Ii,this.attachRef=null}}let Ii=(()=>{class m{constructor(){this.contexts=new Map}onChildOutletCreated(h,w){const T=this.getOrCreateContext(h);T.outlet=w,this.contexts.set(h,T)}onChildOutletDestroyed(h){const w=this.getContext(h);w&&(w.outlet=null,w.attachRef=null)}onOutletDeactivated(){const h=this.contexts;return this.contexts=new Map,h}onOutletReAttached(h){this.contexts=h}getOrCreateContext(h){let w=this.getContext(h);return w||(w=new ua,this.contexts.set(h,w)),w}getContext(h){return this.contexts.get(h)||null}}return m.ɵfac=function(h){return new(h||m)},m.ɵprov=o.Yz7({token:m,factory:m.ɵfac,providedIn:"root"}),m})();const pr=!1;let Ko=(()=>{class m{constructor(h,w,T,G,ue){this.parentContexts=h,this.location=w,this.changeDetector=G,this.environmentInjector=ue,this.activated=null,this._activatedRoute=null,this.activateEvents=new o.vpe,this.deactivateEvents=new o.vpe,this.attachEvents=new o.vpe,this.detachEvents=new o.vpe,this.name=T||qt,h.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.getContext(this.name)?.outlet===this&&this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const h=this.parentContexts.getContext(this.name);h&&h.route&&(h.attachRef?this.attach(h.attachRef,h.route):this.activateWith(h.route,h.injector))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new o.vHH(4012,pr);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new o.vHH(4012,pr);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new o.vHH(4012,pr);this.location.detach();const h=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(h.instance),h}attach(h,w){this.activated=h,this._activatedRoute=w,this.location.insert(h.hostView),this.attachEvents.emit(h.instance)}deactivate(){if(this.activated){const h=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(h)}}activateWith(h,w){if(this.isActivated)throw new o.vHH(4013,pr);this._activatedRoute=h;const T=this.location,ue=h._futureSnapshot.component,he=this.parentContexts.getOrCreateContext(this.name).children,Ve=new Ci(h,he,T.injector);if(w&&function mo(m){return!!m.resolveComponentFactory}(w)){const Et=w.resolveComponentFactory(ue);this.activated=T.createComponent(Et,T.length,Ve)}else this.activated=T.createComponent(ue,{index:T.length,injector:Ve,environmentInjector:w??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return m.ɵfac=function(h){return new(h||m)(o.Y36(Ii),o.Y36(o.s_b),o.$8M("name"),o.Y36(o.sBO),o.Y36(o.lqb))},m.ɵdir=o.lG2({type:m,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0}),m})();class Ci{constructor(y,h,w){this.route=y,this.childContexts=h,this.parent=w}get(y,h){return y===so?this.route:y===Ii?this.childContexts:this.parent.get(y,h)}}let Gr=(()=>{class m{}return m.ɵfac=function(h){return new(h||m)},m.ɵcmp=o.Xpm({type:m,selectors:[["ng-component"]],standalone:!0,features:[o.jDz],decls:1,vars:0,template:function(h,w){1&h&&o._UZ(0,"router-outlet")},dependencies:[Ko],encapsulation:2}),m})();function ao(m,y){return m.providers&&!m._injector&&(m._injector=(0,o.MMx)(m.providers,y,`Route: ${m.path}`)),m._injector??y}function Ds(m){const y=m.children&&m.children.map(Ds),h=y?{...m,children:y}:{...m};return!h.component&&!h.loadComponent&&(y||h.loadChildren)&&h.outlet&&h.outlet!==qt&&(h.component=Gr),h}function Yi(m){return m.outlet||qt}function cs(m,y){const h=m.filter((w=>Yi(w)===y));return h.push(...m.filter((w=>Yi(w)!==y))),h}function Ni(m){if(!m)return null;if(m.routeConfig?._injector)return m.routeConfig._injector;for(let y=m.parent;y;y=y.parent){const h=y.routeConfig;if(h?._loadedInjector)return h._loadedInjector;if(h?._injector)return h._injector}return null}class ca{constructor(y,h,w,T){this.routeReuseStrategy=y,this.futureState=h,this.currState=w,this.forwardEvent=T}activate(y){const h=this.futureState._root,w=this.currState?this.currState._root:null;this.deactivateChildRoutes(h,w,y),Yo(this.futureState.root),this.activateChildRoutes(h,w,y)}deactivateChildRoutes(y,h,w){const T=Mo(h);y.children.forEach((G=>{const ue=G.value.outlet;this.deactivateRoutes(G,T[ue],w),delete T[ue]})),Mt(T,((G,ue)=>{this.deactivateRouteAndItsChildren(G,w)}))}deactivateRoutes(y,h,w){const T=y.value,G=h?h.value:null;if(T===G)if(T.component){const ue=w.getContext(T.outlet);ue&&this.deactivateChildRoutes(y,h,ue.children)}else this.deactivateChildRoutes(y,h,w);else G&&this.deactivateRouteAndItsChildren(h,w)}deactivateRouteAndItsChildren(y,h){y.value.component&&this.routeReuseStrategy.shouldDetach(y.value.snapshot)?this.detachAndStoreRouteSubtree(y,h):this.deactivateRouteAndOutlet(y,h)}detachAndStoreRouteSubtree(y,h){const w=h.getContext(y.value.outlet),T=w&&y.value.component?w.children:h,G=Mo(y);for(const ue of Object.keys(G))this.deactivateRouteAndItsChildren(G[ue],T);if(w&&w.outlet){const ue=w.outlet.detach(),he=w.children.onOutletDeactivated();this.routeReuseStrategy.store(y.value.snapshot,{componentRef:ue,route:y,contexts:he})}}deactivateRouteAndOutlet(y,h){const w=h.getContext(y.value.outlet),T=w&&y.value.component?w.children:h,G=Mo(y);for(const ue of Object.keys(G))this.deactivateRouteAndItsChildren(G[ue],T);w&&w.outlet&&(w.outlet.deactivate(),w.children.onOutletDeactivated(),w.attachRef=null,w.resolver=null,w.route=null)}activateChildRoutes(y,h,w){const T=Mo(h);y.children.forEach((G=>{this.activateRoutes(G,T[G.value.outlet],w),this.forwardEvent(new Oa(G.value.snapshot))})),y.children.length&&this.forwardEvent(new as(y.value.snapshot))}activateRoutes(y,h,w){const T=y.value,G=h?h.value:null;if(Yo(T),T===G)if(T.component){const ue=w.getOrCreateContext(T.outlet);this.activateChildRoutes(y,h,ue.children)}else this.activateChildRoutes(y,h,w);else if(T.component){const ue=w.getOrCreateContext(T.outlet);if(this.routeReuseStrategy.shouldAttach(T.snapshot)){const he=this.routeReuseStrategy.retrieve(T.snapshot);this.routeReuseStrategy.store(T.snapshot,null),ue.children.onOutletReAttached(he.contexts),ue.attachRef=he.componentRef,ue.route=he.route.value,ue.outlet&&ue.outlet.attach(he.componentRef,he.route.value),Yo(he.route.value),this.activateChildRoutes(y,null,ue.children)}else{const he=Ni(T.snapshot),Ve=he?.get(o._Vd)??null;ue.attachRef=null,ue.route=T,ue.resolver=Ve,ue.injector=he,ue.outlet&&ue.outlet.activateWith(T,ue.injector),this.activateChildRoutes(y,null,ue.children)}}else this.activateChildRoutes(y,null,w)}}class gt{constructor(y){this.path=y,this.route=this.path[this.path.length-1]}}class $n{constructor(y,h){this.component=y,this.route=h}}function wi(m,y,h){const w=m._root;return Jo(w,y?y._root:null,h,[w.value])}function Pr(m,y){const h=Symbol(),w=y.get(m,h);return w===h?"function"!=typeof m||(0,o.Z0I)(m)?y.get(m):m:w}function Jo(m,y,h,w,T={canDeactivateChecks:[],canActivateChecks:[]}){const G=Mo(y);return m.children.forEach((ue=>{(function vr(m,y,h,w,T={canDeactivateChecks:[],canActivateChecks:[]}){const G=m.value,ue=y?y.value:null,he=h?h.getContext(m.value.outlet):null;if(ue&&G.routeConfig===ue.routeConfig){const Ve=function x(m,y,h){if("function"==typeof h)return h(m,y);switch(h){case"pathParamsChange":return!Pe(m.url,y.url);case"pathParamsOrQueryParamsChange":return!Pe(m.url,y.url)||!ke(m.queryParams,y.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Vr(m,y)||!ke(m.queryParams,y.queryParams);default:return!Vr(m,y)}}(ue,G,G.routeConfig.runGuardsAndResolvers);Ve?T.canActivateChecks.push(new gt(w)):(G.data=ue.data,G._resolvedData=ue._resolvedData),Jo(m,y,G.component?he?he.children:null:h,w,T),Ve&&he&&he.outlet&&he.outlet.isActivated&&T.canDeactivateChecks.push(new $n(he.outlet.component,ue))}else ue&&P(y,he,T),T.canActivateChecks.push(new gt(w)),Jo(m,null,G.component?he?he.children:null:h,w,T)})(ue,G[ue.value.outlet],h,w.concat([ue.value]),T),delete G[ue.value.outlet]})),Mt(G,((ue,he)=>P(ue,h.getContext(he),T))),T}function P(m,y,h){const w=Mo(m),T=m.value;Mt(w,((G,ue)=>{P(G,T.component?y?y.children.getContext(ue):null:y,h)})),h.canDeactivateChecks.push(new $n(T.component&&y&&y.outlet&&y.outlet.isActivated?y.outlet.component:null,T))}function M(m){return"function"==typeof m}function Ti(m){return m instanceof V||"EmptyError"===m?.name}const es=Symbol("INITIAL_VALUE");function hi(){return Ot((m=>ft(m.map((y=>y.pipe((0,Cn.q)(1),function Wt(...m){const y=(0,oe.yG)(m);return(0,me.e)(((h,w)=>{(y?Ge(m,h,y):Ge(m,h)).subscribe(w)}))}(es))))).pipe((0,pt.U)((y=>{for(const h of y)if(!0!==h){if(h===es)return es;if(!1===h||h instanceof Sn)return h}return!0})),(0,en.h)((y=>y!==es)),(0,Cn.q)(1))))}function ko(m){return(0,Xt.z)(Nn((y=>{if(dn(y))throw qo(0,y)})),(0,pt.U)((y=>!0===y)))}const Ts={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Ia(m,y,h,w,T){const G=da(m,y,h);return G.matched?function Zi(m,y,h,w){const T=y.canMatch;if(!T||0===T.length)return(0,A.of)(!0);const G=T.map((ue=>{const he=Pr(ue,m);return It(function bi(m){return m&&M(m.canMatch)}(he)?he.canMatch(y,h):m.runInContext((()=>he(y,h))))}));return(0,A.of)(G).pipe(hi(),ko())}(w=ao(y,w),y,h).pipe((0,pt.U)((ue=>!0===ue?G:{...Ts}))):(0,A.of)(G)}function da(m,y,h){if(""===y.path)return"full"===y.pathMatch&&(m.hasChildren()||h.length>0)?{...Ts}:{matched:!0,consumedSegments:[],remainingSegments:h,parameters:{},positionalParamSegments:{}};const T=(y.matcher||Ne)(h,m,y);if(!T)return{...Ts};const G={};Mt(T.posParams,((he,Ve)=>{G[Ve]=he.path}));const ue=T.consumed.length>0?{...G,...T.consumed[T.consumed.length-1].parameters}:G;return{matched:!0,consumedSegments:T.consumed,remainingSegments:h.slice(T.consumed.length),parameters:ue,positionalParamSegments:T.posParams??{}}}function Ra(m,y,h,w,T="corrected"){if(h.length>0&&function yo(m,y,h){return h.some((w=>st(m,y,w)&&Yi(w)!==qt))}(m,h,w)){const ue=new Ft(y,function Fi(m,y,h,w){const T={};T[qt]=w,w._sourceSegment=m,w._segmentIndexShift=y.length;for(const G of h)if(""===G.path&&Yi(G)!==qt){const ue=new Ft([],{});ue._sourceSegment=m,ue._segmentIndexShift=y.length,T[Yi(G)]=ue}return T}(m,y,w,new Ft(h,m.children)));return ue._sourceSegment=m,ue._segmentIndexShift=y.length,{segmentGroup:ue,slicedSegments:[]}}if(0===h.length&&function be(m,y,h){return h.some((w=>st(m,y,w)))}(m,h,w)){const ue=new Ft(m.segments,function Kl(m,y,h,w,T,G){const ue={};for(const he of w)if(st(m,h,he)&&!T[Yi(he)]){const Ve=new Ft([],{});Ve._sourceSegment=m,Ve._segmentIndexShift="legacy"===G?m.segments.length:y.length,ue[Yi(he)]=Ve}return{...T,...ue}}(m,y,h,w,m.children,T));return ue._sourceSegment=m,ue._segmentIndexShift=y.length,{segmentGroup:ue,slicedSegments:h}}const G=new Ft(m.segments,m.children);return G._sourceSegment=m,G._segmentIndexShift=y.length,{segmentGroup:G,slicedSegments:h}}function st(m,y,h){return(!(m.hasChildren()||y.length>0)||"full"!==h.pathMatch)&&""===h.path}function Ze(m,y,h,w){return!!(Yi(m)===w||w!==qt&&st(y,h,m))&&("**"===m.path||da(y,m,h).matched)}function Gt(m,y,h){return 0===y.length&&!m.children[h]}const Pn=!1;class or{constructor(y){this.segmentGroup=y||null}}class ri{constructor(y){this.urlTree=y}}function sr(m){return _t(new or(m))}function fs(m){return _t(new ri(m))}class nl{constructor(y,h,w,T,G){this.injector=y,this.configLoader=h,this.urlSerializer=w,this.urlTree=T,this.config=G,this.allowRedirects=!0}apply(){const y=Ra(this.urlTree.root,[],[],this.config).segmentGroup,h=new Ft(y.segments,y.children);return this.expandSegmentGroup(this.injector,this.config,h,qt).pipe((0,pt.U)((G=>this.createUrlTree(jt(G),this.urlTree.queryParams,this.urlTree.fragment)))).pipe(br((G=>{if(G instanceof ri)return this.allowRedirects=!1,this.match(G.urlTree);throw G instanceof or?this.noMatchError(G):G})))}match(y){return this.expandSegmentGroup(this.injector,this.config,y.root,qt).pipe((0,pt.U)((T=>this.createUrlTree(jt(T),y.queryParams,y.fragment)))).pipe(br((T=>{throw T instanceof or?this.noMatchError(T):T})))}noMatchError(y){return new o.vHH(4002,Pn)}createUrlTree(y,h,w){const T=Yt(y);return new Sn(T,h,w)}expandSegmentGroup(y,h,w,T){return 0===w.segments.length&&w.hasChildren()?this.expandChildren(y,h,w).pipe((0,pt.U)((G=>new Ft([],G)))):this.expandSegment(y,w,h,w.segments,T,!0)}expandChildren(y,h,w){const T=[];for(const G of Object.keys(w.children))"primary"===G?T.unshift(G):T.push(G);return(0,p.D)(T).pipe((0,jn.b)((G=>{const ue=w.children[G],he=cs(h,G);return this.expandSegmentGroup(y,he,ue,G).pipe((0,pt.U)((Ve=>({segment:Ve,outlet:G}))))})),Oi(((G,ue)=>(G[ue.outlet]=ue.segment,G)),{}),Fr())}expandSegment(y,h,w,T,G,ue){return(0,p.D)(w).pipe((0,jn.b)((he=>this.expandSegmentAgainstRoute(y,h,w,he,T,G,ue).pipe(br((Et=>{if(Et instanceof or)return(0,A.of)(null);throw Et}))))),Zt((he=>!!he)),br(((he,Ve)=>{if(Ti(he))return Gt(h,T,G)?(0,A.of)(new Ft([],{})):sr(h);throw he})))}expandSegmentAgainstRoute(y,h,w,T,G,ue,he){return Ze(T,h,G,ue)?void 0===T.redirectTo?this.matchSegmentAgainstRoute(y,h,T,G,ue):he&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(y,h,w,T,G,ue):sr(h):sr(h)}expandSegmentAgainstRouteUsingRedirect(y,h,w,T,G,ue){return"**"===T.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(y,w,T,ue):this.expandRegularSegmentAgainstRouteUsingRedirect(y,h,w,T,G,ue)}expandWildCardWithParamsAgainstRouteUsingRedirect(y,h,w,T){const G=this.applyRedirectCommands([],w.redirectTo,{});return w.redirectTo.startsWith("/")?fs(G):this.lineralizeSegments(w,G).pipe((0,Rn.z)((ue=>{const he=new Ft(ue,{});return this.expandSegment(y,he,h,ue,T,!1)})))}expandRegularSegmentAgainstRouteUsingRedirect(y,h,w,T,G,ue){const{matched:he,consumedSegments:Ve,remainingSegments:Et,positionalParamSegments:Dn}=da(h,T,G);if(!he)return sr(h);const Vt=this.applyRedirectCommands(Ve,T.redirectTo,Dn);return T.redirectTo.startsWith("/")?fs(Vt):this.lineralizeSegments(T,Vt).pipe((0,Rn.z)((xr=>this.expandSegment(y,h,w,xr.concat(Et),ue,!1))))}matchSegmentAgainstRoute(y,h,w,T,G){return"**"===w.path?(y=ao(w,y),w.loadChildren?(w._loadedRoutes?(0,A.of)({routes:w._loadedRoutes,injector:w._loadedInjector}):this.configLoader.loadChildren(y,w)).pipe((0,pt.U)((he=>(w._loadedRoutes=he.routes,w._loadedInjector=he.injector,new Ft(T,{}))))):(0,A.of)(new Ft(T,{}))):Ia(h,w,T,y).pipe(Ot((({matched:ue,consumedSegments:he,remainingSegments:Ve})=>ue?this.getChildConfig(y=w._injector??y,w,T).pipe((0,Rn.z)((Dn=>{const Vt=Dn.injector??y,xr=Dn.routes,{segmentGroup:Ur,slicedSegments:wo}=Ra(h,he,Ve,xr),Ki=new Ft(Ur.segments,Ur.children);if(0===wo.length&&Ki.hasChildren())return this.expandChildren(Vt,xr,Ki).pipe((0,pt.U)((Ol=>new Ft(he,Ol))));if(0===xr.length&&0===wo.length)return(0,A.of)(new Ft(he,{}));const ii=Yi(w)===G;return this.expandSegment(Vt,Ki,xr,wo,ii?qt:G,!0).pipe((0,pt.U)((_a=>new Ft(he.concat(_a.segments),_a.children))))}))):sr(h))))}getChildConfig(y,h,w){return h.children?(0,A.of)({routes:h.children,injector:y}):h.loadChildren?void 0!==h._loadedRoutes?(0,A.of)({routes:h._loadedRoutes,injector:h._loadedInjector}):function zs(m,y,h,w){const T=y.canLoad;if(void 0===T||0===T.length)return(0,A.of)(!0);const G=T.map((ue=>{const he=Pr(ue,m);return It(function qe(m){return m&&M(m.canLoad)}(he)?he.canLoad(y,h):m.runInContext((()=>he(y,h))))}));return(0,A.of)(G).pipe(hi(),ko())}(y,h,w).pipe((0,Rn.z)((T=>T?this.configLoader.loadChildren(y,h).pipe(Nn((G=>{h._loadedRoutes=G.routes,h._loadedInjector=G.injector}))):function qi(m){return _t(ws(Pn,3))}()))):(0,A.of)({routes:[],injector:y})}lineralizeSegments(y,h){let w=[],T=h.root;for(;;){if(w=w.concat(T.segments),0===T.numberOfChildren)return(0,A.of)(w);if(T.numberOfChildren>1||!T.children[qt])return _t(new o.vHH(4e3,Pn));T=T.children[qt]}}applyRedirectCommands(y,h,w){return this.applyRedirectCreateUrlTree(h,this.urlSerializer.parse(h),y,w)}applyRedirectCreateUrlTree(y,h,w,T){const G=this.createSegmentGroup(y,h.root,w,T);return new Sn(G,this.createQueryParams(h.queryParams,this.urlTree.queryParams),h.fragment)}createQueryParams(y,h){const w={};return Mt(y,((T,G)=>{if("string"==typeof T&&T.startsWith(":")){const he=T.substring(1);w[G]=h[he]}else w[G]=T})),w}createSegmentGroup(y,h,w,T){const G=this.createSegments(y,h.segments,w,T);let ue={};return Mt(h.children,((he,Ve)=>{ue[Ve]=this.createSegmentGroup(y,he,w,T)})),new Ft(G,ue)}createSegments(y,h,w,T){return h.map((G=>G.path.startsWith(":")?this.findPosParam(y,G,T):this.findOrReturn(G,w)))}findPosParam(y,h,w){const T=w[h.path.substring(1)];if(!T)throw new o.vHH(4001,Pn);return T}findOrReturn(y,h){let w=0;for(const T of h){if(T.path===y.path)return h.splice(w),T;w++}return y}}class b{}class W{constructor(y,h,w,T,G,ue,he,Ve){this.injector=y,this.rootComponentType=h,this.config=w,this.urlTree=T,this.url=G,this.paramsInheritanceStrategy=ue,this.relativeLinkResolution=he,this.urlSerializer=Ve}recognize(){const y=Ra(this.urlTree.root,[],[],this.config.filter((h=>void 0===h.redirectTo)),this.relativeLinkResolution).segmentGroup;return this.processSegmentGroup(this.injector,this.config,y,qt).pipe((0,pt.U)((h=>{if(null===h)return null;const w=new ls([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},qt,this.rootComponentType,null,this.urlTree.root,-1,{}),T=new ni(w,h),G=new Cs(this.url,T);return this.inheritParamsAndData(G._root),G})))}inheritParamsAndData(y){const h=y.value,w=js(h,this.paramsInheritanceStrategy);h.params=Object.freeze(w.params),h.data=Object.freeze(w.data),y.children.forEach((T=>this.inheritParamsAndData(T)))}processSegmentGroup(y,h,w,T){return 0===w.segments.length&&w.hasChildren()?this.processChildren(y,h,w):this.processSegment(y,h,w,w.segments,T)}processChildren(y,h,w){return(0,p.D)(Object.keys(w.children)).pipe((0,jn.b)((T=>{const G=w.children[T],ue=cs(h,T);return this.processSegmentGroup(y,ue,G,T)})),Oi(((T,G)=>T&&G?(T.push(...G),T):null)),function Cr(m,y=!1){return(0,me.e)(((h,w)=>{let T=0;h.subscribe(new Se.Q(w,(G=>{const ue=m(G,T++);(ue||y)&&w.next(G),!ue&&w.complete()})))}))}((T=>null!==T)),gn(null),Fr(),(0,pt.U)((T=>{if(null===T)return null;const G=sn(T);return function _e(m){m.sort(((y,h)=>y.value.outlet===qt?-1:h.value.outlet===qt?1:y.value.outlet.localeCompare(h.value.outlet)))}(G),G})))}processSegment(y,h,w,T,G){return(0,p.D)(h).pipe((0,jn.b)((ue=>this.processSegmentAgainstRoute(ue._injector??y,ue,w,T,G))),Zt((ue=>!!ue)),br((ue=>{if(Ti(ue))return Gt(w,T,G)?(0,A.of)([]):(0,A.of)(null);throw ue})))}processSegmentAgainstRoute(y,h,w,T,G){if(h.redirectTo||!Ze(h,w,T,G))return(0,A.of)(null);let ue;if("**"===h.path){const he=T.length>0?it(T).parameters:{},Ve=nr(w)+T.length,Et=new ls(T,he,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Ir(h),Yi(h),h.component??h._loadedComponent??null,h,Zn(w),Ve,yr(h),Ve);ue=(0,A.of)({snapshot:Et,consumedSegments:[],remainingSegments:[]})}else ue=Ia(w,h,T,y).pipe((0,pt.U)((({matched:he,consumedSegments:Ve,remainingSegments:Et,parameters:Dn})=>{if(!he)return null;const Vt=nr(w)+Ve.length;return{snapshot:new ls(Ve,Dn,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Ir(h),Yi(h),h.component??h._loadedComponent??null,h,Zn(w),Vt,yr(h),Vt),consumedSegments:Ve,remainingSegments:Et}})));return ue.pipe(Ot((he=>{if(null===he)return(0,A.of)(null);const{snapshot:Ve,consumedSegments:Et,remainingSegments:Dn}=he;y=h._injector??y;const Vt=h._loadedInjector??y,xr=function ze(m){return m.children?m.children:m.loadChildren?m._loadedRoutes:[]}(h),{segmentGroup:Ur,slicedSegments:wo}=Ra(w,Et,Dn,xr.filter((ii=>void 0===ii.redirectTo)),this.relativeLinkResolution);if(0===wo.length&&Ur.hasChildren())return this.processChildren(Vt,xr,Ur).pipe((0,pt.U)((ii=>null===ii?null:[new ni(Ve,ii)])));if(0===xr.length&&0===wo.length)return(0,A.of)([new ni(Ve,[])]);const Ki=Yi(h)===G;return this.processSegment(Vt,xr,Ur,wo,Ki?qt:G).pipe((0,pt.U)((ii=>null===ii?null:[new ni(Ve,ii)])))})))}}function ht(m){const y=m.value.routeConfig;return y&&""===y.path&&void 0===y.redirectTo}function sn(m){const y=[],h=new Set;for(const w of m){if(!ht(w)){y.push(w);continue}const T=y.find((G=>w.value.routeConfig===G.value.routeConfig));void 0!==T?(T.children.push(...w.children),h.add(T)):y.push(w)}for(const w of h){const T=sn(w.children);y.push(new ni(w.value,T))}return y.filter((w=>!h.has(w)))}function Zn(m){let y=m;for(;y._sourceSegment;)y=y._sourceSegment;return y}function nr(m){let y=m,h=y._segmentIndexShift??0;for(;y._sourceSegment;)y=y._sourceSegment,h+=y._segmentIndexShift??0;return h-1}function Ir(m){return m.data||{}}function yr(m){return m.resolve||{}}function Ys(m){return"string"==typeof m.title||null===m.title}function Zs(m){return Ot((y=>{const h=m(y);return h?(0,p.D)(h).pipe((0,pt.U)((()=>y))):(0,A.of)(y)}))}let bl=(()=>{class m{buildTitle(h){let w,T=h.root;for(;void 0!==T;)w=this.getResolvedTitleForRoute(T)??w,T=T.children.find((G=>G.outlet===qt));return w}getResolvedTitleForRoute(h){return h.data[Kr]}}return m.ɵfac=function(h){return new(h||m)},m.ɵprov=o.Yz7({token:m,factory:function(){return(0,o.f3M)(to)},providedIn:"root"}),m})(),to=(()=>{class m extends bl{constructor(h){super(),this.title=h}updateTitle(h){const w=this.buildTitle(h);void 0!==w&&this.title.setTitle(w)}}return m.ɵfac=function(h){return new(h||m)(o.LFG(Dr.Dx))},m.ɵprov=o.Yz7({token:m,factory:m.ɵfac,providedIn:"root"}),m})();class xs{}class Na extends class il{shouldDetach(y){return!1}store(y,h){}shouldAttach(y){return!1}retrieve(y){return null}shouldReuseRoute(y,h){return y.routeConfig===h.routeConfig}}{}const Os=new o.OlP("",{providedIn:"root",factory:()=>({})}),pi=new o.OlP("ROUTES");let La=(()=>{class m{constructor(h,w){this.injector=h,this.compiler=w,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(h){if(this.componentLoaders.get(h))return this.componentLoaders.get(h);if(h._loadedComponent)return(0,A.of)(h._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(h);const w=It(h.loadComponent()).pipe(Nn((G=>{this.onLoadEndListener&&this.onLoadEndListener(h),h._loadedComponent=G})),(0,ei.x)((()=>{this.componentLoaders.delete(h)}))),T=new Te(w,(()=>new L.x)).pipe(je());return this.componentLoaders.set(h,T),T}loadChildren(h,w){if(this.childrenLoaders.get(w))return this.childrenLoaders.get(w);if(w._loadedRoutes)return(0,A.of)({routes:w._loadedRoutes,injector:w._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(w);const G=this.loadModuleFactoryOrRoutes(w.loadChildren).pipe((0,pt.U)((he=>{this.onLoadEndListener&&this.onLoadEndListener(w);let Ve,Et,Dn=!1;Array.isArray(he)?Et=he:(Ve=he.create(h).injector,Et=et(Ve.get(pi,[],o.XFs.Self|o.XFs.Optional)));return{routes:Et.map(Ds),injector:Ve}})),(0,ei.x)((()=>{this.childrenLoaders.delete(w)}))),ue=new Te(G,(()=>new L.x)).pipe(je());return this.childrenLoaders.set(w,ue),ue}loadModuleFactoryOrRoutes(h){return It(h()).pipe((0,Rn.z)((w=>w instanceof o.YKP||Array.isArray(w)?(0,A.of)(w):(0,p.D)(this.compiler.compileModuleAsync(w)))))}}return m.ɵfac=function(h){return new(h||m)(o.LFG(o.zs3),o.LFG(o.Sil))},m.ɵprov=o.Yz7({token:m,factory:m.ɵfac,providedIn:"root"}),m})();class Ql{}class Dl{shouldProcessUrl(y){return!0}extract(y){return y}merge(y,h){return y}}function qs(m){throw m}function hs(m,y,h){return y.parse("/")}const El={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ks={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function Po(){const m=(0,o.f3M)(ae),y=(0,o.f3M)(Ii),h=(0,o.f3M)(He.Ye),w=(0,o.f3M)(o.zs3),T=(0,o.f3M)(o.Sil),G=(0,o.f3M)(pi,{optional:!0})??[],ue=(0,o.f3M)(Os,{optional:!0})??{},he=(0,o.f3M)(to),Ve=(0,o.f3M)(bl,{optional:!0}),Et=(0,o.f3M)(Ql,{optional:!0}),Dn=(0,o.f3M)(xs,{optional:!0}),Vt=new ui(null,m,y,h,w,T,et(G));return Et&&(Vt.urlHandlingStrategy=Et),Dn&&(Vt.routeReuseStrategy=Dn),Vt.titleStrategy=Ve??he,function ha(m,y){m.errorHandler&&(y.errorHandler=m.errorHandler),m.malformedUriErrorHandler&&(y.malformedUriErrorHandler=m.malformedUriErrorHandler),m.onSameUrlNavigation&&(y.onSameUrlNavigation=m.onSameUrlNavigation),m.paramsInheritanceStrategy&&(y.paramsInheritanceStrategy=m.paramsInheritanceStrategy),m.relativeLinkResolution&&(y.relativeLinkResolution=m.relativeLinkResolution),m.urlUpdateStrategy&&(y.urlUpdateStrategy=m.urlUpdateStrategy),m.canceledNavigationResolution&&(y.canceledNavigationResolution=m.canceledNavigationResolution)}(ue,Vt),Vt}let ui=(()=>{class m{constructor(h,w,T,G,ue,he,Ve){this.rootComponentType=h,this.urlSerializer=w,this.rootContexts=T,this.location=G,this.config=Ve,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new L.x,this.errorHandler=qs,this.malformedUriErrorHandler=hs,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>(0,A.of)(void 0),this.urlHandlingStrategy=new Dl,this.routeReuseStrategy=new Na,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.configLoader=ue.get(La),this.configLoader.onLoadEndListener=xr=>this.triggerEvent(new oo(xr)),this.configLoader.onLoadStartListener=xr=>this.triggerEvent(new zi(xr)),this.ngModule=ue.get(o.h0i),this.console=ue.get(o.c2e);const Vt=ue.get(o.R0b);this.isNgZoneEnabled=Vt instanceof o.R0b&&o.R0b.isInAngularZone(),this.resetConfig(Ve),this.currentUrlTree=function wn(){return new Sn(new Ft([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=_r(this.currentUrlTree,this.rootComponentType),this.transitions=new I({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(h){const w=this.events;return h.pipe((0,en.h)((T=>0!==T.id)),(0,pt.U)((T=>({...T,extractedUrl:this.urlHandlingStrategy.extract(T.rawUrl)}))),Ot((T=>{let G=!1,ue=!1;return(0,A.of)(T).pipe(Nn((he=>{this.currentNavigation={id:he.id,initialUrl:he.rawUrl,extractedUrl:he.extractedUrl,trigger:he.source,extras:he.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}})),Ot((he=>{const Ve=this.browserUrlTree.toString(),Et=!this.navigated||he.extractedUrl.toString()!==Ve||Ve!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||Et)&&this.urlHandlingStrategy.shouldProcessUrl(he.rawUrl))return ol(he.source)&&(this.browserUrlTree=he.extractedUrl),(0,A.of)(he).pipe(Ot((Vt=>{const xr=this.transitions.getValue();return w.next(new ct(Vt.id,this.serializeUrl(Vt.extractedUrl),Vt.source,Vt.restoredState)),xr!==this.transitions.getValue()?ye.E:Promise.resolve(Vt)})),function Xi(m,y,h,w){return Ot((T=>function Ws(m,y,h,w,T){return new nl(m,y,h,w,T).apply()}(m,y,h,T.extractedUrl,w).pipe((0,pt.U)((G=>({...T,urlAfterRedirects:G}))))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),Nn((Vt=>{this.currentNavigation={...this.currentNavigation,finalUrl:Vt.urlAfterRedirects},T.urlAfterRedirects=Vt.urlAfterRedirects})),function Br(m,y,h,w,T,G){return(0,Rn.z)((ue=>function E(m,y,h,w,T,G,ue="emptyOnly",he="legacy"){return new W(m,y,h,w,T,ue,he,G).recognize().pipe(Ot((Ve=>null===Ve?function N(m){return new j.y((y=>y.error(m)))}(new b):(0,A.of)(Ve))))}(m,y,h,ue.urlAfterRedirects,w.serialize(ue.urlAfterRedirects),w,T,G).pipe((0,pt.U)((he=>({...ue,targetSnapshot:he}))))))}(this.ngModule.injector,this.rootComponentType,this.config,this.urlSerializer,this.paramsInheritanceStrategy,this.relativeLinkResolution),Nn((Vt=>{if(T.targetSnapshot=Vt.targetSnapshot,"eager"===this.urlUpdateStrategy){if(!Vt.extras.skipLocationChange){const Ur=this.urlHandlingStrategy.merge(Vt.urlAfterRedirects,Vt.rawUrl);this.setBrowserUrl(Ur,Vt)}this.browserUrlTree=Vt.urlAfterRedirects}const xr=new Lr(Vt.id,this.serializeUrl(Vt.extractedUrl),this.serializeUrl(Vt.urlAfterRedirects),Vt.targetSnapshot);w.next(xr)})));if(Et&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:xr,extractedUrl:Ur,source:wo,restoredState:Ki,extras:ii}=he,nu=new ct(xr,this.serializeUrl(Ur),wo,Ki);w.next(nu);const _a=_r(Ur,this.rootComponentType).snapshot;return T={...he,targetSnapshot:_a,urlAfterRedirects:Ur,extras:{...ii,skipLocationChange:!1,replaceUrl:!1}},(0,A.of)(T)}return this.rawUrlTree=he.rawUrl,he.resolve(null),ye.E})),Nn((he=>{const Ve=new Qr(he.id,this.serializeUrl(he.extractedUrl),this.serializeUrl(he.urlAfterRedirects),he.targetSnapshot);this.triggerEvent(Ve)})),(0,pt.U)((he=>T={...he,guards:wi(he.targetSnapshot,he.currentSnapshot,this.rootContexts)})),function ds(m,y){return(0,Rn.z)((h=>{const{targetSnapshot:w,currentSnapshot:T,guards:{canActivateChecks:G,canDeactivateChecks:ue}}=h;return 0===ue.length&&0===G.length?(0,A.of)({...h,guardsResult:!0}):function Cl(m,y,h,w){return(0,p.D)(m).pipe((0,Rn.z)((T=>function Aa(m,y,h,w,T){const G=y&&y.routeConfig?y.routeConfig.canDeactivate:null;if(!G||0===G.length)return(0,A.of)(!0);const ue=G.map((he=>{const Ve=Ni(y)??T,Et=Pr(he,Ve);return It(function wr(m){return m&&M(m.canDeactivate)}(Et)?Et.canDeactivate(m,y,h,w):Ve.runInContext((()=>Et(m,y,h,w)))).pipe(Zt())}));return(0,A.of)(ue).pipe(hi())}(T.component,T.route,h,y,w))),Zt((T=>!0!==T),!0))}(ue,w,T,m).pipe((0,Rn.z)((he=>he&&function K(m){return"boolean"==typeof m}(he)?function Es(m,y,h,w){return(0,p.D)(y).pipe((0,jn.b)((T=>Ge(function vo(m,y){return null!==m&&y&&y(new Ro(m)),(0,A.of)(!0)}(T.route.parent,w),function Ms(m,y){return null!==m&&y&&y(new Bs(m)),(0,A.of)(!0)}(T.route,w),function wl(m,y,h){const w=y[y.length-1],G=y.slice(0,y.length-1).reverse().map((ue=>function _o(m){const y=m.routeConfig?m.routeConfig.canActivateChild:null;return y&&0!==y.length?{node:m,guards:y}:null}(ue))).filter((ue=>null!==ue)).map((ue=>We((()=>{const he=ue.guards.map((Ve=>{const Et=Ni(ue.node)??h,Dn=Pr(Ve,Et);return It(function Mr(m){return m&&M(m.canActivateChild)}(Dn)?Dn.canActivateChild(w,m):Et.runInContext((()=>Dn(w,m)))).pipe(Zt())}));return(0,A.of)(he).pipe(hi())}))));return(0,A.of)(G).pipe(hi())}(m,T.path,h),function Ss(m,y,h){const w=y.routeConfig?y.routeConfig.canActivate:null;if(!w||0===w.length)return(0,A.of)(!0);const T=w.map((G=>We((()=>{const ue=Ni(y)??h,he=Pr(G,ue);return It(function Jt(m){return m&&M(m.canActivate)}(he)?he.canActivate(y,m):ue.runInContext((()=>he(y,m)))).pipe(Zt())}))));return(0,A.of)(T).pipe(hi())}(m,T.route,h)))),Zt((T=>!0!==T),!0))}(w,G,m,y):(0,A.of)(he))),(0,pt.U)((he=>({...h,guardsResult:he}))))}))}(this.ngModule.injector,(he=>this.triggerEvent(he))),Nn((he=>{if(T.guardsResult=he.guardsResult,dn(he.guardsResult))throw qo(0,he.guardsResult);const Ve=new kr(he.id,this.serializeUrl(he.extractedUrl),this.serializeUrl(he.urlAfterRedirects),he.targetSnapshot,!!he.guardsResult);this.triggerEvent(Ve)})),(0,en.h)((he=>!!he.guardsResult||(this.restoreHistory(he),this.cancelNavigationTransition(he,"",3),!1))),Zs((he=>{if(he.guards.canActivateChecks.length)return(0,A.of)(he).pipe(Nn((Ve=>{const Et=new yi(Ve.id,this.serializeUrl(Ve.extractedUrl),this.serializeUrl(Ve.urlAfterRedirects),Ve.targetSnapshot);this.triggerEvent(Et)})),Ot((Ve=>{let Et=!1;return(0,A.of)(Ve).pipe(function To(m,y){return(0,Rn.z)((h=>{const{targetSnapshot:w,guards:{canActivateChecks:T}}=h;if(!T.length)return(0,A.of)(h);let G=0;return(0,p.D)(T).pipe((0,jn.b)((ue=>function Pi(m,y,h,w){const T=m.routeConfig,G=m._resolve;return void 0!==T?.title&&!Ys(T)&&(G[Kr]=T.title),function eo(m,y,h,w){const T=function Di(m){return[...Object.keys(m),...Object.getOwnPropertySymbols(m)]}(m);if(0===T.length)return(0,A.of)({});const G={};return(0,p.D)(T).pipe((0,Rn.z)((ue=>function Ps(m,y,h,w){const T=Ni(y)??w,G=Pr(m,T);return It(G.resolve?G.resolve(y,h):T.runInContext((()=>G(y,h))))}(m[ue],y,h,w).pipe(Zt(),Nn((he=>{G[ue]=he}))))),$r(1),function qr(m){return(0,pt.U)((()=>m))}(G),br((ue=>Ti(ue)?ye.E:_t(ue))))}(G,m,y,w).pipe((0,pt.U)((ue=>(m._resolvedData=ue,m.data=js(m,h).resolve,T&&Ys(T)&&(m.data[Kr]=T.title),null))))}(ue.route,w,m,y))),Nn((()=>G++)),$r(1),(0,Rn.z)((ue=>G===T.length?(0,A.of)(h):ye.E)))}))}(this.paramsInheritanceStrategy,this.ngModule.injector),Nn({next:()=>Et=!0,complete:()=>{Et||(this.restoreHistory(Ve),this.cancelNavigationTransition(Ve,"",2))}}))})),Nn((Ve=>{const Et=new io(Ve.id,this.serializeUrl(Ve.extractedUrl),this.serializeUrl(Ve.urlAfterRedirects),Ve.targetSnapshot);this.triggerEvent(Et)})))})),Zs((he=>{const Ve=Et=>{const Dn=[];Et.routeConfig?.loadComponent&&!Et.routeConfig._loadedComponent&&Dn.push(this.configLoader.loadComponent(Et.routeConfig).pipe(Nn((Vt=>{Et.component=Vt})),(0,pt.U)((()=>{}))));for(const Vt of Et.children)Dn.push(...Ve(Vt));return Dn};return ft(Ve(he.targetSnapshot.root)).pipe(gn(),(0,Cn.q)(1))})),Zs((()=>this.afterPreactivation())),(0,pt.U)((he=>{const Ve=function la(m,y,h){const w=Wr(m,y._root,h?h._root:void 0);return new No(w,y)}(this.routeReuseStrategy,he.targetSnapshot,he.currentRouterState);return T={...he,targetRouterState:Ve}})),Nn((he=>{this.currentUrlTree=he.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(he.urlAfterRedirects,he.rawUrl),this.routerState=he.targetRouterState,"deferred"===this.urlUpdateStrategy&&(he.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,he),this.browserUrlTree=he.urlAfterRedirects)})),((m,y,h)=>(0,pt.U)((w=>(new ca(y,w.targetRouterState,w.currentRouterState,h).activate(m),w))))(this.rootContexts,this.routeReuseStrategy,(he=>this.triggerEvent(he))),Nn({next(){G=!0},complete(){G=!0}}),(0,ei.x)((()=>{G||ue||this.cancelNavigationTransition(T,"",1),this.currentNavigation?.id===T.id&&(this.currentNavigation=null)})),br((he=>{if(ue=!0,bs(he)){hr(he)||(this.navigated=!0,this.restoreHistory(T,!0));const Ve=new _n(T.id,this.serializeUrl(T.extractedUrl),he.message,he.cancellationCode);if(w.next(Ve),hr(he)){const Et=this.urlHandlingStrategy.merge(he.url,this.rawUrlTree),Dn={skipLocationChange:T.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||ol(T.source)};this.scheduleNavigation(Et,"imperative",null,Dn,{resolve:T.resolve,reject:T.reject,promise:T.promise})}else T.resolve(!1)}else{this.restoreHistory(T,!0);const Ve=new On(T.id,this.serializeUrl(T.extractedUrl),he,T.targetSnapshot??void 0);w.next(Ve);try{T.resolve(this.errorHandler(he))}catch(Et){T.reject(Et)}}return ye.E})))})))}resetRootComponentType(h){this.rootComponentType=h,this.routerState.root.component=this.rootComponentType}setTransition(h){this.transitions.next({...this.transitions.value,...h})}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe((h=>{const w="popstate"===h.type?"popstate":"hashchange";"popstate"===w&&setTimeout((()=>{const T={replaceUrl:!0},G=h.state?.navigationId?h.state:null;if(G){const he={...G};delete he.navigationId,delete he.ɵrouterPageId,0!==Object.keys(he).length&&(T.state=he)}const ue=this.parseUrl(h.url);this.scheduleNavigation(ue,w,G,T)}),0)})))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(h){this.events.next(h)}resetConfig(h){this.config=h.map(Ds),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(h,w={}){const{relativeTo:T,queryParams:G,fragment:ue,queryParamsHandling:he,preserveFragment:Ve}=w,Et=T||this.routerState.root,Dn=Ve?this.currentUrlTree.fragment:ue;let Vt=null;switch(he){case"merge":Vt={...this.currentUrlTree.queryParams,...G};break;case"preserve":Vt=this.currentUrlTree.queryParams;break;default:Vt=G||null}return null!==Vt&&(Vt=this.removeEmptyProps(Vt)),Ar(Et,this.currentUrlTree,h,Vt,Dn??null)}navigateByUrl(h,w={skipLocationChange:!1}){const T=dn(h)?h:this.parseUrl(h),G=this.urlHandlingStrategy.merge(T,this.rawUrlTree);return this.scheduleNavigation(G,"imperative",null,w)}navigate(h,w={skipLocationChange:!1}){return function Qs(m){for(let y=0;y<m.length;y++){if(null==m[y])throw new o.vHH(4008,false)}}(h),this.navigateByUrl(this.createUrlTree(h,w),w)}serializeUrl(h){return this.urlSerializer.serialize(h)}parseUrl(h){let w;try{w=this.urlSerializer.parse(h)}catch(T){w=this.malformedUriErrorHandler(T,this.urlSerializer,h)}return w}isActive(h,w){let T;if(T=!0===w?{...El}:!1===w?{...Ks}:w,dn(h))return mn(this.currentUrlTree,h,T);const G=this.parseUrl(h);return mn(this.currentUrlTree,G,T)}removeEmptyProps(h){return Object.keys(h).reduce(((w,T)=>{const G=h[T];return null!=G&&(w[T]=G),w}),{})}processNavigations(){this.navigations.subscribe((h=>{this.navigated=!0,this.lastSuccessfulId=h.id,this.currentPageId=h.targetPageId,this.events.next(new dt(h.id,this.serializeUrl(h.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.titleStrategy?.updateTitle(this.routerState.snapshot),h.resolve(!0)}),(h=>{this.console.warn(`Unhandled Navigation Error: ${h}`)}))}scheduleNavigation(h,w,T,G,ue){if(this.disposed)return Promise.resolve(!1);let he,Ve,Et;ue?(he=ue.resolve,Ve=ue.reject,Et=ue.promise):Et=new Promise(((xr,Ur)=>{he=xr,Ve=Ur}));const Dn=++this.navigationId;let Vt;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(T=this.location.getState()),Vt=T&&T.ɵrouterPageId?T.ɵrouterPageId:G.replaceUrl||G.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):Vt=0,this.setTransition({id:Dn,targetPageId:Vt,source:w,restoredState:T,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:h,extras:G,resolve:he,reject:Ve,promise:Et,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Et.catch((xr=>Promise.reject(xr)))}setBrowserUrl(h,w){const T=this.urlSerializer.serialize(h),G={...w.extras.state,...this.generateNgRouterState(w.id,w.targetPageId)};this.location.isCurrentPathEqualTo(T)||w.extras.replaceUrl?this.location.replaceState(T,"",G):this.location.go(T,"",G)}restoreHistory(h,w=!1){if("computed"===this.canceledNavigationResolution){const T=this.currentPageId-h.targetPageId;"popstate"!==h.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.currentNavigation?.finalUrl||0===T?this.currentUrlTree===this.currentNavigation?.finalUrl&&0===T&&(this.resetState(h),this.browserUrlTree=h.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(T)}else"replace"===this.canceledNavigationResolution&&(w&&this.resetState(h),this.resetUrlToCurrentUrlTree())}resetState(h){this.routerState=h.currentRouterState,this.currentUrlTree=h.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,h.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(h,w,T){const G=new _n(h.id,this.serializeUrl(h.extractedUrl),w,T);this.triggerEvent(G),h.resolve(!1)}generateNgRouterState(h,w){return"computed"===this.canceledNavigationResolution?{navigationId:h,"ɵrouterPageId":w}:{navigationId:h}}}return m.ɵfac=function(h){o.$Z()},m.ɵprov=o.Yz7({token:m,factory:function(){return Po()},providedIn:"root"}),m})();function ol(m){return"imperative"!==m}let sl=(()=>{class m{constructor(h,w,T,G,ue){this.router=h,this.route=w,this.tabIndexAttribute=T,this.renderer=G,this.el=ue,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.commands=null,this.onChanges=new L.x,this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(h){this._preserveFragment=(0,o.D6c)(h)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(h){this._skipLocationChange=(0,o.D6c)(h)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(h){this._replaceUrl=(0,o.D6c)(h)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(h){if(null!=this.tabIndexAttribute)return;const w=this.renderer,T=this.el.nativeElement;null!==h?w.setAttribute(T,"tabindex",h):w.removeAttribute(T,"tabindex")}ngOnChanges(h){this.onChanges.next(this)}set routerLink(h){null!=h?(this.commands=Array.isArray(h)?h:[h],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){return null===this.urlTree||this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!0}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 m.ɵfac=function(h){return new(h||m)(o.Y36(ui),o.Y36(so),o.$8M("tabindex"),o.Y36(o.Qsj),o.Y36(o.SBq))},m.ɵdir=o.lG2({type:m,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(h,w){1&h&&o.NdJ("click",(function(){return w.onClick()}))},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[o.TTD]}),m})(),Va=(()=>{class m{constructor(h,w,T){this.router=h,this.route=w,this.locationStrategy=T,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.commands=null,this.href=null,this.onChanges=new L.x,this.subscription=h.events.subscribe((G=>{G instanceof dt&&this.updateTargetUrlAndHref()}))}set preserveFragment(h){this._preserveFragment=(0,o.D6c)(h)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(h){this._skipLocationChange=(0,o.D6c)(h)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(h){this._replaceUrl=(0,o.D6c)(h)}get replaceUrl(){return this._replaceUrl}set routerLink(h){this.commands=null!=h?Array.isArray(h)?h:[h]:null}ngOnChanges(h){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(h,w,T,G,ue){return!!(0!==h||w||T||G||ue||"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 m.ɵfac=function(h){return new(h||m)(o.Y36(ui),o.Y36(so),o.Y36(He.S$))},m.ɵdir=o.lG2({type:m,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(h,w){1&h&&o.NdJ("click",(function(G){return w.onClick(G.button,G.ctrlKey,G.shiftKey,G.altKey,G.metaKey)})),2&h&&o.uIk("target",w.target)("href",w.href,o.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:[o.TTD]}),m})();class Vo{}let J=(()=>{class m{constructor(h,w,T,G,ue){this.router=h,this.injector=T,this.preloadingStrategy=G,this.loader=ue}setUpPreloading(){this.subscription=this.router.events.pipe((0,en.h)((h=>h instanceof dt)),(0,jn.b)((()=>this.preload()))).subscribe((()=>{}))}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(h,w){const T=[];for(const G of w){G.providers&&!G._injector&&(G._injector=(0,o.MMx)(G.providers,h,`Route: ${G.path}`));const ue=G._injector??h,he=G._loadedInjector??ue;G.loadChildren&&!G._loadedRoutes&&void 0===G.canLoad||G.loadComponent&&!G._loadedComponent?T.push(this.preloadConfig(ue,G)):(G.children||G._loadedRoutes)&&T.push(this.processRoutes(he,G.children??G._loadedRoutes))}return(0,p.D)(T).pipe((0,rt.J)())}preloadConfig(h,w){return this.preloadingStrategy.preload(w,(()=>{let T;T=w.loadChildren&&void 0===w.canLoad?this.loader.loadChildren(h,w):(0,A.of)(null);const G=T.pipe((0,Rn.z)((ue=>null===ue?(0,A.of)(void 0):(w._loadedRoutes=ue.routes,w._loadedInjector=ue.injector,this.processRoutes(ue.injector??h,ue.routes)))));if(w.loadComponent&&!w._loadedComponent){const ue=this.loader.loadComponent(w);return(0,p.D)([G,ue]).pipe((0,rt.J)())}return G}))}}return m.ɵfac=function(h){return new(h||m)(o.LFG(ui),o.LFG(o.Sil),o.LFG(o.lqb),o.LFG(Vo),o.LFG(La))},m.ɵprov=o.Yz7({token:m,factory:m.ɵfac,providedIn:"root"}),m})();const Yr=new o.OlP("");let Rr=(()=>{class m{constructor(h,w,T={}){this.router=h,this.viewportScroller=w,this.options=T,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},T.scrollPositionRestoration=T.scrollPositionRestoration||"disabled",T.anchorScrolling=T.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((h=>{h instanceof ct?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=h.navigationTrigger,this.restoredId=h.restoredState?h.restoredState.navigationId:0):h instanceof dt&&(this.lastId=h.id,this.scheduleScrollEvent(h,this.router.parseUrl(h.urlAfterRedirects).fragment))}))}consumeScrollEvents(){return this.router.events.subscribe((h=>{h instanceof Us&&(h.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(h.position):h.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(h.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))}))}scheduleScrollEvent(h,w){this.router.triggerEvent(new Us(h,"popstate"===this.lastSource?this.store[this.restoredId]:null,w))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return m.ɵfac=function(h){o.$Z()},m.ɵprov=o.Yz7({token:m,factory:m.ɵfac}),m})();function no(m,y){return{"ɵkind":m,"ɵproviders":y}}function Tl(m){return[{provide:pi,multi:!0,useValue:m}]}function Jl(){const m=(0,o.f3M)(o.zs3);return y=>{const h=m.get(o.z2F);if(y!==h.components[0])return;const w=m.get(ui),T=m.get(Xl);1===m.get(eu)&&w.initialNavigation(),m.get(gi,null,o.XFs.Optional)?.setUpPreloading(),m.get(Yr,null,o.XFs.Optional)?.init(),w.resetRootComponentType(h.componentTypes[0]),T.closed||(T.next(),T.unsubscribe())}}const Xl=new o.OlP("",{factory:()=>new L.x}),eu=new o.OlP("",{providedIn:"root",factory:()=>1});const gi=new o.OlP("");function Pl(m){return no(0,[{provide:gi,useExisting:J},{provide:Vo,useExisting:m}])}const Jr=new o.OlP("ROUTER_FORROOT_GUARD"),ns=[He.Ye,{provide:ae,useClass:Ie},{provide:ui,useFactory:Po},Ii,{provide:so,useFactory:function Au(m){return m.routerState.root},deps:[ui]},La];function ga(){return new o.PXZ("Router",ui)}let Ha=(()=>{class m{constructor(h){}static forRoot(h,w){return{ngModule:m,providers:[ns,[],Tl(h),{provide:Jr,useFactory:Rs,deps:[[ui,new o.FiY,new o.tp0]]},{provide:Os,useValue:w||{}},w?.useHash?{provide:He.S$,useClass:He.Do}:{provide:He.S$,useClass:He.b0},{provide:Yr,useFactory:()=>{const m=(0,o.f3M)(ui),y=(0,o.f3M)(He.EM),h=(0,o.f3M)(Os);return h.scrollOffset&&y.setOffset(h.scrollOffset),new Rr(m,y,h)}},w?.preloadingStrategy?Pl(w.preloadingStrategy).ɵproviders:[],{provide:o.PXZ,multi:!0,useFactory:ga},w?.initialNavigation?Ru(w):[],[{provide:xo,useFactory:Jl},{provide:o.tb,multi:!0,useExisting:xo}]]}}static forChild(h){return{ngModule:m,providers:[Tl(h)]}}}return m.ɵfac=function(h){return new(h||m)(o.LFG(Jr,8))},m.ɵmod=o.oAB({type:m}),m.ɵinj=o.cJS({imports:[Gr]}),m})();function Rs(m){return"guarded"}function Ru(m){return["disabled"===m.initialNavigation?no(3,[{provide:o.ip1,multi:!0,useFactory:()=>{const y=(0,o.f3M)(ui);return()=>{y.setUpLocationChangeListener()}}},{provide:eu,useValue:2}]).ɵproviders:[],"enabledBlocking"===m.initialNavigation?no(2,[{provide:eu,useValue:0},{provide:o.ip1,multi:!0,deps:[o.zs3],useFactory:y=>{const h=y.get(He.V_,Promise.resolve());let w=!1;return()=>h.then((()=>new Promise((G=>{const ue=y.get(ui),he=y.get(Xl);(function T(G){y.get(ui).events.pipe((0,en.h)((he=>he instanceof dt||he instanceof _n||he instanceof On)),(0,pt.U)((he=>he instanceof dt||he instanceof _n&&(0===he.code||1===he.code)&&null)),(0,en.h)((he=>null!==he)),(0,Cn.q)(1)).subscribe((()=>{G()}))})((()=>{G(!0),w=!0})),ue.afterPreactivation=()=>(G(!0),w||he.closed?(0,A.of)(void 0):he),ue.initialNavigation()}))))}}]).ɵproviders:[]]}const xo=new o.OlP("")},3327:(Z,F,v)=>{"use strict";v.d(F,{au:()=>cn,A4:()=>Lt});var o=v(1571),p=v(6895),A=v(9646),L=v(9751),I=v(4351),B=v(9300),V=v(4004);class j{}class te{}class U{constructor(re){this.normalizedNames=new Map,this.lazyUpdate=null,re?this.lazyInit="string"==typeof re?()=>{this.headers=new Map,re.split("\n").forEach((ae=>{const Ie=ae.indexOf(":");if(Ie>0){const $e=ae.slice(0,Ie),Ut=$e.toLowerCase(),tn=ae.slice(Ie+1).trim();this.maybeSetNormalizedName($e,Ut),this.headers.has(Ut)?this.headers.get(Ut).push(tn):this.headers.set(Ut,[tn])}}))}:()=>{this.headers=new Map,Object.keys(re).forEach((ae=>{let Ie=re[ae];const $e=ae.toLowerCase();"string"==typeof Ie&&(Ie=[Ie]),Ie.length>0&&(this.headers.set($e,Ie),this.maybeSetNormalizedName(ae,$e))}))}:this.headers=new Map}has(re){return this.init(),this.headers.has(re.toLowerCase())}get(re){this.init();const ae=this.headers.get(re.toLowerCase());return ae&&ae.length>0?ae[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(re){return this.init(),this.headers.get(re.toLowerCase())||null}append(re,ae){return this.clone({name:re,value:ae,op:"a"})}set(re,ae){return this.clone({name:re,value:ae,op:"s"})}delete(re,ae){return this.clone({name:re,value:ae,op:"d"})}maybeSetNormalizedName(re,ae){this.normalizedNames.has(ae)||this.normalizedNames.set(ae,re)}init(){this.lazyInit&&(this.lazyInit instanceof U?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach((re=>this.applyUpdate(re))),this.lazyUpdate=null))}copyFrom(re){re.init(),Array.from(re.headers.keys()).forEach((ae=>{this.headers.set(ae,re.headers.get(ae)),this.normalizedNames.set(ae,re.normalizedNames.get(ae))}))}clone(re){const ae=new U;return ae.lazyInit=this.lazyInit&&this.lazyInit instanceof U?this.lazyInit:this,ae.lazyUpdate=(this.lazyUpdate||[]).concat([re]),ae}applyUpdate(re){const ae=re.name.toLowerCase();switch(re.op){case"a":case"s":let Ie=re.value;if("string"==typeof Ie&&(Ie=[Ie]),0===Ie.length)return;this.maybeSetNormalizedName(re.name,ae);const $e=("a"===re.op?this.headers.get(ae):void 0)||[];$e.push(...Ie),this.headers.set(ae,$e);break;case"d":const Ut=re.value;if(Ut){let tn=this.headers.get(ae);if(!tn)return;tn=tn.filter((un=>-1===Ut.indexOf(un))),0===tn.length?(this.headers.delete(ae),this.normalizedNames.delete(ae)):this.headers.set(ae,tn)}else this.headers.delete(ae),this.normalizedNames.delete(ae)}}forEach(re){this.init(),Array.from(this.normalizedNames.keys()).forEach((ae=>re(this.normalizedNames.get(ae),this.headers.get(ae))))}}class oe{encodeKey(re){return ft(re)}encodeValue(re){return ft(re)}decodeKey(re){return decodeURIComponent(re)}decodeValue(re){return decodeURIComponent(re)}}const Se=/%(\d[a-f0-9])/gi,xe={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ft(Pe){return encodeURIComponent(Pe).replace(Se,((re,ae)=>xe[ae]??re))}function Be(Pe){return`${Pe}`}class Ke{constructor(re={}){if(this.updates=null,this.cloneFrom=null,this.encoder=re.encoder||new oe,re.fromString){if(re.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function De(Pe,re){const ae=new Map;return Pe.length>0&&Pe.replace(/^\?/,"").split("&").forEach(($e=>{const Ut=$e.indexOf("="),[tn,un]=-1==Ut?[re.decodeKey($e),""]:[re.decodeKey($e.slice(0,Ut)),re.decodeValue($e.slice(Ut+1))],nn=ae.get(tn)||[];nn.push(un),ae.set(tn,nn)})),ae}(re.fromString,this.encoder)}else re.fromObject?(this.map=new Map,Object.keys(re.fromObject).forEach((ae=>{const Ie=re.fromObject[ae],$e=Array.isArray(Ie)?Ie.map(Be):[Be(Ie)];this.map.set(ae,$e)}))):this.map=null}has(re){return this.init(),this.map.has(re)}get(re){this.init();const ae=this.map.get(re);return ae?ae[0]:null}getAll(re){return this.init(),this.map.get(re)||null}keys(){return this.init(),Array.from(this.map.keys())}append(re,ae){return this.clone({param:re,value:ae,op:"a"})}appendAll(re){const ae=[];return Object.keys(re).forEach((Ie=>{const $e=re[Ie];Array.isArray($e)?$e.forEach((Ut=>{ae.push({param:Ie,value:Ut,op:"a"})})):ae.push({param:Ie,value:$e,op:"a"})})),this.clone(ae)}set(re,ae){return this.clone({param:re,value:ae,op:"s"})}delete(re,ae){return this.clone({param:re,value:ae,op:"d"})}toString(){return this.init(),this.keys().map((re=>{const ae=this.encoder.encodeKey(re);return this.map.get(re).map((Ie=>ae+"="+this.encoder.encodeValue(Ie))).join("&")})).filter((re=>""!==re)).join("&")}clone(re){const ae=new Ke({encoder:this.encoder});return ae.cloneFrom=this.cloneFrom||this,ae.updates=(this.updates||[]).concat(re),ae}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach((re=>this.map.set(re,this.cloneFrom.map.get(re)))),this.updates.forEach((re=>{switch(re.op){case"a":case"s":const ae=("a"===re.op?this.map.get(re.param):void 0)||[];ae.push(Be(re.value)),this.map.set(re.param,ae);break;case"d":if(void 0===re.value){this.map.delete(re.param);break}{let Ie=this.map.get(re.param)||[];const $e=Ie.indexOf(Be(re.value));-1!==$e&&Ie.splice($e,1),Ie.length>0?this.map.set(re.param,Ie):this.map.delete(re.param)}}})),this.cloneFrom=this.updates=null)}}class nt{constructor(){this.map=new Map}set(re,ae){return this.map.set(re,ae),this}get(re){return this.map.has(re)||this.map.set(re,re.defaultValue()),this.map.get(re)}delete(re){return this.map.delete(re),this}has(re){return this.map.has(re)}keys(){return this.map.keys()}}function Me(Pe){return typeof ArrayBuffer<"u"&&Pe instanceof ArrayBuffer}function We(Pe){return typeof Blob<"u"&&Pe instanceof Blob}function Xt(Pe){return typeof FormData<"u"&&Pe instanceof FormData}class _t{constructor(re,ae,Ie,$e){let Ut;if(this.url=ae,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=re.toUpperCase(),function Ge(Pe){switch(Pe){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||$e?(this.body=void 0!==Ie?Ie:null,Ut=$e):Ut=Ie,Ut&&(this.reportProgress=!!Ut.reportProgress,this.withCredentials=!!Ut.withCredentials,Ut.responseType&&(this.responseType=Ut.responseType),Ut.headers&&(this.headers=Ut.headers),Ut.context&&(this.context=Ut.context),Ut.params&&(this.params=Ut.params)),this.headers||(this.headers=new U),this.context||(this.context=new nt),this.params){const tn=this.params.toString();if(0===tn.length)this.urlWithParams=ae;else{const un=ae.indexOf("?");this.urlWithParams=ae+(-1===un?"?":un<ae.length-1?"&":"")+tn}}else this.params=new Ke,this.urlWithParams=ae}serializeBody(){return null===this.body?null:Me(this.body)||We(this.body)||Xt(this.body)||function yt(Pe){return typeof URLSearchParams<"u"&&Pe instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof Ke?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||Xt(this.body)?null:We(this.body)?this.body.type||null:Me(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Ke?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(re={}){const ae=re.method||this.method,Ie=re.url||this.url,$e=re.responseType||this.responseType,Ut=void 0!==re.body?re.body:this.body,tn=void 0!==re.withCredentials?re.withCredentials:this.withCredentials,un=void 0!==re.reportProgress?re.reportProgress:this.reportProgress;let nn=re.headers||this.headers,$t=re.params||this.params;const Ce=re.context??this.context;return void 0!==re.setHeaders&&(nn=Object.keys(re.setHeaders).reduce(((de,ne)=>de.set(ne,re.setHeaders[ne])),nn)),re.setParams&&($t=Object.keys(re.setParams).reduce(((de,ne)=>de.set(ne,re.setParams[ne])),$t)),new _t(ae,Ie,Ut,{params:$t,headers:nn,context:Ce,reportProgress:un,responseType:$e,withCredentials:tn})}}var ye=(()=>((ye=ye||{})[ye.Sent=0]="Sent",ye[ye.UploadProgress=1]="UploadProgress",ye[ye.ResponseHeader=2]="ResponseHeader",ye[ye.DownloadProgress=3]="DownloadProgress",ye[ye.Response=4]="Response",ye[ye.User=5]="User",ye))();class ee{constructor(re,ae=200,Ie="OK"){this.headers=re.headers||new U,this.status=void 0!==re.status?re.status:ae,this.statusText=re.statusText||Ie,this.url=re.url||null,this.ok=this.status>=200&&this.status<300}}class me extends ee{constructor(re={}){super(re),this.type=ye.ResponseHeader}clone(re={}){return new me({headers:re.headers||this.headers,status:void 0!==re.status?re.status:this.status,statusText:re.statusText||this.statusText,url:re.url||this.url||void 0})}}class je extends ee{constructor(re={}){super(re),this.type=ye.Response,this.body=void 0!==re.body?re.body:null}clone(re={}){return new je({body:void 0!==re.body?re.body:this.body,headers:re.headers||this.headers,status:void 0!==re.status?re.status:this.status,statusText:re.statusText||this.statusText,url:re.url||this.url||void 0})}}class Te extends ee{constructor(re){super(re,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${re.url||"(unknown url)"}`:`Http failure response for ${re.url||"(unknown url)"}: ${re.status} ${re.statusText}`,this.error=re.error||null}}function He(Pe,re){return{body:re,headers:Pe.headers,context:Pe.context,observe:Pe.observe,params:Pe.params,reportProgress:Pe.reportProgress,responseType:Pe.responseType,withCredentials:Pe.withCredentials}}let pt=(()=>{class Pe{constructor(ae){this.handler=ae}request(ae,Ie,$e={}){let Ut;if(ae instanceof _t)Ut=ae;else{let nn,$t;nn=$e.headers instanceof U?$e.headers:new U($e.headers),$e.params&&($t=$e.params instanceof Ke?$e.params:new Ke({fromObject:$e.params})),Ut=new _t(ae,Ie,void 0!==$e.body?$e.body:null,{headers:nn,context:$e.context,params:$t,reportProgress:$e.reportProgress,responseType:$e.responseType||"json",withCredentials:$e.withCredentials})}const tn=(0,A.of)(Ut).pipe((0,I.b)((nn=>this.handler.handle(nn))));if(ae instanceof _t||"events"===$e.observe)return tn;const un=tn.pipe((0,B.h)((nn=>nn instanceof je)));switch($e.observe||"body"){case"body":switch(Ut.responseType){case"arraybuffer":return un.pipe((0,V.U)((nn=>{if(null!==nn.body&&!(nn.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return nn.body})));case"blob":return un.pipe((0,V.U)((nn=>{if(null!==nn.body&&!(nn.body instanceof Blob))throw new Error("Response is not a Blob.");return nn.body})));case"text":return un.pipe((0,V.U)((nn=>{if(null!==nn.body&&"string"!=typeof nn.body)throw new Error("Response is not a string.");return nn.body})));default:return un.pipe((0,V.U)((nn=>nn.body)))}case"response":return un;default:throw new Error(`Unreachable: unhandled observe type ${$e.observe}}`)}}delete(ae,Ie={}){return this.request("DELETE",ae,Ie)}get(ae,Ie={}){return this.request("GET",ae,Ie)}head(ae,Ie={}){return this.request("HEAD",ae,Ie)}jsonp(ae,Ie){return this.request("JSONP",ae,{params:(new Ke).append(Ie,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(ae,Ie={}){return this.request("OPTIONS",ae,Ie)}patch(ae,Ie,$e={}){return this.request("PATCH",ae,He($e,Ie))}post(ae,Ie,$e={}){return this.request("POST",ae,He($e,Ie))}put(ae,Ie,$e={}){return this.request("PUT",ae,He($e,Ie))}}return Pe.ɵfac=function(ae){return new(ae||Pe)(o.LFG(j))},Pe.ɵprov=o.Yz7({token:Pe,factory:Pe.ɵfac}),Pe})();class Ot{constructor(re,ae){this.next=re,this.interceptor=ae}handle(re){return this.interceptor.intercept(re,this.next)}}const Cn=new o.OlP("HTTP_INTERCEPTORS");let Wt=(()=>{class Pe{intercept(ae,Ie){return Ie.handle(ae)}}return Pe.ɵfac=function(ae){return new(ae||Pe)},Pe.ɵprov=o.Yz7({token:Pe,factory:Pe.ɵfac}),Pe})();const cr=/^\)\]\}',?\n/;let $r=(()=>{class Pe{constructor(ae){this.xhrFactory=ae}handle(ae){if("JSONP"===ae.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new L.y((Ie=>{const $e=this.xhrFactory.build();if($e.open(ae.method,ae.urlWithParams),ae.withCredentials&&($e.withCredentials=!0),ae.headers.forEach(((z,se)=>$e.setRequestHeader(z,se.join(",")))),ae.headers.has("Accept")||$e.setRequestHeader("Accept","application/json, text/plain, */*"),!ae.headers.has("Content-Type")){const z=ae.detectContentTypeHeader();null!==z&&$e.setRequestHeader("Content-Type",z)}if(ae.responseType){const z=ae.responseType.toLowerCase();$e.responseType="json"!==z?z:"text"}const Ut=ae.serializeBody();let tn=null;const un=()=>{if(null!==tn)return tn;const z=$e.statusText||"OK",se=new U($e.getAllResponseHeaders()),Oe=function Oi(Pe){return"responseURL"in Pe&&Pe.responseURL?Pe.responseURL:/^X-Request-URL:/m.test(Pe.getAllResponseHeaders())?Pe.getResponseHeader("X-Request-URL"):null}($e)||ae.url;return tn=new me({headers:se,status:$e.status,statusText:z,url:Oe}),tn},nn=()=>{let{headers:z,status:se,statusText:Oe,url:tt}=un(),At=null;204!==se&&(At=typeof $e.response>"u"?$e.responseText:$e.response),0===se&&(se=At?200:0);let ot=se>=200&&se<300;if("json"===ae.responseType&&"string"==typeof At){const Dt=At;At=At.replace(cr,"");try{At=""!==At?JSON.parse(At):null}catch(Ue){At=Dt,ot&&(ot=!1,At={error:Ue,text:At})}}ot?(Ie.next(new je({body:At,headers:z,status:se,statusText:Oe,url:tt||void 0})),Ie.complete()):Ie.error(new Te({error:At,headers:z,status:se,statusText:Oe,url:tt||void 0}))},$t=z=>{const{url:se}=un(),Oe=new Te({error:z,status:$e.status||0,statusText:$e.statusText||"Unknown Error",url:se||void 0});Ie.error(Oe)};let Ce=!1;const de=z=>{Ce||(Ie.next(un()),Ce=!0);let se={type:ye.DownloadProgress,loaded:z.loaded};z.lengthComputable&&(se.total=z.total),"text"===ae.responseType&&!!$e.responseText&&(se.partialText=$e.responseText),Ie.next(se)},ne=z=>{let se={type:ye.UploadProgress,loaded:z.loaded};z.lengthComputable&&(se.total=z.total),Ie.next(se)};return $e.addEventListener("load",nn),$e.addEventListener("error",$t),$e.addEventListener("timeout",$t),$e.addEventListener("abort",$t),ae.reportProgress&&($e.addEventListener("progress",de),null!==Ut&&$e.upload&&$e.upload.addEventListener("progress",ne)),$e.send(Ut),Ie.next({type:ye.Sent}),()=>{$e.removeEventListener("error",$t),$e.removeEventListener("abort",$t),$e.removeEventListener("load",nn),$e.removeEventListener("timeout",$t),ae.reportProgress&&($e.removeEventListener("progress",de),null!==Ut&&$e.upload&&$e.upload.removeEventListener("progress",ne)),$e.readyState!==$e.DONE&&$e.abort()}}))}}return Pe.ɵfac=function(ae){return new(ae||Pe)(o.LFG(p.JF))},Pe.ɵprov=o.Yz7({token:Pe,factory:Pe.ɵfac}),Pe})();const Fr=new o.OlP("XSRF_COOKIE_NAME"),Cr=new o.OlP("XSRF_HEADER_NAME");class qr{}let ei=(()=>{class Pe{constructor(ae,Ie,$e){this.doc=ae,this.platform=Ie,this.cookieName=$e,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const ae=this.doc.cookie||"";return ae!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,p.Mx)(ae,this.cookieName),this.lastCookieString=ae),this.lastToken}}return Pe.ɵfac=function(ae){return new(ae||Pe)(o.LFG(p.K0),o.LFG(o.Lbi),o.LFG(Fr))},Pe.ɵprov=o.Yz7({token:Pe,factory:Pe.ɵfac}),Pe})(),Dr=(()=>{class Pe{constructor(ae,Ie){this.tokenService=ae,this.headerName=Ie}intercept(ae,Ie){const $e=ae.url.toLowerCase();if("GET"===ae.method||"HEAD"===ae.method||$e.startsWith("http://")||$e.startsWith("https://"))return Ie.handle(ae);const Ut=this.tokenService.getToken();return null!==Ut&&!ae.headers.has(this.headerName)&&(ae=ae.clone({headers:ae.headers.set(this.headerName,Ut)})),Ie.handle(ae)}}return Pe.ɵfac=function(ae){return new(ae||Pe)(o.LFG(qr),o.LFG(Cr))},Pe.ɵprov=o.Yz7({token:Pe,factory:Pe.ɵfac}),Pe})(),qt=(()=>{class Pe{constructor(ae,Ie){this.backend=ae,this.injector=Ie,this.chain=null}handle(ae){if(null===this.chain){const Ie=this.injector.get(Cn,[]);this.chain=Ie.reduceRight((($e,Ut)=>new Ot($e,Ut)),this.backend)}return this.chain.handle(ae)}}return Pe.ɵfac=function(ae){return new(ae||Pe)(o.LFG(te),o.LFG(o.zs3))},Pe.ɵprov=o.Yz7({token:Pe,factory:Pe.ɵfac}),Pe})(),pe=(()=>{class Pe{static disable(){return{ngModule:Pe,providers:[{provide:Dr,useClass:Wt}]}}static withOptions(ae={}){return{ngModule:Pe,providers:[ae.cookieName?{provide:Fr,useValue:ae.cookieName}:[],ae.headerName?{provide:Cr,useValue:ae.headerName}:[]]}}}return Pe.ɵfac=function(ae){return new(ae||Pe)},Pe.ɵmod=o.oAB({type:Pe}),Pe.ɵinj=o.cJS({providers:[Dr,{provide:Cn,useExisting:Dr,multi:!0},{provide:qr,useClass:ei},{provide:Fr,useValue:"XSRF-TOKEN"},{provide:Cr,useValue:"X-XSRF-TOKEN"}]}),Pe})(),Ne=(()=>{class Pe{}return Pe.ɵfac=function(ae){return new(ae||Pe)},Pe.ɵmod=o.oAB({type:Pe}),Pe.ɵinj=o.cJS({providers:[pt,{provide:j,useClass:qt},$r,{provide:te,useExisting:$r}],imports:[pe.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]}),Pe})();var Xe=v(109),et=v(3022),it=v(5712),at=v(6962),Mt=v(4235),It=v.n(Mt),Rt=v(1305),wn=v.n(Rt),Nt=(()=>{return(Pe=Nt||(Nt={}))[Pe.Error=0]="Error",Pe[Pe.Warning=1]="Warning",Pe[Pe.Information=2]="Information",Pe[Pe.Unknown=3]="Unknown",Nt;var Pe})();const Ht={isPaged:!1,isFiltered:!1,record:0,page:0,pageSize:0,totalRecords:0,totalPages:0,recordsBeforeFilter:0,batch:!1,properties:{}};class Kt{constructor(re){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={},re.chunk&&(this.isPaged=!0,this.record=parseInt(re.chunk.start,10)||0,this.page=parseInt(re.chunk.current,10)||0,this.pageSize=parseInt(re.chunk.size,10)||0,this.totalPages=parseInt(re.chunk.chunks,10)||0,this.totalRecords=parseInt(re.chunk.records,10)||0),re.filter&&(this.isFiltered=!0,this.recordsBeforeFilter=parseInt(re.filter.filtered,10)||0);const ae=new Set(["paginate","filter"]);Object.keys(re).filter((Ie=>!ae.has(Ie))).forEach((Ie=>{this.properties[Ie]=re[Ie]}))}}class Qt extends class Wn{constructor(re,ae){if(this.status=0,this.messages=[],this.meta=function mn(Pe){return JSON.parse(JSON.stringify(Pe))}(Ht),this.options={keepUnprocessedResponse:!1},It()(re)||wn()(re))throw new Error("The response was unexpectedly undefined or null");ae&&(this.options=ae),this.options.keepUnprocessedResponse&&(this.raw=JSON.parse(JSON.stringify(re)))}get success(){return this.status>0}get failed(){return 0===this.status}_getMessages(re){return this.messages.filter((ae=>ae.type===re))}get errors(){return this._getMessages(Nt.Error)}get warnings(){return this._getMessages(Nt.Warning)}get infoMessages(){return this._getMessages(Nt.Information)}_hasMessages(re){return this.messages.filter((ae=>ae.type===re)).length>0}get hasErrors(){return this._hasMessages(Nt.Error)}get hasWarnings(){return this._hasMessages(Nt.Warning)}get hasInfoMessages(){return this._hasMessages(Nt.Information)}get isPaged(){return this.meta.isPaged}get isFiltered(){return this.meta.isFiltered}}{_parseStatus(re){if(this.status=0,typeof re.result>"u")throw new Error("The response should have a numeric status property indicating the API succeeded (>0) or failed (=0)");this.status=parseInt(re.result,10)}_parseMessages(re){if(!re.result){const ae=[re.reason];ae&&ae.length&&ae.forEach((Ie=>{this.messages.push({type:Nt.Error,message:Ie})}))}}_reduce_list_data(re){if("object"==typeof re&&!(re instanceof Array)){const ae=Object.keys(re);if(1===ae.length){const Ie=re[ae[0]];Ie?Ie instanceof Array&&(re=Ie):re=[]}}return re}constructor(re,ae){if(super(re,ae),!re)throw new Error("Response object should be defined.");re.metadata&&(this._parseStatus(re.metadata),this._parseMessages(re.metadata),this.meta=new Kt(re.metadata)),this.data=this._reduce_list_data(re.data)}}let cn=(()=>{class Pe{}return Pe.ɵfac=function(ae){return new(ae||Pe)},Pe.ɵmod=o.oAB({type:Pe}),Pe.ɵinj=o.cJS({imports:[Ne]}),Pe})(),Lt=(()=>{class Pe{constructor(ae){this.http=ae}get(ae){const Ie=ae.generate({verb:Xe.F.GET,encoder:new et.VN}),$e=this.packageUrl(Ie);return this.http.get($e,{headers:this.packageHeaders(Ie)}).pipe((0,V.U)(this.packageResponseHandler($e)))}post(ae){const Ie=ae.generate(),$e=this.packageUrl(Ie);return this.http.post($e,Ie.body,{headers:this.packageHeaders(Ie)}).pipe((0,V.U)(this.packageResponseHandler($e)))}packageHeaders(ae){const Ie={};return ae.headers.forEach(($e=>{Ie[$e.name]=$e.value})),new U(Ie)}packageUrl(ae){return new it.b5(new at.a).buildTokenPath(ae.url)}packageResponseHandler(ae){return Ie=>{const $e=new Qt(Ie);return $e.meta.properties.url=ae,$e}}}return Pe.ɵfac=function(ae){return new(ae||Pe)(o.LFG(pt))},Pe.ɵprov=o.Yz7({token:Pe,factory:Pe.ɵfac,providedIn:"root"}),Pe})()},348:(Z,F,v)=>{"use strict";v.d(F,{m:()=>I});var o=v(1571),p=v(269);const A=new o.OlP("window"),L=B=>new p.g(B.CLDR,B.LEXICON);let I=(()=>{class B{}return B.ɵfac=function(j){return new(j||B)},B.ɵmod=o.oAB({type:B}),B.ɵinj=o.cJS({providers:[{provide:A,useValue:window},{provide:p.g,useFactory:L,deps:[A]}]}),B})()},9415:(Z,F,v)=>{"use strict";v.d(F,{xV:()=>Ru,zr:()=>xo,FP:()=>Rs,hF:()=>Ve,CQ:()=>Et,c9:()=>an,Oc:()=>Ha,df:()=>ma,_P:()=>al,kM:()=>Iu,go:()=>Jr,zf:()=>ns,k6:()=>ll,RV:()=>mi,Qt:()=>iu,u3:()=>Fu,gS:()=>Dn,t8:()=>Vt,fm:()=>xl,wL:()=>Is});var o=v(1571),p=v(6895),A=v(7579),L=v(9300),I=v(4482),B=v(5403),V=v(8421),j=v(5032),U=v(4986),oe=v(4671);function Se(g,c){return g===c}var xe=v(433),ft=v(348),Be=v(269),Ke=v(7340),rt=v(1481);function Ge(g){return new o.vHH(3e3,!1)}function Ne(){return typeof window<"u"&&typeof window.document<"u"}function Ae(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function ke(g){switch(g.length){case 0:return new Ke.ZN;case 1:return g[0];default:return new Ke.ZE(g)}}function Xe(g,c,l,_,O=new Map,$=new Map){const fe=[],ve=[];let Re=-1,Je=null;if(_.forEach((kt=>{const rn=kt.get("offset"),lr=rn==Re,Hn=lr&&Je||new Map;kt.forEach(((An,zn)=>{let Er=zn,Hr=An;if("offset"!==zn)switch(Er=c.normalizePropertyName(Er,fe),Hr){case Ke.k1:Hr=O.get(zn);break;case Ke.l3:Hr=$.get(zn);break;default:Hr=c.normalizeStyleValue(zn,Er,Hr,fe)}Hn.set(Er,Hr)})),lr||ve.push(Hn),Je=Hn,Re=rn})),fe.length)throw function br(g){return new o.vHH(3502,!1)}();return ve}function et(g,c,l,_){switch(c){case"start":g.onStart((()=>_(l&&it(l,"start",g))));break;case"done":g.onDone((()=>_(l&&it(l,"done",g))));break;case"destroy":g.onDestroy((()=>_(l&&it(l,"destroy",g))))}}function it(g,c,l){const $=at(g.element,g.triggerName,g.fromState,g.toState,c||g.phaseName,l.totalTime??g.totalTime,!!l.disabled),fe=g._data;return null!=fe&&($._data=fe),$}function at(g,c,l,_,O="",$=0,fe){return{element:g,triggerName:c,fromState:l,toState:_,phaseName:O,totalTime:$,disabled:!!fe}}function Mt(g,c,l){let _=g.get(c);return _||g.set(c,_=l),_}function It(g){const c=g.indexOf(":");return[g.substring(1,c),g.slice(c+1)]}let Rt=(g,c)=>!1,wn=(g,c,l)=>[],Nt=null;function Ht(g){const c=g.parentNode||g.host;return c===Nt?null:c}(Ae()||typeof Element<"u")&&(Ne()?(Nt=(()=>document.documentElement)(),Rt=(g,c)=>{for(;c;){if(c===g)return!0;c=Ht(c)}return!1}):Rt=(g,c)=>g.contains(c),wn=(g,c,l)=>{if(l)return Array.from(g.querySelectorAll(c));const _=g.querySelector(c);return _?[_]:[]});let Kt=null,Qt=!1;const Sn=Rt,Ft=wn;let Lt=(()=>{class g{validateStyleProperty(l){return function cn(g){Kt||(Kt=function Xn(){return typeof document<"u"?document.body:null}()||{},Qt=!!Kt.style&&"WebkitAppearance"in Kt.style);let c=!0;return Kt.style&&!function Wn(g){return"ebkit"==g.substring(1,6)}(g)&&(c=g in Kt.style,!c&&Qt&&(c="Webkit"+g.charAt(0).toUpperCase()+g.slice(1)in Kt.style)),c}(l)}matchesElement(l,_){return!1}containsElement(l,_){return Sn(l,_)}getParentElement(l){return Ht(l)}query(l,_,O){return Ft(l,_,O)}computeStyle(l,_,O){return O||""}animate(l,_,O,$,fe,ve=[],Re){return new Ke.ZN(O,$)}}return g.ɵfac=function(l){return new(l||g)},g.ɵprov=o.Yz7({token:g,factory:g.ɵfac}),g})(),Pe=(()=>{class g{}return g.NOOP=new Lt,g})();const $e="ng-enter",Ut="ng-leave",tn="ng-trigger",un=".ng-trigger",nn="ng-animating",$t=".ng-animating";function Ce(g){if("number"==typeof g)return g;const c=g.match(/^(-?[\.\d]+)(m?s)/);return!c||c.length<2?0:de(parseFloat(c[1]),c[2])}function de(g,c){return"s"===c?1e3*g:g}function ne(g,c,l){return g.hasOwnProperty("duration")?g:function z(g,c,l){let O,$=0,fe="";if("string"==typeof g){const ve=g.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===ve)return c.push(Ge()),{duration:0,delay:0,easing:""};O=de(parseFloat(ve[1]),ve[2]);const Re=ve[3];null!=Re&&($=de(parseFloat(Re),ve[4]));const Je=ve[5];Je&&(fe=Je)}else O=g;if(!l){let ve=!1,Re=c.length;O<0&&(c.push(function Me(){return new o.vHH(3100,!1)}()),ve=!0),$<0&&(c.push(function We(){return new o.vHH(3101,!1)}()),ve=!0),ve&&c.splice(Re,0,Ge())}return{duration:O,delay:$,easing:fe}}(g,c,l)}function se(g,c={}){return Object.keys(g).forEach((l=>{c[l]=g[l]})),c}function Oe(g){const c=new Map;return Object.keys(g).forEach((l=>{c.set(l,g[l])})),c}function ot(g,c=new Map,l){if(l)for(let[_,O]of l)c.set(_,O);for(let[_,O]of g)c.set(_,O);return c}function Dt(g,c,l){return l?c+":"+l+";":""}function Ue(g){let c="";for(let l=0;l<g.style.length;l++){const _=g.style.item(l);c+=Dt(0,_,g.style.getPropertyValue(_))}for(const l in g.style)g.style.hasOwnProperty(l)&&!l.startsWith("_")&&(c+=Dt(0,Ar(l),g.style[l]));g.setAttribute("style",c)}function wt(g,c,l){g.style&&(c.forEach(((_,O)=>{const $=ar(O);l&&!l.has(O)&&l.set(O,g.style[$]),g.style[$]=_})),Ae()&&Ue(g))}function Pt(g,c){g.style&&(c.forEach(((l,_)=>{const O=ar(_);g.style[O]=""})),Ae()&&Ue(g))}function Yt(g){return Array.isArray(g)?1==g.length?g[0]:(0,Ke.vP)(g):g}const St=new RegExp("{{\\s*(.+?)\\s*}}","g");function dn(g){let c=[];if("string"==typeof g){let l;for(;l=St.exec(g);)c.push(l[1]);St.lastIndex=0}return c}function on(g,c,l){const _=g.toString(),O=_.replace(St,(($,fe)=>{let ve=c[fe];return null==ve&&(l.push(function yt(g){return new o.vHH(3003,!1)}()),ve=""),ve.toString()}));return O==_?g:O}function er(g){const c=[];let l=g.next();for(;!l.done;)c.push(l.value),l=g.next();return c}const Un=/-+([a-z0-9])/g;function ar(g){return g.replace(Un,((...c)=>c[1].toUpperCase()))}function Ar(g){return g.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function fr(g,c,l){switch(c.type){case 7:return g.visitTrigger(c,l);case 0:return g.visitState(c,l);case 1:return g.visitTransition(c,l);case 2:return g.visitSequence(c,l);case 3:return g.visitGroup(c,l);case 4:return g.visitAnimate(c,l);case 5:return g.visitKeyframes(c,l);case 6:return g.visitStyle(c,l);case 8:return g.visitReference(c,l);case 9:return g.visitAnimateChild(c,l);case 10:return g.visitAnimateRef(c,l);case 11:return g.visitQuery(c,l);case 12:return g.visitStagger(c,l);default:throw function _t(g){return new o.vHH(3004,!1)}()}}function Gi(g,c){return window.getComputedStyle(g)[c]}function k(g,c){const l=[];return"string"==typeof g?g.split(/\s*,\s*/).forEach((_=>function Q(g,c,l){if(":"==g[0]){const Re=function Y(g,c){switch(g){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(l,_)=>parseFloat(_)>parseFloat(l);case":decrement":return(l,_)=>parseFloat(_)<parseFloat(l);default:return c.push(function Mn(g){return new o.vHH(3016,!1)}()),"* => *"}}(g,l);if("function"==typeof Re)return void c.push(Re);g=Re}const _=g.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==_||_.length<4)return l.push(function ir(g){return new o.vHH(3015,!1)}()),c;const O=_[1],$=_[2],fe=_[3];c.push(Ye(O,fe));"<"==$[0]&&!("*"==O&&"*"==fe)&&c.push(Ye(fe,O))}(_,l,c))):l.push(g),l}const ce=new Set(["true","1"]),Qe=new Set(["false","0"]);function Ye(g,c){const l=ce.has(g)||Qe.has(g),_=ce.has(c)||Qe.has(c);return(O,$)=>{let fe="*"==g||g==O,ve="*"==c||c==$;return!fe&&l&&"boolean"==typeof O&&(fe=O?ce.has(g):Qe.has(g)),!ve&&_&&"boolean"==typeof $&&(ve=$?ce.has(c):Qe.has(c)),fe&&ve}}const ct=new RegExp("s*:selfs*,?","g");function dt(g,c,l,_){return new On(g).build(c,l,_)}class On{constructor(c){this._driver=c}build(c,l,_){const O=new kr(l);return this._resetContextStyleTimingState(O),fr(this,Yt(c),O)}_resetContextStyleTimingState(c){c.currentQuerySelector="",c.collectedStyles=new Map,c.collectedStyles.set("",new Map),c.currentTime=0}visitTrigger(c,l){let _=l.queryCount=0,O=l.depCount=0;const $=[],fe=[];return"@"==c.name.charAt(0)&&l.errors.push(function ee(){return new o.vHH(3006,!1)}()),c.definitions.forEach((ve=>{if(this._resetContextStyleTimingState(l),0==ve.type){const Re=ve,Je=Re.name;Je.toString().split(/\s*,\s*/).forEach((kt=>{Re.name=kt,$.push(this.visitState(Re,l))})),Re.name=Je}else if(1==ve.type){const Re=this.visitTransition(ve,l);_+=Re.queryCount,O+=Re.depCount,fe.push(Re)}else l.errors.push(function me(){return new o.vHH(3007,!1)}())})),{type:7,name:c.name,states:$,transitions:fe,queryCount:_,depCount:O,options:null}}visitState(c,l){const _=this.visitStyle(c.styles,l),O=c.options&&c.options.params||null;if(_.containsDynamicStyles){const $=new Set,fe=O||{};_.styles.forEach((ve=>{ve instanceof Map&&ve.forEach((Re=>{dn(Re).forEach((Je=>{fe.hasOwnProperty(Je)||$.add(Je)}))}))})),$.size&&(er($.values()),l.errors.push(function je(g,c){return new o.vHH(3008,!1)}()))}return{type:0,name:c.name,style:_,options:O?{params:O}:null}}visitTransition(c,l){l.queryCount=0,l.depCount=0;const _=fr(this,Yt(c.animation),l);return{type:1,matchers:k(c.expr,l.errors),animation:_,queryCount:l.queryCount,depCount:l.depCount,options:zi(c.options)}}visitSequence(c,l){return{type:2,steps:c.steps.map((_=>fr(this,_,l))),options:zi(c.options)}}visitGroup(c,l){const _=l.currentTime;let O=0;const $=c.steps.map((fe=>{l.currentTime=_;const ve=fr(this,fe,l);return O=Math.max(O,l.currentTime),ve}));return l.currentTime=O,{type:3,steps:$,options:zi(c.options)}}visitAnimate(c,l){const _=function io(g,c){if(g.hasOwnProperty("duration"))return g;if("number"==typeof g)return oo(ne(g,c).duration,0,"");const l=g;if(l.split(/\s+/).some(($=>"{"==$.charAt(0)&&"{"==$.charAt(1)))){const $=oo(0,0,"");return $.dynamic=!0,$.strValue=l,$}const O=ne(l,c);return oo(O.duration,O.delay,O.easing)}(c.timings,l.errors);l.currentAnimateTimings=_;let O,$=c.styles?c.styles:(0,Ke.oB)({});if(5==$.type)O=this.visitKeyframes($,l);else{let fe=c.styles,ve=!1;if(!fe){ve=!0;const Je={};_.easing&&(Je.easing=_.easing),fe=(0,Ke.oB)(Je)}l.currentTime+=_.duration+_.delay;const Re=this.visitStyle(fe,l);Re.isEmptyStep=ve,O=Re}return l.currentAnimateTimings=null,{type:4,timings:_,style:O,options:null}}visitStyle(c,l){const _=this._makeStyleAst(c,l);return this._validateStyleAst(_,l),_}_makeStyleAst(c,l){const _=[],O=Array.isArray(c.styles)?c.styles:[c.styles];for(let ve of O)"string"==typeof ve?ve===Ke.l3?_.push(ve):l.errors.push(new o.vHH(3002,!1)):_.push(Oe(ve));let $=!1,fe=null;return _.forEach((ve=>{if(ve instanceof Map&&(ve.has("easing")&&(fe=ve.get("easing"),ve.delete("easing")),!$))for(let Re of ve.values())if(Re.toString().indexOf("{{")>=0){$=!0;break}})),{type:6,styles:_,easing:fe,offset:c.offset,containsDynamicStyles:$,options:null}}_validateStyleAst(c,l){const _=l.currentAnimateTimings;let O=l.currentTime,$=l.currentTime;_&&$>0&&($-=_.duration+_.delay),c.styles.forEach((fe=>{"string"!=typeof fe&&fe.forEach(((ve,Re)=>{const Je=l.collectedStyles.get(l.currentQuerySelector),kt=Je.get(Re);let rn=!0;kt&&($!=O&&$>=kt.startTime&&O<=kt.endTime&&(l.errors.push(function pt(g,c,l,_,O){return new o.vHH(3010,!1)}()),rn=!1),$=kt.startTime),rn&&Je.set(Re,{startTime:$,endTime:O}),l.options&&function jt(g,c,l){const _=c.params||{},O=dn(g);O.length&&O.forEach(($=>{_.hasOwnProperty($)||l.push(function Xt(g){return new o.vHH(3001,!1)}())}))}(ve,l.options,l.errors)}))}))}visitKeyframes(c,l){const _={type:5,styles:[],options:null};if(!l.currentAnimateTimings)return l.errors.push(function Ot(){return new o.vHH(3011,!1)}()),_;let $=0;const fe=[];let ve=!1,Re=!1,Je=0;const kt=c.steps.map((Hr=>{const Li=this._makeStyleAst(Hr,l);let ki=null!=Li.offset?Li.offset:function yi(g){if("string"==typeof g)return null;let c=null;if(Array.isArray(g))g.forEach((l=>{if(l instanceof Map&&l.has("offset")){const _=l;c=parseFloat(_.get("offset")),_.delete("offset")}}));else if(g instanceof Map&&g.has("offset")){const l=g;c=parseFloat(l.get("offset")),l.delete("offset")}return c}(Li.styles),Vi=0;return null!=ki&&($++,Vi=Li.offset=ki),Re=Re||Vi<0||Vi>1,ve=ve||Vi<Je,Je=Vi,fe.push(Vi),Li}));Re&&l.errors.push(function Cn(){return new o.vHH(3012,!1)}()),ve&&l.errors.push(function Wt(){return new o.vHH(3200,!1)}());const rn=c.steps.length;let lr=0;$>0&&$<rn?l.errors.push(function en(){return new o.vHH(3202,!1)}()):0==$&&(lr=1/(rn-1));const Hn=rn-1,An=l.currentTime,zn=l.currentAnimateTimings,Er=zn.duration;return kt.forEach(((Hr,Li)=>{const ki=lr>0?Li==Hn?1:lr*Li:fe[Li],Vi=ki*Er;l.currentTime=An+zn.delay+Vi,zn.duration=Vi,this._validateStyleAst(Hr,l),Hr.offset=ki,_.styles.push(Hr)})),_}visitReference(c,l){return{type:8,animation:fr(this,Yt(c.animation),l),options:zi(c.options)}}visitAnimateChild(c,l){return l.depCount++,{type:9,options:zi(c.options)}}visitAnimateRef(c,l){return{type:10,animation:this.visitReference(c.animation,l),options:zi(c.options)}}visitQuery(c,l){const _=l.currentQuerySelector,O=c.options||{};l.queryCount++,l.currentQuery=c;const[$,fe]=function Lr(g){const c=!!g.split(/\s*,\s*/).find((l=>":self"==l));return c&&(g=g.replace(ct,"")),g=g.replace(/@\*/g,un).replace(/@\w+/g,(l=>un+"-"+l.slice(1))).replace(/:animating/g,$t),[g,c]}(c.selector);l.currentQuerySelector=_.length?_+" "+$:$,Mt(l.collectedStyles,l.currentQuerySelector,new Map);const ve=fr(this,Yt(c.animation),l);return l.currentQuery=null,l.currentQuerySelector=_,{type:11,selector:$,limit:O.limit||0,optional:!!O.optional,includeSelf:fe,animation:ve,originalSelector:c.selector,options:zi(c.options)}}visitStagger(c,l){l.currentQuery||l.errors.push(function Rn(){return new o.vHH(3013,!1)}());const _="full"===c.timings?{duration:0,delay:0,easing:"full"}:ne(c.timings,l.errors,!0);return{type:12,animation:fr(this,Yt(c.animation),l),timings:_,options:null}}}class kr{constructor(c){this.errors=c,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 zi(g){return g?(g=se(g)).params&&(g.params=function Qr(g){return g?se(g):null}(g.params)):g={},g}function oo(g,c,l){return{duration:g,delay:c,easing:l}}function Ro(g,c,l,_,O,$,fe=null,ve=!1){return{type:1,element:g,keyframes:c,preStyleProps:l,postStyleProps:_,duration:O,delay:$,totalTime:O+$,easing:fe,subTimeline:ve}}class as{constructor(){this._map=new Map}get(c){return this._map.get(c)||[]}append(c,l){let _=this._map.get(c);_||this._map.set(c,_=[]),_.push(...l)}has(c){return this._map.has(c)}clear(){this._map.clear()}}const Us=new RegExp(":enter","g"),ys=new RegExp(":leave","g");function zo(g,c,l,_,O,$=new Map,fe=new Map,ve,Re,Je=[]){return(new Wo).buildKeyframes(g,c,l,_,O,$,fe,ve,Re,Je)}class Wo{buildKeyframes(c,l,_,O,$,fe,ve,Re,Je,kt=[]){Je=Je||new as;const rn=new Mo(c,l,Je,O,$,kt,[]);rn.options=Re;const lr=Re.delay?Ce(Re.delay):0;rn.currentTimeline.delayNextStep(lr),rn.currentTimeline.setStyles([fe],null,rn.errors,Re),fr(this,_,rn);const Hn=rn.timelines.filter((An=>An.containsAnimation()));if(Hn.length&&ve.size){let An;for(let zn=Hn.length-1;zn>=0;zn--){const Er=Hn[zn];if(Er.element===l){An=Er;break}}An&&!An.allowOnlyTimelineStyles()&&An.setStyles([ve],null,rn.errors,Re)}return Hn.length?Hn.map((An=>An.buildKeyframes())):[Ro(l,[],[],[],0,lr,"",!1)]}visitTrigger(c,l){}visitState(c,l){}visitTransition(c,l){}visitAnimateChild(c,l){const _=l.subInstructions.get(l.element);if(_){const O=l.createSubContext(c.options),$=l.currentTimeline.currentTime,fe=this._visitSubInstructions(_,O,O.options);$!=fe&&l.transformIntoNewTimeline(fe)}l.previousNode=c}visitAnimateRef(c,l){const _=l.createSubContext(c.options);_.transformIntoNewTimeline(),this._applyAnimationRefDelays([c.options,c.animation.options],l,_),this.visitReference(c.animation,_),l.transformIntoNewTimeline(_.currentTimeline.currentTime),l.previousNode=c}_applyAnimationRefDelays(c,l,_){for(const O of c){const $=O?.delay;if($){const fe="number"==typeof $?$:Ce(on($,O?.params??{},l.errors));_.delayNextStep(fe)}}}_visitSubInstructions(c,l,_){let $=l.currentTimeline.currentTime;const fe=null!=_.duration?Ce(_.duration):null,ve=null!=_.delay?Ce(_.delay):null;return 0!==fe&&c.forEach((Re=>{const Je=l.appendInstructionToTimeline(Re,fe,ve);$=Math.max($,Je.duration+Je.delay)})),$}visitReference(c,l){l.updateOptions(c.options,!0),fr(this,c.animation,l),l.previousNode=c}visitSequence(c,l){const _=l.subContextCount;let O=l;const $=c.options;if($&&($.params||$.delay)&&(O=l.createSubContext($),O.transformIntoNewTimeline(),null!=$.delay)){6==O.previousNode.type&&(O.currentTimeline.snapshotCurrentStyles(),O.previousNode=ni);const fe=Ce($.delay);O.delayNextStep(fe)}c.steps.length&&(c.steps.forEach((fe=>fr(this,fe,O))),O.currentTimeline.applyStylesToKeyframe(),O.subContextCount>_&&O.transformIntoNewTimeline()),l.previousNode=c}visitGroup(c,l){const _=[];let O=l.currentTimeline.currentTime;const $=c.options&&c.options.delay?Ce(c.options.delay):0;c.steps.forEach((fe=>{const ve=l.createSubContext(c.options);$&&ve.delayNextStep($),fr(this,fe,ve),O=Math.max(O,ve.currentTimeline.currentTime),_.push(ve.currentTimeline)})),_.forEach((fe=>l.currentTimeline.mergeTimelineCollectedStyles(fe))),l.transformIntoNewTimeline(O),l.previousNode=c}_visitTiming(c,l){if(c.dynamic){const _=c.strValue;return ne(l.params?on(_,l.params,l.errors):_,l.errors)}return{duration:c.duration,delay:c.delay,easing:c.easing}}visitAnimate(c,l){const _=l.currentAnimateTimings=this._visitTiming(c.timings,l),O=l.currentTimeline;_.delay&&(l.incrementTime(_.delay),O.snapshotCurrentStyles());const $=c.style;5==$.type?this.visitKeyframes($,l):(l.incrementTime(_.duration),this.visitStyle($,l),O.applyStylesToKeyframe()),l.currentAnimateTimings=null,l.previousNode=c}visitStyle(c,l){const _=l.currentTimeline,O=l.currentAnimateTimings;!O&&_.hasCurrentStyleProperties()&&_.forwardFrame();const $=O&&O.easing||c.easing;c.isEmptyStep?_.applyEmptyStep($):_.setStyles(c.styles,$,l.errors,l.options),l.previousNode=c}visitKeyframes(c,l){const _=l.currentAnimateTimings,O=l.currentTimeline.duration,$=_.duration,ve=l.createSubContext().currentTimeline;ve.easing=_.easing,c.styles.forEach((Re=>{ve.forwardTime((Re.offset||0)*$),ve.setStyles(Re.styles,Re.easing,l.errors,l.options),ve.applyStylesToKeyframe()})),l.currentTimeline.mergeTimelineCollectedStyles(ve),l.transformIntoNewTimeline(O+$),l.previousNode=c}visitQuery(c,l){const _=l.currentTimeline.currentTime,O=c.options||{},$=O.delay?Ce(O.delay):0;$&&(6===l.previousNode.type||0==_&&l.currentTimeline.hasCurrentStyleProperties())&&(l.currentTimeline.snapshotCurrentStyles(),l.previousNode=ni);let fe=_;const ve=l.invokeQuery(c.selector,c.originalSelector,c.limit,c.includeSelf,!!O.optional,l.errors);l.currentQueryTotal=ve.length;let Re=null;ve.forEach(((Je,kt)=>{l.currentQueryIndex=kt;const rn=l.createSubContext(c.options,Je);$&&rn.delayNextStep($),Je===l.element&&(Re=rn.currentTimeline),fr(this,c.animation,rn),rn.currentTimeline.applyStylesToKeyframe(),fe=Math.max(fe,rn.currentTimeline.currentTime)})),l.currentQueryIndex=0,l.currentQueryTotal=0,l.transformIntoNewTimeline(fe),Re&&(l.currentTimeline.mergeTimelineCollectedStyles(Re),l.currentTimeline.snapshotCurrentStyles()),l.previousNode=c}visitStagger(c,l){const _=l.parentContext,O=l.currentTimeline,$=c.timings,fe=Math.abs($.duration),ve=fe*(l.currentQueryTotal-1);let Re=fe*l.currentQueryIndex;switch($.duration<0?"reverse":$.easing){case"reverse":Re=ve-Re;break;case"full":Re=_.currentStaggerTime}const kt=l.currentTimeline;Re&&kt.delayNextStep(Re);const rn=kt.currentTime;fr(this,c.animation,l),l.previousNode=c,_.currentStaggerTime=O.currentTime-rn+(O.startTime-_.currentTimeline.startTime)}}const ni={};class Mo{constructor(c,l,_,O,$,fe,ve,Re){this._driver=c,this.element=l,this.subInstructions=_,this._enterClassName=O,this._leaveClassName=$,this.errors=fe,this.timelines=ve,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ni,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Re||new No(this._driver,l,0),ve.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(c,l){if(!c)return;const _=c;let O=this.options;null!=_.duration&&(O.duration=Ce(_.duration)),null!=_.delay&&(O.delay=Ce(_.delay));const $=_.params;if($){let fe=O.params;fe||(fe=this.options.params={}),Object.keys($).forEach((ve=>{(!l||!fe.hasOwnProperty(ve))&&(fe[ve]=on($[ve],fe,this.errors))}))}}_copyOptions(){const c={};if(this.options){const l=this.options.params;if(l){const _=c.params={};Object.keys(l).forEach((O=>{_[O]=l[O]}))}}return c}createSubContext(c=null,l,_){const O=l||this.element,$=new Mo(this._driver,O,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(O,_||0));return $.previousNode=this.previousNode,$.currentAnimateTimings=this.currentAnimateTimings,$.options=this._copyOptions(),$.updateOptions(c),$.currentQueryIndex=this.currentQueryIndex,$.currentQueryTotal=this.currentQueryTotal,$.parentContext=this,this.subContextCount++,$}transformIntoNewTimeline(c){return this.previousNode=ni,this.currentTimeline=this.currentTimeline.fork(this.element,c),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(c,l,_){const O={duration:l??c.duration,delay:this.currentTimeline.currentTime+(_??0)+c.delay,easing:""},$=new _r(this._driver,c.element,c.keyframes,c.preStyleProps,c.postStyleProps,O,c.stretchStartingKeyframe);return this.timelines.push($),O}incrementTime(c){this.currentTimeline.forwardTime(this.currentTimeline.duration+c)}delayNextStep(c){c>0&&this.currentTimeline.delayNextStep(c)}invokeQuery(c,l,_,O,$,fe){let ve=[];if(O&&ve.push(this.element),c.length>0){c=(c=c.replace(Us,"."+this._enterClassName)).replace(ys,"."+this._leaveClassName);let Je=this._driver.query(this.element,c,1!=_);0!==_&&(Je=_<0?Je.slice(Je.length+_,Je.length):Je.slice(0,_)),ve.push(...Je)}return!$&&0==ve.length&&fe.push(function gn(g){return new o.vHH(3014,!1)}()),ve}}class No{constructor(c,l,_,O){this._driver=c,this.element=l,this.startTime=_,this._elementTimelineStylesLookup=O,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(l),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(l,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(c){const l=1===this._keyframes.size&&this._pendingStyles.size;this.duration||l?(this.forwardTime(this.currentTime+c),l&&this.snapshotCurrentStyles()):this.startTime+=c}fork(c,l){return this.applyStylesToKeyframe(),new No(this._driver,c,l||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(c){this.applyStylesToKeyframe(),this.duration=c,this._loadKeyframe()}_updateStyle(c,l){this._localTimelineStyles.set(c,l),this._globalTimelineStyles.set(c,l),this._styleSummary.set(c,{time:this.currentTime,value:l})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(c){c&&this._previousKeyframe.set("easing",c);for(let[l,_]of this._globalTimelineStyles)this._backFill.set(l,_||Ke.l3),this._currentKeyframe.set(l,Ke.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(c,l,_,O){l&&this._previousKeyframe.set("easing",l);const $=O&&O.params||{},fe=function so(g,c){const l=new Map;let _;return g.forEach((O=>{if("*"===O){_=_||c.keys();for(let $ of _)l.set($,Ke.l3)}else ot(O,l)})),l}(c,this._globalTimelineStyles);for(let[ve,Re]of fe){const Je=on(Re,$,_);this._pendingStyles.set(ve,Je),this._localTimelineStyles.has(ve)||this._backFill.set(ve,this._globalTimelineStyles.get(ve)??Ke.l3),this._updateStyle(ve,Je)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach(((c,l)=>{this._currentKeyframe.set(l,c)})),this._pendingStyles.clear(),this._localTimelineStyles.forEach(((c,l)=>{this._currentKeyframe.has(l)||this._currentKeyframe.set(l,c)})))}snapshotCurrentStyles(){for(let[c,l]of this._localTimelineStyles)this._pendingStyles.set(c,l),this._updateStyle(c,l)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const c=[];for(let l in this._currentKeyframe)c.push(l);return c}mergeTimelineCollectedStyles(c){c._styleSummary.forEach(((l,_)=>{const O=this._styleSummary.get(_);(!O||l.time>O.time)&&this._updateStyle(_,l.value)}))}buildKeyframes(){this.applyStylesToKeyframe();const c=new Set,l=new Set,_=1===this._keyframes.size&&0===this.duration;let O=[];this._keyframes.forEach(((ve,Re)=>{const Je=ot(ve,new Map,this._backFill);Je.forEach(((kt,rn)=>{kt===Ke.k1?c.add(rn):kt===Ke.l3&&l.add(rn)})),_||Je.set("offset",Re/this.duration),O.push(Je)}));const $=c.size?er(c.values()):[],fe=l.size?er(l.values()):[];if(_){const ve=O[0],Re=new Map(ve);ve.set("offset",0),Re.set("offset",1),O=[ve,Re]}return Ro(this.element,O,$,fe,this.duration,this.startTime,this.easing,!1)}}class _r extends No{constructor(c,l,_,O,$,fe,ve=!1){super(c,l,fe.delay),this.keyframes=_,this.preStyleProps=O,this.postStyleProps=$,this._stretchStartingKeyframe=ve,this.timings={duration:fe.duration,delay:fe.delay,easing:fe.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let c=this.keyframes,{delay:l,duration:_,easing:O}=this.timings;if(this._stretchStartingKeyframe&&l){const $=[],fe=_+l,ve=l/fe,Re=ot(c[0]);Re.set("offset",0),$.push(Re);const Je=ot(c[0]);Je.set("offset",Yn(ve)),$.push(Je);const kt=c.length-1;for(let rn=1;rn<=kt;rn++){let lr=ot(c[rn]);const Hn=lr.get("offset");lr.set("offset",Yn((l+Hn*_)/fe)),$.push(lr)}_=fe,l=0,O="",c=$}return Ro(this.element,c,this.preStyleProps,this.postStyleProps,_,l,O,!0)}}function Yn(g,c=3){const l=Math.pow(10,c-1);return Math.round(g*l)/l}class Fo{}const Cs=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 us extends Fo{normalizePropertyName(c,l){return ar(c)}normalizeStyleValue(c,l,_,O){let $="";const fe=_.toString().trim();if(Cs.has(l)&&0!==_&&"0"!==_)if("number"==typeof _)$="px";else{const ve=_.match(/^[+-]?[\d\.]+([a-z]*)$/);ve&&0==ve[1].length&&O.push(function ye(g,c){return new o.vHH(3005,!1)}())}return fe+$}}function So(g,c,l,_,O,$,fe,ve,Re,Je,kt,rn,lr){return{type:0,element:g,triggerName:c,isRemovalTransition:O,fromState:l,fromStyles:$,toState:_,toStyles:fe,timelines:ve,queriedElements:Re,preStyleProps:Je,postStyleProps:kt,totalTime:rn,errors:lr}}const Yo={};class Vr{constructor(c,l,_){this._triggerName=c,this.ast=l,this._stateStyles=_}match(c,l,_,O){return function Wr(g,c,l,_,O){return g.some(($=>$(c,l,_,O)))}(this.ast.matchers,c,l,_,O)}buildStyles(c,l,_){let O=this._stateStyles.get("*");return void 0!==c&&(O=this._stateStyles.get(c?.toString())||O),O?O.buildStyles(l,_):new Map}build(c,l,_,O,$,fe,ve,Re,Je,kt){const rn=[],lr=this.ast.options&&this.ast.options.params||Yo,An=this.buildStyles(_,ve&&ve.params||Yo,rn),zn=Re&&Re.params||Yo,Er=this.buildStyles(O,zn,rn),Hr=new Set,Li=new Map,ki=new Map,Vi="void"===O,ya={params:$s(zn,lr),delay:this.ast.options?.delay},Ao=kt?[]:zo(c,l,this.ast.animation,$,fe,An,Er,ya,Je,rn);let bo=0;if(Ao.forEach((Fs=>{bo=Math.max(Fs.duration+Fs.delay,bo)})),rn.length)return So(l,this._triggerName,_,O,Vi,An,Er,[],[],Li,ki,bo,rn);Ao.forEach((Fs=>{const ps=Fs.element,ou=Mt(Li,ps,new Set);Fs.preStyleProps.forEach(($a=>ou.add($a)));const gs=Mt(ki,ps,new Set);Fs.postStyleProps.forEach(($a=>gs.add($a))),ps!==l&&Hr.add(ps)}));const Uo=er(Hr.values());return So(l,this._triggerName,_,O,Vi,An,Er,Ao,Uo,Li,ki,bo)}}function $s(g,c){const l=se(c);for(const _ in g)g.hasOwnProperty(_)&&null!=g[_]&&(l[_]=g[_]);return l}class Zo{constructor(c,l,_){this.styles=c,this.defaultParams=l,this.normalizer=_}buildStyles(c,l){const _=new Map,O=se(this.defaultParams);return Object.keys(c).forEach(($=>{const fe=c[$];null!==fe&&(O[$]=fe)})),this.styles.styles.forEach(($=>{"string"!=typeof $&&$.forEach(((fe,ve)=>{fe&&(fe=on(fe,O,l));const Re=this.normalizer.normalizePropertyName(ve,l);fe=this.normalizer.normalizeStyleValue(ve,Re,fe,l),_.set(Re,fe)}))})),_}}class qo{constructor(c,l,_){this.name=c,this.ast=l,this._normalizer=_,this.transitionFactories=[],this.states=new Map,l.states.forEach((O=>{this.states.set(O.name,new Zo(O.style,O.options&&O.options.params||{},_))})),hr(this.states,"true","1"),hr(this.states,"false","0"),l.transitions.forEach((O=>{this.transitionFactories.push(new Vr(c,O,this.states))})),this.fallbackTransition=function ws(g,c,l){return new Vr(g,{type:1,animation:{type:2,steps:[],options:null},matchers:[(fe,ve)=>!0],options:null,queryCount:0,depCount:0},c)}(c,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(c,l,_,O){return this.transitionFactories.find((fe=>fe.match(c,l,_,O)))||null}matchStyles(c,l,_){return this.fallbackTransition.buildStyles(c,l,_)}}function hr(g,c,l){g.has(c)?g.has(l)||g.set(l,g.get(c)):g.has(l)&&g.set(c,g.get(l))}const bs=new as;class ua{constructor(c,l,_){this.bodyNode=c,this._driver=l,this._normalizer=_,this._animations=new Map,this._playersById=new Map,this.players=[]}register(c,l){const _=[],$=dt(this._driver,l,_,[]);if(_.length)throw function cr(g){return new o.vHH(3503,!1)}();this._animations.set(c,$)}_buildPlayer(c,l,_){const O=c.element,$=Xe(0,this._normalizer,0,c.keyframes,l,_);return this._driver.animate(O,$,c.duration,c.delay,c.easing,[],!0)}create(c,l,_={}){const O=[],$=this._animations.get(c);let fe;const ve=new Map;if($?(fe=zo(this._driver,l,$,$e,Ut,new Map,new Map,_,bs,O),fe.forEach((kt=>{const rn=Mt(ve,kt.element,new Map);kt.postStyleProps.forEach((lr=>rn.set(lr,null)))}))):(O.push(function Oi(){return new o.vHH(3300,!1)}()),fe=[]),O.length)throw function $r(g){return new o.vHH(3504,!1)}();ve.forEach(((kt,rn)=>{kt.forEach(((lr,Hn)=>{kt.set(Hn,this._driver.computeStyle(rn,Hn,Ke.l3))}))}));const Je=ke(fe.map((kt=>{const rn=ve.get(kt.element);return this._buildPlayer(kt,new Map,rn)})));return this._playersById.set(c,Je),Je.onDestroy((()=>this.destroy(c))),this.players.push(Je),Je}destroy(c){const l=this._getPlayer(c);l.destroy(),this._playersById.delete(c);const _=this.players.indexOf(l);_>=0&&this.players.splice(_,1)}_getPlayer(c){const l=this._playersById.get(c);if(!l)throw function Fr(g){return new o.vHH(3301,!1)}();return l}listen(c,l,_,O){const $=at(l,"","","");return et(this._getPlayer(c),_,$,O),()=>{}}command(c,l,_,O){if("register"==_)return void this.register(c,O[0]);if("create"==_)return void this.create(c,l,O[0]||{});const $=this._getPlayer(c);switch(_){case"play":$.play();break;case"pause":$.pause();break;case"reset":$.reset();break;case"restart":$.restart();break;case"finish":$.finish();break;case"init":$.init();break;case"setPosition":$.setPosition(parseFloat(O[0]));break;case"destroy":this.destroy(c)}}}const Ii="ng-animate-queued",Ko="ng-animate-disabled",ao=[],Wi={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Gs={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Fn="__ng_removed";class lo{constructor(c,l=""){this.namespaceId=l;const _=c&&c.hasOwnProperty("value");if(this.value=function cs(g){return g??null}(_?c.value:c),_){const $=se(c);delete $.value,this.options=$}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(c){const l=c.params;if(l){const _=this.options.params;Object.keys(l).forEach((O=>{null==_[O]&&(_[O]=l[O])}))}}}const Ri="void",bn=new lo(Ri);class Qo{constructor(c,l,_){this.id=c,this.hostElement=l,this._engine=_,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+c,wi(l,this._hostClassName)}listen(c,l,_,O){if(!this._triggers.has(l))throw function Cr(g,c){return new o.vHH(3302,!1)}();if(null==_||0==_.length)throw function qr(g){return new o.vHH(3303,!1)}();if(!function Lo(g){return"start"==g||"done"==g}(_))throw function ei(g,c){return new o.vHH(3400,!1)}();const $=Mt(this._elementListeners,c,[]),fe={name:l,phase:_,callback:O};$.push(fe);const ve=Mt(this._engine.statesByElement,c,new Map);return ve.has(l)||(wi(c,tn),wi(c,tn+"-"+l),ve.set(l,bn)),()=>{this._engine.afterFlush((()=>{const Re=$.indexOf(fe);Re>=0&&$.splice(Re,1),this._triggers.has(l)||ve.delete(l)}))}}register(c,l){return!this._triggers.has(c)&&(this._triggers.set(c,l),!0)}_getTrigger(c){const l=this._triggers.get(c);if(!l)throw function Dr(g){return new o.vHH(3401,!1)}();return l}trigger(c,l,_,O=!0){const $=this._getTrigger(l),fe=new Ds(this.id,l,c);let ve=this._engine.statesByElement.get(c);ve||(wi(c,tn),wi(c,tn+"-"+l),this._engine.statesByElement.set(c,ve=new Map));let Re=ve.get(l);const Je=new lo(_,this.id);if(!(_&&_.hasOwnProperty("value"))&&Re&&Je.absorbOptions(Re.options),ve.set(l,Je),Re||(Re=bn),Je.value!==Ri&&Re.value===Je.value){if(!function x(g,c){const l=Object.keys(g),_=Object.keys(c);if(l.length!=_.length)return!1;for(let O=0;O<l.length;O++){const $=l[O];if(!c.hasOwnProperty($)||g[$]!==c[$])return!1}return!0}(Re.params,Je.params)){const zn=[],Er=$.matchStyles(Re.value,Re.params,zn),Hr=$.matchStyles(Je.value,Je.params,zn);zn.length?this._engine.reportError(zn):this._engine.afterFlush((()=>{Pt(c,Er),wt(c,Hr)}))}return}const lr=Mt(this._engine.playersByElement,c,[]);lr.forEach((zn=>{zn.namespaceId==this.id&&zn.triggerName==l&&zn.queued&&zn.destroy()}));let Hn=$.matchTransition(Re.value,Je.value,c,Je.params),An=!1;if(!Hn){if(!O)return;Hn=$.fallbackTransition,An=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:c,triggerName:l,transition:Hn,fromState:Re,toState:Je,player:fe,isFallbackTransition:An}),An||(wi(c,Ii),fe.onStart((()=>{_o(c,Ii)}))),fe.onDone((()=>{let zn=this.players.indexOf(fe);zn>=0&&this.players.splice(zn,1);const Er=this._engine.playersByElement.get(c);if(Er){let Hr=Er.indexOf(fe);Hr>=0&&Er.splice(Hr,1)}})),this.players.push(fe),lr.push(fe),fe}deregister(c){this._triggers.delete(c),this._engine.statesByElement.forEach((l=>l.delete(c))),this._elementListeners.forEach(((l,_)=>{this._elementListeners.set(_,l.filter((O=>O.name!=c)))}))}clearElementCache(c){this._engine.statesByElement.delete(c),this._elementListeners.delete(c);const l=this._engine.playersByElement.get(c);l&&(l.forEach((_=>_.destroy())),this._engine.playersByElement.delete(c))}_signalRemovalForInnerTriggers(c,l){const _=this._engine.driver.query(c,un,!0);_.forEach((O=>{if(O[Fn])return;const $=this._engine.fetchNamespacesByElement(O);$.size?$.forEach((fe=>fe.triggerLeaveAnimation(O,l,!1,!0))):this.clearElementCache(O)})),this._engine.afterFlushAnimationsDone((()=>_.forEach((O=>this.clearElementCache(O)))))}triggerLeaveAnimation(c,l,_,O){const $=this._engine.statesByElement.get(c),fe=new Map;if($){const ve=[];if($.forEach(((Re,Je)=>{if(fe.set(Je,Re.value),this._triggers.has(Je)){const kt=this.trigger(c,Je,Ri,O);kt&&ve.push(kt)}})),ve.length)return this._engine.markElementAsRemoved(this.id,c,!0,l,fe),_&&ke(ve).onDone((()=>this._engine.processLeaveNode(c))),!0}return!1}prepareLeaveAnimationListeners(c){const l=this._elementListeners.get(c),_=this._engine.statesByElement.get(c);if(l&&_){const O=new Set;l.forEach(($=>{const fe=$.name;if(O.has(fe))return;O.add(fe);const Re=this._triggers.get(fe).fallbackTransition,Je=_.get(fe)||bn,kt=new lo(Ri),rn=new Ds(this.id,fe,c);this._engine.totalQueuedPlayers++,this._queue.push({element:c,triggerName:fe,transition:Re,fromState:Je,toState:kt,player:rn,isFallbackTransition:!0})}))}}removeNode(c,l){const _=this._engine;if(c.childElementCount&&this._signalRemovalForInnerTriggers(c,l),this.triggerLeaveAnimation(c,l,!0))return;let O=!1;if(_.totalAnimations){const $=_.players.length?_.playersByQueriedElement.get(c):[];if($&&$.length)O=!0;else{let fe=c;for(;fe=fe.parentNode;)if(_.statesByElement.get(fe)){O=!0;break}}}if(this.prepareLeaveAnimationListeners(c),O)_.markElementAsRemoved(this.id,c,!1,l);else{const $=c[Fn];(!$||$===Wi)&&(_.afterFlush((()=>this.clearElementCache(c))),_.destroyInnerAnimations(c),_._onRemovalComplete(c,l))}}insertNode(c,l){wi(c,this._hostClassName)}drainQueuedTransitions(c){const l=[];return this._queue.forEach((_=>{const O=_.player;if(O.destroyed)return;const $=_.element,fe=this._elementListeners.get($);fe&&fe.forEach((ve=>{if(ve.name==_.triggerName){const Re=at($,_.triggerName,_.fromState.value,_.toState.value);Re._data=c,et(_.player,ve.phase,Re,ve.callback)}})),O.markedForDestroy?this._engine.afterFlush((()=>{O.destroy()})):l.push(_)})),this._queue=[],l.sort(((_,O)=>{const $=_.transition.ast.depCount,fe=O.transition.ast.depCount;return 0==$||0==fe?$-fe:this._engine.driver.containsElement(_.element,O.element)?1:-1}))}destroy(c){this.players.forEach((l=>l.destroy())),this._signalRemovalForInnerTriggers(this.hostElement,c)}elementContainsData(c){let l=!1;return this._elementListeners.has(c)&&(l=!0),l=!!this._queue.find((_=>_.element===c))||l,l}}class tl{constructor(c,l,_){this.bodyNode=c,this.driver=l,this._normalizer=_,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(O,$)=>{}}_onRemovalComplete(c,l){this.onRemovalComplete(c,l)}get queuedPlayers(){const c=[];return this._namespaceList.forEach((l=>{l.players.forEach((_=>{_.queued&&c.push(_)}))})),c}createNamespace(c,l){const _=new Qo(c,l,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,l)?this._balanceNamespaceList(_,l):(this.newHostElements.set(l,_),this.collectEnterElement(l)),this._namespaceLookup[c]=_}_balanceNamespaceList(c,l){const _=this._namespaceList,O=this.namespacesByHostElement;if(_.length-1>=0){let fe=!1,ve=this.driver.getParentElement(l);for(;ve;){const Re=O.get(ve);if(Re){const Je=_.indexOf(Re);_.splice(Je+1,0,c),fe=!0;break}ve=this.driver.getParentElement(ve)}fe||_.unshift(c)}else _.push(c);return O.set(l,c),c}register(c,l){let _=this._namespaceLookup[c];return _||(_=this.createNamespace(c,l)),_}registerTrigger(c,l,_){let O=this._namespaceLookup[c];O&&O.register(l,_)&&this.totalAnimations++}destroy(c,l){if(!c)return;const _=this._fetchNamespace(c);this.afterFlush((()=>{this.namespacesByHostElement.delete(_.hostElement),delete this._namespaceLookup[c];const O=this._namespaceList.indexOf(_);O>=0&&this._namespaceList.splice(O,1)})),this.afterFlushAnimationsDone((()=>_.destroy(l)))}_fetchNamespace(c){return this._namespaceLookup[c]}fetchNamespacesByElement(c){const l=new Set,_=this.statesByElement.get(c);if(_)for(let O of _.values())if(O.namespaceId){const $=this._fetchNamespace(O.namespaceId);$&&l.add($)}return l}trigger(c,l,_,O){if(Ni(l)){const $=this._fetchNamespace(c);if($)return $.trigger(l,_,O),!0}return!1}insertNode(c,l,_,O){if(!Ni(l))return;const $=l[Fn];if($&&$.setForRemoval){$.setForRemoval=!1,$.setForMove=!0;const fe=this.collectedLeaveElements.indexOf(l);fe>=0&&this.collectedLeaveElements.splice(fe,1)}if(c){const fe=this._fetchNamespace(c);fe&&fe.insertNode(l,_)}O&&this.collectEnterElement(l)}collectEnterElement(c){this.collectedEnterElements.push(c)}markElementAsDisabled(c,l){l?this.disabledNodes.has(c)||(this.disabledNodes.add(c),wi(c,Ko)):this.disabledNodes.has(c)&&(this.disabledNodes.delete(c),_o(c,Ko))}removeNode(c,l,_,O){if(Ni(l)){const $=c?this._fetchNamespace(c):null;if($?$.removeNode(l,O):this.markElementAsRemoved(c,l,!1,O),_){const fe=this.namespacesByHostElement.get(l);fe&&fe.id!==c&&fe.removeNode(l,O)}}else this._onRemovalComplete(l,O)}markElementAsRemoved(c,l,_,O,$){this.collectedLeaveElements.push(l),l[Fn]={namespaceId:c,setForRemoval:O,hasAnimation:_,removedBeforeQueried:!1,previousTriggersValues:$}}listen(c,l,_,O,$){return Ni(l)?this._fetchNamespace(c).listen(l,_,O,$):()=>{}}_buildInstruction(c,l,_,O,$){return c.transition.build(this.driver,c.element,c.fromState.value,c.toState.value,_,O,c.fromState.options,c.toState.options,l,$)}destroyInnerAnimations(c){let l=this.driver.query(c,un,!0);l.forEach((_=>this.destroyActiveAnimationsForElement(_))),0!=this.playersByQueriedElement.size&&(l=this.driver.query(c,$t,!0),l.forEach((_=>this.finishActiveQueriedAnimationOnElement(_))))}destroyActiveAnimationsForElement(c){const l=this.playersByElement.get(c);l&&l.forEach((_=>{_.queued?_.markedForDestroy=!0:_.destroy()}))}finishActiveQueriedAnimationOnElement(c){const l=this.playersByQueriedElement.get(c);l&&l.forEach((_=>_.finish()))}whenRenderingDone(){return new Promise((c=>{if(this.players.length)return ke(this.players).onDone((()=>c()));c()}))}processLeaveNode(c){const l=c[Fn];if(l&&l.setForRemoval){if(c[Fn]=Wi,l.namespaceId){this.destroyInnerAnimations(c);const _=this._fetchNamespace(l.namespaceId);_&&_.clearElementCache(c)}this._onRemovalComplete(c,l.setForRemoval)}c.classList?.contains(Ko)&&this.markElementAsDisabled(c,!1),this.driver.query(c,".ng-animate-disabled",!0).forEach((_=>{this.markElementAsDisabled(_,!1)}))}flush(c=-1){let l=[];if(this.newHostElements.size&&(this.newHostElements.forEach(((_,O)=>this._balanceNamespaceList(_,O))),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let _=0;_<this.collectedEnterElements.length;_++)wi(this.collectedEnterElements[_],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const _=[];try{l=this._flushAnimations(_,c)}finally{for(let O=0;O<_.length;O++)_[O]()}}else for(let _=0;_<this.collectedLeaveElements.length;_++)this.processLeaveNode(this.collectedLeaveElements[_]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach((_=>_())),this._flushFns=[],this._whenQuietFns.length){const _=this._whenQuietFns;this._whenQuietFns=[],l.length?ke(l).onDone((()=>{_.forEach((O=>O()))})):_.forEach((O=>O()))}}reportError(c){throw function qt(g){return new o.vHH(3402,!1)}()}_flushAnimations(c,l){const _=new as,O=[],$=new Map,fe=[],ve=new Map,Re=new Map,Je=new Map,kt=new Set;this.disabledNodes.forEach((pn=>{kt.add(pn);const En=this.driver.query(pn,".ng-animate-queued",!0);for(let Ln=0;Ln<En.length;Ln++)kt.add(En[Ln])}));const rn=this.bodyNode,lr=Array.from(this.statesByElement.keys()),Hn=$n(lr,this.collectedEnterElements),An=new Map;let zn=0;Hn.forEach(((pn,En)=>{const Ln=$e+zn++;An.set(En,Ln),pn.forEach((gr=>wi(gr,Ln)))}));const Er=[],Hr=new Set,Li=new Set;for(let pn=0;pn<this.collectedLeaveElements.length;pn++){const En=this.collectedLeaveElements[pn],Ln=En[Fn];Ln&&Ln.setForRemoval&&(Er.push(En),Hr.add(En),Ln.hasAnimation?this.driver.query(En,".ng-star-inserted",!0).forEach((gr=>Hr.add(gr))):Li.add(En))}const ki=new Map,Vi=$n(lr,Array.from(Hr));Vi.forEach(((pn,En)=>{const Ln=Ut+zn++;ki.set(En,Ln),pn.forEach((gr=>wi(gr,Ln)))})),c.push((()=>{Hn.forEach(((pn,En)=>{const Ln=An.get(En);pn.forEach((gr=>_o(gr,Ln)))})),Vi.forEach(((pn,En)=>{const Ln=ki.get(En);pn.forEach((gr=>_o(gr,Ln)))})),Er.forEach((pn=>{this.processLeaveNode(pn)}))}));const ya=[],Ao=[];for(let pn=this._namespaceList.length-1;pn>=0;pn--)this._namespaceList[pn].drainQueuedTransitions(l).forEach((Ln=>{const gr=Ln.player,Bi=Ln.element;if(ya.push(gr),this.collectedEnterElements.length){const Or=Bi[Fn];if(Or&&Or.setForMove){if(Or.previousTriggersValues&&Or.previousTriggersValues.has(Ln.triggerName)){const ea=Or.previousTriggersValues.get(Ln.triggerName),$o=this.statesByElement.get(Ln.element);if($o&&$o.has(Ln.triggerName)){const Il=$o.get(Ln.triggerName);Il.value=ea,$o.set(Ln.triggerName,Il)}}return void gr.destroy()}}const Ho=!rn||!this.driver.containsElement(rn,Bi),Do=ki.get(Bi),jo=An.get(Bi),fn=this._buildInstruction(Ln,_,jo,Do,Ho);if(fn.errors&&fn.errors.length)return void Ao.push(fn);if(Ho)return gr.onStart((()=>Pt(Bi,fn.fromStyles))),gr.onDestroy((()=>wt(Bi,fn.toStyles))),void O.push(gr);if(Ln.isFallbackTransition)return gr.onStart((()=>Pt(Bi,fn.fromStyles))),gr.onDestroy((()=>wt(Bi,fn.toStyles))),void O.push(gr);const su=[];fn.timelines.forEach((Or=>{Or.stretchStartingKeyframe=!0,this.disabledNodes.has(Or.element)||su.push(Or)})),fn.timelines=su,_.append(Bi,fn.timelines),fe.push({instruction:fn,player:gr,element:Bi}),fn.queriedElements.forEach((Or=>Mt(ve,Or,[]).push(gr))),fn.preStyleProps.forEach(((Or,ea)=>{if(Or.size){let $o=Re.get(ea);$o||Re.set(ea,$o=new Set),Or.forEach(((Il,uo)=>$o.add(uo)))}})),fn.postStyleProps.forEach(((Or,ea)=>{let $o=Je.get(ea);$o||Je.set(ea,$o=new Set),Or.forEach(((Il,uo)=>$o.add(uo)))}))}));if(Ao.length){const pn=[];Ao.forEach((En=>{pn.push(function dr(g,c){return new o.vHH(3505,!1)}())})),ya.forEach((En=>En.destroy())),this.reportError(pn)}const bo=new Map,Uo=new Map;fe.forEach((pn=>{const En=pn.element;_.has(En)&&(Uo.set(En,En),this._beforeAnimationBuild(pn.player.namespaceId,pn.instruction,bo))})),O.forEach((pn=>{const En=pn.element;this._getPreviousPlayers(En,!1,pn.namespaceId,pn.triggerName,null).forEach((gr=>{Mt(bo,En,[]).push(gr),gr.destroy()}))}));const Fs=Er.filter((pn=>P(pn,Re,Je))),ps=new Map;gt(ps,this.driver,Li,Je,Ke.l3).forEach((pn=>{P(pn,Re,Je)&&Fs.push(pn)}));const gs=new Map;Hn.forEach(((pn,En)=>{gt(gs,this.driver,new Set(pn),Re,Ke.k1)})),Fs.forEach((pn=>{const En=ps.get(pn),Ln=gs.get(pn);ps.set(pn,new Map([...Array.from(En?.entries()??[]),...Array.from(Ln?.entries()??[])]))}));const $a=[],Lu=[],ul={};fe.forEach((pn=>{const{element:En,player:Ln,instruction:gr}=pn;if(_.has(En)){if(kt.has(En))return Ln.onDestroy((()=>wt(En,gr.toStyles))),Ln.disabled=!0,Ln.overrideTotalTime(gr.totalTime),void O.push(Ln);let Bi=ul;if(Uo.size>1){let Do=En;const jo=[];for(;Do=Do.parentNode;){const fn=Uo.get(Do);if(fn){Bi=fn;break}jo.push(Do)}jo.forEach((fn=>Uo.set(fn,Bi)))}const Ho=this._buildAnimation(Ln.namespaceId,gr,bo,$,gs,ps);if(Ln.setRealPlayer(Ho),Bi===ul)$a.push(Ln);else{const Do=this.playersByElement.get(Bi);Do&&Do.length&&(Ln.parentPlayer=ke(Do)),O.push(Ln)}}else Pt(En,gr.fromStyles),Ln.onDestroy((()=>wt(En,gr.toStyles))),Lu.push(Ln),kt.has(En)&&O.push(Ln)})),Lu.forEach((pn=>{const En=$.get(pn.element);if(En&&En.length){const Ln=ke(En);pn.setRealPlayer(Ln)}})),O.forEach((pn=>{pn.parentPlayer?pn.syncPlayerEvents(pn.parentPlayer):pn.destroy()}));for(let pn=0;pn<Er.length;pn++){const En=Er[pn],Ln=En[Fn];if(_o(En,Ut),Ln&&Ln.hasAnimation)continue;let gr=[];if(ve.size){let Ho=ve.get(En);Ho&&Ho.length&&gr.push(...Ho);let Do=this.driver.query(En,$t,!0);for(let jo=0;jo<Do.length;jo++){let fn=ve.get(Do[jo]);fn&&fn.length&&gr.push(...fn)}}const Bi=gr.filter((Ho=>!Ho.destroyed));Bi.length?Pr(this,En,Bi):this.processLeaveNode(En)}return Er.length=0,$a.forEach((pn=>{this.players.push(pn),pn.onDone((()=>{pn.destroy();const En=this.players.indexOf(pn);this.players.splice(En,1)})),pn.play()})),$a}elementContainsData(c,l){let _=!1;const O=l[Fn];return O&&O.setForRemoval&&(_=!0),this.playersByElement.has(l)&&(_=!0),this.playersByQueriedElement.has(l)&&(_=!0),this.statesByElement.has(l)&&(_=!0),this._fetchNamespace(c).elementContainsData(l)||_}afterFlush(c){this._flushFns.push(c)}afterFlushAnimationsDone(c){this._whenQuietFns.push(c)}_getPreviousPlayers(c,l,_,O,$){let fe=[];if(l){const ve=this.playersByQueriedElement.get(c);ve&&(fe=ve)}else{const ve=this.playersByElement.get(c);if(ve){const Re=!$||$==Ri;ve.forEach((Je=>{Je.queued||!Re&&Je.triggerName!=O||fe.push(Je)}))}}return(_||O)&&(fe=fe.filter((ve=>!(_&&_!=ve.namespaceId||O&&O!=ve.triggerName)))),fe}_beforeAnimationBuild(c,l,_){const $=l.element,fe=l.isRemovalTransition?void 0:c,ve=l.isRemovalTransition?void 0:l.triggerName;for(const Re of l.timelines){const Je=Re.element,kt=Je!==$,rn=Mt(_,Je,[]);this._getPreviousPlayers(Je,kt,fe,ve,l.toState).forEach((Hn=>{const An=Hn.getRealPlayer();An.beforeDestroy&&An.beforeDestroy(),Hn.destroy(),rn.push(Hn)}))}Pt($,l.fromStyles)}_buildAnimation(c,l,_,O,$,fe){const ve=l.triggerName,Re=l.element,Je=[],kt=new Set,rn=new Set,lr=l.timelines.map((An=>{const zn=An.element;kt.add(zn);const Er=zn[Fn];if(Er&&Er.removedBeforeQueried)return new Ke.ZN(An.duration,An.delay);const Hr=zn!==Re,Li=function Jo(g){const c=[];return vr(g,c),c}((_.get(zn)||ao).map((bo=>bo.getRealPlayer()))).filter((bo=>!!bo.element&&bo.element===zn)),ki=$.get(zn),Vi=fe.get(zn),ya=Xe(0,this._normalizer,0,An.keyframes,ki,Vi),Ao=this._buildPlayer(An,ya,Li);if(An.subTimeline&&O&&rn.add(zn),Hr){const bo=new Ds(c,ve,zn);bo.setRealPlayer(Ao),Je.push(bo)}return Ao}));Je.forEach((An=>{Mt(this.playersByQueriedElement,An.element,[]).push(An),An.onDone((()=>function Yi(g,c,l){let _=g.get(c);if(_){if(_.length){const O=_.indexOf(l);_.splice(O,1)}0==_.length&&g.delete(c)}return _}(this.playersByQueriedElement,An.element,An)))})),kt.forEach((An=>wi(An,nn)));const Hn=ke(lr);return Hn.onDestroy((()=>{kt.forEach((An=>_o(An,nn))),wt(Re,l.toStyles)})),rn.forEach((An=>{Mt(O,An,[]).push(Hn)})),Hn}_buildPlayer(c,l,_){return l.length>0?this.driver.animate(c.element,l,c.duration,c.delay,c.easing,_):new Ke.ZN(c.duration,c.delay)}}class Ds{constructor(c,l,_){this.namespaceId=c,this.triggerName=l,this.element=_,this._player=new Ke.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(c){this._containsRealPlayer||(this._player=c,this._queuedCallbacks.forEach(((l,_)=>{l.forEach((O=>et(c,_,void 0,O)))})),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(c.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(c){this.totalTime=c}syncPlayerEvents(c){const l=this._player;l.triggerCallback&&c.onStart((()=>l.triggerCallback("start"))),c.onDone((()=>this.finish())),c.onDestroy((()=>this.destroy()))}_queueEvent(c,l){Mt(this._queuedCallbacks,c,[]).push(l)}onDone(c){this.queued&&this._queueEvent("done",c),this._player.onDone(c)}onStart(c){this.queued&&this._queueEvent("start",c),this._player.onStart(c)}onDestroy(c){this.queued&&this._queueEvent("destroy",c),this._player.onDestroy(c)}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(c){this.queued||this._player.setPosition(c)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(c){const l=this._player;l.triggerCallback&&l.triggerCallback(c)}}function Ni(g){return g&&1===g.nodeType}function ca(g,c){const l=g.style.display;return g.style.display=c??"none",l}function gt(g,c,l,_,O){const $=[];l.forEach((Re=>$.push(ca(Re))));const fe=[];_.forEach(((Re,Je)=>{const kt=new Map;Re.forEach((rn=>{const lr=c.computeStyle(Je,rn,O);kt.set(rn,lr),(!lr||0==lr.length)&&(Je[Fn]=Gs,fe.push(Je))})),g.set(Je,kt)}));let ve=0;return l.forEach((Re=>ca(Re,$[ve++]))),fe}function $n(g,c){const l=new Map;if(g.forEach((ve=>l.set(ve,[]))),0==c.length)return l;const O=new Set(c),$=new Map;function fe(ve){if(!ve)return 1;let Re=$.get(ve);if(Re)return Re;const Je=ve.parentNode;return Re=l.has(Je)?Je:O.has(Je)?1:fe(Je),$.set(ve,Re),Re}return c.forEach((ve=>{const Re=fe(ve);1!==Re&&l.get(Re).push(ve)})),l}function wi(g,c){g.classList?.add(c)}function _o(g,c){g.classList?.remove(c)}function Pr(g,c,l){ke(l).onDone((()=>g.processLeaveNode(c)))}function vr(g,c){for(let l=0;l<g.length;l++){const _=g[l];_ instanceof Ke.ZE?vr(_.players,c):c.push(_)}}function P(g,c,l){const _=l.get(g);if(!_)return!1;let O=c.get(g);return O?_.forEach(($=>O.add($))):c.set(g,_),l.delete(g),!0}class M{constructor(c,l,_){this.bodyNode=c,this._driver=l,this._normalizer=_,this._triggerCache={},this.onRemovalComplete=(O,$)=>{},this._transitionEngine=new tl(c,l,_),this._timelineEngine=new ua(c,l,_),this._transitionEngine.onRemovalComplete=(O,$)=>this.onRemovalComplete(O,$)}registerTrigger(c,l,_,O,$){const fe=c+"-"+O;let ve=this._triggerCache[fe];if(!ve){const Re=[],kt=dt(this._driver,$,Re,[]);if(Re.length)throw function Nn(g,c){return new o.vHH(3404,!1)}();ve=function ai(g,c,l){return new qo(g,c,l)}(O,kt,this._normalizer),this._triggerCache[fe]=ve}this._transitionEngine.registerTrigger(l,O,ve)}register(c,l){this._transitionEngine.register(c,l)}destroy(c,l){this._transitionEngine.destroy(c,l)}onInsert(c,l,_,O){this._transitionEngine.insertNode(c,l,_,O)}onRemove(c,l,_,O){this._transitionEngine.removeNode(c,l,O||!1,_)}disableAnimations(c,l){this._transitionEngine.markElementAsDisabled(c,l)}process(c,l,_,O){if("@"==_.charAt(0)){const[$,fe]=It(_);this._timelineEngine.command($,l,fe,O)}else this._transitionEngine.trigger(c,l,_,O)}listen(c,l,_,O,$){if("@"==_.charAt(0)){const[fe,ve]=It(_);return this._timelineEngine.listen(fe,l,ve,$)}return this._transitionEngine.listen(c,l,_,O,$)}flush(c=-1){this._transitionEngine.flush(c)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let qe=(()=>{class g{constructor(l,_,O){this._element=l,this._startStyles=_,this._endStyles=O,this._state=0;let $=g.initialStylesByElement.get(l);$||g.initialStylesByElement.set(l,$=new Map),this._initialStyles=$}start(){this._state<1&&(this._startStyles&&wt(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(wt(this._element,this._initialStyles),this._endStyles&&(wt(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(g.initialStylesByElement.delete(this._element),this._startStyles&&(Pt(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Pt(this._element,this._endStyles),this._endStyles=null),wt(this._element,this._initialStyles),this._state=3)}}return g.initialStylesByElement=new WeakMap,g})();function Jt(g){let c=null;return g.forEach(((l,_)=>{(function Mr(g){return"display"===g||"position"===g})(_)&&(c=c||new Map,c.set(_,l))})),c}class wr{constructor(c,l,_,O){this.element=c,this.keyframes=l,this.options=_,this._specialStyles=O,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=_.duration,this._delay=_.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach((c=>c())),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const c=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,c,this.options),this._finalKeyframe=c.length?c[c.length-1]:new Map,this.domPlayer.addEventListener("finish",(()=>this._onFinish()))}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(c){const l=[];return c.forEach((_=>{l.push(Object.fromEntries(_))})),l}_triggerWebAnimation(c,l,_){return c.animate(this._convertKeyframesToObject(l),_)}onStart(c){this._originalOnStartFns.push(c),this._onStartFns.push(c)}onDone(c){this._originalOnDoneFns.push(c),this._onDoneFns.push(c)}onDestroy(c){this._onDestroyFns.push(c)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach((c=>c())),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((c=>c())),this._onDestroyFns=[])}setPosition(c){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=c*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const c=new Map;this.hasStarted()&&this._finalKeyframe.forEach(((_,O)=>{"offset"!==O&&c.set(O,this._finished?_:Gi(this.element,O))})),this.currentSnapshot=c}triggerCallback(c){const l="start"===c?this._onStartFns:this._onDoneFns;l.forEach((_=>_())),l.length=0}}class bi{validateStyleProperty(c){return!0}validateAnimatableStyleProperty(c){return!0}matchesElement(c,l){return!1}containsElement(c,l){return Sn(c,l)}getParentElement(c){return Ht(c)}query(c,l,_){return Ft(c,l,_)}computeStyle(c,l,_){return window.getComputedStyle(c)[l]}animate(c,l,_,O,$,fe=[]){const Re={duration:_,delay:O,fill:0==O?"both":"forwards"};$&&(Re.easing=$);const Je=new Map,kt=fe.filter((Hn=>Hn instanceof wr));(function zr(g,c){return 0===g||0===c})(_,O)&&kt.forEach((Hn=>{Hn.currentSnapshot.forEach(((An,zn)=>Je.set(zn,An)))}));let rn=function tt(g){return g.length?g[0]instanceof Map?g:g.map((c=>Oe(c))):[]}(l).map((Hn=>ot(Hn)));rn=function Tr(g,c,l){if(l.size&&c.length){let _=c[0],O=[];if(l.forEach((($,fe)=>{_.has(fe)||O.push(fe),_.set(fe,$)})),O.length)for(let $=1;$<c.length;$++){let fe=c[$];O.forEach((ve=>fe.set(ve,Gi(g,ve))))}}return c}(c,rn,Je);const lr=function K(g,c){let l=null,_=null;return Array.isArray(c)&&c.length?(l=Jt(c[0]),c.length>1&&(_=Jt(c[c.length-1]))):c instanceof Map&&(l=Jt(c)),l||_?new qe(g,l,_):null}(c,rn);return new wr(c,rn,Re,lr)}}let Xo=(()=>{class g extends Ke._j{constructor(l,_){super(),this._nextAnimationId=0,this._renderer=l.createRenderer(_.body,{id:"0",encapsulation:o.ifc.None,styles:[],data:{animation:[]}})}build(l){const _=this._nextAnimationId.toString();this._nextAnimationId++;const O=Array.isArray(l)?(0,Ke.vP)(l):l;return es(this._renderer,null,_,"register",[O]),new Ji(_,this._renderer)}}return g.ɵfac=function(l){return new(l||g)(o.LFG(o.FYo),o.LFG(p.K0))},g.ɵprov=o.Yz7({token:g,factory:g.ɵfac}),g})();class Ji extends Ke.LC{constructor(c,l){super(),this._id=c,this._renderer=l}create(c,l){return new Ti(this._id,c,l||{},this._renderer)}}class Ti{constructor(c,l,_,O){this.id=c,this.element=l,this._renderer=O,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",_)}_listen(c,l){return this._renderer.listen(this.element,`@@${this.id}:${c}`,l)}_command(c,...l){return es(this._renderer,this.element,this.id,c,l)}onDone(c){this._listen("done",c)}onStart(c){this._listen("start",c)}onDestroy(c){this._listen("destroy",c)}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(c){this._command("setPosition",c)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function es(g,c,l,_,O){return g.setProperty(c,`@@${l}:${_}`,O)}const ds="@.disabled";let Cl=(()=>{class g{constructor(l,_,O){this.delegate=l,this.engine=_,this._zone=O,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),_.onRemovalComplete=($,fe)=>{const ve=fe?.parentNode($);ve&&fe.removeChild(ve,$)}}createRenderer(l,_){const $=this.delegate.createRenderer(l,_);if(!(l&&_&&_.data&&_.data.animation)){let kt=this._rendererCache.get($);return kt||(kt=new Es("",$,this.engine,(()=>this._rendererCache.delete($))),this._rendererCache.set($,kt)),kt}const fe=_.id,ve=_.id+"-"+this._currentId;this._currentId++,this.engine.register(ve,l);const Re=kt=>{Array.isArray(kt)?kt.forEach(Re):this.engine.registerTrigger(fe,ve,l,kt.name,kt)};return _.data.animation.forEach(Re),new Ms(this,ve,$,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then((()=>{this._microtaskId++}))}scheduleListenerCallback(l,_,O){l>=0&&l<this._microtaskId?this._zone.run((()=>_(O))):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then((()=>{this._zone.run((()=>{this._animationCallbacksBuffer.forEach(($=>{const[fe,ve]=$;fe(ve)})),this._animationCallbacksBuffer=[]}))})),this._animationCallbacksBuffer.push([_,O]))}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 g.ɵfac=function(l){return new(l||g)(o.LFG(o.FYo),o.LFG(M),o.LFG(o.R0b))},g.ɵprov=o.Yz7({token:g,factory:g.ɵfac}),g})();class Es{constructor(c,l,_,O){this.namespaceId=c,this.delegate=l,this.engine=_,this._onDestroy=O,this.destroyNode=this.delegate.destroyNode?$=>l.destroyNode($):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(c,l){return this.delegate.createElement(c,l)}createComment(c){return this.delegate.createComment(c)}createText(c){return this.delegate.createText(c)}appendChild(c,l){this.delegate.appendChild(c,l),this.engine.onInsert(this.namespaceId,l,c,!1)}insertBefore(c,l,_,O=!0){this.delegate.insertBefore(c,l,_),this.engine.onInsert(this.namespaceId,l,c,O)}removeChild(c,l,_){this.engine.onRemove(this.namespaceId,l,this.delegate,_)}selectRootElement(c,l){return this.delegate.selectRootElement(c,l)}parentNode(c){return this.delegate.parentNode(c)}nextSibling(c){return this.delegate.nextSibling(c)}setAttribute(c,l,_,O){this.delegate.setAttribute(c,l,_,O)}removeAttribute(c,l,_){this.delegate.removeAttribute(c,l,_)}addClass(c,l){this.delegate.addClass(c,l)}removeClass(c,l){this.delegate.removeClass(c,l)}setStyle(c,l,_,O){this.delegate.setStyle(c,l,_,O)}removeStyle(c,l,_){this.delegate.removeStyle(c,l,_)}setProperty(c,l,_){"@"==l.charAt(0)&&l==ds?this.disableAnimations(c,!!_):this.delegate.setProperty(c,l,_)}setValue(c,l){this.delegate.setValue(c,l)}listen(c,l,_){return this.delegate.listen(c,l,_)}disableAnimations(c,l){this.engine.disableAnimations(c,l)}}class Ms extends Es{constructor(c,l,_,O,$){super(l,_,O,$),this.factory=c,this.namespaceId=l}setProperty(c,l,_){"@"==l.charAt(0)?"."==l.charAt(1)&&l==ds?this.disableAnimations(c,_=void 0===_||!!_):this.engine.process(this.namespaceId,c,l.slice(1),_):this.delegate.setProperty(c,l,_)}listen(c,l,_){if("@"==l.charAt(0)){const O=function vo(g){switch(g){case"body":return document.body;case"document":return document;case"window":return window;default:return g}}(c);let $=l.slice(1),fe="";return"@"!=$.charAt(0)&&([$,fe]=function Ss(g){const c=g.indexOf(".");return[g.substring(0,c),g.slice(c+1)]}($)),this.engine.listen(this.namespaceId,O,$,fe,(ve=>{this.factory.scheduleListenerCallback(ve._data||-1,_,ve)}))}return this.delegate.listen(c,l,_)}}const ko=[{provide:Ke._j,useClass:Xo},{provide:Fo,useFactory:function Aa(){return new us}},{provide:M,useClass:(()=>{class g extends M{constructor(l,_,O,$){super(l.body,_,O)}ngOnDestroy(){this.flush()}}return g.ɵfac=function(l){return new(l||g)(o.LFG(p.K0),o.LFG(Pe),o.LFG(Fo),o.LFG(o.z2F))},g.ɵprov=o.Yz7({token:g,factory:g.ɵfac}),g})()},{provide:o.FYo,useFactory:function zs(g,c,l){return new Cl(g,c,l)},deps:[rt.se,M,o.R0b]}],Zi=[{provide:Pe,useFactory:()=>new bi},{provide:o.QbO,useValue:"BrowserAnimations"},...ko],Ts=[{provide:Pe,useClass:Lt},{provide:o.QbO,useValue:"NoopAnimations"},...ko];let Ia=(()=>{class g{static withConfig(l){return{ngModule:g,providers:l.disableAnimations?Ts:Zi}}}return g.ɵfac=function(l){return new(l||g)},g.ɵmod=o.oAB({type:g}),g.ɵinj=o.cJS({providers:Zi,imports:[rt.b2]}),g})();const Fi=function(g,c){return{"pull-left":g,"float-left":c}},yo=function(g,c){return{"pull-right":g,"float-right":c}},be=function(g,c){return{disabled:g,currentPage:c}};function st(g,c){if(1&g){const l=o.EpF();o.TgZ(0,"li",11)(1,"a",12),o.NdJ("click",(function(O){o.CHM(l);const $=o.oxw();return o.KtG($.selectPage(1,O))})),o.GkF(2,13),o.qZA()()}if(2&g){const l=o.oxw(),_=o.MAs(13);o.ekj("disabled",l.noPrevious()||l.disabled),o.xp6(2),o.Q6J("ngTemplateOutlet",l.customFirstTemplate||_)("ngTemplateOutletContext",o.WLB(4,be,l.noPrevious()||l.disabled,l.page))}}function Ze(g,c){if(1&g){const l=o.EpF();o.TgZ(0,"li",14)(1,"a",12),o.NdJ("click",(function(O){o.CHM(l);const $=o.oxw();return o.KtG($.selectPage($.page-1,O))})),o.GkF(2,13),o.qZA()()}if(2&g){const l=o.oxw(),_=o.MAs(11);o.ekj("disabled",l.noPrevious()||l.disabled),o.xp6(2),o.Q6J("ngTemplateOutlet",l.customPreviousTemplate||_)("ngTemplateOutletContext",o.WLB(4,be,l.noPrevious()||l.disabled,l.page))}}const Gt=function(g,c,l){return{disabled:g,$implicit:c,currentPage:l}};function Pn(g,c){if(1&g){const l=o.EpF();o.TgZ(0,"li",15)(1,"a",12),o.NdJ("click",(function(O){const fe=o.CHM(l).$implicit,ve=o.oxw();return o.KtG(ve.selectPage(fe.number,O))})),o.GkF(2,13),o.qZA()()}if(2&g){const l=c.$implicit,_=o.oxw(),O=o.MAs(7);o.ekj("active",l.active)("disabled",_.disabled&&!l.active),o.xp6(2),o.Q6J("ngTemplateOutlet",_.customPageTemplate||O)("ngTemplateOutletContext",o.kEZ(6,Gt,_.disabled,l,_.page))}}function or(g,c){if(1&g){const l=o.EpF();o.TgZ(0,"li",16)(1,"a",12),o.NdJ("click",(function(O){o.CHM(l);const $=o.oxw();return o.KtG($.selectPage($.page+1,O))})),o.GkF(2,13),o.qZA()()}if(2&g){const l=o.oxw(),_=o.MAs(9);o.ekj("disabled",l.noNext()||l.disabled),o.xp6(2),o.Q6J("ngTemplateOutlet",l.customNextTemplate||_)("ngTemplateOutletContext",o.WLB(4,be,l.noNext()||l.disabled,l.page))}}function ri(g,c){if(1&g){const l=o.EpF();o.TgZ(0,"li",17)(1,"a",12),o.NdJ("click",(function(O){o.CHM(l);const $=o.oxw();return o.KtG($.selectPage($.totalPages,O))})),o.GkF(2,13),o.qZA()()}if(2&g){const l=o.oxw(),_=o.MAs(15);o.ekj("disabled",l.noNext()||l.disabled),o.xp6(2),o.Q6J("ngTemplateOutlet",l.customLastTemplate||_)("ngTemplateOutletContext",o.WLB(4,be,l.noNext()||l.disabled,l.page))}}function sr(g,c){1&g&&o._uU(0),2&g&&o.Oqu(c.$implicit.text)}function fs(g,c){if(1&g&&o._uU(0),2&g){const l=o.oxw();o.Oqu(l.getText("next"))}}function fa(g,c){if(1&g&&o._uU(0),2&g){const l=o.oxw();o.Oqu(l.getText("previous"))}}function qi(g,c){if(1&g&&o._uU(0),2&g){const l=o.oxw();o.Oqu(l.getText("first"))}}function Ws(g,c){if(1&g&&o._uU(0),2&g){const l=o.oxw();o.Oqu(l.getText("last"))}}let nl=(()=>{class g{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 g.ɵfac=function(l){return new(l||g)},g.ɵprov=o.Yz7({token:g,factory:g.ɵfac,providedIn:"root"}),g})();const Xi={provide:xe.JU,useExisting:(0,o.Gpc)((()=>Co)),multi:!0};let Co=(()=>{class g{constructor(l,_,O){this.elementRef=l,this.changeDetection=O,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 o.vpe,this.pageChanged=new o.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=l,this.config||this.configureOptions(Object.assign({},_.main,_.pager))}get itemsPerPage(){return this._itemsPerPage}set itemsPerPage(l){this._itemsPerPage=l,this.totalPages=this.calculateTotalPages()}get totalItems(){return this._totalItems}set totalItems(l){this._totalItems=l,this.totalPages=this.calculateTotalPages()}get totalPages(){return this._totalPages}set totalPages(l){this._totalPages=l,this.numPages.emit(l),this.inited&&this.selectPage(this.page)}get page(){return this._page}set page(l){const _=this._page;this._page=l>this.totalPages?this.totalPages:l||1,this.changeDetection.markForCheck(),!(_===this._page||typeof _>"u")&&this.pageChanged.emit({page:this._page,itemsPerPage:this.itemsPerPage})}configureOptions(l){this.config=Object.assign({},l)}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(l){this.page=l,this.pages=this.getPages(this.page,this.totalPages)}getText(l){return this[`${l}Text`]||this.config[`${l}Text`]}noPrevious(){return 1===this.page}noNext(){return this.page===this.totalPages}registerOnChange(l){this.onChange=l}registerOnTouched(l){this.onTouched=l}selectPage(l,_){_&&_.preventDefault(),this.disabled||(_&&_.target&&_.target.blur(),this.writeValue(l),this.onChange(this.page))}makePage(l,_,O){return{text:_,number:l,active:O}}getPages(l,_){const O=[];let $=1,fe=_;const ve=typeof this.maxSize<"u"&&this.maxSize<_;ve&&this.maxSize&&(this.rotate?($=Math.max(l-Math.floor(this.maxSize/2),1),fe=$+this.maxSize-1,fe>_&&(fe=_,$=fe-this.maxSize+1)):($=(Math.ceil(l/this.maxSize)-1)*this.maxSize+1,fe=Math.min($+this.maxSize-1,_)));for(let Re=$;Re<=fe;Re++){const Je=this.makePage(Re,Re.toString(),Re===l);O.push(Je)}if(ve&&!this.rotate){if($>1){const Re=this.makePage($-1,"...",!1);O.unshift(Re)}if(fe<_){const Re=this.makePage(fe+1,"...",!1);O.push(Re)}}return O}calculateTotalPages(){const l=this.itemsPerPage<1?1:Math.ceil(this.totalItems/this.itemsPerPage);return Math.max(l||0,1)}}return g.ɵfac=function(l){return new(l||g)(o.Y36(o.SBq),o.Y36(nl),o.Y36(o.sBO))},g.ɵcmp=o.Xpm({type:g,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:[o._Bn([Xi])],decls:7,vars:24,consts:[[1,"pager"],[3,"ngClass"],["href","",3,"click"]],template:function(l,_){1&l&&(o.TgZ(0,"ul",0)(1,"li",1)(2,"a",2),o.NdJ("click",(function($){return _.selectPage(_.page-1,$)})),o._uU(3),o.qZA()(),o.TgZ(4,"li",1)(5,"a",2),o.NdJ("click",(function($){return _.selectPage(_.page+1,$)})),o._uU(6),o.qZA()()()),2&l&&(o.xp6(1),o.Tol(_.pageBtnClass),o.ekj("disabled",_.noPrevious())("previous",_.align),o.Q6J("ngClass",o.WLB(18,Fi,_.align,_.align)),o.xp6(2),o.Oqu(_.getText("previous")),o.xp6(1),o.Tol(_.pageBtnClass),o.ekj("disabled",_.noNext())("next",_.align),o.Q6J("ngClass",o.WLB(21,yo,_.align,_.align)),o.xp6(2),o.Oqu(_.getText("next")))},dependencies:[p.mk],encapsulation:2}),g})();const b={provide:xe.JU,useExisting:(0,o.Gpc)((()=>N)),multi:!0};let N=(()=>{class g{constructor(l,_,O){this.elementRef=l,this.changeDetection=O,this.align=!0,this.boundaryLinks=!1,this.directionLinks=!0,this.rotate=!0,this.pageBtnClass="",this.disabled=!1,this.numPages=new o.vpe,this.pageChanged=new o.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=l,this.config||this.configureOptions(_.main)}get itemsPerPage(){return this._itemsPerPage}set itemsPerPage(l){this._itemsPerPage=l,this.totalPages=this.calculateTotalPages()}get totalItems(){return this._totalItems}set totalItems(l){this._totalItems=l,this.totalPages=this.calculateTotalPages()}get totalPages(){return this._totalPages}set totalPages(l){this._totalPages=l,this.numPages.emit(l),this.inited&&this.selectPage(this.page)}get page(){return this._page}set page(l){const _=this._page;this._page=l>this.totalPages?this.totalPages:l||1,this.changeDetection.markForCheck(),!(_===this._page||typeof _>"u")&&this.pageChanged.emit({page:this._page,itemsPerPage:this.itemsPerPage})}configureOptions(l){this.config=Object.assign({},l)}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(l){this.page=l,this.pages=this.getPages(this.page,this.totalPages)}getText(l){return this[`${l}Text`]||this.config[`${l}Text`]}noPrevious(){return 1===this.page}noNext(){return this.page===this.totalPages}registerOnChange(l){this.onChange=l}registerOnTouched(l){this.onTouched=l}selectPage(l,_){_&&_.preventDefault(),this.disabled||(_&&_.target&&_.target.blur(),this.writeValue(l),this.onChange(this.page))}makePage(l,_,O){return{text:_,number:l,active:O}}getPages(l,_){const O=[];let $=1,fe=_;const ve=typeof this.maxSize<"u"&&this.maxSize<_;ve&&this.maxSize&&(this.rotate?($=Math.max(l-Math.floor(this.maxSize/2),1),fe=$+this.maxSize-1,fe>_&&(fe=_,$=fe-this.maxSize+1)):($=(Math.ceil(l/this.maxSize)-1)*this.maxSize+1,fe=Math.min($+this.maxSize-1,_)));for(let Re=$;Re<=fe;Re++){const Je=this.makePage(Re,Re.toString(),Re===l);O.push(Je)}if(ve&&!this.rotate){if($>1){const Re=this.makePage($-1,"...",!1);O.unshift(Re)}if(fe<_){const Re=this.makePage(fe+1,"...",!1);O.push(Re)}}return O}calculateTotalPages(){const l=this.itemsPerPage<1?1:Math.ceil(this.totalItems/this.itemsPerPage);return Math.max(l||0,1)}}return g.ɵfac=function(l){return new(l||g)(o.Y36(o.SBq),o.Y36(nl),o.Y36(o.sBO))},g.ɵcmp=o.Xpm({type:g,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:[o._Bn([b])],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(l,_){1&l&&(o.TgZ(0,"ul",0),o.YNc(1,st,3,7,"li",1),o.YNc(2,Ze,3,7,"li",2),o.YNc(3,Pn,3,10,"li",3),o.YNc(4,or,3,7,"li",4),o.YNc(5,ri,3,7,"li",5),o.qZA(),o.YNc(6,sr,1,1,"ng-template",null,6,o.W1O),o.YNc(8,fs,1,1,"ng-template",null,7,o.W1O),o.YNc(10,fa,1,1,"ng-template",null,8,o.W1O),o.YNc(12,qi,1,1,"ng-template",null,9,o.W1O),o.YNc(14,Ws,1,1,"ng-template",null,10,o.W1O)),2&l&&(o.Q6J("ngClass",_.classMap),o.xp6(1),o.Q6J("ngIf",_.boundaryLinks),o.xp6(1),o.Q6J("ngIf",_.directionLinks),o.xp6(1),o.Q6J("ngForOf",_.pages),o.xp6(1),o.Q6J("ngIf",_.directionLinks),o.xp6(1),o.Q6J("ngIf",_.boundaryLinks))},dependencies:[p.mk,p.sg,p.O5,p.tP],encapsulation:2}),g})(),E=(()=>{class g{static forRoot(){return{ngModule:g,providers:[]}}}return g.ɵfac=function(l){return new(l||g)},g.ɵmod=o.oAB({type:g}),g.ɵinj=o.cJS({imports:[p.ez]}),g})();function W(g,c){if(1&g&&(o.TgZ(0,"span",7),o.Hsn(1),o.qZA()),2&g){const l=o.oxw(2);o.uIk("id",l.infoBlockID)}}function _e(g,c){if(1&g){const l=o.EpF();o.ynx(0),o.TgZ(1,"a",3),o.NdJ("click",(function(){o.CHM(l);const O=o.oxw();return o.KtG(O.toggleInfoBlock())})),o._UZ(2,"span",4)(3,"span",5),o.qZA(),o.YNc(4,W,2,1,"span",6),o.BQk()}if(2&g){const l=o.oxw();o.xp6(1),o.uIk("id",l.infoIconID)("title",l.toggleActionTitle),o.xp6(2),o.Q6J("innerHtml",l.toggleActionTitle,o.oJD),o.xp6(1),o.Q6J("ngIf",l.showInfoBlock)}}const ze=["*"];function ht(g,c){if(1&g&&o._uU(0),2&g){const l=o.oxw();o.hij(" ",l.locale.maketext("Loading …"),"\n")}}function sn(g,c){1&g&&o.GkF(0)}const Jn=["header"];function Zn(g,c){if(1&g){const l=o.EpF();o.TgZ(0,"button",4),o.NdJ("click",(function(){o.CHM(l);const O=o.oxw();return o.KtG(O.closeClicked())})),o._UZ(1,"i",5),o.qZA()}if(2&g){const l=o.oxw();o.uIk("id",l.buttonID)}}const nr=[[["","callout-heading",""]],"*"],Gn=["[callout-heading]","*"];function Ir(g,c){if(1&g&&(o.TgZ(0,"li",3),o._UZ(1,"i",4)(2,"span",5),o.qZA()),2&g){const l=c.$implicit;o.uIk("id",l.id),o.xp6(2),o.Q6J("innerHtml",l.message,o.oJD)}}function yr(g,c){if(1&g&&(o.TgZ(0,"ul",1),o.YNc(1,Ir,3,2,"li",2),o.qZA()),2&g){const l=o.oxw();o.xp6(1),o.Q6J("ngForOf",l.getFieldErrors())}}const Br=function(g){return{visibility:g}};function bl(g,c){if(1&g){const l=o.EpF();o.TgZ(0,"button",9),o.NdJ("click",(function(){o.CHM(l);const O=o.oxw(2);return o.KtG(O.fireClose())})),o.TgZ(1,"span"),o._uU(2,"×"),o.qZA()()}if(2&g){const l=o.oxw(2);o.Q6J("id",l.closeButtonID)("title",l.closeLabel),o.uIk("aria-label",l.closeLabel),o.xp6(1),o.uIk("aria-hidden",!0)}}function to(g,c){if(1&g){const l=o.EpF();o.TgZ(0,"button",10),o.NdJ("click",(function(){o.CHM(l);const O=o.oxw(2);return o.KtG(O.fireToggleMore())})),o._uU(1),o.qZA()}if(2&g){const l=o.oxw(2);o.Q6J("id",l.moreButtonID),o.xp6(1),o.hij(" ",l.moreLabel," ")}}function rl(g,c){if(1&g&&(o.TgZ(0,"strong",11),o._uU(1),o.qZA()),2&g){const l=o.oxw(2);o.xp6(1),o.Oqu(l.label)}}function xs(g,c){if(1&g&&(o.TgZ(0,"span",12),o._uU(1),o.qZA()),2&g){const l=o.oxw(2);o.Q6J("id",l.textMessageID),o.xp6(1),o.hij(" ",l.message," ")}}function il(g,c){if(1&g&&(o.TgZ(0,"li")(1,"span",12),o._uU(2),o.qZA()()),2&g){const l=c.$implicit,_=c.index,O=o.oxw(3);o.xp6(1),o.s9C("id",O.textListID+"_"+_),o.xp6(1),o.hij(" ",l," ")}}function Na(g,c){if(1&g&&(o.TgZ(0,"ul",13),o.YNc(1,il,3,2,"li",14),o.qZA()),2&g){const l=o.oxw(2);o.xp6(1),o.Q6J("ngForOf",l.alert.list)}}function Fa(g,c){if(1&g&&(o.TgZ(0,"div",1),o.YNc(1,bl,3,4,"button",2),o.YNc(2,to,2,2,"button",3),o._UZ(3,"span"),o.TgZ(4,"div",4),o.YNc(5,rl,2,1,"strong",5),o.TgZ(6,"span",6),o.YNc(7,xs,2,2,"span",7),o.qZA(),o.YNc(8,Na,2,1,"ul",8),o.qZA()()),2&g){const l=o.oxw();o.Gre("alert alert-",l.type," ng-hide"),o.Q6J("@openClose",l.animationClass),o.xp6(1),o.Q6J("ngIf",l.showCloseButton),o.xp6(1),o.Q6J("ngIf",l.showMoreButton),o.xp6(1),o.Tol(l.icon),o.uIk("aria-hidden",!0),o.xp6(2),o.Q6J("ngIf",l.hasLabel),o.xp6(2),o.Q6J("ngIf",l.message),o.xp6(1),o.Q6J("ngIf",l.alert&&l.alert.list&&l.alert.list.length)}}function Os(g,c){if(1&g){const l=o.EpF();o.TgZ(0,"div",6)(1,"cp-alert",7),o.NdJ("close",(function(){const $=o.CHM(l).$implicit,fe=o.oxw();return o.KtG(fe.alertClosed($))})),o.qZA()()}if(2&g){const l=c.$implicit;o.xp6(1),o.Q6J("alert",l)}}function li(g,c){if(1&g&&o._UZ(0,"div",8),2&g){const l=o.oxw();o.Q6J("ngClass",l.positionClasses)}}const pi=["searchInput"];function La(g,c){if(1&g&&(o.TgZ(0,"span",6),o._uU(1),o.qZA()),2&g){const l=o.oxw();o.xp6(1),o.Oqu(l.clearIconLabel)}}function Js(g,c){if(1&g){const l=o.EpF();o.TgZ(0,"button",3),o.NdJ("click",(function(){const $=o.CHM(l).$implicit,fe=o.oxw();return o.KtG(fe.onOptionClicked($))})),o.qZA()}if(2&g){const l=c.$implicit,_=o.oxw();o.Q6J("disabled",_.disabled)("selected",_.isOptionSelected(l))("value",l)}}function Vo(g,c){1&g&&o._uU(0," >\n")}function ts(g,c){1&g&&o._uU(0," <\n")}function Sl(g,c){1&g&&o._uU(0," >>\n")}function J(g,c){1&g&&o._uU(0," <<\n")}class Yr{constructor(c,l,_=Yr.defaultOptions){this._message=c,this._type=l;const O=_.id?_.id:Math.random().toString(36).substr(2,9);this._id=O,this._closable=_.isCloseable??!0,this._autoClosePeriod=_.autoClosePeriod,this._list=_.list,this._showMore=_.showMore||Yr.defaultShowMore,this._ts=_.createdOn??Date.now()}get message(){return this._message}get type(){return this._type}get id(){return this._id}get isClosable(){return this._closable}get autoCloses(){return this._autoClosePeriod>0}get autoClosePeriod(){return this._autoClosePeriod}get list(){return this._list}get createdOn(){return this._ts}get showMore(){return this._showMore}static makeAlert(c){const{message:l,type:_,...O}=c;return new Yr(l,_,O)}}Yr.defaultShowMore=!1,Yr.defaultAutoClosePeriod=0,Yr.defaultOptions={autoClosePeriod:Yr.defaultAutoClosePeriod,list:[]};var Rr=(()=>{return(g=Rr||(Rr={}))[g.error=0]="error",g[g.success=1]="success",g[g.warning=2]="warning",g[g.information=3]="information",Rr;var g})(),Zr=(()=>{return(g=Zr||(Zr={})).add="add",g.remove="remove",g.clear="clear",Zr;var g})();let an=(()=>{class g{constructor(){this._alertEventsSource=new A.x,this._alerts={},this.alertEvents=this._alertEventsSource.asObservable()}add(l,_=g.defaultGroup){this._alerts[_]||(this._alerts[_]=[]);const O=l instanceof Yr?l:Yr.makeAlert(l);if(this.list(_).push(O),this._alertEventsSource.next({type:Zr.add,group:_,alert:O}),(0,o.X6Q)())switch(O.type){case Rr.error:console.error(O.message,O);break;case Rr.warning:console.warn(O.message,O);break;default:console.log(O.message,O)}return O}success(l,_=g.defaultGroup){return this.add(new Yr(l,Rr.success,g.defaultSuccessOptions),_)}error(l,_=g.defaultGroup){return this.add({message:l,type:Rr.error},_)}info(l,_=g.defaultGroup){return this.add({message:l,type:Rr.information},_)}warn(l,_=g.defaultGroup){return this.add({message:l,type:Rr.warning},_)}removeById(l,_=g.defaultGroup){const O=this.list(_),$=O.findIndex((fe=>fe.id===l),0);if(-1!==$){const fe=O[$];O.splice($,1),this._alertEventsSource.next({type:Zr.remove,group:_,alert:fe})}}clear(l=g.defaultGroup){this._alerts[l]=[],this._alertEventsSource.next({type:Zr.clear,group:l})}list(l=g.defaultGroup){return null==this._alerts[l]&&(this._alerts[l]=[]),this._alerts[l]}}return g.defaultGroup="__DEFAULT__",g.defaultSuccessOptions={autoClosePeriod:1e4},g.ɵfac=function(l){return new(l||g)},g.ɵprov=o.Yz7({token:g,factory:g.ɵfac,providedIn:"root"}),g})();var no=(()=>{return(g=no||(no={})).inline="inline",g.topLeft="top-left",g.topMiddle="top-middle",g.topRight="top-right",g.bottomLeft="bottom-left",g.bottomMiddle="bottom-middle",g.bottomRight="bottom-right",g.middleLeft="middle-left",g.middleMiddle="middle-middle",g.middleRight="middle-right",no;var g})();const pa=no.topRight,Jl=no.topLeft;let al=(()=>{class g{constructor(l){this.locale=l,this.showInfoToggle=!0,this.toggleActionTitleExpand=l.maketext("Expand"),this.toggleActionTitleCollapse=l.maketext("Collapse")}toggleInfoBlock(){this.showInfoBlock=!this.showInfoBlock,this.updateToggleActionTitle(this.showInfoBlock)}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-form-label`");this.labelID=`${this.id}_label`,this.infoIconID=`${this.id}_infoIcon`,this.infoBlockID=`${this.id}_infoBlock`,this.showInfoBlock=(!0===this.showInfoBlock||!1===this.showInfoBlock)&&this.showInfoBlock,this.updateToggleActionTitle(this.showInfoBlock)}updateToggleActionTitle(l){this.toggleActionTitle=l?this.toggleActionTitleCollapse:this.toggleActionTitleExpand}}return g.ɵfac=function(l){return new(l||g)(o.Y36(Be.g))},g.ɵcmp=o.Xpm({type:g,selectors:[["cp-form-label"]],inputs:{id:"id",for:"for",showInfoBlock:"showInfoBlock",labelText:"labelText",showInfoToggle:"showInfoToggle"},ngContentSelectors:ze,decls:4,vars:4,consts:[[1,"toggle-info-label-container"],[3,"innerHtml"],[4,"ngIf"],["href","javascript:void(0)",1,"text-primary","form-info-sign",3,"click"],["aria-hidden","true",1,"far","fa-question-circle","text-primary"],[1,"sr-only",3,"innerHtml"],["class","info-block",4,"ngIf"],[1,"info-block"]],template:function(l,_){1&l&&(o.F$t(),o.TgZ(0,"div",0),o._UZ(1,"label",1),o._uU(2," "),o.YNc(3,_e,5,4,"ng-container",2),o.qZA()),2&l&&(o.xp6(1),o.Q6J("innerHtml",_.labelText,o.oJD),o.uIk("id",_.labelID)("for",_.for),o.xp6(2),o.Q6J("ngIf",_.showInfoToggle))},dependencies:[p.O5],styles:["label[_ngcontent-%COMP%]{margin:0 0 5px}.info-block[_ngcontent-%COMP%]{color:#737373;display:block;margin:0 0 5px;font-weight:400;font-size:13px}"]}),g})(),Iu=(()=>{class g{}return g.ɵfac=function(l){return new(l||g)},g.ɵmod=o.oAB({type:g}),g.ɵinj=o.cJS({imports:[p.ez,ft.m]}),g})(),Jr=(()=>{class g{constructor(l){this.locale=l,this.containerId="",this.spinnerId="",this.messageId=""}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-loading-spinner`");this.containerId=this.id+"_loadingSpinnerContainer",this.spinnerId=this.id+"_loadingSpinner",this.messageId=this.id+"_loadingMessage"}}return g.ɵfac=function(l){return new(l||g)(o.Y36(Be.g))},g.ɵcmp=o.Xpm({type:g,selectors:[["cp-loading-spinner"]],inputs:{loadingTemplate:"loadingTemplate",id:"id"},decls:6,vars:4,consts:[["defaultLoadingTemplate",""],["aria-busy","true","aria-live","polite",1,"loading-spinner-container"],[1,"fas","fa-spinner","fa-spin","spinner"],[1,"loading-spinner-message"],[4,"ngTemplateOutlet"]],template:function(l,_){if(1&l&&(o.YNc(0,ht,1,1,"ng-template",null,0,o.W1O),o.TgZ(2,"div",1),o._UZ(3,"i",2),o.TgZ(4,"div",3),o.YNc(5,sn,1,0,"ng-container",4),o.qZA()()),2&l){const O=o.MAs(1);o.xp6(2),o.uIk("id",_.containerId),o.xp6(1),o.uIk("id",_.spinnerId),o.xp6(1),o.uIk("id",_.messageId),o.xp6(1),o.Q6J("ngTemplateOutlet",_.loadingTemplate?_.loadingTemplate:O)}},dependencies:[p.tP],styles:['.loading-spinner-container[_ngcontent-%COMP%]{background-color:#d7edf9;border:1px solid #179bd7;border-radius:2px;margin-bottom:20px;box-shadow:inset 41px 0 #179bd7}html[dir="ltr"][_nghost-%COMP%] .loading-spinner-container[_ngcontent-%COMP%], html[dir="ltr"] [_nghost-%COMP%] .loading-spinner-container[_ngcontent-%COMP%]{box-shadow:inset 40px 0 #179bd7}html[dir="rtl"][_nghost-%COMP%] .loading-spinner-container[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .loading-spinner-container[_ngcontent-%COMP%]{box-shadow:inset -40px 0 #179bd7}.spinner[_ngcontent-%COMP%]{color:#d7edf9;font-size:20px;display:inline-block;padding:10px}.loading-spinner-message[_ngcontent-%COMP%]{color:#333;display:inline-block;overflow-wrap:break-word;word-wrap:break-word}.loading-spinner-message[_ngcontent-%COMP%] a{text-decoration:underline;color:#255783}html[dir="ltr"][_nghost-%COMP%] .loading-spinner-message[_ngcontent-%COMP%], html[dir="ltr"] [_nghost-%COMP%] .loading-spinner-message[_ngcontent-%COMP%]{margin:0 0 0 10px}html[dir="rtl"][_nghost-%COMP%] .loading-spinner-message[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .loading-spinner-message[_ngcontent-%COMP%]{margin:0 10px 0 0}']}),g})(),ns=(()=>{class g{}return g.ɵfac=function(l){return new(l||g)},g.ɵmod=o.oAB({type:g}),g.ɵinj=o.cJS({imports:[p.ez,ft.m]}),g})();var ga=(()=>{return(g=ga||(ga={})).warnings="warnings",g.danger="danger",g.info="info",g.default="info",ga;var g})();let Ha=(()=>{class g{constructor(){this.calloutType=ga.default,this.closeable=!1,this.close=new o.vpe}closeClicked(){this.close.emit(null)}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-callout`");this.buttonID=`${this.id}_button`,this.headingID=`${this.id}_heading`,this.contentID=`${this.id}_content`}ngAfterViewInit(){0===this.header.nativeElement.children.length&&this.header.nativeElement.classList.add("hidden")}}return g.ɵfac=function(l){return new(l||g)},g.ɵcmp=o.Xpm({type:g,selectors:[["cp-callout"]],viewQuery:function(l,_){if(1&l&&o.Gf(Jn,5),2&l){let O;o.iGM(O=o.CRH())&&(_.header=O.first)}},inputs:{id:"id",calloutType:"calloutType",closeable:"closeable"},outputs:{close:"close"},ngContentSelectors:Gn,decls:7,vars:7,consts:[["role","alert"],["type","button","class","close","aria-label","Close",3,"click",4,"ngIf"],[1,"callout-heading"],["header",""],["type","button","aria-label","Close",1,"close",3,"click"],["aria-hidden","true",1,"fas","fa-sm","fa-times"]],template:function(l,_){1&l&&(o.F$t(nr),o.TgZ(0,"div",0),o.YNc(1,Zn,2,1,"button",1),o.TgZ(2,"div",2,3),o.Hsn(4),o.qZA(),o.TgZ(5,"div"),o.Hsn(6,1),o.qZA()()),2&l&&(o.Gre("callout callout-",_.calloutType,""),o.uIk("aria-label",_.calloutType),o.xp6(1),o.Q6J("ngIf",_.closeable),o.xp6(1),o.uIk("id",_.headingID),o.xp6(3),o.uIk("id",_.contentID))},dependencies:[p.O5],styles:['.callout[_ngcontent-%COMP%]{border-left-width:3px;border-left-style:solid;border-left-color:#eee;margin:15px 0;padding:15px}.callout-danger[_ngcontent-%COMP%]{background-color:#f2dede;border-left-color:#d03f00}.callout-success[_ngcontent-%COMP%]{background-color:#dff2d5;border-left-color:#83b655}.callout-warning[_ngcontent-%COMP%]{background-color:#fcf8e1;border-left-color:#f6c342}.callout-info[_ngcontent-%COMP%]{background-color:#d7edf9;border-left-color:#179bd7}.callout-heading[_ngcontent-%COMP%]{font-size:16px;margin-bottom:15px;font-family:inherit;font-weight:600;line-height:1.1;color:inherit;text-transform:capitalize}html[dir="rtl"][_nghost-%COMP%] .callout[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .callout[_ngcontent-%COMP%]{border-left-width:0;border-left-style:none;border-left-color:transparent;border-right-width:3px;border-right-style:solid;border-right-color:#eee}html[dir="rtl"][_nghost-%COMP%] .callout-danger[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .callout-danger[_ngcontent-%COMP%]{border-left-color:transparent;border-right-color:#d03f00}html[dir="rtl"][_nghost-%COMP%] .callout-success[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .callout-success[_ngcontent-%COMP%]{border-left-color:transparent;border-right-color:#83b655}html[dir="rtl"][_nghost-%COMP%] .callout-warning[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .callout-warning[_ngcontent-%COMP%]{border-left-color:transparent;border-right-color:#f6c342}html[dir="rtl"][_nghost-%COMP%] .callout-info[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .callout-info[_ngcontent-%COMP%]{border-left-color:transparent;border-right-color:#179bd7}']}),g})(),ma=(()=>{class g{}return g.ɵfac=function(l){return new(l||g)},g.ɵmod=o.oAB({type:g}),g.ɵinj=o.cJS({imports:[p.ez]}),g})(),xl=(()=>{class g{constructor(){}hasErrors(){return this.control&&!this.control.valid}hasChanged(){return this.control&&(this.control.dirty||this.control.touched)}getFieldErrors(){return this.control?Object.keys(this.control.errors).map((l=>(this.control.errors[l].id=`${this.id}_${l}`,this.control.errors[l].key=l,this.control.errors[l]))):[]}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-validation-container`")}}return g.ɵfac=function(l){return new(l||g)},g.ɵcmp=o.Xpm({type:g,selectors:[["cp-validation-container"]],inputs:{control:"control",id:"id"},decls:1,vars:1,consts:[["class","validation-container",4,"ngIf"],[1,"validation-container"],["class","validation validation-error ng-hide",4,"ngFor","ngForOf"],[1,"validation","validation-error","ng-hide"],[1,"fas","fa-exclamation-circle"],[1,"validation-message",3,"innerHtml"]],template:function(l,_){1&l&&o.YNc(0,yr,2,1,"ul",0),2&l&&o.Q6J("ngIf",_.hasErrors()&&_.hasChanged())},dependencies:[p.sg,p.O5],styles:['.validation-container[_ngcontent-%COMP%]{background-color:#f8c9c4;border:1px solid #a94442;padding:5px;border-radius:2px;list-style:none;margin-bottom:0;margin-top:5px}.validation-error[_ngcontent-%COMP%]{position:relative;line-height:20px}.validation-error[_ngcontent-%COMP%] > .fas[_ngcontent-%COMP%]{color:#a94442;display:inline-block;position:absolute;top:4px}.validation-message[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle;margin-left:20px}html[dir="rtl"][_nghost-%COMP%] .validation-message[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .validation-message[_ngcontent-%COMP%]{margin-right:20px;margin-left:0}']}),g})(),Is=(()=>{class g{}return g.ɵfac=function(l){return new(l||g)},g.ɵmod=o.oAB({type:g}),g.ɵinj=o.cJS({imports:[p.ez]}),g})();var Rs=(()=>{return(g=Rs||(Rs={})).loading="loading",g.disabled="disabled",g.enabled="enabled",Rs;var g})();let Ru=(()=>{class g{constructor(){this.click=new o.vpe,this.type="button",this.buttonClass="btn-primary",this.isDisabled=!1,this.showSpinner=!1}set buttonState(l){switch(l){case Rs.enabled:this.setToEnabled();break;case Rs.loading:this.setToLoading();break;case Rs.disabled:this.setToDisable()}}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-action-button`")}onClick(l){l.stopPropagation(),this.click.emit()}setToLoading(){this.isDisabled=!0,this.showSpinner=!0}setToDisable(){this.isDisabled=!0}setToEnabled(){this.isDisabled=!1,this.showSpinner=!1}}return g.ɵfac=function(l){return new(l||g)},g.ɵcmp=o.Xpm({type:g,selectors:[["cp-action-button"]],inputs:{id:"id",type:"type",buttonClass:"buttonClass",buttonState:"buttonState"},outputs:{click:"click"},ngContentSelectors:ze,decls:3,vars:8,consts:[[1,"btn","action-button",3,"id","type","ngClass","disabled","click"],[1,"fas","fa-sync","fa-spin",3,"id","ngStyle"]],template:function(l,_){1&l&&(o.F$t(),o.TgZ(0,"button",0),o.NdJ("click",(function($){return _.onClick($)})),o._UZ(1,"i",1),o.Hsn(2),o.qZA()),2&l&&(o.MGl("id","",_.id,"-button"),o.s9C("type",_.type),o.Q6J("ngClass",_.buttonClass)("disabled",_.isDisabled),o.xp6(1),o.MGl("id","",_.id,"-spinner"),o.Q6J("ngStyle",o.VKq(6,Br,_.showSpinner?"visible":"hidden")))},dependencies:[p.mk,p.PC],styles:['.action-button[_ngcontent-%COMP%]{padding:6px 26px 6px 12px}html[dir="rtl"][_nghost-%COMP%] .action-button[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .action-button[_ngcontent-%COMP%]{padding:6px 12px 6px 26px}']}),g})(),xo=(()=>{class g{}return g.ɵfac=function(l){return new(l||g)},g.ɵmod=o.oAB({type:g}),g.ɵinj=o.cJS({imports:[p.ez]}),g})();var T=(()=>{return(g=T||(T={})).new="new",g.closed="closed",g.open="open",T;var g})();let G=(()=>{class g{constructor(l){this.locale=l,this.close=new o.vpe,this.toggleMore=new o.vpe,this.animationClass=T.new}get icon(){switch(this.alert.type){case Rr.error:return"type-icon fas fa-times-circle";case Rr.warning:return"type-icon fas fa-exclamation-triangle";case Rr.information:return"type-icon fas fa-info-circle";case Rr.success:return"type-icon fas fa-check-circle"}}get type(){switch(this.alert.type){case Rr.error:return"danger";case Rr.warning:return"warning";case Rr.information:return"info";case Rr.success:return"success"}}get hasLabel(){const l=this.label;return null!==l&&""!==l}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 Rr.success:this.label=this.locale.maketext("Success:");break;case Rr.error:this.label=this.locale.maketext("Error:");break;case Rr.information:this.label=this.locale.maketext("Information:");break;case Rr.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=T.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=T.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(...l){return l.join("_")}}return g.ɵfac=function(l){return new(l||g)(o.Y36(Be.g))},g.ɵcmp=o.Xpm({type:g,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(l,_){1&l&&o.YNc(0,Fa,9,13,"div",0),2&l&&o.Q6J("ngIf",!_.isClosed)},dependencies:[p.sg,p.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,Ke.X$)("openClose",[(0,Ke.SB)(T.new,(0,Ke.oB)({opacity:0})),(0,Ke.SB)(T.open,(0,Ke.oB)({opacity:1})),(0,Ke.SB)(T.closed,(0,Ke.oB)({opacity:0,transform:"translateX(25%)"})),(0,Ke.eR)(`${T.open} => ${T.closed}`,[(0,Ke.jt)("0.25s")]),(0,Ke.eR)(`${T.new} => ${T.open}`,[(0,Ke.jt)("0.25s")]),(0,Ke.eR)(`${T.closed} => ${T.open}`,[(0,Ke.jt)("0.25s")])])]}}),g})(),ue=(()=>{class g{}return g.ɵfac=function(l){return new(l||g)},g.ɵmod=o.oAB({type:g}),g.ɵinj=o.cJS({imports:[p.ez,Ia,ft.m]}),g})(),he=(()=>{class g{constructor(l){this.locale=l}get position(){return this.locale.isLtr?pa:Jl}}return g.ɵfac=function(l){return new(l||g)(o.LFG(Be.g))},g.ɵprov=o.Yz7({token:g,factory:g.ɵfac,providedIn:"root"}),g})(),Ve=(()=>{class g{constructor(l,_){this._alertService=l,this._positionService=_,this.alerts=this.alerts?this.alerts:[]}get hasAlerts(){return this.alerts.length>0}get positionClasses(){return this.inline?g.positionPrefix+no.inline.toString():g.positionPrefix+this.position.toString()}get position(){return this._position.toString()}set position(l){this._position=((g,c=no.topRight)=>{if(g){const l=(g=>{const c=Object.keys(no),_=Object.values(no).indexOf(g);return-1!==_?c[_]:(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)})(g);if(l)return no[l]}return c})(l)}alertClosed(l){this._alertService.removeById(l.id,this.group)}ngOnInit(){this.group||(this.group=an.defaultGroup),this._position||(this._position=this._positionService.position),this._alertService.list(this.group).forEach((_=>this._addAlert(_))),this._groupEvents=this._alertService.alertEvents.pipe((0,L.h)((_=>_.group===this.group))),this._eventSubscription=this._groupEvents.subscribe({next:this._onAlertEvent.bind(this),error:console.error})}ngOnDestroy(){this._eventSubscription.unsubscribe()}_findAlertIndexById(l){return this.alerts.findIndex((_=>_.id===l))}_addAlert(l){return this.alerts.push(l),this.alerts}_removeAlert(l){const _=this._findAlertIndexById(l.id);return _>-1&&(this.alerts.splice(_,1),!0)}_clearAlerts(){this.alerts.splice(0,this.alerts.length)}_onAlertEvent(l){switch(l.type){case Zr.add:this._addAlert(l.alert);break;case Zr.clear:this._clearAlerts();break;case Zr.remove:this._removeAlert(l.alert)}}}return g.positionPrefix="position-",g.ɵfac=function(l){return new(l||g)(o.Y36(an),o.Y36(he))},g.ɵcmp=o.Xpm({type:g,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(l,_){1&l&&(o.TgZ(0,"div")(1,"div",0,1)(3,"div",2,3),o.YNc(5,Os,2,1,"div",4),o.qZA()(),o.YNc(6,li,1,1,"div",5),o.qZA()),2&l&&(o.xp6(1),o.Q6J("ngClass",_.positionClasses),o.xp6(4),o.Q6J("ngForOf",_.alerts),o.xp6(1),o.Q6J("ngIf",_.hasAlerts))},dependencies:[p.mk,p.sg,p.O5,G],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}}"]}),g})(),Et=(()=>{class g{}return g.ɵfac=function(l){return new(l||g)},g.ɵmod=o.oAB({type:g}),g.ɵinj=o.cJS({imports:[p.ez,ue]}),g})(),Dn=(()=>{class g{constructor(l){this.locale=l,this.autofocus=!1,this.debounce=250,this.disabled=!1,this.label="Search",this.placeholder="Search",this.valueChange=new o.vpe,this._searchSubject=new A.x,this._unsubscribe=new A.x,delete this.label,delete this.placeholder}get value(){return this._value}set value(l){this._value=l,this._searchSubject.next(l)}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 te(g){return(0,I.e)(((c,l)=>{(0,V.Xf)(g).subscribe(new B.Q(l,(()=>l.complete()),j.Z)),!l.closed&&c.subscribe(l)}))}(this._unsubscribe),function X(g,c=U.z){return(0,I.e)(((l,_)=>{let O=null,$=null,fe=null;const ve=()=>{if(O){O.unsubscribe(),O=null;const Je=$;$=null,_.next(Je)}};function Re(){const Je=fe+g,kt=c.now();if(kt<Je)return O=this.schedule(void 0,Je-kt),void _.add(O);ve()}l.subscribe(new B.Q(_,(Je=>{$=Je,fe=c.now(),O||(O=c.schedule(Re,g),_.add(O))}),(()=>{ve(),_.complete()}),void 0,(()=>{$=O=null})))}))}(this.debounce),function De(g,c=oe.y){return g=g??Se,(0,I.e)(((l,_)=>{let O,$=!0;l.subscribe(new B.Q(_,(fe=>{const ve=c(fe);($||!g(O,ve))&&($=!1,O=ve,_.next(fe))})))}))}()).subscribe((l=>{this.valueChange.emit(l)}))}ngAfterViewInit(){this.autofocus&&this.searchInput.nativeElement.focus()}ngOnDestroy(){this._unsubscribe.next(),this._unsubscribe.complete()}clearValue(){this.value=""}}return g.ɵfac=function(l){return new(l||g)(o.Y36(Be.g))},g.ɵcmp=o.Xpm({type:g,selectors:[["cp-search"]],viewQuery:function(l,_){if(1&l&&o.Gf(pi,5),2&l){let O;o.iGM(O=o.CRH())&&(_.searchInput=O.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(l,_){1&l&&(o.TgZ(0,"div",0)(1,"input",1,2),o.NdJ("ngModelChange",(function($){return _.value=$}))("keyup.esc",(function(){return _.clearValue()})),o.qZA(),o.TgZ(3,"span",3),o.NdJ("click",(function(){return _.clearValue()})),o._UZ(4,"span",4),o.YNc(5,La,2,1,"span",5),o.qZA()()),2&l&&(o.xp6(1),o.MGl("id","",_.id,"-search-input"),o.Q6J("ngModel",_.value)("disabled",_.disabled)("placeholder",_.placeholder)("title",_.label),o.uIk("aria-label",_.label)("list",_.list),o.xp6(2),o.MGl("id","",_.id,"-search-input-addon"),o.xp6(1),o.MGl("id","",_.id,"-search-input-icon"),o.Q6J("ngClass",(null==_.value?null:_.value.length)>0?"fas fa-times":"fas fa-search"),o.xp6(1),o.Q6J("ngIf",(null==_.value?null:_.value.length)>0))},dependencies:[p.mk,p.O5,xe.Fj,xe.JJ,xe.On],changeDetection:0}),g})(),Vt=(()=>{class g{}return g.ɵfac=function(l){return new(l||g)},g.ɵmod=o.oAB({type:g}),g.ɵinj=o.cJS({imports:[p.ez,xe.u5,ft.m]}),g})(),ru=(()=>{class g{constructor(l,_=[]){this.selectorName="",this.requiredInputs=["id"],this.requiredInputs=this.requiredInputs.concat(_),this.selectorName=l.nativeElement.tagName.toLowerCase()}ngOnInit(){this.requiredInputs.forEach((l=>{if(!this[l])throw new Error(`"${l}" must be defined for "${this.selectorName}"`)})),this._initiate()}_initiate(){}}return g.ɵfac=function(l){o.$Z()},g.ɵdir=o.lG2({type:g,inputs:{id:"id"}}),g})();var Xr=(()=>{return(g=Xr||(Xr={}))[g.all=-1]="all",Xr;var g})();const ja="pageSizeOption";let Nu=(()=>{class g{constructor(l){this.locale=l,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===Xr.all?(this.label=this.locale.maketext("All"),this.description=this.locale.maketext("Show all entries"),this.id=`${ja}_all`):(this.label=this.value.toString(),this.description=this.locale.maketext("Show [quant,_1,entry per page,entries per page]",this.value),this.id=`${ja}_${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 g.ɵfac=function(l){return new(l||g)(o.Y36(Be.g))},g.ɵdir=o.lG2({type:g,selectors:[["","cpPageSizeOption",""]],hostVars:6,hostBindings:function(l,_){2&l&&(o.Ikx("id",_.id)("innerText",_.label),o.uIk("aria-label",_.description)("aria-pressed",_.ariaPressed),o.Tol(_.cssClasses))},inputs:{value:"value",selected:"selected"},features:[o.TTD]}),g})(),ll=(()=>{class g extends ru{constructor(l,_){super(l),this.locale=_,this.selectedPageSize=g.defaultPageSize,this.pageSizeOptions=g.defaultPageSizeOptions,this.showOptionAll=!1,this.disabled=!1,this.optionSelected=new o.vpe,this.displayedPageSizeOptions=[]}isOptionSelected(l){return l===this.selectedPageSize}onOptionClicked(l){this._dispatchChange(l)}ngOnChanges(){this._buildOptions()}_initiate(){this._buildOptions()}_buildOptions(){const l=this.pageSizeOptions.slice(0).sort(((O,$)=>O-$));this.showOptionAll&&l.push(Xr.all),-1!==l.indexOf(this.selectedPageSize)?this.displayedPageSizeOptions=l:this._dispatchChange(l[0])}_dispatchChange(l){this.optionSelected.emit(l)}}return g.defaultPageSizeOptions=[20,50,100,500],g.defaultPageSize=20,g.ɵfac=function(l){return new(l||g)(o.Y36(o.SBq),o.Y36(Be.g))},g.ɵcmp=o.Xpm({type:g,selectors:[["cp-page-size-selector"]],inputs:{selectedPageSize:"selectedPageSize",pageSizeOptions:"pageSizeOptions",showOptionAll:"showOptionAll",disabled:"disabled"},outputs:{optionSelected:"optionSelected"},features:[o.qOj,o.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(l,_){1&l&&(o.TgZ(0,"div")(1,"div",0),o._uU(2),o.qZA(),o.TgZ(3,"div",1),o.YNc(4,Js,1,3,"button",2),o.qZA()()),2&l&&(o.xp6(2),o.hij(" ",_.locale.maketext("Entries Per Page")," "),o.xp6(2),o.Q6J("ngForOf",_.displayedPageSizeOptions))},dependencies:[p.sg,Nu],styles:[".page-size-buttons[_ngcontent-%COMP%]{margin-top:3px;display:flex}"]}),g})(),mi=(()=>{class g{}return g.ɵfac=function(l){return new(l||g)},g.ɵmod=o.oAB({type:g}),g.ɵinj=o.cJS({imports:[p.ez,ft.m]}),g})(),iu=(()=>{class g extends ru{constructor(l,_){super(l),this.locale=_,this.maxPagesVisible=g.defaultMaxPagesVisible,this.selectedPage=g.firstPageIndex,this.pageSize=ll.defaultPageSize,this.disabled=!1,this.pageChanged=new o.vpe}onPageChanged(l){this._dispatchChange(l)}onNumPagesChanged(l){this._dispatchChange(this.selectedPage)}_initiate(){this._dispatchChange(this.selectedPage)}_dispatchChange(l){const _=this.pageSize*(l-1),O=Math.min(_+this.pageSize,this.totalItems);this.pageChanged.emit({page:l,firstItem:_,lastItem:O}),this.itemsDetails=this.locale.maketext("[_1] - [_2] of [_3]",_+1,O,this.totalItems)}}return g.defaultMaxPagesVisible=5,g.firstPageIndex=1,g.ɵfac=function(l){return new(l||g)(o.Y36(o.SBq),o.Y36(Be.g))},g.ɵcmp=o.Xpm({type:g,selectors:[["cp-pagination"]],inputs:{maxPagesVisible:"maxPagesVisible",totalItems:"totalItems",selectedPage:"selectedPage",pageSize:"pageSize",disabled:"disabled"},outputs:{pageChanged:"pageChanged"},features:[o.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(l,_){if(1&l&&(o.TgZ(0,"div",0)(1,"pagination",1),o.NdJ("ngModelChange",(function($){return _.selectedPage=$}))("pageChanged",(function($){return _.onPageChanged($.page)}))("numPages",(function($){return _.onNumPagesChanged($)})),o.qZA(),o.TgZ(2,"p",2),o._uU(3),o.qZA()(),o.YNc(4,Vo,1,0,"ng-template",null,3,o.W1O),o.YNc(6,ts,1,0,"ng-template",null,4,o.W1O),o.YNc(8,Sl,1,0,"ng-template",null,5,o.W1O),o.YNc(10,J,1,0,"ng-template",null,6,o.W1O)),2&l){const O=o.MAs(5),$=o.MAs(7),fe=o.MAs(9),ve=o.MAs(11);o.Q6J("id",_.id),o.xp6(1),o.MGl("id","",_.id,"_ngx_paginator"),o.Q6J("totalItems",_.totalItems)("maxSize",_.maxPagesVisible)("disabled",_.disabled)("itemsPerPage",_.pageSize)("ngModel",_.selectedPage)("boundaryLinks",!0)("customFirstTemplate",ve)("customLastTemplate",fe)("customPreviousTemplate",$)("customNextTemplate",O),o.xp6(2),o.hij(" ",_.itemsDetails," ")}},dependencies:[xe.JJ,xe.On,N],styles:[".pagination-item-details[_ngcontent-%COMP%]{margin-top:-20px}"]}),g})(),Fu=(()=>{class g{}return g.ɵfac=function(l){return new(l||g)},g.ɵmod=o.oAB({type:g}),g.ɵinj=o.cJS({imports:[p.ez,xe.u5,E.forRoot(),ft.m]}),g})()},835:(Z,F,v)=>{"use strict";v.d(F,{Fq:()=>te,lz:()=>B,pj:()=>j});var o=v(1571),p=v(433);const A={provide:p.JU,useExisting:(0,o.Gpc)((()=>L)),multi:!0};let L=(()=>{class U{constructor(){this.btnCheckboxTrue=!0,this.btnCheckboxFalse=!1,this.state=!1,this.isDisabled=!1,this.onChange=Function.prototype,this.onTouched=Function.prototype}onClick(){this.isDisabled||(this.toggle(!this.state),this.onChange(this.value))}ngOnInit(){this.toggle(this.trueValue===this.value)}get trueValue(){return!(typeof this.btnCheckboxTrue<"u")||this.btnCheckboxTrue}get falseValue(){return typeof this.btnCheckboxFalse<"u"&&this.btnCheckboxFalse}toggle(oe){this.state=oe,this.value=this.state?this.trueValue:this.falseValue}writeValue(oe){this.state=this.trueValue===oe,this.value=oe?this.trueValue:this.falseValue}setDisabledState(oe){this.isDisabled=oe}registerOnChange(oe){this.onChange=oe}registerOnTouched(oe){this.onTouched=oe}}return U.ɵfac=function(oe){return new(oe||U)},U.ɵdir=o.lG2({type:U,selectors:[["","btnCheckbox",""]],hostVars:3,hostBindings:function(oe,De){1&oe&&o.NdJ("click",(function(){return De.onClick()})),2&oe&&(o.uIk("aria-pressed",De.state),o.ekj("active",De.state))},inputs:{btnCheckboxTrue:"btnCheckboxTrue",btnCheckboxFalse:"btnCheckboxFalse"},features:[o._Bn([A])]}),U})();const I={provide:p.JU,useExisting:(0,o.Gpc)((()=>B)),multi:!0};let B=(()=>{class U{constructor(oe,De,Se,xe){this.el=oe,this.cdr=De,this.renderer=Se,this.group=xe,this.onChange=Function.prototype,this.onTouched=Function.prototype,this.uncheckable=!1,this.role="radio",this._disabled=!1,this._hasFocus=!1}get value(){return this.group?this.group.value:this._value}set value(oe){this.group?this.group.value=oe:(this._value=oe,this._onChange(oe))}get disabled(){return this._disabled}set disabled(oe){this.setDisabledState(oe)}get controlOrGroupDisabled(){return!!(this.disabled||this.group&&this.group.disabled)||void 0}get hasDisabledClass(){return this.controlOrGroupDisabled&&!this.isActive}get isActive(){return this.btnRadio===this.value}get tabindex(){if(!this.controlOrGroupDisabled)return this.isActive||null==this.group?0:-1}get hasFocus(){return this._hasFocus}toggleIfAllowed(){!this.canToggle()||(this.value=this.uncheckable&&this.btnRadio===this.value?void 0:this.btnRadio)}onSpacePressed(oe){this.toggleIfAllowed(),oe.preventDefault()}focus(){this.el.nativeElement.focus()}onFocus(){this._hasFocus=!0}onBlur(){this._hasFocus=!1,this.onTouched()}canToggle(){return!this.controlOrGroupDisabled&&(this.uncheckable||this.btnRadio!==this.value)}ngOnChanges(oe){"uncheckable"in oe&&(this.uncheckable=!1!==this.uncheckable&&typeof this.uncheckable<"u")}_onChange(oe){this.group?this.group.value=oe:(this.onTouched(),this.onChange(oe))}writeValue(oe){this.value=oe,this.cdr.markForCheck()}registerOnChange(oe){this.onChange=oe}registerOnTouched(oe){this.onTouched=oe}setDisabledState(oe){this._disabled=oe,oe?this.renderer.setAttribute(this.el.nativeElement,"disabled","disabled"):this.renderer.removeAttribute(this.el.nativeElement,"disabled")}}return U.ɵfac=function(oe){return new(oe||U)(o.Y36(o.SBq),o.Y36(o.sBO),o.Y36(o.Qsj),o.Y36((0,o.Gpc)((()=>j)),8))},U.ɵdir=o.lG2({type:U,selectors:[["","btnRadio",""]],hostVars:8,hostBindings:function(oe,De){1&oe&&o.NdJ("click",(function(){return De.toggleIfAllowed()}))("keydown.space",(function(xe){return De.onSpacePressed(xe)}))("focus",(function(){return De.onFocus()}))("blur",(function(){return De.onBlur()})),2&oe&&(o.uIk("aria-disabled",De.controlOrGroupDisabled)("aria-checked",De.isActive)("role",De.role)("tabindex",De.tabindex),o.ekj("disabled",De.hasDisabledClass)("active",De.isActive))},inputs:{btnRadio:"btnRadio",uncheckable:"uncheckable",value:"value",disabled:"disabled"},features:[o._Bn([I]),o.TTD]}),U})();const V={provide:p.JU,useExisting:(0,o.Gpc)((()=>j)),multi:!0};let j=(()=>{class U{constructor(oe){this.cdr=oe,this.onChange=Function.prototype,this.onTouched=Function.prototype,this.role="radiogroup",this._disabled=!1}get value(){return this._value}set value(oe){this._value=oe,this.onChange(oe)}get disabled(){return this._disabled}get tabindex(){return this._disabled?null:0}writeValue(oe){this._value=oe,this.cdr.markForCheck()}registerOnChange(oe){this.onChange=oe}registerOnTouched(oe){this.onTouched=oe}setDisabledState(oe){this.radioButtons&&(this._disabled=oe,this.radioButtons.forEach((De=>{De.setDisabledState(oe)})),this.cdr.markForCheck())}onFocus(){if(this._disabled)return;const oe=this.getActiveOrFocusedRadio();if(oe)oe.focus();else if(this.radioButtons){const De=this.radioButtons.find((Se=>!Se.disabled));De&&De.focus()}}onBlur(){this.onTouched&&this.onTouched()}selectNext(oe){this.selectInDirection("next"),oe.preventDefault()}selectPrevious(oe){this.selectInDirection("previous"),oe.preventDefault()}selectInDirection(oe){if(this._disabled)return;function De(xe,ft){let Ke=(xe+("next"===oe?1:-1))%ft.length;return Ke<0&&(Ke=ft.length-1),Ke}const Se=this.getActiveOrFocusedRadio();if(Se&&this.radioButtons){const xe=this.radioButtons.toArray(),ft=xe.indexOf(Se);for(let Be=De(ft,xe);Be!==ft;Be=De(Be,xe))if(xe[Be].canToggle()){xe[Be].toggleIfAllowed(),xe[Be].focus();break}}}getActiveOrFocusedRadio(){if(this.radioButtons)return this.radioButtons.find((oe=>oe.isActive))||this.radioButtons.find((oe=>oe.hasFocus))}}return U.ɵfac=function(oe){return new(oe||U)(o.Y36(o.sBO))},U.ɵdir=o.lG2({type:U,selectors:[["","btnRadioGroup",""]],contentQueries:function(oe,De,Se){if(1&oe&&o.Suo(Se,B,4),2&oe){let xe;o.iGM(xe=o.CRH())&&(De.radioButtons=xe)}},hostVars:2,hostBindings:function(oe,De){1&oe&&o.NdJ("focus",(function(){return De.onFocus()}))("blur",(function(){return De.onBlur()}))("keydown.ArrowRight",(function(xe){return De.selectNext(xe)}))("keydown.ArrowDown",(function(xe){return De.selectNext(xe)}))("keydown.ArrowLeft",(function(xe){return De.selectPrevious(xe)}))("keydown.ArrowUp",(function(xe){return De.selectPrevious(xe)})),2&oe&&o.uIk("role",De.role)("tabindex",De.tabindex)},features:[o._Bn([V])]}),U})(),te=(()=>{class U{static forRoot(){return{ngModule:U,providers:[]}}}return U.ɵfac=function(oe){return new(oe||U)},U.ɵmod=o.oAB({type:U}),U.ɵinj=o.cJS({}),U})()},8523:(Z,F,v)=>{"use strict";v.d(F,{TO:()=>Si,Hz:()=>fi,mr:()=>mr,Mq:()=>ti});var o=v(1571),p=v(9300);class A{constructor(Q,Y){this.open=Q,this.close=Y||Q}isManual(){return"manual"===this.open||"manual"===this.close}}const L={hover:["mouseover","mouseout"],focus:["focusin","focusout"]};const U=typeof window<"u"&&window||{};let We;function Xt(){if(typeof U.document>"u")return"bs4";const k=U.document.createElement("span");k.innerText="testing bs version",k.classList.add("d-none"),k.classList.add("pl-1"),U.document.head.appendChild(k);const Q=k.getBoundingClientRect(),Y=U.getComputedStyle(k).paddingLeft;return!Q||Q&&0!==Q.top?(U.document.head.removeChild(k),"bs3"):Y&&parseFloat(Y)?(U.document.head.removeChild(k),"bs4"):(U.document.head.removeChild(k),"bs5")}function _t(){return typeof U>"u"||(typeof U.__theme>"u"?(We||(We=Xt()),"bs3"===We):"bs3"===U.__theme)}function ye(){return!_t()&&(We||(We=Xt()),"bs4"===We)}function me(){return{isBs3:_t(),isBs4:ye(),isBs5:!_t()&&!ye()&&(We||(We=Xt()),"bs5"===We)}}typeof console>"u"||console;var en=v(6895),Rn=v(7579),gn=v(6451),ir=v(8421),Mn=v(9751),Zt=v(5577),jn=v(1144),Nn=v(576),br=v(3268);const cr=["addListener","removeListener"],Oi=["addEventListener","removeEventListener"],$r=["on","off"];function Fr(k,Q,Y,ce){if((0,Nn.m)(Y)&&(ce=Y,Y=void 0),ce)return Fr(k,Q,Y).pipe((0,br.Z)(ce));const[Qe,Ye]=function Dr(k){return(0,Nn.m)(k.addEventListener)&&(0,Nn.m)(k.removeEventListener)}(k)?Oi.map((ut=>ct=>k[ut](Q,ct,Y))):function qr(k){return(0,Nn.m)(k.addListener)&&(0,Nn.m)(k.removeListener)}(k)?cr.map(Cr(k,Q)):function ei(k){return(0,Nn.m)(k.on)&&(0,Nn.m)(k.off)}(k)?$r.map(Cr(k,Q)):[];if(!Qe&&(0,jn.z)(k))return(0,Zt.z)((ut=>Fr(ut,Q,Y)))((0,ir.Xf)(k));if(!Qe)throw new TypeError("Invalid event target");return new Mn.y((ut=>{const ct=(...dt)=>ut.next(1<dt.length?dt:dt[0]);return Qe(ct),()=>Ye(ct)}))}function Cr(k,Q){return Y=>ce=>k[Y](Q,ce)}var qt=v(9646),Kr=v(4408),dr=v(727);const pe={schedule(k){let Q=requestAnimationFrame,Y=cancelAnimationFrame;const{delegate:ce}=pe;ce&&(Q=ce.requestAnimationFrame,Y=ce.cancelAnimationFrame);const Qe=Q((Ye=>{Y=void 0,k(Ye)}));return new dr.w0((()=>Y?.(Qe)))},requestAnimationFrame(...k){const{delegate:Q}=pe;return(Q?.requestAnimationFrame||requestAnimationFrame)(...k)},cancelAnimationFrame(...k){const{delegate:Q}=pe;return(Q?.cancelAnimationFrame||cancelAnimationFrame)(...k)},delegate:void 0};var Ae=v(640);const Xe=new class ke extends Ae.v{flush(Q){this._active=!0,this._scheduled=void 0;const{actions:Y}=this;let ce,Qe=-1;Q=Q||Y.shift();const Ye=Y.length;do{if(ce=Q.execute(Q.state,Q.delay))break}while(++Qe<Ye&&(Q=Y.shift()));if(this._active=!1,ce){for(;++Qe<Ye&&(Q=Y.shift());)Q.unsubscribe();throw ce}}}(class Ne extends Kr.o{constructor(Q,Y){super(Q,Y),this.scheduler=Q,this.work=Y}requestAsyncId(Q,Y,ce=0){return null!==ce&&ce>0?super.requestAsyncId(Q,Y,ce):(Q.actions.push(this),Q._scheduled||(Q._scheduled=pe.requestAnimationFrame((()=>Q.flush(void 0)))))}recycleAsyncId(Q,Y,ce=0){if(null!=ce&&ce>0||null==ce&&this.delay>0)return super.recycleAsyncId(Q,Y,ce);0===Q.actions.length&&(pe.cancelAnimationFrame(Y),Q._scheduled=void 0)}});var it=(()=>{return(k=it||(it={})).top="top",k.bottom="bottom",k.left="left",k.right="right",k.auto="auto",k.end="right",k.start="left",k["top left"]="top left",k["top right"]="top right",k["right top"]="right top",k["right bottom"]="right bottom",k["bottom right"]="bottom right",k["bottom left"]="bottom left",k["left bottom"]="left bottom",k["left top"]="left top",k["top start"]="top left",k["top end"]="top right",k["end top"]="right top",k["end bottom"]="right bottom",k["bottom end"]="bottom right",k["bottom start"]="bottom left",k["start bottom"]="start bottom",k["start top"]="left top",it;var k})(),at=(()=>{return(k=at||(at={})).top="top",k.bottom="bottom",k.left="start",k.right="end",k.auto="auto",k.end="end",k.start="start",k["top left"]="top start",k["top right"]="top end",k["right top"]="end top",k["right bottom"]="end bottom",k["bottom right"]="bottom end",k["bottom left"]="bottom start",k["left bottom"]="start bottom",k["left top"]="start top",k["top start"]="top start",k["top end"]="top end",k["end top"]="end top",k["end bottom"]="end bottom",k["bottom end"]="bottom end",k["bottom start"]="bottom start",k["start bottom"]="start bottom",k["start top"]="start top",at;var k})();function Mt(k,Q){if(1!==k.nodeType)return[];const ce=k.ownerDocument.defaultView?.getComputedStyle(k,null);return Q?ce&&ce[Q]:ce}function It(k){if(!k)return document.documentElement;let ce,Y=k?.offsetParent;for(;null===Y&&k.nextElementSibling&&ce!==k.nextElementSibling;)ce=k.nextElementSibling,Y=ce.offsetParent;const Qe=Y&&Y.nodeName;return Qe&&"BODY"!==Qe&&"HTML"!==Qe?Y&&-1!==["TH","TD","TABLE"].indexOf(Y.nodeName)&&"static"===Mt(Y,"position")?It(Y):Y:ce?ce.ownerDocument.documentElement:document.documentElement}function wn(k){return null!==k.parentNode?wn(k.parentNode):k}function Nt(k,Q){if(!(k&&k.nodeType&&Q&&Q.nodeType))return document.documentElement;const Y=k.compareDocumentPosition(Q)&Node.DOCUMENT_POSITION_FOLLOWING,ce=Y?k:Q,Qe=Y?Q:k,Ye=document.createRange();Ye.setStart(ce,0),Ye.setEnd(Qe,0);const ut=Ye.commonAncestorContainer;if(k!==ut&&Q!==ut||ce.contains(Qe))return function Rt(k){const{nodeName:Q}=k;return"BODY"!==Q&&("HTML"===Q||It(k.firstElementChild)===k)}(ut)?ut:It(ut);const ct=wn(k);return ct.host?Nt(ct.host,Q):Nt(k,wn(Q).host)}function Ht(k){if(!k||!k.parentElement)return document.documentElement;let Q=k.parentElement;for(;Q?.parentElement&&"none"===Mt(Q,"transform");)Q=Q.parentElement;return Q||document.documentElement}function mn(k,Q){const Y="x"===Q?"Left":"Top",ce="Left"===Y?"Right":"Bottom";return parseFloat(k[`border${Y}Width`])+parseFloat(k[`border${ce}Width`])}function Wn(k,Q,Y,ce){return Math.max(Q[`offset${k}`],Q[`scroll${k}`],Y[`client${k}`],Y[`offset${k}`],Y[`scroll${k}`],0)}function Kt(k){const Q=k.body,Y=k.documentElement;return{height:Wn("Height",Q,Y),width:Wn("Width",Q,Y)}}function Qt(k){return{...k,right:(k.left||0)+k.width,bottom:(k.top||0)+k.height}}function Tt(k){return"number"==typeof k||"[object Number]"===Object.prototype.toString.call(k)}function Xn(k){const Q=k.getBoundingClientRect();if(!(Q&&Tt(Q.top)&&Tt(Q.left)&&Tt(Q.bottom)&&Tt(Q.right)))return Q;const Y={left:Q.left,top:Q.top,width:Q.right-Q.left,height:Q.bottom-Q.top},ce="HTML"===k.nodeName?Kt(k.ownerDocument):void 0,Qe=ce?.width||k.clientWidth||Tt(Q.right)&&Tt(Y.left)&&Q.right-Y.left||0,Ye=ce?.height||k.clientHeight||Tt(Q.bottom)&&Tt(Y.top)&&Q.bottom-Y.top||0;let ut=k.offsetWidth-Qe,ct=k.offsetHeight-Ye;if(ut||ct){const dt=Mt(k);ut-=mn(dt,"x"),ct-=mn(dt,"y"),Y.width-=ut,Y.height-=ct}return Qt(Y)}function Sn(k){return"HTML"===k.nodeName?k:k.parentNode||k.host}function Ft(k){if(!k)return document.body;switch(k.nodeName){case"HTML":case"BODY":return k.ownerDocument.body;case"#document":return k.body}const{overflow:Q,overflowX:Y,overflowY:ce}=Mt(k);return/(auto|scroll|overlay)/.test(String(Q)+String(ce)+String(Y))?k:Ft(Sn(k))}function vn(k,Q,Y=!1){const ce="HTML"===Q.nodeName,Qe=Xn(k),Ye=Xn(Q),ct=(Ft(k),Mt(Q)),dt=parseFloat(ct.borderTopWidth),_n=parseFloat(ct.borderLeftWidth);Y&&ce&&(Ye.top=Math.max(Ye.top??0,0),Ye.left=Math.max(Ye.left??0,0));const On=Qt({top:(Qe.top??0)-(Ye.top??0)-dt,left:(Qe.left??0)-(Ye.left??0)-_n,width:Qe.width,height:Qe.height});if(On.marginTop=0,On.marginLeft=0,ce){const Lr=parseFloat(ct.marginTop),Qr=parseFloat(ct.marginLeft);Tt(On.top)&&(On.top-=dt-Lr),Tt(On.bottom)&&(On.bottom-=dt-Lr),Tt(On.left)&&(On.left-=_n-Qr),Tt(On.right)&&(On.right-=_n-Qr),On.marginTop=Lr,On.marginLeft=Qr}return On}function Lt(k,Q="top"){const Y="top"===Q?"scrollTop":"scrollLeft",ce=k.nodeName;if("BODY"===ce||"HTML"===ce){const Qe=k.ownerDocument.documentElement;return(k.ownerDocument.scrollingElement||Qe)[Y]}return k[Y]}function re(k){const Q=k.nodeName;return"BODY"!==Q&&"HTML"!==Q&&("fixed"===Mt(k,"position")||re(Sn(k)))}function ae(k,Q,Y=0,ce,Qe=!1){let Ye={top:0,left:0};const ut=Qe?Ht(k):Nt(k,Q);if("viewport"===ce)Ye=function Pe(k,Q=!1){const Y=k.ownerDocument.documentElement,ce=vn(k,Y),Qe=Math.max(Y.clientWidth,window.innerWidth||0),Ye=Math.max(Y.clientHeight,window.innerHeight||0),ut=Q?0:Lt(Y),ct=Q?0:Lt(Y,"left");return Qt({top:ut-Number(ce?.top)+Number(ce?.marginTop),left:ct-Number(ce?.left)+Number(ce?.marginLeft),width:Qe,height:Ye})}(ut,Qe);else{let ct;"scrollParent"===ce?(ct=Ft(Sn(Q)),"BODY"===ct.nodeName&&(ct=k.ownerDocument.documentElement)):ct="window"===ce?k.ownerDocument.documentElement:ce;const dt=vn(ct,ut,Qe);if(dt&&"HTML"===ct.nodeName&&!re(ut)){const{height:_n,width:On}=Kt(k.ownerDocument);Tt(Ye.top)&&Tt(dt.top)&&Tt(dt.marginTop)&&(Ye.top+=dt.top-dt.marginTop),Tt(Ye.top)&&(Ye.bottom=Number(_n)+Number(dt.top)),Tt(Ye.left)&&Tt(dt.left)&&Tt(dt.marginLeft)&&(Ye.left+=dt.left-dt.marginLeft),Tt(Ye.top)&&(Ye.right=Number(On)+Number(dt.left))}else dt&&(Ye=dt)}return Tt(Ye.left)&&(Ye.left+=Y),Tt(Ye.top)&&(Ye.top+=Y),Tt(Ye.right)&&(Ye.right-=Y),Tt(Ye.bottom)&&(Ye.bottom-=Y),Ye}function Ie({width:k,height:Q}){return k*Q}function $e(k,Q,Y,ce,Qe=["top","bottom","right","left"],Ye="viewport",ut=0){if(-1===k.indexOf("auto"))return k;const ct=ae(Y,ce,ut,Ye),dt={top:{width:ct?.width??0,height:(Q?.top??0)-(ct?.top??0)},right:{width:(ct?.right??0)-(Q?.right??0),height:ct?.height??0},bottom:{width:ct?.width??0,height:(ct?.bottom??0)-(Q?.bottom??0)},left:{width:(Q.left??0)-(ct?.left??0),height:ct?.height??0}},_n=Object.keys(dt).map((kr=>({position:kr,...dt[kr],area:Ie(dt[kr])}))).sort(((kr,yi)=>yi.area-kr.area));let On=_n.filter((({width:kr,height:yi})=>kr>=Y.clientWidth&&yi>=Y.clientHeight));On=On.filter((({position:kr})=>Qe.some((yi=>yi===kr))));const Lr=On.length>0?On[0].position:_n[0].position,Qr=k.split(" ")[1];return Y.className=Y.className.replace(/bs-tooltip-auto/g,`bs-tooltip-${me().isBs5?at[Lr]:Lr}`),Lr+(Qr?`-${Qr}`:"")}const nn=(k,Q=0)=>k?parseFloat(k):Q;function $t(k){const Y=k.ownerDocument.defaultView?.getComputedStyle(k),ce=nn(Y?.marginTop)+nn(Y?.marginBottom),Qe=nn(Y?.marginLeft)+nn(Y?.marginRight);return{width:Number(k.offsetWidth)+Qe,height:Number(k.offsetHeight)+ce}}function Ce(k,Q,Y){return vn(Q,Y?Ht(k):Nt(k,Q),Y)}function de(k,Q,Y){const ce=Y.split(" ")[0],Qe=$t(k),Ye={width:Qe.width,height:Qe.height},ut=-1!==["right","left"].indexOf(ce),ct=ut?"top":"left",dt=ut?"left":"top",_n=ut?"height":"width",On=ut?"width":"height";return Ye[ct]=(Q[ct]??0)+Q[_n]/2-Qe[_n]/2,Ye[dt]=ce===dt?(Q[dt]??0)-Qe[On]:Q[function tn(k){const Q={left:"right",right:"left",bottom:"top",top:"bottom"};return k.replace(/left|right|bottom|top/g,(Y=>Q[Y]))}(dt)]??0,Ye}function ne(k,Q){return!!k.modifiers[Q]?.enabled}const z={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 se(k,Q){return!!me().isBs5&&z[Q].includes(k)}function At(k,Q,Y){!k||!Q||Object.keys(Q).forEach((ce=>{let Qe="";-1!==["width","height","top","right","bottom","left"].indexOf(ce)&&function cn(k){return""!==k&&!isNaN(parseFloat(k))&&isFinite(Number(k))}(Q[ce])&&(Qe="px"),Y?Y.setStyle(k,ce,`${String(Q[ce])}${Qe}`):k.style[ce]=String(Q[ce])+Qe}))}function ot(k){let Q=k.offsets.target;const Y=k.instance.target.querySelector(".arrow");if(!Y)return k;const ce=-1!==["left","right"].indexOf(k.placement.split(" ")[0]),Qe=ce?"height":"width",Ye=ce?"Top":"Left",ut=Ye.toLowerCase(),ct=ce?"left":"top",dt=ce?"bottom":"right",_n=$t(Y)[Qe],On=k.placement.split(" ")[1];(k.offsets.host[dt]??0)-_n<(Q[ut]??0)&&(Q[ut]-=(Q[ut]??0)-((k.offsets.host[dt]??0)-_n)),Number(k.offsets.host[ut])+Number(_n)>(Q[dt]??0)&&(Q[ut]+=Number(k.offsets.host[ut])+Number(_n)-Number(Q[dt])),Q=Qt(Q);const Lr=Mt(k.instance.target),Qr=parseFloat(Lr[`margin${Ye}`])||0,kr=parseFloat(Lr[`border${Ye}Width`])||0;let yi;if(On){const zi=parseFloat(Lr.borderRadius)||0,oo=Number(Qr+kr+zi);yi=ut===On?Number(k.offsets.host[ut])+oo:Number(k.offsets.host[ut])+Number(k.offsets.host[Qe]-oo)}else yi=Number(k.offsets.host[ut])+Number(k.offsets.host[Qe]/2-_n/2);let io=yi-(Q[ut]??0)-Qr-kr;return io=Math.max(Math.min(Q[Qe]-(_n+5),io),0),k.offsets.arrow={[ut]:Math.round(io),[ct]:""},k.instance.arrow=Y,k}function Dt(k){if(k.offsets.target=Qt(k.offsets.target),!ne(k.options,"flip"))return k.offsets.target={...k.offsets.target,...de(k.instance.target,k.offsets.host,k.placement)},k;const Q=ae(k.instance.target,k.instance.host,0,"viewport",!1);let Y=k.placement.split(" ")[0],ce=k.placement.split(" ")[1]||"";const ct=$e("auto",k.offsets.host,k.instance.target,k.instance.host,k.options.allowedPositions),dt=[Y,ct];return dt.forEach(((_n,On)=>{if(Y!==_n||dt.length===On+1)return;Y=k.placement.split(" ")[0];const Lr="left"===Y&&Math.floor(k.offsets.target.right??0)>Math.floor(k.offsets.host.left??0)||"right"===Y&&Math.floor(k.offsets.target.left??0)<Math.floor(k.offsets.host.right??0)||"top"===Y&&Math.floor(k.offsets.target.bottom??0)>Math.floor(k.offsets.host.top??0)||"bottom"===Y&&Math.floor(k.offsets.target.top??0)<Math.floor(k.offsets.host.bottom??0),Qr=Math.floor(k.offsets.target.left??0)<Math.floor(Q.left??0),kr=Math.floor(k.offsets.target.right??0)>Math.floor(Q.right??0),yi=Math.floor(k.offsets.target.top??0)<Math.floor(Q.top??0),io=Math.floor(k.offsets.target.bottom??0)>Math.floor(Q.bottom??0),zi="left"===Y&&Qr||"right"===Y&&kr||"top"===Y&&yi||"bottom"===Y&&io,oo=-1!==["top","bottom"].indexOf(Y),Ro=oo&&"left"===ce&&Qr||oo&&"right"===ce&&kr||!oo&&"left"===ce&&yi||!oo&&"right"===ce&&io;(Lr||zi||Ro)&&((Lr||zi)&&(Y=dt[On+1]),Ro&&(ce=function un(k){return"right"===k?"left":"left"===k?"right":k}(ce)),k.placement=Y+(ce?` ${ce}`:""),k.offsets.target={...k.offsets.target,...de(k.instance.target,k.offsets.host,k.placement)})})),k}function wt(k){if(!ne(k.options,"preventOverflow"))return k;const Q="transform",Y=k.instance.target.style,{top:ce,left:Qe,[Q]:Ye}=Y;Y.top="",Y.left="",Y[Q]="";const ut=ae(k.instance.target,k.instance.host,0,k.options.modifiers.preventOverflow?.boundariesElement||"scrollParent",!1);Y.top=ce,Y.left=Qe,Y[Q]=Ye;const dt={primary(_n){let On=k.offsets.target[_n];return(k.offsets.target[_n]??0)<(ut[_n]??0)&&(On=Math.max(k.offsets.target[_n]??0,ut[_n]??0)),{[_n]:On}},secondary(_n){const On="right"===_n,Lr=On?"left":"top";let kr=k.offsets.target[Lr];return(k.offsets.target[_n]??0)>(ut[_n]??0)&&(kr=Math.min(k.offsets.target[Lr]??0,(ut[_n]??0)-k.offsets.target[On?"width":"height"])),{[Lr]:kr}}};return["left","right","top","bottom"].forEach((_n=>{const On=-1!==["left","top","start"].indexOf(_n)?dt.primary:dt.secondary;k.offsets.target={...k.offsets.target,...On(_n)}})),k}function Pt(k){const Q=k.placement,Y=Q.split(" ")[0],ce=Q.split(" ")[1];if(ce){const{host:Qe,target:Ye}=k.offsets,ut=-1!==["bottom","top"].indexOf(Y),ct=ut?"left":"top",dt=ut?"width":"height",_n={start:{[ct]:Qe[ct]},end:{[ct]:(Qe[ct]??0)+Qe[dt]-Ye[dt]}};k.offsets.target={...Ye,[ct]:ct===ce?_n.start[ct]:_n.end[ct]}}return k}const jt=new class Yt{position(Q,Y){return this.offset(Q,Y)}offset(Q,Y){return Ce(Y,Q)}positionElements(Q,Y,ce,Qe,Ye){const ut=[Dt,Pt,wt,ot],dt=function Ue(k,Q,Y,ce){if(!k||!Q)return;const Qe=Ce(k,Q);!Y.match(/^(auto)*\s*(left|right|top|bottom|start|end)*$/)&&!Y.match(/^(left|right|top|bottom|start|end)*(?: (left|right|top|bottom|start|end))*$/)&&(Y="auto");const Ye=!!Y.match(/auto/g);let ut=Y.match(/auto\s(left|right|top|bottom|start|end)/)?Y.split(" ")[1]||"auto":Y;const ct=ut.match(/^(left|right|top|bottom|start|end)* ?(?!\1)(left|right|top|bottom|start|end)?/);return ct&&(ut=ct[1]+(ct[2]?` ${ct[2]}`:"")),-1!==["left right","right left","top bottom","bottom top"].indexOf(ut)&&(ut="auto"),ut=$e(ut,Qe,k,Q,ce?ce.allowedPositions:void 0),{options:ce||{modifiers:{}},instance:{target:k,host:Q,arrow:void 0},offsets:{target:de(k,Qe,ut),host:Qe,arrow:void 0},positionFixed:!1,placement:ut,placementAuto:Ye}}(Y,Q,it[ce],Ye);if(dt)return ut.reduce(((_n,On)=>On(_n)),dt)}};function St(k,Q,Y,ce,Qe,Ye){const ut=jt.positionElements(k,Q,Y,ce,Qe);if(!ut)return;const ct=function Ut(k){return{width:k.offsets.target.width,height:k.offsets.target.height,left:Math.floor(k.offsets.target.left??0),top:Math.round(k.offsets.target.top??0),bottom:Math.round(k.offsets.target.bottom??0),right:Math.floor(k.offsets.target.right??0)}}(ut);At(Q,{"will-change":"transform",top:"0px",left:"0px",transform:`translate3d(${ct.left}px, ${ct.top}px, 0px)`},Ye),ut.instance.arrow&&At(ut.instance.arrow,ut.offsets.arrow,Ye),function tt(k,Q){const Y=k.instance.target;let ce=Y.className;const Qe=me().isBs5?at[k.placement]:k.placement;k.placementAuto&&(ce=ce.replace(/bs-popover-auto/g,`bs-popover-${Qe}`),ce=ce.replace(/ms-2|me-2|mb-2|mt-2/g,""),ce=ce.replace(/bs-tooltip-auto/g,`bs-tooltip-${Qe}`),ce=ce.replace(/\sauto/g,` ${Qe}`),-1!==ce.indexOf("popover")&&(ce=ce+" "+function Oe(k){return me().isBs5?se(k,"end")?"ms-2":se(k,"start")?"me-2":se(k,"top")?"mb-2":se(k,"bottom")?"mt-2":"":""}(Qe)),-1!==ce.indexOf("popover")&&-1===ce.indexOf("popover-auto")&&(ce+=" popover-auto"),-1!==ce.indexOf("tooltip")&&-1===ce.indexOf("tooltip-auto")&&(ce+=" tooltip-auto")),ce=ce.replace(/left|right|top|bottom|end|start/g,`${Qe.split(" ")[0]}`),Q?Q.setAttribute(Y,"class",ce):Y.className=ce}(ut,Ye)}let dn=(()=>{class k{constructor(Y,ce,Qe){this.update$$=new Rn.x,this.positionElements=new Map,this.isDisabled=!1,(0,en.NF)(Qe)&&Y.runOutsideAngular((()=>{this.triggerEvent$=(0,gn.T)(Fr(window,"scroll",{passive:!0}),Fr(window,"resize",{passive:!0}),(0,qt.of)(0,Xe),this.update$$),this.triggerEvent$.subscribe((()=>{this.isDisabled||this.positionElements.forEach((Ye=>{St(on(Ye.target),on(Ye.element),Ye.attachment,Ye.appendToBody,this.options,ce.createRenderer(null,null))}))}))}))}position(Y){this.addPositionElement(Y)}get event$(){return this.triggerEvent$}disable(){this.isDisabled=!0}enable(){this.isDisabled=!1}addPositionElement(Y){this.positionElements.set(on(Y.element),Y)}calcPosition(){this.update$$.next(null)}deletePositionElement(Y){this.positionElements.delete(on(Y))}setOptions(Y){this.options=Y}}return k.ɵfac=function(Y){return new(Y||k)(o.LFG(o.R0b),o.LFG(o.FYo),o.LFG(o.Lbi))},k.ɵprov=o.Yz7({token:k,factory:k.ɵfac,providedIn:"root"}),k})();function on(k){return"string"==typeof k?document.querySelector(k):k instanceof o.SBq?k.nativeElement:k??null}class Un{constructor(Q,Y,ce){this.nodes=Q,this.viewRef=Y,this.componentRef=ce}}class ar{constructor(Q,Y,ce,Qe,Ye,ut,ct,dt,_n){this._viewContainerRef=Q,this._renderer=Y,this._elementRef=ce,this._injector=Qe,this._componentFactoryResolver=Ye,this._ngZone=ut,this._applicationRef=ct,this._posService=dt,this._document=_n,this.onBeforeShow=new o.vpe,this.onShown=new o.vpe,this.onBeforeHide=new o.vpe,this.onHidden=new o.vpe,this._providers=[],this._isHiding=!1,this.containerDefaultSelector="body",this._listenOpts={},this._globalListener=Function.prototype}get isShown(){return!this._isHiding&&!!this._componentRef}attach(Q){return this._componentFactory=this._componentFactoryResolver.resolveComponentFactory(Q),this}to(Q){return this.container=Q||this.container,this}position(Q){return Q?(this.attachment=Q.attachment||this.attachment,this._elementRef=Q.target||this._elementRef,this):this}provide(Q){return this._providers.push(Q),this}show(Q={}){if(this._subscribePositioning(),this._innerComponent=void 0,!this._componentRef){this.onBeforeShow.emit(),this._contentRef=this._getContentRef(Q.content,Q.context,Q.initialState);const Y=o.zs3.create({providers:this._providers,parent:this._injector});if(!this._componentFactory)return;if(this._componentRef=this._componentFactory.create(Y,this._contentRef.nodes),this._applicationRef.attachView(this._componentRef.hostView),this.instance=this._componentRef.instance,Object.assign(this._componentRef.instance,Q),this.container instanceof o.SBq&&this.container.nativeElement.appendChild(this._componentRef.location.nativeElement),"string"==typeof this.container&&typeof this._document<"u"){const ce=this._document.querySelector(this.container)||this._document.querySelector(this.containerDefaultSelector);if(!ce)return;ce.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(Q.id?{id:Q.id}:this._componentRef.instance)}return this._registerOutsideClick(),this._componentRef}hide(Q){if(!this._componentRef)return this;this._posService.deletePositionElement(this._componentRef.location),this.onBeforeHide.emit(this._componentRef.instance);const Y=this._componentRef.location.nativeElement;return Y.parentNode?.removeChild(Y),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(Q?{id:Q}:null),this}toggle(){this.isShown?this.hide():this.show()}dispose(){this.isShown&&this.hide(),this._unsubscribePositioning(),this._unregisterListenersFn&&this._unregisterListenersFn()}listen(Q){this.triggers=Q.triggers||this.triggers,this._listenOpts.outsideClick=Q.outsideClick,this._listenOpts.outsideEsc=Q.outsideEsc,Q.target=Q.target||this._elementRef?.nativeElement;const Y=this._listenOpts.hide=()=>Q.hide?Q.hide():void this.hide(),ce=this._listenOpts.show=Ye=>{Q.show?Q.show(Ye):this.show(Ye),Ye()};return this._renderer&&(this._unregisterListenersFn=function V(k,Q){const Y=function I(k,Q=L){const Y=(k||"").trim();if(0===Y.length)return[];const ce=Y.split(/\s+/).map((Ye=>Ye.split(":"))).map((Ye=>{const ut=Q[Ye[0]]||Ye;return new A(ut[0],ut[1])})),Qe=ce.filter((Ye=>Ye.isManual()));if(Qe.length>1)throw new Error("Triggers parse error: only one manual trigger is allowed");if(1===Qe.length&&ce.length>1)throw new Error("Triggers parse error: manual trigger can't be mixed with other triggers");return ce}(Q.triggers),ce=Q.target;if(1===Y.length&&Y[0].isManual())return Function.prototype;const Qe=[],Ye=[],ut=()=>{Ye.forEach((ct=>Qe.push(ct()))),Ye.length=0};return Y.forEach((ct=>{const dt=ct.open===ct.close,_n=dt?Q.toggle:Q.show;if(!dt&&ct.close&&Q.hide){const On=k.listen(ce,ct.close,Q.hide);Ye.push((()=>On))}_n&&Qe.push(k.listen(ce,ct.open,(()=>_n(ut))))})),()=>{Qe.forEach((ct=>ct()))}}(this._renderer,{target:Q.target,triggers:Q.triggers,show:ce,hide:Y,toggle:Ye=>{this.isShown?Y():ce(Ye)}})),this}_removeGlobalListener(){this._globalListener&&(this._globalListener(),this._globalListener=Function.prototype)}attachInline(Q,Y){return Q&&Y&&(this._inlineViewRef=Q.createEmbeddedView(Y)),this}_registerOutsideClick(){if(this._componentRef&&this._componentRef.location){if(this._listenOpts.outsideClick){const Q=this._componentRef.location.nativeElement;setTimeout((()=>{this._renderer&&this._elementRef&&(this._globalListener=function j(k,Q){return Q.outsideClick?k.listen("document","click",(Y=>{Q.target&&Q.target.contains(Y.target)||Q.targets&&Q.targets.some((ce=>ce.contains(Y.target)))||Q.hide&&Q.hide()})):Function.prototype}(this._renderer,{targets:[Q,this._elementRef.nativeElement],outsideClick:this._listenOpts.outsideClick,hide:()=>this._listenOpts.hide&&this._listenOpts.hide()}))}))}this._listenOpts.outsideEsc&&this._renderer&&this._elementRef&&(this._globalListener=function te(k,Q){return Q.outsideEsc?k.listen("document","keyup.esc",(Y=>{Q.target&&Q.target.contains(Y.target)||Q.targets&&Q.targets.some((ce=>ce.contains(Y.target)))||Q.hide&&Q.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(Q,Y,ce){if(!Q)return new Un([]);if(Q instanceof o.Rgc){if(this._viewContainerRef){const ut=this._viewContainerRef.createEmbeddedView(Q,Y);return ut.markForCheck(),new Un([ut.rootNodes],ut)}const Ye=Q.createEmbeddedView({});return this._applicationRef.attachView(Ye),new Un([Ye.rootNodes],Ye)}if("function"==typeof Q){const Ye=this._componentFactoryResolver.resolveComponentFactory(Q),ut=o.zs3.create({providers:this._providers,parent:this._injector}),ct=Ye.create(ut);return Object.assign(ct.instance,ce),this._applicationRef.attachView(ct.hostView),new Un([[ct.location.nativeElement]],ct.hostView,ct)}const Qe=this._renderer?[this._renderer.createText(`${Q}`)]:[];return new Un([Qe])}}let Ar=(()=>{class k{constructor(Y,ce,Qe,Ye,ut,ct){this._componentFactoryResolver=Y,this._ngZone=ce,this._injector=Qe,this._posService=Ye,this._applicationRef=ut,this._document=ct}createLoader(Y,ce,Qe){return new ar(ce,Qe,Y,this._injector,this._componentFactoryResolver,this._ngZone,this._applicationRef,this._posService,this._document)}}return k.ɵfac=function(Y){return new(Y||k)(o.LFG(o._Vd),o.LFG(o.R0b),o.LFG(o.zs3),o.LFG(dn),o.LFG(o.z2F),o.LFG(en.K0))},k.ɵprov=o.Yz7({token:k,factory:k.ɵfac,providedIn:"root"}),k})();var zr=v(7340);const Tr=function(k){return{dropdown:k}},fr=["*"];let Gi=(()=>{class k{constructor(){this.autoClose=!0,this.insideClick=!1,this.isAnimated=!1,this.stopOnClickPropagation=!1}}return k.ɵfac=function(Y){return new(Y||k)},k.ɵprov=o.Yz7({token:k,factory:k.ɵfac,providedIn:"root"}),k})(),Tn=(()=>{class k{constructor(){this.direction="down",this.autoClose=!0,this.insideClick=!1,this.isAnimated=!1,this.stopOnClickPropagation=!1,this.isOpenChange=new o.vpe,this.isDisabledChange=new o.vpe,this.toggleClick=new o.vpe,this.counts=0,this.dropdownMenu=new Promise((Y=>{this.resolveDropdownMenu=Y}))}}return k.ɵfac=function(Y){return new(Y||k)},k.ɵprov=o.Yz7({token:k,factory:k.ɵfac,providedIn:"platform"}),k})();const Ai=[(0,zr.oB)({height:0,overflow:"hidden"}),(0,zr.jt)("220ms cubic-bezier(0, 0, 0.2, 1)",(0,zr.oB)({height:"*",overflow:"hidden"}))];let vi=(()=>{class k{constructor(Y,ce,Qe,Ye,ut){this._state=Y,this.cd=ce,this._renderer=Qe,this._element=Ye,this.isOpen=!1,this._factoryDropDownAnimation=ut.build(Ai),this._subscription=Y.isOpenChange.subscribe((ct=>{this.isOpen=ct;const dt=this._element.nativeElement.querySelector(".dropdown-menu");this._renderer.addClass(this._element.nativeElement.querySelector("div"),"open"),dt&&!_t()&&(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(Y){return this._element.nativeElement.contains(Y)}ngOnDestroy(){this._subscription.unsubscribe()}}return k.ɵfac=function(Y){return new(Y||k)(o.Y36(Tn),o.Y36(o.sBO),o.Y36(o.Qsj),o.Y36(o.SBq),o.Y36(zr._j))},k.ɵcmp=o.Xpm({type:k,selectors:[["bs-dropdown-container"]],hostAttrs:[2,"display","block","position","absolute","z-index","1040"],ngContentSelectors:fr,decls:2,vars:9,consts:[[3,"ngClass"]],template:function(Y,ce){1&Y&&(o.F$t(),o.TgZ(0,"div",0),o.Hsn(1),o.qZA()),2&Y&&(o.ekj("dropup","up"===ce.direction)("show",ce.isOpen)("open",ce.isOpen),o.Q6J("ngClass",o.VKq(7,Tr,"down"===ce.direction)))},dependencies:[en.mk],encapsulation:2,changeDetection:0}),k})(),Si=(()=>{class k{constructor(Y,ce,Qe,Ye,ut,ct,dt){this._elementRef=Y,this._renderer=ce,this._viewContainerRef=Qe,this._cis=Ye,this._state=ut,this._config=ct,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(Ai),this._dropdown=this._cis.createLoader(this._elementRef,this._viewContainerRef,this._renderer).provide({provide:Tn,useValue:this._state}),this.onShown=this._dropdown.onShown,this.onHidden=this._dropdown.onHidden,this.isOpenChange=this._state.isOpenChange}set autoClose(Y){this._state.autoClose=Y}get autoClose(){return this._state.autoClose}set isAnimated(Y){this._state.isAnimated=Y}get isAnimated(){return this._state.isAnimated}set insideClick(Y){this._state.insideClick=Y}get insideClick(){return this._state.insideClick}set isDisabled(Y){this._isDisabled=Y,this._state.isDisabledChange.emit(Y),Y&&this.hide()}get isDisabled(){return this._isDisabled}get isOpen(){return this._showInline?this._isInlineOpen:this._dropdown.isShown}set isOpen(Y){Y?this.show():this.hide()}get isBs4(){return!_t()}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((Y=>this.toggle(Y)))),this._subscriptions.push(this._state.isDisabledChange.pipe((0,p.h)((Y=>Y))).subscribe((()=>this.hide()))))}show(){if(!this.isOpen&&!this.isDisabled){if(this._showInline)return this._inlinedMenu||this._state.dropdownMenu.then((Y=>{this._dropdown.attachInline(Y.viewContainer,Y.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((Y=>{const ce=this.dropup||typeof this.dropup<"u"&&this.dropup;this._state.direction=ce?"up":"down";const Qe=this.placement||(ce?"top start":"bottom start");this._dropdown.attach(vi).to(this.container).position({attachment:Qe}).show({content:Y.templateRef,placement:Qe}),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(Y){return this.isOpen||!Y?this.hide():this.show()}_contains(Y){return this._elementRef.nativeElement.contains(Y.target)||this._dropdown.instance&&this._dropdown.instance._contains(Y.target)}navigationClick(Y){const ce=this._elementRef.nativeElement.querySelector(".dropdown-menu");if(!ce)return;const Qe=this._elementRef.nativeElement.ownerDocument.activeElement,Ye=ce.querySelectorAll(".dropdown-item");switch(Y.keyCode){case 38:this._state.counts>0&&Ye[--this._state.counts].focus();break;case 40:this._state.counts+1<Ye.length&&(Qe.classList!==Ye[this._state.counts].classList?Ye[this._state.counts].focus():Ye[++this._state.counts].focus())}Y.preventDefault()}ngOnDestroy(){for(const Y of this._subscriptions)Y.unsubscribe();this._dropdown.dispose()}addBs4Polyfills(){_t()||(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 Y=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",Y?"auto":"0"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"right",Y?"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 k.ɵfac=function(Y){return new(Y||k)(o.Y36(o.SBq),o.Y36(o.Qsj),o.Y36(o.s_b),o.Y36(Ar),o.Y36(Tn),o.Y36(Gi),o.Y36(zr._j))},k.ɵdir=o.lG2({type:k,selectors:[["","bsDropdown",""],["","dropdown",""]],hostVars:6,hostBindings:function(Y,ce){1&Y&&o.NdJ("keydown.arrowDown",(function(Ye){return ce.navigationClick(Ye)}))("keydown.arrowUp",(function(Ye){return ce.navigationClick(Ye)})),2&Y&&o.ekj("dropup",ce.dropup)("open",ce.isOpen)("show",ce.isOpen&&ce.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:[o._Bn([Tn])]}),k})(),fi=(()=>{class k{constructor(Y,ce,Qe){Y.resolveDropdownMenu({templateRef:Qe,viewContainer:ce})}}return k.ɵfac=function(Y){return new(Y||k)(o.Y36(Tn),o.Y36(o.s_b),o.Y36(o.Rgc))},k.ɵdir=o.lG2({type:k,selectors:[["","bsDropdownMenu",""],["","dropdownMenu",""]],exportAs:["bs-dropdown-menu"]}),k})(),ti=(()=>{class k{constructor(Y,ce,Qe,Ye,ut){this._changeDetectorRef=Y,this._dropdown=ce,this._element=Qe,this._renderer=Ye,this._state=ut,this.isOpen=!1,this._subscriptions=[],this._subscriptions.push(this._state.isOpenChange.subscribe((ct=>{this.isOpen=ct,ct?(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((ct=>this.isDisabled=ct||void 0)))}onClick(Y){this._state.stopOnClickPropagation&&Y.stopPropagation(),!this.isDisabled&&this._state.toggleClick.emit(!0)}ngOnDestroy(){this._documentClickListener&&this._documentClickListener(),this._escKeyUpListener&&this._escKeyUpListener();for(const Y of this._subscriptions)Y.unsubscribe()}}return k.ɵfac=function(Y){return new(Y||k)(o.Y36(o.sBO),o.Y36(Si),o.Y36(o.SBq),o.Y36(o.Qsj),o.Y36(Tn))},k.ɵdir=o.lG2({type:k,selectors:[["","bsDropdownToggle",""],["","dropdownToggle",""]],hostVars:3,hostBindings:function(Y,ce){1&Y&&o.NdJ("click",(function(Ye){return ce.onClick(Ye)})),2&Y&&o.uIk("aria-haspopup",!0)("disabled",ce.isDisabled)("aria-expanded",ce.isOpen)},exportAs:["bs-dropdown-toggle"]}),k})(),mr=(()=>{class k{static forRoot(){return{ngModule:k,providers:[Ar,dn,Tn]}}}return k.ɵfac=function(Y){return new(Y||k)},k.ɵmod=o.oAB({type:k}),k.ɵinj=o.cJS({imports:[en.ez]}),k})()}}]);
Back to Directory
File Manager