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

(self.webpackChunkinitial_setup_wizard=self.webpackChunkinitial_setup_wizard||[]).push([[736],{109:(Pe,q,T)=>{"use strict";T.d(q,{F:()=>l});var l=(()=>{return(v=l||(l={}))[v.GET=0]="GET",v[v.HEAD=1]="HEAD",v[v.POST=2]="POST",v[v.PUT=3]="PUT",v[v.DELETE=4]="DELETE",v[v.CONNECT=5]="CONNECT",v[v.OPTIONS=6]="OPTIONS",v[v.TRACE=7]="TRACE",v[v.PATCH=8]="PATCH",l;var v})()},7709:(Pe,q,T)=>{"use strict";T.d(q,{h:()=>l});class l{constructor(Q,K){if(!Q)throw new Error("You must provide a name when creating a name/value argument");this.name=Q,this.value=K}}},3022:(Pe,q,T)=>{"use strict";T.d(q,{tO:()=>dt,VN:()=>Be});var l=T(4235),v=T.n(l),V=T(1305),Q=T.n(V),K=T(4798),fe=T.n(K),oe=T(9138),le=T.n(oe),ye=T(248),Y=T.n(ye),ne=T(1503),De=T.n(ne),Ge=T(7614),Ne=T.n(Ge);function ke(gt){if(v()(gt)||Q()(gt)||fe()(gt)||le()(gt)||Y()(gt))return!0;if(!Ne()(gt)&&!De()(gt))return!1;for(const tt in gt)if(!ke(gt[tt]))return!1;return!0}class Be{constructor(){this.contentType="application/x-www-form-urlencoded",this.separatorStart="",this.separatorEnd="",this.recordSeparator="&"}encode(tt,Ke,pe){if(!tt)throw new Error("Name must have a non-empty value");return`${tt}=${encodeURIComponent(Ke.toString())}`+(pe?"":this.recordSeparator)}}class dt{constructor(){this.contentType="application/json",this.separatorStart="{",this.separatorEnd="}",this.recordSeparator=","}encode(tt,Ke,pe){if(!tt)throw new Error("Name must have a non-empty value");if(!ke(Ke))throw new Error("The passed in value can not be serialized to JSON");return JSON.stringify(tt)+":"+JSON.stringify(Ke)+(pe?"":this.recordSeparator)}}},4642:(Pe,q,T)=>{"use strict";T.d(q,{r:()=>Te,N:()=>Fe});var l=T(1978),v=T.n(l);function V(me){return me?"1":"0"}var fe=(()=>{return(me=fe||(fe={}))[me.Ascending=0]="Ascending",me[me.Descending=1]="Descending",fe;var me})(),oe=(()=>{return(me=oe||(oe={}))[me.Lexicographic=0]="Lexicographic",me[me.Ipv4=1]="Ipv4",me[me.Numeric=2]="Numeric",me[me.NumericZeroAsMax=3]="NumericZeroAsMax",oe;var me})();class le{constructor(ae,je=fe.Ascending,Jt=oe.Lexicographic){if(!ae)throw new Error("You must provide a non-empty column name for a Sort rule.");this.column=ae,this.direction=je,this.type=Jt}}var ye=(()=>{return(me=ye||(ye={}))[me.Contains=0]="Contains",me[me.Begins=1]="Begins",me[me.Ends=2]="Ends",me[me.Matches=3]="Matches",me[me.Equal=4]="Equal",me[me.NotEqual=5]="NotEqual",me[me.LessThan=6]="LessThan",me[me.LessThanUnlimited=7]="LessThanUnlimited",me[me.GreaterThan=8]="GreaterThan",me[me.GreaterThanUnlimited=9]="GreaterThanUnlimited",me[me.Defined=10]="Defined",me[me.Undefined=11]="Undefined",ye;var me})();class Y{constructor(ae,je,Jt){if(!ae)throw new Error("You must define a non-empty column name.");this.column=ae,this.operator=je,this.value=Jt}}var ne=T(7709);const Ge=Number.POSITIVE_INFINITY;class Ne{constructor(ae=1,je=20){if(ae<=0)throw new Error("The page must be 1 or greater. This is the logical page, not a programming index.");if(je<=0)throw new Error("The pageSize must be set to 'ALL' or a number > 0");this.page=ae,this.pageSize=je}all(){return this.pageSize===Ge}}class ke{constructor(ae=[]){this.headers=ae}push(ae){this.headers.push(ae)}forEach(ae,je){this.headers.forEach(ae,je)}toArray(){const ae=[];return this.headers.forEach((je=>ae.push({name:je.name,value:je.value}))),ae}toObject(){return this.headers.reduce(((ae,je)=>(ae[je.name]=je.value,ae)),{})}}class mt{constructor(ae){this._header=ae}get name(){return this._header.name}get value(){return this._header.value}}class Be extends Error{constructor(ae){super(ae),this.name="CpanelApiTokenInvalidError",Object.setPrototypeOf(this,Be.prototype)}}class dt extends Error{constructor(ae){super(ae),this.name="CpanelApiTokenMismatchError",Object.setPrototypeOf(this,dt.prototype)}}class gt extends mt{constructor(ae,je){if(!ae)throw new Be("You must pass a valid token to the constructor.");if(!je&&!/^.+[:]/.test(ae))throw new Be("You must pass a cPanel username associated with the cPanel API token.");if(!je&&!/[:].+$/.test(ae))throw new Be("You must pass a valid cPanel API token.");super({name:"Authorization",value:`cpanel ${je?je+":":""}${ae}`})}}Error,Error;var Ft=T(109);const yt=new class Ot{constructor(){this.map={},this.map.DEFAULT={verb:"DEFAULT",dataInBody:!0},[Ft.F.GET,Ft.F.DELETE,Ft.F.HEAD].forEach((ae=>{const je=Ft.F[ae].toString();this.map[je]={verb:je,dataInBody:!1}})),[Ft.F.POST,Ft.F.PUT,Ft.F.PATCH].forEach((ae=>{const je=Ft.F[ae].toString();this.map[je]={verb:je,dataInBody:!0}}))}getRule(ae){const je="string"==typeof ae?ae:Ft.F[ae].toString();let Jt=this.map[je];return Jt||(Jt=this.map.DEFAULT),Jt}};var be=T(3022),xe=T(8448),He=T.n(xe),Fe=(()=>{return(me=Fe||(Fe={})).JsonApi="json-api",me.XmlApi="xml-api",Fe;var me})();class Te extends class Xe{constructor(ae){this.namespace="",this.method="",this.arguments=[],this.sorts=[],this.filters=[],this.columns=[],this.pager=new Ne,this.headers=new ke,this._usePager=!1,this.defaultConfig={analytics:!1,json:!1},this.config=this.defaultConfig,ae&&(this.method=ae.method,ae.namespace&&(this.namespace=ae.namespace),ae.arguments&&ae.arguments.forEach((je=>{this.addArgument(je)})),ae.sorts&&ae.sorts.forEach((je=>{this.addSort(je)})),ae.filters&&ae.filters.forEach((je=>{this.addFilter(je)})),ae.columns&&ae.columns.forEach((je=>this.addColumn(je))),ae.pager&&this.paginate(ae.pager),this.config=ae.config?ae.config:this.defaultConfig,ae.headers&&ae.headers.forEach((je=>{this.addHeader(je)})))}get usePager(){return this._usePager}addArgument(ae){return this.arguments.push(ae instanceof ne.h?ae:new ne.h(ae.name,ae.value)),this}addSort(ae){return this.sorts.push(ae instanceof le?ae:new le(ae.column,ae.direction,ae.type)),this}addFilter(ae){return this.filters.push(ae instanceof Y?ae:new Y(ae.column,ae.operator,ae.value)),this}addColumn(ae){return this.columns.push(ae),this}addHeader(ae){return this.headers.push(ae instanceof mt?ae:new mt(ae)),this}paginate(ae){return this.pager=ae instanceof Ne?ae:new Ne(ae.page,ae.pageSize||20),this._usePager=!0,this}}{constructor(ae,je){if(super(je),this.apiType=Fe.JsonApi,ae!=Fe.JsonApi&&ae!=Fe.XmlApi)throw new Error("You must define the API type for the whmapi call before you generate a request.");if(this.apiType=ae,!this.method)throw new Error("You must define a method for the WHM API call before you generate a request")}addHeader(ae){if(ae instanceof gt)throw new dt("A CpanelApiTokenHeader cannot be used on a WhmApiRequest");return super.addHeader(ae),this}_build(ae,je){let Jt="";return ae.forEach(((Lt,mn,Ei)=>{Jt+=je.encode(Lt.name,Lt.value,mn===Ei.length-1)})),je.separatorStart+Jt+je.separatorEnd}_make_whm_api_fieldspec_from_number(ae){return He()("",Math.floor(ae/26),"z")+"abcdefghijklmnopqrstuvwxyz".charAt(ae%26)}_generateArguments(ae){ae.push({name:"api.version",value:1}),this.arguments.forEach((Jt=>ae.push(Jt)))}_generateSorts(ae){this.sorts.forEach(((je,Jt)=>{0===Jt&&ae.push({name:"api.sort.enable",value:V(!0)});const Lt=`api.sort.${this._make_whm_api_fieldspec_from_number(Jt)}`;ae.push({name:`${Lt}.field`,value:je.column}),ae.push({name:`${Lt}.reverse`,value:V(je.direction!==fe.Ascending)}),ae.push({name:`${Lt}.method`,value:v()(oe[je.type])})}))}_lookupFilterOperator(ae){switch(ae){case ye.GreaterThanUnlimited:return"gt_handle_unlimited";case ye.GreaterThan:return"gt";case ye.LessThanUnlimited:return"lt_handle_unlimited";case ye.LessThan:return"lt";case ye.Equal:return"eq";case ye.Begins:return"begins";case ye.Contains:return"contains";default:throw new Error(`Unrecoginzed FilterOperator ${ye[ae]} for WHM API 1`)}}_generateFilters(ae){this.filters.forEach(((je,Jt)=>{0===Jt&&(ae.push({name:"api.filter.enable",value:V(!0)}),ae.push({name:"api.filter.verbose",value:V(!0)}));const Lt=`api.filter.${this._make_whm_api_fieldspec_from_number(Jt)}`;ae.push({name:`${Lt}.field`,value:je.column}),ae.push({name:`${Lt}.type`,value:this._lookupFilterOperator(je.operator)}),ae.push({name:`${Lt}.arg0`,value:je.value})}))}_translatePageToStart(ae){return(ae.page-1)*ae.pageSize+1}_generatePagination(ae){if(!this.usePager)return;const je=this.pager.all();ae.push({name:"api.chunk.enable",value:V(!0)}),ae.push({name:"api.chunk.verbose",value:V(!0)}),ae.push({name:"api.chunk.start",value:je?-1:this._translatePageToStart(this.pager)}),je||ae.push({name:"api.chunk.size",value:this.pager.pageSize})}generate(ae){ae||(ae={verb:Ft.F.POST,encoder:this.config.json?new be.tO:new be.VN}),ae.encoder||(ae.encoder=this.config.json?new be.tO:new be.VN);const je=yt.getRule(ae.verb),Jt={headers:new ke([{name:"Content-Type",value:ae.encoder.contentType}]),url:["",this.apiType,this.method].map(encodeURIComponent).join("/"),body:""},Lt=[];this._generateArguments(Lt),this._generateSorts(Lt),this._generateFilters(Lt),this._generatePagination(Lt);const mn=this._build(Lt,ae.encoder);return je.dataInBody?Jt.body=mn:Jt.url+=ae.verb===Ft.F.GET?`?${mn}`:mn,this.headers.forEach((Ei=>{Jt.headers.push({name:Ei.name,value:Ei.value})})),Jt}}},269:(Pe,q,T)=>{"use strict";q.g=void 0;const v=T(1680);Object.defineProperty(q,"g",{enumerable:!0,get:function(){return v.Locale}})},5074:(Pe,q)=>{"use strict";Object.defineProperty(q,"__esModule",{value:!0}),q.CLDR=void 0,q.CLDR=class T{constructor(v){this.rawData=v,this.validateCLDR(this.rawData)}validateCLDR(v){if(!v)throw new Error("CLDR data cannot be null");if(!v.locale)throw new Error("CLDR data is missing locale information");if(!Object.prototype.hasOwnProperty.call(v,"functions")||Object.prototype.hasOwnProperty.call(v,"get_plural_form")||"function"!=typeof v.functions.get_plural_form)throw new Error("CLDR data is missing function get_plural_form");if(!Object.prototype.hasOwnProperty.call(v,"datetime_info"))throw new Error("CLDR data is missing datetime_info");if(!Object.prototype.hasOwnProperty.call(v,"misc_info"))throw new Error("CLDR data is missing misc_info");if(!Object.prototype.hasOwnProperty.call(v.misc_info,"cldr_formats"))throw new Error("CLDR data is missing cldr_formats");if(!Object.prototype.hasOwnProperty.call(v.misc_info,"orientation")||!Object.prototype.hasOwnProperty.call(v.misc_info.orientation,"characters"))throw new Error("CLDR data is missing orientation information");if(!Object.prototype.hasOwnProperty.call(v.misc_info,"delimiters"))throw new Error("CLDR data is missing delimiter information");return!0}getLocale(){return this.rawData.locale}getPluralForm(v,...V){return(0,this.rawData.functions.get_plural_form)(v,...V)}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:(Pe,q,T)=>{"use strict";Object.defineProperty(q,"__esModule",{value:!0}),q.Locale=void 0;const l=T(2889),v=T(9483),V=T(741),Q=T(786),K=T(5074);q.Locale=class fe{constructor(le,ye={}){this.lexicon=ye,this._cldr=new K.CLDR(le)}maketext(le,...ye){return(0,l.maketext)({cldr:this._cldr,lexicon:this.lexicon,template:le,args:ye})}localDatetime(le,ye){return this._datetimeWrapper(v.local_datetime,le,ye)}datetime(le,ye){return this._datetimeWrapper(v.datetime,le,ye)}_datetimeWrapper(le,ye,Y){return le({cldr:this._cldr,args:[ye,Y]})}getCurrentLocale(){return this._cldr.getLocale()}get isRtl(){return this._cldr.isRtl()}get isLtr(){return this._cldr.isLtr()}get cldr(){return this._cldr}numf(le,ye){return this._formatNumber(V.numf,le,ye)}format_bytes(le,ye){return this._formatNumber(V.format_bytes,le,ye)}_formatNumber(le,...ye){return this._callCLDRFunc(le,ye)}list_and(...le){return this._callCLDRFunc(Q.list_and,le)}list_and_quoted(...le){return this._callCLDRFunc(Q.list_and_quoted,le)}list_or(...le){return this._callCLDRFunc(Q.list_or,le)}list_or_quoted(...le){return this._callCLDRFunc(Q.list_or_quoted,le)}_callCLDRFunc(le,ye){return le({cldr:this._cldr,args:ye})}}},7296:(Pe,q,T)=>{"use strict";Object.defineProperty(q,"__esModule",{value:!0}),q.asis=void 0;const l=T(5247);q.asis=function v({args:[V,...Q]}){if(!V||Q.length>0||"string"!=typeof V)throw new Error("asis function accepts one non translatable string.");return(V=V.replace(/chr\((\d+)\)/g,(function(K,fe){return l.functions.chr(Number(fe))}))).replace(/amp\(\)/g,(function(){return l.functions.amp()}))}},527:(Pe,q)=>{"use strict";Object.defineProperty(q,"__esModule",{value:!0}),q.boolean=void 0,q.boolean=function T({args:[l,v,V,Q]}){if(null==v||0===v.length||null==V||0===V.length)throw new Error("boolean function needs a valid whenTrue, whenFalse arguments.");return String(typeof l<"u"&&l?v:Q&&null==l?Q:V)}},9076:(Pe,q)=>{"use strict";Object.defineProperty(q,"__esModule",{value:!0}),q.comment=void 0,q.comment=function T({args:[l]}){return""}},9483:(Pe,q,T)=>{"use strict";Object.defineProperty(q,"__esModule",{value:!0}),q.local_datetime=q.datetime=q.dateToLocalDayNum=void 0;const l=T(5074),v=function(Y){const ne=Y.getUTCDay()-1;return ne<0?6:ne},V=[7,1,2,3,4,5,6];function Q(Y,ne){return(V[Y.getUTCDay()]+7-ne)%7+1}q.dateToLocalDayNum=Q;const K=function(Y,ne,De){let Ge="",Ne=0;return ne=ne||0,De=String(void 0===De?" ":De),Ne=ne-String(Y).length,Ne>0&&(Ge=[...Array(Ne)].map(String.prototype.valueOf,De).join("")),Ge+Y};function fe({cldr:Y,args:[ne=new Date,De],tzString:Ge="UTC"}){if("number"==typeof ne&&/^-?\d+$/.test(ne.toString())&&(ne=new Date(1e3*ne)),!(ne instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(Y instanceof l.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const Ne=Y.getDateTimeInfo();return"string"==typeof De&&/^(?:date|time|datetime|special)_format_/.test(De)&&(De=Ne[De]),De||(De=Ne.date_format_long),De.replace(/('[^']+')|(([a-zA-Z])\3*)/g,(function(ke,mt,Be){return mt?function oe(Y){return Y.substr(1,Y.length-2)}(mt):function le(Y,ne,De,Ge){switch(De){case"yy":return Math.abs(Y.getUTCFullYear()).toString().slice(-2);case"y":case"yyy":case"yyyy":return String(Math.abs(Y.getUTCFullYear()));case"MMMMM":return ne.month_format_narrow[Y.getUTCMonth()];case"LLLLL":return ne.month_stand_alone_narrow[Y.getUTCMonth()];case"MMMM":return ne.month_format_wide[Y.getUTCMonth()];case"LLLL":return ne.month_stand_alone_wide[Y.getUTCMonth()];case"MMM":return ne.month_format_abbreviated[Y.getUTCMonth()];case"LLL":return ne.month_stand_alone_abbreviated[Y.getUTCMonth()];case"MM":case"LL":return K((Y.getUTCMonth()+1).toString(),2,"0");case"M":case"L":return String(Y.getUTCMonth()+1);case"EEEE":return ne.day_format_wide[v(Y)];case"EEE":case"EE":case"E":return ne.day_format_abbreviated[v(Y)];case"EEEEE":return ne.day_format_narrow[v(Y)];case"cccc":return ne.day_stand_alone_wide[v(Y)];case"ccc":return ne.day_stand_alone_abbreviated[v(Y)];case"cc":case"c":return String(Q(Y,Number(ne.first_day_of_week)));case"ccccc":return ne.day_stand_alone_narrow[v(Y)];case"dd":return K(Y.getUTCDate().toString(),2,"0");case"d":return String(Y.getUTCDate());case"h":case"hh":{let Ne=Y.getUTCHours();Ne>12&&(Ne-=12),0===Ne&&(Ne=12);const ke="hh"===De?K(Ne.toString(),2,"0"):Ne;return String(ke)}case"H":return String(Y.getUTCHours());case"HH":return K(Y.getUTCHours().toString(),2,"0");case"m":return String(Y.getUTCMinutes());case"mm":return K(Y.getUTCMinutes().toString(),2,"0");case"s":return String(Y.getUTCSeconds());case"ss":return K(Y.getUTCSeconds().toString(),2,"0");case"a":return Y.getUTCHours()<12?ne.am_pm_abbreviated[0]:ne.am_pm_abbreviated[1];case"z":case"zzzz":case"v":case"vvvv":return Ge;case"G":case"GG":case"GGG":return ne.era_abbreviated[Y.getUTCFullYear()<0?0:1];case"GGGGG":return ne.era_narrow[Y.getUTCFullYear()<0?0:1];case"GGGG":return ne.era_wide[Y.getUTCFullYear()<0?0:1]}return De}(ne,Ne,Be,Ge)}))}q.datetime=fe,q.local_datetime=function ye({cldr:Y,args:[ne=new Date,De]}){if("number"==typeof ne&&/^-?\d+$/.test(ne.toString())&&(ne=new Date(1e3*ne)),!(ne instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(Y instanceof l.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const Ge=ne.getTimezoneOffset();(ne=new Date(ne)).setMinutes(ne.getMinutes()-Ge);const Ne=Ge>0?"-":"+",ke=Math.floor(Math.abs(Ge)/60),mt=Math.abs(Ge%60);return fe({cldr:Y,args:[ne,De],tzString:"GMT"+Ne+K(ke.toString(),2,"0")+K(mt.toString(),2,"0")})}},40:(Pe,q,T)=>{"use strict";Object.defineProperty(q,"__esModule",{value:!0}),q.functions=void 0;const l=T(7296),v=T(5247),V=T(9076),Q=T(527),K=T(741),fe=T(9483),oe=T(786);q.functions={asis:l.asis,output:v.output,comment:V.comment,boolean:Q.boolean,numf:K.numf,numerate:K.numerate,quant:K.quant,format_bytes:K.format_bytes,datetime:fe.datetime,local_datetime:fe.local_datetime,list_and:oe.list_and,list_or:oe.list_or,list_or_quoted:oe.list_or_quoted,list_and_quoted:oe.list_and_quoted}},786:(Pe,q)=>{"use strict";function l(oe,le,...ye){let Y=ye.slice();switch(1===Y.length&&Array.isArray(Y[0])&&(Y=Y[0].slice()),(typeof Y>"u"||0===Y.length)&&(Y=[""]),Y=Y.map((ne=>function T(oe,le){const ye=oe.getDelimiters();return ye&&Object.prototype.hasOwnProperty.call(ye,"quotation_start")&&Object.prototype.hasOwnProperty.call(ye,"quotation_end")?ye.quotation_start+le+ye.quotation_end:le}(oe,ne))),le){case"list_and":return K({cldr:oe,args:Y});case"list_or":return fe({cldr:oe,args:Y});default:throw new Error("Did you mean list_and_quoted or list_or_quoted?")}}function Q(oe,le,...ye){let Y=ye.slice();1===Y.length&&Array.isArray(Y[0])&&(Y=Y[0].slice());const ne=Y.length;let De,Ge,Ne,ke;try{De=oe.getFormats()[le]}catch{throw new Error("CLDR Data is missing information related to formatting list.")}const mt=function(Be,dt){switch(dt){case"0":return Ne;case"1":return Y[ke++]}};switch(ne){case 0:return"";case 1:return String(Y[0]);default:if(Ne=2===ne?De[2]:De.start,Ne=Ne.replace(/\{([01])\}/g,(function(Be,dt){return Y[dt]})),2===ne)return Ne;for(ke=2;ke<ne;)Ge=De[ke===ne-1?"end":"middle"],Ne=Ge.replace(/\{([01])\}/g,mt);return Ne}}function K({cldr:oe,args:[...le]}){return Q(oe,"list",...le)}function fe({cldr:oe,args:[...le]}){return Q(oe,"list_or",...le)}Object.defineProperty(q,"__esModule",{value:!0}),q.list_or=q.list_and=q.list_or_quoted=q.list_and_quoted=void 0,q.list_and_quoted=function v({cldr:oe,args:[...le]}){return l(oe,"list_and",...le)},q.list_or_quoted=function V({cldr:oe,args:[...le]}){return l(oe,"list_or",...le)},q.list_and=K,q.list_or=fe},5247:(Pe,q,T)=>{"use strict";Object.defineProperty(q,"__esModule",{value:!0}),q.functions=q.output=void 0;const l=T(7906),v=T(8533);q.output=function V({args:[Q,...K]}){if(K&&"string"==typeof K[0]&&(K[0]=K[0].replace(/chr\((\d+)\)/g,(function(fe,oe){return q.functions.chr(Number(oe))})),K[0]=K[0].replace(/amp\(\)/g,(function(){return q.functions.amp()}))),"function"==typeof q.functions[Q])return q.functions[Q](...K);throw new Error(`Locale output function '${Q}' is not implemented.`)},q.functions={amp:()=>(0,l.htmlEscape)("&"),apos:()=>(0,l.htmlEscape)("'"),quot:()=>(0,l.htmlEscape)('"'),underline:Q=>`<u>${Q}</u>`,strong:Q=>`<strong>${Q}</strong>`,em:Q=>`<em>${Q}</em>`,abbr:(Q,K)=>`<abbr title="${K}">${Q}</abbr>`,acronym:(Q,K)=>`<abbr title="${K}" class="initialism">${Q}</abbr>`,class:(Q,...K)=>`<span class="${K.join(" ")}">${Q}</span>`,chr(Q){if("string"==typeof Q&&(Q=Number(Q)),"number"!=typeof Q||isNaN(Q))throw new Error("chr needs a number as argument");return(0,l.htmlEscape)(String.fromCharCode(Q))},url(Q,...K){let fe,oe;if("object"==typeof K[K.length-1])if(fe=K[K.length-1],2===K.length){if(fe.html)throw new Error("Cannot provide both text and configuration with html attribute");oe=K[0]}else fe&&fe.html?(oe=fe.html,delete fe.html):oe=Q;else K.length%2==0?(fe=(0,v.listToObject)(...K),fe&&"html"in fe&&""!==fe.html?(oe=fe.html,delete fe.html):oe=Q):(oe=K.shift(),fe=(0,v.listToObject)(...K));"_type"in fe&&"offsite"===fe._type&&(fe.class="offsite",fe.target="_blank",delete fe._type);let le=`<a href="${Q}"`;if("object"==typeof fe)for(const ye in fe)Object.prototype.hasOwnProperty.call(fe,ye)&&(le+=` ${ye}="${fe[ye]}"`);return le+=`>${oe}</a>`,le}}},741:(Pe,q,T)=>{"use strict";Object.defineProperty(q,"__esModule",{value:!0}),q.format_bytes=q.numf=q.quant=q.numerate=void 0;const l=T(5074);function V({cldr:oe,args:[le,...ye]}){if(!(oe instanceof l.CLDR))throw new Error("`quant` function requires a valid CLDR instance for the `cldr` parameter.");let Y,ne=3;le instanceof Array?(ne=le[1],Y=le[0]):Y=le;const De=oe.getPluralForm(Y,...ye),Ge=De[0]?De[0]:ye[ye.length-1];if(De&&De.length>=2&&De[1])return Ge;const ke=K({cldr:oe,args:[Y,ne]});return-1!==Ge.indexOf("%s")?Ge.replace(/%s/g,ke):oe.isRtl()?Ge+" "+ke:ke+" "+Ge}function K({cldr:oe,args:[le,ye=6]}){if(!(oe instanceof l.CLDR))throw new Error("`numf` function requires a valid CLDR instance for the `cldr` parameter.");if(/e/.test(le.toString()))return String(le);const{decimalFormat:Y,decimalGroup:ne,decimalDecimal:De}=function Q(oe){const le={},ye=oe.getFormats();return Object.prototype.hasOwnProperty.call(ye,"decimal")&&(le.decimalFormat=ye.decimal),Object.prototype.hasOwnProperty.call(ye,"_decimal_format_group")&&(le.decimalGroup=ye._decimal_format_group),Object.prototype.hasOwnProperty.call(ye,"_decimal_format_decimal")&&(le.decimalDecimal=ye._decimal_format_decimal),le}(oe);if(!Y||!ne||!De)throw new Error("CLDR Data is missing information related to formatting decimals.");const Ge=le<0;le=Math.abs(le);let ke,mt,Ne=Math.floor(le);/(?!')\.(?!')/.test(le.toString())&&(ke=String(le).replace(/^[^.]+/,"0"),ke=Number(ke).toFixed(ye),/^1/.test(ke)?(Ne++,le=Ne,ke=void 0):ke=ke.replace(/^.*\./,"").replace(/0+$/,"")),mt=/(?!');(?!')/.test(Y)?Y.split(/(?!');(?!')/)[Ge?1:0]:(Ge?"-":"")+Y;const gt=mt.match(/[0#].*[0#]/)[0].split(/(?!')\.(?!')/)[0].split("").reverse().join("").split(/(?!'),(?!')/);let tt;1===gt.length?tt="":(gt.pop(),tt=ne);const Ke=String(Ne).split("").reverse(),pe=[];let Xe;const Ft=function(yt){switch(yt){case"#":return Ke.shift()||"";case"0":return Ke.shift()||"0"}};for(;Ke.length;){gt.length&&(Xe=gt.shift());const yt=Xe.replace(/(?!')[0#]|[0#](?!')/g,Ft).replace(/'([.,0#;\xa4%E])'$/,"").replace(/'([.,0#;\xa4%E])'/,"$1");pe.push(yt)}const Ot=pe.join(tt).split("").reverse().join("")+(ke?De+ke:"");return mt.replace(/[0#].*[0#]/,Ot)}q.numerate=function v({cldr:oe,args:[le,...ye]}){if(!(oe instanceof l.CLDR))throw new Error("`numerate` function requires a valid CLDR instance for the `cldr` parameter.");const Y=oe.getPluralForm(le,...ye);return Y?Y[0]:ye[ye.length-1]},q.quant=V,q.numf=K,q.format_bytes=function fe({cldr:oe,args:[le,ye=2]}){if(!(oe instanceof l.CLDR))throw new Error("`format_bytes` function requires a valid CLDR instance for the `cldr` parameter.");const Y=["KB","MB","GB","TB","PB","EB","ZB","YB"],De=le&&Math.min(Math.floor(Math.log(le)/Math.log(1024)),Y.length);return De?K({cldr:oe,args:[le/Math.pow(1024,De),ye]})+" "+Y[De-1]:V({cldr:oe,args:[le,"%s byte","%s bytes"]})}},2889:(Pe,q,T)=>{"use strict";Object.defineProperty(q,"__esModule",{value:!0}),q.maketext=q.functions=q.config=void 0;const l=T(40);function K(fe,oe){const le=[];let ye=!1,Y=!1;return fe.forEach((ne=>{if("_"===ne.charAt(0))if("_*"===ne){if(Y)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";le.push(...oe),ye=!0}else{const De=ne.match(q.config.underscoreDigitRe);if(De){if(ye)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";const[Ge,Ne]=De,ke=Number(Ne)-1;if(!(ke in oe))throw`The "${Ge}" substitution argument was not passed to the maketext function.`;le.push(oe[ke]),Y=!0}}else le.push(ne)})),le}q.config={bracketRe:/([^~\[\]]+|~.|\[|\]|~)/g,underscoreDigitRe:/^_(\d+)$/,fauxComma:"",fauxCommaRe:new RegExp("","g"),tildeChars:new Set(["[","]","~"])},q.functions={...l.functions},q.maketext=function V({cldr:fe,lexicon:oe,template:le,args:ye}){if("string"!=typeof le)throw"You must pass a string template to the maketext function.";if(-1===(le=oe&&oe[le]||le).indexOf("["))return le;const Y=le.match(q.config.bracketRe)||[],ne=[];let De=!1,Ge="";if(Y.forEach((Ne=>{if("["===Ne){if(De)throw Error(`Invalid maketext string: ${le} \nThe string contains nested brackets.`);De=!0}else if("]"===Ne){if(!De)throw Error(`Invalid maketext string: ${le} \nThe string contains an unmatched closing bracket character (]).`);if(!Ge)throw Error(`Invalid maketext string: ${le} \nThe string contains empty brackets. Use the escape character (~) if the bracket characters were meant to be printed literally.`);let ke;De=!1;try{ke=function Q(fe,oe,le){let ye=oe.split(",");if(ye=ye.map((De=>De.replace(q.config.fauxCommaRe,","))),1===ye.length){if(!q.config.underscoreDigitRe.test(ye[0]))throw"A bracket must contain more than one argument, unless it is a pure substition.\n Example: Number of accounts: [_1]";const[De]=K(ye,le);return String(De)}const Y=ye.shift();if(!Y||"function"!=typeof q.functions[Y])throw`Invalid function "${Y}" in maketext string.`;const ne=K(ye,le);return q.functions[Y]({cldr:fe,args:ne})}(fe,Ge,ye)}catch(mt){throw Error(`Invalid maketext string: ${le} \n${mt}`)}Ge="",ne.push(ke)}else if("~"===Ne.charAt(0)){const ke=Ne.charAt(1)||"~";De?Ge+=","===ke?q.config.fauxComma:ke:q.config.tildeChars.has(ke)?ne.push(ke):ne.push(Ne)}else De?Ge+=Ne:ne.push(Ne)})),De)throw Error(`Invalid maketext string: ${le} \nThe string contains an unmatched opening bracket character ([).`);return ne.join("")}},7906:(Pe,q)=>{"use strict";Object.defineProperty(q,"__esModule",{value:!0}),q.htmlEscape=q.entityMap=void 0,q.entityMap={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"},q.htmlEscape=function T(l){return String(l).replace(/[&<>"'\/]/g,(v=>q.entityMap[v]))}},8533:(Pe,q)=>{"use strict";Object.defineProperty(q,"__esModule",{value:!0}),q.listToObject=void 0,q.listToObject=function v(...V){let Q={};return function T(V){if(V.length%2>0)throw new Error("An associative list must have an even number of parts: {name1}, {value1}, {name2}, {value2} ...");for(let K=0,fe=V.length;K<fe;K+=2){const oe=V[K];if("string"!=typeof oe||""===oe)throw new Error("An associative list must provide non-empty string names in the 1st, 3rd, ... positions.")}return!0}(V)&&(Q=function l(V){const Q=V.length,K={};let oe,le,fe=0;for(;fe<Q;)oe=V[fe],le=V[++fe],K[oe]=le,fe++;return K}(V)),Q}},443:(Pe,q,T)=>{var l=T(2119);Pe.exports=l.Symbol},4633:Pe=>{Pe.exports=function q(T,l){for(var v=-1,V=null==T?0:T.length,Q=Array(V);++v<V;)Q[v]=l(T[v],v,T);return Q}},8745:Pe=>{Pe.exports=function q(T,l,v,V){var Q=-1,K=null==T?0:T.length;for(V&&K&&(v=T[++Q]);++Q<K;)v=l(v,T[Q],Q,T);return v}},5481:(Pe,q,T)=>{var v=T(1847)("length");Pe.exports=v},6422:Pe=>{Pe.exports=function q(T){return T.split("")}},69:Pe=>{var q=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;Pe.exports=function T(l){return l.match(q)||[]}},3337:(Pe,q,T)=>{var l=T(443),v=T(1318),V=T(2902),fe=l?l.toStringTag:void 0;Pe.exports=function oe(le){return null==le?void 0===le?"[object Undefined]":"[object Null]":fe&&fe in Object(le)?v(le):V(le)}},1847:Pe=>{Pe.exports=function q(T){return function(l){return l?.[T]}}},2724:Pe=>{Pe.exports=function q(T){return function(l){return T?.[l]}}},7065:Pe=>{var T=Math.floor;Pe.exports=function l(v,V){var Q="";if(!v||V<1||V>9007199254740991)return Q;do{V%2&&(Q+=v),(V=T(V/2))&&(v+=v)}while(V);return Q}},4363:Pe=>{Pe.exports=function q(T,l,v){var V=-1,Q=T.length;l<0&&(l=-l>Q?0:Q+l),(v=v>Q?Q:v)<0&&(v+=Q),Q=l>v?0:v-l>>>0,l>>>=0;for(var K=Array(Q);++V<Q;)K[V]=T[V+l];return K}},3935:(Pe,q,T)=>{var l=T(443),v=T(4633),V=T(1503),Q=T(4129),fe=l?l.prototype:void 0,oe=fe?fe.toString:void 0;Pe.exports=function le(ye){if("string"==typeof ye)return ye;if(V(ye))return v(ye,le)+"";if(Q(ye))return oe?oe.call(ye):"";var Y=ye+"";return"0"==Y&&1/ye==-1/0?"-0":Y}},3348:(Pe,q,T)=>{var l=T(2760),v=/^\s+/;Pe.exports=function V(Q){return Q&&Q.slice(0,l(Q)+1).replace(v,"")}},2329:(Pe,q,T)=>{var l=T(4363);Pe.exports=function v(V,Q,K){var fe=V.length;return K=void 0===K?fe:K,!Q&&K>=fe?V:l(V,Q,K)}},1491:(Pe,q,T)=>{var l=T(8745),v=T(4707),V=T(7188),K=RegExp("['’]","g");Pe.exports=function fe(oe){return function(le){return l(V(v(le).replace(K,"")),oe,"")}}},5171:(Pe,q,T)=>{var l=T(7065),v=T(3935),V=T(2329),Q=T(7609),K=T(2315),fe=T(6007),oe=Math.ceil;Pe.exports=function le(ye,Y){var ne=(Y=void 0===Y?" ":v(Y)).length;if(ne<2)return ne?l(Y,ye):Y;var De=l(Y,oe(ye/K(Y)));return Q(Y)?V(fe(De),0,ye).join(""):De.slice(0,ye)}},9148:(Pe,q,T)=>{var V=T(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"});Pe.exports=V},9122:Pe=>{var q="object"==typeof global&&global&&global.Object===Object&&global;Pe.exports=q},9519:(Pe,q,T)=>{var v=T(9385)(Object.getPrototypeOf,Object);Pe.exports=v},1318:(Pe,q,T)=>{var l=T(443),v=Object.prototype,V=v.hasOwnProperty,Q=v.toString,K=l?l.toStringTag:void 0;Pe.exports=function fe(oe){var le=V.call(oe,K),ye=oe[K];try{oe[K]=void 0;var Y=!0}catch{}var ne=Q.call(oe);return Y&&(le?oe[K]=ye:delete oe[K]),ne}},7609:Pe=>{var fe=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");Pe.exports=function oe(le){return fe.test(le)}},9062:Pe=>{var q=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;Pe.exports=function T(l){return q.test(l)}},2902:Pe=>{var T=Object.prototype.toString;Pe.exports=function l(v){return T.call(v)}},9385:Pe=>{Pe.exports=function q(T,l){return function(v){return T(l(v))}}},2119:(Pe,q,T)=>{var l=T(9122),v="object"==typeof self&&self&&self.Object===Object&&self,V=l||v||Function("return this")();Pe.exports=V},2315:(Pe,q,T)=>{var l=T(5481),v=T(7609),V=T(1149);Pe.exports=function Q(K){return v(K)?V(K):l(K)}},6007:(Pe,q,T)=>{var l=T(6422),v=T(7609),V=T(6319);Pe.exports=function Q(K){return v(K)?V(K):l(K)}},2760:Pe=>{var q=/\s/;Pe.exports=function T(l){for(var v=l.length;v--&&q.test(l.charAt(v)););return v}},1149:Pe=>{var q="\\ud800-\\udfff",K="["+q+"]",fe="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",oe="\\ud83c[\\udffb-\\udfff]",ye="[^"+q+"]",Y="(?:\\ud83c[\\udde6-\\uddff]){2}",ne="[\\ud800-\\udbff][\\udc00-\\udfff]",Ge="(?:"+fe+"|"+oe+")?",Ne="[\\ufe0e\\ufe0f]?",mt=Ne+Ge+"(?:\\u200d(?:"+[ye,Y,ne].join("|")+")"+Ne+Ge+")*",Be="(?:"+[ye+fe+"?",fe,Y,ne,K].join("|")+")",dt=RegExp(oe+"(?="+oe+")|"+Be+mt,"g");Pe.exports=function gt(tt){for(var Ke=dt.lastIndex=0;dt.test(tt);)++Ke;return Ke}},6319:Pe=>{var q="\\ud800-\\udfff",K="["+q+"]",fe="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",oe="\\ud83c[\\udffb-\\udfff]",ye="[^"+q+"]",Y="(?:\\ud83c[\\udde6-\\uddff]){2}",ne="[\\ud800-\\udbff][\\udc00-\\udfff]",Ge="(?:"+fe+"|"+oe+")?",Ne="[\\ufe0e\\ufe0f]?",mt=Ne+Ge+"(?:\\u200d(?:"+[ye,Y,ne].join("|")+")"+Ne+Ge+")*",Be="(?:"+[ye+fe+"?",fe,Y,ne,K].join("|")+")",dt=RegExp(oe+"(?="+oe+")|"+Be+mt,"g");Pe.exports=function gt(tt){return tt.match(dt)||[]}},910:Pe=>{var q="\\ud800-\\udfff",Q="\\u2700-\\u27bf",K="a-z\\xdf-\\xf6\\xf8-\\xff",Y="A-Z\\xc0-\\xd6\\xd8-\\xde",De="\\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",Ne="["+De+"]",mt="\\d+",Be="["+Q+"]",dt="["+K+"]",gt="[^"+q+De+mt+Q+K+Y+"]",Xe="(?:\\ud83c[\\udde6-\\uddff]){2}",Ft="[\\ud800-\\udbff][\\udc00-\\udfff]",Ot="["+Y+"]",be="(?:"+dt+"|"+gt+")",xe="(?:"+Ot+"|"+gt+")",He="(?:['’](?:d|ll|m|re|s|t|ve))?",Fe="(?:['’](?:D|LL|M|RE|S|T|VE))?",Te="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",me="[\\ufe0e\\ufe0f]?",Lt=me+Te+"(?:\\u200d(?:"+["[^"+q+"]",Xe,Ft].join("|")+")"+me+Te+")*",mn="(?:"+[Be,Xe,Ft].join("|")+")"+Lt,Ei=RegExp([Ot+"?"+dt+"+"+He+"(?="+[Ne,Ot,"$"].join("|")+")",xe+"+"+Fe+"(?="+[Ne,Ot+be,"$"].join("|")+")",Ot+"?"+be+"+"+He,Ot+"+"+Fe,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",mt,mn].join("|"),"g");Pe.exports=function Dn(Di){return Di.match(Ei)||[]}},4707:(Pe,q,T)=>{var l=T(9148),v=T(3943),V=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ye=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");Pe.exports=function Y(ne){return(ne=v(ne))&&ne.replace(V,l).replace(ye,"")}},1503:Pe=>{Pe.exports=Array.isArray},4798:(Pe,q,T)=>{var l=T(3337),v=T(2671);Pe.exports=function Q(K){return!0===K||!1===K||v(K)&&"[object Boolean]"==l(K)}},1305:Pe=>{Pe.exports=function q(T){return null===T}},9138:(Pe,q,T)=>{var l=T(3337),v=T(2671);Pe.exports=function Q(K){return"number"==typeof K||v(K)&&"[object Number]"==l(K)}},5940:Pe=>{Pe.exports=function q(T){var l=typeof T;return null!=T&&("object"==l||"function"==l)}},2671:Pe=>{Pe.exports=function q(T){return null!=T&&"object"==typeof T}},7614:(Pe,q,T)=>{var l=T(3337),v=T(9519),V=T(2671),oe=Function.prototype.toString,le=Object.prototype.hasOwnProperty,ye=oe.call(Object);Pe.exports=function Y(ne){if(!V(ne)||"[object Object]"!=l(ne))return!1;var De=v(ne);if(null===De)return!0;var Ge=le.call(De,"constructor")&&De.constructor;return"function"==typeof Ge&&Ge instanceof Ge&&oe.call(Ge)==ye}},248:(Pe,q,T)=>{var l=T(3337),v=T(1503),V=T(2671);Pe.exports=function K(fe){return"string"==typeof fe||!v(fe)&&V(fe)&&"[object String]"==l(fe)}},4129:(Pe,q,T)=>{var l=T(3337),v=T(2671);Pe.exports=function Q(K){return"symbol"==typeof K||v(K)&&"[object Symbol]"==l(K)}},4235:Pe=>{Pe.exports=function q(T){return void 0===T}},7489:function(Pe,q,T){var l;Pe=T.nmd(Pe),function(){var v,fe="Expected a function",le="__lodash_hash_undefined__",Y="__lodash_placeholder__",ae=1/0,je=9007199254740991,mn=4294967295,Di=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],Rn="[object Arguments]",dn="[object Array]",Oi="[object Boolean]",fn="[object Date]",Zi="[object Error]",fi="[object Function]",Un="[object GeneratorFunction]",mi="[object Map]",ci="[object Number]",ti="[object Object]",hi="[object Promise]",Xn="[object RegExp]",de="[object Set]",Ae="[object String]",Oe="[object Symbol]",ce="[object WeakMap]",W="[object ArrayBuffer]",Se="[object DataView]",$e="[object Float32Array]",st="[object Float64Array]",ft="[object Int8Array]",Ut="[object Int16Array]",ht="[object Int32Array]",ot="[object Uint8Array]",Kt="[object Uint8ClampedArray]",_n="[object Uint16Array]",It="[object Uint32Array]",Pt=/\b__p \+= '';/g,xt=/\b(__p \+=) '' \+/g,Dt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Gn=/&(?:amp|lt|gt|quot|#39);/g,Xt=/[&<>"']/g,wn=RegExp(Gn.source),cn=RegExp(Xt.source),Nt=/<%-([\s\S]+?)%>/g,jn=/<%([\s\S]+?)%>/g,kt=/<%=([\s\S]+?)%>/g,sn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,on=/^\w*$/,vi=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ui=/[\\^$.*+?()[\]{}|]/g,$n=RegExp(ui.source),kn=/^\s+/,Ci=/\s/,Bt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ce=/\{\n\/\* \[wrapped with (.+)\] \*/,ie=/,? & /,U=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,R=/[()=,{}\[\]\/\s]/,te=/\\(\\)?/g,Ie=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,rt=/\w*$/,Ht=/^[-+]0x[0-9a-f]+$/i,nt=/^0b[01]+$/i,wt=/^\[object .+?Constructor\]$/,We=/^0o[0-7]+$/i,Ct=/^(?:0|[1-9]\d*)$/,Et=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,qt=/($^)/,Vt=/['\n\r\u2028\u2029\\]/g,vt="\\ud800-\\udfff",an="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",ri="\\u2700-\\u27bf",yi="a-z\\xdf-\\xf6\\xf8-\\xff",zn="A-Z\\xc0-\\xd6\\xd8-\\xde",Hi="\\ufe0e\\ufe0f",$r="\\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",Ar="["+vt+"]",Pi="["+$r+"]",J="["+an+"]",L="\\d+",b="["+ri+"]",H="["+yi+"]",Ee="[^"+vt+$r+L+ri+yi+zn+"]",Ue="\\ud83c[\\udffb-\\udfff]",xn="[^"+vt+"]",si="(?:\\ud83c[\\udde6-\\uddff]){2}",Mn="[\\ud800-\\udbff][\\udc00-\\udfff]",oi="["+zn+"]",Wi="(?:"+H+"|"+Ee+")",Nr="(?:"+oi+"|"+Ee+")",Po="(?:['’](?:d|ll|m|re|s|t|ve))?",no="(?:['’](?:D|LL|M|RE|S|T|VE))?",Fs="(?:"+J+"|"+Ue+")?",zo="["+Hi+"]?",Co=zo+Fs+"(?:\\u200d(?:"+[xn,si,Mn].join("|")+")"+zo+Fs+")*",Bs="(?:"+[b,si,Mn].join("|")+")"+Co,Vs="(?:"+[xn+J+"?",J,si,Mn,Ar].join("|")+")",Hs=RegExp("['’]","g"),Lr=RegExp(J,"g"),xo=RegExp(Ue+"(?="+Ue+")|"+Vs+Co,"g"),Da=RegExp([oi+"?"+H+"+"+Po+"(?="+[Pi,oi,"$"].join("|")+")",Nr+"+"+no+"(?="+[Pi,oi+Wi,"$"].join("|")+")",oi+"?"+Wi+"+"+Po,oi+"+"+no,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",L,Bs].join("|"),"g"),io=RegExp("[\\u200d"+vt+an+Hi+"]"),Oo=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,fs=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Us=-1,ai={};ai[$e]=ai[st]=ai[ft]=ai[Ut]=ai[ht]=ai[ot]=ai[Kt]=ai[_n]=ai[It]=!0,ai[Rn]=ai[dn]=ai[W]=ai[Oi]=ai[Se]=ai[fn]=ai[Zi]=ai[fi]=ai[mi]=ai[ci]=ai[ti]=ai[Xn]=ai[de]=ai[Ae]=ai[ce]=!1;var Vn={};Vn[Rn]=Vn[dn]=Vn[W]=Vn[Se]=Vn[Oi]=Vn[fn]=Vn[$e]=Vn[st]=Vn[ft]=Vn[Ut]=Vn[ht]=Vn[mi]=Vn[ci]=Vn[ti]=Vn[Xn]=Vn[de]=Vn[Ae]=Vn[Oe]=Vn[ot]=Vn[Kt]=Vn[_n]=Vn[It]=!0,Vn[Zi]=Vn[fi]=Vn[ce]=!1;var Go={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Wo=parseFloat,wo=parseInt,Io="object"==typeof global&&global&&global.Object===Object&&global,gs="object"==typeof self&&self&&self.Object===Object&&self,Ai=Io||gs||Function("return this")(),js=q&&!q.nodeType&&q,Si=js&&Pe&&!Pe.nodeType&&Pe,oo=Si&&Si.exports===js,Ui=oo&&Io.process,ji=function(){try{return Si&&Si.require&&Si.require("util").types||Ui&&Ui.binding&&Ui.binding("util")}catch{}}(),zr=ji&&ji.isArrayBuffer,bo=ji&&ji.isDate,Ti=ji&&ji.isMap,$s=ji&&ji.isRegExp,zs=ji&&ji.isSet,so=ji&&ji.isTypedArray;function wi(ge,Qe,ze){switch(ze.length){case 0:return ge.call(Qe);case 1:return ge.call(Qe,ze[0]);case 2:return ge.call(Qe,ze[0],ze[1]);case 3:return ge.call(Qe,ze[0],ze[1],ze[2])}return ge.apply(Qe,ze)}function ao(ge,Qe,ze,St){for(var gn=-1,Tn=null==ge?0:ge.length;++gn<Tn;){var ei=ge[gn];Qe(St,ei,ze(ei),ge)}return St}function Ji(ge,Qe){for(var ze=-1,St=null==ge?0:ge.length;++ze<St&&!1!==Qe(ge[ze],ze,ge););return ge}function Gr(ge,Qe){for(var ze=null==ge?0:ge.length;ze--&&!1!==Qe(ge[ze],ze,ge););return ge}function Ri(ge,Qe){for(var ze=-1,St=null==ge?0:ge.length;++ze<St;)if(!Qe(ge[ze],ze,ge))return!1;return!0}function j(ge,Qe){for(var ze=-1,St=null==ge?0:ge.length,gn=0,Tn=[];++ze<St;){var ei=ge[ze];Qe(ei,ze,ge)&&(Tn[gn++]=ei)}return Tn}function Z(ge,Qe){return!(null==ge||!ge.length)&&co(ge,Qe,0)>-1}function P(ge,Qe,ze){for(var St=-1,gn=null==ge?0:ge.length;++St<gn;)if(ze(Qe,ge[St]))return!0;return!1}function he(ge,Qe){for(var ze=-1,St=null==ge?0:ge.length,gn=Array(St);++ze<St;)gn[ze]=Qe(ge[ze],ze,ge);return gn}function Je(ge,Qe){for(var ze=-1,St=Qe.length,gn=ge.length;++ze<St;)ge[gn+ze]=Qe[ze];return ge}function pn(ge,Qe,ze,St){var gn=-1,Tn=null==ge?0:ge.length;for(St&&Tn&&(ze=ge[++gn]);++gn<Tn;)ze=Qe(ze,ge[gn],gn,ge);return ze}function Zt(ge,Qe,ze,St){var gn=null==ge?0:ge.length;for(St&&gn&&(ze=ge[--gn]);gn--;)ze=Qe(ze,ge[gn],gn,ge);return ze}function $i(ge,Qe){for(var ze=-1,St=null==ge?0:ge.length;++ze<St;)if(Qe(ge[ze],ze,ge))return!0;return!1}var Ao=qo("length");function Wr(ge,Qe,ze){var St;return ze(ge,(function(gn,Tn,ei){if(Qe(gn,Tn,ei))return St=Tn,!1})),St}function No(ge,Qe,ze,St){for(var gn=ge.length,Tn=ze+(St?1:-1);St?Tn--:++Tn<gn;)if(Qe(ge[Tn],Tn,ge))return Tn;return-1}function co(ge,Qe,ze){return Qe==Qe?function _e(ge,Qe,ze){for(var St=ze-1,gn=ge.length;++St<gn;)if(ge[St]===Qe)return St;return-1}(ge,Qe,ze):No(ge,lt,ze)}function Ko(ge,Qe,ze,St){for(var gn=ze-1,Tn=ge.length;++gn<Tn;)if(St(ge[gn],Qe))return gn;return-1}function lt(ge){return ge!=ge}function Kn(ge,Qe){var ze=null==ge?0:ge.length;return ze?di(ge,Qe)/ze:NaN}function qo(ge){return function(Qe){return null==Qe?v:Qe[ge]}}function Zo(ge){return function(Qe){return null==ge?v:ge[Qe]}}function Ni(ge,Qe,ze,St,gn){return gn(ge,(function(Tn,ei,Hn){ze=St?(St=!1,Tn):Qe(ze,Tn,ei,Hn)})),ze}function di(ge,Qe){for(var ze,St=-1,gn=ge.length;++St<gn;){var Tn=Qe(ge[St]);Tn!==v&&(ze=ze===v?Tn:ze+Tn)}return ze}function Rr(ge,Qe){for(var ze=-1,St=Array(ge);++ze<ge;)St[ze]=Qe(ze);return St}function ko(ge){return ge&&ge.slice(0,Rt(ge)+1).replace(kn,"")}function ar(ge){return function(Qe){return ge(Qe)}}function uo(ge,Qe){return he(Qe,(function(ze){return ge[ze]}))}function _s(ge,Qe){return ge.has(Qe)}function vs(ge,Qe){for(var ze=-1,St=ge.length;++ze<St&&co(Qe,ge[ze],0)>-1;);return ze}function Xi(ge,Qe){for(var ze=ge.length;ze--&&co(Qe,ge[ze],0)>-1;);return ze}function Br(ge,Qe){for(var ze=ge.length,St=0;ze--;)ge[ze]===Qe&&++St;return St}var ys=Zo({"À":"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"}),Kr=Zo({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function Vr(ge){return"\\"+Go[ge]}function qr(ge){return io.test(ge)}function f(ge){var Qe=-1,ze=Array(ge.size);return ge.forEach((function(St,gn){ze[++Qe]=[gn,St]})),ze}function p(ge,Qe){return function(ze){return ge(Qe(ze))}}function M(ge,Qe){for(var ze=-1,St=ge.length,gn=0,Tn=[];++ze<St;){var ei=ge[ze];(ei===Qe||ei===Y)&&(ge[ze]=Y,Tn[gn++]=ze)}return Tn}function A(ge){var Qe=-1,ze=Array(ge.size);return ge.forEach((function(St){ze[++Qe]=St})),ze}function Ve(ge){return qr(ge)?function On(ge){for(var Qe=xo.lastIndex=0;xo.test(ge);)++Qe;return Qe}(ge):Ao(ge)}function et(ge){return qr(ge)?function Sn(ge){return ge.match(xo)||[]}(ge):function Gs(ge){return ge.split("")}(ge)}function Rt(ge){for(var Qe=ge.length;Qe--&&Ci.test(ge.charAt(Qe)););return Qe}var jt=Zo({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),An=function ge(Qe){var i,ze=(Qe=null==Qe?Ai:An.defaults(Ai.Object(),Qe,An.pick(Ai,fs))).Array,St=Qe.Date,gn=Qe.Error,Tn=Qe.Function,ei=Qe.Math,Hn=Qe.Object,_r=Qe.RegExp,br=Qe.String,lr=Qe.TypeError,Zr=ze.prototype,cr=Hn.prototype,Yr=Qe["__core-js_shared__"],_=Tn.prototype.toString,S=cr.hasOwnProperty,y=0,O=(i=/[^.]+$/.exec(Yr&&Yr.keys&&Yr.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"",re=cr.toString,qe=_.call(Hn),it=Ai._,zt=_r("^"+_.call(S).replace(ui,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),en=oo?Qe.Buffer:v,Nn=Qe.Symbol,Jn=Qe.Uint8Array,rn=en?en.allocUnsafe:v,ni=p(Hn.getPrototypeOf,Hn),In=Hn.create,pi=cr.propertyIsEnumerable,Er=Zr.splice,ur=Nn?Nn.isConcatSpreadable:v,Mr=Nn?Nn.iterator:v,er=Nn?Nn.toStringTag:v,Yo=function(){try{var i=Uo(Hn,"defineProperty");return i({},"",{}),i}catch{}}(),Lo=Qe.clearTimeout!==Ai.clearTimeout&&Qe.clearTimeout,Ws=St&&St.now!==Ai.Date.now&&St.now,Xa=Qe.setTimeout!==Ai.setTimeout&&Qe.setTimeout,Dr=ei.ceil,Ta=ei.floor,Cs=Hn.getOwnPropertySymbols,Ks=en?en.isBuffer:v,Pa=Qe.isFinite,xa=Zr.join,Oa=p(Hn.keys,Hn),tr=ei.max,vr=ei.min,el=St.now,nr=Qe.parseInt,tl=ei.random,Bl=Zr.reverse,Qo=Uo(Qe,"DataView"),fo=Uo(Qe,"Map"),nl=Uo(Qe,"Promise"),ws=Uo(Qe,"Set"),bs=Uo(Qe,"WeakMap"),Bo=Uo(Hn,"create"),il=bs&&new bs,Es={},ca=ya(Qo),Vl=ya(fo),ua=ya(nl),Hl=ya(ws),Ms=ya(bs),kr=Nn?Nn.prototype:v,Qr=kr?kr.valueOf:v,Ul=kr?kr.toString:v;function B(i){if(ki(i)&&!Ln(i)&&!(i instanceof tn)){if(i instanceof Xr)return i;if(S.call(i,"__wrapped__"))return Dl(i)}return new Xr(i)}var Jr=function(){function i(){}return function(s){if(!Li(s))return{};if(In)return In(s);i.prototype=s;var c=new i;return i.prototype=v,c}}();function da(){}function Xr(i,s){this.__wrapped__=i,this.__actions__=[],this.__chain__=!!s,this.__index__=0,this.__values__=v}function tn(i){this.__wrapped__=i,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=mn,this.__views__=[]}function fa(i){var s=-1,c=null==i?0:i.length;for(this.clear();++s<c;){var E=i[s];this.set(E[0],E[1])}}function Jo(i){var s=-1,c=null==i?0:i.length;for(this.clear();++s<c;){var E=i[s];this.set(E[0],E[1])}}function Fi(i){var s=-1,c=null==i?0:i.length;for(this.clear();++s<c;){var E=i[s];this.set(E[0],E[1])}}function C(i){var s=-1,c=null==i?0:i.length;for(this.__data__=new Fi;++s<c;)this.add(i[s])}function ee(i){var s=this.__data__=new Jo(i);this.size=s.size}function gi(i,s){var c=Ln(i),E=!c&&Ka(i),I=!c&&!E&&ls(i),G=!c&&!E&&!I&&qa(i),ue=c||E||I||G,Me=ue?Rr(i.length,br):[],Re=Me.length;for(var ut in i)(s||S.call(i,ut))&&(!ue||!("length"==ut||I&&("offset"==ut||"parent"==ut)||G&&("buffer"==ut||"byteLength"==ut||"byteOffset"==ut)||Ts(ut,Re)))&&Me.push(ut);return Me}function Sr(i){var s=i.length;return s?i[eu(0,s-1)]:v}function Ho(i,s){return Ml(to(i),es(s,0,i.length))}function Ds(i){return Ml(to(i))}function Hr(i,s,c){(c!==v&&!So(i[s],c)||c===v&&!(s in i))&&ho(i,s,c)}function qs(i,s,c){var E=i[s];(!S.call(i,s)||!So(E,c)||c===v&&!(s in i))&&ho(i,s,c)}function Xo(i,s){for(var c=i.length;c--;)if(So(i[c][0],s))return c;return-1}function sl(i,s,c,E){return po(i,(function(I,G,ue){s(E,I,c(I),ue)})),E}function al(i,s){return i&&is(s,xr(s),i)}function ho(i,s,c){"__proto__"==s&&Yo?Yo(i,s,{configurable:!0,enumerable:!0,value:c,writable:!0}):i[s]=c}function ll(i,s){for(var c=-1,E=s.length,I=ze(E),G=null==i;++c<E;)I[c]=G?v:Jf(i,s[c]);return I}function es(i,s,c){return i==i&&(c!==v&&(i=i<=c?i:c),s!==v&&(i=i>=s?i:s)),i}function Mo(i,s,c,E,I,G){var ue,Me=1&s,Re=2&s,ut=4&s;if(c&&(ue=I?c(i,E,I,G):c(i)),ue!==v)return ue;if(!Li(i))return i;var ct=Ln(i);if(ct){if(ue=function hu(i){var s=i.length,c=new i.constructor(s);return s&&"string"==typeof i[0]&&S.call(i,"index")&&(c.index=i.index,c.input=i.input),c}(i),!Me)return to(i,ue)}else{var pt=Fr(i),$t=pt==fi||pt==Un;if(ls(i))return $d(i,Me);if(pt==ti||pt==Rn||$t&&!I){if(ue=Re||$t?{}:ta(i),!Me)return Re?function lu(i,s){return is(i,rf(i),s)}(i,function Qm(i,s){return i&&is(s,_o(s),i)}(ue,i)):function au(i,s){return is(i,ac(i),s)}(i,al(ue,i))}else{if(!Vn[pt])return I?i:{};ue=function op(i,s,c){var E=i.constructor;switch(s){case W:return Xl(i);case Oi:case fn:return new E(+i);case Se:return function ep(i,s){var c=s?Xl(i.buffer):i.buffer;return new i.constructor(c,i.byteOffset,i.byteLength)}(i,c);case $e:case st:case ft:case Ut:case ht:case ot:case Kt:case _n:case It:return ec(i,c);case mi:return new E;case ci:case Ae:return new E(i);case Xn:return function tp(i){var s=new i.constructor(i.source,rt.exec(i));return s.lastIndex=i.lastIndex,s}(i);case de:return new E;case Oe:return function su(i){return Qr?Hn(Qr.call(i)):{}}(i)}}(i,pt,Me)}}G||(G=new ee);var nn=G.get(i);if(nn)return nn;G.set(i,ue),gc(i)?i.forEach((function(Cn){ue.add(Mo(Cn,s,c,Cn,i,G))})):Gf(i)&&i.forEach((function(Cn,ii){ue.set(ii,Mo(Cn,s,c,ii,i,G))}));var Qn=ct?v:(ut?Re?sc:Cl:Re?_o:xr)(i);return Ji(Qn||i,(function(Cn,ii){Qn&&(Cn=i[ii=Cn]),qs(ue,ii,Mo(Cn,s,c,ii,i,G))})),ue}function Sd(i,s,c){var E=c.length;if(null==i)return!E;for(i=Hn(i);E--;){var I=c[E],ue=i[I];if(ue===v&&!(I in i)||!(0,s[I])(ue))return!1}return!0}function Yc(i,s,c){if("function"!=typeof i)throw new lr(fe);return El((function(){i.apply(v,c)}),s)}function Ss(i,s,c,E){var I=-1,G=Z,ue=!0,Me=i.length,Re=[],ut=s.length;if(!Me)return Re;c&&(s=he(s,ar(c))),E?(G=P,ue=!1):s.length>=200&&(G=_s,ue=!1,s=new C(s));e:for(;++I<Me;){var ct=i[I],pt=null==c?ct:c(ct);if(ct=E||0!==ct?ct:0,ue&&pt==pt){for(var $t=ut;$t--;)if(s[$t]===pt)continue e;Re.push(ct)}else G(s,pt,E)||Re.push(ct)}return Re}B.templateSettings={escape:Nt,evaluate:jn,interpolate:kt,variable:"",imports:{_:B}},(B.prototype=da.prototype).constructor=B,(Xr.prototype=Jr(da.prototype)).constructor=Xr,(tn.prototype=Jr(da.prototype)).constructor=tn,fa.prototype.clear=function rl(){this.__data__=Bo?Bo(null):{},this.size=0},fa.prototype.delete=function jh(i){var s=this.has(i)&&delete this.__data__[i];return this.size-=s?1:0,s},fa.prototype.get=function Kc(i){var s=this.__data__;if(Bo){var c=s[i];return c===le?v:c}return S.call(s,i)?s[i]:v},fa.prototype.has=function ha(i){var s=this.__data__;return Bo?s[i]!==v:S.call(s,i)},fa.prototype.set=function Md(i,s){var c=this.__data__;return this.size+=this.has(i)?0:1,c[i]=Bo&&s===v?le:s,this},Jo.prototype.clear=function ir(){this.__data__=[],this.size=0},Jo.prototype.delete=function ol(i){var s=this.__data__,c=Xo(s,i);return!(c<0||(c==s.length-1?s.pop():Er.call(s,c,1),--this.size,0))},Jo.prototype.get=function pa(i){var s=this.__data__,c=Xo(s,i);return c<0?v:s[c][1]},Jo.prototype.has=function Dd(i){return Xo(this.__data__,i)>-1},Jo.prototype.set=function qc(i,s){var c=this.__data__,E=Xo(c,i);return E<0?(++this.size,c.push([i,s])):c[E][1]=s,this},Fi.prototype.clear=function Vo(){this.size=0,this.__data__={hash:new fa,map:new(fo||Jo),string:new fa}},Fi.prototype.delete=function Zc(i){var s=Ba(this,i).delete(i);return this.size-=s?1:0,s},Fi.prototype.get=function h(i){return Ba(this,i).get(i)},Fi.prototype.has=function g(i){return Ba(this,i).has(i)},Fi.prototype.set=function d(i,s){var c=Ba(this,i),E=c.size;return c.set(i,s),this.size+=c.size==E?0:1,this},C.prototype.add=C.prototype.push=function D(i){return this.__data__.set(i,le),this},C.prototype.has=function k(i){return this.__data__.has(i)},ee.prototype.clear=function se(){this.__data__=new Jo,this.size=0},ee.prototype.delete=function Ze(i){var s=this.__data__,c=s.delete(i);return this.size=s.size,c},ee.prototype.get=function Tt(i){return this.__data__.get(i)},ee.prototype.has=function vn(i){return this.__data__.has(i)},ee.prototype.set=function Wt(i,s){var c=this.__data__;if(c instanceof Jo){var E=c.__data__;if(!fo||E.length<199)return E.push([i,s]),this.size=++c.size,this;c=this.__data__=new Fi(E)}return c.set(i,s),this.size=c.size,this};var po=ga(ts),Td=ga(ul,!0);function dr(i,s){var c=!0;return po(i,(function(E,I,G){return c=!!s(E,I,G)})),c}function cl(i,s,c){for(var E=-1,I=i.length;++E<I;){var G=i[E],ue=s(G);if(null!=ue&&(Me===v?ue==ue&&!jr(ue):c(ue,Me)))var Me=ue,Re=G}return Re}function jl(i,s){var c=[];return po(i,(function(E,I,G){s(E,I,G)&&c.push(E)})),c}function rr(i,s,c,E,I){var G=-1,ue=i.length;for(c||(c=r_),I||(I=[]);++G<ue;){var Me=i[G];s>0&&c(Me)?s>1?rr(Me,s-1,c,E,I):Je(I,Me):E||(I[I.length]=Me)}return I}var Qc=tc(),xd=tc(!0);function ts(i,s){return i&&Qc(i,s,xr)}function ul(i,s){return i&&xd(i,s,xr)}function Zs(i,s){return j(s,(function(c){return Os(i[c])}))}function Ys(i,s){for(var c=0,E=(s=Js(s,i)).length;null!=i&&c<E;)i=i[as(s[c++])];return c&&c==E?i:v}function Ia(i,s,c){var E=s(i);return Ln(i)?E:Je(E,c(i))}function Ur(i){return null==i?i===v?"[object Undefined]":"[object Null]":er&&er in Hn(i)?function rp(i){var s=S.call(i,er),c=i[er];try{i[er]=v;var E=!0}catch{}var I=re.call(i);return E&&(s?i[er]=c:delete i[er]),I}(i):function up(i){return re.call(i)}(i)}function $l(i,s){return i>s}function dl(i,s){return null!=i&&S.call(i,s)}function zl(i,s){return null!=i&&s in Hn(i)}function Jc(i,s,c){for(var E=c?P:Z,I=i[0].length,G=i.length,ue=G,Me=ze(G),Re=1/0,ut=[];ue--;){var ct=i[ue];ue&&s&&(ct=he(ct,ar(s))),Re=vr(ct.length,Re),Me[ue]=!c&&(s||I>=120&&ct.length>=120)?new C(ue&&ct):v}ct=i[0];var pt=-1,$t=Me[0];e:for(;++pt<I&&ut.length<Re;){var nn=ct[pt],bn=s?s(nn):nn;if(nn=c||0!==nn?nn:0,!($t?_s($t,bn):E(ut,bn,c))){for(ue=G;--ue;){var Qn=Me[ue];if(!(Qn?_s(Qn,bn):E(i[ue],bn,c)))continue e}$t&&$t.push(bn),ut.push(nn)}}return ut}function ns(i,s,c){var E=null==(i=ss(i,s=Js(s,i)))?i:i[as(Do(s))];return null==E?v:wi(E,i,c)}function Aa(i){return ki(i)&&Ur(i)==Rn}function Na(i,s,c,E,I){return i===s||(null==i||null==s||!ki(i)&&!ki(s)?i!=i&&s!=s:function Wh(i,s,c,E,I,G){var ue=Ln(i),Me=Ln(s),Re=ue?dn:Fr(i),ut=Me?dn:Fr(s),ct=(Re=Re==Rn?ti:Re)==ti,pt=(ut=ut==Rn?ti:ut)==ti,$t=Re==ut;if($t&&ls(i)){if(!ls(s))return!1;ue=!0,ct=!1}if($t&&!ct)return G||(G=new ee),ue||qa(i)?ef(i,s,c,E,I,G):function tf(i,s,c,E,I,G,ue){switch(c){case Se:if(i.byteLength!=s.byteLength||i.byteOffset!=s.byteOffset)return!1;i=i.buffer,s=s.buffer;case W:return!(i.byteLength!=s.byteLength||!G(new Jn(i),new Jn(s)));case Oi:case fn:case ci:return So(+i,+s);case Zi:return i.name==s.name&&i.message==s.message;case Xn:case Ae:return i==s+"";case mi:var Me=f;case de:if(Me||(Me=A),i.size!=s.size&&!(1&E))return!1;var ut=ue.get(i);if(ut)return ut==s;E|=2,ue.set(i,s);var ct=ef(Me(i),Me(s),E,I,G,ue);return ue.delete(i),ct;case Oe:if(Qr)return Qr.call(i)==Qr.call(s)}return!1}(i,s,Re,c,E,I,G);if(!(1&c)){var nn=ct&&S.call(i,"__wrapped__"),bn=pt&&S.call(s,"__wrapped__");if(nn||bn){var Qn=nn?i.value():i,Cn=bn?s.value():s;return G||(G=new ee),I(Qn,Cn,c,E,G)}}return!!$t&&(G||(G=new ee),function nf(i,s,c,E,I,G){var ue=1&c,Me=Cl(i),Re=Me.length;if(Re!=Cl(s).length&&!ue)return!1;for(var pt=Re;pt--;){var $t=Me[pt];if(!(ue?$t in s:S.call(s,$t)))return!1}var nn=G.get(i),bn=G.get(s);if(nn&&bn)return nn==s&&bn==i;var Qn=!0;G.set(i,s),G.set(s,i);for(var Cn=ue;++pt<Re;){var ii=i[$t=Me[pt]],Bn=s[$t];if(E)var Or=ue?E(Bn,ii,$t,s,i,G):E(ii,Bn,$t,i,s,G);if(!(Or===v?ii===Bn||I(ii,Bn,c,E,G):Or)){Qn=!1;break}Cn||(Cn="constructor"==$t)}if(Qn&&!Cn){var bi=i.constructor,yr=s.constructor;bi!=yr&&"constructor"in i&&"constructor"in s&&!("function"==typeof bi&&bi instanceof bi&&"function"==typeof yr&&yr instanceof yr)&&(Qn=!1)}return G.delete(i),G.delete(s),Qn}(i,s,c,E,I,G))}(i,s,c,E,Na,I))}function Xc(i,s,c,E){var I=c.length,G=I,ue=!E;if(null==i)return!G;for(i=Hn(i);I--;){var Me=c[I];if(ue&&Me[2]?Me[1]!==i[Me[0]]:!(Me[0]in i))return!1}for(;++I<G;){var Re=(Me=c[I])[0],ut=i[Re],ct=Me[1];if(ue&&Me[2]){if(ut===v&&!(Re in i))return!1}else{var pt=new ee;if(E)var $t=E(ut,ct,Re,i,s,pt);if(!($t===v?Na(ct,ut,3,E,pt):$t))return!1}}return!0}function Id(i){return!(!Li(i)||function gu(i){return!!O&&O in i}(i))&&(Os(i)?zt:wt).test(ya(i))}function Nd(i){return"function"==typeof i?i:null==i?zi:"object"==typeof i?Ln(i)?kd(i[0],i[1]):Rd(i):Tc(i)}function Wl(i){if(!Ha(i))return Oa(i);var s=[];for(var c in Hn(i))S.call(i,c)&&"constructor"!=c&&s.push(c);return s}function Kl(i,s){return i<s}function qh(i,s){var c=-1,E=fr(i)?ze(i.length):[];return po(i,(function(I,G,ue){E[++c]=s(I,G,ue)})),E}function Rd(i){var s=wl(i);return 1==s.length&&s[0][2]?na(s[0][0],s[0][1]):function(c){return c===i||Xc(c,i,s)}}function kd(i,s){return pu(i)&&mu(s)?na(as(i),s):function(c){var E=Jf(c,i);return E===v&&E===s?wc(c,i):Na(s,E,3)}}function Ra(i,s,c,E,I){i!==s&&Qc(s,(function(G,ue){if(I||(I=new ee),Li(G))!function t_(i,s,c,E,I,G,ue){var Me=_u(i,c),Re=_u(s,c),ut=ue.get(Re);if(ut)Hr(i,c,ut);else{var ct=G?G(Me,Re,c+"",i,s,ue):v,pt=ct===v;if(pt){var $t=Ln(Re),nn=!$t&&ls(Re),bn=!$t&&!nn&&qa(Re);ct=Re,$t||nn||bn?Ln(Me)?ct=Me:sr(Me)?ct=to(Me):nn?(pt=!1,ct=$d(Re,!0)):bn?(pt=!1,ct=ec(Re,!0)):ct=[]:Il(Re)||Ka(Re)?(ct=Me,Ka(Me)?ct=vc(Me):(!Li(Me)||Os(Me))&&(ct=ta(Re))):pt=!1}pt&&(ue.set(Re,ct),I(ct,Re,E,G,ue),ue.delete(Re)),Hr(i,c,ct)}}(i,s,ue,c,Ra,E,I);else{var Me=E?E(_u(i,ue),G,ue+"",i,s,I):v;Me===v&&(Me=G),Hr(i,ue,Me)}}),_o)}function Zh(i,s){var c=i.length;if(c)return Ts(s+=s<0?c:0,c)?i[s]:v}function ql(i,s,c){s=s.length?he(s,(function(G){return Ln(G)?function(ue){return Ys(ue,1===G.length?G[0]:G)}:G})):[zi];var E=-1;return s=he(s,ar(yn())),function Ro(ge,Qe){var ze=ge.length;for(ge.sort(Qe);ze--;)ge[ze]=ge[ze].value;return ge}(qh(i,(function(G,ue,Me){return{criteria:he(s,(function(ut){return ut(G)})),index:++E,value:G}})),(function(G,ue){return function Gd(i,s,c){for(var E=-1,I=i.criteria,G=s.criteria,ue=I.length,Me=c.length;++E<ue;){var Re=zd(I[E],G[E]);if(Re)return E>=Me?Re:Re*("desc"==c[E]?-1:1)}return i.index-s.index}(G,ue,c)}))}function Yh(i,s,c){for(var E=-1,I=s.length,G={};++E<I;){var ue=s[E],Me=Ys(i,ue);c(Me,ue)&&eo(G,Js(ue,i),Me)}return G}function Fd(i,s,c,E){var I=E?Ko:co,G=-1,ue=s.length,Me=i;for(i===s&&(s=to(s)),c&&(Me=he(i,ar(c)));++G<ue;)for(var Re=0,ut=s[G],ct=c?c(ut):ut;(Re=I(Me,ct,Re,E))>-1;)Me!==i&&Er.call(Me,Re,1),Er.call(i,Re,1);return i}function Qh(i,s){for(var c=i?s.length:0,E=c-1;c--;){var I=s[c];if(c==E||I!==G){var G=I;Ts(I)?Er.call(i,I,1):Tr(i,I)}}return i}function eu(i,s){return i+Ta(tl()*(s-i+1))}function fl(i,s){var c="";if(!i||s<1||s>je)return c;do{s%2&&(c+=i),(s=Ta(s/2))&&(i+=i)}while(s);return c}function Yn(i,s){return vu(cf(i,s,zi),i+"")}function Bd(i){return Sr(Ya(i))}function Vd(i,s){var c=Ya(i);return Ml(c,es(s,0,c.length))}function eo(i,s,c,E){if(!Li(i))return i;for(var I=-1,G=(s=Js(s,i)).length,ue=G-1,Me=i;null!=Me&&++I<G;){var Re=as(s[I]),ut=c;if("__proto__"===Re||"constructor"===Re||"prototype"===Re)return i;if(I!=ue){var ct=Me[Re];(ut=E?E(ct,Re,Me):v)===v&&(ut=Li(ct)?ct:Ts(s[I+1])?[]:{})}qs(Me,Re,ut),Me=Me[Re]}return i}var Hd=il?function(i,s){return il.set(i,s),i}:zi,Jh=Yo?function(i,s){return Yo(i,"toString",{configurable:!0,enumerable:!1,value:od(s),writable:!0})}:zi;function Xh(i){return Ml(Ya(i))}function go(i,s,c){var E=-1,I=i.length;s<0&&(s=-s>I?0:I+s),(c=c>I?I:c)<0&&(c+=I),I=s>c?0:c-s>>>0,s>>>=0;for(var G=ze(I);++E<I;)G[E]=i[E+s];return G}function tu(i,s){var c;return po(i,(function(E,I,G){return!(c=s(E,I,G))})),!!c}function Zl(i,s,c){var E=0,I=null==i?E:i.length;if("number"==typeof s&&s==s&&I<=2147483647){for(;E<I;){var G=E+I>>>1,ue=i[G];null!==ue&&!jr(ue)&&(c?ue<=s:ue<s)?E=G+1:I=G}return I}return nu(i,s,zi,c)}function nu(i,s,c,E){var I=0,G=null==i?0:i.length;if(0===G)return 0;for(var ue=(s=c(s))!=s,Me=null===s,Re=jr(s),ut=s===v;I<G;){var ct=Ta((I+G)/2),pt=c(i[ct]),$t=pt!==v,nn=null===pt,bn=pt==pt,Qn=jr(pt);if(ue)var Cn=E||bn;else Cn=ut?bn&&(E||$t):Me?bn&&$t&&(E||!nn):Re?bn&&$t&&!nn&&(E||!Qn):!nn&&!Qn&&(E?pt<=s:pt<s);Cn?I=ct+1:G=ct}return vr(G,4294967294)}function Ud(i,s){for(var c=-1,E=i.length,I=0,G=[];++c<E;){var ue=i[c],Me=s?s(ue):ue;if(!c||!So(Me,Re)){var Re=Me;G[I++]=0===ue?0:ue}}return G}function iu(i){return"number"==typeof i?i:jr(i)?NaN:+i}function mo(i){if("string"==typeof i)return i;if(Ln(i))return he(i,mo)+"";if(jr(i))return Ul?Ul.call(i):"";var s=i+"";return"0"==s&&1/i==-ae?"-0":s}function Qs(i,s,c){var E=-1,I=Z,G=i.length,ue=!0,Me=[],Re=Me;if(c)ue=!1,I=P;else if(G>=200){var ut=s?null:ma(i);if(ut)return A(ut);ue=!1,I=_s,Re=new C}else Re=s?[]:Me;e:for(;++E<G;){var ct=i[E],pt=s?s(ct):ct;if(ct=c||0!==ct?ct:0,ue&&pt==pt){for(var $t=Re.length;$t--;)if(Re[$t]===pt)continue e;s&&Re.push(pt),Me.push(ct)}else I(Re,pt,c)||(Re!==Me&&Re.push(pt),Me.push(ct))}return Me}function Tr(i,s){return null==(i=ss(i,s=Js(s,i)))||delete i[as(Do(s))]}function Yl(i,s,c,E){return eo(i,s,c(Ys(i,s)),E)}function hl(i,s,c,E){for(var I=i.length,G=E?I:-1;(E?G--:++G<I)&&s(i[G],G,i););return c?go(i,E?0:G,E?G+1:I):go(i,E?G+1:0,E?I:G)}function Ql(i,s){var c=i;return c instanceof tn&&(c=c.value()),pn(s,(function(E,I){return I.func.apply(I.thisArg,Je([E],I.args))}),c)}function Cr(i,s,c){var E=i.length;if(E<2)return E?Qs(i[0]):[];for(var I=-1,G=ze(E);++I<E;)for(var ue=i[I],Me=-1;++Me<E;)Me!=I&&(G[I]=Ss(G[I]||ue,i[Me],s,c));return Qs(rr(G,1),s,c)}function ka(i,s,c){for(var E=-1,I=i.length,G=s.length,ue={};++E<I;)c(ue,i[E],E<G?s[E]:v);return ue}function Jl(i){return sr(i)?i:[]}function ru(i){return"function"==typeof i?i:zi}function Js(i,s){return Ln(i)?i:pu(i,s)?[i]:hf(_i(i))}var jd=Yn;function Xs(i,s,c){var E=i.length;return c=c===v?E:c,!s&&c>=E?i:go(i,s,c)}var ou=Lo||function(i){return Ai.clearTimeout(i)};function $d(i,s){if(s)return i.slice();var c=i.length,E=rn?rn(c):new i.constructor(c);return i.copy(E),E}function Xl(i){var s=new i.constructor(i.byteLength);return new Jn(s).set(new Jn(i)),s}function ec(i,s){var c=s?Xl(i.buffer):i.buffer;return new i.constructor(c,i.byteOffset,i.length)}function zd(i,s){if(i!==s){var c=i!==v,E=null===i,I=i==i,G=jr(i),ue=s!==v,Me=null===s,Re=s==s,ut=jr(s);if(!Me&&!ut&&!G&&i>s||G&&ue&&Re&&!Me&&!ut||E&&ue&&Re||!c&&Re||!I)return 1;if(!E&&!G&&!ut&&i<s||ut&&c&&I&&!E&&!G||Me&&c&&I||!ue&&I||!Re)return-1}return 0}function Wd(i,s,c,E){for(var I=-1,G=i.length,ue=c.length,Me=-1,Re=s.length,ut=tr(G-ue,0),ct=ze(Re+ut),pt=!E;++Me<Re;)ct[Me]=s[Me];for(;++I<ue;)(pt||I<G)&&(ct[c[I]]=i[I]);for(;ut--;)ct[Me++]=i[I++];return ct}function Fa(i,s,c,E){for(var I=-1,G=i.length,ue=-1,Me=c.length,Re=-1,ut=s.length,ct=tr(G-Me,0),pt=ze(ct+ut),$t=!E;++I<ct;)pt[I]=i[I];for(var nn=I;++Re<ut;)pt[nn+Re]=s[Re];for(;++ue<Me;)($t||I<G)&&(pt[nn+c[ue]]=i[I++]);return pt}function to(i,s){var c=-1,E=i.length;for(s||(s=ze(E));++c<E;)s[c]=i[c];return s}function is(i,s,c,E){var I=!c;c||(c={});for(var G=-1,ue=s.length;++G<ue;){var Me=s[G],Re=E?E(c[Me],i[Me],Me,c,i):v;Re===v&&(Re=i[Me]),I?ho(c,Me,Re):qs(c,Me,Re)}return c}function pl(i,s){return function(c,E){var I=Ln(c)?ao:sl,G=s?s():{};return I(c,i,yn(E,2),G)}}function gl(i){return Yn((function(s,c){var E=-1,I=c.length,G=I>1?c[I-1]:v,ue=I>2?c[2]:v;for(G=i.length>3&&"function"==typeof G?(I--,G):v,ue&&Pr(c[0],c[1],ue)&&(G=I<3?v:G,I=1),s=Hn(s);++E<I;){var Me=c[E];Me&&i(s,Me,E,G)}return s}))}function ga(i,s){return function(c,E){if(null==c)return c;if(!fr(c))return i(c,E);for(var I=c.length,G=s?I:-1,ue=Hn(c);(s?G--:++G<I)&&!1!==E(ue[G],G,ue););return c}}function tc(i){return function(s,c,E){for(var I=-1,G=Hn(s),ue=E(s),Me=ue.length;Me--;){var Re=ue[i?Me:++I];if(!1===c(G[Re],Re,G))break}return s}}function qd(i){return function(s){var c=qr(s=_i(s))?et(s):v,E=c?c[0]:s.charAt(0),I=c?Xs(c,1).join(""):s.slice(1);return E[i]()+I}}function ea(i){return function(s){return pn(dh(Mc(s).replace(Hs,"")),i,"")}}function ml(i){return function(){var s=arguments;switch(s.length){case 0:return new i;case 1:return new i(s[0]);case 2:return new i(s[0],s[1]);case 3:return new i(s[0],s[1],s[2]);case 4:return new i(s[0],s[1],s[2],s[3]);case 5:return new i(s[0],s[1],s[2],s[3],s[4]);case 6:return new i(s[0],s[1],s[2],s[3],s[4],s[5]);case 7:return new i(s[0],s[1],s[2],s[3],s[4],s[5],s[6])}var c=Jr(i.prototype),E=i.apply(c,s);return Li(E)?E:c}}function Zd(i){return function(s,c,E){var I=Hn(s);if(!fr(s)){var G=yn(c,3);s=xr(s),c=function(Me){return G(I[Me],Me,I)}}var ue=i(s,c,E);return ue>-1?I[G?s[ue]:ue]:v}}function Yd(i){return os((function(s){var c=s.length,E=c,I=Xr.prototype.thru;for(i&&s.reverse();E--;){var G=s[E];if("function"!=typeof G)throw new lr(fe);if(I&&!ue&&"wrapper"==_a(G))var ue=new Xr([],!0)}for(E=ue?E:c;++E<c;){var Me=_a(G=s[E]),Re="wrapper"==Me?La(G):v;ue=Re&&Va(Re[0])&&424==Re[1]&&!Re[4].length&&1==Re[9]?ue[_a(Re[0])].apply(ue,Re[3]):1==G.length&&Va(G)?ue[Me]():ue.thru(G)}return function(){var ut=arguments,ct=ut[0];if(ue&&1==ut.length&&Ln(ct))return ue.plant(ct).value();for(var pt=0,$t=c?s[pt].apply(this,ut):ct;++pt<c;)$t=s[pt].call(this,$t);return $t}}))}function nc(i,s,c,E,I,G,ue,Me,Re,ut){var ct=128&s,pt=1&s,$t=2&s,nn=24&s,bn=512&s,Qn=$t?v:ml(i);return function Cn(){for(var ii=arguments.length,Bn=ze(ii),Or=ii;Or--;)Bn[Or]=arguments[Or];if(nn)var bi=va(Cn),yr=Br(Bn,bi);if(E&&(Bn=Wd(Bn,E,I,nn)),G&&(Bn=Fa(Bn,G,ue,nn)),ii-=yr,nn&&ii<ut){var Bi=M(Bn,bi);return uu(i,s,nc,Cn.placeholder,c,Bn,Bi,Me,Re,ut-ii)}var Ki=pt?c:this,$o=$t?Ki[i]:i;return ii=Bn.length,Me?Bn=Ua(Bn,Me):bn&&ii>1&&Bn.reverse(),ct&&Re<ii&&(Bn.length=Re),this&&this!==Ai&&this instanceof Cn&&($o=Qn||ml($o)),$o.apply(Ki,Bn)}}function Qd(i,s){return function(c,E){return function zh(i,s,c,E){return ts(i,(function(I,G,ue){s(E,c(I),G,ue)})),E}(c,i,s(E),{})}}function _l(i,s){return function(c,E){var I;if(c===v&&E===v)return s;if(c!==v&&(I=c),E!==v){if(I===v)return E;"string"==typeof c||"string"==typeof E?(c=mo(c),E=mo(E)):(c=iu(c),E=iu(E)),I=i(c,E)}return I}}function vl(i){return os((function(s){return s=he(s,ar(yn())),Yn((function(c){var E=this;return i(s,(function(I){return wi(I,E,c)}))}))}))}function yl(i,s){var c=(s=s===v?" ":mo(s)).length;if(c<2)return c?fl(s,i):s;var E=fl(s,Dr(i/Ve(s)));return qr(s)?Xs(et(E),0,i).join(""):E.slice(0,i)}function Jd(i){return function(s,c,E){return E&&"number"!=typeof E&&Pr(s,c,E)&&(c=E=v),s=cs(s),c===v?(c=s,s=0):c=cs(c),function Ld(i,s,c,E){for(var I=-1,G=tr(Dr((s-i)/(c||1)),0),ue=ze(G);G--;)ue[E?G:++I]=i,i+=c;return ue}(s,c,E=E===v?s<c?1:-1:cs(E),i)}}function ic(i){return function(s,c){return"string"==typeof s&&"string"==typeof c||(s=hr(s),c=hr(c)),i(s,c)}}function uu(i,s,c,E,I,G,ue,Me,Re,ut){var ct=8&s;s|=ct?32:64,4&(s&=~(ct?64:32))||(s&=-4);var Qn=[i,s,I,ct?G:v,ct?ue:v,ct?v:G,ct?v:ue,Me,Re,ut],Cn=c.apply(v,Qn);return Va(i)&&uf(Cn,Qn),Cn.placeholder=E,df(Cn,i,s)}function rc(i){var s=ei[i];return function(c,E){if(c=hr(c),(E=null==E?0:vr(qn(E),292))&&Pa(c)){var I=(_i(c)+"e").split("e");return+((I=(_i(s(I[0]+"e"+(+I[1]+E)))+"e").split("e"))[0]+"e"+(+I[1]-E))}return s(c)}}var ma=ws&&1/A(new ws([,-0]))[1]==ae?function(i){return new ws(i)}:ad;function du(i){return function(s){var c=Fr(s);return c==mi?f(s):c==de?function z(ge){var Qe=-1,ze=Array(ge.size);return ge.forEach((function(St){ze[++Qe]=[St,St]})),ze}(s):function ms(ge,Qe){return he(Qe,(function(ze){return[ze,ge[ze]]}))}(s,i(s))}}function rs(i,s,c,E,I,G,ue,Me){var Re=2&s;if(!Re&&"function"!=typeof i)throw new lr(fe);var ut=E?E.length:0;if(ut||(s&=-97,E=I=v),ue=ue===v?ue:tr(qn(ue),0),Me=Me===v?Me:qn(Me),ut-=I?I.length:0,64&s){var ct=E,pt=I;E=I=v}var $t=Re?v:La(i),nn=[i,s,c,E,I,ct,pt,G,ue,Me];if($t&&function lp(i,s){var c=i[1],E=s[1],I=c|E;if(!(I<131||(128==E&&8==c||128==E&&256==c&&i[7].length<=s[8]||384==E&&s[7].length<=s[8]&&8==c)))return i;1&E&&(i[2]=s[2],I|=1&c?0:4);var Me=s[3];if(Me){var Re=i[3];i[3]=Re?Wd(Re,Me,s[4]):Me,i[4]=Re?M(i[3],Y):s[4]}(Me=s[5])&&(i[5]=(Re=i[5])?Fa(Re,Me,s[6]):Me,i[6]=Re?M(i[5],Y):s[6]),(Me=s[7])&&(i[7]=Me),128&E&&(i[8]=null==i[8]?s[8]:vr(i[8],s[8])),null==i[9]&&(i[9]=s[9]),i[0]=s[0],i[1]=I}(nn,$t),i=nn[0],s=nn[1],c=nn[2],E=nn[3],I=nn[4],!(Me=nn[9]=nn[9]===v?Re?0:i.length:tr(nn[9]-ut,0))&&24&s&&(s&=-25),s&&1!=s)bn=8==s||16==s?function np(i,s,c){var E=ml(i);return function I(){for(var G=arguments.length,ue=ze(G),Me=G,Re=va(I);Me--;)ue[Me]=arguments[Me];var ut=G<3&&ue[0]!==Re&&ue[G-1]!==Re?[]:M(ue,Re);return(G-=ut.length)<c?uu(i,s,nc,I.placeholder,v,ue,ut,v,v,c-G):wi(this&&this!==Ai&&this instanceof I?E:i,this,ue)}}(i,s,Me):32!=s&&33!=s||I.length?nc.apply(v,nn):function cu(i,s,c,E){var I=1&s,G=ml(i);return function ue(){for(var Me=-1,Re=arguments.length,ut=-1,ct=E.length,pt=ze(ct+Re),$t=this&&this!==Ai&&this instanceof ue?G:i;++ut<ct;)pt[ut]=E[ut];for(;Re--;)pt[ut++]=arguments[++Me];return wi($t,I?c:this,pt)}}(i,s,c,E);else var bn=function Kd(i,s,c){var E=1&s,I=ml(i);return function G(){return(this&&this!==Ai&&this instanceof G?I:i).apply(E?c:this,arguments)}}(i,s,c);return df(($t?Hd:uf)(bn,nn),i,s)}function Xd(i,s,c,E){return i===v||So(i,cr[c])&&!S.call(E,c)?s:i}function ip(i,s,c,E,I,G){return Li(i)&&Li(s)&&(G.set(s,i),Ra(i,s,v,ip,G),G.delete(s)),i}function oc(i){return Il(i)?v:i}function ef(i,s,c,E,I,G){var ue=1&c,Me=i.length,Re=s.length;if(Me!=Re&&!(ue&&Re>Me))return!1;var ut=G.get(i),ct=G.get(s);if(ut&&ct)return ut==s&&ct==i;var pt=-1,$t=!0,nn=2&c?new C:v;for(G.set(i,s),G.set(s,i);++pt<Me;){var bn=i[pt],Qn=s[pt];if(E)var Cn=ue?E(Qn,bn,pt,s,i,G):E(bn,Qn,pt,i,s,G);if(Cn!==v){if(Cn)continue;$t=!1;break}if(nn){if(!$i(s,(function(ii,Bn){if(!_s(nn,Bn)&&(bn===ii||I(bn,ii,c,E,G)))return nn.push(Bn)}))){$t=!1;break}}else if(bn!==Qn&&!I(bn,Qn,c,E,G)){$t=!1;break}}return G.delete(i),G.delete(s),$t}function os(i){return vu(cf(i,v,_f),i+"")}function Cl(i){return Ia(i,xr,ac)}function sc(i){return Ia(i,_o,rf)}var La=il?function(i){return il.get(i)}:ad;function _a(i){for(var s=i.name+"",c=Es[s],E=S.call(Es,s)?c.length:0;E--;){var I=c[E],G=I.func;if(null==G||G==i)return I.name}return s}function va(i){return(S.call(B,"placeholder")?B:i).placeholder}function yn(){var i=B.iteratee||Al;return i=i===Al?Nd:i,arguments.length?i(arguments[0],arguments[1]):i}function Ba(i,s){var c=i.__data__;return function af(i){var s=typeof i;return"string"==s||"number"==s||"symbol"==s||"boolean"==s?"__proto__"!==i:null===i}(s)?c["string"==typeof s?"string":"hash"]:c.map}function wl(i){for(var s=xr(i),c=s.length;c--;){var E=s[c],I=i[E];s[c]=[E,I,mu(I)]}return s}function Uo(i,s){var c=function Sa(ge,Qe){return null==ge?v:ge[Qe]}(i,s);return Id(c)?c:v}var ac=Cs?function(i){return null==i?[]:(i=Hn(i),j(Cs(i),(function(s){return pi.call(i,s)})))}:mh,rf=Cs?function(i){for(var s=[];i;)Je(s,ac(i)),i=ni(i);return s}:mh,Fr=Ur;function bl(i,s,c){for(var E=-1,I=(s=Js(s,i)).length,G=!1;++E<I;){var ue=as(s[E]);if(!(G=null!=i&&c(i,ue)))break;i=i[ue]}return G||++E!=I?G:!!(I=null==i?0:i.length)&&hc(I)&&Ts(ue,I)&&(Ln(i)||Ka(i))}function ta(i){return"function"!=typeof i.constructor||Ha(i)?{}:Jr(ni(i))}function r_(i){return Ln(i)||Ka(i)||!!(ur&&i&&i[ur])}function Ts(i,s){var c=typeof i;return!!(s=s??je)&&("number"==c||"symbol"!=c&&Ct.test(i))&&i>-1&&i%1==0&&i<s}function Pr(i,s,c){if(!Li(c))return!1;var E=typeof s;return!!("number"==E?fr(c)&&Ts(s,c.length):"string"==E&&s in c)&&So(c[s],i)}function pu(i,s){if(Ln(i))return!1;var c=typeof i;return!("number"!=c&&"symbol"!=c&&"boolean"!=c&&null!=i&&!jr(i))||on.test(i)||!sn.test(i)||null!=s&&i in Hn(s)}function Va(i){var s=_a(i),c=B[s];if("function"!=typeof c||!(s in tn.prototype))return!1;if(i===c)return!0;var E=La(c);return!!E&&i===E[0]}(Qo&&Fr(new Qo(new ArrayBuffer(1)))!=Se||fo&&Fr(new fo)!=mi||nl&&Fr(nl.resolve())!=hi||ws&&Fr(new ws)!=de||bs&&Fr(new bs)!=ce)&&(Fr=function(i){var s=Ur(i),c=s==ti?i.constructor:v,E=c?ya(c):"";if(E)switch(E){case ca:return Se;case Vl:return mi;case ua:return hi;case Hl:return de;case Ms:return ce}return s});var lf=Yr?Os:xc;function Ha(i){var s=i&&i.constructor;return i===("function"==typeof s&&s.prototype||cr)}function mu(i){return i==i&&!Li(i)}function na(i,s){return function(c){return null!=c&&c[i]===s&&(s!==v||i in Hn(c))}}function cf(i,s,c){return s=tr(s===v?i.length-1:s,0),function(){for(var E=arguments,I=-1,G=tr(E.length-s,0),ue=ze(G);++I<G;)ue[I]=E[s+I];I=-1;for(var Me=ze(s+1);++I<s;)Me[I]=E[I];return Me[s]=c(ue),wi(i,this,Me)}}function ss(i,s){return s.length<2?i:Ys(i,go(s,0,-1))}function Ua(i,s){for(var c=i.length,E=vr(s.length,c),I=to(i);E--;){var G=s[E];i[E]=Ts(G,c)?I[G]:v}return i}function _u(i,s){if(("constructor"!==s||"function"!=typeof i[s])&&"__proto__"!=s)return i[s]}var uf=ff(Hd),El=Xa||function(i,s){return Ai.setTimeout(i,s)},vu=ff(Jh);function df(i,s,c){var E=s+"";return vu(i,function sp(i,s){var c=s.length;if(!c)return i;var E=c-1;return s[E]=(c>1?"& ":"")+s[E],s=s.join(c>2?", ":" "),i.replace(Bt,"{\n/* [wrapped with "+s+"] */\n")}(E,function dp(i,s){return Ji(Di,(function(c){var E="_."+c[0];s&c[1]&&!Z(i,E)&&i.push(E)})),i.sort()}(function fu(i){var s=i.match(Ce);return s?s[1].split(ie):[]}(E),c)))}function ff(i){var s=0,c=0;return function(){var E=el(),I=16-(E-c);if(c=E,I>0){if(++s>=800)return arguments[0]}else s=0;return i.apply(v,arguments)}}function Ml(i,s){var c=-1,E=i.length,I=E-1;for(s=s===v?E:s;++c<s;){var G=eu(c,I),ue=i[G];i[G]=i[c],i[c]=ue}return i.length=s,i}var hf=function ap(i){var s=dc(i,(function(E){return 500===c.size&&c.clear(),E})),c=s.cache;return s}((function(i){var s=[];return 46===i.charCodeAt(0)&&s.push(""),i.replace(vi,(function(c,E,I,G){s.push(I?G.replace(te,"$1"):E||c)})),s}));function as(i){if("string"==typeof i||jr(i))return i;var s=i+"";return"0"==s&&1/i==-ae?"-0":s}function ya(i){if(null!=i){try{return _.call(i)}catch{}try{return i+""}catch{}}return""}function Dl(i){if(i instanceof tn)return i.clone();var s=new Xr(i.__wrapped__,i.__chain__);return s.__actions__=to(i.__actions__),s.__index__=i.__index__,s.__values__=i.__values__,s}var gf=Yn((function(i,s){return sr(i)?Ss(i,rr(s,1,sr,!0)):[]})),mf=Yn((function(i,s){var c=Do(s);return sr(c)&&(c=v),sr(i)?Ss(i,rr(s,1,sr,!0),yn(c,2)):[]})),o_=Yn((function(i,s){var c=Do(s);return sr(c)&&(c=v),sr(i)?Ss(i,rr(s,1,sr,!0),v,c):[]}));function fp(i,s,c){var E=null==i?0:i.length;if(!E)return-1;var I=null==c?0:qn(c);return I<0&&(I=tr(E+I,0)),No(i,yn(s,3),I)}function wu(i,s,c){var E=null==i?0:i.length;if(!E)return-1;var I=E-1;return c!==v&&(I=qn(c),I=c<0?tr(E+I,0):vr(I,E-1)),No(i,yn(s,3),I,!0)}function _f(i){return null!=i&&i.length?rr(i,1):[]}function bu(i){return i&&i.length?i[0]:v}var Eu=Yn((function(i){var s=he(i,Jl);return s.length&&s[0]===i[0]?Jc(s):[]})),mp=Yn((function(i){var s=Do(i),c=he(i,Jl);return s===Do(c)?s=v:c.pop(),c.length&&c[0]===i[0]?Jc(c,yn(s,2)):[]})),or=Yn((function(i){var s=Do(i),c=he(i,Jl);return(s="function"==typeof s?s:v)&&c.pop(),c.length&&c[0]===i[0]?Jc(c,v,s):[]}));function Do(i){var s=null==i?0:i.length;return s?i[s-1]:v}var _p=Yn(wf);function wf(i,s){return i&&i.length&&s&&s.length?Fd(i,s):i}var Cp=os((function(i,s){var c=null==i?0:i.length,E=ll(i,s);return Qh(i,he(s,(function(I){return Ts(I,c)?+I:I})).sort(zd)),E}));function bf(i){return null==i?i:Bl.call(i)}var Ca=Yn((function(i){return Qs(rr(i,1,sr,!0))})),Ep=Yn((function(i){var s=Do(i);return sr(s)&&(s=v),Qs(rr(i,1,sr,!0),yn(s,2))})),Pu=Yn((function(i){var s=Do(i);return s="function"==typeof s?s:v,Qs(rr(i,1,sr,!0),v,s)}));function ja(i){if(!i||!i.length)return[];var s=0;return i=j(i,(function(c){if(sr(c))return s=tr(c.length,s),!0})),Rr(s,(function(c){return he(i,qo(c))}))}function ia(i,s){if(!i||!i.length)return[];var c=ja(i);return null==s?c:he(c,(function(E){return wi(s,v,E)}))}var Of=Yn((function(i,s){return sr(i)?Ss(i,s):[]})),Ou=Yn((function(i){return Cr(j(i,sr))})),Dp=Yn((function(i){var s=Do(i);return sr(s)&&(s=v),Cr(j(i,sr),yn(s,2))})),Sp=Yn((function(i){var s=Do(i);return s="function"==typeof s?s:v,Cr(j(i,sr),v,s)})),If=Yn(ja),Pp=Yn((function(i){var s=i.length,c=s>1?i[s-1]:v;return c="function"==typeof c?(i.pop(),c):v,ia(i,c)}));function Af(i){var s=B(i);return s.__chain__=!0,s}function za(i,s){return s(i)}var Op=os((function(i){var s=i.length,c=s?i[0]:0,E=this.__wrapped__,I=function(G){return ll(G,i)};return!(s>1||this.__actions__.length)&&E instanceof tn&&Ts(c)?((E=E.slice(c,+c+(s?1:0))).__actions__.push({func:za,args:[I],thisArg:v}),new Xr(E,this.__chain__).thru((function(G){return s&&!G.length&&G.push(v),G}))):this.thru(I)})),Ga=pl((function(i,s,c){S.call(i,c)?++i[c]:ho(i,c,1)})),f_=Zd(fp),kf=Zd(wu);function Iu(i,s){return(Ln(i)?Ji:po)(i,yn(s,3))}function Ff(i,s){return(Ln(i)?Gr:Td)(i,yn(s,3))}var Au=pl((function(i,s,c){S.call(i,c)?i[c].push(s):ho(i,c,[s])})),Bp=Yn((function(i,s,c){var E=-1,I="function"==typeof s,G=fr(i)?ze(i.length):[];return po(i,(function(ue){G[++E]=I?wi(s,ue,c):ns(ue,s,c)})),G})),Ru=pl((function(i,s,c){ho(i,c,s)}));function ra(i,s){return(Ln(i)?he:qh)(i,yn(s,3))}var Hp=pl((function(i,s,c){i[c?0:1].push(s)}),(function(){return[[],[]]})),Kp=Yn((function(i,s){if(null==i)return[];var c=s.length;return c>1&&Pr(i,s[0],s[1])?s=[]:c>2&&Pr(s[0],s[1],s[2])&&(s=[s[0]]),ql(i,rr(s,1),[])})),ku=Ws||function(){return Ai.Date.now()};function Fu(i,s,c){return s=c?v:s,rs(i,128,v,v,v,v,s=i&&null==s?i.length:s)}function qp(i,s){var c;if("function"!=typeof s)throw new lr(fe);return i=qn(i),function(){return--i>0&&(c=s.apply(this,arguments)),i<=1&&(s=v),c}}var uc=Yn((function(i,s,c){var E=1;if(c.length){var I=M(c,va(uc));E|=32}return rs(i,E,s,c,I)})),Zp=Yn((function(i,s,c){var E=3;if(c.length){var I=M(c,va(Zp));E|=32}return rs(s,E,i,c,I)}));function Bu(i,s,c){var E,I,G,ue,Me,Re,ut=0,ct=!1,pt=!1,$t=!0;if("function"!=typeof i)throw new lr(fe);function nn(Bi){var Ki=E,$o=I;return E=I=v,ut=Bi,ue=i.apply($o,Ki)}function bn(Bi){return ut=Bi,Me=El(ii,s),ct?nn(Bi):ue}function Cn(Bi){var Ki=Bi-Re;return Re===v||Ki>=s||Ki<0||pt&&Bi-ut>=G}function ii(){var Bi=ku();if(Cn(Bi))return Bn(Bi);Me=El(ii,function Qn(Bi){var Ea=s-(Bi-Re);return pt?vr(Ea,G-(Bi-ut)):Ea}(Bi))}function Bn(Bi){return Me=v,$t&&E?nn(Bi):(E=I=v,ue)}function yr(){var Bi=ku(),Ki=Cn(Bi);if(E=arguments,I=this,Re=Bi,Ki){if(Me===v)return bn(Re);if(pt)return ou(Me),Me=El(ii,s),nn(Re)}return Me===v&&(Me=El(ii,s)),ue}return s=hr(s)||0,Li(c)&&(ct=!!c.leading,G=(pt="maxWait"in c)?tr(hr(c.maxWait)||0,s):G,$t="trailing"in c?!!c.trailing:$t),yr.cancel=function Or(){Me!==v&&ou(Me),ut=0,E=Re=I=Me=v},yr.flush=function bi(){return Me===v?ue:Bn(ku())},yr}var Yp=Yn((function(i,s){return Yc(i,1,s)})),Qp=Yn((function(i,s,c){return Yc(i,hr(s)||0,c)}));function dc(i,s){if("function"!=typeof i||null!=s&&"function"!=typeof s)throw new lr(fe);var c=function(){var E=arguments,I=s?s.apply(this,E):E[0],G=c.cache;if(G.has(I))return G.get(I);var ue=i.apply(this,E);return c.cache=G.set(I,ue)||G,ue};return c.cache=new(dc.Cache||Fi),c}function Ol(i){if("function"!=typeof i)throw new lr(fe);return function(){var s=arguments;switch(s.length){case 0:return!i.call(this);case 1:return!i.call(this,s[0]);case 2:return!i.call(this,s[0],s[1]);case 3:return!i.call(this,s[0],s[1],s[2])}return!i.apply(this,s)}}dc.Cache=Fi;var Xp=jd((function(i,s){var c=(s=1==s.length&&Ln(s[0])?he(s[0],ar(yn())):he(rr(s,1),ar(yn()))).length;return Yn((function(E){for(var I=-1,G=vr(E.length,c);++I<G;)E[I]=s[I].call(this,E[I]);return wi(i,this,E)}))})),Vu=Yn((function(i,s){var c=M(s,va(Vu));return rs(i,32,v,s,c)})),Bf=Yn((function(i,s){var c=M(s,va(Bf));return rs(i,64,v,s,c)})),Vf=os((function(i,s){return rs(i,256,v,v,v,s)}));function So(i,s){return i===s||i!=i&&s!=s}var sg=ic($l),ag=ic((function(i,s){return i>=s})),Ka=Aa(function(){return arguments}())?Aa:function(i){return ki(i)&&S.call(i,"callee")&&!pi.call(i,"callee")},Ln=ze.isArray,zf=zr?ar(zr):function Gh(i){return ki(i)&&Ur(i)==W};function fr(i){return null!=i&&hc(i.length)&&!Os(i)}function sr(i){return ki(i)&&fr(i)}var ls=Ks||xc,lg=bo?ar(bo):function Jm(i){return ki(i)&&Ur(i)==fn};function fc(i){if(!ki(i))return!1;var s=Ur(i);return s==Zi||"[object DOMException]"==s||"string"==typeof i.message&&"string"==typeof i.name&&!Il(i)}function Os(i){if(!Li(i))return!1;var s=Ur(i);return s==fi||s==Un||"[object AsyncFunction]"==s||"[object Proxy]"==s}function wa(i){return"number"==typeof i&&i==qn(i)}function hc(i){return"number"==typeof i&&i>-1&&i%1==0&&i<=je}function Li(i){var s=typeof i;return null!=i&&("object"==s||"function"==s)}function ki(i){return null!=i&&"object"==typeof i}var Gf=Ti?ar(Ti):function Xm(i){return ki(i)&&Fr(i)==mi};function Uu(i){return"number"==typeof i||ki(i)&&Ur(i)==ci}function Il(i){if(!ki(i)||Ur(i)!=ti)return!1;var s=ni(i);if(null===s)return!0;var c=S.call(s,"constructor")&&s.constructor;return"function"==typeof c&&c instanceof c&&_.call(c)==qe}var pc=$s?ar($s):function Kh(i){return ki(i)&&Ur(i)==Xn},gc=zs?ar(zs):function Gl(i){return ki(i)&&Fr(i)==de};function ju(i){return"string"==typeof i||!Ln(i)&&ki(i)&&Ur(i)==Ae}function jr(i){return"symbol"==typeof i||ki(i)&&Ur(i)==Oe}var qa=so?ar(so):function Ad(i){return ki(i)&&hc(i.length)&&!!ai[Ur(i)]},Zf=ic(Kl),mc=ic((function(i,s){return i<=s}));function To(i){if(!i)return[];if(fr(i))return ju(i)?et(i):to(i);if(Mr&&i[Mr])return function N(ge){for(var Qe,ze=[];!(Qe=ge.next()).done;)ze.push(Qe.value);return ze}(i[Mr]());var s=Fr(i);return(s==mi?f:s==de?A:Ya)(i)}function cs(i){return i?(i=hr(i))===ae||i===-ae?17976931348623157e292*(i<0?-1:1):i==i?i:0:0===i?i:0}function qn(i){var s=cs(i),c=s%1;return s==s?c?s-c:s:0}function _c(i){return i?es(qn(i),0,mn):0}function hr(i){if("number"==typeof i)return i;if(jr(i))return NaN;if(Li(i)){var s="function"==typeof i.valueOf?i.valueOf():i;i=Li(s)?s+"":s}if("string"!=typeof i)return 0===i?i:+i;i=ko(i);var c=nt.test(i);return c||We.test(i)?wo(i.slice(2),c?2:8):Ht.test(i)?NaN:+i}function vc(i){return is(i,_o(i))}function _i(i){return null==i?"":mo(i)}var y_=gl((function(i,s){if(Ha(s)||fr(s))is(s,xr(s),i);else for(var c in s)S.call(s,c)&&qs(i,c,s[c])})),$u=gl((function(i,s){is(s,_o(s),i)})),zu=gl((function(i,s,c,E){is(s,_o(s),i,E)})),yc=gl((function(i,s,c,E){is(s,xr(s),i,E)})),Cc=os(ll),Wu=Yn((function(i,s){i=Hn(i);var c=-1,E=s.length,I=E>2?s[2]:v;for(I&&Pr(s[0],s[1],I)&&(E=1);++c<E;)for(var G=s[c],ue=_o(G),Me=-1,Re=ue.length;++Me<Re;){var ut=ue[Me],ct=i[ut];(ct===v||So(ct,cr[ut])&&!S.call(i,ut))&&(i[ut]=G[ut])}return i})),Ku=Yn((function(i){return i.push(v,ip),wi(wg,v,i)}));function Jf(i,s,c){var E=null==i?v:Ys(i,s);return E===v?c:E}function wc(i,s){return null!=i&&bl(i,s,zl)}var Cg=Qd((function(i,s,c){null!=s&&"function"!=typeof s.toString&&(s=re.call(s)),i[s]=c}),od(zi)),qu=Qd((function(i,s,c){null!=s&&"function"!=typeof s.toString&&(s=re.call(s)),S.call(i,s)?i[s].push(c):i[s]=[c]}),yn),b_=Yn(ns);function xr(i){return fr(i)?gi(i):Wl(i)}function _o(i){return fr(i)?gi(i,!0):function e_(i){if(!Li(i))return function cp(i){var s=[];if(null!=i)for(var c in Hn(i))s.push(c);return s}(i);var s=Ha(i),c=[];for(var E in i)"constructor"==E&&(s||!S.call(i,E))||c.push(E);return c}(i)}var D_=gl((function(i,s,c){Ra(i,s,c)})),wg=gl((function(i,s,c,E){Ra(i,s,c,E)})),S_=os((function(i,s){var c={};if(null==i)return c;var E=!1;s=he(s,(function(G){return G=Js(G,i),E||(E=G.length>1),G})),is(i,sc(i),c),E&&(c=Mo(c,7,oc));for(var I=s.length;I--;)Tr(c,s[I]);return c})),P_=os((function(i,s){return null==i?{}:function n_(i,s){return Yh(i,s,(function(c,E){return wc(i,E)}))}(i,s)}));function Is(i,s){if(null==i)return{};var c=he(sc(i),(function(E){return[E]}));return s=yn(s),Yh(i,c,(function(E,I){return s(E,I[0])}))}var bc=du(xr),Yu=du(_o);function Ya(i){return null==i?[]:uo(i,xr(i))}var Ec=ea((function(i,s,c){return s=s.toLowerCase(),i+(c?ba(s):s)}));function ba(i){return id(_i(i).toLowerCase())}function Mc(i){return(i=_i(i))&&i.replace(Et,ys).replace(Lr,"")}var ih=ea((function(i,s,c){return i+(c?"-":"")+s.toLowerCase()})),rh=ea((function(i,s,c){return i+(c?" ":"")+s.toLowerCase()})),Xu=qd("toLowerCase"),sh=ea((function(i,s,c){return i+(c?"_":"")+s.toLowerCase()})),ah=ea((function(i,s,c){return i+(c?" ":"")+id(s)})),Ng=ea((function(i,s,c){return i+(c?" ":"")+s.toUpperCase()})),id=qd("toUpperCase");function dh(i,s,c){return i=_i(i),(s=c?v:s)===v?function Fo(ge){return Oo.test(ge)}(i)?function un(ge){return ge.match(Da)||[]}(i):function lo(ge){return ge.match(U)||[]}(i):i.match(s)||[]}var rd=Yn((function(i,s){try{return wi(i,v,s)}catch(c){return fc(c)?c:new gn(c)}})),Rg=os((function(i,s){return Ji(s,(function(c){c=as(c),ho(i,c,uc(i[c],i))})),i}));function od(i){return function(){return i}}var ph=Yd(),Fg=Yd(!0);function zi(i){return i}function Al(i){return Nd("function"==typeof i?i:Mo(i,1))}var I_=Yn((function(i,s){return function(c){return ns(c,i,s)}})),gh=Yn((function(i,s){return function(c){return ns(i,c,s)}}));function sd(i,s,c){var E=xr(s),I=Zs(s,E);null==c&&(!Li(s)||!I.length&&E.length)&&(c=s,s=i,i=this,I=Zs(s,xr(s)));var G=!(Li(c)&&"chain"in c&&!c.chain),ue=Os(i);return Ji(I,(function(Me){var Re=s[Me];i[Me]=Re,ue&&(i.prototype[Me]=function(){var ut=this.__chain__;if(G||ut){var ct=i(this.__wrapped__),pt=ct.__actions__=to(this.__actions__);return pt.push({func:Re,args:arguments,thisArg:i}),ct.__chain__=ut,ct}return Re.apply(i,Je([this.value()],arguments))})})),i}function ad(){}var Hg=vl(he),Ug=vl(Ri),Sc=vl($i);function Tc(i){return pu(i)?qo(as(i)):function i_(i){return function(s){return Ys(s,i)}}(i)}var A_=Jd(),cd=Jd(!0);function mh(){return[]}function xc(){return!1}var Ic=_l((function(i,s){return i+s}),0),Nl=rc("ceil"),jg=_l((function(i,s){return i/s}),1),dd=rc("floor"),Wg=_l((function(i,s){return i*s}),1),R_=rc("round"),Kg=_l((function(i,s){return i-s}),0);return B.after=function h_(i,s){if("function"!=typeof s)throw new lr(fe);return i=qn(i),function(){if(--i<1)return s.apply(this,arguments)}},B.ary=Fu,B.assign=y_,B.assignIn=$u,B.assignInWith=zu,B.assignWith=yc,B.at=Cc,B.before=qp,B.bind=uc,B.bindAll=Rg,B.bindKey=Zp,B.castArray=function Uf(){if(!arguments.length)return[];var i=arguments[0];return Ln(i)?i:[i]},B.chain=Af,B.chunk=function Ps(i,s,c){s=(c?Pr(i,s,c):s===v)?1:tr(qn(s),0);var E=null==i?0:i.length;if(!E||s<1)return[];for(var I=0,G=0,ue=ze(Dr(E/s));I<E;)ue[G++]=go(i,I,I+=s);return ue},B.compact=function Sl(i){for(var s=-1,c=null==i?0:i.length,E=0,I=[];++s<c;){var G=i[s];G&&(I[E++]=G)}return I},B.concat=function pf(){var i=arguments.length;if(!i)return[];for(var s=ze(i-1),c=arguments[0],E=i;E--;)s[E-1]=arguments[E];return Je(Ln(c)?to(c):[c],rr(s,1))},B.cond=function fh(i){var s=null==i?0:i.length,c=yn();return i=s?he(i,(function(E){if("function"!=typeof E[1])throw new lr(fe);return[c(E[0]),E[1]]})):[],Yn((function(E){for(var I=-1;++I<s;){var G=i[I];if(wi(G[0],this,E))return wi(G[1],this,E)}}))},B.conforms=function kg(i){return function $h(i){var s=xr(i);return function(c){return Sd(c,i,s)}}(Mo(i,1))},B.constant=od,B.countBy=Ga,B.create=function Gu(i,s){var c=Jr(i);return null==s?c:al(c,s)},B.curry=function Lu(i,s,c){var E=rs(i,8,v,v,v,v,v,s=c?v:s);return E.placeholder=Lu.placeholder,E},B.curryRight=function Lf(i,s,c){var E=rs(i,16,v,v,v,v,v,s=c?v:s);return E.placeholder=Lf.placeholder,E},B.debounce=Bu,B.defaults=Wu,B.defaultsDeep=Ku,B.defer=Yp,B.delay=Qp,B.difference=gf,B.differenceBy=mf,B.differenceWith=o_,B.drop=function s_(i,s,c){var E=null==i?0:i.length;return E?go(i,(s=c||s===v?1:qn(s))<0?0:s,E):[]},B.dropRight=function a_(i,s,c){var E=null==i?0:i.length;return E?go(i,0,(s=E-(s=c||s===v?1:qn(s)))<0?0:s):[]},B.dropRightWhile=function yu(i,s){return i&&i.length?hl(i,yn(s,3),!0,!0):[]},B.dropWhile=function Cu(i,s){return i&&i.length?hl(i,yn(s,3),!0):[]},B.fill=function l_(i,s,c,E){var I=null==i?0:i.length;return I?(c&&"number"!=typeof c&&Pr(i,s,c)&&(c=0,E=I),function Pd(i,s,c,E){var I=i.length;for((c=qn(c))<0&&(c=-c>I?0:I+c),(E=E===v||E>I?I:qn(E))<0&&(E+=I),E=c>E?0:_c(E);c<E;)i[c++]=s;return i}(i,s,c,E)):[]},B.filter=function Rp(i,s){return(Ln(i)?j:jl)(i,yn(s,3))},B.flatMap=function kp(i,s){return rr(ra(i,s),1)},B.flatMapDeep=function Fp(i,s){return rr(ra(i,s),ae)},B.flatMapDepth=function Lp(i,s,c){return c=c===v?1:qn(c),rr(ra(i,s),c)},B.flatten=_f,B.flattenDeep=function hp(i){return null!=i&&i.length?rr(i,ae):[]},B.flattenDepth=function pp(i,s){return null!=i&&i.length?rr(i,s=s===v?1:qn(s)):[]},B.flip=function jo(i){return rs(i,512)},B.flow=ph,B.flowRight=Fg,B.fromPairs=function gp(i){for(var s=-1,c=null==i?0:i.length,E={};++s<c;){var I=i[s];E[I[0]]=I[1]}return E},B.functions=function w_(i){return null==i?[]:Zs(i,xr(i))},B.functionsIn=function yg(i){return null==i?[]:Zs(i,_o(i))},B.groupBy=Au,B.initial=function vf(i){return null!=i&&i.length?go(i,0,-1):[]},B.intersection=Eu,B.intersectionBy=mp,B.intersectionWith=or,B.invert=Cg,B.invertBy=qu,B.invokeMap=Bp,B.iteratee=Al,B.keyBy=Ru,B.keys=xr,B.keysIn=_o,B.map=ra,B.mapKeys=function E_(i,s){var c={};return s=yn(s,3),ts(i,(function(E,I,G){ho(c,s(E,I,G),E)})),c},B.mapValues=function M_(i,s){var c={};return s=yn(s,3),ts(i,(function(E,I,G){ho(c,I,s(E,I,G))})),c},B.matches=function Lg(i){return Rd(Mo(i,1))},B.matchesProperty=function Bg(i,s){return kd(i,Mo(s,1))},B.memoize=dc,B.merge=D_,B.mergeWith=wg,B.method=I_,B.methodOf=gh,B.mixin=sd,B.negate=Ol,B.nthArg=function ld(i){return i=qn(i),Yn((function(s){return Zh(s,i)}))},B.omit=S_,B.omitBy=function T_(i,s){return Is(i,Ol(yn(s)))},B.once=function Jp(i){return qp(2,i)},B.orderBy=function Vp(i,s,c,E){return null==i?[]:(Ln(s)||(s=null==s?[]:[s]),Ln(c=E?v:c)||(c=null==c?[]:[c]),ql(i,s,c))},B.over=Hg,B.overArgs=Xp,B.overEvery=Ug,B.overSome=Sc,B.partial=Vu,B.partialRight=Bf,B.partition=Hp,B.pick=P_,B.pickBy=Is,B.property=Tc,B.propertyOf=function Pc(i){return function(s){return null==i?v:Ys(i,s)}},B.pull=_p,B.pullAll=wf,B.pullAllBy=function vp(i,s,c){return i&&i.length&&s&&s.length?Fd(i,s,yn(c,2)):i},B.pullAllWith=function yp(i,s,c){return i&&i.length&&s&&s.length?Fd(i,s,v,c):i},B.pullAt=Cp,B.range=A_,B.rangeRight=cd,B.rearg=Vf,B.reject=function $p(i,s){return(Ln(i)?j:jl)(i,Ol(yn(s,3)))},B.remove=function c_(i,s){var c=[];if(!i||!i.length)return c;var E=-1,I=[],G=i.length;for(s=yn(s,3);++E<G;){var ue=i[E];s(ue,E,i)&&(c.push(ue),I.push(E))}return Qh(i,I),c},B.rest=function eg(i,s){if("function"!=typeof i)throw new lr(fe);return Yn(i,s=s===v?s:qn(s))},B.reverse=bf,B.sampleSize=function Gp(i,s,c){return s=(c?Pr(i,s,c):s===v)?1:qn(s),(Ln(i)?Ho:Vd)(i,s)},B.set=function bg(i,s,c){return null==i?i:eo(i,s,c)},B.setWith=function eh(i,s,c,E){return E="function"==typeof E?E:v,null==i?i:eo(i,s,c,E)},B.shuffle=function Wa(i){return(Ln(i)?Ds:Xh)(i)},B.slice=function Tl(i,s,c){var E=null==i?0:i.length;return E?(c&&"number"!=typeof c&&Pr(i,s,c)?(s=0,c=E):(s=null==s?0:qn(s),c=c===v?E:qn(c)),go(i,s,c)):[]},B.sortBy=Kp,B.sortedUniq=function Tf(i){return i&&i.length?Ud(i):[]},B.sortedUniqBy=function Su(i,s){return i&&i.length?Ud(i,yn(s,2)):[]},B.split=function xg(i,s,c){return c&&"number"!=typeof c&&Pr(i,s,c)&&(s=c=v),(c=c===v?mn:c>>>0)?(i=_i(i))&&("string"==typeof s||null!=s&&!pc(s))&&!(s=mo(s))&&qr(i)?Xs(et(i),0,c):i.split(s,c):[]},B.spread=function tg(i,s){if("function"!=typeof i)throw new lr(fe);return s=null==s?0:tr(qn(s),0),Yn((function(c){var E=c[s],I=Xs(c,0,s);return E&&Je(I,E),wi(i,this,I)}))},B.tail=function u_(i){var s=null==i?0:i.length;return s?go(i,1,s):[]},B.take=function bp(i,s,c){return i&&i.length?go(i,0,(s=c||s===v?1:qn(s))<0?0:s):[]},B.takeRight=function Tu(i,s,c){var E=null==i?0:i.length;return E?go(i,(s=E-(s=c||s===v?1:qn(s)))<0?0:s,E):[]},B.takeRightWhile=function Pf(i,s){return i&&i.length?hl(i,yn(s,3),!1,!0):[]},B.takeWhile=function xf(i,s){return i&&i.length?hl(i,yn(s,3)):[]},B.tap=function xp(i,s){return s(i),i},B.throttle=function ng(i,s,c){var E=!0,I=!0;if("function"!=typeof i)throw new lr(fe);return Li(c)&&(E="leading"in c?!!c.leading:E,I="trailing"in c?!!c.trailing:I),Bu(i,s,{leading:E,maxWait:s,trailing:I})},B.thru=za,B.toArray=To,B.toPairs=bc,B.toPairsIn=Yu,B.toPath=function As(i){return Ln(i)?he(i,as):jr(i)?[i]:to(hf(_i(i)))},B.toPlainObject=vc,B.transform=function Qu(i,s,c){var E=Ln(i),I=E||ls(i)||qa(i);if(s=yn(s,4),null==c){var G=i&&i.constructor;c=I?E?new G:[]:Li(i)&&Os(G)?Jr(ni(i)):{}}return(I?Ji:ts)(i,(function(ue,Me,Re){return s(c,ue,Me,Re)})),c},B.unary=function Fn(i){return Fu(i,1)},B.union=Ca,B.unionBy=Ep,B.unionWith=Pu,B.uniq=function cc(i){return i&&i.length?Qs(i):[]},B.uniqBy=function Mp(i,s){return i&&i.length?Qs(i,yn(s,2)):[]},B.uniqWith=function xu(i,s){return s="function"==typeof s?s:v,i&&i.length?Qs(i,v,s):[]},B.unset=function Eg(i,s){return null==i||Tr(i,s)},B.unzip=ja,B.unzipWith=ia,B.update=function oa(i,s,c){return null==i?i:Yl(i,s,ru(c))},B.updateWith=function th(i,s,c,E){return E="function"==typeof E?E:v,null==i?i:Yl(i,s,ru(c),E)},B.values=Ya,B.valuesIn=function Mg(i){return null==i?[]:uo(i,_o(i))},B.without=Of,B.words=dh,B.wrap=function Hf(i,s){return Vu(ru(s),i)},B.xor=Ou,B.xorBy=Dp,B.xorWith=Sp,B.zip=If,B.zipObject=function $a(i,s){return ka(i||[],s||[],qs)},B.zipObjectDeep=function Tp(i,s){return ka(i||[],s||[],eo)},B.zipWith=Pp,B.entries=bc,B.entriesIn=Yu,B.extend=$u,B.extendWith=zu,sd(B,B),B.add=Ic,B.attempt=rd,B.camelCase=Ec,B.capitalize=ba,B.ceil=Nl,B.clamp=function nh(i,s,c){return c===v&&(c=s,s=v),c!==v&&(c=(c=hr(c))==c?c:0),s!==v&&(s=(s=hr(s))==s?s:0),es(hr(i),s,c)},B.clone=function jf(i){return Mo(i,4)},B.cloneDeep=function rg(i){return Mo(i,5)},B.cloneDeepWith=function $f(i,s){return Mo(i,5,s="function"==typeof s?s:v)},B.cloneWith=function ig(i,s){return Mo(i,4,s="function"==typeof s?s:v)},B.conformsTo=function og(i,s){return null==s||Sd(i,s,xr(s))},B.deburr=Mc,B.defaultTo=function hh(i,s){return null==i||i!=i?s:i},B.divide=jg,B.endsWith=function Qa(i,s,c){i=_i(i),s=mo(s);var E=i.length,I=c=c===v?E:es(qn(c),0,E);return(c-=s.length)>=0&&i.slice(c,I)==s},B.eq=So,B.escape=function Ju(i){return(i=_i(i))&&cn.test(i)?i.replace(Xt,Kr):i},B.escapeRegExp=function Dc(i){return(i=_i(i))&&$n.test(i)?i.replace(ui,"\\$&"):i},B.every=function xl(i,s,c){var E=Ln(i)?Ri:dr;return c&&Pr(i,s,c)&&(s=v),E(i,yn(s,3))},B.find=f_,B.findIndex=fp,B.findKey=function C_(i,s){return Wr(i,yn(s,3),ts)},B.findLast=kf,B.findLastIndex=wu,B.findLastKey=function gg(i,s){return Wr(i,yn(s,3),ul)},B.floor=dd,B.forEach=Iu,B.forEachRight=Ff,B.forIn=function mg(i,s){return null==i?i:Qc(i,yn(s,3),_o)},B.forInRight=function _g(i,s){return null==i?i:xd(i,yn(s,3),_o)},B.forOwn=function vg(i,s){return i&&ts(i,yn(s,3))},B.forOwnRight=function Qf(i,s){return i&&ul(i,yn(s,3))},B.get=Jf,B.gt=sg,B.gte=ag,B.has=function Xf(i,s){return null!=i&&bl(i,s,dl)},B.hasIn=wc,B.head=bu,B.identity=zi,B.includes=function Nu(i,s,c,E){i=fr(i)?i:Ya(i),c=c&&!E?qn(c):0;var I=i.length;return c<0&&(c=tr(I+c,0)),ju(i)?c<=I&&i.indexOf(s,c)>-1:!!I&&co(i,s,c)>-1},B.indexOf=function lc(i,s,c){var E=null==i?0:i.length;if(!E)return-1;var I=null==c?0:qn(c);return I<0&&(I=tr(E+I,0)),co(i,s,I)},B.inRange=function Dg(i,s,c){return s=cs(s),c===v?(c=s,s=0):c=cs(c),function Od(i,s,c){return i>=vr(s,c)&&i<tr(s,c)}(i=hr(i),s,c)},B.invoke=b_,B.isArguments=Ka,B.isArray=Ln,B.isArrayBuffer=zf,B.isArrayLike=fr,B.isArrayLikeObject=sr,B.isBoolean=function Hu(i){return!0===i||!1===i||ki(i)&&Ur(i)==Oi},B.isBuffer=ls,B.isDate=lg,B.isElement=function p_(i){return ki(i)&&1===i.nodeType&&!Il(i)},B.isEmpty=function g_(i){if(null==i)return!0;if(fr(i)&&(Ln(i)||"string"==typeof i||"function"==typeof i.splice||ls(i)||qa(i)||Ka(i)))return!i.length;var s=Fr(i);if(s==mi||s==de)return!i.size;if(Ha(i))return!Wl(i).length;for(var c in i)if(S.call(i,c))return!1;return!0},B.isEqual=function m_(i,s){return Na(i,s)},B.isEqualWith=function cg(i,s,c){var E=(c="function"==typeof c?c:v)?c(i,s):v;return E===v?Na(i,s,v,c):!!E},B.isError=fc,B.isFinite=function __(i){return"number"==typeof i&&Pa(i)},B.isFunction=Os,B.isInteger=wa,B.isLength=hc,B.isMap=Gf,B.isMatch=function Wf(i,s){return i===s||Xc(i,s,wl(s))},B.isMatchWith=function ug(i,s,c){return c="function"==typeof c?c:v,Xc(i,s,wl(s),c)},B.isNaN=function dg(i){return Uu(i)&&i!=+i},B.isNative=function fg(i){if(lf(i))throw new gn("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Id(i)},B.isNil=function pg(i){return null==i},B.isNull=function hg(i){return null===i},B.isNumber=Uu,B.isObject=Li,B.isObjectLike=ki,B.isPlainObject=Il,B.isRegExp=pc,B.isSafeInteger=function Kf(i){return wa(i)&&i>=-je&&i<=je},B.isSet=gc,B.isString=ju,B.isSymbol=jr,B.isTypedArray=qa,B.isUndefined=function v_(i){return i===v},B.isWeakMap=function Za(i){return ki(i)&&Fr(i)==ce},B.isWeakSet=function qf(i){return ki(i)&&"[object WeakSet]"==Ur(i)},B.join=function yf(i,s){return null==i?"":xa.call(i,s)},B.kebabCase=ih,B.last=Do,B.lastIndexOf=function Mu(i,s,c){var E=null==i?0:i.length;if(!E)return-1;var I=E;return c!==v&&(I=(I=qn(c))<0?tr(E+I,0):vr(I,E-1)),s==s?function ve(ge,Qe,ze){for(var St=ze+1;St--;)if(ge[St]===Qe)return St;return St}(i,s,I):No(i,lt,I,!0)},B.lowerCase=rh,B.lowerFirst=Xu,B.lt=Zf,B.lte=mc,B.max=function Ch(i){return i&&i.length?cl(i,zi,$l):v},B.maxBy=function $g(i,s){return i&&i.length?cl(i,yn(s,2),$l):v},B.mean=function zg(i){return Kn(i,zi)},B.meanBy=function Rl(i,s){return Kn(i,yn(s,2))},B.min=function Gg(i){return i&&i.length?cl(i,zi,Kl):v},B.minBy=function N_(i,s){return i&&i.length?cl(i,yn(s,2),Kl):v},B.stubArray=mh,B.stubFalse=xc,B.stubObject=function _h(){return{}},B.stubString=function vh(){return""},B.stubTrue=function yh(){return!0},B.multiply=Wg,B.nth=function Cf(i,s){return i&&i.length?Zh(i,qn(s)):v},B.noConflict=function Vg(){return Ai._===this&&(Ai._=it),this},B.noop=ad,B.now=ku,B.pad=function ed(i,s,c){i=_i(i);var E=(s=qn(s))?Ve(i):0;if(!s||E>=s)return i;var I=(s-E)/2;return yl(Ta(I),c)+i+yl(Dr(I),c)},B.padEnd=function oh(i,s,c){i=_i(i);var E=(s=qn(s))?Ve(i):0;return s&&E<s?i+yl(s-E,c):i},B.padStart=function td(i,s,c){i=_i(i);var E=(s=qn(s))?Ve(i):0;return s&&E<s?yl(s-E,c)+i:i},B.parseInt=function Tg(i,s,c){return c||null==s?s=0:s&&(s=+s),nr(_i(i).replace(kn,""),s||0)},B.random=function Sg(i,s,c){if(c&&"boolean"!=typeof c&&Pr(i,s,c)&&(s=c=v),c===v&&("boolean"==typeof s?(c=s,s=v):"boolean"==typeof i&&(c=i,i=v)),i===v&&s===v?(i=0,s=1):(i=cs(i),s===v?(s=i,i=0):s=cs(s)),i>s){var E=i;i=s,s=E}if(c||i%1||s%1){var I=tl();return vr(i+I*(s-i+Wo("1e-"+((I+"").length-1))),s)}return eu(i,s)},B.reduce=function Up(i,s,c){var E=Ln(i)?pn:Ni,I=arguments.length<3;return E(i,yn(s,4),c,I,po)},B.reduceRight=function jp(i,s,c){var E=Ln(i)?Zt:Ni,I=arguments.length<3;return E(i,yn(s,4),c,I,Td)},B.repeat=function x_(i,s,c){return s=(c?Pr(i,s,c):s===v)?1:qn(s),fl(_i(i),s)},B.replace=function Pg(){var i=arguments,s=_i(i[0]);return i.length<3?s:s.replace(i[1],i[2])},B.result=function Zu(i,s,c){var E=-1,I=(s=Js(s,i)).length;for(I||(I=1,i=v);++E<I;){var G=null==i?v:i[as(s[E])];G===v&&(E=I,G=c),i=Os(G)?G.call(i):G}return i},B.round=R_,B.runInContext=ge,B.sample=function zp(i){return(Ln(i)?Sr:Bd)(i)},B.size=function xs(i){if(null==i)return 0;if(fr(i))return ju(i)?Ve(i):i.length;var s=Fr(i);return s==mi||s==de?i.size:Wl(i).length},B.snakeCase=sh,B.some=function Wp(i,s,c){var E=Ln(i)?$i:tu;return c&&Pr(i,s,c)&&(s=v),E(i,yn(s,3))},B.sortedIndex=function Du(i,s){return Zl(i,s)},B.sortedIndexBy=function Ef(i,s,c){return nu(i,s,yn(c,2))},B.sortedIndexOf=function Mf(i,s){var c=null==i?0:i.length;if(c){var E=Zl(i,s);if(E<c&&So(i[E],s))return E}return-1},B.sortedLastIndex=function Df(i,s){return Zl(i,s,!0)},B.sortedLastIndexBy=function wp(i,s,c){return nu(i,s,yn(c,2),!0)},B.sortedLastIndexOf=function Sf(i,s){if(null!=i&&i.length){var E=Zl(i,s,!0)-1;if(So(i[E],s))return E}return-1},B.startCase=ah,B.startsWith=function lh(i,s,c){return i=_i(i),c=null==c?0:es(qn(c),0,i.length),s=mo(s),i.slice(c,c+s.length)==s},B.subtract=Kg,B.sum=function qg(i){return i&&i.length?di(i,zi):0},B.sumBy=function Zg(i,s){return i&&i.length?di(i,yn(s,2)):0},B.template=function Og(i,s,c){var E=B.templateSettings;c&&Pr(i,s,c)&&(s=v),i=_i(i),s=zu({},s,E,Xd);var Me,Re,I=zu({},s.imports,E.imports,Xd),G=xr(I),ue=uo(I,G),ut=0,ct=s.interpolate||qt,pt="__p += '",$t=_r((s.escape||qt).source+"|"+ct.source+"|"+(ct===kt?Ie:qt).source+"|"+(s.evaluate||qt).source+"|$","g"),nn="//# sourceURL="+(S.call(s,"sourceURL")?(s.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Us+"]")+"\n";i.replace($t,(function(Cn,ii,Bn,Or,bi,yr){return Bn||(Bn=Or),pt+=i.slice(ut,yr).replace(Vt,Vr),ii&&(Me=!0,pt+="' +\n__e("+ii+") +\n'"),bi&&(Re=!0,pt+="';\n"+bi+";\n__p += '"),Bn&&(pt+="' +\n((__t = ("+Bn+")) == null ? '' : __t) +\n'"),ut=yr+Cn.length,Cn})),pt+="';\n";var bn=S.call(s,"variable")&&s.variable;if(bn){if(R.test(bn))throw new gn("Invalid `variable` option passed into `_.template`")}else pt="with (obj) {\n"+pt+"\n}\n";pt=(Re?pt.replace(Pt,""):pt).replace(xt,"$1").replace(Dt,"$1;"),pt="function("+(bn||"obj")+") {\n"+(bn?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(Me?", __e = _.escape":"")+(Re?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+pt+"return __p\n}";var Qn=rd((function(){return Tn(G,nn+"return "+pt).apply(v,ue)}));if(Qn.source=pt,fc(Qn))throw Qn;return Qn},B.times=function ud(i,s){if((i=qn(i))<1||i>je)return[];var c=mn,E=vr(i,mn);s=yn(s),i-=mn;for(var I=Rr(E,s);++c<i;)s(c);return I},B.toFinite=cs,B.toInteger=qn,B.toLength=_c,B.toLower=function vo(i){return _i(i).toLowerCase()},B.toNumber=hr,B.toSafeInteger=function Yf(i){return i?es(qn(i),-je,je):0===i?i:0},B.toString=_i,B.toUpper=function ch(i){return _i(i).toUpperCase()},B.trim=function Ig(i,s,c){if((i=_i(i))&&(c||s===v))return ko(i);if(!i||!(s=mo(s)))return i;var E=et(i),I=et(s);return Xs(E,vs(E,I),Xi(E,I)+1).join("")},B.trimEnd=function O_(i,s,c){if((i=_i(i))&&(c||s===v))return i.slice(0,Rt(i)+1);if(!i||!(s=mo(s)))return i;var E=et(i);return Xs(E,0,Xi(E,et(s))+1).join("")},B.trimStart=function Ag(i,s,c){if((i=_i(i))&&(c||s===v))return i.replace(kn,"");if(!i||!(s=mo(s)))return i;var E=et(i);return Xs(E,vs(E,et(s))).join("")},B.truncate=function nd(i,s){var c=30,E="...";if(Li(s)){var I="separator"in s?s.separator:I;c="length"in s?qn(s.length):c,E="omission"in s?mo(s.omission):E}var G=(i=_i(i)).length;if(qr(i)){var ue=et(i);G=ue.length}if(c>=G)return i;var Me=c-Ve(E);if(Me<1)return E;var Re=ue?Xs(ue,0,Me).join(""):i.slice(0,Me);if(I===v)return Re+E;if(ue&&(Me+=Re.length-Me),pc(I)){if(i.slice(Me).search(I)){var ut,ct=Re;for(I.global||(I=_r(I.source,_i(rt.exec(I))+"g")),I.lastIndex=0;ut=I.exec(ct);)var pt=ut.index;Re=Re.slice(0,pt===v?Me:pt)}}else if(i.indexOf(mo(I),Me)!=Me){var $t=Re.lastIndexOf(I);$t>-1&&(Re=Re.slice(0,$t))}return Re+E},B.unescape=function uh(i){return(i=_i(i))&&wn.test(i)?i.replace(Gn,jt):i},B.uniqueId=function Oc(i){var s=++y;return _i(i)+s},B.upperCase=Ng,B.upperFirst=id,B.each=Iu,B.eachRight=Ff,B.first=bu,sd(B,function(){var i={};return ts(B,(function(s,c){S.call(B.prototype,c)||(i[c]=s)})),i}(),{chain:!1}),B.VERSION="4.17.21",Ji(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(i){B[i].placeholder=B})),Ji(["drop","take"],(function(i,s){tn.prototype[i]=function(c){c=c===v?1:tr(qn(c),0);var E=this.__filtered__&&!s?new tn(this):this.clone();return E.__filtered__?E.__takeCount__=vr(c,E.__takeCount__):E.__views__.push({size:vr(c,mn),type:i+(E.__dir__<0?"Right":"")}),E},tn.prototype[i+"Right"]=function(c){return this.reverse()[i](c).reverse()}})),Ji(["filter","map","takeWhile"],(function(i,s){var c=s+1,E=1==c||3==c;tn.prototype[i]=function(I){var G=this.clone();return G.__iteratees__.push({iteratee:yn(I,3),type:c}),G.__filtered__=G.__filtered__||E,G}})),Ji(["head","last"],(function(i,s){var c="take"+(s?"Right":"");tn.prototype[i]=function(){return this[c](1).value()[0]}})),Ji(["initial","tail"],(function(i,s){var c="drop"+(s?"":"Right");tn.prototype[i]=function(){return this.__filtered__?new tn(this):this[c](1)}})),tn.prototype.compact=function(){return this.filter(zi)},tn.prototype.find=function(i){return this.filter(i).head()},tn.prototype.findLast=function(i){return this.reverse().find(i)},tn.prototype.invokeMap=Yn((function(i,s){return"function"==typeof i?new tn(this):this.map((function(c){return ns(c,i,s)}))})),tn.prototype.reject=function(i){return this.filter(Ol(yn(i)))},tn.prototype.slice=function(i,s){i=qn(i);var c=this;return c.__filtered__&&(i>0||s<0)?new tn(c):(i<0?c=c.takeRight(-i):i&&(c=c.drop(i)),s!==v&&(c=(s=qn(s))<0?c.dropRight(-s):c.take(s-i)),c)},tn.prototype.takeRightWhile=function(i){return this.reverse().takeWhile(i).reverse()},tn.prototype.toArray=function(){return this.take(mn)},ts(tn.prototype,(function(i,s){var c=/^(?:filter|find|map|reject)|While$/.test(s),E=/^(?:head|last)$/.test(s),I=B[E?"take"+("last"==s?"Right":""):s],G=E||/^find/.test(s);!I||(B.prototype[s]=function(){var ue=this.__wrapped__,Me=E?[1]:arguments,Re=ue instanceof tn,ut=Me[0],ct=Re||Ln(ue),pt=function(ii){var Bn=I.apply(B,Je([ii],Me));return E&&$t?Bn[0]:Bn};ct&&c&&"function"==typeof ut&&1!=ut.length&&(Re=ct=!1);var $t=this.__chain__,nn=!!this.__actions__.length,bn=G&&!$t,Qn=Re&&!nn;if(!G&&ct){ue=Qn?ue:new tn(this);var Cn=i.apply(ue,Me);return Cn.__actions__.push({func:za,args:[pt],thisArg:v}),new Xr(Cn,$t)}return bn&&Qn?i.apply(this,Me):(Cn=this.thru(pt),bn?E?Cn.value()[0]:Cn.value():Cn)})})),Ji(["pop","push","shift","sort","splice","unshift"],(function(i){var s=Zr[i],c=/^(?:push|sort|unshift)$/.test(i)?"tap":"thru",E=/^(?:pop|shift)$/.test(i);B.prototype[i]=function(){var I=arguments;if(E&&!this.__chain__){var G=this.value();return s.apply(Ln(G)?G:[],I)}return this[c]((function(ue){return s.apply(Ln(ue)?ue:[],I)}))}})),ts(tn.prototype,(function(i,s){var c=B[s];if(c){var E=c.name+"";S.call(Es,E)||(Es[E]=[]),Es[E].push({name:s,func:c})}})),Es[nc(v,2).name]=[{name:"wrapper",func:v}],tn.prototype.clone=function bd(){var i=new tn(this.__wrapped__);return i.__actions__=to(this.__actions__),i.__dir__=this.__dir__,i.__filtered__=this.__filtered__,i.__iteratees__=to(this.__iteratees__),i.__takeCount__=this.__takeCount__,i.__views__=to(this.__views__),i},tn.prototype.reverse=function Wc(){if(this.__filtered__){var i=new tn(this);i.__dir__=-1,i.__filtered__=!0}else(i=this.clone()).__dir__*=-1;return i},tn.prototype.value=function Ed(){var i=this.__wrapped__.value(),s=this.__dir__,c=Ln(i),E=s<0,I=c?i.length:0,G=function sf(i,s,c){for(var E=-1,I=c.length;++E<I;){var G=c[E],ue=G.size;switch(G.type){case"drop":i+=ue;break;case"dropRight":s-=ue;break;case"take":s=vr(s,i+ue);break;case"takeRight":i=tr(i,s-ue)}}return{start:i,end:s}}(0,I,this.__views__),ue=G.start,Me=G.end,Re=Me-ue,ut=E?Me:ue-1,ct=this.__iteratees__,pt=ct.length,$t=0,nn=vr(Re,this.__takeCount__);if(!c||!E&&I==Re&&nn==Re)return Ql(i,this.__actions__);var bn=[];e:for(;Re--&&$t<nn;){for(var Qn=-1,Cn=i[ut+=s];++Qn<pt;){var ii=ct[Qn],Or=ii.type,bi=(0,ii.iteratee)(Cn);if(2==Or)Cn=bi;else if(!bi){if(1==Or)continue e;break e}}bn[$t++]=Cn}return bn},B.prototype.at=Op,B.prototype.chain=function Nf(){return Af(this)},B.prototype.commit=function Ip(){return new Xr(this.value(),this.__chain__)},B.prototype.next=function Rf(){this.__values__===v&&(this.__values__=To(this.value()));var i=this.__index__>=this.__values__.length;return{done:i,value:i?v:this.__values__[this.__index__++]}},B.prototype.plant=function Ap(i){for(var s,c=this;c instanceof da;){var E=Dl(c);E.__index__=0,E.__values__=v,s?I.__wrapped__=E:s=E;var I=E;c=c.__wrapped__}return I.__wrapped__=i,s},B.prototype.reverse=function Pl(){var i=this.__wrapped__;if(i instanceof tn){var s=i;return this.__actions__.length&&(s=new tn(this)),(s=s.reverse()).__actions__.push({func:za,args:[bf],thisArg:v}),new Xr(s,this.__chain__)}return this.thru(bf)},B.prototype.toJSON=B.prototype.valueOf=B.prototype.value=function Np(){return Ql(this.__wrapped__,this.__actions__)},B.prototype.first=B.prototype.head,Mr&&(B.prototype[Mr]=function d_(){return this}),B}();Ai._=An,(l=function(){return An}.call(q,T,q,Pe))!==v&&(Pe.exports=l)}.call(this)},8448:(Pe,q,T)=>{var l=T(5171),v=T(2315),V=T(4401),Q=T(3943);Pe.exports=function K(fe,oe,le){fe=Q(fe);var ye=(oe=V(oe))?v(fe):0;return oe&&ye<oe?l(oe-ye,le)+fe:fe}},1978:(Pe,q,T)=>{var v=T(1491)((function(V,Q,K){return V+(K?"_":"")+Q.toLowerCase()}));Pe.exports=v},2232:(Pe,q,T)=>{var l=T(1467),v=1/0;Pe.exports=function Q(K){return K?(K=l(K))===v||K===-v?17976931348623157e292*(K<0?-1:1):K==K?K:0:0===K?K:0}},4401:(Pe,q,T)=>{var l=T(2232);Pe.exports=function v(V){var Q=l(V),K=Q%1;return Q==Q?K?Q-K:Q:0}},1467:(Pe,q,T)=>{var l=T(3348),v=T(5940),V=T(4129),K=/^[-+]0x[0-9a-f]+$/i,fe=/^0b[01]+$/i,oe=/^0o[0-7]+$/i,le=parseInt;Pe.exports=function ye(Y){if("number"==typeof Y)return Y;if(V(Y))return NaN;if(v(Y)){var ne="function"==typeof Y.valueOf?Y.valueOf():Y;Y=v(ne)?ne+"":ne}if("string"!=typeof Y)return 0===Y?Y:+Y;Y=l(Y);var De=fe.test(Y);return De||oe.test(Y)?le(Y.slice(2),De?2:8):K.test(Y)?NaN:+Y}},3943:(Pe,q,T)=>{var l=T(3935);Pe.exports=function v(V){return null==V?"":l(V)}},7188:(Pe,q,T)=>{var l=T(69),v=T(9062),V=T(3943),Q=T(910);Pe.exports=function K(fe,oe,le){return fe=V(fe),void 0===(oe=le?void 0:oe)?v(fe)?Q(fe):l(fe):fe.match(oe)||[]}},9751:(Pe,q,T)=>{"use strict";T.d(q,{y:()=>le});var l=T(930),v=T(727),V=T(8822),Q=T(9635),K=T(2416),fe=T(576),oe=T(2806);let le=(()=>{class De{constructor(Ne){Ne&&(this._subscribe=Ne)}lift(Ne){const ke=new De;return ke.source=this,ke.operator=Ne,ke}subscribe(Ne,ke,mt){const Be=function ne(De){return De&&De instanceof l.Lv||function Y(De){return De&&(0,fe.m)(De.next)&&(0,fe.m)(De.error)&&(0,fe.m)(De.complete)}(De)&&(0,v.Nn)(De)}(Ne)?Ne:new l.Hp(Ne,ke,mt);return(0,oe.x)((()=>{const{operator:dt,source:gt}=this;Be.add(dt?dt.call(Be,gt):gt?this._subscribe(Be):this._trySubscribe(Be))})),Be}_trySubscribe(Ne){try{return this._subscribe(Ne)}catch(ke){Ne.error(ke)}}forEach(Ne,ke){return new(ke=ye(ke))(((mt,Be)=>{let dt;dt=this.subscribe((gt=>{try{Ne(gt)}catch(tt){Be(tt),dt?.unsubscribe()}}),Be,mt)}))}_subscribe(Ne){var ke;return null===(ke=this.source)||void 0===ke?void 0:ke.subscribe(Ne)}[V.L](){return this}pipe(...Ne){return(0,Q.U)(Ne)(this)}toPromise(Ne){return new(Ne=ye(Ne))(((ke,mt)=>{let Be;this.subscribe((dt=>Be=dt),(dt=>mt(dt)),(()=>ke(Be)))}))}}return De.create=Ge=>new De(Ge),De})();function ye(De){var Ge;return null!==(Ge=De??K.v.Promise)&&void 0!==Ge?Ge:Promise}},7579:(Pe,q,T)=>{"use strict";T.d(q,{x:()=>oe});var l=T(9751),v=T(727);const Q=(0,T(3888).d)((ye=>function(){ye(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}));var K=T(8737),fe=T(2806);let oe=(()=>{class ye extends l.y{constructor(){super(),this.closed=!1,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(ne){const De=new le(this,this);return De.operator=ne,De}_throwIfClosed(){if(this.closed)throw new Q}next(ne){(0,fe.x)((()=>{if(this._throwIfClosed(),!this.isStopped){const De=this.observers.slice();for(const Ge of De)Ge.next(ne)}}))}error(ne){(0,fe.x)((()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=ne;const{observers:De}=this;for(;De.length;)De.shift().error(ne)}}))}complete(){(0,fe.x)((()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:ne}=this;for(;ne.length;)ne.shift().complete()}}))}unsubscribe(){this.isStopped=this.closed=!0,this.observers=null}get observed(){var ne;return(null===(ne=this.observers)||void 0===ne?void 0:ne.length)>0}_trySubscribe(ne){return this._throwIfClosed(),super._trySubscribe(ne)}_subscribe(ne){return this._throwIfClosed(),this._checkFinalizedStatuses(ne),this._innerSubscribe(ne)}_innerSubscribe(ne){const{hasError:De,isStopped:Ge,observers:Ne}=this;return De||Ge?v.Lc:(Ne.push(ne),new v.w0((()=>(0,K.P)(Ne,ne))))}_checkFinalizedStatuses(ne){const{hasError:De,thrownError:Ge,isStopped:Ne}=this;De?ne.error(Ge):Ne&&ne.complete()}asObservable(){const ne=new l.y;return ne.source=this,ne}}return ye.create=(Y,ne)=>new le(Y,ne),ye})();class le extends oe{constructor(Y,ne){super(),this.destination=Y,this.source=ne}next(Y){var ne,De;null===(De=null===(ne=this.destination)||void 0===ne?void 0:ne.next)||void 0===De||De.call(ne,Y)}error(Y){var ne,De;null===(De=null===(ne=this.destination)||void 0===ne?void 0:ne.error)||void 0===De||De.call(ne,Y)}complete(){var Y,ne;null===(ne=null===(Y=this.destination)||void 0===Y?void 0:Y.complete)||void 0===ne||ne.call(Y)}_subscribe(Y){var ne,De;return null!==(De=null===(ne=this.source)||void 0===ne?void 0:ne.subscribe(Y))&&void 0!==De?De:v.Lc}}},930:(Pe,q,T)=>{"use strict";T.d(q,{Hp:()=>Ge,Lv:()=>De});var l=T(576),v=T(727),V=T(2416),Q=T(7849),K=T(5032);const fe=ye("C",void 0,void 0);function ye(dt,gt,tt){return{kind:dt,value:gt,error:tt}}var Y=T(3410),ne=T(2806);class De extends v.w0{constructor(gt){super(),this.isStopped=!1,gt?(this.destination=gt,(0,v.Nn)(gt)&&gt.add(this)):this.destination=Be}static create(gt,tt,Ke){return new Ge(gt,tt,Ke)}next(gt){this.isStopped?mt(function le(dt){return ye("N",dt,void 0)}(gt),this):this._next(gt)}error(gt){this.isStopped?mt(function oe(dt){return ye("E",void 0,dt)}(gt),this):(this.isStopped=!0,this._error(gt))}complete(){this.isStopped?mt(fe,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(gt){this.destination.next(gt)}_error(gt){try{this.destination.error(gt)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}class Ge extends De{constructor(gt,tt,Ke){let pe;if(super(),(0,l.m)(gt))pe=gt;else if(gt){let Xe;({next:pe,error:tt,complete:Ke}=gt),this&&V.v.useDeprecatedNextContext?(Xe=Object.create(gt),Xe.unsubscribe=()=>this.unsubscribe()):Xe=gt,pe=pe?.bind(Xe),tt=tt?.bind(Xe),Ke=Ke?.bind(Xe)}this.destination={next:pe?Ne(pe):K.Z,error:Ne(tt??ke),complete:Ke?Ne(Ke):K.Z}}}function Ne(dt,gt){return(...tt)=>{try{dt(...tt)}catch(Ke){V.v.useDeprecatedSynchronousErrorHandling?(0,ne.O)(Ke):(0,Q.h)(Ke)}}}function ke(dt){throw dt}function mt(dt,gt){const{onStoppedNotification:tt}=V.v;tt&&Y.z.setTimeout((()=>tt(dt,gt)))}const Be={closed:!0,next:K.Z,error:ke,complete:K.Z}},727:(Pe,q,T)=>{"use strict";T.d(q,{Lc:()=>fe,w0:()=>K,Nn:()=>oe});var l=T(576);const V=(0,T(3888).d)((ye=>function(ne){ye(this),this.message=ne?`${ne.length} errors occurred during unsubscription:\n${ne.map(((De,Ge)=>`${Ge+1}) ${De.toString()}`)).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=ne}));var Q=T(8737);class K{constructor(Y){this.initialTeardown=Y,this.closed=!1,this._parentage=null,this._teardowns=null}unsubscribe(){let Y;if(!this.closed){this.closed=!0;const{_parentage:ne}=this;if(ne)if(this._parentage=null,Array.isArray(ne))for(const Ne of ne)Ne.remove(this);else ne.remove(this);const{initialTeardown:De}=this;if((0,l.m)(De))try{De()}catch(Ne){Y=Ne instanceof V?Ne.errors:[Ne]}const{_teardowns:Ge}=this;if(Ge){this._teardowns=null;for(const Ne of Ge)try{le(Ne)}catch(ke){Y=Y??[],ke instanceof V?Y=[...Y,...ke.errors]:Y.push(ke)}}if(Y)throw new V(Y)}}add(Y){var ne;if(Y&&Y!==this)if(this.closed)le(Y);else{if(Y instanceof K){if(Y.closed||Y._hasParent(this))return;Y._addParent(this)}(this._teardowns=null!==(ne=this._teardowns)&&void 0!==ne?ne:[]).push(Y)}}_hasParent(Y){const{_parentage:ne}=this;return ne===Y||Array.isArray(ne)&&ne.includes(Y)}_addParent(Y){const{_parentage:ne}=this;this._parentage=Array.isArray(ne)?(ne.push(Y),ne):ne?[ne,Y]:Y}_removeParent(Y){const{_parentage:ne}=this;ne===Y?this._parentage=null:Array.isArray(ne)&&(0,Q.P)(ne,Y)}remove(Y){const{_teardowns:ne}=this;ne&&(0,Q.P)(ne,Y),Y instanceof K&&Y._removeParent(this)}}K.EMPTY=(()=>{const ye=new K;return ye.closed=!0,ye})();const fe=K.EMPTY;function oe(ye){return ye instanceof K||ye&&"closed"in ye&&(0,l.m)(ye.remove)&&(0,l.m)(ye.add)&&(0,l.m)(ye.unsubscribe)}function le(ye){(0,l.m)(ye)?ye():ye.unsubscribe()}},2416:(Pe,q,T)=>{"use strict";T.d(q,{v:()=>l});const l={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},9841:(Pe,q,T)=>{"use strict";T.d(q,{a:()=>Y});var l=T(9751),v=T(4742),V=T(2076),Q=T(4671),K=T(3268),fe=T(3269),oe=T(1810),le=T(5403),ye=T(9672);function Y(...Ge){const Ne=(0,fe.yG)(Ge),ke=(0,fe.jO)(Ge),{args:mt,keys:Be}=(0,v.D)(Ge);if(0===mt.length)return(0,V.D)([],Ne);const dt=new l.y(function ne(Ge,Ne,ke=Q.y){return mt=>{De(Ne,(()=>{const{length:Be}=Ge,dt=new Array(Be);let gt=Be,tt=Be;for(let Ke=0;Ke<Be;Ke++)De(Ne,(()=>{const pe=(0,V.D)(Ge[Ke],Ne);let Xe=!1;pe.subscribe(new le.Q(mt,(Ft=>{dt[Ke]=Ft,Xe||(Xe=!0,tt--),tt||mt.next(ke(dt.slice()))}),(()=>{--gt||mt.complete()})))}),mt)}),mt)}}(mt,Ne,Be?gt=>(0,oe.n)(Be,gt):Q.y));return ke?dt.pipe((0,K.Z)(ke)):dt}function De(Ge,Ne,ke){Ge?(0,ye.f)(ke,Ge,Ne):Ne()}},7272:(Pe,q,T)=>{"use strict";T.d(q,{z:()=>K});var l=T(8189),V=T(3269),Q=T(2076);function K(...fe){return function v(){return(0,l.J)(1)}()((0,Q.D)(fe,(0,V.yG)(fe)))}},515:(Pe,q,T)=>{"use strict";T.d(q,{E:()=>v});const v=new(T(9751).y)((K=>K.complete()))},2076:(Pe,q,T)=>{"use strict";T.d(q,{D:()=>Ft});var l=T(8421),v=T(9672),V=T(4482),Q=T(5403);function K(Ot,yt=0){return(0,V.e)(((be,xe)=>{be.subscribe(new Q.Q(xe,(He=>(0,v.f)(xe,Ot,(()=>xe.next(He)),yt)),(()=>(0,v.f)(xe,Ot,(()=>xe.complete()),yt)),(He=>(0,v.f)(xe,Ot,(()=>xe.error(He)),yt))))}))}function fe(Ot,yt=0){return(0,V.e)(((be,xe)=>{xe.add(Ot.schedule((()=>be.subscribe(xe)),yt))}))}var ye=T(9751),ne=T(2202),De=T(576);function Ne(Ot,yt){if(!Ot)throw new Error("Iterable cannot be null");return new ye.y((be=>{(0,v.f)(be,yt,(()=>{const xe=Ot[Symbol.asyncIterator]();(0,v.f)(be,yt,(()=>{xe.next().then((He=>{He.done?be.complete():be.next(He.value)}))}),0,!0)}))}))}var ke=T(3670),mt=T(8239),Be=T(1144),dt=T(6495),gt=T(2206),tt=T(4532),Ke=T(3260);function Ft(Ot,yt){return yt?function Xe(Ot,yt){if(null!=Ot){if((0,ke.c)(Ot))return function oe(Ot,yt){return(0,l.Xf)(Ot).pipe(fe(yt),K(yt))}(Ot,yt);if((0,Be.z)(Ot))return function Y(Ot,yt){return new ye.y((be=>{let xe=0;return yt.schedule((function(){xe===Ot.length?be.complete():(be.next(Ot[xe++]),be.closed||this.schedule())}))}))}(Ot,yt);if((0,mt.t)(Ot))return function le(Ot,yt){return(0,l.Xf)(Ot).pipe(fe(yt),K(yt))}(Ot,yt);if((0,gt.D)(Ot))return Ne(Ot,yt);if((0,dt.T)(Ot))return function Ge(Ot,yt){return new ye.y((be=>{let xe;return(0,v.f)(be,yt,(()=>{xe=Ot[ne.h](),(0,v.f)(be,yt,(()=>{let He,Fe;try{({value:He,done:Fe}=xe.next())}catch(Te){return void be.error(Te)}Fe?be.complete():be.next(He)}),0,!0)})),()=>(0,De.m)(xe?.return)&&xe.return()}))}(Ot,yt);if((0,Ke.L)(Ot))return function pe(Ot,yt){return Ne((0,Ke.Q)(Ot),yt)}(Ot,yt)}throw(0,tt.z)(Ot)}(Ot,yt):(0,l.Xf)(Ot)}},4968:(Pe,q,T)=>{"use strict";T.d(q,{R:()=>Y});var l=T(8421),v=T(9751),V=T(5577),Q=T(1144),K=T(576),fe=T(3268);const oe=["addListener","removeListener"],le=["addEventListener","removeEventListener"],ye=["on","off"];function Y(ke,mt,Be,dt){if((0,K.m)(Be)&&(dt=Be,Be=void 0),dt)return Y(ke,mt,Be).pipe((0,fe.Z)(dt));const[gt,tt]=function Ne(ke){return(0,K.m)(ke.addEventListener)&&(0,K.m)(ke.removeEventListener)}(ke)?le.map((Ke=>pe=>ke[Ke](mt,pe,Be))):function De(ke){return(0,K.m)(ke.addListener)&&(0,K.m)(ke.removeListener)}(ke)?oe.map(ne(ke,mt)):function Ge(ke){return(0,K.m)(ke.on)&&(0,K.m)(ke.off)}(ke)?ye.map(ne(ke,mt)):[];if(!gt&&(0,Q.z)(ke))return(0,V.z)((Ke=>Y(Ke,mt,Be)))((0,l.Xf)(ke));if(!gt)throw new TypeError("Invalid event target");return new v.y((Ke=>{const pe=(...Xe)=>Ke.next(1<Xe.length?Xe:Xe[0]);return gt(pe),()=>tt(pe)}))}function ne(ke,mt){return Be=>dt=>ke[Be](mt,dt)}},8421:(Pe,q,T)=>{"use strict";T.d(q,{Xf:()=>Ge});var l=T(5987),v=T(1144),V=T(8239),Q=T(9751),K=T(3670),fe=T(2206),oe=T(4532),le=T(6495),ye=T(3260),Y=T(576),ne=T(7849),De=T(8822);function Ge(Ke){if(Ke instanceof Q.y)return Ke;if(null!=Ke){if((0,K.c)(Ke))return function Ne(Ke){return new Q.y((pe=>{const Xe=Ke[De.L]();if((0,Y.m)(Xe.subscribe))return Xe.subscribe(pe);throw new TypeError("Provided object does not correctly implement Symbol.observable")}))}(Ke);if((0,v.z)(Ke))return function ke(Ke){return new Q.y((pe=>{for(let Xe=0;Xe<Ke.length&&!pe.closed;Xe++)pe.next(Ke[Xe]);pe.complete()}))}(Ke);if((0,V.t)(Ke))return function mt(Ke){return new Q.y((pe=>{Ke.then((Xe=>{pe.closed||(pe.next(Xe),pe.complete())}),(Xe=>pe.error(Xe))).then(null,ne.h)}))}(Ke);if((0,fe.D)(Ke))return dt(Ke);if((0,le.T)(Ke))return function Be(Ke){return new Q.y((pe=>{for(const Xe of Ke)if(pe.next(Xe),pe.closed)return;pe.complete()}))}(Ke);if((0,ye.L)(Ke))return function gt(Ke){return dt((0,ye.Q)(Ke))}(Ke)}throw(0,oe.z)(Ke)}function dt(Ke){return new Q.y((pe=>{(function tt(Ke,pe){var Xe,Ft,Ot,yt;return(0,l.mG)(this,void 0,void 0,(function*(){try{for(Xe=(0,l.KL)(Ke);!(Ft=yield Xe.next()).done;)if(pe.next(Ft.value),pe.closed)return}catch(be){Ot={error:be}}finally{try{Ft&&!Ft.done&&(yt=Xe.return)&&(yield yt.call(Xe))}finally{if(Ot)throw Ot.error}}pe.complete()}))})(Ke,pe).catch((Xe=>pe.error(Xe)))}))}},6451:(Pe,q,T)=>{"use strict";T.d(q,{T:()=>fe});var l=T(8189),v=T(8421),V=T(515),Q=T(3269),K=T(2076);function fe(...oe){const le=(0,Q.yG)(oe),ye=(0,Q._6)(oe,1/0),Y=oe;return Y.length?1===Y.length?(0,v.Xf)(Y[0]):(0,l.J)(ye)((0,K.D)(Y,le)):V.E}},9646:(Pe,q,T)=>{"use strict";T.d(q,{of:()=>V});var l=T(3269),v=T(2076);function V(...Q){const K=(0,l.yG)(Q);return(0,v.D)(Q,K)}},2843:(Pe,q,T)=>{"use strict";T.d(q,{_:()=>V});var l=T(9751),v=T(576);function V(Q,K){const fe=(0,v.m)(Q)?Q:()=>Q,oe=le=>le.error(fe());return new l.y(K?le=>K.schedule(oe,0,le):oe)}},5403:(Pe,q,T)=>{"use strict";T.d(q,{Q:()=>v});var l=T(930);class v extends l.Lv{constructor(Q,K,fe,oe,le){super(Q),this.onFinalize=le,this._next=K?function(ye){try{K(ye)}catch(Y){Q.error(Y)}}:super._next,this._error=oe?function(ye){try{oe(ye)}catch(Y){Q.error(Y)}finally{this.unsubscribe()}}:super._error,this._complete=fe?function(){try{fe()}catch(ye){Q.error(ye)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var Q;const{closed:K}=this;super.unsubscribe(),!K&&(null===(Q=this.onFinalize)||void 0===Q||Q.call(this))}}},262:(Pe,q,T)=>{"use strict";T.d(q,{K:()=>Q});var l=T(8421),v=T(5403),V=T(4482);function Q(K){return(0,V.e)(((fe,oe)=>{let Y,le=null,ye=!1;le=fe.subscribe(new v.Q(oe,void 0,void 0,(ne=>{Y=(0,l.Xf)(K(ne,Q(K)(fe))),le?(le.unsubscribe(),le=null,Y.subscribe(oe)):ye=!0}))),ye&&(le.unsubscribe(),le=null,Y.subscribe(oe))}))}},4351:(Pe,q,T)=>{"use strict";T.d(q,{b:()=>V});var l=T(5577),v=T(576);function V(Q,K){return(0,v.m)(K)?(0,l.z)(Q,K,1):(0,l.z)(Q,1)}},9300:(Pe,q,T)=>{"use strict";T.d(q,{h:()=>V});var l=T(4482),v=T(5403);function V(Q,K){return(0,l.e)(((fe,oe)=>{let le=0;fe.subscribe(new v.Q(oe,(ye=>Q.call(K,ye,le++)&&oe.next(ye))))}))}},8746:(Pe,q,T)=>{"use strict";T.d(q,{x:()=>v});var l=T(4482);function v(V){return(0,l.e)(((Q,K)=>{try{Q.subscribe(K)}finally{K.add(V)}}))}},4004:(Pe,q,T)=>{"use strict";T.d(q,{U:()=>V});var l=T(4482),v=T(5403);function V(Q,K){return(0,l.e)(((fe,oe)=>{let le=0;fe.subscribe(new v.Q(oe,(ye=>{oe.next(Q.call(K,ye,le++))})))}))}},8189:(Pe,q,T)=>{"use strict";T.d(q,{J:()=>V});var l=T(5577),v=T(4671);function V(Q=1/0){return(0,l.z)(v.y,Q)}},5577:(Pe,q,T)=>{"use strict";T.d(q,{z:()=>le});var l=T(4004),v=T(8421),V=T(4482),Q=T(9672),K=T(5403),oe=T(576);function le(ye,Y,ne=1/0){return(0,oe.m)(Y)?le(((De,Ge)=>(0,l.U)(((Ne,ke)=>Y(De,Ne,Ge,ke)))((0,v.Xf)(ye(De,Ge)))),ne):("number"==typeof Y&&(ne=Y),(0,V.e)(((De,Ge)=>function fe(ye,Y,ne,De,Ge,Ne,ke,mt){const Be=[];let dt=0,gt=0,tt=!1;const Ke=()=>{tt&&!Be.length&&!dt&&Y.complete()},pe=Ft=>dt<De?Xe(Ft):Be.push(Ft),Xe=Ft=>{Ne&&Y.next(Ft),dt++;let Ot=!1;(0,v.Xf)(ne(Ft,gt++)).subscribe(new K.Q(Y,(yt=>{Ge?.(yt),Ne?pe(yt):Y.next(yt)}),(()=>{Ot=!0}),void 0,(()=>{if(Ot)try{for(dt--;Be.length&&dt<De;){const yt=Be.shift();ke?(0,Q.f)(Y,ke,(()=>Xe(yt))):Xe(yt)}Ke()}catch(yt){Y.error(yt)}})))};return ye.subscribe(new K.Q(Y,pe,(()=>{tt=!0,Ke()}))),()=>{mt?.()}}(De,Ge,ye,ne))))}},8675:(Pe,q,T)=>{"use strict";T.d(q,{O:()=>Q});var l=T(7272),v=T(3269),V=T(4482);function Q(...K){const fe=(0,v.yG)(K);return(0,V.e)(((oe,le)=>{(fe?(0,l.z)(K,oe,fe):(0,l.z)(K,oe)).subscribe(le)}))}},5698:(Pe,q,T)=>{"use strict";T.d(q,{q:()=>Q});var l=T(515),v=T(4482),V=T(5403);function Q(K){return K<=0?()=>l.E:(0,v.e)(((fe,oe)=>{let le=0;fe.subscribe(new V.Q(oe,(ye=>{++le<=K&&(oe.next(ye),K<=le&&oe.complete())})))}))}},2722:(Pe,q,T)=>{"use strict";T.d(q,{R:()=>K});var l=T(4482),v=T(5403),V=T(8421),Q=T(5032);function K(fe){return(0,l.e)(((oe,le)=>{(0,V.Xf)(fe).subscribe(new v.Q(le,(()=>le.complete()),Q.Z)),!le.closed&&oe.subscribe(le)}))}},8505:(Pe,q,T)=>{"use strict";T.d(q,{b:()=>K});var l=T(576),v=T(4482),V=T(5403),Q=T(4671);function K(fe,oe,le){const ye=(0,l.m)(fe)||oe||le?{next:fe,error:oe,complete:le}:fe;return ye?(0,v.e)(((Y,ne)=>{var De;null===(De=ye.subscribe)||void 0===De||De.call(ye);let Ge=!0;Y.subscribe(new V.Q(ne,(Ne=>{var ke;null===(ke=ye.next)||void 0===ke||ke.call(ye,Ne),ne.next(Ne)}),(()=>{var Ne;Ge=!1,null===(Ne=ye.complete)||void 0===Ne||Ne.call(ye),ne.complete()}),(Ne=>{var ke;Ge=!1,null===(ke=ye.error)||void 0===ke||ke.call(ye,Ne),ne.error(Ne)}),(()=>{var Ne,ke;Ge&&(null===(Ne=ye.unsubscribe)||void 0===Ne||Ne.call(ye)),null===(ke=ye.finalize)||void 0===ke||ke.call(ye)})))})):Q.y}},3410:(Pe,q,T)=>{"use strict";T.d(q,{z:()=>l});const l={setTimeout(...v){const{delegate:V}=l;return(V?.setTimeout||setTimeout)(...v)},clearTimeout(v){const{delegate:V}=l;return(V?.clearTimeout||clearTimeout)(v)},delegate:void 0}},2202:(Pe,q,T)=>{"use strict";T.d(q,{h:()=>v});const v=function l(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(Pe,q,T)=>{"use strict";T.d(q,{L:()=>l});const l="function"==typeof Symbol&&Symbol.observable||"@@observable"},3269:(Pe,q,T)=>{"use strict";T.d(q,{_6:()=>fe,jO:()=>Q,yG:()=>K});var l=T(576),v=T(3532);function V(oe){return oe[oe.length-1]}function Q(oe){return(0,l.m)(V(oe))?oe.pop():void 0}function K(oe){return(0,v.K)(V(oe))?oe.pop():void 0}function fe(oe,le){return"number"==typeof V(oe)?oe.pop():le}},4742:(Pe,q,T)=>{"use strict";T.d(q,{D:()=>K});const{isArray:l}=Array,{getPrototypeOf:v,prototype:V,keys:Q}=Object;function K(oe){if(1===oe.length){const le=oe[0];if(l(le))return{args:le,keys:null};if(function fe(oe){return oe&&"object"==typeof oe&&v(oe)===V}(le)){const ye=Q(le);return{args:ye.map((Y=>le[Y])),keys:ye}}}return{args:oe,keys:null}}},8737:(Pe,q,T)=>{"use strict";function l(v,V){if(v){const Q=v.indexOf(V);0<=Q&&v.splice(Q,1)}}T.d(q,{P:()=>l})},3888:(Pe,q,T)=>{"use strict";function l(v){const Q=v((K=>{Error.call(K),K.stack=(new Error).stack}));return Q.prototype=Object.create(Error.prototype),Q.prototype.constructor=Q,Q}T.d(q,{d:()=>l})},1810:(Pe,q,T)=>{"use strict";function l(v,V){return v.reduce(((Q,K,fe)=>(Q[K]=V[fe],Q)),{})}T.d(q,{n:()=>l})},2806:(Pe,q,T)=>{"use strict";T.d(q,{O:()=>Q,x:()=>V});var l=T(2416);let v=null;function V(K){if(l.v.useDeprecatedSynchronousErrorHandling){const fe=!v;if(fe&&(v={errorThrown:!1,error:null}),K(),fe){const{errorThrown:oe,error:le}=v;if(v=null,oe)throw le}}else K()}function Q(K){l.v.useDeprecatedSynchronousErrorHandling&&v&&(v.errorThrown=!0,v.error=K)}},9672:(Pe,q,T)=>{"use strict";function l(v,V,Q,K=0,fe=!1){const oe=V.schedule((function(){Q(),fe?v.add(this.schedule(null,K)):this.unsubscribe()}),K);if(v.add(oe),!fe)return oe}T.d(q,{f:()=>l})},4671:(Pe,q,T)=>{"use strict";function l(v){return v}T.d(q,{y:()=>l})},1144:(Pe,q,T)=>{"use strict";T.d(q,{z:()=>l});const l=v=>v&&"number"==typeof v.length&&"function"!=typeof v},2206:(Pe,q,T)=>{"use strict";T.d(q,{D:()=>v});var l=T(576);function v(V){return Symbol.asyncIterator&&(0,l.m)(V?.[Symbol.asyncIterator])}},576:(Pe,q,T)=>{"use strict";function l(v){return"function"==typeof v}T.d(q,{m:()=>l})},3670:(Pe,q,T)=>{"use strict";T.d(q,{c:()=>V});var l=T(8822),v=T(576);function V(Q){return(0,v.m)(Q[l.L])}},6495:(Pe,q,T)=>{"use strict";T.d(q,{T:()=>V});var l=T(2202),v=T(576);function V(Q){return(0,v.m)(Q?.[l.h])}},8239:(Pe,q,T)=>{"use strict";T.d(q,{t:()=>v});var l=T(576);function v(V){return(0,l.m)(V?.then)}},3260:(Pe,q,T)=>{"use strict";T.d(q,{L:()=>Q,Q:()=>V});var l=T(5987),v=T(576);function V(K){return(0,l.FC)(this,arguments,(function*(){const oe=K.getReader();try{for(;;){const{value:le,done:ye}=yield(0,l.qq)(oe.read());if(ye)return yield(0,l.qq)(void 0);yield yield(0,l.qq)(le)}}finally{oe.releaseLock()}}))}function Q(K){return(0,v.m)(K?.getReader)}},3532:(Pe,q,T)=>{"use strict";T.d(q,{K:()=>v});var l=T(576);function v(V){return V&&(0,l.m)(V.schedule)}},4482:(Pe,q,T)=>{"use strict";T.d(q,{A:()=>v,e:()=>V});var l=T(576);function v(Q){return(0,l.m)(Q?.lift)}function V(Q){return K=>{if(v(K))return K.lift((function(fe){try{return Q(fe,this)}catch(oe){this.error(oe)}}));throw new TypeError("Unable to lift unknown Observable type")}}},3268:(Pe,q,T)=>{"use strict";T.d(q,{Z:()=>Q});var l=T(4004);const{isArray:v}=Array;function Q(K){return(0,l.U)((fe=>function V(K,fe){return v(fe)?K(...fe):K(fe)}(K,fe)))}},5032:(Pe,q,T)=>{"use strict";function l(){}T.d(q,{Z:()=>l})},9635:(Pe,q,T)=>{"use strict";T.d(q,{U:()=>V,z:()=>v});var l=T(4671);function v(...Q){return V(Q)}function V(Q){return 0===Q.length?l.y:1===Q.length?Q[0]:function(fe){return Q.reduce(((oe,le)=>le(oe)),fe)}}},7849:(Pe,q,T)=>{"use strict";T.d(q,{h:()=>V});var l=T(2416),v=T(3410);function V(Q){v.z.setTimeout((()=>{const{onUnhandledError:K}=l.v;if(!K)throw Q;K(Q)}))}},4532:(Pe,q,T)=>{"use strict";function l(v){return new TypeError(`You provided ${null!==v&&"object"==typeof v?"an invalid object":`'${v}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}T.d(q,{z:()=>l})},8583:()=>{"use strict";!function(de){const Ae=de.performance;function Oe(ie){Ae&&Ae.mark&&Ae.mark(ie)}function Ye(ie,U){Ae&&Ae.measure&&Ae.measure(ie,U)}Oe("Zone");const ce=de.__Zone_symbol_prefix||"__zone_symbol__";function $(ie){return ce+ie}const W=!0===de[$("forceDuplicateZoneCheck")];if(de.Zone){if(W||"function"!=typeof de.Zone.__symbol__)throw new Error("Zone already loaded.");return de.Zone}let Se=(()=>{class ie{constructor(R,te){this._parent=R,this._name=te?te.name||"unnamed":"<root>",this._properties=te&&te.properties||{},this._zoneDelegate=new st(this,this._parent&&this._parent._zoneDelegate,te)}static assertZonePatched(){if(de.Promise!==ui.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 R=ie.current;for(;R.parent;)R=R.parent;return R}static get current(){return kn.zone}static get currentTask(){return Ci}static __load_patch(R,te,Ie=!1){if(ui.hasOwnProperty(R)){if(!Ie&&W)throw Error("Already loaded patch: "+R)}else if(!de["__Zone_disable_"+R]){const rt="Zone:"+R;Oe(rt),ui[R]=te(de,ie,$n),Ye(rt,rt)}}get parent(){return this._parent}get name(){return this._name}get(R){const te=this.getZoneWith(R);if(te)return te._properties[R]}getZoneWith(R){let te=this;for(;te;){if(te._properties.hasOwnProperty(R))return te;te=te._parent}return null}fork(R){if(!R)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,R)}wrap(R,te){if("function"!=typeof R)throw new Error("Expecting function got: "+R);const Ie=this._zoneDelegate.intercept(this,R,te),rt=this;return function(){return rt.runGuarded(Ie,this,arguments,te)}}run(R,te,Ie,rt){kn={parent:kn,zone:this};try{return this._zoneDelegate.invoke(this,R,te,Ie,rt)}finally{kn=kn.parent}}runGuarded(R,te=null,Ie,rt){kn={parent:kn,zone:this};try{try{return this._zoneDelegate.invoke(this,R,te,Ie,rt)}catch(Ht){if(this._zoneDelegate.handleError(this,Ht))throw Ht}}finally{kn=kn.parent}}runTask(R,te,Ie){if(R.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(R.zone||Gn).name+"; Execution: "+this.name+")");if(R.state===Xt&&(R.type===vi||R.type===on))return;const rt=R.state!=Nt;rt&&R._transitionTo(Nt,cn),R.runCount++;const Ht=Ci;Ci=R,kn={parent:kn,zone:this};try{R.type==on&&R.data&&!R.data.isPeriodic&&(R.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,R,te,Ie)}catch(nt){if(this._zoneDelegate.handleError(this,nt))throw nt}}finally{R.state!==Xt&&R.state!==kt&&(R.type==vi||R.data&&R.data.isPeriodic?rt&&R._transitionTo(cn,Nt):(R.runCount=0,this._updateTaskCount(R,-1),rt&&R._transitionTo(Xt,Nt,Xt))),kn=kn.parent,Ci=Ht}}scheduleTask(R){if(R.zone&&R.zone!==this){let Ie=this;for(;Ie;){if(Ie===R.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${R.zone.name}`);Ie=Ie.parent}}R._transitionTo(wn,Xt);const te=[];R._zoneDelegates=te,R._zone=this;try{R=this._zoneDelegate.scheduleTask(this,R)}catch(Ie){throw R._transitionTo(kt,wn,Xt),this._zoneDelegate.handleError(this,Ie),Ie}return R._zoneDelegates===te&&this._updateTaskCount(R,1),R.state==wn&&R._transitionTo(cn,wn),R}scheduleMicroTask(R,te,Ie,rt){return this.scheduleTask(new ft(sn,R,te,Ie,rt,void 0))}scheduleMacroTask(R,te,Ie,rt,Ht){return this.scheduleTask(new ft(on,R,te,Ie,rt,Ht))}scheduleEventTask(R,te,Ie,rt,Ht){return this.scheduleTask(new ft(vi,R,te,Ie,rt,Ht))}cancelTask(R){if(R.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(R.zone||Gn).name+"; Execution: "+this.name+")");R._transitionTo(jn,cn,Nt);try{this._zoneDelegate.cancelTask(this,R)}catch(te){throw R._transitionTo(kt,jn),this._zoneDelegate.handleError(this,te),te}return this._updateTaskCount(R,-1),R._transitionTo(Xt,jn),R.runCount=0,R}_updateTaskCount(R,te){const Ie=R._zoneDelegates;-1==te&&(R._zoneDelegates=null);for(let rt=0;rt<Ie.length;rt++)Ie[rt]._updateTaskCount(R.type,te)}}return ie.__symbol__=$,ie})();const $e={name:"",onHasTask:(ie,U,R,te)=>ie.hasTask(R,te),onScheduleTask:(ie,U,R,te)=>ie.scheduleTask(R,te),onInvokeTask:(ie,U,R,te,Ie,rt)=>ie.invokeTask(R,te,Ie,rt),onCancelTask:(ie,U,R,te)=>ie.cancelTask(R,te)};class st{constructor(U,R,te){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=U,this._parentDelegate=R,this._forkZS=te&&(te&&te.onFork?te:R._forkZS),this._forkDlgt=te&&(te.onFork?R:R._forkDlgt),this._forkCurrZone=te&&(te.onFork?this.zone:R._forkCurrZone),this._interceptZS=te&&(te.onIntercept?te:R._interceptZS),this._interceptDlgt=te&&(te.onIntercept?R:R._interceptDlgt),this._interceptCurrZone=te&&(te.onIntercept?this.zone:R._interceptCurrZone),this._invokeZS=te&&(te.onInvoke?te:R._invokeZS),this._invokeDlgt=te&&(te.onInvoke?R:R._invokeDlgt),this._invokeCurrZone=te&&(te.onInvoke?this.zone:R._invokeCurrZone),this._handleErrorZS=te&&(te.onHandleError?te:R._handleErrorZS),this._handleErrorDlgt=te&&(te.onHandleError?R:R._handleErrorDlgt),this._handleErrorCurrZone=te&&(te.onHandleError?this.zone:R._handleErrorCurrZone),this._scheduleTaskZS=te&&(te.onScheduleTask?te:R._scheduleTaskZS),this._scheduleTaskDlgt=te&&(te.onScheduleTask?R:R._scheduleTaskDlgt),this._scheduleTaskCurrZone=te&&(te.onScheduleTask?this.zone:R._scheduleTaskCurrZone),this._invokeTaskZS=te&&(te.onInvokeTask?te:R._invokeTaskZS),this._invokeTaskDlgt=te&&(te.onInvokeTask?R:R._invokeTaskDlgt),this._invokeTaskCurrZone=te&&(te.onInvokeTask?this.zone:R._invokeTaskCurrZone),this._cancelTaskZS=te&&(te.onCancelTask?te:R._cancelTaskZS),this._cancelTaskDlgt=te&&(te.onCancelTask?R:R._cancelTaskDlgt),this._cancelTaskCurrZone=te&&(te.onCancelTask?this.zone:R._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const Ie=te&&te.onHasTask;(Ie||R&&R._hasTaskZS)&&(this._hasTaskZS=Ie?te:$e,this._hasTaskDlgt=R,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=U,te.onScheduleTask||(this._scheduleTaskZS=$e,this._scheduleTaskDlgt=R,this._scheduleTaskCurrZone=this.zone),te.onInvokeTask||(this._invokeTaskZS=$e,this._invokeTaskDlgt=R,this._invokeTaskCurrZone=this.zone),te.onCancelTask||(this._cancelTaskZS=$e,this._cancelTaskDlgt=R,this._cancelTaskCurrZone=this.zone))}fork(U,R){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,U,R):new Se(U,R)}intercept(U,R,te){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,U,R,te):R}invoke(U,R,te,Ie,rt){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,U,R,te,Ie,rt):R.apply(te,Ie)}handleError(U,R){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,U,R)}scheduleTask(U,R){let te=R;if(this._scheduleTaskZS)this._hasTaskZS&&te._zoneDelegates.push(this._hasTaskDlgtOwner),te=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,U,R),te||(te=R);else if(R.scheduleFn)R.scheduleFn(R);else{if(R.type!=sn)throw new Error("Task is missing scheduleFn.");xt(R)}return te}invokeTask(U,R,te,Ie){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,U,R,te,Ie):R.callback.apply(te,Ie)}cancelTask(U,R){let te;if(this._cancelTaskZS)te=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,U,R);else{if(!R.cancelFn)throw Error("Task is not cancelable");te=R.cancelFn(R)}return te}hasTask(U,R){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,U,R)}catch(te){this.handleError(U,te)}}_updateTaskCount(U,R){const te=this._taskCounts,Ie=te[U],rt=te[U]=Ie+R;if(rt<0)throw new Error("More tasks executed then were scheduled.");0!=Ie&&0!=rt||this.hasTask(this.zone,{microTask:te.microTask>0,macroTask:te.macroTask>0,eventTask:te.eventTask>0,change:U})}}class ft{constructor(U,R,te,Ie,rt,Ht){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=U,this.source=R,this.data=Ie,this.scheduleFn=rt,this.cancelFn=Ht,!te)throw new Error("callback is not defined");this.callback=te;const nt=this;this.invoke=U===vi&&Ie&&Ie.useG?ft.invokeTask:function(){return ft.invokeTask.call(de,nt,this,arguments)}}static invokeTask(U,R,te){U||(U=this),Bt++;try{return U.runCount++,U.zone.runTask(U,R,te)}finally{1==Bt&&Dt(),Bt--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(Xt,wn)}_transitionTo(U,R,te){if(this._state!==R&&this._state!==te)throw new Error(`${this.type} '${this.source}': can not transition to '${U}', expecting state '${R}'${te?" or '"+te+"'":""}, was '${this._state}'.`);this._state=U,U==Xt&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const Ut=$("setTimeout"),ht=$("Promise"),ot=$("then");let It,Kt=[],_n=!1;function Pt(ie){if(It||de[ht]&&(It=de[ht].resolve(0)),It){let U=It[ot];U||(U=It.then),U.call(It,ie)}else de[Ut](ie,0)}function xt(ie){0===Bt&&0===Kt.length&&Pt(Dt),ie&&Kt.push(ie)}function Dt(){if(!_n){for(_n=!0;Kt.length;){const ie=Kt;Kt=[];for(let U=0;U<ie.length;U++){const R=ie[U];try{R.zone.runTask(R,null,null)}catch(te){$n.onUnhandledError(te)}}}$n.microtaskDrainDone(),_n=!1}}const Gn={name:"NO ZONE"},Xt="notScheduled",wn="scheduling",cn="scheduled",Nt="running",jn="canceling",kt="unknown",sn="microTask",on="macroTask",vi="eventTask",ui={},$n={symbol:$,currentZoneFrame:()=>kn,onUnhandledError:Ce,microtaskDrainDone:Ce,scheduleMicroTask:xt,showUncaughtError:()=>!Se[$("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:Ce,patchMethod:()=>Ce,bindArguments:()=>[],patchThen:()=>Ce,patchMacroTask:()=>Ce,patchEventPrototype:()=>Ce,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>Ce,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>Ce,wrapWithCurrentZone:()=>Ce,filterProperties:()=>[],attachOriginToPatched:()=>Ce,_redefineProperty:()=>Ce,patchCallbacks:()=>Ce,nativeScheduleMicroTask:Pt};let kn={parent:null,zone:new Se(null,null)},Ci=null,Bt=0;function Ce(){}Ye("Zone","Zone"),de.Zone=Se}(typeof window<"u"&&window||typeof self<"u"&&self||global);const Pe=Object.getOwnPropertyDescriptor,q=Object.defineProperty,T=Object.getPrototypeOf,l=Object.create,v=Array.prototype.slice,V="addEventListener",Q="removeEventListener",K=Zone.__symbol__(V),fe=Zone.__symbol__(Q),oe="true",le="false",ye=Zone.__symbol__("");function Y(de,Ae){return Zone.current.wrap(de,Ae)}function ne(de,Ae,Oe,Ye,ce){return Zone.current.scheduleMacroTask(de,Ae,Oe,Ye,ce)}const De=Zone.__symbol__,Ge=typeof window<"u",Ne=Ge?window:void 0,ke=Ge&&Ne||"object"==typeof self&&self||global;function Be(de,Ae){for(let Oe=de.length-1;Oe>=0;Oe--)"function"==typeof de[Oe]&&(de[Oe]=Y(de[Oe],Ae+"_"+Oe));return de}function gt(de){return!de||!1!==de.writable&&!("function"==typeof de.get&&typeof de.set>"u")}const tt=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Ke=!("nw"in ke)&&typeof ke.process<"u"&&"[object process]"==={}.toString.call(ke.process),pe=!Ke&&!tt&&!(!Ge||!Ne.HTMLElement),Xe=typeof ke.process<"u"&&"[object process]"==={}.toString.call(ke.process)&&!tt&&!(!Ge||!Ne.HTMLElement),Ft={},Ot=function(de){if(!(de=de||ke.event))return;let Ae=Ft[de.type];Ae||(Ae=Ft[de.type]=De("ON_PROPERTY"+de.type));const Oe=this||de.target||ke,Ye=Oe[Ae];let ce;if(pe&&Oe===Ne&&"error"===de.type){const $=de;ce=Ye&&Ye.call(this,$.message,$.filename,$.lineno,$.colno,$.error),!0===ce&&de.preventDefault()}else ce=Ye&&Ye.apply(this,arguments),null!=ce&&!ce&&de.preventDefault();return ce};function yt(de,Ae,Oe){let Ye=Pe(de,Ae);if(!Ye&&Oe&&Pe(Oe,Ae)&&(Ye={enumerable:!0,configurable:!0}),!Ye||!Ye.configurable)return;const ce=De("on"+Ae+"patched");if(de.hasOwnProperty(ce)&&de[ce])return;delete Ye.writable,delete Ye.value;const $=Ye.get,W=Ye.set,Se=Ae.slice(2);let $e=Ft[Se];$e||($e=Ft[Se]=De("ON_PROPERTY"+Se)),Ye.set=function(st){let ft=this;!ft&&de===ke&&(ft=ke),ft&&("function"==typeof ft[$e]&&ft.removeEventListener(Se,Ot),W&&W.call(ft,null),ft[$e]=st,"function"==typeof st&&ft.addEventListener(Se,Ot,!1))},Ye.get=function(){let st=this;if(!st&&de===ke&&(st=ke),!st)return null;const ft=st[$e];if(ft)return ft;if($){let Ut=$.call(this);if(Ut)return Ye.set.call(this,Ut),"function"==typeof st.removeAttribute&&st.removeAttribute(Ae),Ut}return null},q(de,Ae,Ye),de[ce]=!0}function be(de,Ae,Oe){if(Ae)for(let Ye=0;Ye<Ae.length;Ye++)yt(de,"on"+Ae[Ye],Oe);else{const Ye=[];for(const ce in de)"on"==ce.slice(0,2)&&Ye.push(ce);for(let ce=0;ce<Ye.length;ce++)yt(de,Ye[ce],Oe)}}const xe=De("originalInstance");function He(de){const Ae=ke[de];if(!Ae)return;ke[De(de)]=Ae,ke[de]=function(){const ce=Be(arguments,de);switch(ce.length){case 0:this[xe]=new Ae;break;case 1:this[xe]=new Ae(ce[0]);break;case 2:this[xe]=new Ae(ce[0],ce[1]);break;case 3:this[xe]=new Ae(ce[0],ce[1],ce[2]);break;case 4:this[xe]=new Ae(ce[0],ce[1],ce[2],ce[3]);break;default:throw new Error("Arg list too long.")}},me(ke[de],Ae);const Oe=new Ae((function(){}));let Ye;for(Ye in Oe)"XMLHttpRequest"===de&&"responseBlob"===Ye||function(ce){"function"==typeof Oe[ce]?ke[de].prototype[ce]=function(){return this[xe][ce].apply(this[xe],arguments)}:q(ke[de].prototype,ce,{set:function($){"function"==typeof $?(this[xe][ce]=Y($,de+"."+ce),me(this[xe][ce],$)):this[xe][ce]=$},get:function(){return this[xe][ce]}})}(Ye);for(Ye in Ae)"prototype"!==Ye&&Ae.hasOwnProperty(Ye)&&(ke[de][Ye]=Ae[Ye])}function Fe(de,Ae,Oe){let Ye=de;for(;Ye&&!Ye.hasOwnProperty(Ae);)Ye=T(Ye);!Ye&&de[Ae]&&(Ye=de);const ce=De(Ae);let $=null;if(Ye&&(!($=Ye[ce])||!Ye.hasOwnProperty(ce))&&($=Ye[ce]=Ye[Ae],gt(Ye&&Pe(Ye,Ae)))){const Se=Oe($,ce,Ae);Ye[Ae]=function(){return Se(this,arguments)},me(Ye[Ae],$)}return $}function Te(de,Ae,Oe){let Ye=null;function ce($){const W=$.data;return W.args[W.cbIdx]=function(){$.invoke.apply(this,arguments)},Ye.apply(W.target,W.args),$}Ye=Fe(de,Ae,($=>function(W,Se){const $e=Oe(W,Se);return $e.cbIdx>=0&&"function"==typeof Se[$e.cbIdx]?ne($e.name,Se[$e.cbIdx],$e,ce):$.apply(W,Se)}))}function me(de,Ae){de[De("OriginalDelegate")]=Ae}let ae=!1,je=!1;function Lt(){if(ae)return je;ae=!0;try{const de=Ne.navigator.userAgent;(-1!==de.indexOf("MSIE ")||-1!==de.indexOf("Trident/")||-1!==de.indexOf("Edge/"))&&(je=!0)}catch{}return je}Zone.__load_patch("ZoneAwarePromise",((de,Ae,Oe)=>{const Ye=Object.getOwnPropertyDescriptor,ce=Object.defineProperty,W=Oe.symbol,Se=[],$e=!0===de[W("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],st=W("Promise"),ft=W("then");Oe.onUnhandledError=nt=>{if(Oe.showUncaughtError()){const wt=nt&&nt.rejection;wt?console.error("Unhandled Promise rejection:",wt instanceof Error?wt.message:wt,"; Zone:",nt.zone.name,"; Task:",nt.task&&nt.task.source,"; Value:",wt,wt instanceof Error?wt.stack:void 0):console.error(nt)}},Oe.microtaskDrainDone=()=>{for(;Se.length;){const nt=Se.shift();try{nt.zone.runGuarded((()=>{throw nt.throwOriginal?nt.rejection:nt}))}catch(wt){ot(wt)}}};const ht=W("unhandledPromiseRejectionHandler");function ot(nt){Oe.onUnhandledError(nt);try{const wt=Ae[ht];"function"==typeof wt&&wt.call(this,nt)}catch{}}function Kt(nt){return nt&&nt.then}function _n(nt){return nt}function It(nt){return R.reject(nt)}const Pt=W("state"),xt=W("value"),Dt=W("finally"),Gn=W("parentPromiseValue"),Xt=W("parentPromiseState"),cn=null,jn=!1;function sn(nt,wt){return We=>{try{$n(nt,wt,We)}catch(Ct){$n(nt,!1,Ct)}}}const on=function(){let nt=!1;return function(We){return function(){nt||(nt=!0,We.apply(null,arguments))}}},ui=W("currentTaskTrace");function $n(nt,wt,We){const Ct=on();if(nt===We)throw new TypeError("Promise resolved with itself");if(nt[Pt]===cn){let Et=null;try{("object"==typeof We||"function"==typeof We)&&(Et=We&&We.then)}catch(qt){return Ct((()=>{$n(nt,!1,qt)}))(),nt}if(wt!==jn&&We instanceof R&&We.hasOwnProperty(Pt)&&We.hasOwnProperty(xt)&&We[Pt]!==cn)Ci(We),$n(nt,We[Pt],We[xt]);else if(wt!==jn&&"function"==typeof Et)try{Et.call(We,Ct(sn(nt,wt)),Ct(sn(nt,!1)))}catch(qt){Ct((()=>{$n(nt,!1,qt)}))()}else{nt[Pt]=wt;const qt=nt[xt];if(nt[xt]=We,nt[Dt]===Dt&&!0===wt&&(nt[Pt]=nt[Xt],nt[xt]=nt[Gn]),wt===jn&&We instanceof Error){const Vt=Ae.currentTask&&Ae.currentTask.data&&Ae.currentTask.data.__creationTrace__;Vt&&ce(We,ui,{configurable:!0,enumerable:!1,writable:!0,value:Vt})}for(let Vt=0;Vt<qt.length;)Bt(nt,qt[Vt++],qt[Vt++],qt[Vt++],qt[Vt++]);if(0==qt.length&&wt==jn){nt[Pt]=0;let Vt=We;try{throw new Error("Uncaught (in promise): "+function $(nt){return nt&&nt.toString===Object.prototype.toString?(nt.constructor&&nt.constructor.name||"")+": "+JSON.stringify(nt):nt?nt.toString():Object.prototype.toString.call(nt)}(We)+(We&&We.stack?"\n"+We.stack:""))}catch(vt){Vt=vt}$e&&(Vt.throwOriginal=!0),Vt.rejection=We,Vt.promise=nt,Vt.zone=Ae.current,Vt.task=Ae.currentTask,Se.push(Vt),Oe.scheduleMicroTask()}}}return nt}const kn=W("rejectionHandledHandler");function Ci(nt){if(0===nt[Pt]){try{const wt=Ae[kn];wt&&"function"==typeof wt&&wt.call(this,{rejection:nt[xt],promise:nt})}catch{}nt[Pt]=jn;for(let wt=0;wt<Se.length;wt++)nt===Se[wt].promise&&Se.splice(wt,1)}}function Bt(nt,wt,We,Ct,Et){Ci(nt);const qt=nt[Pt],Vt=qt?"function"==typeof Ct?Ct:_n:"function"==typeof Et?Et:It;wt.scheduleMicroTask("Promise.then",(()=>{try{const vt=nt[xt],hn=!!We&&Dt===We[Dt];hn&&(We[Gn]=vt,We[Xt]=qt);const Gt=wt.run(Vt,void 0,hn&&Vt!==It&&Vt!==_n?[]:[vt]);$n(We,!0,Gt)}catch(vt){$n(We,!1,vt)}}),We)}const ie=function(){},U=de.AggregateError;class R{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(wt){return $n(new this(null),!0,wt)}static reject(wt){return $n(new this(null),jn,wt)}static any(wt){if(!wt||"function"!=typeof wt[Symbol.iterator])return Promise.reject(new U([],"All promises were rejected"));const We=[];let Ct=0;try{for(let Vt of wt)Ct++,We.push(R.resolve(Vt))}catch{return Promise.reject(new U([],"All promises were rejected"))}if(0===Ct)return Promise.reject(new U([],"All promises were rejected"));let Et=!1;const qt=[];return new R(((Vt,vt)=>{for(let hn=0;hn<We.length;hn++)We[hn].then((Gt=>{Et||(Et=!0,Vt(Gt))}),(Gt=>{qt.push(Gt),Ct--,0===Ct&&(Et=!0,vt(new U(qt,"All promises were rejected")))}))}))}static race(wt){let We,Ct,Et=new this(((vt,hn)=>{We=vt,Ct=hn}));function qt(vt){We(vt)}function Vt(vt){Ct(vt)}for(let vt of wt)Kt(vt)||(vt=this.resolve(vt)),vt.then(qt,Vt);return Et}static all(wt){return R.allWithCallback(wt)}static allSettled(wt){return(this&&this.prototype instanceof R?this:R).allWithCallback(wt,{thenCallback:Ct=>({status:"fulfilled",value:Ct}),errorCallback:Ct=>({status:"rejected",reason:Ct})})}static allWithCallback(wt,We){let Ct,Et,qt=new this(((Gt,Wn)=>{Ct=Gt,Et=Wn})),Vt=2,vt=0;const hn=[];for(let Gt of wt){Kt(Gt)||(Gt=this.resolve(Gt));const Wn=vt;try{Gt.then((an=>{hn[Wn]=We?We.thenCallback(an):an,Vt--,0===Vt&&Ct(hn)}),(an=>{We?(hn[Wn]=We.errorCallback(an),Vt--,0===Vt&&Ct(hn)):Et(an)}))}catch(an){Et(an)}Vt++,vt++}return Vt-=2,0===Vt&&Ct(hn),qt}constructor(wt){const We=this;if(!(We instanceof R))throw new Error("Must be an instanceof Promise.");We[Pt]=cn,We[xt]=[];try{const Ct=on();wt&&wt(Ct(sn(We,!0)),Ct(sn(We,jn)))}catch(Ct){$n(We,!1,Ct)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return R}then(wt,We){var Ct;let Et=null===(Ct=this.constructor)||void 0===Ct?void 0:Ct[Symbol.species];(!Et||"function"!=typeof Et)&&(Et=this.constructor||R);const qt=new Et(ie),Vt=Ae.current;return this[Pt]==cn?this[xt].push(Vt,qt,wt,We):Bt(this,Vt,qt,wt,We),qt}catch(wt){return this.then(null,wt)}finally(wt){var We;let Ct=null===(We=this.constructor)||void 0===We?void 0:We[Symbol.species];(!Ct||"function"!=typeof Ct)&&(Ct=R);const Et=new Ct(ie);Et[Dt]=Dt;const qt=Ae.current;return this[Pt]==cn?this[xt].push(qt,Et,wt,wt):Bt(this,qt,Et,wt,wt),Et}}R.resolve=R.resolve,R.reject=R.reject,R.race=R.race,R.all=R.all;const te=de[st]=de.Promise;de.Promise=R;const Ie=W("thenPatched");function rt(nt){const wt=nt.prototype,We=Ye(wt,"then");if(We&&(!1===We.writable||!We.configurable))return;const Ct=wt.then;wt[ft]=Ct,nt.prototype.then=function(Et,qt){return new R(((vt,hn)=>{Ct.call(this,vt,hn)})).then(Et,qt)},nt[Ie]=!0}return Oe.patchThen=rt,te&&(rt(te),Fe(de,"fetch",(nt=>function Ht(nt){return function(wt,We){let Ct=nt.apply(wt,We);if(Ct instanceof R)return Ct;let Et=Ct.constructor;return Et[Ie]||rt(Et),Ct}}(nt)))),Promise[Ae.__symbol__("uncaughtPromiseErrors")]=Se,R})),Zone.__load_patch("toString",(de=>{const Ae=Function.prototype.toString,Oe=De("OriginalDelegate"),Ye=De("Promise"),ce=De("Error"),$=function(){if("function"==typeof this){const st=this[Oe];if(st)return"function"==typeof st?Ae.call(st):Object.prototype.toString.call(st);if(this===Promise){const ft=de[Ye];if(ft)return Ae.call(ft)}if(this===Error){const ft=de[ce];if(ft)return Ae.call(ft)}}return Ae.call(this)};$[Oe]=Ae,Function.prototype.toString=$;const W=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":W.call(this)}}));let mn=!1;if(typeof window<"u")try{const de=Object.defineProperty({},"passive",{get:function(){mn=!0}});window.addEventListener("test",de,de),window.removeEventListener("test",de,de)}catch{mn=!1}const Ei={useG:!0},Dn={},Di={},Rn=new RegExp("^"+ye+"(\\w+)(true|false)$"),dn=De("propagationStopped");function li(de,Ae){const Oe=(Ae?Ae(de):de)+le,Ye=(Ae?Ae(de):de)+oe,ce=ye+Oe,$=ye+Ye;Dn[de]={},Dn[de][le]=ce,Dn[de][oe]=$}function Oi(de,Ae,Oe,Ye){const ce=Ye&&Ye.add||V,$=Ye&&Ye.rm||Q,W=Ye&&Ye.listeners||"eventListeners",Se=Ye&&Ye.rmAll||"removeAllListeners",$e=De(ce),st="."+ce+":",ht=function(xt,Dt,Gn){if(xt.isRemoved)return;const Xt=xt.callback;let wn;"object"==typeof Xt&&Xt.handleEvent&&(xt.callback=Nt=>Xt.handleEvent(Nt),xt.originalDelegate=Xt);try{xt.invoke(xt,Dt,[Gn])}catch(Nt){wn=Nt}const cn=xt.options;return cn&&"object"==typeof cn&&cn.once&&Dt[$].call(Dt,Gn.type,xt.originalDelegate?xt.originalDelegate:xt.callback,cn),wn};function ot(xt,Dt,Gn){if(!(Dt=Dt||de.event))return;const Xt=xt||Dt.target||de,wn=Xt[Dn[Dt.type][Gn?oe:le]];if(wn){const cn=[];if(1===wn.length){const Nt=ht(wn[0],Xt,Dt);Nt&&cn.push(Nt)}else{const Nt=wn.slice();for(let jn=0;jn<Nt.length&&(!Dt||!0!==Dt[dn]);jn++){const kt=ht(Nt[jn],Xt,Dt);kt&&cn.push(kt)}}if(1===cn.length)throw cn[0];for(let Nt=0;Nt<cn.length;Nt++){const jn=cn[Nt];Ae.nativeScheduleMicroTask((()=>{throw jn}))}}}const Kt=function(xt){return ot(this,xt,!1)},_n=function(xt){return ot(this,xt,!0)};function It(xt,Dt){if(!xt)return!1;let Gn=!0;Dt&&void 0!==Dt.useG&&(Gn=Dt.useG);const Xt=Dt&&Dt.vh;let wn=!0;Dt&&void 0!==Dt.chkDup&&(wn=Dt.chkDup);let cn=!1;Dt&&void 0!==Dt.rt&&(cn=Dt.rt);let Nt=xt;for(;Nt&&!Nt.hasOwnProperty(ce);)Nt=T(Nt);if(!Nt&&xt[ce]&&(Nt=xt),!Nt||Nt[$e])return!1;const jn=Dt&&Dt.eventNameToString,kt={},sn=Nt[$e]=Nt[ce],on=Nt[De($)]=Nt[$],vi=Nt[De(W)]=Nt[W],ui=Nt[De(Se)]=Nt[Se];let $n;function kn(We,Ct){return!mn&&"object"==typeof We&&We?!!We.capture:mn&&Ct?"boolean"==typeof We?{capture:We,passive:!0}:We?"object"==typeof We&&!1!==We.passive?Object.assign(Object.assign({},We),{passive:!0}):We:{passive:!0}:We}Dt&&Dt.prepend&&($n=Nt[De(Dt.prepend)]=Nt[Dt.prepend]);const R=Gn?function(We){if(!kt.isExisting)return sn.call(kt.target,kt.eventName,kt.capture?_n:Kt,kt.options)}:function(We){return sn.call(kt.target,kt.eventName,We.invoke,kt.options)},te=Gn?function(We){if(!We.isRemoved){const Ct=Dn[We.eventName];let Et;Ct&&(Et=Ct[We.capture?oe:le]);const qt=Et&&We.target[Et];if(qt)for(let Vt=0;Vt<qt.length;Vt++)if(qt[Vt]===We){qt.splice(Vt,1),We.isRemoved=!0,0===qt.length&&(We.allRemoved=!0,We.target[Et]=null);break}}if(We.allRemoved)return on.call(We.target,We.eventName,We.capture?_n:Kt,We.options)}:function(We){return on.call(We.target,We.eventName,We.invoke,We.options)},rt=Dt&&Dt.diff?Dt.diff:function(We,Ct){const Et=typeof Ct;return"function"===Et&&We.callback===Ct||"object"===Et&&We.originalDelegate===Ct},Ht=Zone[De("UNPATCHED_EVENTS")],nt=de[De("PASSIVE_EVENTS")],wt=function(We,Ct,Et,qt,Vt=!1,vt=!1){return function(){const hn=this||de;let Gt=arguments[0];Dt&&Dt.transferEventName&&(Gt=Dt.transferEventName(Gt));let Wn=arguments[1];if(!Wn)return We.apply(this,arguments);if(Ke&&"uncaughtException"===Gt)return We.apply(this,arguments);let an=!1;if("function"!=typeof Wn){if(!Wn.handleEvent)return We.apply(this,arguments);an=!0}if(Xt&&!Xt(We,Wn,hn,arguments))return;const ri=mn&&!!nt&&-1!==nt.indexOf(Gt),yi=kn(arguments[2],ri);if(Ht)for(let b=0;b<Ht.length;b++)if(Gt===Ht[b])return ri?We.call(hn,Gt,Wn,yi):We.apply(this,arguments);const Vi=!!yi&&("boolean"==typeof yi||yi.capture),Ii=!(!yi||"object"!=typeof yi)&&yi.once,Qi=Zone.current;let mr=Dn[Gt];mr||(li(Gt,jn),mr=Dn[Gt]);const zn=mr[Vi?oe:le];let Gi,Hi=hn[zn],$r=!1;if(Hi){if($r=!0,wn)for(let b=0;b<Hi.length;b++)if(rt(Hi[b],Wn))return}else Hi=hn[zn]=[];const Ar=hn.constructor.name,Pi=Di[Ar];Pi&&(Gi=Pi[Gt]),Gi||(Gi=Ar+Ct+(jn?jn(Gt):Gt)),kt.options=yi,Ii&&(kt.options.once=!1),kt.target=hn,kt.capture=Vi,kt.eventName=Gt,kt.isExisting=$r;const J=Gn?Ei:void 0;J&&(J.taskData=kt);const L=Qi.scheduleEventTask(Gi,Wn,J,Et,qt);return kt.target=null,J&&(J.taskData=null),Ii&&(yi.once=!0),!mn&&"boolean"==typeof L.options||(L.options=yi),L.target=hn,L.capture=Vi,L.eventName=Gt,an&&(L.originalDelegate=Wn),vt?Hi.unshift(L):Hi.push(L),Vt?hn:void 0}};return Nt[ce]=wt(sn,st,R,te,cn),$n&&(Nt.prependListener=wt($n,".prependListener:",(function(We){return $n.call(kt.target,kt.eventName,We.invoke,kt.options)}),te,cn,!0)),Nt[$]=function(){const We=this||de;let Ct=arguments[0];Dt&&Dt.transferEventName&&(Ct=Dt.transferEventName(Ct));const Et=arguments[2],qt=!!Et&&("boolean"==typeof Et||Et.capture),Vt=arguments[1];if(!Vt)return on.apply(this,arguments);if(Xt&&!Xt(on,Vt,We,arguments))return;const vt=Dn[Ct];let hn;vt&&(hn=vt[qt?oe:le]);const Gt=hn&&We[hn];if(Gt)for(let Wn=0;Wn<Gt.length;Wn++){const an=Gt[Wn];if(rt(an,Vt))return Gt.splice(Wn,1),an.isRemoved=!0,0===Gt.length&&(an.allRemoved=!0,We[hn]=null,"string"==typeof Ct)&&(We[ye+"ON_PROPERTY"+Ct]=null),an.zone.cancelTask(an),cn?We:void 0}return on.apply(this,arguments)},Nt[W]=function(){const We=this||de;let Ct=arguments[0];Dt&&Dt.transferEventName&&(Ct=Dt.transferEventName(Ct));const Et=[],qt=fn(We,jn?jn(Ct):Ct);for(let Vt=0;Vt<qt.length;Vt++){const vt=qt[Vt];Et.push(vt.originalDelegate?vt.originalDelegate:vt.callback)}return Et},Nt[Se]=function(){const We=this||de;let Ct=arguments[0];if(Ct){Dt&&Dt.transferEventName&&(Ct=Dt.transferEventName(Ct));const Et=Dn[Ct];if(Et){const vt=We[Et[le]],hn=We[Et[oe]];if(vt){const Gt=vt.slice();for(let Wn=0;Wn<Gt.length;Wn++){const an=Gt[Wn];this[$].call(this,Ct,an.originalDelegate?an.originalDelegate:an.callback,an.options)}}if(hn){const Gt=hn.slice();for(let Wn=0;Wn<Gt.length;Wn++){const an=Gt[Wn];this[$].call(this,Ct,an.originalDelegate?an.originalDelegate:an.callback,an.options)}}}}else{const Et=Object.keys(We);for(let qt=0;qt<Et.length;qt++){const vt=Rn.exec(Et[qt]);let hn=vt&&vt[1];hn&&"removeListener"!==hn&&this[Se].call(this,hn)}this[Se].call(this,"removeListener")}if(cn)return this},me(Nt[ce],sn),me(Nt[$],on),ui&&me(Nt[Se],ui),vi&&me(Nt[W],vi),!0}let Pt=[];for(let xt=0;xt<Oe.length;xt++)Pt[xt]=It(Oe[xt],Ye);return Pt}function fn(de,Ae){if(!Ae){const $=[];for(let W in de){const Se=Rn.exec(W);let $e=Se&&Se[1];if($e&&(!Ae||$e===Ae)){const st=de[W];if(st)for(let ft=0;ft<st.length;ft++)$.push(st[ft])}}return $}let Oe=Dn[Ae];Oe||(li(Ae),Oe=Dn[Ae]);const Ye=de[Oe[le]],ce=de[Oe[oe]];return Ye?ce?Ye.concat(ce):Ye.slice():ce?ce.slice():[]}function Zn(de,Ae){const Oe=de.Event;Oe&&Oe.prototype&&Ae.patchMethod(Oe.prototype,"stopImmediatePropagation",(Ye=>function(ce,$){ce[dn]=!0,Ye&&Ye.apply(ce,$)}))}function Zi(de,Ae,Oe,Ye,ce){const $=Zone.__symbol__(Ye);if(Ae[$])return;const W=Ae[$]=Ae[Ye];Ae[Ye]=function(Se,$e,st){return $e&&$e.prototype&&ce.forEach((function(ft){const Ut=`${Oe}.${Ye}::`+ft,ht=$e.prototype;try{if(ht.hasOwnProperty(ft)){const ot=de.ObjectGetOwnPropertyDescriptor(ht,ft);ot&&ot.value?(ot.value=de.wrapWithCurrentZone(ot.value,Ut),de._redefineProperty($e.prototype,ft,ot)):ht[ft]&&(ht[ft]=de.wrapWithCurrentZone(ht[ft],Ut))}else ht[ft]&&(ht[ft]=de.wrapWithCurrentZone(ht[ft],Ut))}catch{}})),W.call(Ae,Se,$e,st)},de.attachOriginToPatched(Ae[Ye],W)}function fi(de,Ae,Oe){if(!Oe||0===Oe.length)return Ae;const Ye=Oe.filter(($=>$.target===de));if(!Ye||0===Ye.length)return Ae;const ce=Ye[0].ignoreProperties;return Ae.filter(($=>-1===ce.indexOf($)))}function Un(de,Ae,Oe,Ye){de&&be(de,fi(de,Ae,Oe),Ye)}function mi(de){return Object.getOwnPropertyNames(de).filter((Ae=>Ae.startsWith("on")&&Ae.length>2)).map((Ae=>Ae.substring(2)))}Zone.__load_patch("util",((de,Ae,Oe)=>{const Ye=mi(de);Oe.patchOnProperties=be,Oe.patchMethod=Fe,Oe.bindArguments=Be,Oe.patchMacroTask=Te;const ce=Ae.__symbol__("BLACK_LISTED_EVENTS"),$=Ae.__symbol__("UNPATCHED_EVENTS");de[$]&&(de[ce]=de[$]),de[ce]&&(Ae[ce]=Ae[$]=de[ce]),Oe.patchEventPrototype=Zn,Oe.patchEventTarget=Oi,Oe.isIEOrEdge=Lt,Oe.ObjectDefineProperty=q,Oe.ObjectGetOwnPropertyDescriptor=Pe,Oe.ObjectCreate=l,Oe.ArraySlice=v,Oe.patchClass=He,Oe.wrapWithCurrentZone=Y,Oe.filterProperties=fi,Oe.attachOriginToPatched=me,Oe._redefineProperty=Object.defineProperty,Oe.patchCallbacks=Zi,Oe.getGlobalObjects=()=>({globalSources:Di,zoneSymbolEventNames:Dn,eventNames:Ye,isBrowser:pe,isMix:Xe,isNode:Ke,TRUE_STR:oe,FALSE_STR:le,ZONE_SYMBOL_PREFIX:ye,ADD_EVENT_LISTENER_STR:V,REMOVE_EVENT_LISTENER_STR:Q})}));const Yi=De("zoneTask");function ti(de,Ae,Oe,Ye){let ce=null,$=null;Oe+=Ye;const W={};function Se(st){const ft=st.data;return ft.args[0]=function(){return st.invoke.apply(this,arguments)},ft.handleId=ce.apply(de,ft.args),st}function $e(st){return $.call(de,st.data.handleId)}ce=Fe(de,Ae+=Ye,(st=>function(ft,Ut){if("function"==typeof Ut[0]){const ht={isPeriodic:"Interval"===Ye,delay:"Timeout"===Ye||"Interval"===Ye?Ut[1]||0:void 0,args:Ut},ot=Ut[0];Ut[0]=function(){try{return ot.apply(this,arguments)}finally{ht.isPeriodic||("number"==typeof ht.handleId?delete W[ht.handleId]:ht.handleId&&(ht.handleId[Yi]=null))}};const Kt=ne(Ae,Ut[0],ht,Se,$e);if(!Kt)return Kt;const _n=Kt.data.handleId;return"number"==typeof _n?W[_n]=Kt:_n&&(_n[Yi]=Kt),_n&&_n.ref&&_n.unref&&"function"==typeof _n.ref&&"function"==typeof _n.unref&&(Kt.ref=_n.ref.bind(_n),Kt.unref=_n.unref.bind(_n)),"number"==typeof _n||_n?_n:Kt}return st.apply(de,Ut)})),$=Fe(de,Oe,(st=>function(ft,Ut){const ht=Ut[0];let ot;"number"==typeof ht?ot=W[ht]:(ot=ht&&ht[Yi],ot||(ot=ht)),ot&&"string"==typeof ot.type?"notScheduled"!==ot.state&&(ot.cancelFn&&ot.data.isPeriodic||0===ot.runCount)&&("number"==typeof ht?delete W[ht]:ht&&(ht[Yi]=null),ot.zone.cancelTask(ot)):st.apply(de,Ut)}))}Zone.__load_patch("legacy",(de=>{const Ae=de[Zone.__symbol__("legacyPatch")];Ae&&Ae()})),Zone.__load_patch("queueMicrotask",((de,Ae,Oe)=>{Oe.patchMethod(de,"queueMicrotask",(Ye=>function(ce,$){Ae.current.scheduleMicroTask("queueMicrotask",$[0])}))})),Zone.__load_patch("timers",(de=>{const Oe="clear";ti(de,"set",Oe,"Timeout"),ti(de,"set",Oe,"Interval"),ti(de,"set",Oe,"Immediate")})),Zone.__load_patch("requestAnimationFrame",(de=>{ti(de,"request","cancel","AnimationFrame"),ti(de,"mozRequest","mozCancel","AnimationFrame"),ti(de,"webkitRequest","webkitCancel","AnimationFrame")})),Zone.__load_patch("blocking",((de,Ae)=>{const Oe=["alert","prompt","confirm"];for(let Ye=0;Ye<Oe.length;Ye++)Fe(de,Oe[Ye],(($,W,Se)=>function($e,st){return Ae.current.run($,de,st,Se)}))})),Zone.__load_patch("EventTarget",((de,Ae,Oe)=>{(function Xn(de,Ae){Ae.patchEventPrototype(de,Ae)})(de,Oe),function gr(de,Ae){if(Zone[Ae.symbol("patchEventTarget")])return;const{eventNames:Oe,zoneSymbolEventNames:Ye,TRUE_STR:ce,FALSE_STR:$,ZONE_SYMBOL_PREFIX:W}=Ae.getGlobalObjects();for(let $e=0;$e<Oe.length;$e++){const st=Oe[$e],ht=W+(st+$),ot=W+(st+ce);Ye[st]={},Ye[st][$]=ht,Ye[st][ce]=ot}const Se=de.EventTarget;Se&&Se.prototype&&Ae.patchEventTarget(de,Ae,[Se&&Se.prototype])}(de,Oe);const Ye=de.XMLHttpRequestEventTarget;Ye&&Ye.prototype&&Oe.patchEventTarget(de,Oe,[Ye.prototype])})),Zone.__load_patch("MutationObserver",((de,Ae,Oe)=>{He("MutationObserver"),He("WebKitMutationObserver")})),Zone.__load_patch("IntersectionObserver",((de,Ae,Oe)=>{He("IntersectionObserver")})),Zone.__load_patch("FileReader",((de,Ae,Oe)=>{He("FileReader")})),Zone.__load_patch("on_property",((de,Ae,Oe)=>{!function ci(de,Ae){if(Ke&&!Xe||Zone[de.symbol("patchEvents")])return;const Oe=Ae.__Zone_ignore_on_properties;let Ye=[];if(pe){const ce=window;Ye=Ye.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const $=function Jt(){try{const de=Ne.navigator.userAgent;if(-1!==de.indexOf("MSIE ")||-1!==de.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:ce,ignoreProperties:["error"]}]:[];Un(ce,mi(ce),Oe&&Oe.concat($),T(ce))}Ye=Ye.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let ce=0;ce<Ye.length;ce++){const $=Ae[Ye[ce]];$&&$.prototype&&Un($.prototype,mi($.prototype),Oe)}}(Oe,de)})),Zone.__load_patch("customElements",((de,Ae,Oe)=>{!function hi(de,Ae){const{isBrowser:Oe,isMix:Ye}=Ae.getGlobalObjects();(Oe||Ye)&&de.customElements&&"customElements"in de&&Ae.patchCallbacks(Ae,de.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(de,Oe)})),Zone.__load_patch("XHR",((de,Ae)=>{!function $e(st){const ft=st.XMLHttpRequest;if(!ft)return;const Ut=ft.prototype;let ot=Ut[K],Kt=Ut[fe];if(!ot){const kt=st.XMLHttpRequestEventTarget;if(kt){const sn=kt.prototype;ot=sn[K],Kt=sn[fe]}}const _n="readystatechange",It="scheduled";function Pt(kt){const sn=kt.data,on=sn.target;on[$]=!1,on[Se]=!1;const vi=on[ce];ot||(ot=on[K],Kt=on[fe]),vi&&Kt.call(on,_n,vi);const ui=on[ce]=()=>{if(on.readyState===on.DONE)if(!sn.aborted&&on[$]&&kt.state===It){const kn=on[Ae.__symbol__("loadfalse")];if(0!==on.status&&kn&&kn.length>0){const Ci=kt.invoke;kt.invoke=function(){const Bt=on[Ae.__symbol__("loadfalse")];for(let Ce=0;Ce<Bt.length;Ce++)Bt[Ce]===kt&&Bt.splice(Ce,1);!sn.aborted&&kt.state===It&&Ci.call(kt)},kn.push(kt)}else kt.invoke()}else!sn.aborted&&!1===on[$]&&(on[Se]=!0)};return ot.call(on,_n,ui),on[Oe]||(on[Oe]=kt),Nt.apply(on,sn.args),on[$]=!0,kt}function xt(){}function Dt(kt){const sn=kt.data;return sn.aborted=!0,jn.apply(sn.target,sn.args)}const Gn=Fe(Ut,"open",(()=>function(kt,sn){return kt[Ye]=0==sn[2],kt[W]=sn[1],Gn.apply(kt,sn)})),wn=De("fetchTaskAborting"),cn=De("fetchTaskScheduling"),Nt=Fe(Ut,"send",(()=>function(kt,sn){if(!0===Ae.current[cn]||kt[Ye])return Nt.apply(kt,sn);{const on={target:kt,url:kt[W],isPeriodic:!1,args:sn,aborted:!1},vi=ne("XMLHttpRequest.send",xt,on,Pt,Dt);kt&&!0===kt[Se]&&!on.aborted&&vi.state===It&&vi.invoke()}})),jn=Fe(Ut,"abort",(()=>function(kt,sn){const on=function ht(kt){return kt[Oe]}(kt);if(on&&"string"==typeof on.type){if(null==on.cancelFn||on.data&&on.data.aborted)return;on.zone.cancelTask(on)}else if(!0===Ae.current[wn])return jn.apply(kt,sn)}))}(de);const Oe=De("xhrTask"),Ye=De("xhrSync"),ce=De("xhrListener"),$=De("xhrScheduled"),W=De("xhrURL"),Se=De("xhrErrorBeforeScheduled")})),Zone.__load_patch("geolocation",(de=>{de.navigator&&de.navigator.geolocation&&function dt(de,Ae){const Oe=de.constructor.name;for(let Ye=0;Ye<Ae.length;Ye++){const ce=Ae[Ye],$=de[ce];if($){if(!gt(Pe(de,ce)))continue;de[ce]=(Se=>{const $e=function(){return Se.apply(this,Be(arguments,Oe+"."+ce))};return me($e,Se),$e})($)}}}(de.navigator.geolocation,["getCurrentPosition","watchPosition"])})),Zone.__load_patch("PromiseRejectionEvent",((de,Ae)=>{function Oe(Ye){return function(ce){fn(de,Ye).forEach((W=>{const Se=de.PromiseRejectionEvent;if(Se){const $e=new Se(Ye,{promise:ce.promise,reason:ce.rejection});W.invoke($e)}}))}}de.PromiseRejectionEvent&&(Ae[De("unhandledPromiseRejectionHandler")]=Oe("unhandledrejection"),Ae[De("rejectionHandledHandler")]=Oe("rejectionhandled"))}))},5987:(Pe,q,T)=>{"use strict";function le(be,xe,He,Fe){return new(He||(He=Promise))((function(me,ae){function je(mn){try{Lt(Fe.next(mn))}catch(Ei){ae(Ei)}}function Jt(mn){try{Lt(Fe.throw(mn))}catch(Ei){ae(Ei)}}function Lt(mn){mn.done?me(mn.value):function Te(me){return me instanceof He?me:new He((function(ae){ae(me)}))}(mn.value).then(je,Jt)}Lt((Fe=Fe.apply(be,xe||[])).next())}))}function Be(be){return this instanceof Be?(this.v=be,this):new Be(be)}function dt(be,xe,He){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Te,Fe=He.apply(be,xe||[]),me=[];return Te={},ae("next"),ae("throw"),ae("return"),Te[Symbol.asyncIterator]=function(){return this},Te;function ae(Dn){Fe[Dn]&&(Te[Dn]=function(Di){return new Promise((function(Rn,dn){me.push([Dn,Di,Rn,dn])>1||je(Dn,Di)}))})}function je(Dn,Di){try{!function Jt(Dn){Dn.value instanceof Be?Promise.resolve(Dn.value.v).then(Lt,mn):Ei(me[0][2],Dn)}(Fe[Dn](Di))}catch(Rn){Ei(me[0][3],Rn)}}function Lt(Dn){je("next",Dn)}function mn(Dn){je("throw",Dn)}function Ei(Dn,Di){Dn(Di),me.shift(),me.length&&je(me[0][0],me[0][1])}}function tt(be){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var He,xe=be[Symbol.asyncIterator];return xe?xe.call(be):(be=function De(be){var xe="function"==typeof Symbol&&Symbol.iterator,He=xe&&be[xe],Fe=0;if(He)return He.call(be);if(be&&"number"==typeof be.length)return{next:function(){return be&&Fe>=be.length&&(be=void 0),{value:be&&be[Fe++],done:!be}}};throw new TypeError(xe?"Object is not iterable.":"Symbol.iterator is not defined.")}(be),He={},Fe("next"),Fe("throw"),Fe("return"),He[Symbol.asyncIterator]=function(){return this},He);function Fe(me){He[me]=be[me]&&function(ae){return new Promise((function(je,Jt){!function Te(me,ae,je,Jt){Promise.resolve(Jt).then((function(Lt){me({value:Lt,done:je})}),ae)}(je,Jt,(ae=be[me](ae)).done,ae.value)}))}}}T.d(q,{FC:()=>dt,KL:()=>tt,mG:()=>le,qq:()=>Be})},7340:(Pe,q,T)=>{"use strict";T.d(q,{IO:()=>ke,LC:()=>v,X$:()=>Q,ZE:()=>gt,ZN:()=>dt,_j:()=>l,eR:()=>ne,jt:()=>K,k1:()=>tt,l3:()=>V,oB:()=>le,pV:()=>Ge,ru:()=>fe,vP:()=>oe});class l{}class v{}const V="*";function Q(Ke,pe){return{type:7,name:Ke,definitions:pe,options:{}}}function K(Ke,pe=null){return{type:4,styles:pe,timings:Ke}}function fe(Ke,pe=null){return{type:3,steps:Ke,options:pe}}function oe(Ke,pe=null){return{type:2,steps:Ke,options:pe}}function le(Ke){return{type:6,styles:Ke,offset:null}}function ne(Ke,pe,Xe=null){return{type:1,expr:Ke,animation:pe,options:Xe}}function Ge(Ke=null){return{type:9,options:Ke}}function ke(Ke,pe,Xe=null){return{type:11,selector:Ke,animation:pe,options:Xe}}function Be(Ke){Promise.resolve().then(Ke)}class dt{constructor(pe=0,Xe=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=pe+Xe}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach((pe=>pe())),this._onDoneFns=[])}onStart(pe){this._originalOnStartFns.push(pe),this._onStartFns.push(pe)}onDone(pe){this._originalOnDoneFns.push(pe),this._onDoneFns.push(pe)}onDestroy(pe){this._onDestroyFns.push(pe)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Be((()=>this._onFinish()))}_onStart(){this._onStartFns.forEach((pe=>pe())),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach((pe=>pe())),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(pe){this._position=this.totalTime?pe*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(pe){const Xe="start"==pe?this._onStartFns:this._onDoneFns;Xe.forEach((Ft=>Ft())),Xe.length=0}}class gt{constructor(pe){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=pe;let Xe=0,Ft=0,Ot=0;const yt=this.players.length;0==yt?Be((()=>this._onFinish())):this.players.forEach((be=>{be.onDone((()=>{++Xe==yt&&this._onFinish()})),be.onDestroy((()=>{++Ft==yt&&this._onDestroy()})),be.onStart((()=>{++Ot==yt&&this._onStart()}))})),this.totalTime=this.players.reduce(((be,xe)=>Math.max(be,xe.totalTime)),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach((pe=>pe())),this._onDoneFns=[])}init(){this.players.forEach((pe=>pe.init()))}onStart(pe){this._onStartFns.push(pe)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach((pe=>pe())),this._onStartFns=[])}onDone(pe){this._onDoneFns.push(pe)}onDestroy(pe){this._onDestroyFns.push(pe)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach((pe=>pe.play()))}pause(){this.players.forEach((pe=>pe.pause()))}restart(){this.players.forEach((pe=>pe.restart()))}finish(){this._onFinish(),this.players.forEach((pe=>pe.finish()))}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach((pe=>pe.destroy())),this._onDestroyFns.forEach((pe=>pe())),this._onDestroyFns=[])}reset(){this.players.forEach((pe=>pe.reset())),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(pe){const Xe=pe*this.totalTime;this.players.forEach((Ft=>{const Ot=Ft.totalTime?Math.min(1,Xe/Ft.totalTime):1;Ft.setPosition(Ot)}))}getPosition(){const pe=this.players.reduce(((Xe,Ft)=>null===Xe||Ft.totalTime>Xe.totalTime?Ft:Xe),null);return null!=pe?pe.getPosition():0}beforeDestroy(){this.players.forEach((pe=>{pe.beforeDestroy&&pe.beforeDestroy()}))}triggerCallback(pe){const Xe="start"==pe?this._onStartFns:this._onDoneFns;Xe.forEach((Ft=>Ft())),Xe.length=0}}const tt="!"},6895:(Pe,q,T)=>{"use strict";T.d(q,{Do:()=>tt,EM:()=>Ui,HT:()=>K,JF:()=>$s,K0:()=>oe,Mx:()=>ri,O5:()=>Gi,Ov:()=>no,S$:()=>Be,V_:()=>Y,Ye:()=>Ke,b0:()=>gt,bD:()=>Go,ez:()=>ps,mk:()=>yi,mr:()=>dt,q:()=>V,sg:()=>zn,tP:()=>si,w_:()=>fe});var l=T(1571);let v=null;function V(){return v}function K(_){v||(v=_)}class fe{}const oe=new l.OlP("DocumentToken");let le=(()=>{class _{historyGo(y){throw new Error("Not implemented")}}return _.ɵfac=function(y){return new(y||_)},_.ɵprov=l.Yz7({token:_,factory:function(){return function ye(){return(0,l.LFG)(ne)}()},providedIn:"platform"}),_})();const Y=new l.OlP("Location Initialized");let ne=(()=>{class _ extends le{constructor(y){super(),this._doc=y,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return V().getBaseHref(this._doc)}onPopState(y){const O=V().getGlobalEventTarget(this._doc,"window");return O.addEventListener("popstate",y,!1),()=>O.removeEventListener("popstate",y)}onHashChange(y){const O=V().getGlobalEventTarget(this._doc,"window");return O.addEventListener("hashchange",y,!1),()=>O.removeEventListener("hashchange",y)}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(y){this.location.pathname=y}pushState(y,O,re){De()?this._history.pushState(y,O,re):this.location.hash=re}replaceState(y,O,re){De()?this._history.replaceState(y,O,re):this.location.hash=re}forward(){this._history.forward()}back(){this._history.back()}historyGo(y=0){this._history.go(y)}getState(){return this._history.state}}return _.ɵfac=function(y){return new(y||_)(l.LFG(oe))},_.ɵprov=l.Yz7({token:_,factory:function(){return function Ge(){return new ne((0,l.LFG)(oe))}()},providedIn:"platform"}),_})();function De(){return!!window.history.pushState}function Ne(_,S){if(0==_.length)return S;if(0==S.length)return _;let y=0;return _.endsWith("/")&&y++,S.startsWith("/")&&y++,2==y?_+S.substring(1):1==y?_+S:_+"/"+S}function ke(_){const S=_.match(/#|\?|$/),y=S&&S.index||_.length;return _.slice(0,y-("/"===_[y-1]?1:0))+_.slice(y)}function mt(_){return _&&"?"!==_[0]?"?"+_:_}let Be=(()=>{class _{historyGo(y){throw new Error("Not implemented")}}return _.ɵfac=function(y){return new(y||_)},_.ɵprov=l.Yz7({token:_,factory:function(){return(0,l.f3M)(gt)},providedIn:"root"}),_})();const dt=new l.OlP("appBaseHref");let gt=(()=>{class _ extends Be{constructor(y,O){super(),this._platformLocation=y,this._removeListenerFns=[],this._baseHref=O??this._platformLocation.getBaseHrefFromDOM()??(0,l.f3M)(oe).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(y){this._removeListenerFns.push(this._platformLocation.onPopState(y),this._platformLocation.onHashChange(y))}getBaseHref(){return this._baseHref}prepareExternalUrl(y){return Ne(this._baseHref,y)}path(y=!1){const O=this._platformLocation.pathname+mt(this._platformLocation.search),re=this._platformLocation.hash;return re&&y?`${O}${re}`:O}pushState(y,O,re,qe){const it=this.prepareExternalUrl(re+mt(qe));this._platformLocation.pushState(y,O,it)}replaceState(y,O,re,qe){const it=this.prepareExternalUrl(re+mt(qe));this._platformLocation.replaceState(y,O,it)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(y=0){this._platformLocation.historyGo?.(y)}}return _.ɵfac=function(y){return new(y||_)(l.LFG(le),l.LFG(dt,8))},_.ɵprov=l.Yz7({token:_,factory:_.ɵfac,providedIn:"root"}),_})(),tt=(()=>{class _ extends Be{constructor(y,O){super(),this._platformLocation=y,this._baseHref="",this._removeListenerFns=[],null!=O&&(this._baseHref=O)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(y){this._removeListenerFns.push(this._platformLocation.onPopState(y),this._platformLocation.onHashChange(y))}getBaseHref(){return this._baseHref}path(y=!1){let O=this._platformLocation.hash;return null==O&&(O="#"),O.length>0?O.substring(1):O}prepareExternalUrl(y){const O=Ne(this._baseHref,y);return O.length>0?"#"+O:O}pushState(y,O,re,qe){let it=this.prepareExternalUrl(re+mt(qe));0==it.length&&(it=this._platformLocation.pathname),this._platformLocation.pushState(y,O,it)}replaceState(y,O,re,qe){let it=this.prepareExternalUrl(re+mt(qe));0==it.length&&(it=this._platformLocation.pathname),this._platformLocation.replaceState(y,O,it)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(y=0){this._platformLocation.historyGo?.(y)}}return _.ɵfac=function(y){return new(y||_)(l.LFG(le),l.LFG(dt,8))},_.ɵprov=l.Yz7({token:_,factory:_.ɵfac}),_})(),Ke=(()=>{class _{constructor(y){this._subject=new l.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=y;const O=this._locationStrategy.getBaseHref();this._baseHref=ke(Ft(O)),this._locationStrategy.onPopState((re=>{this._subject.emit({url:this.path(!0),pop:!0,state:re.state,type:re.type})}))}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(y=!1){return this.normalize(this._locationStrategy.path(y))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(y,O=""){return this.path()==this.normalize(y+mt(O))}normalize(y){return _.stripTrailingSlash(function Xe(_,S){return _&&S.startsWith(_)?S.substring(_.length):S}(this._baseHref,Ft(y)))}prepareExternalUrl(y){return y&&"/"!==y[0]&&(y="/"+y),this._locationStrategy.prepareExternalUrl(y)}go(y,O="",re=null){this._locationStrategy.pushState(re,"",y,O),this._notifyUrlChangeListeners(this.prepareExternalUrl(y+mt(O)),re)}replaceState(y,O="",re=null){this._locationStrategy.replaceState(re,"",y,O),this._notifyUrlChangeListeners(this.prepareExternalUrl(y+mt(O)),re)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(y=0){this._locationStrategy.historyGo?.(y)}onUrlChange(y){return this._urlChangeListeners.push(y),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe((O=>{this._notifyUrlChangeListeners(O.url,O.state)}))),()=>{const O=this._urlChangeListeners.indexOf(y);this._urlChangeListeners.splice(O,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(y="",O){this._urlChangeListeners.forEach((re=>re(y,O)))}subscribe(y,O,re){return this._subject.subscribe({next:y,error:O,complete:re})}}return _.normalizeQueryParams=mt,_.joinWithSlash=Ne,_.stripTrailingSlash=ke,_.ɵfac=function(y){return new(y||_)(l.LFG(Be))},_.ɵprov=l.Yz7({token:_,factory:function(){return function pe(){return new Ke((0,l.LFG)(Be))}()},providedIn:"root"}),_})();function Ft(_){return _.replace(/\/index.html$/,"")}function ri(_,S){S=encodeURIComponent(S);for(const y of _.split(";")){const O=y.indexOf("="),[re,qe]=-1==O?[y,""]:[y.slice(0,O),y.slice(O+1)];if(re.trim()===S)return decodeURIComponent(qe)}return null}let yi=(()=>{class _{constructor(y,O,re,qe){this._iterableDiffers=y,this._keyValueDiffers=O,this._ngEl=re,this._renderer=qe,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(y){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof y?y.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(y){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof y?y.split(/\s+/):y,this._rawClass&&((0,l.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const y=this._iterableDiffer.diff(this._rawClass);y&&this._applyIterableChanges(y)}else if(this._keyValueDiffer){const y=this._keyValueDiffer.diff(this._rawClass);y&&this._applyKeyValueChanges(y)}}_applyKeyValueChanges(y){y.forEachAddedItem((O=>this._toggleClass(O.key,O.currentValue))),y.forEachChangedItem((O=>this._toggleClass(O.key,O.currentValue))),y.forEachRemovedItem((O=>{O.previousValue&&this._toggleClass(O.key,!1)}))}_applyIterableChanges(y){y.forEachAddedItem((O=>{if("string"!=typeof O.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,l.AaK)(O.item)}`);this._toggleClass(O.item,!0)})),y.forEachRemovedItem((O=>this._toggleClass(O.item,!1)))}_applyClasses(y){y&&(Array.isArray(y)||y instanceof Set?y.forEach((O=>this._toggleClass(O,!0))):Object.keys(y).forEach((O=>this._toggleClass(O,!!y[O]))))}_removeClasses(y){y&&(Array.isArray(y)||y instanceof Set?y.forEach((O=>this._toggleClass(O,!1))):Object.keys(y).forEach((O=>this._toggleClass(O,!1))))}_toggleClass(y,O){(y=y.trim())&&y.split(/\s+/g).forEach((re=>{O?this._renderer.addClass(this._ngEl.nativeElement,re):this._renderer.removeClass(this._ngEl.nativeElement,re)}))}}return _.ɵfac=function(y){return new(y||_)(l.Y36(l.ZZ4),l.Y36(l.aQg),l.Y36(l.SBq),l.Y36(l.Qsj))},_.ɵdir=l.lG2({type:_,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),_})();class mr{constructor(S,y,O,re){this.$implicit=S,this.ngForOf=y,this.index=O,this.count=re}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 zn=(()=>{class _{constructor(y,O,re){this._viewContainer=y,this._template=O,this._differs=re,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(y){this._ngForOf=y,this._ngForOfDirty=!0}set ngForTrackBy(y){this._trackByFn=y}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(y){y&&(this._template=y)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const y=this._ngForOf;!this._differ&&y&&(this._differ=this._differs.find(y).create(this.ngForTrackBy))}if(this._differ){const y=this._differ.diff(this._ngForOf);y&&this._applyChanges(y)}}_applyChanges(y){const O=this._viewContainer;y.forEachOperation(((re,qe,it)=>{if(null==re.previousIndex)O.createEmbeddedView(this._template,new mr(re.item,this._ngForOf,-1,-1),null===it?void 0:it);else if(null==it)O.remove(null===qe?void 0:qe);else if(null!==qe){const zt=O.get(qe);O.move(zt,it),Hi(zt,re)}}));for(let re=0,qe=O.length;re<qe;re++){const zt=O.get(re).context;zt.index=re,zt.count=qe,zt.ngForOf=this._ngForOf}y.forEachIdentityChange((re=>{Hi(O.get(re.currentIndex),re)}))}static ngTemplateContextGuard(y,O){return!0}}return _.ɵfac=function(y){return new(y||_)(l.Y36(l.s_b),l.Y36(l.Rgc),l.Y36(l.ZZ4))},_.ɵdir=l.lG2({type:_,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),_})();function Hi(_,S){_.context.$implicit=S.item}let Gi=(()=>{class _{constructor(y,O){this._viewContainer=y,this._context=new Ar,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=O}set ngIf(y){this._context.$implicit=this._context.ngIf=y,this._updateView()}set ngIfThen(y){Pi("ngIfThen",y),this._thenTemplateRef=y,this._thenViewRef=null,this._updateView()}set ngIfElse(y){Pi("ngIfElse",y),this._elseTemplateRef=y,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(y,O){return!0}}return _.ɵfac=function(y){return new(y||_)(l.Y36(l.s_b),l.Y36(l.Rgc))},_.ɵdir=l.lG2({type:_,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),_})();class Ar{constructor(){this.$implicit=null,this.ngIf=null}}function Pi(_,S){if(S&&!S.createEmbeddedView)throw new Error(`${_} must be a TemplateRef, but received '${(0,l.AaK)(S)}'.`)}let si=(()=>{class _{constructor(y){this._viewContainerRef=y,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(y){if(y.ngTemplateOutlet||y.ngTemplateOutletInjector){const O=this._viewContainerRef;if(this._viewRef&&O.remove(O.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:re,ngTemplateOutletContext:qe,ngTemplateOutletInjector:it}=this;this._viewRef=O.createEmbeddedView(re,qe,it?{injector:it}:void 0)}else this._viewRef=null}else this._viewRef&&y.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return _.ɵfac=function(y){return new(y||_)(l.Y36(l.s_b))},_.ɵdir=l.lG2({type:_,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[l.TTD]}),_})();class xi{createSubscription(S,y){return S.subscribe({next:y,error:O=>{throw O}})}dispose(S){S.unsubscribe()}}class Wi{createSubscription(S,y){return S.then(y,(O=>{throw O}))}dispose(S){}}const Nr=new Wi,Po=new xi;let no=(()=>{class _{constructor(y){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=y}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(y){return this._obj?y!==this._obj?(this._dispose(),this.transform(y)):this._latestValue:(y&&this._subscribe(y),this._latestValue)}_subscribe(y){this._obj=y,this._strategy=this._selectStrategy(y),this._subscription=this._strategy.createSubscription(y,(O=>this._updateLatestValue(y,O)))}_selectStrategy(y){if((0,l.QGY)(y))return Nr;if((0,l.F4k)(y))return Po;throw function oi(_,S){return new l.vHH(2100,!1)}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(y,O){y===this._obj&&(this._latestValue=O,this._ref.markForCheck())}}return _.ɵfac=function(y){return new(y||_)(l.Y36(l.sBO,16))},_.ɵpipe=l.Yjl({name:"async",type:_,pure:!1,standalone:!0}),_})(),ps=(()=>{class _{}return _.ɵfac=function(y){return new(y||_)},_.ɵmod=l.oAB({type:_}),_.ɵinj=l.cJS({}),_})();const Go="browser";let Ui=(()=>{class _{}return _.ɵprov=(0,l.Yz7)({token:_,providedIn:"root",factory:()=>new ji((0,l.LFG)(oe),window)}),_})();class ji{constructor(S,y){this.document=S,this.window=y,this.offset=()=>[0,0]}setOffset(S){this.offset=Array.isArray(S)?()=>S:S}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(S){this.supportsScrolling()&&this.window.scrollTo(S[0],S[1])}scrollToAnchor(S){if(!this.supportsScrolling())return;const y=function bo(_,S){const y=_.getElementById(S)||_.getElementsByName(S)[0];if(y)return y;if("function"==typeof _.createTreeWalker&&_.body&&(_.body.createShadowRoot||_.body.attachShadow)){const O=_.createTreeWalker(_.body,NodeFilter.SHOW_ELEMENT);let re=O.currentNode;for(;re;){const qe=re.shadowRoot;if(qe){const it=qe.getElementById(S)||qe.querySelector(`[name="${S}"]`);if(it)return it}re=O.nextNode()}}return null}(this.document,S);y&&(this.scrollToElement(y),y.focus())}setHistoryScrollRestoration(S){if(this.supportScrollRestoration()){const y=this.window.history;y&&y.scrollRestoration&&(y.scrollRestoration=S)}}scrollToElement(S){const y=S.getBoundingClientRect(),O=y.left+this.window.pageXOffset,re=y.top+this.window.pageYOffset,qe=this.offset();this.window.scrollTo(O-qe[0],re-qe[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const S=zr(this.window.history)||zr(Object.getPrototypeOf(this.window.history));return!(!S||!S.writable&&!S.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function zr(_){return Object.getOwnPropertyDescriptor(_,"scrollRestoration")}class $s{}},529:(Pe,q,T)=>{"use strict";T.d(q,{JF:()=>Ae,WM:()=>Y,eN:()=>ae});var l=T(6895),v=T(1571),V=T(9646),Q=T(9751),K=T(4351),fe=T(9300),oe=T(4004);class le{}class ye{}class Y{constructor($){this.normalizedNames=new Map,this.lazyUpdate=null,$?this.lazyInit="string"==typeof $?()=>{this.headers=new Map,$.split("\n").forEach((W=>{const Se=W.indexOf(":");if(Se>0){const $e=W.slice(0,Se),st=$e.toLowerCase(),ft=W.slice(Se+1).trim();this.maybeSetNormalizedName($e,st),this.headers.has(st)?this.headers.get(st).push(ft):this.headers.set(st,[ft])}}))}:()=>{this.headers=new Map,Object.keys($).forEach((W=>{let Se=$[W];const $e=W.toLowerCase();"string"==typeof Se&&(Se=[Se]),Se.length>0&&(this.headers.set($e,Se),this.maybeSetNormalizedName(W,$e))}))}:this.headers=new Map}has($){return this.init(),this.headers.has($.toLowerCase())}get($){this.init();const W=this.headers.get($.toLowerCase());return W&&W.length>0?W[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll($){return this.init(),this.headers.get($.toLowerCase())||null}append($,W){return this.clone({name:$,value:W,op:"a"})}set($,W){return this.clone({name:$,value:W,op:"s"})}delete($,W){return this.clone({name:$,value:W,op:"d"})}maybeSetNormalizedName($,W){this.normalizedNames.has(W)||this.normalizedNames.set(W,$)}init(){this.lazyInit&&(this.lazyInit instanceof Y?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(($=>this.applyUpdate($))),this.lazyUpdate=null))}copyFrom($){$.init(),Array.from($.headers.keys()).forEach((W=>{this.headers.set(W,$.headers.get(W)),this.normalizedNames.set(W,$.normalizedNames.get(W))}))}clone($){const W=new Y;return W.lazyInit=this.lazyInit&&this.lazyInit instanceof Y?this.lazyInit:this,W.lazyUpdate=(this.lazyUpdate||[]).concat([$]),W}applyUpdate($){const W=$.name.toLowerCase();switch($.op){case"a":case"s":let Se=$.value;if("string"==typeof Se&&(Se=[Se]),0===Se.length)return;this.maybeSetNormalizedName($.name,W);const $e=("a"===$.op?this.headers.get(W):void 0)||[];$e.push(...Se),this.headers.set(W,$e);break;case"d":const st=$.value;if(st){let ft=this.headers.get(W);if(!ft)return;ft=ft.filter((Ut=>-1===st.indexOf(Ut))),0===ft.length?(this.headers.delete(W),this.normalizedNames.delete(W)):this.headers.set(W,ft)}else this.headers.delete(W),this.normalizedNames.delete(W)}}forEach($){this.init(),Array.from(this.normalizedNames.keys()).forEach((W=>$(this.normalizedNames.get(W),this.headers.get(W))))}}class De{encodeKey($){return mt($)}encodeValue($){return mt($)}decodeKey($){return decodeURIComponent($)}decodeValue($){return decodeURIComponent($)}}const Ne=/%(\d[a-f0-9])/gi,ke={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function mt(ce){return encodeURIComponent(ce).replace(Ne,(($,W)=>ke[W]??$))}function Be(ce){return`${ce}`}class dt{constructor($={}){if(this.updates=null,this.cloneFrom=null,this.encoder=$.encoder||new De,$.fromString){if($.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Ge(ce,$){const W=new Map;return ce.length>0&&ce.replace(/^\?/,"").split("&").forEach(($e=>{const st=$e.indexOf("="),[ft,Ut]=-1==st?[$.decodeKey($e),""]:[$.decodeKey($e.slice(0,st)),$.decodeValue($e.slice(st+1))],ht=W.get(ft)||[];ht.push(Ut),W.set(ft,ht)})),W}($.fromString,this.encoder)}else $.fromObject?(this.map=new Map,Object.keys($.fromObject).forEach((W=>{const Se=$.fromObject[W],$e=Array.isArray(Se)?Se.map(Be):[Be(Se)];this.map.set(W,$e)}))):this.map=null}has($){return this.init(),this.map.has($)}get($){this.init();const W=this.map.get($);return W?W[0]:null}getAll($){return this.init(),this.map.get($)||null}keys(){return this.init(),Array.from(this.map.keys())}append($,W){return this.clone({param:$,value:W,op:"a"})}appendAll($){const W=[];return Object.keys($).forEach((Se=>{const $e=$[Se];Array.isArray($e)?$e.forEach((st=>{W.push({param:Se,value:st,op:"a"})})):W.push({param:Se,value:$e,op:"a"})})),this.clone(W)}set($,W){return this.clone({param:$,value:W,op:"s"})}delete($,W){return this.clone({param:$,value:W,op:"d"})}toString(){return this.init(),this.keys().map(($=>{const W=this.encoder.encodeKey($);return this.map.get($).map((Se=>W+"="+this.encoder.encodeValue(Se))).join("&")})).filter(($=>""!==$)).join("&")}clone($){const W=new dt({encoder:this.encoder});return W.cloneFrom=this.cloneFrom||this,W.updates=(this.updates||[]).concat($),W}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(($=>this.map.set($,this.cloneFrom.map.get($)))),this.updates.forEach(($=>{switch($.op){case"a":case"s":const W=("a"===$.op?this.map.get($.param):void 0)||[];W.push(Be($.value)),this.map.set($.param,W);break;case"d":if(void 0===$.value){this.map.delete($.param);break}{let Se=this.map.get($.param)||[];const $e=Se.indexOf(Be($.value));-1!==$e&&Se.splice($e,1),Se.length>0?this.map.set($.param,Se):this.map.delete($.param)}}})),this.cloneFrom=this.updates=null)}}class tt{constructor(){this.map=new Map}set($,W){return this.map.set($,W),this}get($){return this.map.has($)||this.map.set($,$.defaultValue()),this.map.get($)}delete($){return this.map.delete($),this}has($){return this.map.has($)}keys(){return this.map.keys()}}function pe(ce){return typeof ArrayBuffer<"u"&&ce instanceof ArrayBuffer}function Xe(ce){return typeof Blob<"u"&&ce instanceof Blob}function Ft(ce){return typeof FormData<"u"&&ce instanceof FormData}class yt{constructor($,W,Se,$e){let st;if(this.url=W,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=$.toUpperCase(),function Ke(ce){switch(ce){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||$e?(this.body=void 0!==Se?Se:null,st=$e):st=Se,st&&(this.reportProgress=!!st.reportProgress,this.withCredentials=!!st.withCredentials,st.responseType&&(this.responseType=st.responseType),st.headers&&(this.headers=st.headers),st.context&&(this.context=st.context),st.params&&(this.params=st.params)),this.headers||(this.headers=new Y),this.context||(this.context=new tt),this.params){const ft=this.params.toString();if(0===ft.length)this.urlWithParams=W;else{const Ut=W.indexOf("?");this.urlWithParams=W+(-1===Ut?"?":Ut<W.length-1?"&":"")+ft}}else this.params=new dt,this.urlWithParams=W}serializeBody(){return null===this.body?null:pe(this.body)||Xe(this.body)||Ft(this.body)||function Ot(ce){return typeof URLSearchParams<"u"&&ce instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof dt?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||Ft(this.body)?null:Xe(this.body)?this.body.type||null:pe(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof dt?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone($={}){const W=$.method||this.method,Se=$.url||this.url,$e=$.responseType||this.responseType,st=void 0!==$.body?$.body:this.body,ft=void 0!==$.withCredentials?$.withCredentials:this.withCredentials,Ut=void 0!==$.reportProgress?$.reportProgress:this.reportProgress;let ht=$.headers||this.headers,ot=$.params||this.params;const Kt=$.context??this.context;return void 0!==$.setHeaders&&(ht=Object.keys($.setHeaders).reduce(((_n,It)=>_n.set(It,$.setHeaders[It])),ht)),$.setParams&&(ot=Object.keys($.setParams).reduce(((_n,It)=>_n.set(It,$.setParams[It])),ot)),new yt(W,Se,st,{params:ot,headers:ht,context:Kt,reportProgress:Ut,responseType:$e,withCredentials:ft})}}var be=(()=>((be=be||{})[be.Sent=0]="Sent",be[be.UploadProgress=1]="UploadProgress",be[be.ResponseHeader=2]="ResponseHeader",be[be.DownloadProgress=3]="DownloadProgress",be[be.Response=4]="Response",be[be.User=5]="User",be))();class xe{constructor($,W=200,Se="OK"){this.headers=$.headers||new Y,this.status=void 0!==$.status?$.status:W,this.statusText=$.statusText||Se,this.url=$.url||null,this.ok=this.status>=200&&this.status<300}}class He extends xe{constructor($={}){super($),this.type=be.ResponseHeader}clone($={}){return new He({headers:$.headers||this.headers,status:void 0!==$.status?$.status:this.status,statusText:$.statusText||this.statusText,url:$.url||this.url||void 0})}}class Fe extends xe{constructor($={}){super($),this.type=be.Response,this.body=void 0!==$.body?$.body:null}clone($={}){return new Fe({body:void 0!==$.body?$.body:this.body,headers:$.headers||this.headers,status:void 0!==$.status?$.status:this.status,statusText:$.statusText||this.statusText,url:$.url||this.url||void 0})}}class Te extends xe{constructor($){super($,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${$.url||"(unknown url)"}`:`Http failure response for ${$.url||"(unknown url)"}: ${$.status} ${$.statusText}`,this.error=$.error||null}}function me(ce,$){return{body:$,headers:ce.headers,context:ce.context,observe:ce.observe,params:ce.params,reportProgress:ce.reportProgress,responseType:ce.responseType,withCredentials:ce.withCredentials}}let ae=(()=>{class ce{constructor(W){this.handler=W}request(W,Se,$e={}){let st;if(W instanceof yt)st=W;else{let ht,ot;ht=$e.headers instanceof Y?$e.headers:new Y($e.headers),$e.params&&(ot=$e.params instanceof dt?$e.params:new dt({fromObject:$e.params})),st=new yt(W,Se,void 0!==$e.body?$e.body:null,{headers:ht,context:$e.context,params:ot,reportProgress:$e.reportProgress,responseType:$e.responseType||"json",withCredentials:$e.withCredentials})}const ft=(0,V.of)(st).pipe((0,K.b)((ht=>this.handler.handle(ht))));if(W instanceof yt||"events"===$e.observe)return ft;const Ut=ft.pipe((0,fe.h)((ht=>ht instanceof Fe)));switch($e.observe||"body"){case"body":switch(st.responseType){case"arraybuffer":return Ut.pipe((0,oe.U)((ht=>{if(null!==ht.body&&!(ht.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return ht.body})));case"blob":return Ut.pipe((0,oe.U)((ht=>{if(null!==ht.body&&!(ht.body instanceof Blob))throw new Error("Response is not a Blob.");return ht.body})));case"text":return Ut.pipe((0,oe.U)((ht=>{if(null!==ht.body&&"string"!=typeof ht.body)throw new Error("Response is not a string.");return ht.body})));default:return Ut.pipe((0,oe.U)((ht=>ht.body)))}case"response":return Ut;default:throw new Error(`Unreachable: unhandled observe type ${$e.observe}}`)}}delete(W,Se={}){return this.request("DELETE",W,Se)}get(W,Se={}){return this.request("GET",W,Se)}head(W,Se={}){return this.request("HEAD",W,Se)}jsonp(W,Se){return this.request("JSONP",W,{params:(new dt).append(Se,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(W,Se={}){return this.request("OPTIONS",W,Se)}patch(W,Se,$e={}){return this.request("PATCH",W,me($e,Se))}post(W,Se,$e={}){return this.request("POST",W,me($e,Se))}put(W,Se,$e={}){return this.request("PUT",W,me($e,Se))}}return ce.ɵfac=function(W){return new(W||ce)(v.LFG(le))},ce.ɵprov=v.Yz7({token:ce,factory:ce.ɵfac}),ce})();class je{constructor($,W){this.next=$,this.interceptor=W}handle($){return this.interceptor.intercept($,this.next)}}const Jt=new v.OlP("HTTP_INTERCEPTORS");let Lt=(()=>{class ce{intercept(W,Se){return Se.handle(W)}}return ce.ɵfac=function(W){return new(W||ce)},ce.ɵprov=v.Yz7({token:ce,factory:ce.ɵfac}),ce})();const Zn=/^\)\]\}',?\n/;let fi=(()=>{class ce{constructor(W){this.xhrFactory=W}handle(W){if("JSONP"===W.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new Q.y((Se=>{const $e=this.xhrFactory.build();if($e.open(W.method,W.urlWithParams),W.withCredentials&&($e.withCredentials=!0),W.headers.forEach(((Pt,xt)=>$e.setRequestHeader(Pt,xt.join(",")))),W.headers.has("Accept")||$e.setRequestHeader("Accept","application/json, text/plain, */*"),!W.headers.has("Content-Type")){const Pt=W.detectContentTypeHeader();null!==Pt&&$e.setRequestHeader("Content-Type",Pt)}if(W.responseType){const Pt=W.responseType.toLowerCase();$e.responseType="json"!==Pt?Pt:"text"}const st=W.serializeBody();let ft=null;const Ut=()=>{if(null!==ft)return ft;const Pt=$e.statusText||"OK",xt=new Y($e.getAllResponseHeaders()),Dt=function Zi(ce){return"responseURL"in ce&&ce.responseURL?ce.responseURL:/^X-Request-URL:/m.test(ce.getAllResponseHeaders())?ce.getResponseHeader("X-Request-URL"):null}($e)||W.url;return ft=new He({headers:xt,status:$e.status,statusText:Pt,url:Dt}),ft},ht=()=>{let{headers:Pt,status:xt,statusText:Dt,url:Gn}=Ut(),Xt=null;204!==xt&&(Xt=typeof $e.response>"u"?$e.responseText:$e.response),0===xt&&(xt=Xt?200:0);let wn=xt>=200&&xt<300;if("json"===W.responseType&&"string"==typeof Xt){const cn=Xt;Xt=Xt.replace(Zn,"");try{Xt=""!==Xt?JSON.parse(Xt):null}catch(Nt){Xt=cn,wn&&(wn=!1,Xt={error:Nt,text:Xt})}}wn?(Se.next(new Fe({body:Xt,headers:Pt,status:xt,statusText:Dt,url:Gn||void 0})),Se.complete()):Se.error(new Te({error:Xt,headers:Pt,status:xt,statusText:Dt,url:Gn||void 0}))},ot=Pt=>{const{url:xt}=Ut(),Dt=new Te({error:Pt,status:$e.status||0,statusText:$e.statusText||"Unknown Error",url:xt||void 0});Se.error(Dt)};let Kt=!1;const _n=Pt=>{Kt||(Se.next(Ut()),Kt=!0);let xt={type:be.DownloadProgress,loaded:Pt.loaded};Pt.lengthComputable&&(xt.total=Pt.total),"text"===W.responseType&&!!$e.responseText&&(xt.partialText=$e.responseText),Se.next(xt)},It=Pt=>{let xt={type:be.UploadProgress,loaded:Pt.loaded};Pt.lengthComputable&&(xt.total=Pt.total),Se.next(xt)};return $e.addEventListener("load",ht),$e.addEventListener("error",ot),$e.addEventListener("timeout",ot),$e.addEventListener("abort",ot),W.reportProgress&&($e.addEventListener("progress",_n),null!==st&&$e.upload&&$e.upload.addEventListener("progress",It)),$e.send(st),Se.next({type:be.Sent}),()=>{$e.removeEventListener("error",ot),$e.removeEventListener("abort",ot),$e.removeEventListener("load",ht),$e.removeEventListener("timeout",ot),W.reportProgress&&($e.removeEventListener("progress",_n),null!==st&&$e.upload&&$e.upload.removeEventListener("progress",It)),$e.readyState!==$e.DONE&&$e.abort()}}))}}return ce.ɵfac=function(W){return new(W||ce)(v.LFG(l.JF))},ce.ɵprov=v.Yz7({token:ce,factory:ce.ɵfac}),ce})();const Un=new v.OlP("XSRF_COOKIE_NAME"),mi=new v.OlP("XSRF_HEADER_NAME");class ci{}let Yi=(()=>{class ce{constructor(W,Se,$e){this.doc=W,this.platform=Se,this.cookieName=$e,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const W=this.doc.cookie||"";return W!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,l.Mx)(W,this.cookieName),this.lastCookieString=W),this.lastToken}}return ce.ɵfac=function(W){return new(W||ce)(v.LFG(l.K0),v.LFG(v.Lbi),v.LFG(Un))},ce.ɵprov=v.Yz7({token:ce,factory:ce.ɵfac}),ce})(),ti=(()=>{class ce{constructor(W,Se){this.tokenService=W,this.headerName=Se}intercept(W,Se){const $e=W.url.toLowerCase();if("GET"===W.method||"HEAD"===W.method||$e.startsWith("http://")||$e.startsWith("https://"))return Se.handle(W);const st=this.tokenService.getToken();return null!==st&&!W.headers.has(this.headerName)&&(W=W.clone({headers:W.headers.set(this.headerName,st)})),Se.handle(W)}}return ce.ɵfac=function(W){return new(W||ce)(v.LFG(ci),v.LFG(mi))},ce.ɵprov=v.Yz7({token:ce,factory:ce.ɵfac}),ce})(),hi=(()=>{class ce{constructor(W,Se){this.backend=W,this.injector=Se,this.chain=null}handle(W){if(null===this.chain){const Se=this.injector.get(Jt,[]);this.chain=Se.reduceRight((($e,st)=>new je($e,st)),this.backend)}return this.chain.handle(W)}}return ce.ɵfac=function(W){return new(W||ce)(v.LFG(ye),v.LFG(v.zs3))},ce.ɵprov=v.Yz7({token:ce,factory:ce.ɵfac}),ce})(),de=(()=>{class ce{static disable(){return{ngModule:ce,providers:[{provide:ti,useClass:Lt}]}}static withOptions(W={}){return{ngModule:ce,providers:[W.cookieName?{provide:Un,useValue:W.cookieName}:[],W.headerName?{provide:mi,useValue:W.headerName}:[]]}}}return ce.ɵfac=function(W){return new(W||ce)},ce.ɵmod=v.oAB({type:ce}),ce.ɵinj=v.cJS({providers:[ti,{provide:Jt,useExisting:ti,multi:!0},{provide:ci,useClass:Yi},{provide:Un,useValue:"XSRF-TOKEN"},{provide:mi,useValue:"X-XSRF-TOKEN"}]}),ce})(),Ae=(()=>{class ce{}return ce.ɵfac=function(W){return new(W||ce)},ce.ɵmod=v.oAB({type:ce}),ce.ɵinj=v.cJS({providers:[ae,{provide:le,useClass:hi},fi,{provide:ye,useExisting:fi}],imports:[de.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]}),ce})()},1571:(Pe,q,T)=>{"use strict";T.d(q,{QbO:()=>jw,tb:()=>wy,AFp:()=>vy,ip1:()=>_y,CZH:()=>Fh,hGG:()=>Pb,z2F:()=>Bh,sBO:()=>fb,Sil:()=>Kw,_Vd:()=>Pl,EJc:()=>Gw,Xts:()=>Du,SBq:()=>xl,lqb:()=>ia,qLn:()=>ra,vpe:()=>la,XFs:()=>Oe,OlP:()=>tn,zs3:()=>fr,ZZ4:()=>Hm,aQg:()=>Um,soG:()=>Lh,YKP:()=>Cv,h0i:()=>$c,PXZ:()=>sb,R0b:()=>us,FiY:()=>Zs,Lbi:()=>Uw,g9A:()=>Cy,Qsj:()=>kp,FYo:()=>kf,JOm:()=>eo,q3G:()=>or,tp0:()=>Ia,Rgc:()=>Cd,dDg:()=>nb,eoX:()=>Py,GfV:()=>Iu,s_b:()=>Nh,ifc:()=>ht,MMx:()=>gm,Lck:()=>V1,eFA:()=>Iy,G48:()=>db,Gpc:()=>mt,f3M:()=>Pd,_c5:()=>Tb,c2e:()=>$w,zSh:()=>Pu,wAp:()=>En,vHH:()=>tt,lri:()=>Sy,rWj:()=>Ty,EiD:()=>vf,mCW:()=>Dl,qzn:()=>Ua,JVY:()=>uf,pB0:()=>ff,eBb:()=>vu,L6k:()=>El,LAX:()=>df,D6c:()=>xb,cg1:()=>am,kL8:()=>G0,dqk:()=>ot,Z0I:()=>mi,sIi:()=>nn,CqO:()=>q_,QGY:()=>em,QP$:()=>U,F4k:()=>K_,RDi:()=>pu,AaK:()=>Ge,z3N:()=>ss,qOj:()=>s,TTD:()=>ro,_Bn:()=>yv,jDz:()=>bv,xp6:()=>Hf,uIk:()=>$o,Tol:()=>y0,ekj:()=>im,Suo:()=>Kv,Xpm:()=>jn,lG2:()=>kn,Yz7:()=>Zn,cJS:()=>fi,oAB:()=>vi,Yjl:()=>Ci,Y36:()=>Za,_UZ:()=>Jg,GkF:()=>Xg,BQk:()=>Mh,ynx:()=>Eh,qZA:()=>bh,TgZ:()=>wh,EpF:()=>W_,n5z:()=>Es,LFG:()=>dr,$8M:()=>Hl,$Z:()=>qf,NdJ:()=>tm,CRH:()=>qv,kcU:()=>St,O4$:()=>Qe,oxw:()=>X_,ALo:()=>Bv,lcZ:()=>Vv,Hsn:()=>t0,F$t:()=>e0,Q6J:()=>Yg,s9C:()=>nm,MGl:()=>Dh,VKq:()=>xv,WLB:()=>Ov,kEZ:()=>Iv,l5B:()=>Av,iGM:()=>Gv,MAs:()=>G_,KtG:()=>Zo,CHM:()=>qo,oJD:()=>yf,LSH:()=>Mu,YNc:()=>z_,W1O:()=>Jv,_uU:()=>S0,Oqu:()=>om,hij:()=>Th,AsE:()=>sm,Gf:()=>Wv});var l=T(7579),v=T(727),V=T(9751),Q=T(6451),K=T(2076),fe=T(5698),oe=T(930),le=T(4482);function Y(e,t,...n){return!0===t?(e(),null):!1===t?null:t(...n).pipe((0,fe.q)(1)).subscribe((()=>e()))}function ne(e){for(let t in e)if(e[t]===ne)return t;throw Error("Could not find renamed property on target object.")}function De(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Ge(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Ge).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 Ne(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const ke=ne({__forward_ref__:ne});function mt(e){return e.__forward_ref__=mt,e.toString=function(){return Ge(this())},e}function Be(e){return dt(e)?e():e}function dt(e){return"function"==typeof e&&e.hasOwnProperty(ke)&&e.__forward_ref__===mt}class tt extends Error{constructor(t,n){super(function Ke(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function pe(e){return"string"==typeof e?e:null==e?"":String(e)}function be(e,t){throw new tt(-201,!1)}function Rn(e,t){null==e&&function dn(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function Zn(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function fi(e){return{providers:e.providers||[],imports:e.imports||[]}}function Un(e){return ci(e,gr)||ci(e,de)}function mi(e){return null!==Un(e)}function ci(e,t){return e.hasOwnProperty(t)?e[t]:null}function hi(e){return e&&(e.hasOwnProperty(Xn)||e.hasOwnProperty(Ae))?e[Xn]:null}const gr=ne({"ɵprov":ne}),Xn=ne({"ɵinj":ne}),de=ne({ngInjectableDef:ne}),Ae=ne({ngInjectorDef:ne});var Oe=(()=>((Oe=Oe||{})[Oe.Default=0]="Default",Oe[Oe.Host=1]="Host",Oe[Oe.Self=2]="Self",Oe[Oe.SkipSelf=4]="SkipSelf",Oe[Oe.Optional=8]="Optional",Oe))();let Ye;function $(e){const t=Ye;return Ye=e,t}function W(e,t,n){const r=Un(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&Oe.Optional?null:void 0!==t?t:void be(Ge(e))}function $e(e){return{toString:e}.toString()}var st=(()=>((st=st||{})[st.OnPush=0]="OnPush",st[st.Default=1]="Default",st))(),ht=(()=>{return(e=ht||(ht={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",ht;var e})();const ot=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),It={},Pt=[],xt=ne({"ɵcmp":ne}),Dt=ne({"ɵdir":ne}),Gn=ne({"ɵpipe":ne}),Xt=ne({"ɵmod":ne}),wn=ne({"ɵfac":ne}),cn=ne({__NG_ELEMENT_ID__:ne});let Nt=0;function jn(e){return $e((()=>{const n=!0===e.standalone,r={},o={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===st.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||Pt,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||ht.Emulated,id:"c"+Nt++,styles:e.styles||Pt,_:null,setInput:null,schemas:e.schemas||null,tView:null},a=e.dependencies,u=e.features;return o.inputs=$n(e.inputs,r),o.outputs=$n(e.outputs),u&&u.forEach((m=>m(o))),o.directiveDefs=a?()=>("function"==typeof a?a():a).map(sn).filter(on):null,o.pipeDefs=a?()=>("function"==typeof a?a():a).map(ie).filter(on):null,o}))}function sn(e){return Bt(e)||Ce(e)}function on(e){return null!==e}function vi(e){return $e((()=>({type:e.type,bootstrap:e.bootstrap||Pt,declarations:e.declarations||Pt,imports:e.imports||Pt,exports:e.exports||Pt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null})))}function $n(e,t){if(null==e)return It;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],a=o;Array.isArray(o)&&(a=o[1],o=o[0]),n[o]=r,t&&(t[o]=a)}return n}const kn=jn;function Ci(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 Bt(e){return e[xt]||null}function Ce(e){return e[Dt]||null}function ie(e){return e[Gn]||null}function U(e){const t=Bt(e)||Ce(e)||ie(e);return null!==t&&t.standalone}function R(e,t){const n=e[Xt]||null;if(!n&&!0===t)throw new Error(`Type ${Ge(e)} does not have 'ɵmod' property.`);return n}const b=10;function Ee(e){return Array.isArray(e)&&"object"==typeof e[1]}function Ue(e){return Array.isArray(e)&&!0===e[1]}function Mt(e){return 0!=(8&e.flags)}function xn(e){return 2==(2&e.flags)}function si(e){return 1==(1&e.flags)}function Mn(e){return null!==e.template}function oi(e){return 0!=(256&e[2])}function Vn(e,t){return e.hasOwnProperty(wn)?e[wn]:null}class hs{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function ro(){return ps}function ps(e){return e.type.prototype.ngOnChanges&&(e.setInput=Wo),Go}function Go(){const e=Io(this),t=e?.current;if(t){const n=e.previous;if(n===It)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Wo(e,t,n,r){const o=Io(e)||function gs(e,t){return e[wo]=t}(e,{previous:It,current:null}),a=o.current||(o.current={}),u=o.previous,m=this.declaredInputs[n],w=u[m];a[m]=new hs(w&&w.currentValue,t,u===It),e[r]=t}ro.ngInherit=!0;const wo="__ngSimpleChanges__";function Io(e){return e[wo]||null}function Ti(e){for(;Array.isArray(e);)e=e[0];return e}function so(e,t){return Ti(t[e])}function wi(e,t){return Ti(t[e.index])}function Ji(e,t){return e.data[t]}function Gr(e,t){return e[t]}function Ri(e,t){const n=t[e];return Ee(n)?n:n[0]}function Z(e){return 64==(64&e[2])}function he(e,t){return null==t?null:e[t]}function Je(e){e[18]=0}function pn(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const Zt={lFrame:et(null),bindingsEnabled:!0};function No(){return Zt.bindingsEnabled}function lt(){return Zt.lFrame.lView}function Kn(){return Zt.lFrame.tView}function qo(e){return Zt.lFrame.contextLView=e,e[8]}function Zo(e){return Zt.lFrame.contextLView=null,e}function Ni(){let e=Ro();for(;null!==e&&64===e.type;)e=e.parent;return e}function Ro(){return Zt.lFrame.currentTNode}function Rr(e,t){const n=Zt.lFrame;n.currentTNode=e,n.isParent=t}function ms(){return Zt.lFrame.isParent}function ko(){Zt.lFrame.isParent=!1}function Xi(){const e=Zt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Kr(){return Zt.lFrame.bindingIndex++}function Vr(e){const t=Zt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Fo(e,t){const n=Zt.lFrame;n.bindingIndex=n.bindingRootIndex=e,f(t)}function f(e){Zt.lFrame.currentDirectiveIndex=e}function M(){return Zt.lFrame.currentQueryIndex}function A(e){Zt.lFrame.currentQueryIndex=e}function z(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function _e(e,t,n){if(n&Oe.SkipSelf){let o=t,a=e;for(;!(o=o.parent,null!==o||n&Oe.Host||(o=z(a),null===o||(a=a[15],10&o.type))););if(null===o)return!1;t=o,e=a}const r=Zt.lFrame=Ve();return r.currentTNode=t,r.lView=e,!0}function ve(e){const t=Ve(),n=e[1];Zt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Ve(){const e=Zt.lFrame,t=null===e?null:e.child;return null===t?et(e):t}function et(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 Rt(){const e=Zt.lFrame;return Zt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const jt=Rt;function On(){const e=Rt();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 Yt(){return Zt.lFrame.selectedIndex}function An(e){Zt.lFrame.selectedIndex=e}function ge(){const e=Zt.lFrame;return Ji(e.tView,e.selectedIndex)}function Qe(){Zt.lFrame.currentNamespace="svg"}function St(){!function gn(){Zt.lFrame.currentNamespace=null}()}function Hn(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const a=e.data[n].type.prototype,{ngAfterContentInit:u,ngAfterContentChecked:m,ngAfterViewInit:w,ngAfterViewChecked:x,ngOnDestroy:F}=a;u&&(e.contentHooks||(e.contentHooks=[])).push(-n,u),m&&((e.contentHooks||(e.contentHooks=[])).push(n,m),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,m)),w&&(e.viewHooks||(e.viewHooks=[])).push(-n,w),x&&((e.viewHooks||(e.viewHooks=[])).push(n,x),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,x)),null!=F&&(e.destroyHooks||(e.destroyHooks=[])).push(n,F)}}function _r(e,t,n){Zr(e,t,3,n)}function br(e,t,n,r){(3&e[2])===n&&Zr(e,t,n,r)}function lr(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function Zr(e,t,n,r){const a=r??-1,u=t.length-1;let m=0;for(let w=void 0!==r?65535&e[18]:0;w<u;w++)if("number"==typeof t[w+1]){if(m=t[w],null!=r&&m>=r)break}else t[w]<0&&(e[18]+=65536),(m<a||-1==a)&&(Eo(e,n,t,w),e[18]=(4294901760&e[18])+w+2),w++}function Eo(e,t,n,r){const o=n[r]<0,a=n[r+1],m=e[o?-n[r]:n[r]];if(o){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{a.call(m)}finally{}}}else try{a.call(m)}finally{}}class Yr{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function en(e,t,n){let r=0;for(;r<n.length;){const o=n[r];if("number"==typeof o){if(0!==o)break;r++;const a=n[r++],u=n[r++],m=n[r++];e.setAttribute(t,u,m,a)}else{const a=o,u=n[++r];Jn(a)?e.setProperty(t,a,u):e.setAttribute(t,a,u),r++}}return r}function Nn(e){return 3===e||4===e||6===e}function Jn(e){return 64===e.charCodeAt(0)}function rn(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const o=t[r];"number"==typeof o?n=o:0===n||ni(e,n,o,null,-1===n||2===n?t[++r]:null)}}return e}function ni(e,t,n,r,o){let a=0,u=e.length;if(-1===t)u=-1;else for(;a<e.length;){const m=e[a++];if("number"==typeof m){if(m===t){u=-1;break}if(m>t){u=a-1;break}}}for(;a<e.length;){const m=e[a];if("number"==typeof m)break;if(m===n){if(null===r)return void(null!==o&&(e[a+1]=o));if(r===e[a+1])return void(e[a+2]=o)}a++,null!==r&&a++,null!==o&&a++}-1!==u&&(e.splice(u,0,t),a=u+1),e.splice(a++,0,n),null!==r&&e.splice(a++,0,r),null!==o&&e.splice(a++,0,o)}function In(e){return-1!==e}function pi(e){return 32767&e}function ur(e,t){let n=function Er(e){return e>>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let Mr=!0;function er(e){const t=Mr;return Mr=e,t}let Xa=0;const Dr={};function Cs(e,t){const n=Pa(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,Ks(r.data,e),Ks(t,null),Ks(r.blueprint,null));const o=xa(e,t),a=e.injectorIndex;if(In(o)){const u=pi(o),m=ur(o,t),w=m[1].data;for(let x=0;x<8;x++)t[a+x]=m[u+x]|w[u+x]}return t[a+8]=o,a}function Ks(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Pa(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function xa(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=ua(o),null===r)return-1;if(n++,o=o[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function Oa(e,t,n){!function Ta(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(cn)&&(r=n[cn]),null==r&&(r=n[cn]=Xa++);const o=255&r;t.data[e+(o>>5)]|=1<<o}(e,t,n)}function vr(e,t,n){if(n&Oe.Optional||void 0!==e)return e;be()}function el(e,t,n,r){if(n&Oe.Optional&&void 0===r&&(r=null),0==(n&(Oe.Self|Oe.Host))){const o=e[9],a=$(void 0);try{return o?o.get(t,r,n&Oe.Optional):W(t,r,n&Oe.Optional)}finally{$(a)}}return vr(r,0,n)}function nr(e,t,n,r=Oe.Default,o){if(null!==e){if(1024&t[2]){const u=function Vl(e,t,n,r,o){let a=e,u=t;for(;null!==a&&null!==u&&1024&u[2]&&!(256&u[2]);){const m=tl(a,u,n,r|Oe.Self,Dr);if(m!==Dr)return m;let w=a.parent;if(!w){const x=u[21];if(x){const F=x.get(n,Dr,r);if(F!==Dr)return F}w=ua(u),u=u[15]}a=w}return o}(e,t,n,r,Dr);if(u!==Dr)return u}const a=tl(e,t,n,r,Dr);if(a!==Dr)return a}return el(t,n,r,o)}function tl(e,t,n,r,o){const a=function nl(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(cn)?e[cn]:void 0;return"number"==typeof t?t>=0?255&t:il:t}(n);if("function"==typeof a){if(!_e(t,e,r))return r&Oe.Host?vr(o,0,r):el(t,n,r,o);try{const u=a(r);if(null!=u||r&Oe.Optional)return u;be()}finally{jt()}}else if("number"==typeof a){let u=null,m=Pa(e,t),w=-1,x=r&Oe.Host?t[16][6]:null;for((-1===m||r&Oe.SkipSelf)&&(w=-1===m?xa(e,t):t[m+8],-1!==w&&bs(r,!1)?(u=t[1],m=pi(w),t=ur(w,t)):m=-1);-1!==m;){const F=t[1];if(ws(a,m,F.data)){const X=Bl(m,t,n,u,r,x);if(X!==Dr)return X}w=t[m+8],-1!==w&&bs(r,t[1].data[m+8]===x)&&ws(a,m,t)?(u=F,m=pi(w),t=ur(w,t)):m=-1}}return o}function Bl(e,t,n,r,o,a){const u=t[1],m=u.data[e+8],F=Qo(m,u,n,null==r?xn(m)&&Mr:r!=u&&0!=(3&m.type),o&Oe.Host&&a===m);return null!==F?fo(t,u,F,m):Dr}function Qo(e,t,n,r,o){const a=e.providerIndexes,u=t.data,m=1048575&a,w=e.directiveStart,F=a>>20,we=o?m+F:e.directiveEnd;for(let Le=r?m:m+F;Le<we;Le++){const at=u[Le];if(Le<w&&n===at||Le>=w&&at.type===n)return Le}if(o){const Le=u[w];if(Le&&Mn(Le)&&Le.type===n)return w}return null}function fo(e,t,n,r){let o=e[n];const a=t.data;if(function _(e){return e instanceof Yr}(o)){const u=o;u.resolving&&function Ft(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new tt(-200,`Circular dependency in DI detected for ${e}${n}`)}(function Xe(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():pe(e)}(a[n]));const m=er(u.canSeeViewProviders);u.resolving=!0;const w=u.injectImpl?$(u.injectImpl):null;_e(e,r,Oe.Default);try{o=e[n]=u.factory(void 0,a,e,r),t.firstCreatePass&&n>=r.directiveStart&&function ei(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:a}=t.type.prototype;if(r){const u=ps(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,u),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,u)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,o),a&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,a),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,a))}(n,a[n],t)}finally{null!==w&&$(w),er(m),u.resolving=!1,jt()}}return o}function ws(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function bs(e,t){return!(e&Oe.Self||e&Oe.Host&&t)}class Bo{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return nr(this._tNode,this._lView,t,r,n)}}function il(){return new Bo(Ni(),lt())}function Es(e){return $e((()=>{const t=e.prototype.constructor,n=t[wn]||ca(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const a=o[wn]||ca(o);if(a&&a!==n)return a;o=Object.getPrototypeOf(o)}return a=>new a}))}function ca(e){return dt(e)?()=>{const t=ca(Be(e));return t&&t()}:Vn(e)}function ua(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}function Hl(e){return function tr(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let o=0;for(;o<r;){const a=n[o];if(Nn(a))break;if(0===a)o+=2;else if("number"==typeof a)for(o++;o<r&&"string"==typeof n[o];)o++;else{if(a===t)return n[o+1];o+=2}}}return null}(Ni(),e)}const kr="__parameters__";function Jr(e,t,n){return $e((()=>{const r=function B(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...a){if(this instanceof o)return r.apply(this,a),this;const u=new o(...a);return m.annotation=u,m;function m(w,x,F){const X=w.hasOwnProperty(kr)?w[kr]:Object.defineProperty(w,kr,{value:[]})[kr];for(;X.length<=F;)X.push(null);return(X[F]=X[F]||[]).push(u),w}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o}))}class tn{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=Zn({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Fi(e,t){void 0===t&&(t=e);for(let n=0;n<e.length;n++){let r=e[n];Array.isArray(r)?(t===e&&(t=e.slice(0,n)),Fi(r,t)):t!==e&&t.push(r)}return t}function Vo(e,t){e.forEach((n=>Array.isArray(n)?Vo(n,t):t(n)))}function Zc(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function h(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function g(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function Ze(e,t,n){let r=vn(e,t);return r>=0?e[1|r]=n:(r=~r,function D(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function Tt(e,t){const n=vn(e,t);if(n>=0)return e[1|n]}function vn(e,t){return function gi(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const a=r+(o-r>>1),u=e[a<<n];if(t===u)return a<<n;u>t?o=a:r=a+1}return~(o<<n)}(e,t,1)}const ho={},ll="__NG_DI_FLAG__",es="ngTempTokenPath",$h=/\n/gm,Yc="__source";let Ss;function po(e){const t=Ss;return Ss=e,t}function Td(e,t=Oe.Default){if(void 0===Ss)throw new tt(-203,!1);return null===Ss?W(e,void 0,t):Ss.get(e,t&Oe.Optional?null:void 0,t)}function dr(e,t=Oe.Default){return(function ce(){return Ye}()||Td)(Be(e),t)}function Pd(e,t=Oe.Default){return"number"!=typeof t&&(t=0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)),dr(e,t)}function jl(e){const t=[];for(let n=0;n<e.length;n++){const r=Be(e[n]);if(Array.isArray(r)){if(0===r.length)throw new tt(900,!1);let o,a=Oe.Default;for(let u=0;u<r.length;u++){const m=r[u],w=Qc(m);"number"==typeof w?-1===w?o=m.token:a|=w:o=m}t.push(dr(o,a))}else t.push(dr(r))}return t}function rr(e,t){return e[ll]=t,e.prototype[ll]=t,e}function Qc(e){return e[ll]}const Zs=rr(Jr("Optional"),8),Ia=rr(Jr("SkipSelf"),4);var eo=(()=>((eo=eo||{})[eo.Important=1]="Important",eo[eo.DashCase=2]="DashCase",eo))();const tu=new Map;let Zl=0;const Ql="__ngContext__";function Cr(e,t){Ee(t)?(e[Ql]=t[20],function Ud(e){tu.set(e[20],e)}(t)):e[Ql]=t}function ec(e,t){return undefined(e,t)}function Fa(e){const t=e[3];return Ue(t)?t[3]:t}function au(e){return pl(e[13])}function lu(e){return pl(e[4])}function pl(e){for(;null!==e&&!Ue(e);)e=e[4];return e}function ga(e,t,n,r,o){if(null!=r){let a,u=!1;Ue(r)?a=r:Ee(r)&&(u=!0,r=r[0]);const m=Ti(r);0===e&&null!==n?null==o?du(t,n,m):ma(t,n,m,o||null,!0):1===e&&null!==n?ma(t,n,m,o||null,!0):2===e?function Ba(e,t,n){const r=oc(e,t);r&&function Xd(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,m,u):3===e&&t.destroyNode(m),null!=a&&function rf(e,t,n,r,o){const a=n[7];a!==Ti(n)&&ga(t,e,r,a,o);for(let m=b;m<n.length;m++){const w=n[m];Uo(w[1],w,e,t,r,a)}}(t,e,a,n,o)}}function ea(e,t,n){return e.createElement(t,n)}function _l(e,t){const n=e[9],r=n.indexOf(t),o=t[3];512&t[2]&&(t[2]&=-513,pn(o,-1)),n.splice(r,1)}function vl(e,t){if(e.length<=b)return;const n=b+t,r=e[n];if(r){const o=r[17];null!==o&&o!==e&&_l(o,r),t>0&&(e[n-1][4]=r[4]);const a=h(e,b+t);!function ml(e,t){Uo(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(r[1],r);const u=a[19];null!==u&&u.detachView(a[1]),r[3]=null,r[4]=null,r[2]&=-65}return r}function yl(e,t){if(!(128&t[2])){const n=t[11];n.destroyNode&&Uo(e,t,n,3,null,null),function Yd(e){let t=e[13];if(!t)return cu(e[1],e);for(;t;){let n=null;if(Ee(t))n=t[13];else{const r=t[b];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)Ee(t)&&cu(t[1],t),t=t[3];null===t&&(t=e),Ee(t)&&cu(t[1],t),n=t&&t[4]}t=n}}(t)}}function cu(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function ic(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const o=t[n[r]];if(!(o instanceof Yr)){const a=n[r+1];if(Array.isArray(a))for(let u=0;u<a.length;u+=2){const m=o[a[u]],w=a[u+1];try{w.call(m)}finally{}}else try{a.call(o)}finally{}}}}(e,t),function Jd(e,t){const n=e.cleanup,r=t[7];let o=-1;if(null!==n)for(let a=0;a<n.length-1;a+=2)if("string"==typeof n[a]){const u=n[a+1],m="function"==typeof u?u(t):Ti(t[u]),w=r[o=n[a+2]],x=n[a+3];"boolean"==typeof x?m.removeEventListener(n[a],w,x):x>=0?r[o=x]():r[o=-x].unsubscribe(),a+=2}else{const u=r[o=n[a+1]];n[a].call(u)}if(null!==r){for(let a=o+1;a<r.length;a++)(0,r[a])();t[7]=null}}(e,t),1===t[1].type&&t[11].destroy();const n=t[17];if(null!==n&&Ue(t[3])){n!==t[3]&&_l(n,t);const r=t[19];null!==r&&r.detachView(e)}!function mo(e){tu.delete(e[20])}(t)}}function uu(e,t,n){return function rc(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[0];if(2&r.flags){const o=e.data[r.directiveStart].encapsulation;if(o===ht.None||o===ht.Emulated)return null}return wi(r,n)}(e,t.parent,n)}function ma(e,t,n,r,o){e.insertBefore(t,n,r,o)}function du(e,t,n){e.appendChild(t,n)}function rs(e,t,n,r,o){null!==r?ma(e,t,n,r,o):du(e,t,n)}function oc(e,t){return e.parentNode(t)}function tf(e,t,n){return os(e,t,n)}let bl,Pr,Va,os=function nf(e,t,n){return 40&e.type?wi(e,n):null};function La(e,t,n,r){const o=uu(e,r,t),a=t[11],m=tf(r.parent||t[6],r,t);if(null!=o)if(Array.isArray(n))for(let w=0;w<n.length;w++)rs(a,o,n[w],m,!1);else rs(a,o,n,m,!1)}function _a(e,t){if(null!==t){const n=t.type;if(3&n)return wi(t,e);if(4&n)return yn(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return _a(e,r);{const o=e[t.index];return Ue(o)?yn(-1,o):Ti(o)}}if(32&n)return ec(t,e)()||Ti(e[t.index]);{const r=va(e,t);return null!==r?Array.isArray(r)?r[0]:_a(Fa(e[16]),r):_a(e,t.next)}}return null}function va(e,t){return null!==t?e[16][6].projection[t.projection]:null}function yn(e,t){const n=b+e+1;if(n<t.length){const r=t[n],o=r[1].firstChild;if(null!==o)return _a(r,o)}return t[7]}function wl(e,t,n,r,o,a,u){for(;null!=n;){const m=r[n.index],w=n.type;if(u&&0===t&&(m&&Cr(Ti(m),r),n.flags|=4),64!=(64&n.flags))if(8&w)wl(e,t,n.child,r,o,a,!1),ga(t,e,o,m,a);else if(32&w){const x=ec(n,r);let F;for(;F=x();)ga(t,e,o,F,a);ga(t,e,o,m,a)}else 16&w?ac(e,t,r,n,o,a):ga(t,e,o,m,a);n=u?n.projectionNext:n.next}}function Uo(e,t,n,r,o,a){wl(n,r,e.firstChild,t,o,a,!1)}function ac(e,t,n,r,o,a){const u=n[16],w=u[6].projection[r.projection];if(Array.isArray(w))for(let x=0;x<w.length;x++)ga(t,e,o,w[x],a);else wl(e,t,w,u[3],o,a,!0)}function sf(e,t,n){e.setAttribute(t,"style",n)}function fu(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function ta(e){return function hu(){if(void 0===bl&&(bl=null,ot.trustedTypes))try{bl=ot.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return bl}()?.createHTML(e)||e}function pu(e){Pr=e}function lf(e){return function gu(){if(void 0===Va&&(Va=null,ot.trustedTypes))try{Va=ot.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Va}()?.createHTML(e)||e}class na{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class ap extends na{getTypeName(){return"HTML"}}class lp extends na{getTypeName(){return"Style"}}class cp extends na{getTypeName(){return"Script"}}class up extends na{getTypeName(){return"URL"}}class cf extends na{getTypeName(){return"ResourceURL"}}function ss(e){return e instanceof na?e.changingThisBreaksApplicationSecurity:e}function Ua(e,t){const n=function _u(e){return e instanceof na&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}function uf(e){return new ap(e)}function El(e){return new lp(e)}function vu(e){return new cp(e)}function df(e){return new up(e)}function ff(e){return new cf(e)}class hf{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(ta(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class as{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);const r=this.inertDocument.createElement("body");n.appendChild(r)}}getInertBodyElement(t){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=ta(t),n;const r=this.inertDocument.createElement("body");return r.innerHTML=ta(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(r),r}stripCustomNsAttrs(t){const n=t.attributes;for(let o=n.length-1;0<o;o--){const u=n.item(o).name;("xmlns:ns1"===u||0===u.indexOf("ns1:"))&&t.removeAttribute(u)}let r=t.firstChild;for(;r;)r.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(r),r=r.nextSibling}}const dp=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;function Dl(e){return(e=String(e)).match(dp)?e:"unsafe:"+e}function Ps(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Sl(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const pf=Ps("area,br,col,hr,img,wbr"),gf=Ps("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),mf=Ps("rp,rt"),yu=Sl(pf,Sl(gf,Ps("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")),Sl(mf,Ps("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")),Sl(mf,gf)),Cu=Ps("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),wu=Sl(Cu,Ps("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"),Ps("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")),_f=Ps("script,style,template");class hp{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let o=this.checkClobberedElement(n,n.nextSibling);if(o){n=o;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!yu.hasOwnProperty(n))return this.sanitizedSomething=!0,!_f.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let o=0;o<r.length;o++){const a=r.item(o),u=a.name,m=u.toLowerCase();if(!wu.hasOwnProperty(m)){this.sanitizedSomething=!0;continue}let w=a.value;Cu[m]&&(w=Dl(w)),this.buf.push(" ",u,'="',bu(w),'"')}return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();yu.hasOwnProperty(n)&&!pf.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(bu(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 pp=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,gp=/([^\#-~ |!])/g;function bu(e){return e.replace(/&/g,"&amp;").replace(pp,(function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"})).replace(gp,(function(t){return"&#"+t.charCodeAt(0)+";"})).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let lc;function vf(e,t){let n=null;try{lc=lc||function Ml(e){const t=new as(e);return function ya(){try{return!!(new window.DOMParser).parseFromString(ta(""),"text/html")}catch{return!1}}()?new hf(t):t}(e);let r=t?String(t):"";n=lc.getInertBodyElement(r);let o=5,a=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=a,a=n.innerHTML,n=lc.getInertBodyElement(r)}while(r!==a);return ta((new hp).sanitizeChildren(Eu(n)||n))}finally{if(n){const r=Eu(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Eu(e){return"content"in e&&function mp(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var or=(()=>((or=or||{})[or.NONE=0]="NONE",or[or.HTML=1]="HTML",or[or.STYLE=2]="STYLE",or[or.SCRIPT=3]="SCRIPT",or[or.URL=4]="URL",or[or.RESOURCE_URL=5]="RESOURCE_URL",or))();function yf(e){const t=Tl();return t?lf(t.sanitize(or.HTML,e)||""):Ua(e,"HTML")?lf(ss(e)):vf(function af(){return void 0!==Pr?Pr:typeof document<"u"?document:void 0}(),pe(e))}function Mu(e){const t=Tl();return t?t.sanitize(or.URL,e)||"":Ua(e,"URL")?ss(e):Dl(pe(e))}function Tl(){const e=lt();return e&&e[12]}const Du=new tn("ENVIRONMENT_INITIALIZER"),Ef=new tn("INJECTOR",-1),Mf=new tn("INJECTOR_DEF_TYPES");class Df{get(t,n=ho){if(n===ho){const r=new Error(`NullInjectorError: No provider for ${Ge(t)}!`);throw r.name="NullInjectorError",r}return n}}function wp(...e){return{"ɵproviders":Sf(0,e)}}function Sf(e,...t){const n=[],r=new Set;let o;return Vo(t,(a=>{const u=a;Su(u,n,[],r)&&(o||(o=[]),o.push(u))})),void 0!==o&&Tf(o,n),n}function Tf(e,t){for(let n=0;n<e.length;n++){const{providers:o}=e[n];Vo(o,(a=>{t.push(a)}))}}function Su(e,t,n,r){if(!(e=Be(e)))return!1;let o=null,a=hi(e);const u=!a&&Bt(e);if(a||u){if(u&&!u.standalone)return!1;o=e}else{const w=e.ngModule;if(a=hi(w),!a)return!1;o=w}const m=r.has(o);if(u){if(m)return!1;if(r.add(o),u.dependencies){const w="function"==typeof u.dependencies?u.dependencies():u.dependencies;for(const x of w)Su(x,t,n,r)}}else{if(!a)return!1;{if(null!=a.imports&&!m){let x;r.add(o);try{Vo(a.imports,(F=>{Su(F,t,n,r)&&(x||(x=[]),x.push(F))}))}finally{}void 0!==x&&Tf(x,t)}if(!m){const x=Vn(o)||(()=>new o);t.push({provide:o,useFactory:x,deps:Pt},{provide:Mf,useValue:o,multi:!0},{provide:Du,useValue:()=>dr(o),multi:!0})}const w=a.providers;null==w||m||Vo(w,(F=>{t.push(F)}))}}return o!==e&&void 0!==e.providers}const bp=ne({provide:String,useValue:ne});function Tu(e){return null!==e&&"object"==typeof e&&bp in e}function Ca(e){return"function"==typeof e}const Pu=new tn("Set Injector scope."),cc={},Mp={};let xu;function ja(){return void 0===xu&&(xu=new Df),xu}class ia{}class Of extends ia{constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,za(t,(u=>this.processProvider(u))),this.records.set(Ef,$a(void 0,this)),o.has("environment")&&this.records.set(ia,$a(void 0,this));const a=this.records.get(Pu);null!=a&&"string"==typeof a.value&&this.scopes.add(a.value),this.injectorDefTypes=new Set(this.get(Mf.multi,Pt,Oe.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=po(this),r=$(void 0);try{return t()}finally{po(n),$(r)}}get(t,n=ho,r=Oe.Default){this.assertNotDestroyed();const o=po(this),a=$(void 0);try{if(!(r&Oe.SkipSelf)){let m=this.records.get(t);if(void 0===m){const w=function Af(e){return"function"==typeof e||"object"==typeof e&&e instanceof tn}(t)&&Un(t);m=w&&this.injectableDefInScope(w)?$a(Ou(t),cc):null,this.records.set(t,m)}if(null!=m)return this.hydrate(t,m)}return(r&Oe.Self?ja():this.parent).get(t,n=r&Oe.Optional&&n===ho?null:n)}catch(u){if("NullInjectorError"===u.name){if((u[es]=u[es]||[]).unshift(Ge(t)),o)throw u;return function xd(e,t,n,r){const o=e[es];throw t[Yc]&&o.unshift(t[Yc]),e.message=function ts(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"ɵ"==e.charAt(1)?e.slice(2):e;let o=Ge(t);if(Array.isArray(t))o=t.map(Ge).join(" -> ");else if("object"==typeof t){let a=[];for(let u in t)if(t.hasOwnProperty(u)){let m=t[u];a.push(u+":"+("string"==typeof m?JSON.stringify(m):Ge(m)))}o=`{${a.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace($h,"\n  ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[es]=null,e}(u,t,"R3InjectorError",this.source)}throw u}finally{$(a),po(o)}}resolveInjectorInitializers(){const t=po(this),n=$(void 0);try{const r=this.get(Du.multi,Pt,Oe.Self);for(const o of r)o()}finally{po(t),$(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(Ge(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new tt(205,!1)}processProvider(t){let n=Ca(t=Be(t))?t:Be(t&&t.provide);const r=function Sp(e){return Tu(e)?$a(void 0,e.useValue):$a(If(e),cc)}(t);if(Ca(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=$a(void 0,cc,!0),o.factory=()=>jl(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===cc&&(n.value=Mp,n.value=n.factory()),"object"==typeof n.value&&n.value&&function Pp(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 Ou(e){const t=Un(e),n=null!==t?t.factory:Vn(e);if(null!==n)return n;if(e instanceof tn)throw new tt(204,!1);if(e instanceof Function)return function Dp(e){const t=e.length;if(t>0)throw g(t,"?"),new tt(204,!1);const n=function Yi(e){const t=e&&(e[gr]||e[de]);if(t){const n=function ti(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 tt(204,!1)}function If(e,t,n){let r;if(Ca(e)){const o=Be(e);return Vn(o)||Ou(o)}if(Tu(e))r=()=>Be(e.useValue);else if(function xf(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...jl(e.deps||[]));else if(function Pf(e){return!(!e||!e.useExisting)}(e))r=()=>dr(Be(e.useExisting));else{const o=Be(e&&(e.useClass||e.provide));if(!function Tp(e){return!!e.deps}(e))return Vn(o)||Ou(o);r=()=>new o(...jl(e.deps))}return r}function $a(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function xp(e){return!!e.ɵproviders}function za(e,t){for(const n of e)Array.isArray(n)?za(n,t):xp(n)?za(n.ɵproviders,t):t(n)}class Nf{}class Ap{resolveComponentFactory(t){throw function Ip(e){const t=Error(`No component factory found for ${Ge(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let Pl=(()=>{class e{}return e.NULL=new Ap,e})();function Np(){return Ga(Ni(),lt())}function Ga(e,t){return new xl(wi(e,t))}let xl=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=Np,e})();function Rp(e){return e instanceof xl?e.nativeElement:e}class kf{}let kp=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function Fp(){const e=lt(),n=Ri(Ni().index,e);return(Ee(n)?n:e)[11]}(),e})(),Lp=(()=>{class e{}return e.ɵprov=Zn({token:e,providedIn:"root",factory:()=>null}),e})();class Iu{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Ff=new Iu("14.3.0"),Au={};function Ru(e){return e.ngOriginalError}class ra{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&&Ru(t);for(;n&&Ru(n);)n=Ru(n);return n||null}}function xs(e){return e instanceof Function?e():e}function uc(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const a=t.length;if(o+a===r||e.charCodeAt(o+a)<=32)return o}n=o+1}}const Lu="ng-template";function Lf(e,t,n){let r=0;for(;r<e.length;){let o=e[r++];if(n&&"class"===o){if(o=e[r],-1!==uc(o.toLowerCase(),t,0))return!0}else if(1===o){for(;r<e.length&&"string"==typeof(o=e[r++]);)if(o.toLowerCase()===t)return!0;return!1}}return!1}function Bu(e){return 4===e.type&&e.value!==Lu}function Yp(e,t,n){return t===(4!==e.type||n?e.value:Lu)}function Qp(e,t,n){let r=4;const o=e.attrs||[],a=function Xp(e){for(let t=0;t<e.length;t++)if(Nn(e[t]))return t;return e.length}(o);let u=!1;for(let m=0;m<t.length;m++){const w=t[m];if("number"!=typeof w){if(!u)if(4&r){if(r=2|1&r,""!==w&&!Yp(e,w,n)||""===w&&1===t.length){if(jo(r))return!1;u=!0}}else{const x=8&r?w:t[++m];if(8&r&&null!==e.attrs){if(!Lf(e.attrs,x,n)){if(jo(r))return!1;u=!0}continue}const X=dc(8&r?"class":w,o,Bu(e),n);if(-1===X){if(jo(r))return!1;u=!0;continue}if(""!==x){let we;we=X>a?"":o[X+1].toLowerCase();const Le=8&r?we:null;if(Le&&-1!==uc(Le,x,0)||2&r&&x!==we){if(jo(r))return!1;u=!0}}}}else{if(!u&&!jo(r)&&!jo(w))return!1;if(u&&jo(w))continue;u=!1,r=w|1&r}}return jo(r)||u}function jo(e){return 0==(1&e)}function dc(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let a=!1;for(;o<t.length;){const u=t[o];if(u===e)return o;if(3===u||6===u)a=!0;else{if(1===u||2===u){let m=t[++o];for(;"string"==typeof m;)m=t[++o];continue}if(4===u)break;if(0===u){o+=4;continue}}o+=a?1:2}return-1}return function Vu(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function Ol(e,t,n=!1){for(let r=0;r<t.length;r++)if(Qp(e,t[r],n))return!0;return!1}function Bf(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function Vf(e,t){return e?":not("+t.trim()+")":t}function eg(e){let t=e[0],n=1,r=2,o="",a=!1;for(;n<e.length;){let u=e[n];if("string"==typeof u)if(2&r){const m=e[++n];o+="["+u+(m.length>0?'="'+m+'"':"")+"]"}else 8&r?o+="."+u:4&r&&(o+=" "+u);else""!==o&&!jo(u)&&(t+=Vf(a,o),o=""),r=u,a=a||!jo(r);n++}return""!==o&&(t+=Vf(a,o)),t}const Fn={};function Hf(e){Uf(Kn(),lt(),Yt()+e,!1)}function Uf(e,t,n,r){if(!r)if(3==(3&t[2])){const a=e.preOrderCheckHooks;null!==a&&_r(t,a,n)}else{const a=e.preOrderHooks;null!==a&&br(t,a,0,n)}An(n)}function Ln(e,t=null,n=null,r){const o=zf(e,t,n,r);return o.resolveInjectorInitializers(),o}function zf(e,t=null,n=null,r,o=new Set){const a=[n||Pt,wp(e)];return r=r||("object"==typeof e?void 0:Ge(e)),new Of(a,t||ja(),r||null,o)}let fr=(()=>{class e{static create(n,r){if(Array.isArray(n))return Ln({name:""},r,n,"");{const o=n.name??"";return Ln({name:o},n.parent,n.providers,o)}}}return e.THROW_IF_NOT_FOUND=ho,e.NULL=new Df,e.ɵprov=Zn({token:e,providedIn:"any",factory:()=>dr(Ef)}),e.__NG_ELEMENT_ID__=-1,e})();function Za(e,t=Oe.Default){const n=lt();return null===n?dr(e,t):nr(Ni(),n,Be(e),t)}function qf(){throw new Error("invalid")}function mc(e,t){return e<<17|t<<2}function To(e){return e>>17&32767}function _c(e){return 2|e}function hr(e){return(131068&e)>>2}function vc(e,t){return-131069&e|t<<2}function _i(e){return 1|e}function nh(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const o=n[r],a=n[r+1];if(-1!==a){const u=e.data[a];A(o),u.contentQueries(2,t[a],a)}}}function Ec(e,t,n,r,o,a,u,m,w,x,F){const X=t.blueprint.slice();return X[0]=o,X[2]=76|r,(null!==F||e&&1024&e[2])&&(X[2]|=1024),Je(X),X[3]=X[15]=e,X[8]=n,X[10]=u||e&&e[10],X[11]=m||e&&e[11],X[12]=w||e&&e[12]||null,X[9]=x||e&&e[9]||null,X[6]=a,X[20]=function nu(){return Zl++}(),X[21]=F,X[16]=2==t.type?e[16]:X,X}function ba(e,t,n,r,o){let a=e.data[t];if(null===a)a=function Mc(e,t,n,r,o){const a=Ro(),u=ms(),w=e.data[t]=function xg(e,t,n,r,o,a){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:o,attrs:a,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,u?a:a&&a.parent,n,t,r,o);return null===e.firstChild&&(e.firstChild=w),null!==a&&(u?null==a.child&&null!==w.parent&&(a.child=w):null===a.next&&(a.next=w)),w}(e,t,n,r,o),function Sa(){return Zt.lFrame.inI18n}()&&(a.flags|=64);else if(64&a.type){a.type=n,a.value=r,a.attrs=o;const u=function di(){const e=Zt.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();a.injectorIndex=null===u?-1:u.injectorIndex}return Rr(a,!0),a}function Qa(e,t,n,r){if(0===n)return-1;const o=t.length;for(let a=0;a<n;a++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function Ju(e,t,n){ve(t);try{const r=e.viewQuery;null!==r&&cd(1,r,n);const o=e.template;null!==o&&ih(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&nh(e,t),e.staticViewQueries&&cd(2,e.viewQuery,n);const a=e.components;null!==a&&function Sg(e,t){for(let n=0;n<t.length;n++)Hg(e,t[n])}(t,a)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,On()}}function Dc(e,t,n,r){const o=t[2];if(128!=(128&o)){ve(t);try{Je(t),function ys(e){return Zt.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&ih(e,t,n,2,r);const u=3==(3&o);if(u){const x=e.preOrderCheckHooks;null!==x&&_r(t,x,null)}else{const x=e.preOrderHooks;null!==x&&br(t,x,0,null),lr(t,0)}if(function Vg(e){for(let t=au(e);null!==t;t=lu(t)){if(!t[2])continue;const n=t[9];for(let r=0;r<n.length;r++){const o=n[r],a=o[3];0==(512&o[2])&&pn(a,1),o[2]|=512}}}(t),function sd(e){for(let t=au(e);null!==t;t=lu(t))for(let n=b;n<t.length;n++){const r=t[n],o=r[1];Z(r)&&Dc(o,r,o.template,r[8])}}(t),null!==e.contentQueries&&nh(e,t),u){const x=e.contentCheckHooks;null!==x&&_r(t,x)}else{const x=e.contentHooks;null!==x&&br(t,x,1),lr(t,1)}!function Mg(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const o=n[r];if(o<0)An(~o);else{const a=o,u=n[++r],m=n[++r];Fo(u,a),m(2,t[a])}}}finally{An(-1)}}(e,t);const m=e.components;null!==m&&function Dg(e,t){for(let n=0;n<t.length;n++)ad(e,t[n])}(t,m);const w=e.viewQuery;if(null!==w&&cd(2,w,r),u){const x=e.viewCheckHooks;null!==x&&_r(t,x)}else{const x=e.viewHooks;null!==x&&br(t,x,2),lr(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[2]&=-41,512&t[2]&&(t[2]&=-513,pn(t[3],-1))}finally{On()}}}function ih(e,t,n,r,o){const a=Yt(),u=2&r;try{An(-1),u&&t.length>22&&Uf(e,t,22,!1),n(r,o)}finally{An(a)}}function rh(e,t,n){if(Mt(t)){const o=t.directiveEnd;for(let a=t.directiveStart;a<o;a++){const u=e.data[a];u.contentQueries&&u.contentQueries(1,n[a],a)}}}function Xu(e,t,n){!No()||(function id(e,t,n,r){const o=n.directiveStart,a=n.directiveEnd;e.firstCreatePass||Cs(n,t),Cr(r,t);const u=n.initialInputs;for(let m=o;m<a;m++){const w=e.data[m],x=Mn(w);x&&Fg(t,n,w);const F=fo(t,e,m,n);Cr(F,t),null!==u&&Lg(0,m-o,F,w,0,u),x&&(Ri(n.index,t)[8]=F)}}(e,t,n,wi(n,t)),128==(128&n.flags)&&function dh(e,t,n){const r=n.directiveStart,o=n.directiveEnd,a=n.index,u=function N(){return Zt.lFrame.currentDirectiveIndex}();try{An(a);for(let m=r;m<o;m++){const w=e.data[m],x=t[m];f(m),(null!==w.hostBindings||0!==w.hostVars||null!==w.hostAttrs)&&rd(w,x)}}finally{An(-1),f(u)}}(e,t,n))}function ed(e,t,n=wi){const r=t.localNames;if(null!==r){let o=t.index+1;for(let a=0;a<r.length;a+=2){const u=r[a+1],m=-1===u?n(t,e):e[u];e[o++]=m}}}function oh(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=td(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function td(e,t,n,r,o,a,u,m,w,x){const F=22+r,X=F+o,we=function Tg(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:Fn);return n}(F,X),Le="function"==typeof x?x():x;return we[1]={type:e,blueprint:we,template:n,queries:null,viewQuery:m,declTNode:t,data:we.slice().fill(null,F),bindingStartIndex:F,expandoStartIndex:X,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof a?a():a,pipeRegistry:"function"==typeof u?u():u,firstChild:null,schemas:w,consts:Le,incompleteFirstPass:!1}}function sh(e,t,n,r){const o=xc(t);null===n?o.push(r):(o.push(n),e.firstCreatePass&&_h(e).push(r,o.length-1))}function ah(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){const o=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,o):n[r]=[t,o]}return n}function lh(e,t){const r=t.directiveEnd,o=e.data,a=t.attrs,u=[];let m=null,w=null;for(let x=t.directiveStart;x<r;x++){const F=o[x],X=F.inputs,we=null===a||Bu(t)?null:Bg(X,a);u.push(we),m=ah(X,x,m),w=ah(F.outputs,x,w)}null!==m&&(m.hasOwnProperty("class")&&(t.flags|=16),m.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=u,t.inputs=m,t.outputs=w}function vo(e,t,n,r,o,a,u,m){const w=wi(t,n);let F,x=t.inputs;!m&&null!=x&&(F=x[r])?(ud(e,n,F,r,o),xn(t)&&ch(n,t.index)):3&t.type&&(r=function Og(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=u?u(o,t.value||"",r):o,a.setProperty(w,r,o))}function ch(e,t){const n=Ri(t,e);16&n[2]||(n[2]|=32)}function nd(e,t,n,r){let o=!1;if(No()){const a=function Rg(e,t,n){const r=e.directiveRegistry;let o=null;if(r)for(let a=0;a<r.length;a++){const u=r[a];Ol(n,u.selectors,!1)&&(o||(o=[]),Oa(Cs(n,t),e,u.type),Mn(u)?(fh(e,n),o.unshift(u)):o.push(u))}return o}(e,t,n),u=null===r?null:{"":-1};if(null!==a){o=!0,hh(n,e.data.length,a.length);for(let F=0;F<a.length;F++){const X=a[F];X.providersResolver&&X.providersResolver(X)}let m=!1,w=!1,x=Qa(e,t,a.length,null);for(let F=0;F<a.length;F++){const X=a[F];n.mergedAttrs=rn(n.mergedAttrs,X.hostAttrs),ph(e,n,t,x,X),od(x,X,u),null!==X.contentQueries&&(n.flags|=8),(null!==X.hostBindings||null!==X.hostAttrs||0!==X.hostVars)&&(n.flags|=128);const we=X.type.prototype;!m&&(we.ngOnChanges||we.ngOnInit||we.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),m=!0),!w&&(we.ngOnChanges||we.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),w=!0),x++}lh(e,n)}u&&function kg(e,t,n){if(t){const r=e.localNames=[];for(let o=0;o<t.length;o+=2){const a=n[t[o+1]];if(null==a)throw new tt(-301,!1);r.push(t[o],a)}}}(n,r,u)}return n.mergedAttrs=rn(n.mergedAttrs,n.attrs),o}function uh(e,t,n,r,o,a){const u=a.hostBindings;if(u){let m=e.hostBindingOpCodes;null===m&&(m=e.hostBindingOpCodes=[]);const w=~t.index;(function Ng(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(m)!=w&&m.push(w),m.push(r,o,u)}}function rd(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function fh(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function od(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Mn(t)&&(n[""]=e)}}function hh(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function ph(e,t,n,r,o){e.data[r]=o;const a=o.factory||(o.factory=Vn(o.type)),u=new Yr(a,Mn(o),Za);e.blueprint[r]=u,n[r]=u,uh(e,t,0,r,Qa(e,n,o.hostVars,Fn),o)}function Fg(e,t,n){const r=wi(t,e),o=oh(n),a=e[10],u=Sc(e,Ec(e,o,null,n.onPush?32:16,r,t,a,a.createRenderer(r,n),null,null,null));e[t.index]=u}function zi(e,t,n,r,o,a){const u=wi(e,t);!function Al(e,t,n,r,o,a,u){if(null==a)e.removeAttribute(t,o,n);else{const m=null==u?pe(a):u(a,r||"",o);e.setAttribute(t,o,m,n)}}(t[11],u,a,e.value,n,r,o)}function Lg(e,t,n,r,o,a){const u=a[t];if(null!==u){const m=r.setInput;for(let w=0;w<u.length;){const x=u[w++],F=u[w++],X=u[w++];null!==m?r.setInput(n,X,x,F):n[F]=X}}}function Bg(e,t){let n=null,r=0;for(;r<t.length;){const o=t[r];if(0!==o)if(5!==o){if("number"==typeof o)break;e.hasOwnProperty(o)&&(null===n&&(n=[]),n.push(o,e[o],t[r+1])),r+=2}else r+=2;else r+=4}return n}function gh(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function ad(e,t){const n=Ri(t,e);if(Z(n)){const r=n[1];48&n[2]?Dc(r,n,r.template,n[8]):n[5]>0&&ld(n)}}function ld(e){for(let r=au(e);null!==r;r=lu(r))for(let o=b;o<r.length;o++){const a=r[o];if(Z(a))if(512&a[2]){const u=a[1];Dc(u,a,u.template,a[8])}else a[5]>0&&ld(a)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const o=Ri(n[r],e);Z(o)&&o[5]>0&&ld(o)}}function Hg(e,t){const n=Ri(t,e),r=n[1];(function Ug(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(r,n),Ju(r,n,n[8])}function Sc(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function Tc(e){for(;e;){e[2]|=32;const t=Fa(e);if(oi(e)&&!t)return e;e=t}return null}function Pc(e,t,n,r=!0){const o=t[10];o.begin&&o.begin();try{Dc(e,t,e.template,n)}catch(u){throw r&&yh(t,u),u}finally{o.end&&o.end()}}function cd(e,t,n){A(0),t(e,n)}function xc(e){return e[7]||(e[7]=[])}function _h(e){return e.cleanup||(e.cleanup=[])}function yh(e,t){const n=e[9],r=n?n.get(ra,null):null;r&&r.handleError(t)}function ud(e,t,n,r,o){for(let a=0;a<n.length;){const u=n[a++],m=n[a++],w=t[u],x=e.data[u];null!==x.setInput?x.setInput(w,o,r,m):w[m]=o}}function As(e,t,n){const r=so(t,e);!function Kd(e,t,n){e.setValue(t,n)}(e[11],r,n)}function Oc(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,a=0;if(null!==t)for(let u=0;u<t.length;u++){const m=t[u];"number"==typeof m?a=m:1==a?o=Ne(o,m):2==a&&(r=Ne(r,m+": "+t[++u]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function Ic(e,t,n,r,o=!1){for(;null!==n;){const a=t[n.index];if(null!==a&&r.push(Ti(a)),Ue(a))for(let m=b;m<a.length;m++){const w=a[m],x=w[1].firstChild;null!==x&&Ic(w[1],w,x,r)}const u=n.type;if(8&u)Ic(e,t,n.child,r);else if(32&u){const m=ec(n,t);let w;for(;w=m();)r.push(w)}else if(16&u){const m=va(t,n);if(Array.isArray(m))r.push(...m);else{const w=Fa(t[16]);Ic(w[1],w,m,r,!0)}}n=o?n.projectionNext:n.next}return r}class Nl{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 Ic(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(Ue(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(vl(t,r),h(n,r))}this._attachedToViewContainer=!1}yl(this._lView[1],this._lView)}onDestroy(t){sh(this._lView[1],this._lView,null,t)}markForCheck(){Tc(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){Pc(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new tt(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Zd(e,t){Uo(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new tt(902,!1);this._appRef=t}}class jg extends Nl{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Pc(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class dd extends Pl{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Bt(t);return new Rl(n,this.ngModule)}}function Ch(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class zg{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){const o=this.injector.get(t,Au,r);return o!==Au||n===Au?o:this.parentInjector.get(t,n,r)}}class Rl extends Nf{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function tg(e){return e.map(eg).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return Ch(this.componentDef.inputs)}get outputs(){return Ch(this.componentDef.outputs)}create(t,n,r,o){let a=(o=o||this.ngModule)instanceof ia?o:o?.injector;a&&null!==this.componentDef.getStandaloneInjector&&(a=this.componentDef.getStandaloneInjector(a)||a);const u=a?new zg(t,a):t,m=u.get(kf,null);if(null===m)throw new tt(407,!1);const w=u.get(Lp,null),x=m.createRenderer(null,this.componentDef),F=this.componentDef.selectors[0][0]||"div",X=r?function Pg(e,t,n){return e.selectRootElement(t,n===ht.ShadowDom)}(x,r,this.componentDef.encapsulation):ea(x,F,function $g(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(F)),we=this.componentDef.onPush?288:272,Le=td(0,null,null,1,0,null,null,null,null,null),at=Ec(null,Le,null,we,null,null,m,x,w,u,null);let bt,At;ve(at);try{const Qt=function Kg(e,t,n,r,o,a){const u=n[1];n[22]=e;const w=ba(u,22,2,"#host",null),x=w.mergedAttrs=t.hostAttrs;null!==x&&(Oc(w,x,!0),null!==e&&(en(o,e,x),null!==w.classes&&fu(o,e,w.classes),null!==w.styles&&sf(o,e,w.styles)));const F=r.createRenderer(e,t),X=Ec(n,oh(t),null,t.onPush?32:16,n[22],w,r,F,a||null,null,null);return u.firstCreatePass&&(Oa(Cs(w,n),u,t.type),fh(u,w),hh(w,n.length,1)),Sc(n,X),n[22]=X}(X,this.componentDef,at,m,x);if(X)if(r)en(x,X,["ng-version",Ff.full]);else{const{attrs:ln,classes:_t}=function ng(e){const t=[],n=[];let r=1,o=2;for(;r<e.length;){let a=e[r];if("string"==typeof a)2===o?""!==a&&t.push(a,e[++r]):8===o&&n.push(a);else{if(!jo(o))break;o=a}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);ln&&en(x,X,ln),_t&&_t.length>0&&fu(x,X,_t.join(" "))}if(At=Ji(Le,22),void 0!==n){const ln=At.projection=[];for(let _t=0;_t<this.ngContentSelectors.length;_t++){const Pn=n[_t];ln.push(null!=Pn?Array.from(Pn):null)}}bt=function qg(e,t,n,r){const o=n[1],a=function Ag(e,t,n){const r=Ni();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),ph(e,r,t,Qa(e,t,1,null),n),lh(e,r));const o=fo(t,e,r.directiveStart,r);Cr(o,t);const a=wi(r,t);return a&&Cr(a,t),o}(o,n,t);if(e[8]=n[8]=a,null!==r)for(const m of r)m(a,t);if(t.contentQueries){const m=Ni();t.contentQueries(1,a,m.directiveStart)}const u=Ni();return!o.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(An(u.index),uh(n[1],u,0,u.directiveStart,u.directiveEnd,t),rd(t,a)),a}(Qt,this.componentDef,at,[Zg]),Ju(Le,at,null)}finally{On()}return new Wg(this.componentType,bt,Ga(At,at),at,At)}}class Wg extends class Op{}{constructor(t,n,r,o,a){super(),this.location=r,this._rootLView=o,this._tNode=a,this.instance=n,this.hostView=this.changeDetectorRef=new jg(o),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let o;if(null!==r&&(o=r[t])){const a=this._rootLView;ud(a[1],a,o,t,n),ch(a,this._tNode.index)}}get injector(){return new Bo(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function Zg(){const e=Ni();Hn(lt()[1],e)}function s(e){let t=function i(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let o;if(Mn(e))o=t.ɵcmp||t.ɵdir;else{if(t.ɵcmp)throw new tt(903,!1);o=t.ɵdir}if(o){if(n){r.push(o);const u=e;u.inputs=E(e.inputs),u.declaredInputs=E(e.declaredInputs),u.outputs=E(e.outputs);const m=o.hostBindings;m&&ue(e,m);const w=o.viewQuery,x=o.contentQueries;if(w&&I(e,w),x&&G(e,x),De(e.inputs,o.inputs),De(e.declaredInputs,o.declaredInputs),De(e.outputs,o.outputs),Mn(o)&&o.data.animation){const F=e.data;F.animation=(F.animation||[]).concat(o.data.animation)}}const a=o.features;if(a)for(let u=0;u<a.length;u++){const m=a[u];m&&m.ngInherit&&m(e),m===s&&(n=!1)}}t=Object.getPrototypeOf(t)}!function c(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=rn(o.hostAttrs,n=rn(n,o.hostAttrs))}}(r)}function E(e){return e===It?{}:e===Pt?[]:e}function I(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function G(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,a)=>{t(r,o,a),n(r,o,a)}:t}function ue(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}let ct=null;function pt(){if(!ct){const e=ot.Symbol;if(e&&e.iterator)ct=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;n<t.length;++n){const r=t[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(ct=r)}}}return ct}function nn(e){return!!Cn(e)&&(Array.isArray(e)||!(e instanceof Map)&&pt()in e)}function Cn(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Bn(e,t,n){return e[t]=n}function bi(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function yr(e,t,n,r){const o=bi(e,t,n);return bi(e,t+1,r)||o}function $o(e,t,n,r){const o=lt();return bi(o,Kr(),t)&&(Kn(),zi(ge(),o,e,t,n,r)),$o}function Ac(e,t,n,r){return bi(e,Kr(),n)?t+pe(n)+r:Fn}function Nc(e,t,n,r,o,a){const m=yr(e,function Br(){return Zt.lFrame.bindingIndex}(),n,o);return Vr(2),m?t+pe(n)+r+pe(o)+a:Fn}function z_(e,t,n,r,o,a,u,m){const w=lt(),x=Kn(),F=e+22,X=x.firstCreatePass?function Qy(e,t,n,r,o,a,u,m,w){const x=t.consts,F=ba(t,e,4,u||null,he(x,m));nd(t,n,F,he(x,w)),Hn(t,F);const X=F.tViews=td(2,F,r,o,a,t.directiveRegistry,t.pipeRegistry,null,t.schemas,x);return null!==t.queries&&(t.queries.template(t,F),X.queries=t.queries.embeddedTView(F)),F}(F,x,w,t,n,r,o,a,u):x.data[F];Rr(X,!1);const we=w[11].createComment("");La(x,w,we,X),Cr(we,w),Sc(w,w[F]=gh(we,w,we,X)),si(X)&&Xu(x,w,X),null!=u&&ed(w,X,m)}function G_(e){return Gr(function uo(){return Zt.lFrame.contextLView}(),22+e)}function Yg(e,t,n){const r=lt();return bi(r,Kr(),t)&&vo(Kn(),ge(),r,e,t,r[11],n,!1),Yg}function Qg(e,t,n,r,o){const u=o?"class":"style";ud(e,n,t.inputs[u],u,r)}function wh(e,t,n,r){const o=lt(),a=Kn(),u=22+e,m=o[11],w=o[u]=ea(m,t,function Tn(){return Zt.lFrame.currentNamespace}()),x=a.firstCreatePass?function Xy(e,t,n,r,o,a,u){const m=t.consts,x=ba(t,e,2,o,he(m,a));return nd(t,n,x,he(m,u)),null!==x.attrs&&Oc(x,x.attrs,!1),null!==x.mergedAttrs&&Oc(x,x.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,x),x}(u,a,o,0,t,n,r):a.data[u];Rr(x,!0);const F=x.mergedAttrs;null!==F&&en(m,w,F);const X=x.classes;null!==X&&fu(m,w,X);const we=x.styles;return null!==we&&sf(m,w,we),64!=(64&x.flags)&&La(a,o,w,x),0===function Gs(){return Zt.lFrame.elementDepthCount}()&&Cr(w,o),function lo(){Zt.lFrame.elementDepthCount++}(),si(x)&&(Xu(a,o,x),rh(a,x,o)),null!==r&&ed(o,x),wh}function bh(){let e=Ni();ms()?ko():(e=e.parent,Rr(e,!1));const t=e;!function Wr(){Zt.lFrame.elementDepthCount--}();const n=Kn();return n.firstCreatePass&&(Hn(n,e),Mt(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function re(e){return 0!=(16&e.flags)}(t)&&Qg(n,t,lt(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function qe(e){return 0!=(32&e.flags)}(t)&&Qg(n,t,lt(),t.stylesWithoutHost,!1),bh}function Jg(e,t,n,r){return wh(e,t,n,r),bh(),Jg}function Eh(e,t,n){const r=lt(),o=Kn(),a=e+22,u=o.firstCreatePass?function eC(e,t,n,r,o){const a=t.consts,u=he(a,r),m=ba(t,e,8,"ng-container",u);return null!==u&&Oc(m,u,!0),nd(t,n,m,he(a,o)),null!==t.queries&&t.queries.elementStart(t,m),m}(a,o,r,t,n):o.data[a];Rr(u,!0);const m=r[a]=r[11].createComment("");return La(o,r,m,u),Cr(m,r),si(u)&&(Xu(o,r,u),rh(o,u,r)),null!=n&&ed(r,u),Eh}function Mh(){let e=Ni();const t=Kn();return ms()?ko():(e=e.parent,Rr(e,!1)),t.firstCreatePass&&(Hn(t,e),Mt(e)&&t.queries.elementEnd(e)),Mh}function Xg(e,t,n){return Eh(e,t,n),Mh(),Xg}function W_(){return lt()}function em(e){return!!e&&"function"==typeof e.then}function K_(e){return!!e&&"function"==typeof e.subscribe}const q_=K_;function tm(e,t,n,r){const o=lt(),a=Kn(),u=Ni();return function Y_(e,t,n,r,o,a,u,m){const w=si(r),F=e.firstCreatePass&&_h(e),X=t[8],we=xc(t);let Le=!0;if(3&r.type||m){const At=wi(r,t),Qt=m?m(At):At,ln=we.length,_t=m?Mi=>m(Ti(Mi[r.index])):r.index;let Pn=null;if(!m&&w&&(Pn=function tC(e,t,n,r){const o=e.cleanup;if(null!=o)for(let a=0;a<o.length-1;a+=2){const u=o[a];if(u===n&&o[a+1]===r){const m=t[7],w=o[a+2];return m.length>w?m[w]:null}"string"==typeof u&&(a+=2)}return null}(e,t,o,r.index)),null!==Pn)(Pn.__ngLastListenerFn__||Pn).__ngNextListenerFn__=a,Pn.__ngLastListenerFn__=a,Le=!1;else{a=J_(r,t,X,a,!1);const Mi=n.listen(Qt,o,a);we.push(a,Mi),F&&F.push(o,_t,ln,ln+1)}}else a=J_(r,t,X,a,!1);const at=r.outputs;let bt;if(Le&&null!==at&&(bt=at[o])){const At=bt.length;if(At)for(let Qt=0;Qt<At;Qt+=2){const qi=t[bt[Qt]][bt[Qt+1]].subscribe(a),Ll=we.length;we.push(a,qi),F&&F.push(o,r.index,Ll,-(Ll+1))}}}(a,o,o[11],u,e,t,0,r),tm}function Q_(e,t,n,r){try{return!1!==n(r)}catch(o){return yh(e,o),!1}}function J_(e,t,n,r,o){return function a(u){if(u===Function)return r;Tc(2&e.flags?Ri(e.index,t):t);let w=Q_(t,0,r,u),x=a.__ngNextListenerFn__;for(;x;)w=Q_(t,0,x,u)&&w,x=x.__ngNextListenerFn__;return o&&!1===w&&(u.preventDefault(),u.returnValue=!1),w}}function X_(e=1){return function Sn(e){return(Zt.lFrame.contextLView=function un(e,t){for(;e>0;)t=t[15],e--;return t}(e,Zt.lFrame.contextLView))[8]}(e)}function nC(e,t){let n=null;const r=function Jp(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e);for(let o=0;o<t.length;o++){const a=t[o];if("*"!==a){if(null===r?Ol(e,a,!0):Bf(r,a))return o}else n=o}return n}function e0(e){const t=lt()[16][6];if(!t.projection){const r=t.projection=g(e?e.length:1,null),o=r.slice();let a=t.child;for(;null!==a;){const u=e?nC(a,e):0;null!==u&&(o[u]?o[u].projectionNext=a:r[u]=a,o[u]=a),a=a.next}}}function t0(e,t=0,n){const r=lt(),o=Kn(),a=ba(o,22+e,16,null,n||null);null===a.projection&&(a.projection=t),ko(),64!=(64&a.flags)&&function rp(e,t,n){ac(t[11],0,t,n,uu(e,n,t),tf(n.parent||t[6],n,t))}(o,r,a)}function nm(e,t,n){return Dh(e,"",t,"",n),nm}function Dh(e,t,n,r,o){const a=lt(),u=Ac(a,t,n,r);return u!==Fn&&vo(Kn(),ge(),a,e,u,a[11],o,!1),Dh}function d0(e,t,n,r,o){const a=e[n+1],u=null===t;let m=r?To(a):hr(a),w=!1;for(;0!==m&&(!1===w||u);){const F=e[m+1];oC(e[m],t)&&(w=!0,e[m+1]=r?_i(F):_c(F)),m=r?To(F):hr(F)}w&&(e[n+1]=r?_c(a):_i(a))}function oC(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&vn(e,t)>=0}const Ir={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function f0(e){return e.substring(Ir.key,Ir.keyEnd)}function h0(e,t){const n=Ir.textEnd;return n===t?-1:(t=Ir.keyEnd=function cC(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Ir.key=t,n),Hc(e,t,n))}function Hc(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function im(e,t){return function Ns(e,t,n,r){const o=lt(),a=Kn(),u=Vr(2);a.firstUpdatePass&&w0(a,e,u,r),t!==Fn&&bi(o,u,t)&&E0(a,a.data[Yt()],o,o[11],e,o[u+1]=function yC(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Ge(ss(e)))),e}(t,n),r,u)}(e,t,null,!0),im}function y0(e){!function Rs(e,t,n,r){const o=Kn(),a=Vr(2);o.firstUpdatePass&&w0(o,null,a,r);const u=lt();if(n!==Fn&&bi(u,a,n)){const m=o.data[Yt()];if(D0(m,r)&&!C0(o,a)){let w=r?m.classesWithoutHost:m.stylesWithoutHost;null!==w&&(n=Ne(w,n||"")),Qg(o,m,u,n,r)}else!function vC(e,t,n,r,o,a,u,m){o===Fn&&(o=Pt);let w=0,x=0,F=0<o.length?o[0]:null,X=0<a.length?a[0]:null;for(;null!==F||null!==X;){const we=w<o.length?o[w+1]:void 0,Le=x<a.length?a[x+1]:void 0;let bt,at=null;F===X?(w+=2,x+=2,we!==Le&&(at=X,bt=Le)):null===X||null!==F&&F<X?(w+=2,at=F):(x+=2,at=X,bt=Le),null!==at&&E0(e,t,n,r,at,bt,u,m),F=w<o.length?o[w]:null,X=x<a.length?a[x]:null}}(o,m,u,u[11],u[a+1],u[a+1]=function _C(e,t,n){if(null==n||""===n)return Pt;const r=[],o=ss(n);if(Array.isArray(o))for(let a=0;a<o.length;a++)e(r,o[a],!0);else if("object"==typeof o)for(const a in o)o.hasOwnProperty(a)&&e(r,a,o[a]);else"string"==typeof o&&t(r,o);return r}(e,t,n),r,a)}}(Ze,aa,e,!0)}function aa(e,t){for(let n=function aC(e){return function g0(e){Ir.key=0,Ir.keyEnd=0,Ir.value=0,Ir.valueEnd=0,Ir.textEnd=e.length}(e),h0(e,Hc(e,0,Ir.textEnd))}(t);n>=0;n=h0(t,n))Ze(e,f0(t),!0)}function C0(e,t){return t>=e.expandoStartIndex}function w0(e,t,n,r){const o=e.data;if(null===o[n+1]){const a=o[Yt()],u=C0(e,n);D0(a,r)&&null===t&&!u&&(t=!1),t=function hC(e,t,n,r){const o=function p(e){const t=Zt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let a=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=fd(n=rm(null,e,t,n,r),t.attrs,r),a=null);else{const u=t.directiveStylingLast;if(-1===u||e[u]!==o)if(n=rm(o,e,t,n,r),null===a){let w=function pC(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==hr(r))return e[To(r)]}(e,t,r);void 0!==w&&Array.isArray(w)&&(w=rm(null,e,t,w[1],r),w=fd(w,t.attrs,r),function gC(e,t,n,r){e[To(n?t.classBindings:t.styleBindings)]=r}(e,t,r,w))}else a=function mC(e,t,n){let r;const o=t.directiveEnd;for(let a=1+t.directiveStylingLast;a<o;a++)r=fd(r,e[a].hostAttrs,n);return fd(r,t.attrs,n)}(e,t,r)}return void 0!==a&&(r?t.residualClasses=a:t.residualStyles=a),n}(o,a,t,r),function iC(e,t,n,r,o,a){let u=a?t.classBindings:t.styleBindings,m=To(u),w=hr(u);e[r]=n;let F,x=!1;if(Array.isArray(n)){const X=n;F=X[1],(null===F||vn(X,F)>0)&&(x=!0)}else F=n;if(o)if(0!==w){const we=To(e[m+1]);e[r+1]=mc(we,m),0!==we&&(e[we+1]=vc(e[we+1],r)),e[m+1]=function qn(e,t){return 131071&e|t<<17}(e[m+1],r)}else e[r+1]=mc(m,0),0!==m&&(e[m+1]=vc(e[m+1],r)),m=r;else e[r+1]=mc(w,0),0===m?m=r:e[w+1]=vc(e[w+1],r),w=r;x&&(e[r+1]=_c(e[r+1])),d0(e,F,r,!0),d0(e,F,r,!1),function rC(e,t,n,r,o){const a=o?e.residualClasses:e.residualStyles;null!=a&&"string"==typeof t&&vn(a,t)>=0&&(n[r+1]=_i(n[r+1]))}(t,F,e,r,a),u=mc(m,w),a?t.classBindings=u:t.styleBindings=u}(o,a,t,n,u,r)}}function rm(e,t,n,r,o){let a=null;const u=n.directiveEnd;let m=n.directiveStylingLast;for(-1===m?m=n.directiveStart:m++;m<u&&(a=t[m],r=fd(r,a.hostAttrs,o),a!==e);)m++;return null!==e&&(n.directiveStylingLast=m),r}function fd(e,t,n){const r=n?1:2;let o=-1;if(null!==t)for(let a=0;a<t.length;a++){const u=t[a];"number"==typeof u?o=u:o===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Ze(e,u,!!n||t[++a]))}return void 0===e?null:e}function E0(e,t,n,r,o,a,u,m){if(!(3&t.type))return;const w=e.data,x=w[m+1];Sh(function Yf(e){return 1==(1&e)}(x)?M0(w,t,n,o,hr(x),u):void 0)||(Sh(a)||function cs(e){return 2==(2&e)}(x)&&(a=M0(w,null,n,o,m,u)),function Fr(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let a=-1===r.indexOf("-")?void 0:eo.DashCase;null==o?e.removeStyle(n,r,a):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),a|=eo.Important),e.setStyle(n,r,o,a))}}(r,u,so(Yt(),n),o,a))}function M0(e,t,n,r,o,a){const u=null===t;let m;for(;o>0;){const w=e[o],x=Array.isArray(w),F=x?w[1]:w,X=null===F;let we=n[o+1];we===Fn&&(we=X?Pt:void 0);let Le=X?Tt(we,r):F===r?we:void 0;if(x&&!Sh(Le)&&(Le=Tt(w,r)),Sh(Le)&&(m=Le,u))return m;const at=e[o+1];o=u?To(at):hr(at)}if(null!==t){let w=a?t.residualClasses:t.residualStyles;null!=w&&(m=Tt(w,r))}return m}function Sh(e){return void 0!==e}function D0(e,t){return 0!=(e.flags&(t?16:32))}function S0(e,t=""){const n=lt(),r=Kn(),o=e+22,a=r.firstCreatePass?ba(r,o,1,t,null):r.data[o],u=n[o]=function tc(e,t){return e.createText(t)}(n[11],t);La(r,n,u,a),Rr(a,!1)}function om(e){return Th("",e,""),om}function Th(e,t,n){const r=lt(),o=Ac(r,e,t,n);return o!==Fn&&As(r,Yt(),o),Th}function sm(e,t,n,r,o){const a=lt(),u=Nc(a,e,t,n,r,o);return u!==Fn&&As(a,Yt(),u),sm}const kl=void 0;var VC=["en",[["a","p"],["AM","PM"],kl],[["AM","PM"],kl,kl],[["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"]],kl,[["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"]],kl,[["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}",kl,"{1} 'at' {0}",kl],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function BC(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let Uc={};function am(e){const t=function HC(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=W0(t);if(n)return n;const r=t.split("-")[0];if(n=W0(r),n)return n;if("en"===r)return VC;throw new tt(701,!1)}function G0(e){return am(e)[En.PluralCase]}function W0(e){return e in Uc||(Uc[e]=ot.ng&&ot.ng.common&&ot.ng.common.locales&&ot.ng.common.locales[e]),Uc[e]}var En=(()=>((En=En||{})[En.LocaleId=0]="LocaleId",En[En.DayPeriodsFormat=1]="DayPeriodsFormat",En[En.DayPeriodsStandalone=2]="DayPeriodsStandalone",En[En.DaysFormat=3]="DaysFormat",En[En.DaysStandalone=4]="DaysStandalone",En[En.MonthsFormat=5]="MonthsFormat",En[En.MonthsStandalone=6]="MonthsStandalone",En[En.Eras=7]="Eras",En[En.FirstDayOfWeek=8]="FirstDayOfWeek",En[En.WeekendRange=9]="WeekendRange",En[En.DateFormat=10]="DateFormat",En[En.TimeFormat=11]="TimeFormat",En[En.DateTimeFormat=12]="DateTimeFormat",En[En.NumberSymbols=13]="NumberSymbols",En[En.NumberFormats=14]="NumberFormats",En[En.CurrencyCode=15]="CurrencyCode",En[En.CurrencySymbol=16]="CurrencySymbol",En[En.CurrencyName=17]="CurrencyName",En[En.Currencies=18]="Currencies",En[En.Directionality=19]="Directionality",En[En.PluralCase=20]="PluralCase",En[En.ExtraData=21]="ExtraData",En))();const jc="en-US";let K0=jc;function um(e,t,n,r,o){if(e=Be(e),Array.isArray(e))for(let a=0;a<e.length;a++)um(e[a],t,n,r,o);else{const a=Kn(),u=lt();let m=Ca(e)?e:Be(e.provide),w=If(e);const x=Ni(),F=1048575&x.providerIndexes,X=x.directiveStart,we=x.providerIndexes>>20;if(Ca(e)||!e.multi){const Le=new Yr(w,o,Za),at=fm(m,t,o?F:F+we,X);-1===at?(Oa(Cs(x,u),a,m),dm(a,e,t.length),t.push(m),x.directiveStart++,x.directiveEnd++,o&&(x.providerIndexes+=1048576),n.push(Le),u.push(Le)):(n[at]=Le,u[at]=Le)}else{const Le=fm(m,t,F+we,X),at=fm(m,t,F,F+we),bt=Le>=0&&n[Le],At=at>=0&&n[at];if(o&&!At||!o&&!bt){Oa(Cs(x,u),a,m);const Qt=function B1(e,t,n,r,o){const a=new Yr(e,n,Za);return a.multi=[],a.index=t,a.componentProviders=0,vv(a,o,r&&!n),a}(o?L1:F1,n.length,o,r,w);!o&&At&&(n[at].providerFactory=Qt),dm(a,e,t.length,0),t.push(m),x.directiveStart++,x.directiveEnd++,o&&(x.providerIndexes+=1048576),n.push(Qt),u.push(Qt)}else dm(a,e,Le>-1?Le:at,vv(n[o?at:Le],w,!o&&r));!o&&r&&At&&n[at].componentProviders++}}}function dm(e,t,n,r){const o=Ca(t),a=function Ep(e){return!!e.useClass}(t);if(o||a){const w=(a?Be(t.useClass):t).prototype.ngOnDestroy;if(w){const x=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const F=x.indexOf(n);-1===F?x.push(n,[r,w]):x[F+1].push(r,w)}else x.push(n,w)}}}function vv(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function fm(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function F1(e,t,n,r){return hm(this.multi,[])}function L1(e,t,n,r){const o=this.multi;let a;if(this.providerFactory){const u=this.providerFactory.componentProviders,m=fo(n,n[1],this.providerFactory.index,r);a=m.slice(0,u),hm(o,a);for(let w=u;w<m.length;w++)a.push(m[w])}else a=[],hm(o,a);return a}function hm(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function yv(e,t=[]){return n=>{n.providersResolver=(r,o)=>function k1(e,t,n){const r=Kn();if(r.firstCreatePass){const o=Mn(e);um(n,r.data,r.blueprint,o,!0),um(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}class $c{}class Cv{}function V1(e,t){return new wv(e,t??null)}class wv extends $c{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new dd(this);const r=R(t);this._bootstrapComponents=xs(r.bootstrap),this._r3Injector=zf(t,n,[{provide:$c,useValue:this},{provide:Pl,useValue:this.componentFactoryResolver}],Ge(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 pm extends Cv{constructor(t){super(),this.moduleType=t}create(t){return new wv(this.moduleType,t)}}class H1 extends $c{constructor(t,n,r){super(),this.componentFactoryResolver=new dd(this),this.instance=null;const o=new Of([...t,{provide:$c,useValue:this},{provide:Pl,useValue:this.componentFactoryResolver}],n||ja(),r,new Set(["environment"]));this.injector=o,o.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function gm(e,t,n=null){return new H1(e,t,n).injector}let U1=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n.id)){const r=Sf(0,n.type),o=r.length>0?gm([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n.id,o)}return this.cachedInjectors.get(n.id)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return e.ɵprov=Zn({token:e,providedIn:"environment",factory:()=>new e(dr(ia))}),e})();function bv(e){e.getStandaloneInjector=t=>t.get(U1).getOrCreateStandaloneInjector(e)}function xv(e,t,n,r){return Nv(lt(),Xi(),e,t,n,r)}function Ov(e,t,n,r,o){return function Rv(e,t,n,r,o,a,u){const m=t+n;return yr(e,m,o,a)?Bn(e,m+2,u?r.call(u,o,a):r(o,a)):vd(e,m+2)}(lt(),Xi(),e,t,n,r,o)}function Iv(e,t,n,r,o,a){return function kv(e,t,n,r,o,a,u,m){const w=t+n;return function Bi(e,t,n,r,o){const a=yr(e,t,n,r);return bi(e,t+2,o)||a}(e,w,o,a,u)?Bn(e,w+3,m?r.call(m,o,a,u):r(o,a,u)):vd(e,w+3)}(lt(),Xi(),e,t,n,r,o,a)}function Av(e,t,n,r,o,a,u){return function Fv(e,t,n,r,o,a,u,m,w){const x=t+n;return function Ki(e,t,n,r,o,a){const u=yr(e,t,n,r);return yr(e,t+2,o,a)||u}(e,x,o,a,u,m)?Bn(e,x+4,w?r.call(w,o,a,u,m):r(o,a,u,m)):vd(e,x+4)}(lt(),Xi(),e,t,n,r,o,a,u)}function vd(e,t){const n=e[t];return n===Fn?void 0:n}function Nv(e,t,n,r,o,a){const u=t+n;return bi(e,u,o)?Bn(e,u+1,a?r.call(a,o):r(o)):vd(e,u+1)}function Bv(e,t){const n=Kn();let r;const o=e+22;n.firstCreatePass?(r=function nw(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(o,r.onDestroy)):r=n.data[o];const a=r.factory||(r.factory=Vn(r.type)),u=$(Za);try{const m=er(!1),w=a();return er(m),function Jy(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,lt(),o,w),w}finally{$(u)}}function Vv(e,t,n){const r=e+22,o=lt(),a=Gr(o,r);return function yd(e,t){return e[1].data[t].pure}(o,r)?Nv(o,Xi(),t,a.transform,n,a):a.transform(n)}function _m(e){return t=>{setTimeout(e,void 0,t)}}const la=class aw extends l.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let o=t,a=n||(()=>null),u=r;if(t&&"object"==typeof t){const w=t;o=w.next?.bind(w),a=w.error?.bind(w),u=w.complete?.bind(w)}this.__isAsync&&(a=_m(a),o&&(o=_m(o)),u&&(u=_m(u)));const m=super.subscribe({next:o,error:a,complete:u});return t instanceof v.w0&&t.add(m),m}};function lw(){return this._results[pt()]()}class vm{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=pt(),r=vm.prototype;r[n]||(r[n]=lw)}get changes(){return this._changes||(this._changes=new la)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const r=this;r.dirty=!1;const o=Fi(t);(this._changesDetected=!function qc(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],a=t[r];if(n&&(o=n(o),a=n(a)),a!==o)return!1}return!0}(r._results,o,n))&&(r._results=o,r.length=o.length,r.last=o[this.length-1],r.first=o[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let Cd=(()=>{class e{}return e.__NG_ELEMENT_ID__=dw,e})();const cw=Cd,uw=class extends cw{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t,n){const r=this._declarationTContainer.tViews,o=Ec(this._declarationLView,r,t,16,null,r.declTNode,null,null,null,null,n||null);o[17]=this._declarationLView[this._declarationTContainer.index];const u=this._declarationLView[19];return null!==u&&(o[19]=u.createEmbeddedView(r)),Ju(r,o,t),new Nl(o)}};function dw(){return Ah(Ni(),lt())}function Ah(e,t){return 4&e.type?new uw(t,e,Ga(e,t)):null}let Nh=(()=>{class e{}return e.__NG_ELEMENT_ID__=fw,e})();function fw(){return jv(Ni(),lt())}const hw=Nh,Hv=class extends hw{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Ga(this._hostTNode,this._hostLView)}get injector(){return new Bo(this._hostTNode,this._hostLView)}get parentInjector(){const t=xa(this._hostTNode,this._hostLView);if(In(t)){const n=ur(t,this._hostLView),r=pi(t);return new Bo(n[1].data[r+8],n)}return new Bo(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Uv(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-b}createEmbeddedView(t,n,r){let o,a;"number"==typeof r?o=r:null!=r&&(o=r.index,a=r.injector);const u=t.createEmbeddedView(n||{},a);return this.insert(u,o),u}createComponent(t,n,r,o,a){const u=t&&!function pa(e){return"function"==typeof e}(t);let m;if(u)m=n;else{const X=n||{};m=X.index,r=X.injector,o=X.projectableNodes,a=X.environmentInjector||X.ngModuleRef}const w=u?t:new Rl(Bt(t)),x=r||this.parentInjector;if(!a&&null==w.ngModule){const we=(u?x:this.parentInjector).get(ia,null);we&&(a=we)}const F=w.create(x,o,void 0,a);return this.insert(F.hostView,m),F}insert(t,n){const r=t._lView,o=r[1];if(function P(e){return Ue(e[3])}(r)){const F=this.indexOf(t);if(-1!==F)this.detach(F);else{const X=r[3],we=new Hv(X,X[6],X[3]);we.detach(we.indexOf(t))}}const a=this._adjustIndex(n),u=this._lContainer;!function nc(e,t,n,r){const o=b+r,a=n.length;r>0&&(n[o-1][4]=t),r<a-b?(t[4]=n[o],Zc(n,b+r,t)):(n.push(t),t[4]=null),t[3]=n;const u=t[17];null!==u&&n!==u&&function Qd(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(u,t);const m=t[19];null!==m&&m.insertView(e),t[2]|=64}(o,r,u,a);const m=yn(a,u),w=r[11],x=oc(w,u[7]);return null!==x&&function np(e,t,n,r,o,a){r[0]=o,r[6]=t,Uo(e,r,n,1,o,a)}(o,u[6],w,r,x,m),t.attachToViewContainerRef(),Zc(ym(u),a,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Uv(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=vl(this._lContainer,n);r&&(h(ym(this._lContainer),n),yl(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=vl(this._lContainer,n);return r&&null!=h(ym(this._lContainer),n)?new Nl(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Uv(e){return e[8]}function ym(e){return e[8]||(e[8]=[])}function jv(e,t){let n;const r=t[e.index];if(Ue(r))n=r;else{let o;if(8&e.type)o=Ti(r);else{const a=t[11];o=a.createComment("");const u=wi(e,t);ma(a,oc(a,u),o,function ef(e,t){return e.nextSibling(t)}(a,u),!1)}t[e.index]=n=gh(r,t,o,e),Sc(t,n)}return new Hv(n,e,t)}class Cm{constructor(t){this.queryList=t,this.matches=null}clone(){return new Cm(this.queryList)}setDirty(){this.queryList.setDirty()}}class wm{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,o=[];for(let a=0;a<r;a++){const u=n.getByIndex(a);o.push(this.queries[u.indexInDeclarationView].clone())}return new wm(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==Qv(t,n).matches&&this.queries[n].setDirty()}}class $v{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class bm{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){const o=null!==n?n.length:0,a=this.getByIndex(r).embeddedTView(t,o);a&&(a.indexInDeclarationView=r,null!==n?n.push(a):n=[a])}return null!==n?new bm(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class Em{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 Em(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){const a=r[o];this.matchTNodeWithReadOption(t,n,mw(n,a)),this.matchTNodeWithReadOption(t,n,Qo(n,t,a,!1,!1))}else r===Cd?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Qo(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const o=this.metadata.read;if(null!==o)if(o===xl||o===Nh||o===Cd&&4&n.type)this.addMatch(n.index,-2);else{const a=Qo(n,t,o,!1,!1);null!==a&&this.addMatch(n.index,a)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function mw(e,t){const n=e.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function vw(e,t,n,r){return-1===n?function _w(e,t){return 11&e.type?Ga(e,t):4&e.type?Ah(e,t):null}(t,e):-2===n?function yw(e,t,n){return n===xl?Ga(t,e):n===Cd?Ah(t,e):n===Nh?jv(t,e):void 0}(e,t,r):fo(e,e[1],n,t)}function zv(e,t,n,r){const o=t[19].queries[r];if(null===o.matches){const a=e.data,u=n.matches,m=[];for(let w=0;w<u.length;w+=2){const x=u[w];m.push(x<0?null:vw(t,a[x],u[w+1],n.metadata.read))}o.matches=m}return o.matches}function Mm(e,t,n,r){const o=e.queries.getByIndex(n),a=o.matches;if(null!==a){const u=zv(e,t,o,n);for(let m=0;m<a.length;m+=2){const w=a[m];if(w>0)r.push(u[m/2]);else{const x=a[m+1],F=t[-w];for(let X=b;X<F.length;X++){const we=F[X];we[17]===we[3]&&Mm(we[1],we,x,r)}if(null!==F[9]){const X=F[9];for(let we=0;we<X.length;we++){const Le=X[we];Mm(Le[1],Le,x,r)}}}}}return r}function Gv(e){const t=lt(),n=Kn(),r=M();A(r+1);const o=Qv(n,r);if(e.dirty&&function j(e){return 4==(4&e[2])}(t)===(2==(2&o.metadata.flags))){if(null===o.matches)e.reset([]);else{const a=o.crossesNgTemplate?Mm(n,t,r,[]):zv(n,t,o,r);e.reset(a,Rp),e.notifyOnChanges()}return!0}return!1}function Wv(e,t,n){const r=Kn();r.firstCreatePass&&(Yv(r,new $v(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),Zv(r,lt(),t)}function Kv(e,t,n,r){const o=Kn();if(o.firstCreatePass){const a=Ni();Yv(o,new $v(t,n,r),a.index),function ww(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(o,e),2==(2&n)&&(o.staticContentQueries=!0)}Zv(o,lt(),n)}function qv(){return function Cw(e,t){return e[19].queries[t].queryList}(lt(),M())}function Zv(e,t,n){const r=new vm(4==(4&n));sh(e,t,r,r.destroy),null===t[19]&&(t[19]=new wm),t[19].queries.push(new Cm(r))}function Yv(e,t,n){null===e.queries&&(e.queries=new bm),e.queries.track(new Em(t,n))}function Qv(e,t){return e.queries.getByIndex(t)}function Jv(e,t){return Ah(e,t)}function kh(...e){}const _y=new tn("Application Initializer");let Fh=(()=>{class e{constructor(n){this.appInits=n,this.resolve=kh,this.reject=kh,this.initialized=!1,this.done=!1,this.donePromise=new Promise(((r,o)=>{this.resolve=r,this.reject=o}))}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let o=0;o<this.appInits.length;o++){const a=this.appInits[o]();if(em(a))n.push(a);else if(q_(a)){const u=new Promise(((m,w)=>{a.subscribe({complete:m,error:w})}));n.push(u)}}Promise.all(n).then((()=>{r()})).catch((o=>{this.reject(o)})),0===n.length&&r(),this.initialized=!0}}return e.ɵfac=function(n){return new(n||e)(dr(_y,8))},e.ɵprov=Zn({token:e,factory:e.ɵfac,providedIn:"root"}),e})();const vy=new tn("AppId",{providedIn:"root",factory:function yy(){return`${xm()}${xm()}${xm()}`}});function xm(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Cy=new tn("Platform Initializer"),Uw=new tn("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),wy=new tn("appBootstrapListener"),jw=new tn("AnimationModuleType");let $w=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.ɵfac=function(n){return new(n||e)},e.ɵprov=Zn({token:e,factory:e.ɵfac,providedIn:"platform"}),e})();const Lh=new tn("LocaleId",{providedIn:"root",factory:()=>Pd(Lh,Oe.Optional|Oe.SkipSelf)||function zw(){return typeof $localize<"u"&&$localize.locale||jc}()}),Gw=new tn("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class Ww{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let Kw=(()=>{class e{compileModuleSync(n){return new pm(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),a=xs(R(n).declarations).reduce(((u,m)=>{const w=Bt(m);return w&&u.push(new Rl(w)),u}),[]);return new Ww(r,a)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.ɵfac=function(n){return new(n||e)},e.ɵprov=Zn({token:e,factory:e.ɵfac,providedIn:"root"}),e})();const Yw=(()=>Promise.resolve(0))();function Om(e){typeof Zone>"u"?Yw.then((()=>{e&&e.apply(null,null)})):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class us{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new la(!1),this.onMicrotaskEmpty=new la(!1),this.onStable=new la(!1),this.onError=new la(!1),typeof Zone>"u")throw new tt(908,!1);Zone.assertZonePatched();const o=this;if(o._nesting=0,o._outer=o._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const a=Zone.AsyncStackTaggingZoneSpec;o._inner=o._inner.fork(new a("Angular"))}Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function Qw(){let e=ot.requestAnimationFrame,t=ot.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function eb(e){const t=()=>{!function Xw(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(ot,(()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",(()=>{e.lastRequestAnimationFrameId=-1,Am(e),e.isCheckStableRunning=!0,Im(e),e.isCheckStableRunning=!1}),void 0,(()=>{}),(()=>{}))),e.fakeTopEventTask.invoke()})),Am(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,a,u,m)=>{try{return My(e),n.invokeTask(o,a,u,m)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===a.type||e.shouldCoalesceRunChangeDetection)&&t(),Dy(e)}},onInvoke:(n,r,o,a,u,m,w)=>{try{return My(e),n.invoke(o,a,u,m,w)}finally{e.shouldCoalesceRunChangeDetection&&t(),Dy(e)}},onHasTask:(n,r,o,a)=>{n.hasTask(o,a),r===o&&("microTask"==a.change?(e._hasPendingMicrotasks=a.microTask,Am(e),Im(e)):"macroTask"==a.change&&(e.hasPendingMacrotasks=a.macroTask))},onHandleError:(n,r,o,a)=>(n.handleError(o,a),e.runOutsideAngular((()=>e.onError.emit(a))),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!us.isInAngularZone())throw new tt(909,!1)}static assertNotInAngularZone(){if(us.isInAngularZone())throw new tt(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const a=this._inner,u=a.scheduleEventTask("NgZoneEvent: "+o,t,Jw,kh,kh);try{return a.runTask(u,n,r)}finally{a.cancelTask(u)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const Jw={};function Im(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 Am(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function My(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Dy(e){e._nesting--,Im(e)}class tb{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new la,this.onMicrotaskEmpty=new la,this.onStable=new la,this.onError=new la}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}}const Sy=new tn(""),Ty=new tn("");let Nm,nb=(()=>{class e{constructor(n,r,o){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Nm||(function ib(e){Nm=e}(o),o.addToWindow(r)),this._watchAngularEvents(),n.run((()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")}))}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular((()=>{this._ngZone.onStable.subscribe({next:()=>{us.assertNotInAngularZone(),Om((()=>{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())Om((()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1}));else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter((r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1))),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map((n=>({source:n.source,creationLocation:n.creationLocation,data:n.data}))):[]}addCallback(n,r,o){let a=-1;r&&r>0&&(a=setTimeout((()=>{this._callbacks=this._callbacks.filter((u=>u.timeoutId!==a)),n(this._didWork,this.getPendingTasks())}),r)),this._callbacks.push({doneCb:n,timeoutId:a,updateCb:o})}whenStable(n,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}}return e.ɵfac=function(n){return new(n||e)(dr(us),dr(Py),dr(Ty))},e.ɵprov=Zn({token:e,factory:e.ɵfac}),e})(),Py=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return Nm?.findTestabilityInTree(this,n,r)??null}}return e.ɵfac=function(n){return new(n||e)},e.ɵprov=Zn({token:e,factory:e.ɵfac,providedIn:"platform"}),e})(),Ja=null;const xy=new tn("AllowMultipleToken"),Rm=new tn("PlatformDestroyListeners");class sb{constructor(t,n){this.name=t,this.token=n}}function Iy(e,t,n=[]){const r=`Platform: ${t}`,o=new tn(r);return(a=[])=>{let u=km();if(!u||u.injector.get(xy,!1)){const m=[...n,...a,{provide:o,useValue:!0}];e?e(m):function ab(e){if(Ja&&!Ja.get(xy,!1))throw new tt(400,!1);Ja=e;const t=e.get(Ny);(function Oy(e){const t=e.get(Cy,null);t&&t.forEach((n=>n()))})(e)}(function Ay(e=[],t){return fr.create({name:t,providers:[{provide:Pu,useValue:"platform"},{provide:Rm,useValue:new Set([()=>Ja=null])},...e]})}(m,r))}return function cb(e){const t=km();if(!t)throw new tt(401,!1);return t}()}}function km(){return Ja?.get(Ny)??null}let Ny=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function ky(e,t){let n;return n="noop"===e?new tb:("zone.js"===e?void 0:e)||new us(t),n}(r?.ngZone,function Ry(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(r)),a=[{provide:us,useValue:o}];return o.run((()=>{const u=fr.create({providers:a,parent:this.injector,name:n.moduleType.name}),m=n.create(u),w=m.injector.get(ra,null);if(!w)throw new tt(402,!1);return o.runOutsideAngular((()=>{const x=o.onError.subscribe({next:F=>{w.handleError(F)}});m.onDestroy((()=>{Vh(this._modules,m),x.unsubscribe()}))})),function Fy(e,t,n){try{const r=n();return em(r)?r.catch((o=>{throw t.runOutsideAngular((()=>e.handleError(o))),o})):r}catch(r){throw t.runOutsideAngular((()=>e.handleError(r))),r}}(w,o,(()=>{const x=m.injector.get(Fh);return x.runInitializers(),x.donePromise.then((()=>(function q0(e){Rn(e,"Expected localeId to be defined"),"string"==typeof e&&(K0=e.toLowerCase().replace(/_/g,"-"))}(m.injector.get(Lh,jc)||jc),this._moduleDoBootstrap(m),m)))}))}))}bootstrapModule(n,r=[]){const o=Ly({},r);return function rb(e,t,n){const r=new pm(n);return Promise.resolve(r)}(0,0,n).then((a=>this.bootstrapModuleFactory(a,o)))}_moduleDoBootstrap(n){const r=n.injector.get(Bh);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach((o=>r.bootstrap(o)));else{if(!n.instance.ngDoBootstrap)throw new tt(403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new tt(404,!1);this._modules.slice().forEach((r=>r.destroy())),this._destroyListeners.forEach((r=>r()));const n=this._injector.get(Rm,null);n&&(n.forEach((r=>r())),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.ɵfac=function(n){return new(n||e)(dr(fr))},e.ɵprov=Zn({token:e,factory:e.ɵfac,providedIn:"platform"}),e})();function Ly(e,t){return Array.isArray(t)?t.reduce(Ly,e):{...e,...t}}let Bh=(()=>{class e{constructor(n,r,o){this._zone=n,this._injector=r,this._exceptionHandler=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run((()=>{this.tick()}))}});const a=new V.y((m=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular((()=>{m.next(this._stable),m.complete()}))})),u=new V.y((m=>{let w;this._zone.runOutsideAngular((()=>{w=this._zone.onStable.subscribe((()=>{us.assertNotInAngularZone(),Om((()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,m.next(!0))}))}))}));const x=this._zone.onUnstable.subscribe((()=>{us.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular((()=>{m.next(!1)})))}));return()=>{w.unsubscribe(),x.unsubscribe()}}));this.isStable=(0,Q.T)(a,u.pipe(function ye(e={}){const{connector:t=(()=>new l.x),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return a=>{let u=null,m=null,w=null,x=0,F=!1,X=!1;const we=()=>{m?.unsubscribe(),m=null},Le=()=>{we(),u=w=null,F=X=!1},at=()=>{const bt=u;Le(),bt?.unsubscribe()};return(0,le.e)(((bt,At)=>{x++,!X&&!F&&we();const Qt=w=w??t();At.add((()=>{x--,0===x&&!X&&!F&&(m=Y(at,o))})),Qt.subscribe(At),u||(u=new oe.Hp({next:ln=>Qt.next(ln),error:ln=>{X=!0,we(),m=Y(Le,n,ln),Qt.error(ln)},complete:()=>{F=!0,we(),m=Y(Le,r),Qt.complete()}}),(0,K.D)(bt).subscribe(u))}))(a)}}()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof Nf;if(!this._injector.get(Fh).done)throw!o&&U(n),new tt(405,false);let u;u=o?n:this._injector.get(Pl).resolveComponentFactory(n),this.componentTypes.push(u.componentType);const m=function ob(e){return e.isBoundToModule}(u)?void 0:this._injector.get($c),x=u.create(fr.NULL,[],r||u.selector,m),F=x.location.nativeElement,X=x.injector.get(Sy,null);return X?.registerApplication(F),x.onDestroy((()=>{this.detachView(x.hostView),Vh(this.components,x),X?.unregisterApplication(F)})),this._loadComponent(x),x}tick(){if(this._runningTick)throw new tt(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular((()=>this._exceptionHandler.handleError(n)))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Vh(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(wy,[]).concat(this._bootstrapListeners).forEach((o=>o(n)))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach((n=>n())),this._views.slice().forEach((n=>n.destroy())),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Vh(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new tt(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)(dr(us),dr(ia),dr(ra))},e.ɵprov=Zn({token:e,factory:e.ɵfac,providedIn:"root"}),e})();function Vh(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let Vy=!0;function db(){Vy=!1}let fb=(()=>{class e{}return e.__NG_ELEMENT_ID__=hb,e})();function hb(e){return function pb(e,t,n){if(xn(e)&&!n){const r=Ri(e.index,t);return new Nl(r,r)}return 47&e.type?new Nl(t[16],t):null}(Ni(),lt(),16==(16&e))}class zy{constructor(){}supports(t){return nn(t)}create(t){return new Cb(t)}}const yb=(e,t)=>t;class Cb{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||yb}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,a=null;for(;n||r;){const u=!r||n&&n.currentIndex<Wy(r,o,a)?n:r,m=Wy(u,o,a),w=u.currentIndex;if(u===r)o--,r=r._nextRemoved;else if(n=n._next,null==u.previousIndex)o++;else{a||(a=[]);const x=m-o,F=w-o;if(x!=F){for(let we=0;we<x;we++){const Le=we<a.length?a[we]:a[we]=0,at=Le+we;F<=at&&at<x&&(a[we]=Le+1)}a[u.previousIndex]=F-x}}m!==w&&t(u,m,w)}}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=[]),!nn(t))throw new tt(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let o,a,u,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let m=0;m<this.length;m++)a=t[m],u=this._trackByFn(m,a),null!==n&&Object.is(n.trackById,u)?(r&&(n=this._verifyReinsertion(n,a,u,m)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,u,m),r=!0),n=n._next}else o=0,function Qn(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[pt()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,(m=>{u=this._trackByFn(o,m),null!==n&&Object.is(n.trackById,u)?(r&&(n=this._verifyReinsertion(n,m,u,o)),Object.is(n.item,m)||this._addIdentityChange(n,m)):(n=this._mismatch(n,m,u,o),r=!0),n=n._next,o++})),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let a;return null===t?a=this._itTail:(a=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,a,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,a,o)):t=this._addAfter(new wb(n,r),a,o),t}_verifyReinsertion(t,n,r,o){let a=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==a?t=this._reinsertAfter(a,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,a=t._nextRemoved;return null===o?this._removalsHead=a:o._nextRemoved=a,null===a?this._removalsTail=o:a._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new Gy),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Gy),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 wb{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 bb{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class Gy{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new bb,this.map.set(n,r)),r.add(t)}get(t,n){const o=this.map.get(t);return o?o.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Wy(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}class Ky{constructor(){}supports(t){return t instanceof Map||Cn(t)}create(){return new Eb}}class Eb{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||Cn(t)))throw new tt(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,((r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const a=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,a)}})),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const o=this._records.get(t);this._maybeAddToChanges(o,n);const a=o._prev,u=o._next;return a&&(a._next=u),u&&(u._prev=a),o._next=null,o._prev=null,o}const r=new Mb(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach((r=>n(t[r],r)))}}class Mb{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 qy(){return new Hm([new zy])}let Hm=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||qy()),deps:[[e,new Ia,new Zs]]}}find(n){const r=this.factories.find((o=>o.supports(n)));if(null!=r)return r;throw new tt(901,!1)}}return e.ɵprov=Zn({token:e,providedIn:"root",factory:qy}),e})();function Zy(){return new Um([new Ky])}let Um=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Zy()),deps:[[e,new Ia,new Zs]]}}find(n){const r=this.factories.find((o=>o.supports(n)));if(r)return r;throw new tt(901,!1)}}return e.ɵprov=Zn({token:e,providedIn:"root",factory:Zy}),e})();const Tb=Iy(null,"core",[]);let Pb=(()=>{class e{constructor(n){}}return e.ɵfac=function(n){return new(n||e)(dr(Bh))},e.ɵmod=vi({type:e}),e.ɵinj=fi({}),e})();function xb(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}},1516:(Pe,q,T)=>{"use strict";T.d(q,{PW:()=>Vr});var l=T(1571),v=T(1481),V=T(7340);function K(N){return new l.vHH(3e3,!1)}function dn(){return typeof window<"u"&&typeof window.document<"u"}function li(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function Oi(N){switch(N.length){case 0:return new V.ZN;case 1:return N[0];default:return new V.ZE(N)}}function fn(N,f,p,M,A=new Map,z=new Map){const _e=[],ve=[];let Ve=-1,et=null;if(M.forEach((Rt=>{const jt=Rt.get("offset"),On=jt==Ve,Sn=On&&et||new Map;Rt.forEach(((un,Yt)=>{let An=Yt,ge=un;if("offset"!==Yt)switch(An=f.normalizePropertyName(An,_e),ge){case V.k1:ge=A.get(Yt);break;case V.l3:ge=z.get(Yt);break;default:ge=f.normalizeStyleValue(Yt,An,ge,_e)}Sn.set(An,ge)})),On||ve.push(Sn),et=Sn,Ve=jt})),_e.length)throw function He(N){return new l.vHH(3502,!1)}();return ve}function Zn(N,f,p,M){switch(f){case"start":N.onStart((()=>M(p&&Zi(p,"start",N))));break;case"done":N.onDone((()=>M(p&&Zi(p,"done",N))));break;case"destroy":N.onDestroy((()=>M(p&&Zi(p,"destroy",N))))}}function Zi(N,f,p){const z=fi(N.element,N.triggerName,N.fromState,N.toState,f||N.phaseName,p.totalTime??N.totalTime,!!p.disabled),_e=N._data;return null!=_e&&(z._data=_e),z}function fi(N,f,p,M,A="",z=0,_e){return{element:N,triggerName:f,fromState:p,toState:M,phaseName:A,totalTime:z,disabled:!!_e}}function Un(N,f,p){let M=N.get(f);return M||N.set(f,M=p),M}function mi(N){const f=N.indexOf(":");return[N.substring(1,f),N.slice(f+1)]}let ci=(N,f)=>!1,Yi=(N,f,p)=>[],ti=null;function hi(N){const f=N.parentNode||N.host;return f===ti?null:f}(li()||typeof Element<"u")&&(dn()?(ti=(()=>document.documentElement)(),ci=(N,f)=>{for(;f;){if(f===N)return!0;f=hi(f)}return!1}):ci=(N,f)=>N.contains(f),Yi=(N,f,p)=>{if(p)return Array.from(N.querySelectorAll(f));const M=N.querySelector(f);return M?[M]:[]});let de=null,Ae=!1;const $=ci,W=Yi;let $e=(()=>{class N{validateStyleProperty(p){return function Oe(N){de||(de=function ce(){return typeof document<"u"?document.body:null}()||{},Ae=!!de.style&&"WebkitAppearance"in de.style);let f=!0;return de.style&&!function Xn(N){return"ebkit"==N.substring(1,6)}(N)&&(f=N in de.style,!f&&Ae&&(f="Webkit"+N.charAt(0).toUpperCase()+N.slice(1)in de.style)),f}(p)}matchesElement(p,M){return!1}containsElement(p,M){return $(p,M)}getParentElement(p){return hi(p)}query(p,M,A){return W(p,M,A)}computeStyle(p,M,A){return A||""}animate(p,M,A,z,_e,ve=[],Ve){return new V.ZN(A,z)}}return N.ɵfac=function(p){return new(p||N)},N.ɵprov=l.Yz7({token:N,factory:N.ɵfac}),N})(),st=(()=>{class N{}return N.NOOP=new $e,N})();const ot="ng-enter",Kt="ng-leave",_n="ng-trigger",It=".ng-trigger",Pt="ng-animating",xt=".ng-animating";function Dt(N){if("number"==typeof N)return N;const f=N.match(/^(-?[\.\d]+)(m?s)/);return!f||f.length<2?0:Gn(parseFloat(f[1]),f[2])}function Gn(N,f){return"s"===f?1e3*N:N}function Xt(N,f,p){return N.hasOwnProperty("duration")?N:function wn(N,f,p){let A,z=0,_e="";if("string"==typeof N){const ve=N.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===ve)return f.push(K()),{duration:0,delay:0,easing:""};A=Gn(parseFloat(ve[1]),ve[2]);const Ve=ve[3];null!=Ve&&(z=Gn(parseFloat(Ve),ve[4]));const et=ve[5];et&&(_e=et)}else A=N;if(!p){let ve=!1,Ve=f.length;A<0&&(f.push(function fe(){return new l.vHH(3100,!1)}()),ve=!0),z<0&&(f.push(function oe(){return new l.vHH(3101,!1)}()),ve=!0),ve&&f.splice(Ve,0,K())}return{duration:A,delay:z,easing:_e}}(N,f,p)}function cn(N,f={}){return Object.keys(N).forEach((p=>{f[p]=N[p]})),f}function Nt(N){const f=new Map;return Object.keys(N).forEach((p=>{f.set(p,N[p])})),f}function sn(N,f=new Map,p){if(p)for(let[M,A]of p)f.set(M,A);for(let[M,A]of N)f.set(M,A);return f}function on(N,f,p){return p?f+":"+p+";":""}function vi(N){let f="";for(let p=0;p<N.style.length;p++){const M=N.style.item(p);f+=on(0,M,N.style.getPropertyValue(M))}for(const p in N.style)N.style.hasOwnProperty(p)&&!p.startsWith("_")&&(f+=on(0,Ie(p),N.style[p]));N.setAttribute("style",f)}function ui(N,f,p){N.style&&(f.forEach(((M,A)=>{const z=te(A);p&&!p.has(A)&&p.set(A,N.style[z]),N.style[z]=M})),li()&&vi(N))}function $n(N,f){N.style&&(f.forEach(((p,M)=>{const A=te(M);N.style[A]=""})),li()&&vi(N))}function kn(N){return Array.isArray(N)?1==N.length?N[0]:(0,V.vP)(N):N}const Bt=new RegExp("{{\\s*(.+?)\\s*}}","g");function Ce(N){let f=[];if("string"==typeof N){let p;for(;p=Bt.exec(N);)f.push(p[1]);Bt.lastIndex=0}return f}function ie(N,f,p){const M=N.toString(),A=M.replace(Bt,((z,_e)=>{let ve=f[_e];return null==ve&&(p.push(function ye(N){return new l.vHH(3003,!1)}()),ve=""),ve.toString()}));return A==M?N:A}function U(N){const f=[];let p=N.next();for(;!p.done;)f.push(p.value),p=N.next();return f}const R=/-+([a-z0-9])/g;function te(N){return N.replace(R,((...f)=>f[1].toUpperCase()))}function Ie(N){return N.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function nt(N,f,p){switch(f.type){case 7:return N.visitTrigger(f,p);case 0:return N.visitState(f,p);case 1:return N.visitTransition(f,p);case 2:return N.visitSequence(f,p);case 3:return N.visitGroup(f,p);case 4:return N.visitAnimate(f,p);case 5:return N.visitKeyframes(f,p);case 6:return N.visitStyle(f,p);case 8:return N.visitReference(f,p);case 9:return N.visitAnimateChild(f,p);case 10:return N.visitAnimateRef(f,p);case 11:return N.visitQuery(f,p);case 12:return N.visitStagger(f,p);default:throw function Y(N){return new l.vHH(3004,!1)}()}}function wt(N,f){return window.getComputedStyle(N)[f]}function Wn(N,f){const p=[];return"string"==typeof N?N.split(/\s*,\s*/).forEach((M=>function an(N,f,p){if(":"==N[0]){const Ve=function ri(N,f){switch(N){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(p,M)=>parseFloat(M)>parseFloat(p);case":decrement":return(p,M)=>parseFloat(M)<parseFloat(p);default:return f.push(function Ot(N){return new l.vHH(3016,!1)}()),"* => *"}}(N,p);if("function"==typeof Ve)return void f.push(Ve);N=Ve}const M=N.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==M||M.length<4)return p.push(function Ft(N){return new l.vHH(3015,!1)}()),f;const A=M[1],z=M[2],_e=M[3];f.push(Ii(A,_e));"<"==z[0]&&!("*"==A&&"*"==_e)&&f.push(Ii(_e,A))}(M,p,f))):p.push(N),p}const yi=new Set(["true","1"]),Vi=new Set(["false","0"]);function Ii(N,f){const p=yi.has(N)||Vi.has(N),M=yi.has(f)||Vi.has(f);return(A,z)=>{let _e="*"==N||N==A,ve="*"==f||f==z;return!_e&&p&&"boolean"==typeof A&&(_e=A?yi.has(N):Vi.has(N)),!ve&&M&&"boolean"==typeof z&&(ve=z?yi.has(f):Vi.has(f)),_e&&ve}}const mr=new RegExp("s*:selfs*,?","g");function zn(N,f,p,M){return new $r(N).build(f,p,M)}class $r{constructor(f){this._driver=f}build(f,p,M){const A=new Pi(p);return this._resetContextStyleTimingState(A),nt(this,kn(f),A)}_resetContextStyleTimingState(f){f.currentQuerySelector="",f.collectedStyles=new Map,f.collectedStyles.set("",new Map),f.currentTime=0}visitTrigger(f,p){let M=p.queryCount=0,A=p.depCount=0;const z=[],_e=[];return"@"==f.name.charAt(0)&&p.errors.push(function De(){return new l.vHH(3006,!1)}()),f.definitions.forEach((ve=>{if(this._resetContextStyleTimingState(p),0==ve.type){const Ve=ve,et=Ve.name;et.toString().split(/\s*,\s*/).forEach((Rt=>{Ve.name=Rt,z.push(this.visitState(Ve,p))})),Ve.name=et}else if(1==ve.type){const Ve=this.visitTransition(ve,p);M+=Ve.queryCount,A+=Ve.depCount,_e.push(Ve)}else p.errors.push(function Ge(){return new l.vHH(3007,!1)}())})),{type:7,name:f.name,states:z,transitions:_e,queryCount:M,depCount:A,options:null}}visitState(f,p){const M=this.visitStyle(f.styles,p),A=f.options&&f.options.params||null;if(M.containsDynamicStyles){const z=new Set,_e=A||{};M.styles.forEach((ve=>{ve instanceof Map&&ve.forEach((Ve=>{Ce(Ve).forEach((et=>{_e.hasOwnProperty(et)||z.add(et)}))}))})),z.size&&(U(z.values()),p.errors.push(function Ne(N,f){return new l.vHH(3008,!1)}()))}return{type:0,name:f.name,style:M,options:A?{params:A}:null}}visitTransition(f,p){p.queryCount=0,p.depCount=0;const M=nt(this,kn(f.animation),p);return{type:1,matchers:Wn(f.expr,p.errors),animation:M,queryCount:p.queryCount,depCount:p.depCount,options:b(f.options)}}visitSequence(f,p){return{type:2,steps:f.steps.map((M=>nt(this,M,p))),options:b(f.options)}}visitGroup(f,p){const M=p.currentTime;let A=0;const z=f.steps.map((_e=>{p.currentTime=M;const ve=nt(this,_e,p);return A=Math.max(A,p.currentTime),ve}));return p.currentTime=A,{type:3,steps:z,options:b(f.options)}}visitAnimate(f,p){const M=function L(N,f){if(N.hasOwnProperty("duration"))return N;if("number"==typeof N)return H(Xt(N,f).duration,0,"");const p=N;if(p.split(/\s+/).some((z=>"{"==z.charAt(0)&&"{"==z.charAt(1)))){const z=H(0,0,"");return z.dynamic=!0,z.strValue=p,z}const A=Xt(p,f);return H(A.duration,A.delay,A.easing)}(f.timings,p.errors);p.currentAnimateTimings=M;let A,z=f.styles?f.styles:(0,V.oB)({});if(5==z.type)A=this.visitKeyframes(z,p);else{let _e=f.styles,ve=!1;if(!_e){ve=!0;const et={};M.easing&&(et.easing=M.easing),_e=(0,V.oB)(et)}p.currentTime+=M.duration+M.delay;const Ve=this.visitStyle(_e,p);Ve.isEmptyStep=ve,A=Ve}return p.currentAnimateTimings=null,{type:4,timings:M,style:A,options:null}}visitStyle(f,p){const M=this._makeStyleAst(f,p);return this._validateStyleAst(M,p),M}_makeStyleAst(f,p){const M=[],A=Array.isArray(f.styles)?f.styles:[f.styles];for(let ve of A)"string"==typeof ve?ve===V.l3?M.push(ve):p.errors.push(new l.vHH(3002,!1)):M.push(Nt(ve));let z=!1,_e=null;return M.forEach((ve=>{if(ve instanceof Map&&(ve.has("easing")&&(_e=ve.get("easing"),ve.delete("easing")),!z))for(let Ve of ve.values())if(Ve.toString().indexOf("{{")>=0){z=!0;break}})),{type:6,styles:M,easing:_e,offset:f.offset,containsDynamicStyles:z,options:null}}_validateStyleAst(f,p){const M=p.currentAnimateTimings;let A=p.currentTime,z=p.currentTime;M&&z>0&&(z-=M.duration+M.delay),f.styles.forEach((_e=>{"string"!=typeof _e&&_e.forEach(((ve,Ve)=>{const et=p.collectedStyles.get(p.currentQuerySelector),Rt=et.get(Ve);let jt=!0;Rt&&(z!=A&&z>=Rt.startTime&&A<=Rt.endTime&&(p.errors.push(function Be(N,f,p,M,A){return new l.vHH(3010,!1)}()),jt=!1),z=Rt.startTime),jt&&et.set(Ve,{startTime:z,endTime:A}),p.options&&function Ci(N,f,p){const M=f.params||{},A=Ce(N);A.length&&A.forEach((z=>{M.hasOwnProperty(z)||p.push(function le(N){return new l.vHH(3001,!1)}())}))}(ve,p.options,p.errors)}))}))}visitKeyframes(f,p){const M={type:5,styles:[],options:null};if(!p.currentAnimateTimings)return p.errors.push(function dt(){return new l.vHH(3011,!1)}()),M;let z=0;const _e=[];let ve=!1,Ve=!1,et=0;const Rt=f.steps.map((ge=>{const Qe=this._makeStyleAst(ge,p);let ze=null!=Qe.offset?Qe.offset:function J(N){if("string"==typeof N)return null;let f=null;if(Array.isArray(N))N.forEach((p=>{if(p instanceof Map&&p.has("offset")){const M=p;f=parseFloat(M.get("offset")),M.delete("offset")}}));else if(N instanceof Map&&N.has("offset")){const p=N;f=parseFloat(p.get("offset")),p.delete("offset")}return f}(Qe.styles),St=0;return null!=ze&&(z++,St=Qe.offset=ze),Ve=Ve||St<0||St>1,ve=ve||St<et,et=St,_e.push(St),Qe}));Ve&&p.errors.push(function gt(){return new l.vHH(3012,!1)}()),ve&&p.errors.push(function tt(){return new l.vHH(3200,!1)}());const jt=f.steps.length;let On=0;z>0&&z<jt?p.errors.push(function Ke(){return new l.vHH(3202,!1)}()):0==z&&(On=1/(jt-1));const Sn=jt-1,un=p.currentTime,Yt=p.currentAnimateTimings,An=Yt.duration;return Rt.forEach(((ge,Qe)=>{const ze=On>0?Qe==Sn?1:On*Qe:_e[Qe],St=ze*An;p.currentTime=un+Yt.delay+St,Yt.duration=St,this._validateStyleAst(ge,p),ge.offset=ze,M.styles.push(ge)})),M}visitReference(f,p){return{type:8,animation:nt(this,kn(f.animation),p),options:b(f.options)}}visitAnimateChild(f,p){return p.depCount++,{type:9,options:b(f.options)}}visitAnimateRef(f,p){return{type:10,animation:this.visitReference(f.animation,p),options:b(f.options)}}visitQuery(f,p){const M=p.currentQuerySelector,A=f.options||{};p.queryCount++,p.currentQuery=f;const[z,_e]=function Gi(N){const f=!!N.split(/\s*,\s*/).find((p=>":self"==p));return f&&(N=N.replace(mr,"")),N=N.replace(/@\*/g,It).replace(/@\w+/g,(p=>It+"-"+p.slice(1))).replace(/:animating/g,xt),[N,f]}(f.selector);p.currentQuerySelector=M.length?M+" "+z:z,Un(p.collectedStyles,p.currentQuerySelector,new Map);const ve=nt(this,kn(f.animation),p);return p.currentQuery=null,p.currentQuerySelector=M,{type:11,selector:z,limit:A.limit||0,optional:!!A.optional,includeSelf:_e,animation:ve,originalSelector:f.selector,options:b(f.options)}}visitStagger(f,p){p.currentQuery||p.errors.push(function pe(){return new l.vHH(3013,!1)}());const M="full"===f.timings?{duration:0,delay:0,easing:"full"}:Xt(f.timings,p.errors,!0);return{type:12,animation:nt(this,kn(f.animation),p),timings:M,options:null}}}class Pi{constructor(f){this.errors=f,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 b(N){return N?(N=cn(N)).params&&(N.params=function Ar(N){return N?cn(N):null}(N.params)):N={},N}function H(N,f,p){return{duration:N,delay:f,easing:p}}function Ee(N,f,p,M,A,z,_e=null,ve=!1){return{type:1,element:N,keyframes:f,preStyleProps:p,postStyleProps:M,duration:A,delay:z,totalTime:A+z,easing:_e,subTimeline:ve}}class Ue{constructor(){this._map=new Map}get(f){return this._map.get(f)||[]}append(f,p){let M=this._map.get(f);M||this._map.set(f,M=[]),M.push(...p)}has(f){return this._map.has(f)}clear(){this._map.clear()}}const si=new RegExp(":enter","g"),oi=new RegExp(":leave","g");function xi(N,f,p,M,A,z=new Map,_e=new Map,ve,Ve,et=[]){return(new Wi).buildKeyframes(N,f,p,M,A,z,_e,ve,Ve,et)}class Wi{buildKeyframes(f,p,M,A,z,_e,ve,Ve,et,Rt=[]){et=et||new Ue;const jt=new Po(f,p,et,A,z,Rt,[]);jt.options=Ve;const On=Ve.delay?Dt(Ve.delay):0;jt.currentTimeline.delayNextStep(On),jt.currentTimeline.setStyles([_e],null,jt.errors,Ve),nt(this,M,jt);const Sn=jt.timelines.filter((un=>un.containsAnimation()));if(Sn.length&&ve.size){let un;for(let Yt=Sn.length-1;Yt>=0;Yt--){const An=Sn[Yt];if(An.element===p){un=An;break}}un&&!un.allowOnlyTimelineStyles()&&un.setStyles([ve],null,jt.errors,Ve)}return Sn.length?Sn.map((un=>un.buildKeyframes())):[Ee(p,[],[],[],0,On,"",!1)]}visitTrigger(f,p){}visitState(f,p){}visitTransition(f,p){}visitAnimateChild(f,p){const M=p.subInstructions.get(p.element);if(M){const A=p.createSubContext(f.options),z=p.currentTimeline.currentTime,_e=this._visitSubInstructions(M,A,A.options);z!=_e&&p.transformIntoNewTimeline(_e)}p.previousNode=f}visitAnimateRef(f,p){const M=p.createSubContext(f.options);M.transformIntoNewTimeline(),this._applyAnimationRefDelays([f.options,f.animation.options],p,M),this.visitReference(f.animation,M),p.transformIntoNewTimeline(M.currentTimeline.currentTime),p.previousNode=f}_applyAnimationRefDelays(f,p,M){for(const A of f){const z=A?.delay;if(z){const _e="number"==typeof z?z:Dt(ie(z,A?.params??{},p.errors));M.delayNextStep(_e)}}}_visitSubInstructions(f,p,M){let z=p.currentTimeline.currentTime;const _e=null!=M.duration?Dt(M.duration):null,ve=null!=M.delay?Dt(M.delay):null;return 0!==_e&&f.forEach((Ve=>{const et=p.appendInstructionToTimeline(Ve,_e,ve);z=Math.max(z,et.duration+et.delay)})),z}visitReference(f,p){p.updateOptions(f.options,!0),nt(this,f.animation,p),p.previousNode=f}visitSequence(f,p){const M=p.subContextCount;let A=p;const z=f.options;if(z&&(z.params||z.delay)&&(A=p.createSubContext(z),A.transformIntoNewTimeline(),null!=z.delay)){6==A.previousNode.type&&(A.currentTimeline.snapshotCurrentStyles(),A.previousNode=Nr);const _e=Dt(z.delay);A.delayNextStep(_e)}f.steps.length&&(f.steps.forEach((_e=>nt(this,_e,A))),A.currentTimeline.applyStylesToKeyframe(),A.subContextCount>M&&A.transformIntoNewTimeline()),p.previousNode=f}visitGroup(f,p){const M=[];let A=p.currentTimeline.currentTime;const z=f.options&&f.options.delay?Dt(f.options.delay):0;f.steps.forEach((_e=>{const ve=p.createSubContext(f.options);z&&ve.delayNextStep(z),nt(this,_e,ve),A=Math.max(A,ve.currentTimeline.currentTime),M.push(ve.currentTimeline)})),M.forEach((_e=>p.currentTimeline.mergeTimelineCollectedStyles(_e))),p.transformIntoNewTimeline(A),p.previousNode=f}_visitTiming(f,p){if(f.dynamic){const M=f.strValue;return Xt(p.params?ie(M,p.params,p.errors):M,p.errors)}return{duration:f.duration,delay:f.delay,easing:f.easing}}visitAnimate(f,p){const M=p.currentAnimateTimings=this._visitTiming(f.timings,p),A=p.currentTimeline;M.delay&&(p.incrementTime(M.delay),A.snapshotCurrentStyles());const z=f.style;5==z.type?this.visitKeyframes(z,p):(p.incrementTime(M.duration),this.visitStyle(z,p),A.applyStylesToKeyframe()),p.currentAnimateTimings=null,p.previousNode=f}visitStyle(f,p){const M=p.currentTimeline,A=p.currentAnimateTimings;!A&&M.hasCurrentStyleProperties()&&M.forwardFrame();const z=A&&A.easing||f.easing;f.isEmptyStep?M.applyEmptyStep(z):M.setStyles(f.styles,z,p.errors,p.options),p.previousNode=f}visitKeyframes(f,p){const M=p.currentAnimateTimings,A=p.currentTimeline.duration,z=M.duration,ve=p.createSubContext().currentTimeline;ve.easing=M.easing,f.styles.forEach((Ve=>{ve.forwardTime((Ve.offset||0)*z),ve.setStyles(Ve.styles,Ve.easing,p.errors,p.options),ve.applyStylesToKeyframe()})),p.currentTimeline.mergeTimelineCollectedStyles(ve),p.transformIntoNewTimeline(A+z),p.previousNode=f}visitQuery(f,p){const M=p.currentTimeline.currentTime,A=f.options||{},z=A.delay?Dt(A.delay):0;z&&(6===p.previousNode.type||0==M&&p.currentTimeline.hasCurrentStyleProperties())&&(p.currentTimeline.snapshotCurrentStyles(),p.previousNode=Nr);let _e=M;const ve=p.invokeQuery(f.selector,f.originalSelector,f.limit,f.includeSelf,!!A.optional,p.errors);p.currentQueryTotal=ve.length;let Ve=null;ve.forEach(((et,Rt)=>{p.currentQueryIndex=Rt;const jt=p.createSubContext(f.options,et);z&&jt.delayNextStep(z),et===p.element&&(Ve=jt.currentTimeline),nt(this,f.animation,jt),jt.currentTimeline.applyStylesToKeyframe(),_e=Math.max(_e,jt.currentTimeline.currentTime)})),p.currentQueryIndex=0,p.currentQueryTotal=0,p.transformIntoNewTimeline(_e),Ve&&(p.currentTimeline.mergeTimelineCollectedStyles(Ve),p.currentTimeline.snapshotCurrentStyles()),p.previousNode=f}visitStagger(f,p){const M=p.parentContext,A=p.currentTimeline,z=f.timings,_e=Math.abs(z.duration),ve=_e*(p.currentQueryTotal-1);let Ve=_e*p.currentQueryIndex;switch(z.duration<0?"reverse":z.easing){case"reverse":Ve=ve-Ve;break;case"full":Ve=M.currentStaggerTime}const Rt=p.currentTimeline;Ve&&Rt.delayNextStep(Ve);const jt=Rt.currentTime;nt(this,f.animation,p),p.previousNode=f,M.currentStaggerTime=A.currentTime-jt+(A.startTime-M.currentTimeline.startTime)}}const Nr={};class Po{constructor(f,p,M,A,z,_e,ve,Ve){this._driver=f,this.element=p,this.subInstructions=M,this._enterClassName=A,this._leaveClassName=z,this.errors=_e,this.timelines=ve,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Nr,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Ve||new no(this._driver,p,0),ve.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(f,p){if(!f)return;const M=f;let A=this.options;null!=M.duration&&(A.duration=Dt(M.duration)),null!=M.delay&&(A.delay=Dt(M.delay));const z=M.params;if(z){let _e=A.params;_e||(_e=this.options.params={}),Object.keys(z).forEach((ve=>{(!p||!_e.hasOwnProperty(ve))&&(_e[ve]=ie(z[ve],_e,this.errors))}))}}_copyOptions(){const f={};if(this.options){const p=this.options.params;if(p){const M=f.params={};Object.keys(p).forEach((A=>{M[A]=p[A]}))}}return f}createSubContext(f=null,p,M){const A=p||this.element,z=new Po(this._driver,A,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(A,M||0));return z.previousNode=this.previousNode,z.currentAnimateTimings=this.currentAnimateTimings,z.options=this._copyOptions(),z.updateOptions(f),z.currentQueryIndex=this.currentQueryIndex,z.currentQueryTotal=this.currentQueryTotal,z.parentContext=this,this.subContextCount++,z}transformIntoNewTimeline(f){return this.previousNode=Nr,this.currentTimeline=this.currentTimeline.fork(this.element,f),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(f,p,M){const A={duration:p??f.duration,delay:this.currentTimeline.currentTime+(M??0)+f.delay,easing:""},z=new Fs(this._driver,f.element,f.keyframes,f.preStyleProps,f.postStyleProps,A,f.stretchStartingKeyframe);return this.timelines.push(z),A}incrementTime(f){this.currentTimeline.forwardTime(this.currentTimeline.duration+f)}delayNextStep(f){f>0&&this.currentTimeline.delayNextStep(f)}invokeQuery(f,p,M,A,z,_e){let ve=[];if(A&&ve.push(this.element),f.length>0){f=(f=f.replace(si,"."+this._enterClassName)).replace(oi,"."+this._leaveClassName);let et=this._driver.query(this.element,f,1!=M);0!==M&&(et=M<0?et.slice(et.length+M,et.length):et.slice(0,M)),ve.push(...et)}return!z&&0==ve.length&&_e.push(function Xe(N){return new l.vHH(3014,!1)}()),ve}}class no{constructor(f,p,M,A){this._driver=f,this.element=p,this.startTime=M,this._elementTimelineStylesLookup=A,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(p),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(p,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(f){const p=1===this._keyframes.size&&this._pendingStyles.size;this.duration||p?(this.forwardTime(this.currentTime+f),p&&this.snapshotCurrentStyles()):this.startTime+=f}fork(f,p){return this.applyStylesToKeyframe(),new no(this._driver,f,p||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(f){this.applyStylesToKeyframe(),this.duration=f,this._loadKeyframe()}_updateStyle(f,p){this._localTimelineStyles.set(f,p),this._globalTimelineStyles.set(f,p),this._styleSummary.set(f,{time:this.currentTime,value:p})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(f){f&&this._previousKeyframe.set("easing",f);for(let[p,M]of this._globalTimelineStyles)this._backFill.set(p,M||V.l3),this._currentKeyframe.set(p,V.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(f,p,M,A){p&&this._previousKeyframe.set("easing",p);const z=A&&A.params||{},_e=function ds(N,f){const p=new Map;let M;return N.forEach((A=>{if("*"===A){M=M||f.keys();for(let z of M)p.set(z,V.l3)}else sn(A,p)})),p}(f,this._globalTimelineStyles);for(let[ve,Ve]of _e){const et=ie(Ve,z,M);this._pendingStyles.set(ve,et),this._localTimelineStyles.has(ve)||this._backFill.set(ve,this._globalTimelineStyles.get(ve)??V.l3),this._updateStyle(ve,et)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach(((f,p)=>{this._currentKeyframe.set(p,f)})),this._pendingStyles.clear(),this._localTimelineStyles.forEach(((f,p)=>{this._currentKeyframe.has(p)||this._currentKeyframe.set(p,f)})))}snapshotCurrentStyles(){for(let[f,p]of this._localTimelineStyles)this._pendingStyles.set(f,p),this._updateStyle(f,p)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const f=[];for(let p in this._currentKeyframe)f.push(p);return f}mergeTimelineCollectedStyles(f){f._styleSummary.forEach(((p,M)=>{const A=this._styleSummary.get(M);(!A||p.time>A.time)&&this._updateStyle(M,p.value)}))}buildKeyframes(){this.applyStylesToKeyframe();const f=new Set,p=new Set,M=1===this._keyframes.size&&0===this.duration;let A=[];this._keyframes.forEach(((ve,Ve)=>{const et=sn(ve,new Map,this._backFill);et.forEach(((Rt,jt)=>{Rt===V.k1?f.add(jt):Rt===V.l3&&p.add(jt)})),M||et.set("offset",Ve/this.duration),A.push(et)}));const z=f.size?U(f.values()):[],_e=p.size?U(p.values()):[];if(M){const ve=A[0],Ve=new Map(ve);ve.set("offset",0),Ve.set("offset",1),A=[ve,Ve]}return Ee(this.element,A,z,_e,this.duration,this.startTime,this.easing,!1)}}class Fs extends no{constructor(f,p,M,A,z,_e,ve=!1){super(f,p,_e.delay),this.keyframes=M,this.preStyleProps=A,this.postStyleProps=z,this._stretchStartingKeyframe=ve,this.timings={duration:_e.duration,delay:_e.delay,easing:_e.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let f=this.keyframes,{delay:p,duration:M,easing:A}=this.timings;if(this._stretchStartingKeyframe&&p){const z=[],_e=M+p,ve=p/_e,Ve=sn(f[0]);Ve.set("offset",0),z.push(Ve);const et=sn(f[0]);et.set("offset",zo(ve)),z.push(et);const Rt=f.length-1;for(let jt=1;jt<=Rt;jt++){let On=sn(f[jt]);const Sn=On.get("offset");On.set("offset",zo((p+Sn*M)/_e)),z.push(On)}M=_e,p=0,A="",f=z}return Ee(this.element,f,this.preStyleProps,this.postStyleProps,M,p,A,!0)}}function zo(N,f=3){const p=Math.pow(10,f-1);return Math.round(N*p)/p}class wr{}const Bs=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 Vs extends wr{normalizePropertyName(f,p){return te(f)}normalizeStyleValue(f,p,M,A){let z="";const _e=M.toString().trim();if(Bs.has(p)&&0!==M&&"0"!==M)if("number"==typeof M)z="px";else{const ve=M.match(/^[+-]?[\d\.]+([a-z]*)$/);ve&&0==ve[1].length&&A.push(function ne(N,f){return new l.vHH(3005,!1)}())}return _e+z}}function Hs(N,f,p,M,A,z,_e,ve,Ve,et,Rt,jt,On){return{type:0,element:N,triggerName:f,isRemovalTransition:A,fromState:p,fromStyles:z,toState:M,toStyles:_e,timelines:ve,queriedElements:Ve,preStyleProps:et,postStyleProps:Rt,totalTime:jt,errors:On}}const Lr={};class xo{constructor(f,p,M){this._triggerName=f,this.ast=p,this._stateStyles=M}match(f,p,M,A){return function io(N,f,p,M,A){return N.some((z=>z(f,p,M,A)))}(this.ast.matchers,f,p,M,A)}buildStyles(f,p,M){let A=this._stateStyles.get("*");return void 0!==f&&(A=this._stateStyles.get(f?.toString())||A),A?A.buildStyles(p,M):new Map}build(f,p,M,A,z,_e,ve,Ve,et,Rt){const jt=[],On=this.ast.options&&this.ast.options.params||Lr,un=this.buildStyles(M,ve&&ve.params||Lr,jt),Yt=Ve&&Ve.params||Lr,An=this.buildStyles(A,Yt,jt),ge=new Set,Qe=new Map,ze=new Map,St="void"===A,gn={params:Oo(Yt,On),delay:this.ast.options?.delay},Tn=Rt?[]:xi(f,p,this.ast.animation,z,_e,un,An,gn,et,jt);let ei=0;if(Tn.forEach((_r=>{ei=Math.max(_r.duration+_r.delay,ei)})),jt.length)return Hs(p,this._triggerName,M,A,St,un,An,[],[],Qe,ze,ei,jt);Tn.forEach((_r=>{const br=_r.element,lr=Un(Qe,br,new Set);_r.preStyleProps.forEach((Eo=>lr.add(Eo)));const Zr=Un(ze,br,new Set);_r.postStyleProps.forEach((Eo=>Zr.add(Eo))),br!==p&&ge.add(br)}));const Hn=U(ge.values());return Hs(p,this._triggerName,M,A,St,un,An,Tn,Hn,Qe,ze,ei)}}function Oo(N,f){const p=cn(f);for(const M in N)N.hasOwnProperty(M)&&null!=N[M]&&(p[M]=N[M]);return p}class fs{constructor(f,p,M){this.styles=f,this.defaultParams=p,this.normalizer=M}buildStyles(f,p){const M=new Map,A=cn(this.defaultParams);return Object.keys(f).forEach((z=>{const _e=f[z];null!==_e&&(A[z]=_e)})),this.styles.styles.forEach((z=>{"string"!=typeof z&&z.forEach(((_e,ve)=>{_e&&(_e=ie(_e,A,p));const Ve=this.normalizer.normalizePropertyName(ve,p);_e=this.normalizer.normalizeStyleValue(ve,Ve,_e,p),M.set(Ve,_e)}))})),M}}class ai{constructor(f,p,M){this.name=f,this.ast=p,this._normalizer=M,this.transitionFactories=[],this.states=new Map,p.states.forEach((A=>{this.states.set(A.name,new fs(A.style,A.options&&A.options.params||{},M))})),hs(this.states,"true","1"),hs(this.states,"false","0"),p.transitions.forEach((A=>{this.transitionFactories.push(new xo(f,A,this.states))})),this.fallbackTransition=function Vn(N,f,p){return new xo(N,{type:1,animation:{type:2,steps:[],options:null},matchers:[(_e,ve)=>!0],options:null,queryCount:0,depCount:0},f)}(f,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(f,p,M,A){return this.transitionFactories.find((_e=>_e.match(f,p,M,A)))||null}matchStyles(f,p,M){return this.fallbackTransition.buildStyles(f,p,M)}}function hs(N,f,p){N.has(f)?N.has(p)||N.set(p,N.get(f)):N.has(p)&&N.set(f,N.get(p))}const ro=new Ue;class ps{constructor(f,p,M){this.bodyNode=f,this._driver=p,this._normalizer=M,this._animations=new Map,this._playersById=new Map,this.players=[]}register(f,p){const M=[],z=zn(this._driver,p,M,[]);if(M.length)throw function Fe(N){return new l.vHH(3503,!1)}();this._animations.set(f,z)}_buildPlayer(f,p,M){const A=f.element,z=fn(0,this._normalizer,0,f.keyframes,p,M);return this._driver.animate(A,z,f.duration,f.delay,f.easing,[],!0)}create(f,p,M={}){const A=[],z=this._animations.get(f);let _e;const ve=new Map;if(z?(_e=xi(this._driver,p,z,ot,Kt,new Map,new Map,M,ro,A),_e.forEach((Rt=>{const jt=Un(ve,Rt.element,new Map);Rt.postStyleProps.forEach((On=>jt.set(On,null)))}))):(A.push(function Te(){return new l.vHH(3300,!1)}()),_e=[]),A.length)throw function me(N){return new l.vHH(3504,!1)}();ve.forEach(((Rt,jt)=>{Rt.forEach(((On,Sn)=>{Rt.set(Sn,this._driver.computeStyle(jt,Sn,V.l3))}))}));const et=Oi(_e.map((Rt=>{const jt=ve.get(Rt.element);return this._buildPlayer(Rt,new Map,jt)})));return this._playersById.set(f,et),et.onDestroy((()=>this.destroy(f))),this.players.push(et),et}destroy(f){const p=this._getPlayer(f);p.destroy(),this._playersById.delete(f);const M=this.players.indexOf(p);M>=0&&this.players.splice(M,1)}_getPlayer(f){const p=this._playersById.get(f);if(!p)throw function ae(N){return new l.vHH(3301,!1)}();return p}listen(f,p,M,A){const z=fi(p,"","","");return Zn(this._getPlayer(f),M,z,A),()=>{}}command(f,p,M,A){if("register"==M)return void this.register(f,A[0]);if("create"==M)return void this.create(f,p,A[0]||{});const z=this._getPlayer(f);switch(M){case"play":z.play();break;case"pause":z.pause();break;case"reset":z.reset();break;case"restart":z.restart();break;case"finish":z.finish();break;case"init":z.init();break;case"setPosition":z.setPosition(parseFloat(A[0]));break;case"destroy":this.destroy(f)}}}const Go="ng-animate-queued",wo="ng-animate-disabled",js=[],Si={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},oo={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Ui="__ng_removed";class ji{constructor(f,p=""){this.namespaceId=p;const M=f&&f.hasOwnProperty("value");if(this.value=function wi(N){return N??null}(M?f.value:f),M){const z=cn(f);delete z.value,this.options=z}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(f){const p=f.params;if(p){const M=this.options.params;Object.keys(p).forEach((A=>{null==M[A]&&(M[A]=p[A])}))}}}const zr="void",bo=new ji(zr);class Ti{constructor(f,p,M){this.id=f,this.hostElement=p,this._engine=M,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+f,Z(p,this._hostClassName)}listen(f,p,M,A){if(!this._triggers.has(p))throw function je(N,f){return new l.vHH(3302,!1)}();if(null==M||0==M.length)throw function Jt(N){return new l.vHH(3303,!1)}();if(!function Ji(N){return"start"==N||"done"==N}(M))throw function Lt(N,f){return new l.vHH(3400,!1)}();const z=Un(this._elementListeners,f,[]),_e={name:p,phase:M,callback:A};z.push(_e);const ve=Un(this._engine.statesByElement,f,new Map);return ve.has(p)||(Z(f,_n),Z(f,_n+"-"+p),ve.set(p,bo)),()=>{this._engine.afterFlush((()=>{const Ve=z.indexOf(_e);Ve>=0&&z.splice(Ve,1),this._triggers.has(p)||ve.delete(p)}))}}register(f,p){return!this._triggers.has(f)&&(this._triggers.set(f,p),!0)}_getTrigger(f){const p=this._triggers.get(f);if(!p)throw function mn(N){return new l.vHH(3401,!1)}();return p}trigger(f,p,M,A=!0){const z=this._getTrigger(p),_e=new zs(this.id,p,f);let ve=this._engine.statesByElement.get(f);ve||(Z(f,_n),Z(f,_n+"-"+p),this._engine.statesByElement.set(f,ve=new Map));let Ve=ve.get(p);const et=new ji(M,this.id);if(!(M&&M.hasOwnProperty("value"))&&Ve&&et.absorbOptions(Ve.options),ve.set(p,et),Ve||(Ve=bo),et.value!==zr&&Ve.value===et.value){if(!function Zt(N,f){const p=Object.keys(N),M=Object.keys(f);if(p.length!=M.length)return!1;for(let A=0;A<p.length;A++){const z=p[A];if(!f.hasOwnProperty(z)||N[z]!==f[z])return!1}return!0}(Ve.params,et.params)){const Yt=[],An=z.matchStyles(Ve.value,Ve.params,Yt),ge=z.matchStyles(et.value,et.params,Yt);Yt.length?this._engine.reportError(Yt):this._engine.afterFlush((()=>{$n(f,An),ui(f,ge)}))}return}const On=Un(this._engine.playersByElement,f,[]);On.forEach((Yt=>{Yt.namespaceId==this.id&&Yt.triggerName==p&&Yt.queued&&Yt.destroy()}));let Sn=z.matchTransition(Ve.value,et.value,f,et.params),un=!1;if(!Sn){if(!A)return;Sn=z.fallbackTransition,un=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:f,triggerName:p,transition:Sn,fromState:Ve,toState:et,player:_e,isFallbackTransition:un}),un||(Z(f,Go),_e.onStart((()=>{P(f,Go)}))),_e.onDone((()=>{let Yt=this.players.indexOf(_e);Yt>=0&&this.players.splice(Yt,1);const An=this._engine.playersByElement.get(f);if(An){let ge=An.indexOf(_e);ge>=0&&An.splice(ge,1)}})),this.players.push(_e),On.push(_e),_e}deregister(f){this._triggers.delete(f),this._engine.statesByElement.forEach((p=>p.delete(f))),this._elementListeners.forEach(((p,M)=>{this._elementListeners.set(M,p.filter((A=>A.name!=f)))}))}clearElementCache(f){this._engine.statesByElement.delete(f),this._elementListeners.delete(f);const p=this._engine.playersByElement.get(f);p&&(p.forEach((M=>M.destroy())),this._engine.playersByElement.delete(f))}_signalRemovalForInnerTriggers(f,p){const M=this._engine.driver.query(f,It,!0);M.forEach((A=>{if(A[Ui])return;const z=this._engine.fetchNamespacesByElement(A);z.size?z.forEach((_e=>_e.triggerLeaveAnimation(A,p,!1,!0))):this.clearElementCache(A)})),this._engine.afterFlushAnimationsDone((()=>M.forEach((A=>this.clearElementCache(A)))))}triggerLeaveAnimation(f,p,M,A){const z=this._engine.statesByElement.get(f),_e=new Map;if(z){const ve=[];if(z.forEach(((Ve,et)=>{if(_e.set(et,Ve.value),this._triggers.has(et)){const Rt=this.trigger(f,et,zr,A);Rt&&ve.push(Rt)}})),ve.length)return this._engine.markElementAsRemoved(this.id,f,!0,p,_e),M&&Oi(ve).onDone((()=>this._engine.processLeaveNode(f))),!0}return!1}prepareLeaveAnimationListeners(f){const p=this._elementListeners.get(f),M=this._engine.statesByElement.get(f);if(p&&M){const A=new Set;p.forEach((z=>{const _e=z.name;if(A.has(_e))return;A.add(_e);const Ve=this._triggers.get(_e).fallbackTransition,et=M.get(_e)||bo,Rt=new ji(zr),jt=new zs(this.id,_e,f);this._engine.totalQueuedPlayers++,this._queue.push({element:f,triggerName:_e,transition:Ve,fromState:et,toState:Rt,player:jt,isFallbackTransition:!0})}))}}removeNode(f,p){const M=this._engine;if(f.childElementCount&&this._signalRemovalForInnerTriggers(f,p),this.triggerLeaveAnimation(f,p,!0))return;let A=!1;if(M.totalAnimations){const z=M.players.length?M.playersByQueriedElement.get(f):[];if(z&&z.length)A=!0;else{let _e=f;for(;_e=_e.parentNode;)if(M.statesByElement.get(_e)){A=!0;break}}}if(this.prepareLeaveAnimationListeners(f),A)M.markElementAsRemoved(this.id,f,!1,p);else{const z=f[Ui];(!z||z===Si)&&(M.afterFlush((()=>this.clearElementCache(f))),M.destroyInnerAnimations(f),M._onRemovalComplete(f,p))}}insertNode(f,p){Z(f,this._hostClassName)}drainQueuedTransitions(f){const p=[];return this._queue.forEach((M=>{const A=M.player;if(A.destroyed)return;const z=M.element,_e=this._elementListeners.get(z);_e&&_e.forEach((ve=>{if(ve.name==M.triggerName){const Ve=fi(z,M.triggerName,M.fromState.value,M.toState.value);Ve._data=f,Zn(M.player,ve.phase,Ve,ve.callback)}})),A.markedForDestroy?this._engine.afterFlush((()=>{A.destroy()})):p.push(M)})),this._queue=[],p.sort(((M,A)=>{const z=M.transition.ast.depCount,_e=A.transition.ast.depCount;return 0==z||0==_e?z-_e:this._engine.driver.containsElement(M.element,A.element)?1:-1}))}destroy(f){this.players.forEach((p=>p.destroy())),this._signalRemovalForInnerTriggers(this.hostElement,f)}elementContainsData(f){let p=!1;return this._elementListeners.has(f)&&(p=!0),p=!!this._queue.find((M=>M.element===f))||p,p}}class $s{constructor(f,p,M){this.bodyNode=f,this.driver=p,this._normalizer=M,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=(A,z)=>{}}_onRemovalComplete(f,p){this.onRemovalComplete(f,p)}get queuedPlayers(){const f=[];return this._namespaceList.forEach((p=>{p.players.forEach((M=>{M.queued&&f.push(M)}))})),f}createNamespace(f,p){const M=new Ti(f,p,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,p)?this._balanceNamespaceList(M,p):(this.newHostElements.set(p,M),this.collectEnterElement(p)),this._namespaceLookup[f]=M}_balanceNamespaceList(f,p){const M=this._namespaceList,A=this.namespacesByHostElement;if(M.length-1>=0){let _e=!1,ve=this.driver.getParentElement(p);for(;ve;){const Ve=A.get(ve);if(Ve){const et=M.indexOf(Ve);M.splice(et+1,0,f),_e=!0;break}ve=this.driver.getParentElement(ve)}_e||M.unshift(f)}else M.push(f);return A.set(p,f),f}register(f,p){let M=this._namespaceLookup[f];return M||(M=this.createNamespace(f,p)),M}registerTrigger(f,p,M){let A=this._namespaceLookup[f];A&&A.register(p,M)&&this.totalAnimations++}destroy(f,p){if(!f)return;const M=this._fetchNamespace(f);this.afterFlush((()=>{this.namespacesByHostElement.delete(M.hostElement),delete this._namespaceLookup[f];const A=this._namespaceList.indexOf(M);A>=0&&this._namespaceList.splice(A,1)})),this.afterFlushAnimationsDone((()=>M.destroy(p)))}_fetchNamespace(f){return this._namespaceLookup[f]}fetchNamespacesByElement(f){const p=new Set,M=this.statesByElement.get(f);if(M)for(let A of M.values())if(A.namespaceId){const z=this._fetchNamespace(A.namespaceId);z&&p.add(z)}return p}trigger(f,p,M,A){if(ao(p)){const z=this._fetchNamespace(f);if(z)return z.trigger(p,M,A),!0}return!1}insertNode(f,p,M,A){if(!ao(p))return;const z=p[Ui];if(z&&z.setForRemoval){z.setForRemoval=!1,z.setForMove=!0;const _e=this.collectedLeaveElements.indexOf(p);_e>=0&&this.collectedLeaveElements.splice(_e,1)}if(f){const _e=this._fetchNamespace(f);_e&&_e.insertNode(p,M)}A&&this.collectEnterElement(p)}collectEnterElement(f){this.collectedEnterElements.push(f)}markElementAsDisabled(f,p){p?this.disabledNodes.has(f)||(this.disabledNodes.add(f),Z(f,wo)):this.disabledNodes.has(f)&&(this.disabledNodes.delete(f),P(f,wo))}removeNode(f,p,M,A){if(ao(p)){const z=f?this._fetchNamespace(f):null;if(z?z.removeNode(p,A):this.markElementAsRemoved(f,p,!1,A),M){const _e=this.namespacesByHostElement.get(p);_e&&_e.id!==f&&_e.removeNode(p,A)}}else this._onRemovalComplete(p,A)}markElementAsRemoved(f,p,M,A,z){this.collectedLeaveElements.push(p),p[Ui]={namespaceId:f,setForRemoval:A,hasAnimation:M,removedBeforeQueried:!1,previousTriggersValues:z}}listen(f,p,M,A,z){return ao(p)?this._fetchNamespace(f).listen(p,M,A,z):()=>{}}_buildInstruction(f,p,M,A,z){return f.transition.build(this.driver,f.element,f.fromState.value,f.toState.value,M,A,f.fromState.options,f.toState.options,p,z)}destroyInnerAnimations(f){let p=this.driver.query(f,It,!0);p.forEach((M=>this.destroyActiveAnimationsForElement(M))),0!=this.playersByQueriedElement.size&&(p=this.driver.query(f,xt,!0),p.forEach((M=>this.finishActiveQueriedAnimationOnElement(M))))}destroyActiveAnimationsForElement(f){const p=this.playersByElement.get(f);p&&p.forEach((M=>{M.queued?M.markedForDestroy=!0:M.destroy()}))}finishActiveQueriedAnimationOnElement(f){const p=this.playersByQueriedElement.get(f);p&&p.forEach((M=>M.finish()))}whenRenderingDone(){return new Promise((f=>{if(this.players.length)return Oi(this.players).onDone((()=>f()));f()}))}processLeaveNode(f){const p=f[Ui];if(p&&p.setForRemoval){if(f[Ui]=Si,p.namespaceId){this.destroyInnerAnimations(f);const M=this._fetchNamespace(p.namespaceId);M&&M.clearElementCache(f)}this._onRemovalComplete(f,p.setForRemoval)}f.classList?.contains(wo)&&this.markElementAsDisabled(f,!1),this.driver.query(f,".ng-animate-disabled",!0).forEach((M=>{this.markElementAsDisabled(M,!1)}))}flush(f=-1){let p=[];if(this.newHostElements.size&&(this.newHostElements.forEach(((M,A)=>this._balanceNamespaceList(M,A))),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let M=0;M<this.collectedEnterElements.length;M++)Z(this.collectedEnterElements[M],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const M=[];try{p=this._flushAnimations(M,f)}finally{for(let A=0;A<M.length;A++)M[A]()}}else for(let M=0;M<this.collectedLeaveElements.length;M++)this.processLeaveNode(this.collectedLeaveElements[M]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach((M=>M())),this._flushFns=[],this._whenQuietFns.length){const M=this._whenQuietFns;this._whenQuietFns=[],p.length?Oi(p).onDone((()=>{M.forEach((A=>A()))})):M.forEach((A=>A()))}}reportError(f){throw function Ei(N){return new l.vHH(3402,!1)}()}_flushAnimations(f,p){const M=new Ue,A=[],z=new Map,_e=[],ve=new Map,Ve=new Map,et=new Map,Rt=new Set;this.disabledNodes.forEach((_=>{Rt.add(_);const S=this.driver.query(_,".ng-animate-queued",!0);for(let y=0;y<S.length;y++)Rt.add(S[y])}));const jt=this.bodyNode,On=Array.from(this.statesByElement.keys()),Sn=j(On,this.collectedEnterElements),un=new Map;let Yt=0;Sn.forEach(((_,S)=>{const y=ot+Yt++;un.set(S,y),_.forEach((O=>Z(O,y)))}));const An=[],ge=new Set,Qe=new Set;for(let _=0;_<this.collectedLeaveElements.length;_++){const S=this.collectedLeaveElements[_],y=S[Ui];y&&y.setForRemoval&&(An.push(S),ge.add(S),y.hasAnimation?this.driver.query(S,".ng-star-inserted",!0).forEach((O=>ge.add(O))):Qe.add(S))}const ze=new Map,St=j(On,Array.from(ge));St.forEach(((_,S)=>{const y=Kt+Yt++;ze.set(S,y),_.forEach((O=>Z(O,y)))})),f.push((()=>{Sn.forEach(((_,S)=>{const y=un.get(S);_.forEach((O=>P(O,y)))})),St.forEach(((_,S)=>{const y=ze.get(S);_.forEach((O=>P(O,y)))})),An.forEach((_=>{this.processLeaveNode(_)}))}));const gn=[],Tn=[];for(let _=this._namespaceList.length-1;_>=0;_--)this._namespaceList[_].drainQueuedTransitions(p).forEach((y=>{const O=y.player,re=y.element;if(gn.push(O),this.collectedEnterElements.length){const rn=re[Ui];if(rn&&rn.setForMove){if(rn.previousTriggersValues&&rn.previousTriggersValues.has(y.triggerName)){const ni=rn.previousTriggersValues.get(y.triggerName),In=this.statesByElement.get(y.element);if(In&&In.has(y.triggerName)){const pi=In.get(y.triggerName);pi.value=ni,In.set(y.triggerName,pi)}}return void O.destroy()}}const qe=!jt||!this.driver.containsElement(jt,re),it=ze.get(re),zt=un.get(re),en=this._buildInstruction(y,M,zt,it,qe);if(en.errors&&en.errors.length)return void Tn.push(en);if(qe)return O.onStart((()=>$n(re,en.fromStyles))),O.onDestroy((()=>ui(re,en.toStyles))),void A.push(O);if(y.isFallbackTransition)return O.onStart((()=>$n(re,en.fromStyles))),O.onDestroy((()=>ui(re,en.toStyles))),void A.push(O);const Nn=[];en.timelines.forEach((rn=>{rn.stretchStartingKeyframe=!0,this.disabledNodes.has(rn.element)||Nn.push(rn)})),en.timelines=Nn,M.append(re,en.timelines),_e.push({instruction:en,player:O,element:re}),en.queriedElements.forEach((rn=>Un(ve,rn,[]).push(O))),en.preStyleProps.forEach(((rn,ni)=>{if(rn.size){let In=Ve.get(ni);In||Ve.set(ni,In=new Set),rn.forEach(((pi,Er)=>In.add(Er)))}})),en.postStyleProps.forEach(((rn,ni)=>{let In=et.get(ni);In||et.set(ni,In=new Set),rn.forEach(((pi,Er)=>In.add(Er)))}))}));if(Tn.length){const _=[];Tn.forEach((S=>{_.push(function Di(N,f){return new l.vHH(3505,!1)}())})),gn.forEach((S=>S.destroy())),this.reportError(_)}const ei=new Map,Hn=new Map;_e.forEach((_=>{const S=_.element;M.has(S)&&(Hn.set(S,S),this._beforeAnimationBuild(_.player.namespaceId,_.instruction,ei))})),A.forEach((_=>{const S=_.element;this._getPreviousPlayers(S,!1,_.namespaceId,_.triggerName,null).forEach((O=>{Un(ei,S,[]).push(O),O.destroy()}))}));const _r=An.filter((_=>$i(_,Ve,et))),br=new Map;Ri(br,this.driver,Qe,et,V.l3).forEach((_=>{$i(_,Ve,et)&&_r.push(_)}));const Zr=new Map;Sn.forEach(((_,S)=>{Ri(Zr,this.driver,new Set(_),Ve,V.k1)})),_r.forEach((_=>{const S=br.get(_),y=Zr.get(_);br.set(_,new Map([...Array.from(S?.entries()??[]),...Array.from(y?.entries()??[])]))}));const Eo=[],cr=[],Yr={};_e.forEach((_=>{const{element:S,player:y,instruction:O}=_;if(M.has(S)){if(Rt.has(S))return y.onDestroy((()=>ui(S,O.toStyles))),y.disabled=!0,y.overrideTotalTime(O.totalTime),void A.push(y);let re=Yr;if(Hn.size>1){let it=S;const zt=[];for(;it=it.parentNode;){const en=Hn.get(it);if(en){re=en;break}zt.push(it)}zt.forEach((en=>Hn.set(en,re)))}const qe=this._buildAnimation(y.namespaceId,O,ei,z,Zr,br);if(y.setRealPlayer(qe),re===Yr)Eo.push(y);else{const it=this.playersByElement.get(re);it&&it.length&&(y.parentPlayer=Oi(it)),A.push(y)}}else $n(S,O.fromStyles),y.onDestroy((()=>ui(S,O.toStyles))),cr.push(y),Rt.has(S)&&A.push(y)})),cr.forEach((_=>{const S=z.get(_.element);if(S&&S.length){const y=Oi(S);_.setRealPlayer(y)}})),A.forEach((_=>{_.parentPlayer?_.syncPlayerEvents(_.parentPlayer):_.destroy()}));for(let _=0;_<An.length;_++){const S=An[_],y=S[Ui];if(P(S,Kt),y&&y.hasAnimation)continue;let O=[];if(ve.size){let qe=ve.get(S);qe&&qe.length&&O.push(...qe);let it=this.driver.query(S,xt,!0);for(let zt=0;zt<it.length;zt++){let en=ve.get(it[zt]);en&&en.length&&O.push(...en)}}const re=O.filter((qe=>!qe.destroyed));re.length?he(this,S,re):this.processLeaveNode(S)}return An.length=0,Eo.forEach((_=>{this.players.push(_),_.onDone((()=>{_.destroy();const S=this.players.indexOf(_);this.players.splice(S,1)})),_.play()})),Eo}elementContainsData(f,p){let M=!1;const A=p[Ui];return A&&A.setForRemoval&&(M=!0),this.playersByElement.has(p)&&(M=!0),this.playersByQueriedElement.has(p)&&(M=!0),this.statesByElement.has(p)&&(M=!0),this._fetchNamespace(f).elementContainsData(p)||M}afterFlush(f){this._flushFns.push(f)}afterFlushAnimationsDone(f){this._whenQuietFns.push(f)}_getPreviousPlayers(f,p,M,A,z){let _e=[];if(p){const ve=this.playersByQueriedElement.get(f);ve&&(_e=ve)}else{const ve=this.playersByElement.get(f);if(ve){const Ve=!z||z==zr;ve.forEach((et=>{et.queued||!Ve&&et.triggerName!=A||_e.push(et)}))}}return(M||A)&&(_e=_e.filter((ve=>!(M&&M!=ve.namespaceId||A&&A!=ve.triggerName)))),_e}_beforeAnimationBuild(f,p,M){const z=p.element,_e=p.isRemovalTransition?void 0:f,ve=p.isRemovalTransition?void 0:p.triggerName;for(const Ve of p.timelines){const et=Ve.element,Rt=et!==z,jt=Un(M,et,[]);this._getPreviousPlayers(et,Rt,_e,ve,p.toState).forEach((Sn=>{const un=Sn.getRealPlayer();un.beforeDestroy&&un.beforeDestroy(),Sn.destroy(),jt.push(Sn)}))}$n(z,p.fromStyles)}_buildAnimation(f,p,M,A,z,_e){const ve=p.triggerName,Ve=p.element,et=[],Rt=new Set,jt=new Set,On=p.timelines.map((un=>{const Yt=un.element;Rt.add(Yt);const An=Yt[Ui];if(An&&An.removedBeforeQueried)return new V.ZN(un.duration,un.delay);const ge=Yt!==Ve,Qe=function Je(N){const f=[];return pn(N,f),f}((M.get(Yt)||js).map((ei=>ei.getRealPlayer()))).filter((ei=>!!ei.element&&ei.element===Yt)),ze=z.get(Yt),St=_e.get(Yt),gn=fn(0,this._normalizer,0,un.keyframes,ze,St),Tn=this._buildPlayer(un,gn,Qe);if(un.subTimeline&&A&&jt.add(Yt),ge){const ei=new zs(f,ve,Yt);ei.setRealPlayer(Tn),et.push(ei)}return Tn}));et.forEach((un=>{Un(this.playersByQueriedElement,un.element,[]).push(un),un.onDone((()=>function so(N,f,p){let M=N.get(f);if(M){if(M.length){const A=M.indexOf(p);M.splice(A,1)}0==M.length&&N.delete(f)}return M}(this.playersByQueriedElement,un.element,un)))})),Rt.forEach((un=>Z(un,Pt)));const Sn=Oi(On);return Sn.onDestroy((()=>{Rt.forEach((un=>P(un,Pt))),ui(Ve,p.toStyles)})),jt.forEach((un=>{Un(A,un,[]).push(Sn)})),Sn}_buildPlayer(f,p,M){return p.length>0?this.driver.animate(f.element,p,f.duration,f.delay,f.easing,M):new V.ZN(f.duration,f.delay)}}class zs{constructor(f,p,M){this.namespaceId=f,this.triggerName=p,this.element=M,this._player=new V.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(f){this._containsRealPlayer||(this._player=f,this._queuedCallbacks.forEach(((p,M)=>{p.forEach((A=>Zn(f,M,void 0,A)))})),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(f.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(f){this.totalTime=f}syncPlayerEvents(f){const p=this._player;p.triggerCallback&&f.onStart((()=>p.triggerCallback("start"))),f.onDone((()=>this.finish())),f.onDestroy((()=>this.destroy()))}_queueEvent(f,p){Un(this._queuedCallbacks,f,[]).push(p)}onDone(f){this.queued&&this._queueEvent("done",f),this._player.onDone(f)}onStart(f){this.queued&&this._queueEvent("start",f),this._player.onStart(f)}onDestroy(f){this.queued&&this._queueEvent("destroy",f),this._player.onDestroy(f)}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(f){this.queued||this._player.setPosition(f)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(f){const p=this._player;p.triggerCallback&&p.triggerCallback(f)}}function ao(N){return N&&1===N.nodeType}function Gr(N,f){const p=N.style.display;return N.style.display=f??"none",p}function Ri(N,f,p,M,A){const z=[];p.forEach((Ve=>z.push(Gr(Ve))));const _e=[];M.forEach(((Ve,et)=>{const Rt=new Map;Ve.forEach((jt=>{const On=f.computeStyle(et,jt,A);Rt.set(jt,On),(!On||0==On.length)&&(et[Ui]=oo,_e.push(et))})),N.set(et,Rt)}));let ve=0;return p.forEach((Ve=>Gr(Ve,z[ve++]))),_e}function j(N,f){const p=new Map;if(N.forEach((ve=>p.set(ve,[]))),0==f.length)return p;const A=new Set(f),z=new Map;function _e(ve){if(!ve)return 1;let Ve=z.get(ve);if(Ve)return Ve;const et=ve.parentNode;return Ve=p.has(et)?et:A.has(et)?1:_e(et),z.set(ve,Ve),Ve}return f.forEach((ve=>{const Ve=_e(ve);1!==Ve&&p.get(Ve).push(ve)})),p}function Z(N,f){N.classList?.add(f)}function P(N,f){N.classList?.remove(f)}function he(N,f,p){Oi(p).onDone((()=>N.processLeaveNode(f)))}function pn(N,f){for(let p=0;p<N.length;p++){const M=N[p];M instanceof V.ZE?pn(M.players,f):f.push(M)}}function $i(N,f,p){const M=p.get(N);if(!M)return!1;let A=f.get(N);return A?M.forEach((z=>A.add(z))):f.set(N,M),p.delete(N),!0}class Ao{constructor(f,p,M){this.bodyNode=f,this._driver=p,this._normalizer=M,this._triggerCache={},this.onRemovalComplete=(A,z)=>{},this._transitionEngine=new $s(f,p,M),this._timelineEngine=new ps(f,p,M),this._transitionEngine.onRemovalComplete=(A,z)=>this.onRemovalComplete(A,z)}registerTrigger(f,p,M,A,z){const _e=f+"-"+A;let ve=this._triggerCache[_e];if(!ve){const Ve=[],Rt=zn(this._driver,z,Ve,[]);if(Ve.length)throw function xe(N,f){return new l.vHH(3404,!1)}();ve=function Us(N,f,p){return new ai(N,f,p)}(A,Rt,this._normalizer),this._triggerCache[_e]=ve}this._transitionEngine.registerTrigger(p,A,ve)}register(f,p){this._transitionEngine.register(f,p)}destroy(f,p){this._transitionEngine.destroy(f,p)}onInsert(f,p,M,A){this._transitionEngine.insertNode(f,p,M,A)}onRemove(f,p,M,A){this._transitionEngine.removeNode(f,p,A||!1,M)}disableAnimations(f,p){this._transitionEngine.markElementAsDisabled(f,p)}process(f,p,M,A){if("@"==M.charAt(0)){const[z,_e]=mi(M);this._timelineEngine.command(z,p,_e,A)}else this._transitionEngine.trigger(f,p,M,A)}listen(f,p,M,A,z){if("@"==M.charAt(0)){const[_e,ve]=mi(M);return this._timelineEngine.listen(_e,p,ve,z)}return this._transitionEngine.listen(f,p,M,A,z)}flush(f=-1){this._transitionEngine.flush(f)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let lo=(()=>{class N{constructor(p,M,A){this._element=p,this._startStyles=M,this._endStyles=A,this._state=0;let z=N.initialStylesByElement.get(p);z||N.initialStylesByElement.set(p,z=new Map),this._initialStyles=z}start(){this._state<1&&(this._startStyles&&ui(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(ui(this._element,this._initialStyles),this._endStyles&&(ui(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(N.initialStylesByElement.delete(this._element),this._startStyles&&($n(this._element,this._startStyles),this._endStyles=null),this._endStyles&&($n(this._element,this._endStyles),this._endStyles=null),ui(this._element,this._initialStyles),this._state=3)}}return N.initialStylesByElement=new WeakMap,N})();function Wr(N){let f=null;return N.forEach(((p,M)=>{(function No(N){return"display"===N||"position"===N})(M)&&(f=f||new Map,f.set(M,p))})),f}class co{constructor(f,p,M,A){this.element=f,this.keyframes=p,this.options=M,this._specialStyles=A,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=M.duration,this._delay=M.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach((f=>f())),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const f=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,f,this.options),this._finalKeyframe=f.length?f[f.length-1]:new Map,this.domPlayer.addEventListener("finish",(()=>this._onFinish()))}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(f){const p=[];return f.forEach((M=>{p.push(Object.fromEntries(M))})),p}_triggerWebAnimation(f,p,M){return f.animate(this._convertKeyframesToObject(p),M)}onStart(f){this._originalOnStartFns.push(f),this._onStartFns.push(f)}onDone(f){this._originalOnDoneFns.push(f),this._onDoneFns.push(f)}onDestroy(f){this._onDestroyFns.push(f)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach((f=>f())),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((f=>f())),this._onDestroyFns=[])}setPosition(f){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=f*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const f=new Map;this.hasStarted()&&this._finalKeyframe.forEach(((M,A)=>{"offset"!==A&&f.set(A,this._finished?M:wt(this.element,A))})),this.currentSnapshot=f}triggerCallback(f){const p="start"===f?this._onStartFns:this._onDoneFns;p.forEach((M=>M())),p.length=0}}class Ko{validateStyleProperty(f){return!0}validateAnimatableStyleProperty(f){return!0}matchesElement(f,p){return!1}containsElement(f,p){return $(f,p)}getParentElement(f){return hi(f)}query(f,p,M){return W(f,p,M)}computeStyle(f,p,M){return window.getComputedStyle(f)[p]}animate(f,p,M,A,z,_e=[]){const Ve={duration:M,delay:A,fill:0==A?"both":"forwards"};z&&(Ve.easing=z);const et=new Map,Rt=_e.filter((Sn=>Sn instanceof co));(function rt(N,f){return 0===N||0===f})(M,A)&&Rt.forEach((Sn=>{Sn.currentSnapshot.forEach(((un,Yt)=>et.set(Yt,un)))}));let jt=function jn(N){return N.length?N[0]instanceof Map?N:N.map((f=>Nt(f))):[]}(p).map((Sn=>sn(Sn)));jt=function Ht(N,f,p){if(p.size&&f.length){let M=f[0],A=[];if(p.forEach(((z,_e)=>{M.has(_e)||A.push(_e),M.set(_e,z)})),A.length)for(let z=1;z<f.length;z++){let _e=f[z];A.forEach((ve=>_e.set(ve,wt(N,ve))))}}return f}(f,jt,et);const On=function Gs(N,f){let p=null,M=null;return Array.isArray(f)&&f.length?(p=Wr(f[0]),f.length>1&&(M=Wr(f[f.length-1]))):f instanceof Map&&(p=Wr(f)),p||M?new lo(N,p,M):null}(f,jt);return new co(f,jt,Ve,On)}}var lt=T(6895);let Kn=(()=>{class N extends V._j{constructor(p,M){super(),this._nextAnimationId=0,this._renderer=p.createRenderer(M.body,{id:"0",encapsulation:l.ifc.None,styles:[],data:{animation:[]}})}build(p){const M=this._nextAnimationId.toString();this._nextAnimationId++;const A=Array.isArray(p)?(0,V.vP)(p):p;return Ni(this._renderer,null,M,"register",[A]),new qo(M,this._renderer)}}return N.ɵfac=function(p){return new(p||N)(l.LFG(l.FYo),l.LFG(lt.K0))},N.ɵprov=l.Yz7({token:N,factory:N.ɵfac}),N})();class qo extends V.LC{constructor(f,p){super(),this._id=f,this._renderer=p}create(f,p){return new Zo(this._id,f,p||{},this._renderer)}}class Zo{constructor(f,p,M,A){this.id=f,this.element=p,this._renderer=A,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",M)}_listen(f,p){return this._renderer.listen(this.element,`@@${this.id}:${f}`,p)}_command(f,...p){return Ni(this._renderer,this.element,this.id,f,p)}onDone(f){this._listen("done",f)}onStart(f){this._listen("start",f)}onDestroy(f){this._listen("destroy",f)}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(f){this._command("setPosition",f)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function Ni(N,f,p,M,A){return N.setProperty(f,`@@${p}:${M}`,A)}const di="@.disabled";let Rr=(()=>{class N{constructor(p,M,A){this.delegate=p,this.engine=M,this._zone=A,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),M.onRemovalComplete=(z,_e)=>{const ve=_e?.parentNode(z);ve&&_e.removeChild(ve,z)}}createRenderer(p,M){const z=this.delegate.createRenderer(p,M);if(!(p&&M&&M.data&&M.data.animation)){let Rt=this._rendererCache.get(z);return Rt||(Rt=new ms("",z,this.engine,(()=>this._rendererCache.delete(z))),this._rendererCache.set(z,Rt)),Rt}const _e=M.id,ve=M.id+"-"+this._currentId;this._currentId++,this.engine.register(ve,p);const Ve=Rt=>{Array.isArray(Rt)?Rt.forEach(Ve):this.engine.registerTrigger(_e,ve,p,Rt.name,Rt)};return M.data.animation.forEach(Ve),new ko(this,ve,z,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then((()=>{this._microtaskId++}))}scheduleListenerCallback(p,M,A){p>=0&&p<this._microtaskId?this._zone.run((()=>M(A))):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then((()=>{this._zone.run((()=>{this._animationCallbacksBuffer.forEach((z=>{const[_e,ve]=z;_e(ve)})),this._animationCallbacksBuffer=[]}))})),this._animationCallbacksBuffer.push([M,A]))}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 N.ɵfac=function(p){return new(p||N)(l.LFG(l.FYo),l.LFG(Ao),l.LFG(l.R0b))},N.ɵprov=l.Yz7({token:N,factory:N.ɵfac}),N})();class ms{constructor(f,p,M,A){this.namespaceId=f,this.delegate=p,this.engine=M,this._onDestroy=A,this.destroyNode=this.delegate.destroyNode?z=>p.destroyNode(z):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(f,p){return this.delegate.createElement(f,p)}createComment(f){return this.delegate.createComment(f)}createText(f){return this.delegate.createText(f)}appendChild(f,p){this.delegate.appendChild(f,p),this.engine.onInsert(this.namespaceId,p,f,!1)}insertBefore(f,p,M,A=!0){this.delegate.insertBefore(f,p,M),this.engine.onInsert(this.namespaceId,p,f,A)}removeChild(f,p,M){this.engine.onRemove(this.namespaceId,p,this.delegate,M)}selectRootElement(f,p){return this.delegate.selectRootElement(f,p)}parentNode(f){return this.delegate.parentNode(f)}nextSibling(f){return this.delegate.nextSibling(f)}setAttribute(f,p,M,A){this.delegate.setAttribute(f,p,M,A)}removeAttribute(f,p,M){this.delegate.removeAttribute(f,p,M)}addClass(f,p){this.delegate.addClass(f,p)}removeClass(f,p){this.delegate.removeClass(f,p)}setStyle(f,p,M,A){this.delegate.setStyle(f,p,M,A)}removeStyle(f,p,M){this.delegate.removeStyle(f,p,M)}setProperty(f,p,M){"@"==p.charAt(0)&&p==di?this.disableAnimations(f,!!M):this.delegate.setProperty(f,p,M)}setValue(f,p){this.delegate.setValue(f,p)}listen(f,p,M){return this.delegate.listen(f,p,M)}disableAnimations(f,p){this.engine.disableAnimations(f,p)}}class ko extends ms{constructor(f,p,M,A,z){super(p,M,A,z),this.factory=f,this.namespaceId=p}setProperty(f,p,M){"@"==p.charAt(0)?"."==p.charAt(1)&&p==di?this.disableAnimations(f,M=void 0===M||!!M):this.engine.process(this.namespaceId,f,p.slice(1),M):this.delegate.setProperty(f,p,M)}listen(f,p,M){if("@"==p.charAt(0)){const A=function ar(N){switch(N){case"body":return document.body;case"document":return document;case"window":return window;default:return N}}(f);let z=p.slice(1),_e="";return"@"!=z.charAt(0)&&([z,_e]=function uo(N){const f=N.indexOf(".");return[N.substring(0,f),N.slice(f+1)]}(z)),this.engine.listen(this.namespaceId,A,z,_e,(ve=>{this.factory.scheduleListenerCallback(ve._data||-1,M,ve)}))}return this.delegate.listen(f,p,M)}}const Br=[{provide:V._j,useClass:Kn},{provide:wr,useFactory:function vs(){return new Vs}},{provide:Ao,useClass:(()=>{class N extends Ao{constructor(p,M,A,z){super(p.body,M,A)}ngOnDestroy(){this.flush()}}return N.ɵfac=function(p){return new(p||N)(l.LFG(lt.K0),l.LFG(st),l.LFG(wr),l.LFG(l.z2F))},N.ɵprov=l.Yz7({token:N,factory:N.ɵfac}),N})()},{provide:l.FYo,useFactory:function Xi(N,f,p){return new Rr(N,f,p)},deps:[v.se,Ao,l.R0b]}],ys=[{provide:st,useFactory:()=>new Ko},{provide:l.QbO,useValue:"BrowserAnimations"},...Br],Kr=[{provide:st,useClass:$e},{provide:l.QbO,useValue:"NoopAnimations"},...Br];let Vr=(()=>{class N{static withConfig(p){return{ngModule:N,providers:p.disableAnimations?Kr:ys}}}return N.ɵfac=function(p){return new(p||N)},N.ɵmod=l.oAB({type:N}),N.ɵinj=l.cJS({providers:ys,imports:[v.b2]}),N})()},1481:(Pe,q,T)=>{"use strict";T.d(q,{Dx:()=>ce,H7:()=>$n,b2:()=>Xn,q6:()=>Yi,se:()=>Te});var l=T(6895),v=T(1571);class V extends l.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Q extends V{static makeCurrent(){(0,l.HT)(new Q)}onAndCancel(ie,U,R){return ie.addEventListener(U,R,!1),()=>{ie.removeEventListener(U,R,!1)}}dispatchEvent(ie,U){ie.dispatchEvent(U)}remove(ie){ie.parentNode&&ie.parentNode.removeChild(ie)}createElement(ie,U){return(U=U||this.getDefaultDocument()).createElement(ie)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(ie){return ie.nodeType===Node.ELEMENT_NODE}isShadowRoot(ie){return ie instanceof DocumentFragment}getGlobalEventTarget(ie,U){return"window"===U?window:"document"===U?ie:"body"===U?ie.body:null}getBaseHref(ie){const U=function fe(){return K=K||document.querySelector("base"),K?K.getAttribute("href"):null}();return null==U?null:function le(Ce){oe=oe||document.createElement("a"),oe.setAttribute("href",Ce);const ie=oe.pathname;return"/"===ie.charAt(0)?ie:`/${ie}`}(U)}resetBaseElement(){K=null}getUserAgent(){return window.navigator.userAgent}getCookie(ie){return(0,l.Mx)(document.cookie,ie)}}let oe,K=null;const ye=new v.OlP("TRANSITION_ID"),ne=[{provide:v.ip1,useFactory:function Y(Ce,ie,U){return()=>{U.get(v.CZH).donePromise.then((()=>{const R=(0,l.q)(),te=ie.querySelectorAll(`style[ng-transition="${Ce}"]`);for(let Ie=0;Ie<te.length;Ie++)R.remove(te[Ie])}))}},deps:[ye,l.K0,v.zs3],multi:!0}];let Ge=(()=>{class Ce{build(){return new XMLHttpRequest}}return Ce.ɵfac=function(U){return new(U||Ce)},Ce.ɵprov=v.Yz7({token:Ce,factory:Ce.ɵfac}),Ce})();const Ne=new v.OlP("EventManagerPlugins");let ke=(()=>{class Ce{constructor(U,R){this._zone=R,this._eventNameToPlugin=new Map,U.forEach((te=>te.manager=this)),this._plugins=U.slice().reverse()}addEventListener(U,R,te){return this._findPluginFor(R).addEventListener(U,R,te)}addGlobalEventListener(U,R,te){return this._findPluginFor(R).addGlobalEventListener(U,R,te)}getZone(){return this._zone}_findPluginFor(U){const R=this._eventNameToPlugin.get(U);if(R)return R;const te=this._plugins;for(let Ie=0;Ie<te.length;Ie++){const rt=te[Ie];if(rt.supports(U))return this._eventNameToPlugin.set(U,rt),rt}throw new Error(`No event manager plugin found for event ${U}`)}}return Ce.ɵfac=function(U){return new(U||Ce)(v.LFG(Ne),v.LFG(v.R0b))},Ce.ɵprov=v.Yz7({token:Ce,factory:Ce.ɵfac}),Ce})();class mt{constructor(ie){this._doc=ie}addGlobalEventListener(ie,U,R){const te=(0,l.q)().getGlobalEventTarget(this._doc,ie);if(!te)throw new Error(`Unsupported event target ${te} for event ${U}`);return this.addEventListener(te,U,R)}}let Be=(()=>{class Ce{constructor(){this._stylesSet=new Set}addStyles(U){const R=new Set;U.forEach((te=>{this._stylesSet.has(te)||(this._stylesSet.add(te),R.add(te))})),this.onStylesAdded(R)}onStylesAdded(U){}getAllStyles(){return Array.from(this._stylesSet)}}return Ce.ɵfac=function(U){return new(U||Ce)},Ce.ɵprov=v.Yz7({token:Ce,factory:Ce.ɵfac}),Ce})(),dt=(()=>{class Ce extends Be{constructor(U){super(),this._doc=U,this._hostNodes=new Map,this._hostNodes.set(U.head,[])}_addStylesToHost(U,R,te){U.forEach((Ie=>{const rt=this._doc.createElement("style");rt.textContent=Ie,te.push(R.appendChild(rt))}))}addHost(U){const R=[];this._addStylesToHost(this._stylesSet,U,R),this._hostNodes.set(U,R)}removeHost(U){const R=this._hostNodes.get(U);R&&R.forEach(gt),this._hostNodes.delete(U)}onStylesAdded(U){this._hostNodes.forEach(((R,te)=>{this._addStylesToHost(U,te,R)}))}ngOnDestroy(){this._hostNodes.forEach((U=>U.forEach(gt)))}}return Ce.ɵfac=function(U){return new(U||Ce)(v.LFG(l.K0))},Ce.ɵprov=v.Yz7({token:Ce,factory:Ce.ɵfac}),Ce})();function gt(Ce){(0,l.q)().remove(Ce)}const tt={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/"},Ke=/%COMP%/g;function xe(Ce,ie,U){for(let R=0;R<ie.length;R++){let te=ie[R];Array.isArray(te)?xe(Ce,te,U):(te=te.replace(Ke,Ce),U.push(te))}return U}function He(Ce){return ie=>{if("__ngUnwrap__"===ie)return Ce;!1===Ce(ie)&&(ie.preventDefault(),ie.returnValue=!1)}}let Te=(()=>{class Ce{constructor(U,R,te){this.eventManager=U,this.sharedStylesHost=R,this.appId=te,this.rendererByCompId=new Map,this.defaultRenderer=new me(U)}createRenderer(U,R){if(!U||!R)return this.defaultRenderer;switch(R.encapsulation){case v.ifc.Emulated:{let te=this.rendererByCompId.get(R.id);return te||(te=new Lt(this.eventManager,this.sharedStylesHost,R,this.appId),this.rendererByCompId.set(R.id,te)),te.applyToHost(U),te}case 1:case v.ifc.ShadowDom:return new mn(this.eventManager,this.sharedStylesHost,U,R);default:if(!this.rendererByCompId.has(R.id)){const te=xe(R.id,R.styles,[]);this.sharedStylesHost.addStyles(te),this.rendererByCompId.set(R.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return Ce.ɵfac=function(U){return new(U||Ce)(v.LFG(ke),v.LFG(dt),v.LFG(v.AFp))},Ce.ɵprov=v.Yz7({token:Ce,factory:Ce.ɵfac}),Ce})();class me{constructor(ie){this.eventManager=ie,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(ie,U){return U?document.createElementNS(tt[U]||U,ie):document.createElement(ie)}createComment(ie){return document.createComment(ie)}createText(ie){return document.createTextNode(ie)}appendChild(ie,U){(Jt(ie)?ie.content:ie).appendChild(U)}insertBefore(ie,U,R){ie&&(Jt(ie)?ie.content:ie).insertBefore(U,R)}removeChild(ie,U){ie&&ie.removeChild(U)}selectRootElement(ie,U){let R="string"==typeof ie?document.querySelector(ie):ie;if(!R)throw new Error(`The selector "${ie}" did not match any elements`);return U||(R.textContent=""),R}parentNode(ie){return ie.parentNode}nextSibling(ie){return ie.nextSibling}setAttribute(ie,U,R,te){if(te){U=te+":"+U;const Ie=tt[te];Ie?ie.setAttributeNS(Ie,U,R):ie.setAttribute(U,R)}else ie.setAttribute(U,R)}removeAttribute(ie,U,R){if(R){const te=tt[R];te?ie.removeAttributeNS(te,U):ie.removeAttribute(`${R}:${U}`)}else ie.removeAttribute(U)}addClass(ie,U){ie.classList.add(U)}removeClass(ie,U){ie.classList.remove(U)}setStyle(ie,U,R,te){te&(v.JOm.DashCase|v.JOm.Important)?ie.style.setProperty(U,R,te&v.JOm.Important?"important":""):ie.style[U]=R}removeStyle(ie,U,R){R&v.JOm.DashCase?ie.style.removeProperty(U):ie.style[U]=""}setProperty(ie,U,R){ie[U]=R}setValue(ie,U){ie.nodeValue=U}listen(ie,U,R){return"string"==typeof ie?this.eventManager.addGlobalEventListener(ie,U,He(R)):this.eventManager.addEventListener(ie,U,He(R))}}function Jt(Ce){return"TEMPLATE"===Ce.tagName&&void 0!==Ce.content}class Lt extends me{constructor(ie,U,R,te){super(ie),this.component=R;const Ie=xe(te+"-"+R.id,R.styles,[]);U.addStyles(Ie),this.contentAttr=function yt(Ce){return"_ngcontent-%COMP%".replace(Ke,Ce)}(te+"-"+R.id),this.hostAttr=function be(Ce){return"_nghost-%COMP%".replace(Ke,Ce)}(te+"-"+R.id)}applyToHost(ie){super.setAttribute(ie,this.hostAttr,"")}createElement(ie,U){const R=super.createElement(ie,U);return super.setAttribute(R,this.contentAttr,""),R}}class mn extends me{constructor(ie,U,R,te){super(ie),this.sharedStylesHost=U,this.hostEl=R,this.shadowRoot=R.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Ie=xe(te.id,te.styles,[]);for(let rt=0;rt<Ie.length;rt++){const Ht=document.createElement("style");Ht.textContent=Ie[rt],this.shadowRoot.appendChild(Ht)}}nodeOrShadowRoot(ie){return ie===this.hostEl?this.shadowRoot:ie}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(ie,U){return super.appendChild(this.nodeOrShadowRoot(ie),U)}insertBefore(ie,U,R){return super.insertBefore(this.nodeOrShadowRoot(ie),U,R)}removeChild(ie,U){return super.removeChild(this.nodeOrShadowRoot(ie),U)}parentNode(ie){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(ie)))}}let Ei=(()=>{class Ce extends mt{constructor(U){super(U)}supports(U){return!0}addEventListener(U,R,te){return U.addEventListener(R,te,!1),()=>this.removeEventListener(U,R,te)}removeEventListener(U,R,te){return U.removeEventListener(R,te)}}return Ce.ɵfac=function(U){return new(U||Ce)(v.LFG(l.K0))},Ce.ɵprov=v.Yz7({token:Ce,factory:Ce.ɵfac}),Ce})();const Dn=["alt","control","meta","shift"],Di={"\b":"Backspace","\t":"Tab","":"Delete","":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Rn={alt:Ce=>Ce.altKey,control:Ce=>Ce.ctrlKey,meta:Ce=>Ce.metaKey,shift:Ce=>Ce.shiftKey};let dn=(()=>{class Ce extends mt{constructor(U){super(U)}supports(U){return null!=Ce.parseEventName(U)}addEventListener(U,R,te){const Ie=Ce.parseEventName(R),rt=Ce.eventCallback(Ie.fullKey,te,this.manager.getZone());return this.manager.getZone().runOutsideAngular((()=>(0,l.q)().onAndCancel(U,Ie.domEventName,rt)))}static parseEventName(U){const R=U.toLowerCase().split("."),te=R.shift();if(0===R.length||"keydown"!==te&&"keyup"!==te)return null;const Ie=Ce._normalizeKey(R.pop());let rt="",Ht=R.indexOf("code");if(Ht>-1&&(R.splice(Ht,1),rt="code."),Dn.forEach((wt=>{const We=R.indexOf(wt);We>-1&&(R.splice(We,1),rt+=wt+".")})),rt+=Ie,0!=R.length||0===Ie.length)return null;const nt={};return nt.domEventName=te,nt.fullKey=rt,nt}static matchEventFullKeyCode(U,R){let te=Di[U.key]||U.key,Ie="";return R.indexOf("code.")>-1&&(te=U.code,Ie="code."),!(null==te||!te)&&(te=te.toLowerCase()," "===te?te="space":"."===te&&(te="dot"),Dn.forEach((rt=>{rt!==te&&(0,Rn[rt])(U)&&(Ie+=rt+".")})),Ie+=te,Ie===R)}static eventCallback(U,R,te){return Ie=>{Ce.matchEventFullKeyCode(Ie,U)&&te.runGuarded((()=>R(Ie)))}}static _normalizeKey(U){return"esc"===U?"escape":U}}return Ce.ɵfac=function(U){return new(U||Ce)(v.LFG(l.K0))},Ce.ɵprov=v.Yz7({token:Ce,factory:Ce.ɵfac}),Ce})();const Yi=(0,v.eFA)(v._c5,"browser",[{provide:v.Lbi,useValue:l.bD},{provide:v.g9A,useValue:function fi(){Q.makeCurrent()},multi:!0},{provide:l.K0,useFactory:function mi(){return(0,v.RDi)(document),document},deps:[]}]),ti=new v.OlP(""),hi=[{provide:v.rWj,useClass:class De{addToWindow(ie){v.dqk.getAngularTestability=(R,te=!0)=>{const Ie=ie.findTestabilityInTree(R,te);if(null==Ie)throw new Error("Could not find testability for element.");return Ie},v.dqk.getAllAngularTestabilities=()=>ie.getAllTestabilities(),v.dqk.getAllAngularRootElements=()=>ie.getAllRootElements(),v.dqk.frameworkStabilizers||(v.dqk.frameworkStabilizers=[]),v.dqk.frameworkStabilizers.push((R=>{const te=v.dqk.getAllAngularTestabilities();let Ie=te.length,rt=!1;const Ht=function(nt){rt=rt||nt,Ie--,0==Ie&&R(rt)};te.forEach((function(nt){nt.whenStable(Ht)}))}))}findTestabilityInTree(ie,U,R){return null==U?null:ie.getTestability(U)??(R?(0,l.q)().isShadowRoot(U)?this.findTestabilityInTree(ie,U.host,!0):this.findTestabilityInTree(ie,U.parentElement,!0):null)}},deps:[]},{provide:v.lri,useClass:v.dDg,deps:[v.R0b,v.eoX,v.rWj]},{provide:v.dDg,useClass:v.dDg,deps:[v.R0b,v.eoX,v.rWj]}],gr=[{provide:v.zSh,useValue:"root"},{provide:v.qLn,useFactory:function Un(){return new v.qLn},deps:[]},{provide:Ne,useClass:Ei,multi:!0,deps:[l.K0,v.R0b,v.Lbi]},{provide:Ne,useClass:dn,multi:!0,deps:[l.K0]},{provide:Te,useClass:Te,deps:[ke,dt,v.AFp]},{provide:v.FYo,useExisting:Te},{provide:Be,useExisting:dt},{provide:dt,useClass:dt,deps:[l.K0]},{provide:ke,useClass:ke,deps:[Ne,v.R0b]},{provide:l.JF,useClass:Ge,deps:[]},[]];let Xn=(()=>{class Ce{constructor(U){}static withServerTransition(U){return{ngModule:Ce,providers:[{provide:v.AFp,useValue:U.appId},{provide:ye,useExisting:v.AFp},ne]}}}return Ce.ɵfac=function(U){return new(U||Ce)(v.LFG(ti,12))},Ce.ɵmod=v.oAB({type:Ce}),Ce.ɵinj=v.cJS({providers:[...gr,...hi],imports:[l.ez,v.hGG]}),Ce})(),ce=(()=>{class Ce{constructor(U){this._doc=U}getTitle(){return this._doc.title}setTitle(U){this._doc.title=U||""}}return Ce.ɵfac=function(U){return new(U||Ce)(v.LFG(l.K0))},Ce.ɵprov=v.Yz7({token:Ce,factory:function(U){let R=null;return R=U?new U:function Ye(){return new ce((0,v.LFG)(l.K0))}(),R},providedIn:"root"}),Ce})();typeof window<"u"&&window;let $n=(()=>{class Ce{}return Ce.ɵfac=function(U){return new(U||Ce)},Ce.ɵprov=v.Yz7({token:Ce,factory:function(U){let R=null;return R=U?new(U||Ce):v.LFG(Ci),R},providedIn:"root"}),Ce})(),Ci=(()=>{class Ce extends $n{constructor(U){super(),this._doc=U}sanitize(U,R){if(null==R)return null;switch(U){case v.q3G.NONE:return R;case v.q3G.HTML:return(0,v.qzn)(R,"HTML")?(0,v.z3N)(R):(0,v.EiD)(this._doc,String(R)).toString();case v.q3G.STYLE:return(0,v.qzn)(R,"Style")?(0,v.z3N)(R):R;case v.q3G.SCRIPT:if((0,v.qzn)(R,"Script"))return(0,v.z3N)(R);throw new Error("unsafe value used in a script context");case v.q3G.URL:return(0,v.qzn)(R,"URL")?(0,v.z3N)(R):(0,v.mCW)(String(R));case v.q3G.RESOURCE_URL:if((0,v.qzn)(R,"ResourceURL"))return(0,v.z3N)(R);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${U} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(U){return(0,v.JVY)(U)}bypassSecurityTrustStyle(U){return(0,v.L6k)(U)}bypassSecurityTrustScript(U){return(0,v.eBb)(U)}bypassSecurityTrustUrl(U){return(0,v.LAX)(U)}bypassSecurityTrustResourceUrl(U){return(0,v.pB0)(U)}}return Ce.ɵfac=function(U){return new(U||Ce)(v.LFG(l.K0))},Ce.ɵprov=v.Yz7({token:Ce,factory:function(U){let R=null;return R=U?new U:function kn(Ce){return new Ci(Ce.get(l.K0))}(v.LFG(v.zs3)),R},providedIn:"root"}),Ce})()},5579:(Pe,q,T)=>{"use strict";T.d(q,{y6:()=>Si,F0:()=>nr,Bz:()=>Jo,lC:()=>Ui});var l=T(1571),v=T(2076),V=T(9646),Q=T(7579);class K extends Q.x{constructor(g){super(),this._value=g}get value(){return this.getValue()}_subscribe(g){const d=super._subscribe(g);return!d.closed&&g.next(this._value),d}getValue(){const{hasError:g,thrownError:d,_value:C}=this;if(g)throw d;return this._throwIfClosed(),C}next(g){super.next(this._value=g)}}const oe=(0,T(3888).d)((h=>function(){h(this),this.name="EmptyError",this.message="no elements in sequence"}));var le=T(9841),ye=T(7272),Y=T(9751),ne=T(8421);function De(h){return new Y.y((g=>{(0,ne.Xf)(h()).subscribe(g)}))}var Ge=T(9635),Ne=T(2843),ke=T(515),mt=T(727),Be=T(4482),dt=T(5403);function gt(){return(0,Be.e)(((h,g)=>{let d=null;h._refCount++;const C=new dt.Q(g,void 0,void 0,void 0,(()=>{if(!h||h._refCount<=0||0<--h._refCount)return void(d=null);const D=h._connection,k=d;d=null,D&&(!k||D===k)&&D.unsubscribe(),g.unsubscribe()}));h.subscribe(C),C.closed||(d=h.connect())}))}class tt extends Y.y{constructor(g,d){super(),this.source=g,this.subjectFactory=d,this._subject=null,this._refCount=0,this._connection=null,(0,Be.A)(g)&&(this.lift=g.lift)}_subscribe(g){return this.getSubject().subscribe(g)}getSubject(){const g=this._subject;return(!g||g.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:g}=this;this._subject=this._connection=null,g?.unsubscribe()}connect(){let g=this._connection;if(!g){g=this._connection=new mt.w0;const d=this.getSubject();g.add(this.source.subscribe(new dt.Q(d,void 0,(()=>{this._teardown(),d.complete()}),(C=>{this._teardown(),d.error(C)}),(()=>this._teardown())))),g.closed&&(this._connection=null,g=mt.w0.EMPTY)}return g}refCount(){return gt()(this)}}var Ke=T(6895),pe=T(4004);function Xe(h,g){return(0,Be.e)(((d,C)=>{let D=null,k=0,ee=!1;const se=()=>ee&&!D&&C.complete();d.subscribe(new dt.Q(C,(Ze=>{D?.unsubscribe();let Tt=0;const vn=k++;(0,ne.Xf)(h(Ze,vn)).subscribe(D=new dt.Q(C,(Wt=>C.next(g?g(Ze,Wt,vn,Tt++):Wt)),(()=>{D=null,se()})))}),(()=>{ee=!0,se()})))}))}var Ft=T(5698),Ot=T(8675),yt=T(9300),be=T(5577);function xe(h){return(0,Be.e)(((g,d)=>{let C=!1;g.subscribe(new dt.Q(d,(D=>{C=!0,d.next(D)}),(()=>{C||d.next(h),d.complete()})))}))}function He(h=Fe){return(0,Be.e)(((g,d)=>{let C=!1;g.subscribe(new dt.Q(d,(D=>{C=!0,d.next(D)}),(()=>C?d.complete():d.error(h()))))}))}function Fe(){return new oe}var Te=T(4671);function me(h,g){const d=arguments.length>=2;return C=>C.pipe(h?(0,yt.h)(((D,k)=>h(D,k,C))):Te.y,(0,Ft.q)(1),d?xe(g):He((()=>new oe)))}var ae=T(4351),je=T(8505),Jt=T(262);function Lt(h,g,d,C,D){return(k,ee)=>{let se=d,Ze=g,Tt=0;k.subscribe(new dt.Q(ee,(vn=>{const Wt=Tt++;Ze=se?h(Ze,vn,Wt):(se=!0,vn),C&&ee.next(Ze)}),D&&(()=>{se&&ee.next(Ze),ee.complete()})))}}function mn(h,g){return(0,Be.e)(Lt(h,g,arguments.length>=2,!0))}function Ei(h){return h<=0?()=>ke.E:(0,Be.e)(((g,d)=>{let C=[];g.subscribe(new dt.Q(d,(D=>{C.push(D),h<C.length&&C.shift()}),(()=>{for(const D of C)d.next(D);d.complete()}),void 0,(()=>{C=null})))}))}function Dn(h,g){const d=arguments.length>=2;return C=>C.pipe(h?(0,yt.h)(((D,k)=>h(D,k,C))):Te.y,Ei(1),d?xe(g):He((()=>new oe)))}var dn=T(8746),li=T(8189),Oi=T(1481);const fn="primary",Zn=Symbol("RouteTitle");class Zi{constructor(g){this.params=g||{}}has(g){return Object.prototype.hasOwnProperty.call(this.params,g)}get(g){if(this.has(g)){const d=this.params[g];return Array.isArray(d)?d[0]:d}return null}getAll(g){if(this.has(g)){const d=this.params[g];return Array.isArray(d)?d:[d]}return[]}get keys(){return Object.keys(this.params)}}function fi(h){return new Zi(h)}function Un(h,g,d){const C=d.path.split("/");if(C.length>h.length||"full"===d.pathMatch&&(g.hasChildren()||C.length<h.length))return null;const D={};for(let k=0;k<C.length;k++){const ee=C[k],se=h[k];if(ee.startsWith(":"))D[ee.substring(1)]=se;else if(ee!==se.path)return null}return{consumed:h.slice(0,C.length),posParams:D}}function ci(h,g){const d=h?Object.keys(h):void 0,C=g?Object.keys(g):void 0;if(!d||!C||d.length!=C.length)return!1;let D;for(let k=0;k<d.length;k++)if(D=d[k],!Yi(h[D],g[D]))return!1;return!0}function Yi(h,g){if(Array.isArray(h)&&Array.isArray(g)){if(h.length!==g.length)return!1;const d=[...h].sort(),C=[...g].sort();return d.every(((D,k)=>C[k]===D))}return h===g}function ti(h){return Array.prototype.concat.apply([],h)}function hi(h){return h.length>0?h[h.length-1]:null}function Xn(h,g){for(const d in h)h.hasOwnProperty(d)&&g(h[d],d)}function de(h){return(0,l.CqO)(h)?h:(0,l.QGY)(h)?(0,v.D)(Promise.resolve(h)):(0,V.of)(h)}const Ye={exact:function Se(h,g,d){if(!It(h.segments,g.segments)||!Ut(h.segments,g.segments,d)||h.numberOfChildren!==g.numberOfChildren)return!1;for(const C in g.children)if(!h.children[C]||!Se(h.children[C],g.children[C],d))return!1;return!0},subset:st},ce={exact:function W(h,g){return ci(h,g)},subset:function $e(h,g){return Object.keys(g).length<=Object.keys(h).length&&Object.keys(g).every((d=>Yi(h[d],g[d])))},ignored:()=>!0};function $(h,g,d){return Ye[d.paths](h.root,g.root,d.matrixParams)&&ce[d.queryParams](h.queryParams,g.queryParams)&&!("exact"===d.fragment&&h.fragment!==g.fragment)}function st(h,g,d){return ft(h,g,g.segments,d)}function ft(h,g,d,C){if(h.segments.length>d.length){const D=h.segments.slice(0,d.length);return!(!It(D,d)||g.hasChildren()||!Ut(D,d,C))}if(h.segments.length===d.length){if(!It(h.segments,d)||!Ut(h.segments,d,C))return!1;for(const D in g.children)if(!h.children[D]||!st(h.children[D],g.children[D],C))return!1;return!0}{const D=d.slice(0,h.segments.length),k=d.slice(h.segments.length);return!!(It(h.segments,D)&&Ut(h.segments,D,C)&&h.children[fn])&&ft(h.children[fn],g,k,C)}}function Ut(h,g,d){return g.every(((C,D)=>ce[d](h[D].parameters,C.parameters)))}class ht{constructor(g,d,C){this.root=g,this.queryParams=d,this.fragment=C}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=fi(this.queryParams)),this._queryParamMap}toString(){return Gn.serialize(this)}}class ot{constructor(g,d){this.segments=g,this.children=d,this.parent=null,Xn(d,((C,D)=>C.parent=this))}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Xt(this)}}class Kt{constructor(g,d){this.path=g,this.parameters=d}get parameterMap(){return this._parameterMap||(this._parameterMap=fi(this.parameters)),this._parameterMap}toString(){return vi(this)}}function It(h,g){return h.length===g.length&&h.every(((d,C)=>d.path===g[C].path))}let xt=(()=>{class h{}return h.ɵfac=function(d){return new(d||h)},h.ɵprov=l.Yz7({token:h,factory:function(){return new Dt},providedIn:"root"}),h})();class Dt{parse(g){const d=new R(g);return new ht(d.parseRootSegment(),d.parseQueryParams(),d.parseFragment())}serialize(g){const d=`/${wn(g.root,!0)}`,C=function $n(h){const g=Object.keys(h).map((d=>{const C=h[d];return Array.isArray(C)?C.map((D=>`${Nt(d)}=${Nt(D)}`)).join("&"):`${Nt(d)}=${Nt(C)}`})).filter((d=>!!d));return g.length?`?${g.join("&")}`:""}(g.queryParams);return`${d}${C}${"string"==typeof g.fragment?`#${function jn(h){return encodeURI(h)}(g.fragment)}`:""}`}}const Gn=new Dt;function Xt(h){return h.segments.map((g=>vi(g))).join("/")}function wn(h,g){if(!h.hasChildren())return Xt(h);if(g){const d=h.children[fn]?wn(h.children[fn],!1):"",C=[];return Xn(h.children,((D,k)=>{k!==fn&&C.push(`${k}:${wn(D,!1)}`)})),C.length>0?`${d}(${C.join("//")})`:d}{const d=function Pt(h,g){let d=[];return Xn(h.children,((C,D)=>{D===fn&&(d=d.concat(g(C,D)))})),Xn(h.children,((C,D)=>{D!==fn&&(d=d.concat(g(C,D)))})),d}(h,((C,D)=>D===fn?[wn(h.children[fn],!1)]:[`${D}:${wn(C,!1)}`]));return 1===Object.keys(h.children).length&&null!=h.children[fn]?`${Xt(h)}/${d[0]}`:`${Xt(h)}/(${d.join("//")})`}}function cn(h){return encodeURIComponent(h).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Nt(h){return cn(h).replace(/%3B/gi,";")}function kt(h){return cn(h).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function sn(h){return decodeURIComponent(h)}function on(h){return sn(h.replace(/\+/g,"%20"))}function vi(h){return`${kt(h.path)}${function ui(h){return Object.keys(h).map((g=>`;${kt(g)}=${kt(h[g])}`)).join("")}(h.parameters)}`}const kn=/^[^\/()?;=#]+/;function Ci(h){const g=h.match(kn);return g?g[0]:""}const Bt=/^[^=?&#]+/,ie=/^[^&#]+/;class R{constructor(g){this.url=g,this.remaining=g}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ot([],{}):new ot([],this.parseChildren())}parseQueryParams(){const g={};if(this.consumeOptional("?"))do{this.parseQueryParam(g)}while(this.consumeOptional("&"));return g}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const g=[];for(this.peekStartsWith("(")||g.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),g.push(this.parseSegment());let d={};this.peekStartsWith("/(")&&(this.capture("/"),d=this.parseParens(!0));let C={};return this.peekStartsWith("(")&&(C=this.parseParens(!1)),(g.length>0||Object.keys(d).length>0)&&(C[fn]=new ot(g,d)),C}parseSegment(){const g=Ci(this.remaining);if(""===g&&this.peekStartsWith(";"))throw new l.vHH(4009,!1);return this.capture(g),new Kt(sn(g),this.parseMatrixParams())}parseMatrixParams(){const g={};for(;this.consumeOptional(";");)this.parseParam(g);return g}parseParam(g){const d=Ci(this.remaining);if(!d)return;this.capture(d);let C="";if(this.consumeOptional("=")){const D=Ci(this.remaining);D&&(C=D,this.capture(C))}g[sn(d)]=sn(C)}parseQueryParam(g){const d=function Ce(h){const g=h.match(Bt);return g?g[0]:""}(this.remaining);if(!d)return;this.capture(d);let C="";if(this.consumeOptional("=")){const ee=function U(h){const g=h.match(ie);return g?g[0]:""}(this.remaining);ee&&(C=ee,this.capture(C))}const D=on(d),k=on(C);if(g.hasOwnProperty(D)){let ee=g[D];Array.isArray(ee)||(ee=[ee],g[D]=ee),ee.push(k)}else g[D]=k}parseParens(g){const d={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const C=Ci(this.remaining),D=this.remaining[C.length];if("/"!==D&&")"!==D&&";"!==D)throw new l.vHH(4010,!1);let k;C.indexOf(":")>-1?(k=C.slice(0,C.indexOf(":")),this.capture(k),this.capture(":")):g&&(k=fn);const ee=this.parseChildren();d[k]=1===Object.keys(ee).length?ee[fn]:new ot([],ee),this.consumeOptional("//")}return d}peekStartsWith(g){return this.remaining.startsWith(g)}consumeOptional(g){return!!this.peekStartsWith(g)&&(this.remaining=this.remaining.substring(g.length),!0)}capture(g){if(!this.consumeOptional(g))throw new l.vHH(4011,!1)}}function te(h){return h.segments.length>0?new ot([],{[fn]:h}):h}function Ie(h){const g={};for(const C of Object.keys(h.children)){const k=Ie(h.children[C]);(k.segments.length>0||k.hasChildren())&&(g[C]=k)}return function rt(h){if(1===h.numberOfChildren&&h.children[fn]){const g=h.children[fn];return new ot(h.segments.concat(g.segments),g.children)}return h}(new ot(h.segments,g))}function Ht(h){return h instanceof ht}function Et(h,g,d,C,D){if(0===d.length)return vt(g.root,g.root,g.root,C,D);const k=function Wn(h){if("string"==typeof h[0]&&1===h.length&&"/"===h[0])return new Gt(!0,0,h);let g=0,d=!1;const C=h.reduce(((D,k,ee)=>{if("object"==typeof k&&null!=k){if(k.outlets){const se={};return Xn(k.outlets,((Ze,Tt)=>{se[Tt]="string"==typeof Ze?Ze.split("/"):Ze})),[...D,{outlets:se}]}if(k.segmentPath)return[...D,k.segmentPath]}return"string"!=typeof k?[...D,k]:0===ee?(k.split("/").forEach(((se,Ze)=>{0==Ze&&"."===se||(0==Ze&&""===se?d=!0:".."===se?g++:""!=se&&D.push(se))})),D):[...D,k]}),[]);return new Gt(d,g,C)}(d);return k.toRoot()?vt(g.root,g.root,new ot([],{}),C,D):function ee(Ze){const Tt=function yi(h,g,d,C){if(h.isAbsolute)return new an(g.root,!0,0);if(-1===C)return new an(d,d===g.root,0);return function Vi(h,g,d){let C=h,D=g,k=d;for(;k>D;){if(k-=D,C=C.parent,!C)throw new l.vHH(4005,!1);D=C.segments.length}return new an(C,!1,D-k)}(d,C+(qt(h.commands[0])?0:1),h.numberOfDoubleDots)}(k,g,h.snapshot?._urlSegment,Ze),vn=Tt.processChildren?mr(Tt.segmentGroup,Tt.index,k.commands):Qi(Tt.segmentGroup,Tt.index,k.commands);return vt(g.root,Tt.segmentGroup,vn,C,D)}(h.snapshot?._lastPathIndex)}function qt(h){return"object"==typeof h&&null!=h&&!h.outlets&&!h.segmentPath}function Vt(h){return"object"==typeof h&&null!=h&&h.outlets}function vt(h,g,d,C,D){let ee,k={};C&&Xn(C,((Ze,Tt)=>{k[Tt]=Array.isArray(Ze)?Ze.map((vn=>`${vn}`)):`${Ze}`})),ee=h===g?d:hn(h,g,d);const se=te(Ie(ee));return new ht(se,k,D)}function hn(h,g,d){const C={};return Xn(h.children,((D,k)=>{C[k]=D===g?d:hn(D,g,d)})),new ot(h.segments,C)}class Gt{constructor(g,d,C){if(this.isAbsolute=g,this.numberOfDoubleDots=d,this.commands=C,g&&C.length>0&&qt(C[0]))throw new l.vHH(4003,!1);const D=C.find(Vt);if(D&&D!==hi(C))throw new l.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class an{constructor(g,d,C){this.segmentGroup=g,this.processChildren=d,this.index=C}}function Qi(h,g,d){if(h||(h=new ot([],{})),0===h.segments.length&&h.hasChildren())return mr(h,g,d);const C=function zn(h,g,d){let C=0,D=g;const k={match:!1,pathIndex:0,commandIndex:0};for(;D<h.segments.length;){if(C>=d.length)return k;const ee=h.segments[D],se=d[C];if(Vt(se))break;const Ze=`${se}`,Tt=C<d.length-1?d[C+1]:null;if(D>0&&void 0===Ze)break;if(Ze&&Tt&&"object"==typeof Tt&&void 0===Tt.outlets){if(!Ar(Ze,Tt,ee))return k;C+=2}else{if(!Ar(Ze,{},ee))return k;C++}D++}return{match:!0,pathIndex:D,commandIndex:C}}(h,g,d),D=d.slice(C.commandIndex);if(C.match&&C.pathIndex<h.segments.length){const k=new ot(h.segments.slice(0,C.pathIndex),{});return k.children[fn]=new ot(h.segments.slice(C.pathIndex),h.children),mr(k,0,D)}return C.match&&0===D.length?new ot(h.segments,{}):C.match&&!h.hasChildren()?Hi(h,g,d):C.match?mr(h,0,D):Hi(h,g,d)}function mr(h,g,d){if(0===d.length)return new ot(h.segments,{});{const C=function Ii(h){return Vt(h[0])?h[0].outlets:{[fn]:h}}(d),D={};return Xn(C,((k,ee)=>{"string"==typeof k&&(k=[k]),null!==k&&(D[ee]=Qi(h.children[ee],g,k))})),Xn(h.children,((k,ee)=>{void 0===C[ee]&&(D[ee]=k)})),new ot(h.segments,D)}}function Hi(h,g,d){const C=h.segments.slice(0,g);let D=0;for(;D<d.length;){const k=d[D];if(Vt(k)){const Ze=$r(k.outlets);return new ot(C,Ze)}if(0===D&&qt(d[0])){C.push(new Kt(h.segments[g].path,Gi(d[0]))),D++;continue}const ee=Vt(k)?k.outlets[fn]:`${k}`,se=D<d.length-1?d[D+1]:null;ee&&se&&qt(se)?(C.push(new Kt(ee,Gi(se))),D+=2):(C.push(new Kt(ee,{})),D++)}return new ot(C,{})}function $r(h){const g={};return Xn(h,((d,C)=>{"string"==typeof d&&(d=[d]),null!==d&&(g[C]=Hi(new ot([],{}),0,d))})),g}function Gi(h){const g={};return Xn(h,((d,C)=>g[C]=`${d}`)),g}function Ar(h,g,d){return h==d.path&&ci(g,d.parameters)}class Pi{constructor(g,d){this.id=g,this.url=d}}class J extends Pi{constructor(g,d,C="imperative",D=null){super(g,d),this.type=0,this.navigationTrigger=C,this.restoredState=D}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class L extends Pi{constructor(g,d,C){super(g,d),this.urlAfterRedirects=C,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class b extends Pi{constructor(g,d,C,D){super(g,d),this.reason=C,this.code=D,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class H extends Pi{constructor(g,d,C,D){super(g,d),this.error=C,this.target=D,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Ee extends Pi{constructor(g,d,C,D){super(g,d),this.urlAfterRedirects=C,this.state=D,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ue extends Pi{constructor(g,d,C,D){super(g,d),this.urlAfterRedirects=C,this.state=D,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Mt extends Pi{constructor(g,d,C,D,k){super(g,d),this.urlAfterRedirects=C,this.state=D,this.shouldActivate=k,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class xn extends Pi{constructor(g,d,C,D){super(g,d),this.urlAfterRedirects=C,this.state=D,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class si extends Pi{constructor(g,d,C,D){super(g,d),this.urlAfterRedirects=C,this.state=D,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Mn{constructor(g){this.route=g,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class oi{constructor(g){this.route=g,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class xi{constructor(g){this.snapshot=g,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Wi{constructor(g){this.snapshot=g,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Nr{constructor(g){this.snapshot=g,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Po{constructor(g){this.snapshot=g,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class no{constructor(g,d,C){this.routerEvent=g,this.position=d,this.anchor=C,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class zo{constructor(g){this._root=g}get root(){return this._root.value}parent(g){const d=this.pathFromRoot(g);return d.length>1?d[d.length-2]:null}children(g){const d=ds(g,this._root);return d?d.children.map((C=>C.value)):[]}firstChild(g){const d=ds(g,this._root);return d&&d.children.length>0?d.children[0].value:null}siblings(g){const d=Ls(g,this._root);return d.length<2?[]:d[d.length-2].children.map((D=>D.value)).filter((D=>D!==g))}pathFromRoot(g){return Ls(g,this._root).map((d=>d.value))}}function ds(h,g){if(h===g.value)return g;for(const d of g.children){const C=ds(h,d);if(C)return C}return null}function Ls(h,g){if(h===g.value)return[g];for(const d of g.children){const C=Ls(h,d);if(C.length)return C.unshift(g),C}return[]}class wr{constructor(g,d){this.value=g,this.children=d}toString(){return`TreeNode(${this.value})`}}function Co(h){const g={};return h&&h.children.forEach((d=>g[d.value.outlet]=d)),g}class Bs extends zo{constructor(g,d){super(g),this.snapshot=d,fs(this,g)}toString(){return this.snapshot.toString()}}function Vs(h,g){const d=function Hs(h,g){const ee=new io([],{},{},"",{},fn,g,null,h.root,-1,{});return new Oo("",new wr(ee,[]))}(h,g),C=new K([new Kt("",{})]),D=new K({}),k=new K({}),ee=new K({}),se=new K(""),Ze=new Lr(C,D,ee,se,k,fn,g,d.root);return Ze.snapshot=d.root,new Bs(new wr(Ze,[]),d)}class Lr{constructor(g,d,C,D,k,ee,se,Ze){this.url=g,this.params=d,this.queryParams=C,this.fragment=D,this.data=k,this.outlet=ee,this.component=se,this.title=this.data?.pipe((0,pe.U)((Tt=>Tt[Zn])))??(0,V.of)(void 0),this._futureSnapshot=Ze}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,pe.U)((g=>fi(g))))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,pe.U)((g=>fi(g))))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function xo(h,g="emptyOnly"){const d=h.pathFromRoot;let C=0;if("always"!==g)for(C=d.length-1;C>=1;){const D=d[C],k=d[C-1];if(D.routeConfig&&""===D.routeConfig.path)C--;else{if(k.component)break;C--}}return function Da(h){return h.reduce(((g,d)=>({params:{...g.params,...d.params},data:{...g.data,...d.data},resolve:{...d.data,...g.resolve,...d.routeConfig?.data,...d._resolvedData}})),{params:{},data:{},resolve:{}})}(d.slice(C))}class io{constructor(g,d,C,D,k,ee,se,Ze,Tt,vn,Wt,gi){this.url=g,this.params=d,this.queryParams=C,this.fragment=D,this.data=k,this.outlet=ee,this.component=se,this.title=this.data?.[Zn],this.routeConfig=Ze,this._urlSegment=Tt,this._lastPathIndex=vn,this._correctedLastPathIndex=gi??vn,this._resolve=Wt}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=fi(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=fi(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map((C=>C.toString())).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Oo extends zo{constructor(g,d){super(d),this.url=g,fs(this,d)}toString(){return Us(this._root)}}function fs(h,g){g.value._routerState=h,g.children.forEach((d=>fs(h,d)))}function Us(h){const g=h.children.length>0?` { ${h.children.map(Us).join(", ")} } `:"";return`${h.value}${g}`}function ai(h){if(h.snapshot){const g=h.snapshot,d=h._futureSnapshot;h.snapshot=d,ci(g.queryParams,d.queryParams)||h.queryParams.next(d.queryParams),g.fragment!==d.fragment&&h.fragment.next(d.fragment),ci(g.params,d.params)||h.params.next(d.params),function mi(h,g){if(h.length!==g.length)return!1;for(let d=0;d<h.length;++d)if(!ci(h[d],g[d]))return!1;return!0}(g.url,d.url)||h.url.next(d.url),ci(g.data,d.data)||h.data.next(d.data)}else h.snapshot=h._futureSnapshot,h.data.next(h._futureSnapshot.data)}function Vn(h,g){const d=ci(h.params,g.params)&&function _n(h,g){return It(h,g)&&h.every(((d,C)=>ci(d.parameters,g[C].parameters)))}(h.url,g.url);return d&&!(!h.parent!=!g.parent)&&(!h.parent||Vn(h.parent,g.parent))}function ro(h,g,d){if(d&&h.shouldReuseRoute(g.value,d.value.snapshot)){const C=d.value;C._futureSnapshot=g.value;const D=function ps(h,g,d){return g.children.map((C=>{for(const D of d.children)if(h.shouldReuseRoute(C.value,D.value.snapshot))return ro(h,C,D);return ro(h,C)}))}(h,g,d);return new wr(C,D)}{if(h.shouldAttach(g.value)){const k=h.retrieve(g.value);if(null!==k){const ee=k.route;return ee.value._futureSnapshot=g.value,ee.children=g.children.map((se=>ro(h,se))),ee}}const C=function Go(h){return new Lr(new K(h.url),new K(h.params),new K(h.queryParams),new K(h.fragment),new K(h.data),h.outlet,h.component,h)}(g.value),D=g.children.map((k=>ro(h,k)));return new wr(C,D)}}const Wo="ngNavigationCancelingError";function wo(h,g){const{redirectTo:d,navigationBehaviorOptions:C}=Ht(g)?{redirectTo:g,navigationBehaviorOptions:void 0}:g,D=Io(!1,0,g);return D.url=d,D.navigationBehaviorOptions=C,D}function Io(h,g,d){const C=new Error("NavigationCancelingError: "+(h||""));return C[Wo]=!0,C.cancellationCode=g,d&&(C.url=d),C}function gs(h){return Ai(h)&&Ht(h.url)}function Ai(h){return h&&h[Wo]}class js{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new Si,this.attachRef=null}}let Si=(()=>{class h{constructor(){this.contexts=new Map}onChildOutletCreated(d,C){const D=this.getOrCreateContext(d);D.outlet=C,this.contexts.set(d,D)}onChildOutletDestroyed(d){const C=this.getContext(d);C&&(C.outlet=null,C.attachRef=null)}onOutletDeactivated(){const d=this.contexts;return this.contexts=new Map,d}onOutletReAttached(d){this.contexts=d}getOrCreateContext(d){let C=this.getContext(d);return C||(C=new js,this.contexts.set(d,C)),C}getContext(d){return this.contexts.get(d)||null}}return h.ɵfac=function(d){return new(d||h)},h.ɵprov=l.Yz7({token:h,factory:h.ɵfac,providedIn:"root"}),h})();const oo=!1;let Ui=(()=>{class h{constructor(d,C,D,k,ee){this.parentContexts=d,this.location=C,this.changeDetector=k,this.environmentInjector=ee,this.activated=null,this._activatedRoute=null,this.activateEvents=new l.vpe,this.deactivateEvents=new l.vpe,this.attachEvents=new l.vpe,this.detachEvents=new l.vpe,this.name=D||fn,d.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.getContext(this.name)?.outlet===this&&this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const d=this.parentContexts.getContext(this.name);d&&d.route&&(d.attachRef?this.attach(d.attachRef,d.route):this.activateWith(d.route,d.injector))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new l.vHH(4012,oo);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new l.vHH(4012,oo);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new l.vHH(4012,oo);this.location.detach();const d=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(d.instance),d}attach(d,C){this.activated=d,this._activatedRoute=C,this.location.insert(d.hostView),this.attachEvents.emit(d.instance)}deactivate(){if(this.activated){const d=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(d)}}activateWith(d,C){if(this.isActivated)throw new l.vHH(4013,oo);this._activatedRoute=d;const D=this.location,ee=d._futureSnapshot.component,se=this.parentContexts.getOrCreateContext(this.name).children,Ze=new ji(d,se,D.injector);if(C&&function zr(h){return!!h.resolveComponentFactory}(C)){const Tt=C.resolveComponentFactory(ee);this.activated=D.createComponent(Tt,D.length,Ze)}else this.activated=D.createComponent(ee,{index:D.length,injector:Ze,environmentInjector:C??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return h.ɵfac=function(d){return new(d||h)(l.Y36(Si),l.Y36(l.s_b),l.$8M("name"),l.Y36(l.sBO),l.Y36(l.lqb))},h.ɵdir=l.lG2({type:h,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0}),h})();class ji{constructor(g,d,C){this.route=g,this.childContexts=d,this.parent=C}get(g,d){return g===Lr?this.route:g===Si?this.childContexts:this.parent.get(g,d)}}let bo=(()=>{class h{}return h.ɵfac=function(d){return new(d||h)},h.ɵcmp=l.Xpm({type:h,selectors:[["ng-component"]],standalone:!0,features:[l.jDz],decls:1,vars:0,template:function(d,C){1&d&&l._UZ(0,"router-outlet")},dependencies:[Ui],encapsulation:2}),h})();function Ti(h,g){return h.providers&&!h._injector&&(h._injector=(0,l.MMx)(h.providers,g,`Route: ${h.path}`)),h._injector??g}function j(h){const g=h.children&&h.children.map(j),d=g?{...h,children:g}:{...h};return!d.component&&!d.loadComponent&&(g||d.loadChildren)&&d.outlet&&d.outlet!==fn&&(d.component=bo),d}function Z(h){return h.outlet||fn}function P(h,g){const d=h.filter((C=>Z(C)===g));return d.push(...h.filter((C=>Z(C)!==g))),d}function he(h){if(!h)return null;if(h.routeConfig?._injector)return h.routeConfig._injector;for(let g=h.parent;g;g=g.parent){const d=g.routeConfig;if(d?._loadedInjector)return d._loadedInjector;if(d?._injector)return d._injector}return null}class pn{constructor(g,d,C,D){this.routeReuseStrategy=g,this.futureState=d,this.currState=C,this.forwardEvent=D}activate(g){const d=this.futureState._root,C=this.currState?this.currState._root:null;this.deactivateChildRoutes(d,C,g),ai(this.futureState.root),this.activateChildRoutes(d,C,g)}deactivateChildRoutes(g,d,C){const D=Co(d);g.children.forEach((k=>{const ee=k.value.outlet;this.deactivateRoutes(k,D[ee],C),delete D[ee]})),Xn(D,((k,ee)=>{this.deactivateRouteAndItsChildren(k,C)}))}deactivateRoutes(g,d,C){const D=g.value,k=d?d.value:null;if(D===k)if(D.component){const ee=C.getContext(D.outlet);ee&&this.deactivateChildRoutes(g,d,ee.children)}else this.deactivateChildRoutes(g,d,C);else k&&this.deactivateRouteAndItsChildren(d,C)}deactivateRouteAndItsChildren(g,d){g.value.component&&this.routeReuseStrategy.shouldDetach(g.value.snapshot)?this.detachAndStoreRouteSubtree(g,d):this.deactivateRouteAndOutlet(g,d)}detachAndStoreRouteSubtree(g,d){const C=d.getContext(g.value.outlet),D=C&&g.value.component?C.children:d,k=Co(g);for(const ee of Object.keys(k))this.deactivateRouteAndItsChildren(k[ee],D);if(C&&C.outlet){const ee=C.outlet.detach(),se=C.children.onOutletDeactivated();this.routeReuseStrategy.store(g.value.snapshot,{componentRef:ee,route:g,contexts:se})}}deactivateRouteAndOutlet(g,d){const C=d.getContext(g.value.outlet),D=C&&g.value.component?C.children:d,k=Co(g);for(const ee of Object.keys(k))this.deactivateRouteAndItsChildren(k[ee],D);C&&C.outlet&&(C.outlet.deactivate(),C.children.onOutletDeactivated(),C.attachRef=null,C.resolver=null,C.route=null)}activateChildRoutes(g,d,C){const D=Co(d);g.children.forEach((k=>{this.activateRoutes(k,D[k.value.outlet],C),this.forwardEvent(new Po(k.value.snapshot))})),g.children.length&&this.forwardEvent(new Wi(g.value.snapshot))}activateRoutes(g,d,C){const D=g.value,k=d?d.value:null;if(ai(D),D===k)if(D.component){const ee=C.getOrCreateContext(D.outlet);this.activateChildRoutes(g,d,ee.children)}else this.activateChildRoutes(g,d,C);else if(D.component){const ee=C.getOrCreateContext(D.outlet);if(this.routeReuseStrategy.shouldAttach(D.snapshot)){const se=this.routeReuseStrategy.retrieve(D.snapshot);this.routeReuseStrategy.store(D.snapshot,null),ee.children.onOutletReAttached(se.contexts),ee.attachRef=se.componentRef,ee.route=se.route.value,ee.outlet&&ee.outlet.attach(se.componentRef,se.route.value),ai(se.route.value),this.activateChildRoutes(g,null,ee.children)}else{const se=he(D.snapshot),Ze=se?.get(l._Vd)??null;ee.attachRef=null,ee.route=D,ee.resolver=Ze,ee.injector=se,ee.outlet&&ee.outlet.activateWith(D,ee.injector),this.activateChildRoutes(g,null,ee.children)}}else this.activateChildRoutes(g,null,C)}}class Zt{constructor(g){this.path=g,this.route=this.path[this.path.length-1]}}class $i{constructor(g,d){this.component=g,this.route=d}}function Ao(h,g,d){const C=h._root;return Wr(C,g?g._root:null,d,[C.value])}function lo(h,g){const d=Symbol(),C=g.get(h,d);return C===d?"function"!=typeof h||(0,l.Z0I)(h)?g.get(h):h:C}function Wr(h,g,d,C,D={canDeactivateChecks:[],canActivateChecks:[]}){const k=Co(g);return h.children.forEach((ee=>{(function No(h,g,d,C,D={canDeactivateChecks:[],canActivateChecks:[]}){const k=h.value,ee=g?g.value:null,se=d?d.getContext(h.value.outlet):null;if(ee&&k.routeConfig===ee.routeConfig){const Ze=function co(h,g,d){if("function"==typeof d)return d(h,g);switch(d){case"pathParamsChange":return!It(h.url,g.url);case"pathParamsOrQueryParamsChange":return!It(h.url,g.url)||!ci(h.queryParams,g.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Vn(h,g)||!ci(h.queryParams,g.queryParams);default:return!Vn(h,g)}}(ee,k,k.routeConfig.runGuardsAndResolvers);Ze?D.canActivateChecks.push(new Zt(C)):(k.data=ee.data,k._resolvedData=ee._resolvedData),Wr(h,g,k.component?se?se.children:null:d,C,D),Ze&&se&&se.outlet&&se.outlet.isActivated&&D.canDeactivateChecks.push(new $i(se.outlet.component,ee))}else ee&&Ko(g,se,D),D.canActivateChecks.push(new Zt(C)),Wr(h,null,k.component?se?se.children:null:d,C,D)})(ee,k[ee.value.outlet],d,C.concat([ee.value]),D),delete k[ee.value.outlet]})),Xn(k,((ee,se)=>Ko(ee,d.getContext(se),D))),D}function Ko(h,g,d){const C=Co(h),D=h.value;Xn(C,((k,ee)=>{Ko(k,D.component?g?g.children.getContext(ee):null:g,d)})),d.canDeactivateChecks.push(new $i(D.component&&g&&g.outlet&&g.outlet.isActivated?g.outlet.component:null,D))}function lt(h){return"function"==typeof h}function ko(h){return h instanceof oe||"EmptyError"===h?.name}const ar=Symbol("INITIAL_VALUE");function uo(){return Xe((h=>(0,le.a)(h.map((g=>g.pipe((0,Ft.q)(1),(0,Ot.O)(ar))))).pipe((0,pe.U)((g=>{for(const d of g)if(!0!==d){if(d===ar)return ar;if(!1===d||d instanceof ht)return d}return!0})),(0,yt.h)((g=>g!==ar)),(0,Ft.q)(1))))}function Fo(h){return(0,Ge.z)((0,je.b)((g=>{if(Ht(g))throw wo(0,g)})),(0,pe.U)((g=>!0===g)))}const f={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function p(h,g,d,C,D){const k=M(h,g,d);return k.matched?function N(h,g,d,C){const D=g.canMatch;if(!D||0===D.length)return(0,V.of)(!0);const k=D.map((ee=>{const se=lo(ee,h);return de(function di(h){return h&&lt(h.canMatch)}(se)?se.canMatch(g,d):h.runInContext((()=>se(g,d))))}));return(0,V.of)(k).pipe(uo(),Fo())}(C=Ti(g,C),g,d).pipe((0,pe.U)((ee=>!0===ee?k:{...f}))):(0,V.of)(k)}function M(h,g,d){if(""===g.path)return"full"===g.pathMatch&&(h.hasChildren()||d.length>0)?{...f}:{matched:!0,consumedSegments:[],remainingSegments:d,parameters:{},positionalParamSegments:{}};const D=(g.matcher||Un)(d,h,g);if(!D)return{...f};const k={};Xn(D.posParams,((se,Ze)=>{k[Ze]=se.path}));const ee=D.consumed.length>0?{...k,...D.consumed[D.consumed.length-1].parameters}:k;return{matched:!0,consumedSegments:D.consumed,remainingSegments:d.slice(D.consumed.length),parameters:ee,positionalParamSegments:D.posParams??{}}}function A(h,g,d,C,D="corrected"){if(d.length>0&&function ve(h,g,d){return d.some((C=>et(h,g,C)&&Z(C)!==fn))}(h,d,C)){const ee=new ot(g,function _e(h,g,d,C){const D={};D[fn]=C,C._sourceSegment=h,C._segmentIndexShift=g.length;for(const k of d)if(""===k.path&&Z(k)!==fn){const ee=new ot([],{});ee._sourceSegment=h,ee._segmentIndexShift=g.length,D[Z(k)]=ee}return D}(h,g,C,new ot(d,h.children)));return ee._sourceSegment=h,ee._segmentIndexShift=g.length,{segmentGroup:ee,slicedSegments:[]}}if(0===d.length&&function Ve(h,g,d){return d.some((C=>et(h,g,C)))}(h,d,C)){const ee=new ot(h.segments,function z(h,g,d,C,D,k){const ee={};for(const se of C)if(et(h,d,se)&&!D[Z(se)]){const Ze=new ot([],{});Ze._sourceSegment=h,Ze._segmentIndexShift="legacy"===k?h.segments.length:g.length,ee[Z(se)]=Ze}return{...D,...ee}}(h,g,d,C,h.children,D));return ee._sourceSegment=h,ee._segmentIndexShift=g.length,{segmentGroup:ee,slicedSegments:d}}const k=new ot(h.segments,h.children);return k._sourceSegment=h,k._segmentIndexShift=g.length,{segmentGroup:k,slicedSegments:d}}function et(h,g,d){return(!(h.hasChildren()||g.length>0)||"full"!==d.pathMatch)&&""===d.path}function Rt(h,g,d,C){return!!(Z(h)===C||C!==fn&&et(g,d,h))&&("**"===h.path||M(g,h,d).matched)}function jt(h,g,d){return 0===g.length&&!h.children[d]}const On=!1;class Sn{constructor(g){this.segmentGroup=g||null}}class un{constructor(g){this.urlTree=g}}function Yt(h){return(0,Ne._)(new Sn(h))}function An(h){return(0,Ne._)(new un(h))}class St{constructor(g,d,C,D,k){this.injector=g,this.configLoader=d,this.urlSerializer=C,this.urlTree=D,this.config=k,this.allowRedirects=!0}apply(){const g=A(this.urlTree.root,[],[],this.config).segmentGroup,d=new ot(g.segments,g.children);return this.expandSegmentGroup(this.injector,this.config,d,fn).pipe((0,pe.U)((k=>this.createUrlTree(Ie(k),this.urlTree.queryParams,this.urlTree.fragment)))).pipe((0,Jt.K)((k=>{if(k instanceof un)return this.allowRedirects=!1,this.match(k.urlTree);throw k instanceof Sn?this.noMatchError(k):k})))}match(g){return this.expandSegmentGroup(this.injector,this.config,g.root,fn).pipe((0,pe.U)((D=>this.createUrlTree(Ie(D),g.queryParams,g.fragment)))).pipe((0,Jt.K)((D=>{throw D instanceof Sn?this.noMatchError(D):D})))}noMatchError(g){return new l.vHH(4002,On)}createUrlTree(g,d,C){const D=te(g);return new ht(D,d,C)}expandSegmentGroup(g,d,C,D){return 0===C.segments.length&&C.hasChildren()?this.expandChildren(g,d,C).pipe((0,pe.U)((k=>new ot([],k)))):this.expandSegment(g,C,d,C.segments,D,!0)}expandChildren(g,d,C){const D=[];for(const k of Object.keys(C.children))"primary"===k?D.unshift(k):D.push(k);return(0,v.D)(D).pipe((0,ae.b)((k=>{const ee=C.children[k],se=P(d,k);return this.expandSegmentGroup(g,se,ee,k).pipe((0,pe.U)((Ze=>({segment:Ze,outlet:k}))))})),mn(((k,ee)=>(k[ee.outlet]=ee.segment,k)),{}),Dn())}expandSegment(g,d,C,D,k,ee){return(0,v.D)(C).pipe((0,ae.b)((se=>this.expandSegmentAgainstRoute(g,d,C,se,D,k,ee).pipe((0,Jt.K)((Tt=>{if(Tt instanceof Sn)return(0,V.of)(null);throw Tt}))))),me((se=>!!se)),(0,Jt.K)(((se,Ze)=>{if(ko(se))return jt(d,D,k)?(0,V.of)(new ot([],{})):Yt(d);throw se})))}expandSegmentAgainstRoute(g,d,C,D,k,ee,se){return Rt(D,d,k,ee)?void 0===D.redirectTo?this.matchSegmentAgainstRoute(g,d,D,k,ee):se&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(g,d,C,D,k,ee):Yt(d):Yt(d)}expandSegmentAgainstRouteUsingRedirect(g,d,C,D,k,ee){return"**"===D.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(g,C,D,ee):this.expandRegularSegmentAgainstRouteUsingRedirect(g,d,C,D,k,ee)}expandWildCardWithParamsAgainstRouteUsingRedirect(g,d,C,D){const k=this.applyRedirectCommands([],C.redirectTo,{});return C.redirectTo.startsWith("/")?An(k):this.lineralizeSegments(C,k).pipe((0,be.z)((ee=>{const se=new ot(ee,{});return this.expandSegment(g,se,d,ee,D,!1)})))}expandRegularSegmentAgainstRouteUsingRedirect(g,d,C,D,k,ee){const{matched:se,consumedSegments:Ze,remainingSegments:Tt,positionalParamSegments:vn}=M(d,D,k);if(!se)return Yt(d);const Wt=this.applyRedirectCommands(Ze,D.redirectTo,vn);return D.redirectTo.startsWith("/")?An(Wt):this.lineralizeSegments(D,Wt).pipe((0,be.z)((gi=>this.expandSegment(g,d,C,gi.concat(Tt),ee,!1))))}matchSegmentAgainstRoute(g,d,C,D,k){return"**"===C.path?(g=Ti(C,g),C.loadChildren?(C._loadedRoutes?(0,V.of)({routes:C._loadedRoutes,injector:C._loadedInjector}):this.configLoader.loadChildren(g,C)).pipe((0,pe.U)((se=>(C._loadedRoutes=se.routes,C._loadedInjector=se.injector,new ot(D,{}))))):(0,V.of)(new ot(D,{}))):p(d,C,D,g).pipe(Xe((({matched:ee,consumedSegments:se,remainingSegments:Ze})=>ee?this.getChildConfig(g=C._injector??g,C,D).pipe((0,be.z)((vn=>{const Wt=vn.injector??g,gi=vn.routes,{segmentGroup:Sr,slicedSegments:Ho}=A(d,se,Ze,gi),Ds=new ot(Sr.segments,Sr.children);if(0===Ho.length&&Ds.hasChildren())return this.expandChildren(Wt,gi,Ds).pipe((0,pe.U)((sl=>new ot(se,sl))));if(0===gi.length&&0===Ho.length)return(0,V.of)(new ot(se,{}));const Hr=Z(C)===k;return this.expandSegment(Wt,Ds,gi,Ho,Hr?fn:k,!0).pipe((0,pe.U)((Xo=>new ot(se.concat(Xo.segments),Xo.children))))}))):Yt(d))))}getChildConfig(g,d,C){return d.children?(0,V.of)({routes:d.children,injector:g}):d.loadChildren?void 0!==d._loadedRoutes?(0,V.of)({routes:d._loadedRoutes,injector:d._loadedInjector}):function qr(h,g,d,C){const D=g.canLoad;if(void 0===D||0===D.length)return(0,V.of)(!0);const k=D.map((ee=>{const se=lo(ee,h);return de(function qo(h){return h&&lt(h.canLoad)}(se)?se.canLoad(g,d):h.runInContext((()=>se(g,d))))}));return(0,V.of)(k).pipe(uo(),Fo())}(g,d,C).pipe((0,be.z)((D=>D?this.configLoader.loadChildren(g,d).pipe((0,je.b)((k=>{d._loadedRoutes=k.routes,d._loadedInjector=k.injector}))):function Qe(h){return(0,Ne._)(Io(On,3))}()))):(0,V.of)({routes:[],injector:g})}lineralizeSegments(g,d){let C=[],D=d.root;for(;;){if(C=C.concat(D.segments),0===D.numberOfChildren)return(0,V.of)(C);if(D.numberOfChildren>1||!D.children[fn])return(0,Ne._)(new l.vHH(4e3,On));D=D.children[fn]}}applyRedirectCommands(g,d,C){return this.applyRedirectCreateUrlTree(d,this.urlSerializer.parse(d),g,C)}applyRedirectCreateUrlTree(g,d,C,D){const k=this.createSegmentGroup(g,d.root,C,D);return new ht(k,this.createQueryParams(d.queryParams,this.urlTree.queryParams),d.fragment)}createQueryParams(g,d){const C={};return Xn(g,((D,k)=>{if("string"==typeof D&&D.startsWith(":")){const se=D.substring(1);C[k]=d[se]}else C[k]=D})),C}createSegmentGroup(g,d,C,D){const k=this.createSegments(g,d.segments,C,D);let ee={};return Xn(d.children,((se,Ze)=>{ee[Ze]=this.createSegmentGroup(g,se,C,D)})),new ot(k,ee)}createSegments(g,d,C,D){return d.map((k=>k.path.startsWith(":")?this.findPosParam(g,k,D):this.findOrReturn(k,C)))}findPosParam(g,d,C){const D=C[d.path.substring(1)];if(!D)throw new l.vHH(4001,On);return D}findOrReturn(g,d){let C=0;for(const D of d){if(D.path===g.path)return d.splice(C),D;C++}return g}}class ei{}class br{constructor(g,d,C,D,k,ee,se,Ze){this.injector=g,this.rootComponentType=d,this.config=C,this.urlTree=D,this.url=k,this.paramsInheritanceStrategy=ee,this.relativeLinkResolution=se,this.urlSerializer=Ze}recognize(){const g=A(this.urlTree.root,[],[],this.config.filter((d=>void 0===d.redirectTo)),this.relativeLinkResolution).segmentGroup;return this.processSegmentGroup(this.injector,this.config,g,fn).pipe((0,pe.U)((d=>{if(null===d)return null;const C=new io([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},fn,this.rootComponentType,null,this.urlTree.root,-1,{}),D=new wr(C,d),k=new Oo(this.url,D);return this.inheritParamsAndData(k._root),k})))}inheritParamsAndData(g){const d=g.value,C=xo(d,this.paramsInheritanceStrategy);d.params=Object.freeze(C.params),d.data=Object.freeze(C.data),g.children.forEach((D=>this.inheritParamsAndData(D)))}processSegmentGroup(g,d,C,D){return 0===C.segments.length&&C.hasChildren()?this.processChildren(g,d,C):this.processSegment(g,d,C,C.segments,D)}processChildren(g,d,C){return(0,v.D)(Object.keys(C.children)).pipe((0,ae.b)((D=>{const k=C.children[D],ee=P(d,D);return this.processSegmentGroup(g,ee,k,D)})),mn(((D,k)=>D&&k?(D.push(...k),D):null)),function Di(h,g=!1){return(0,Be.e)(((d,C)=>{let D=0;d.subscribe(new dt.Q(C,(k=>{const ee=h(k,D++);(ee||g)&&C.next(k),!ee&&C.complete()})))}))}((D=>null!==D)),xe(null),Dn(),(0,pe.U)((D=>{if(null===D)return null;const k=cr(D);return function lr(h){h.sort(((g,d)=>g.value.outlet===fn?-1:d.value.outlet===fn?1:g.value.outlet.localeCompare(d.value.outlet)))}(k),k})))}processSegment(g,d,C,D,k){return(0,v.D)(d).pipe((0,ae.b)((ee=>this.processSegmentAgainstRoute(ee._injector??g,ee,C,D,k))),me((ee=>!!ee)),(0,Jt.K)((ee=>{if(ko(ee))return jt(C,D,k)?(0,V.of)([]):(0,V.of)(null);throw ee})))}processSegmentAgainstRoute(g,d,C,D,k){if(d.redirectTo||!Rt(d,C,D,k))return(0,V.of)(null);let ee;if("**"===d.path){const se=D.length>0?hi(D).parameters:{},Ze=S(C)+D.length,Tt=new io(D,se,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,O(d),Z(d),d.component??d._loadedComponent??null,d,_(C),Ze,re(d),Ze);ee=(0,V.of)({snapshot:Tt,consumedSegments:[],remainingSegments:[]})}else ee=p(C,d,D,g).pipe((0,pe.U)((({matched:se,consumedSegments:Ze,remainingSegments:Tt,parameters:vn})=>{if(!se)return null;const Wt=S(C)+Ze.length;return{snapshot:new io(Ze,vn,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,O(d),Z(d),d.component??d._loadedComponent??null,d,_(C),Wt,re(d),Wt),consumedSegments:Ze,remainingSegments:Tt}})));return ee.pipe(Xe((se=>{if(null===se)return(0,V.of)(null);const{snapshot:Ze,consumedSegments:Tt,remainingSegments:vn}=se;g=d._injector??g;const Wt=d._loadedInjector??g,gi=function Zr(h){return h.children?h.children:h.loadChildren?h._loadedRoutes:[]}(d),{segmentGroup:Sr,slicedSegments:Ho}=A(C,Tt,vn,gi.filter((Hr=>void 0===Hr.redirectTo)),this.relativeLinkResolution);if(0===Ho.length&&Sr.hasChildren())return this.processChildren(Wt,gi,Sr).pipe((0,pe.U)((Hr=>null===Hr?null:[new wr(Ze,Hr)])));if(0===gi.length&&0===Ho.length)return(0,V.of)([new wr(Ze,[])]);const Ds=Z(d)===k;return this.processSegment(Wt,gi,Sr,Ho,Ds?fn:k).pipe((0,pe.U)((Hr=>null===Hr?null:[new wr(Ze,Hr)])))})))}}function Eo(h){const g=h.value.routeConfig;return g&&""===g.path&&void 0===g.redirectTo}function cr(h){const g=[],d=new Set;for(const C of h){if(!Eo(C)){g.push(C);continue}const D=g.find((k=>C.value.routeConfig===k.value.routeConfig));void 0!==D?(D.children.push(...C.children),d.add(D)):g.push(C)}for(const C of d){const D=cr(C.children);g.push(new wr(C.value,D))}return g.filter((C=>!d.has(C)))}function _(h){let g=h;for(;g._sourceSegment;)g=g._sourceSegment;return g}function S(h){let g=h,d=g._segmentIndexShift??0;for(;g._sourceSegment;)g=g._sourceSegment,d+=g._segmentIndexShift??0;return d-1}function O(h){return h.data||{}}function re(h){return h.resolve||{}}function rn(h){return"string"==typeof h.title||null===h.title}function ni(h){return Xe((g=>{const d=h(g);return d?(0,v.D)(d).pipe((0,pe.U)((()=>g))):(0,V.of)(g)}))}let In=(()=>{class h{buildTitle(d){let C,D=d.root;for(;void 0!==D;)C=this.getResolvedTitleForRoute(D)??C,D=D.children.find((k=>k.outlet===fn));return C}getResolvedTitleForRoute(d){return d.data[Zn]}}return h.ɵfac=function(d){return new(d||h)},h.ɵprov=l.Yz7({token:h,factory:function(){return(0,l.f3M)(pi)},providedIn:"root"}),h})(),pi=(()=>{class h extends In{constructor(d){super(),this.title=d}updateTitle(d){const C=this.buildTitle(d);void 0!==C&&this.title.setTitle(C)}}return h.ɵfac=function(d){return new(d||h)(l.LFG(Oi.Dx))},h.ɵprov=l.Yz7({token:h,factory:h.ɵfac,providedIn:"root"}),h})();class ur{}class er extends class Mr{shouldDetach(g){return!1}store(g,d){}shouldAttach(g){return!1}retrieve(g){return null}shouldReuseRoute(g,d){return g.routeConfig===d.routeConfig}}{}const Lo=new l.OlP("",{providedIn:"root",factory:()=>({})}),Xa=new l.OlP("ROUTES");let Dr=(()=>{class h{constructor(d,C){this.injector=d,this.compiler=C,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(d){if(this.componentLoaders.get(d))return this.componentLoaders.get(d);if(d._loadedComponent)return(0,V.of)(d._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(d);const C=de(d.loadComponent()).pipe((0,je.b)((k=>{this.onLoadEndListener&&this.onLoadEndListener(d),d._loadedComponent=k})),(0,dn.x)((()=>{this.componentLoaders.delete(d)}))),D=new tt(C,(()=>new Q.x)).pipe(gt());return this.componentLoaders.set(d,D),D}loadChildren(d,C){if(this.childrenLoaders.get(C))return this.childrenLoaders.get(C);if(C._loadedRoutes)return(0,V.of)({routes:C._loadedRoutes,injector:C._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(C);const k=this.loadModuleFactoryOrRoutes(C.loadChildren).pipe((0,pe.U)((se=>{this.onLoadEndListener&&this.onLoadEndListener(C);let Ze,Tt,vn=!1;Array.isArray(se)?Tt=se:(Ze=se.create(d).injector,Tt=ti(Ze.get(Xa,[],l.XFs.Self|l.XFs.Optional)));return{routes:Tt.map(j),injector:Ze}})),(0,dn.x)((()=>{this.childrenLoaders.delete(C)}))),ee=new tt(k,(()=>new Q.x)).pipe(gt());return this.childrenLoaders.set(C,ee),ee}loadModuleFactoryOrRoutes(d){return de(d()).pipe((0,be.z)((C=>C instanceof l.YKP||Array.isArray(C)?(0,V.of)(C):(0,v.D)(this.compiler.compileModuleAsync(C)))))}}return h.ɵfac=function(d){return new(d||h)(l.LFG(l.zs3),l.LFG(l.Sil))},h.ɵprov=l.Yz7({token:h,factory:h.ɵfac,providedIn:"root"}),h})();class Ta{}class Cs{shouldProcessUrl(g){return!0}extract(g){return g}merge(g,d){return g}}function Pa(h){throw h}function xa(h,g,d){return g.parse("/")}const Oa={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},tr={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function el(){const h=(0,l.f3M)(xt),g=(0,l.f3M)(Si),d=(0,l.f3M)(Ke.Ye),C=(0,l.f3M)(l.zs3),D=(0,l.f3M)(l.Sil),k=(0,l.f3M)(Xa,{optional:!0})??[],ee=(0,l.f3M)(Lo,{optional:!0})??{},se=(0,l.f3M)(pi),Ze=(0,l.f3M)(In,{optional:!0}),Tt=(0,l.f3M)(Ta,{optional:!0}),vn=(0,l.f3M)(ur,{optional:!0}),Wt=new nr(null,h,g,d,C,D,ti(k));return Tt&&(Wt.urlHandlingStrategy=Tt),vn&&(Wt.routeReuseStrategy=vn),Wt.titleStrategy=Ze??se,function vr(h,g){h.errorHandler&&(g.errorHandler=h.errorHandler),h.malformedUriErrorHandler&&(g.malformedUriErrorHandler=h.malformedUriErrorHandler),h.onSameUrlNavigation&&(g.onSameUrlNavigation=h.onSameUrlNavigation),h.paramsInheritanceStrategy&&(g.paramsInheritanceStrategy=h.paramsInheritanceStrategy),h.relativeLinkResolution&&(g.relativeLinkResolution=h.relativeLinkResolution),h.urlUpdateStrategy&&(g.urlUpdateStrategy=h.urlUpdateStrategy),h.canceledNavigationResolution&&(g.canceledNavigationResolution=h.canceledNavigationResolution)}(ee,Wt),Wt}let nr=(()=>{class h{constructor(d,C,D,k,ee,se,Ze){this.rootComponentType=d,this.urlSerializer=C,this.rootContexts=D,this.location=k,this.config=Ze,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new Q.x,this.errorHandler=Pa,this.malformedUriErrorHandler=xa,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>(0,V.of)(void 0),this.urlHandlingStrategy=new Cs,this.routeReuseStrategy=new er,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.configLoader=ee.get(Dr),this.configLoader.onLoadEndListener=gi=>this.triggerEvent(new oi(gi)),this.configLoader.onLoadStartListener=gi=>this.triggerEvent(new Mn(gi)),this.ngModule=ee.get(l.h0i),this.console=ee.get(l.c2e);const Wt=ee.get(l.R0b);this.isNgZoneEnabled=Wt instanceof l.R0b&&l.R0b.isInAngularZone(),this.resetConfig(Ze),this.currentUrlTree=function Oe(){return new ht(new ot([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Vs(this.currentUrlTree,this.rootComponentType),this.transitions=new K({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){return this.location.getState()?.ɵrouterPageId}setupNavigations(d){const C=this.events;return d.pipe((0,yt.h)((D=>0!==D.id)),(0,pe.U)((D=>({...D,extractedUrl:this.urlHandlingStrategy.extract(D.rawUrl)}))),Xe((D=>{let k=!1,ee=!1;return(0,V.of)(D).pipe((0,je.b)((se=>{this.currentNavigation={id:se.id,initialUrl:se.rawUrl,extractedUrl:se.extractedUrl,trigger:se.source,extras:se.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}})),Xe((se=>{const Ze=this.browserUrlTree.toString(),Tt=!this.navigated||se.extractedUrl.toString()!==Ze||Ze!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||Tt)&&this.urlHandlingStrategy.shouldProcessUrl(se.rawUrl))return Bl(se.source)&&(this.browserUrlTree=se.extractedUrl),(0,V.of)(se).pipe(Xe((Wt=>{const gi=this.transitions.getValue();return C.next(new J(Wt.id,this.serializeUrl(Wt.extractedUrl),Wt.source,Wt.restoredState)),gi!==this.transitions.getValue()?ke.E:Promise.resolve(Wt)})),function gn(h,g,d,C){return Xe((D=>function ze(h,g,d,C,D){return new St(h,g,d,C,D).apply()}(h,g,d,D.extractedUrl,C).pipe((0,pe.U)((k=>({...D,urlAfterRedirects:k}))))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,je.b)((Wt=>{this.currentNavigation={...this.currentNavigation,finalUrl:Wt.urlAfterRedirects},D.urlAfterRedirects=Wt.urlAfterRedirects})),function qe(h,g,d,C,D,k){return(0,be.z)((ee=>function _r(h,g,d,C,D,k,ee="emptyOnly",se="legacy"){return new br(h,g,d,C,D,ee,se,k).recognize().pipe(Xe((Ze=>null===Ze?function Hn(h){return new Y.y((g=>g.error(h)))}(new ei):(0,V.of)(Ze))))}(h,g,d,ee.urlAfterRedirects,C.serialize(ee.urlAfterRedirects),C,D,k).pipe((0,pe.U)((se=>({...ee,targetSnapshot:se}))))))}(this.ngModule.injector,this.rootComponentType,this.config,this.urlSerializer,this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,je.b)((Wt=>{if(D.targetSnapshot=Wt.targetSnapshot,"eager"===this.urlUpdateStrategy){if(!Wt.extras.skipLocationChange){const Sr=this.urlHandlingStrategy.merge(Wt.urlAfterRedirects,Wt.rawUrl);this.setBrowserUrl(Sr,Wt)}this.browserUrlTree=Wt.urlAfterRedirects}const gi=new Ee(Wt.id,this.serializeUrl(Wt.extractedUrl),this.serializeUrl(Wt.urlAfterRedirects),Wt.targetSnapshot);C.next(gi)})));if(Tt&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:gi,extractedUrl:Sr,source:Ho,restoredState:Ds,extras:Hr}=se,qs=new J(gi,this.serializeUrl(Sr),Ho,Ds);C.next(qs);const Xo=Vs(Sr,this.rootComponentType).snapshot;return D={...se,targetSnapshot:Xo,urlAfterRedirects:Sr,extras:{...Hr,skipLocationChange:!1,replaceUrl:!1}},(0,V.of)(D)}return this.rawUrlTree=se.rawUrl,se.resolve(null),ke.E})),(0,je.b)((se=>{const Ze=new Ue(se.id,this.serializeUrl(se.extractedUrl),this.serializeUrl(se.urlAfterRedirects),se.targetSnapshot);this.triggerEvent(Ze)})),(0,pe.U)((se=>D={...se,guards:Ao(se.targetSnapshot,se.currentSnapshot,this.rootContexts)})),function _s(h,g){return(0,be.z)((d=>{const{targetSnapshot:C,currentSnapshot:D,guards:{canActivateChecks:k,canDeactivateChecks:ee}}=d;return 0===ee.length&&0===k.length?(0,V.of)({...d,guardsResult:!0}):function vs(h,g,d,C){return(0,v.D)(h).pipe((0,be.z)((D=>function Sa(h,g,d,C,D){const k=g&&g.routeConfig?g.routeConfig.canDeactivate:null;if(!k||0===k.length)return(0,V.of)(!0);const ee=k.map((se=>{const Ze=he(g)??D,Tt=lo(se,Ze);return de(function Ro(h){return h&&lt(h.canDeactivate)}(Tt)?Tt.canDeactivate(h,g,d,C):Ze.runInContext((()=>Tt(h,g,d,C)))).pipe(me())}));return(0,V.of)(ee).pipe(uo())}(D.component,D.route,d,g,C))),me((D=>!0!==D),!0))}(ee,C,D,h).pipe((0,be.z)((se=>se&&function Kn(h){return"boolean"==typeof h}(se)?function Xi(h,g,d,C){return(0,v.D)(g).pipe((0,ae.b)((D=>(0,ye.z)(function ys(h,g){return null!==h&&g&&g(new xi(h)),(0,V.of)(!0)}(D.route.parent,C),function Br(h,g){return null!==h&&g&&g(new Nr(h)),(0,V.of)(!0)}(D.route,C),function Vr(h,g,d){const C=g[g.length-1],k=g.slice(0,g.length-1).reverse().map((ee=>function Gs(h){const g=h.routeConfig?h.routeConfig.canActivateChild:null;return g&&0!==g.length?{node:h,guards:g}:null}(ee))).filter((ee=>null!==ee)).map((ee=>De((()=>{const se=ee.guards.map((Ze=>{const Tt=he(ee.node)??d,vn=lo(Ze,Tt);return de(function Ni(h){return h&&lt(h.canActivateChild)}(vn)?vn.canActivateChild(C,h):Tt.runInContext((()=>vn(C,h)))).pipe(me())}));return(0,V.of)(se).pipe(uo())}))));return(0,V.of)(k).pipe(uo())}(h,D.path,d),function Kr(h,g,d){const C=g.routeConfig?g.routeConfig.canActivate:null;if(!C||0===C.length)return(0,V.of)(!0);const D=C.map((k=>De((()=>{const ee=he(g)??d,se=lo(k,ee);return de(function Zo(h){return h&&lt(h.canActivate)}(se)?se.canActivate(g,h):ee.runInContext((()=>se(g,h)))).pipe(me())}))));return(0,V.of)(D).pipe(uo())}(h,D.route,d)))),me((D=>!0!==D),!0))}(C,k,h,g):(0,V.of)(se))),(0,pe.U)((se=>({...d,guardsResult:se}))))}))}(this.ngModule.injector,(se=>this.triggerEvent(se))),(0,je.b)((se=>{if(D.guardsResult=se.guardsResult,Ht(se.guardsResult))throw wo(0,se.guardsResult);const Ze=new Mt(se.id,this.serializeUrl(se.extractedUrl),this.serializeUrl(se.urlAfterRedirects),se.targetSnapshot,!!se.guardsResult);this.triggerEvent(Ze)})),(0,yt.h)((se=>!!se.guardsResult||(this.restoreHistory(se),this.cancelNavigationTransition(se,"",3),!1))),ni((se=>{if(se.guards.canActivateChecks.length)return(0,V.of)(se).pipe((0,je.b)((Ze=>{const Tt=new xn(Ze.id,this.serializeUrl(Ze.extractedUrl),this.serializeUrl(Ze.urlAfterRedirects),Ze.targetSnapshot);this.triggerEvent(Tt)})),Xe((Ze=>{let Tt=!1;return(0,V.of)(Ze).pipe(function it(h,g){return(0,be.z)((d=>{const{targetSnapshot:C,guards:{canActivateChecks:D}}=d;if(!D.length)return(0,V.of)(d);let k=0;return(0,v.D)(D).pipe((0,ae.b)((ee=>function zt(h,g,d,C){const D=h.routeConfig,k=h._resolve;return void 0!==D?.title&&!rn(D)&&(k[Zn]=D.title),function en(h,g,d,C){const D=function Nn(h){return[...Object.keys(h),...Object.getOwnPropertySymbols(h)]}(h);if(0===D.length)return(0,V.of)({});const k={};return(0,v.D)(D).pipe((0,be.z)((ee=>function Jn(h,g,d,C){const D=he(g)??C,k=lo(h,D);return de(k.resolve?k.resolve(g,d):D.runInContext((()=>k(g,d))))}(h[ee],g,d,C).pipe(me(),(0,je.b)((se=>{k[ee]=se}))))),Ei(1),function Rn(h){return(0,pe.U)((()=>h))}(k),(0,Jt.K)((ee=>ko(ee)?ke.E:(0,Ne._)(ee))))}(k,h,g,C).pipe((0,pe.U)((ee=>(h._resolvedData=ee,h.data=xo(h,d).resolve,D&&rn(D)&&(h.data[Zn]=D.title),null))))}(ee.route,C,h,g))),(0,je.b)((()=>k++)),Ei(1),(0,be.z)((ee=>k===D.length?(0,V.of)(d):ke.E)))}))}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,je.b)({next:()=>Tt=!0,complete:()=>{Tt||(this.restoreHistory(Ze),this.cancelNavigationTransition(Ze,"",2))}}))})),(0,je.b)((Ze=>{const Tt=new si(Ze.id,this.serializeUrl(Ze.extractedUrl),this.serializeUrl(Ze.urlAfterRedirects),Ze.targetSnapshot);this.triggerEvent(Tt)})))})),ni((se=>{const Ze=Tt=>{const vn=[];Tt.routeConfig?.loadComponent&&!Tt.routeConfig._loadedComponent&&vn.push(this.configLoader.loadComponent(Tt.routeConfig).pipe((0,je.b)((Wt=>{Tt.component=Wt})),(0,pe.U)((()=>{}))));for(const Wt of Tt.children)vn.push(...Ze(Wt));return vn};return(0,le.a)(Ze(se.targetSnapshot.root)).pipe(xe(),(0,Ft.q)(1))})),ni((()=>this.afterPreactivation())),(0,pe.U)((se=>{const Ze=function hs(h,g,d){const C=ro(h,g._root,d?d._root:void 0);return new Bs(C,g)}(this.routeReuseStrategy,se.targetSnapshot,se.currentRouterState);return D={...se,targetRouterState:Ze}})),(0,je.b)((se=>{this.currentUrlTree=se.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(se.urlAfterRedirects,se.rawUrl),this.routerState=se.targetRouterState,"deferred"===this.urlUpdateStrategy&&(se.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,se),this.browserUrlTree=se.urlAfterRedirects)})),((h,g,d)=>(0,pe.U)((C=>(new pn(g,C.targetRouterState,C.currentRouterState,d).activate(h),C))))(this.rootContexts,this.routeReuseStrategy,(se=>this.triggerEvent(se))),(0,je.b)({next(){k=!0},complete(){k=!0}}),(0,dn.x)((()=>{k||ee||this.cancelNavigationTransition(D,"",1),this.currentNavigation?.id===D.id&&(this.currentNavigation=null)})),(0,Jt.K)((se=>{if(ee=!0,Ai(se)){gs(se)||(this.navigated=!0,this.restoreHistory(D,!0));const Ze=new b(D.id,this.serializeUrl(D.extractedUrl),se.message,se.cancellationCode);if(C.next(Ze),gs(se)){const Tt=this.urlHandlingStrategy.merge(se.url,this.rawUrlTree),vn={skipLocationChange:D.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Bl(D.source)};this.scheduleNavigation(Tt,"imperative",null,vn,{resolve:D.resolve,reject:D.reject,promise:D.promise})}else D.resolve(!1)}else{this.restoreHistory(D,!0);const Ze=new H(D.id,this.serializeUrl(D.extractedUrl),se,D.targetSnapshot??void 0);C.next(Ze);try{D.resolve(this.errorHandler(se))}catch(Tt){D.reject(Tt)}}return ke.E})))})))}resetRootComponentType(d){this.rootComponentType=d,this.routerState.root.component=this.rootComponentType}setTransition(d){this.transitions.next({...this.transitions.value,...d})}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe((d=>{const C="popstate"===d.type?"popstate":"hashchange";"popstate"===C&&setTimeout((()=>{const D={replaceUrl:!0},k=d.state?.navigationId?d.state:null;if(k){const se={...k};delete se.navigationId,delete se.ɵrouterPageId,0!==Object.keys(se).length&&(D.state=se)}const ee=this.parseUrl(d.url);this.scheduleNavigation(ee,C,k,D)}),0)})))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(d){this.events.next(d)}resetConfig(d){this.config=d.map(j),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(d,C={}){const{relativeTo:D,queryParams:k,fragment:ee,queryParamsHandling:se,preserveFragment:Ze}=C,Tt=D||this.routerState.root,vn=Ze?this.currentUrlTree.fragment:ee;let Wt=null;switch(se){case"merge":Wt={...this.currentUrlTree.queryParams,...k};break;case"preserve":Wt=this.currentUrlTree.queryParams;break;default:Wt=k||null}return null!==Wt&&(Wt=this.removeEmptyProps(Wt)),Et(Tt,this.currentUrlTree,d,Wt,vn??null)}navigateByUrl(d,C={skipLocationChange:!1}){const D=Ht(d)?d:this.parseUrl(d),k=this.urlHandlingStrategy.merge(D,this.rawUrlTree);return this.scheduleNavigation(k,"imperative",null,C)}navigate(d,C={skipLocationChange:!1}){return function tl(h){for(let g=0;g<h.length;g++){if(null==h[g])throw new l.vHH(4008,false)}}(d),this.navigateByUrl(this.createUrlTree(d,C),C)}serializeUrl(d){return this.urlSerializer.serialize(d)}parseUrl(d){let C;try{C=this.urlSerializer.parse(d)}catch(D){C=this.malformedUriErrorHandler(D,this.urlSerializer,d)}return C}isActive(d,C){let D;if(D=!0===C?{...Oa}:!1===C?{...tr}:C,Ht(d))return $(this.currentUrlTree,d,D);const k=this.parseUrl(d);return $(this.currentUrlTree,k,D)}removeEmptyProps(d){return Object.keys(d).reduce(((C,D)=>{const k=d[D];return null!=k&&(C[D]=k),C}),{})}processNavigations(){this.navigations.subscribe((d=>{this.navigated=!0,this.lastSuccessfulId=d.id,this.currentPageId=d.targetPageId,this.events.next(new L(d.id,this.serializeUrl(d.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.titleStrategy?.updateTitle(this.routerState.snapshot),d.resolve(!0)}),(d=>{this.console.warn(`Unhandled Navigation Error: ${d}`)}))}scheduleNavigation(d,C,D,k,ee){if(this.disposed)return Promise.resolve(!1);let se,Ze,Tt;ee?(se=ee.resolve,Ze=ee.reject,Tt=ee.promise):Tt=new Promise(((gi,Sr)=>{se=gi,Ze=Sr}));const vn=++this.navigationId;let Wt;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(D=this.location.getState()),Wt=D&&D.ɵrouterPageId?D.ɵrouterPageId:k.replaceUrl||k.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):Wt=0,this.setTransition({id:vn,targetPageId:Wt,source:C,restoredState:D,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:d,extras:k,resolve:se,reject:Ze,promise:Tt,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Tt.catch((gi=>Promise.reject(gi)))}setBrowserUrl(d,C){const D=this.urlSerializer.serialize(d),k={...C.extras.state,...this.generateNgRouterState(C.id,C.targetPageId)};this.location.isCurrentPathEqualTo(D)||C.extras.replaceUrl?this.location.replaceState(D,"",k):this.location.go(D,"",k)}restoreHistory(d,C=!1){if("computed"===this.canceledNavigationResolution){const D=this.currentPageId-d.targetPageId;"popstate"!==d.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.currentNavigation?.finalUrl||0===D?this.currentUrlTree===this.currentNavigation?.finalUrl&&0===D&&(this.resetState(d),this.browserUrlTree=d.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(D)}else"replace"===this.canceledNavigationResolution&&(C&&this.resetState(d),this.resetUrlToCurrentUrlTree())}resetState(d){this.routerState=d.currentRouterState,this.currentUrlTree=d.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,d.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(d,C,D){const k=new b(d.id,this.serializeUrl(d.extractedUrl),C,D);this.triggerEvent(k),d.resolve(!1)}generateNgRouterState(d,C){return"computed"===this.canceledNavigationResolution?{navigationId:d,"ɵrouterPageId":C}:{navigationId:d}}}return h.ɵfac=function(d){l.$Z()},h.ɵprov=l.Yz7({token:h,factory:function(){return el()},providedIn:"root"}),h})();function Bl(h){return"imperative"!==h}class bs{}let Es=(()=>{class h{constructor(d,C,D,k,ee){this.router=d,this.injector=D,this.preloadingStrategy=k,this.loader=ee}setUpPreloading(){this.subscription=this.router.events.pipe((0,yt.h)((d=>d instanceof L)),(0,ae.b)((()=>this.preload()))).subscribe((()=>{}))}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(d,C){const D=[];for(const k of C){k.providers&&!k._injector&&(k._injector=(0,l.MMx)(k.providers,d,`Route: ${k.path}`));const ee=k._injector??d,se=k._loadedInjector??ee;k.loadChildren&&!k._loadedRoutes&&void 0===k.canLoad||k.loadComponent&&!k._loadedComponent?D.push(this.preloadConfig(ee,k)):(k.children||k._loadedRoutes)&&D.push(this.processRoutes(se,k.children??k._loadedRoutes))}return(0,v.D)(D).pipe((0,li.J)())}preloadConfig(d,C){return this.preloadingStrategy.preload(C,(()=>{let D;D=C.loadChildren&&void 0===C.canLoad?this.loader.loadChildren(d,C):(0,V.of)(null);const k=D.pipe((0,be.z)((ee=>null===ee?(0,V.of)(void 0):(C._loadedRoutes=ee.routes,C._loadedInjector=ee.injector,this.processRoutes(ee.injector??d,ee.routes)))));if(C.loadComponent&&!C._loadedComponent){const ee=this.loader.loadComponent(C);return(0,v.D)([k,ee]).pipe((0,li.J)())}return k}))}}return h.ɵfac=function(d){return new(d||h)(l.LFG(nr),l.LFG(l.Sil),l.LFG(l.lqb),l.LFG(bs),l.LFG(Dr))},h.ɵprov=l.Yz7({token:h,factory:h.ɵfac,providedIn:"root"}),h})();const ca=new l.OlP("");let Vl=(()=>{class h{constructor(d,C,D={}){this.router=d,this.viewportScroller=C,this.options=D,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},D.scrollPositionRestoration=D.scrollPositionRestoration||"disabled",D.anchorScrolling=D.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe((d=>{d instanceof J?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=d.navigationTrigger,this.restoredId=d.restoredState?d.restoredState.navigationId:0):d instanceof L&&(this.lastId=d.id,this.scheduleScrollEvent(d,this.router.parseUrl(d.urlAfterRedirects).fragment))}))}consumeScrollEvents(){return this.router.events.subscribe((d=>{d instanceof no&&(d.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(d.position):d.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(d.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))}))}scheduleScrollEvent(d,C){this.router.triggerEvent(new no(d,"popstate"===this.lastSource?this.store[this.restoredId]:null,C))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return h.ɵfac=function(d){l.$Z()},h.ɵprov=l.Yz7({token:h,factory:h.ɵfac}),h})();function kr(h,g){return{"ɵkind":h,"ɵproviders":g}}function Qr(h){return[{provide:Xa,multi:!0,useValue:h}]}function B(){const h=(0,l.f3M)(l.zs3);return g=>{const d=h.get(l.z2F);if(g!==d.components[0])return;const C=h.get(nr),D=h.get(Jr);1===h.get(da)&&C.initialNavigation(),h.get(Wc,null,l.XFs.Optional)?.setUpPreloading(),h.get(ca,null,l.XFs.Optional)?.init(),C.resetRootComponentType(d.componentTypes[0]),D.closed||(D.next(),D.unsubscribe())}}const Jr=new l.OlP("",{factory:()=>new Q.x}),da=new l.OlP("",{providedIn:"root",factory:()=>1});const Wc=new l.OlP("");function Ed(h){return kr(0,[{provide:Wc,useExisting:Es},{provide:bs,useExisting:h}])}const Kc=new l.OlP("ROUTER_FORROOT_GUARD"),ha=[Ke.Ye,{provide:xt,useClass:Dt},{provide:nr,useFactory:el},Si,{provide:Lr,useFactory:function Ms(h){return h.routerState.root},deps:[nr]},Dr];function Md(){return new l.PXZ("Router",nr)}let Jo=(()=>{class h{constructor(d){}static forRoot(d,C){return{ngModule:h,providers:[ha,[],Qr(d),{provide:Kc,useFactory:Dd,deps:[[nr,new l.FiY,new l.tp0]]},{provide:Lo,useValue:C||{}},C?.useHash?{provide:Ke.S$,useClass:Ke.Do}:{provide:Ke.S$,useClass:Ke.b0},{provide:ca,useFactory:()=>{const h=(0,l.f3M)(nr),g=(0,l.f3M)(Ke.EM),d=(0,l.f3M)(Lo);return d.scrollOffset&&g.setOffset(d.scrollOffset),new Vl(h,g,d)}},C?.preloadingStrategy?Ed(C.preloadingStrategy).ɵproviders:[],{provide:l.PXZ,multi:!0,useFactory:Md},C?.initialNavigation?qc(C):[],[{provide:Fi,useFactory:B},{provide:l.tb,multi:!0,useExisting:Fi}]]}}static forChild(d){return{ngModule:h,providers:[Qr(d)]}}}return h.ɵfac=function(d){return new(d||h)(l.LFG(Kc,8))},h.ɵmod=l.oAB({type:h}),h.ɵinj=l.cJS({imports:[bo]}),h})();function Dd(h){return"guarded"}function qc(h){return["disabled"===h.initialNavigation?kr(3,[{provide:l.ip1,multi:!0,useFactory:()=>{const g=(0,l.f3M)(nr);return()=>{g.setUpLocationChangeListener()}}},{provide:da,useValue:2}]).ɵproviders:[],"enabledBlocking"===h.initialNavigation?kr(2,[{provide:da,useValue:0},{provide:l.ip1,multi:!0,deps:[l.zs3],useFactory:g=>{const d=g.get(Ke.V_,Promise.resolve());let C=!1;return()=>d.then((()=>new Promise((k=>{const ee=g.get(nr),se=g.get(Jr);(function D(k){g.get(nr).events.pipe((0,yt.h)((se=>se instanceof L||se instanceof b||se instanceof H)),(0,pe.U)((se=>se instanceof L||se instanceof b&&(0===se.code||1===se.code)&&null)),(0,yt.h)((se=>null!==se)),(0,Ft.q)(1)).subscribe((()=>{k()}))})((()=>{k(!0),C=!0})),ee.afterPreactivation=()=>(k(!0),C||se.closed?(0,V.of)(void 0):se),ee.initialNavigation()}))))}}]).ɵproviders:[]]}const Fi=new l.OlP("")},5419:(Pe,q,T)=>{"use strict";T.d(q,{A4:()=>He});var l=T(1571),v=T(529),V=T(4004),Q=T(109),K=T(3022);const Y={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 ne{constructor(Te){this.unprotectedPaths=["/resetpass","/invitation"],this.protocol=Te.protocol;let me=Te.port;me||(function fe(Fe){return/^https:$/i.test(Fe)}(this.protocol)?me="443":function oe(Fe){return/^http:$/i.test(Fe)}(this.protocol)&&(me="80")),this.domain=Te.hostname,this.port=parseInt(me,10),this.path=Te.pathname;const ae=this.path.match(/((?:\/cpsess\d+)?)(?:\/([^\/]+))?/)||[];if(this.applicationName=/^whm\./.test(this.domain)?Y[2087]:/^cpanel\./.test(this.domain)?Y[2083]:/^webmail\./.test(this.domain)?Y[2095]:Y[me.toString()]||Y[ae[2]]||"whostmgr",this.securityToken=ae[1]||"",this.applicationPath=this.securityToken?this.path.replace(this.securityToken,""):this.path,this.theme="",!this.isUnprotected&&(this.isCpanel||this.isWebmail)){const Jt=this.path.split("/");this.theme=Jt[3]}this.themePath="";let je=this.securityToken+"/";this.isUnprotected?je="/":this.isCpanel?je+="frontend/"+this.theme+"/":this.isWebmail?je+="webmail/"+this.theme+"/":this.isOther&&(je="/"),this.themePath=je,this.rootUrl=this.protocol+"//"+this.domain+":"+this.port}get isOther(){return/other/i.test(this.applicationName)}get isUnprotected(){return!this.securityToken&&-1!==this.unprotectedPaths.indexOf(function le(Fe){return Fe&&Fe.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(Te){return this.themePath+Te}buildFullPath(Te){return this.protocol+"//"+this.domain+":"+this.port+this.buildPath(Te)}buildTokenPath(Te){return this.protocol+"//"+this.domain+":"+this.port+this.securityToken+Te}}class De{get pathname(){return window.location.pathname}get port(){return window.location.port}get hostname(){return window.location.hostname}get protocol(){return window.location.protocol}}var Ge=T(4235),Ne=T.n(Ge),ke=T(1305),mt=T.n(ke),Be=(()=>{return(Fe=Be||(Be={}))[Fe.Error=0]="Error",Fe[Fe.Warning=1]="Warning",Fe[Fe.Information=2]="Information",Fe[Fe.Unknown=3]="Unknown",Be;var Fe})();const dt={isPaged:!1,isFiltered:!1,record:0,page:0,pageSize:0,totalRecords:0,totalPages:0,recordsBeforeFilter:0,batch:!1,properties:{}};class Ke{constructor(Te){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={},Te.chunk&&(this.isPaged=!0,this.record=parseInt(Te.chunk.start,10)||0,this.page=parseInt(Te.chunk.current,10)||0,this.pageSize=parseInt(Te.chunk.size,10)||0,this.totalPages=parseInt(Te.chunk.chunks,10)||0,this.totalRecords=parseInt(Te.chunk.records,10)||0),Te.filter&&(this.isFiltered=!0,this.recordsBeforeFilter=parseInt(Te.filter.filtered,10)||0);const me=new Set(["paginate","filter"]);Object.keys(Te).filter((ae=>!me.has(ae))).forEach((ae=>{this.properties[ae]=Te[ae]}))}}class pe extends class tt{constructor(Te,me){if(this.status=0,this.messages=[],this.meta=function gt(Fe){return JSON.parse(JSON.stringify(Fe))}(dt),this.options={keepUnprocessedResponse:!1},Ne()(Te)||mt()(Te))throw new Error("The response was unexpectedly undefined or null");me&&(this.options=me),this.options.keepUnprocessedResponse&&(this.raw=JSON.parse(JSON.stringify(Te)))}get success(){return this.status>0}get failed(){return 0===this.status}_getMessages(Te){return this.messages.filter((me=>me.type===Te))}get errors(){return this._getMessages(Be.Error)}get warnings(){return this._getMessages(Be.Warning)}get infoMessages(){return this._getMessages(Be.Information)}_hasMessages(Te){return this.messages.filter((me=>me.type===Te)).length>0}get hasErrors(){return this._hasMessages(Be.Error)}get hasWarnings(){return this._hasMessages(Be.Warning)}get hasInfoMessages(){return this._hasMessages(Be.Information)}get isPaged(){return this.meta.isPaged}get isFiltered(){return this.meta.isFiltered}}{_parseStatus(Te){if(this.status=0,typeof Te.result>"u")throw new Error("The response should have a numeric status property indicating the API succeeded (>0) or failed (=0)");this.status=parseInt(Te.result,10)}_parseMessages(Te){if(!Te.result){const me=[Te.reason];me&&me.length&&me.forEach((ae=>{this.messages.push({type:Be.Error,message:ae})}))}}_reduce_list_data(Te){if("object"==typeof Te&&!(Te instanceof Array)){const me=Object.keys(Te);if(1===me.length){const ae=Te[me[0]];ae?ae instanceof Array&&(Te=ae):Te=[]}}return Te}constructor(Te,me){if(super(Te,me),!Te)throw new Error("Response object should be defined.");Te.metadata&&(this._parseStatus(Te.metadata),this._parseMessages(Te.metadata),this.meta=new Ke(Te.metadata)),this.data=this._reduce_list_data(Te.data)}}let He=(()=>{class Fe{constructor(me){this.http=me}get(me){const ae=me.generate({verb:Q.F.GET,encoder:new K.VN}),je=this.packageUrl(ae);return this.http.get(je,{headers:this.packageHeaders(ae)}).pipe((0,V.U)(this.packageResponseHandler(je)))}post(me){const ae=me.generate(),je=this.packageUrl(ae);return this.http.post(je,ae.body,{headers:this.packageHeaders(ae)}).pipe((0,V.U)(this.packageResponseHandler(je)))}packageHeaders(me){const ae={};return me.headers.forEach((je=>{ae[je.name]=je.value})),new v.WM(ae)}packageUrl(me){return new ne(new De).buildTokenPath(me.url)}packageResponseHandler(me){return ae=>{const je=new pe(ae);return je.meta.properties.url=me,je}}}return Fe.ɵfac=function(me){return new(me||Fe)(l.LFG(v.eN))},Fe.ɵprov=l.Yz7({token:Fe,factory:Fe.ɵfac,providedIn:"root"}),Fe})()},348:(Pe,q,T)=>{"use strict";T.d(q,{m:()=>K});var l=T(1571),v=T(269);const V=new l.OlP("window"),Q=fe=>new v.g(fe.CLDR,fe.LEXICON);let K=(()=>{class fe{}return fe.ɵfac=function(le){return new(le||fe)},fe.ɵmod=l.oAB({type:fe}),fe.ɵinj=l.cJS({providers:[{provide:V,useValue:window},{provide:v.g,useFactory:Q,deps:[V]}]}),fe})()},7945:(Pe,q,T)=>{"use strict";T.d(q,{BN:()=>xi,hJ:()=>Po});var l=T(1571),v=T(6895);T(269),T(2502),T(7489);class Et{constructor(Z,P,he=Et.defaultOptions){this._message=Z,this._type=P;const Je=he.id?he.id:Math.random().toString(36).substr(2,9);this._id=Je,this._closable=he.isCloseable??!0,this._autoClosePeriod=he.autoClosePeriod,this._list=he.list,this._truncateText=null!==he.truncateText?he.truncateText:Et.truncateText,this._ts=he.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 truncateText(){return this._truncateText}static makeNotification(Z){const{message:P,type:he,...Je}=Z;return new Et(P,he,Je)}}Et.truncateText=!0,Et.defaultAutoClosePeriod=0,Et.defaultOptions={autoClosePeriod:Et.defaultAutoClosePeriod,list:[]};var xi=(()=>{return(j=xi||(xi={})).loading="loading",j.disabled="disabled",j.enabled="enabled",xi;var j})();let Po=(()=>{class j{}return j.ɵfac=function(P){return new(P||j)},j.ɵmod=l.oAB({type:j}),j.ɵinj=l.cJS({imports:[v.ez]}),j})()},8674:(Pe,q,T)=>{"use strict";T.d(q,{w9:()=>$r,A0:()=>Pi});var l=T(1571),v=T(433),V=T(2722),Q=T(727);class K extends Q.w0{constructor(L,b){super()}schedule(L,b=0){return this}}const fe={setInterval(...J){const{delegate:L}=fe;return(L?.setInterval||setInterval)(...J)},clearInterval(J){const{delegate:L}=fe;return(L?.clearInterval||clearInterval)(J)},delegate:void 0};var oe=T(8737);class le extends K{constructor(L,b){super(L,b),this.scheduler=L,this.work=b,this.pending=!1}schedule(L,b=0){if(this.closed)return this;this.state=L;const H=this.id,Ee=this.scheduler;return null!=H&&(this.id=this.recycleAsyncId(Ee,H,b)),this.pending=!0,this.delay=b,this.id=this.id||this.requestAsyncId(Ee,this.id,b),this}requestAsyncId(L,b,H=0){return fe.setInterval(L.flush.bind(L,this),H)}recycleAsyncId(L,b,H=0){if(null!=H&&this.delay===H&&!1===this.pending)return b;fe.clearInterval(b)}execute(L,b){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const H=this._execute(L,b);if(H)return H;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(L,b){let Ee,H=!1;try{this.work(L)}catch(Ue){H=!0,Ee=Ue||new Error("Scheduled action threw falsy error")}if(H)return this.unsubscribe(),Ee}unsubscribe(){if(!this.closed){const{id:L,scheduler:b}=this,{actions:H}=b;this.work=this.state=this.scheduler=null,this.pending=!1,(0,oe.P)(H,this),null!=L&&(this.id=this.recycleAsyncId(b,L,null)),this.delay=null,super.unsubscribe()}}}const ye={now:()=>(ye.delegate||Date).now(),delegate:void 0};class Y{constructor(L,b=Y.now){this.schedulerActionCtor=L,this.now=b}schedule(L,b=0,H){return new this.schedulerActionCtor(this,L).schedule(H,b)}}Y.now=ye.now;class ne extends Y{constructor(L,b=Y.now){super(L,b),this.actions=[],this._active=!1,this._scheduled=void 0}flush(L){const{actions:b}=this;if(this._active)return void b.push(L);let H;this._active=!0;do{if(H=L.execute(L.state,L.delay))break}while(L=b.shift());if(this._active=!1,H){for(;L=b.shift();)L.unsubscribe();throw H}}}const De=new ne(le),Ge=De;var Ne=T(4482),ke=T(8421),mt=T(5403),dt=T(9751),gt=T(3532);function pe(J,L=Ge){return function Be(J){return(0,Ne.e)(((L,b)=>{let H=!1,Ee=null,Ue=null,Mt=!1;const xn=()=>{if(Ue?.unsubscribe(),Ue=null,H){H=!1;const Mn=Ee;Ee=null,b.next(Mn)}Mt&&b.complete()},si=()=>{Ue=null,Mt&&b.complete()};L.subscribe(new mt.Q(b,(Mn=>{H=!0,Ee=Mn,Ue||(0,ke.Xf)(J(Mn)).subscribe(Ue=new mt.Q(b,xn,si))}),(()=>{Mt=!0,(!H||!Ue||Ue.closed)&&b.complete()})))}))}((()=>function Ke(J=0,L,b=Ge){let H=-1;return null!=L&&((0,gt.K)(L)?b=L:H=L),new dt.y((Ee=>{let Ue=function tt(J){return J instanceof Date&&!isNaN(J)}(J)?+J-b.now():J;Ue<0&&(Ue=0);let Mt=0;return b.schedule((function(){Ee.closed||(Ee.next(Mt++),0<=H?this.schedule(void 0,H):Ee.complete())}),Ue)}))}(J,L)))}var Xe=T(8675),Ft=T(8505),yt=T(9300),be=T(4004);const xe={schedule(J){let L=requestAnimationFrame,b=cancelAnimationFrame;const{delegate:H}=xe;H&&(L=H.requestAnimationFrame,b=H.cancelAnimationFrame);const Ee=L((Ue=>{b=void 0,J(Ue)}));return new Q.w0((()=>b?.(Ee)))},requestAnimationFrame(...J){const{delegate:L}=xe;return(L?.requestAnimationFrame||requestAnimationFrame)(...J)},cancelAnimationFrame(...J){const{delegate:L}=xe;return(L?.cancelAnimationFrame||cancelAnimationFrame)(...J)},delegate:void 0},Te=new class Fe extends ne{flush(L){this._active=!0,this._scheduled=void 0;const{actions:b}=this;let H,Ee=-1;L=L||b.shift();const Ue=b.length;do{if(H=L.execute(L.state,L.delay))break}while(++Ee<Ue&&(L=b.shift()));if(this._active=!1,H){for(;++Ee<Ue&&(L=b.shift());)L.unsubscribe();throw H}}}(class He extends le{constructor(L,b){super(L,b),this.scheduler=L,this.work=b}requestAsyncId(L,b,H=0){return null!==H&&H>0?super.requestAsyncId(L,b,H):(L.actions.push(this),L._scheduled||(L._scheduled=xe.requestAnimationFrame((()=>L.flush(void 0)))))}recycleAsyncId(L,b,H=0){if(null!=H&&H>0||null==H&&this.delay>0)return super.recycleAsyncId(L,b,H);0===L.actions.length&&(xe.cancelAnimationFrame(b),L._scheduled=void 0)}});let je,ae=1;const Jt={};function Lt(J){return J in Jt&&(delete Jt[J],!0)}const mn={setImmediate(J){const L=ae++;return Jt[L]=!0,je||(je=Promise.resolve()),je.then((()=>Lt(L)&&J())),L},clearImmediate(J){Lt(J)}},{setImmediate:Dn,clearImmediate:Di}=mn,Rn={setImmediate(...J){const{delegate:L}=Rn;return(L?.setImmediate||Dn)(...J)},clearImmediate(J){const{delegate:L}=Rn;return(L?.clearImmediate||Di)(J)},delegate:void 0},Oi=new class li extends ne{flush(L){this._active=!0,this._scheduled=void 0;const{actions:b}=this;let H,Ee=-1;L=L||b.shift();const Ue=b.length;do{if(H=L.execute(L.state,L.delay))break}while(++Ee<Ue&&(L=b.shift()));if(this._active=!1,H){for(;++Ee<Ue&&(L=b.shift());)L.unsubscribe();throw H}}}(class dn extends le{constructor(L,b){super(L,b),this.scheduler=L,this.work=b}requestAsyncId(L,b,H=0){return null!==H&&H>0?super.requestAsyncId(L,b,H):(L.actions.push(this),L._scheduled||(L._scheduled=Rn.setImmediate(L.flush.bind(L,void 0))))}recycleAsyncId(L,b,H=0){if(null!=H&&H>0||null==H&&this.delay>0)return super.recycleAsyncId(L,b,H);0===L.actions.length&&(Rn.clearImmediate(b),L._scheduled=void 0)}});var Zn=T(7579),Zi=T(4968),fi=T(6451),Un=T(6895);const mi=["content"],ci=["scroll"],Yi=["padding"],ti=function(J){return{searchTerm:J}};function hi(J,L){if(1&J&&(l.TgZ(0,"div",6),l.GkF(1,7),l.qZA()),2&J){const b=l.oxw();l.xp6(1),l.Q6J("ngTemplateOutlet",b.headerTemplate)("ngTemplateOutletContext",l.VKq(2,ti,b.filterValue))}}function gr(J,L){if(1&J&&(l.TgZ(0,"div",8),l.GkF(1,7),l.qZA()),2&J){const b=l.oxw();l.xp6(1),l.Q6J("ngTemplateOutlet",b.footerTemplate)("ngTemplateOutletContext",l.VKq(2,ti,b.filterValue))}}const Xn=["*"],de=["searchInput"];function Ae(J,L){if(1&J){const b=l.EpF();l.TgZ(0,"span",15),l.NdJ("click",(function(){l.CHM(b);const Ee=l.oxw().$implicit,Ue=l.oxw(2);return l.KtG(Ue.unselect(Ee))})),l._uU(1,"×"),l.qZA(),l._UZ(2,"span",16)}if(2&J){const b=l.oxw().$implicit,H=l.oxw(2);l.xp6(2),l.Q6J("ngItemLabel",b.label)("escape",H.escapeHTML)}}function Oe(J,L){}const Ye=function(J,L,b){return{item:J,clear:L,label:b}};function ce(J,L){if(1&J&&(l.TgZ(0,"div",12),l.YNc(1,Ae,3,2,"ng-template",null,13,l.W1O),l.YNc(3,Oe,0,0,"ng-template",14),l.qZA()),2&J){const b=L.$implicit,H=l.MAs(2),Ee=l.oxw(2);l.ekj("ng-value-disabled",b.disabled),l.xp6(3),l.Q6J("ngTemplateOutlet",Ee.labelTemplate||H)("ngTemplateOutletContext",l.kEZ(4,Ye,b.value,Ee.clearItem,b.label))}}function $(J,L){if(1&J&&(l.ynx(0),l.YNc(1,ce,4,8,"div",11),l.BQk()),2&J){const b=l.oxw();l.xp6(1),l.Q6J("ngForOf",b.selectedItems)("ngForTrackBy",b.trackByOption)}}function W(J,L){}const Se=function(J,L){return{items:J,clear:L}};function $e(J,L){if(1&J&&l.YNc(0,W,0,0,"ng-template",14),2&J){const b=l.oxw();l.Q6J("ngTemplateOutlet",b.multiLabelTemplate)("ngTemplateOutletContext",l.WLB(2,Se,b.selectedValues,b.clearItem))}}function st(J,L){1&J&&l._UZ(0,"div",19)}function ft(J,L){}function Ut(J,L){if(1&J&&(l.ynx(0),l.YNc(1,st,1,0,"ng-template",null,17,l.W1O),l.YNc(3,ft,0,0,"ng-template",18),l.BQk()),2&J){const b=l.MAs(2),H=l.oxw();l.xp6(3),l.Q6J("ngTemplateOutlet",H.loadingSpinnerTemplate||b)}}function ht(J,L){if(1&J&&(l.TgZ(0,"span",20)(1,"span",21),l._uU(2,"×"),l.qZA()()),2&J){const b=l.oxw();l.s9C("title",b.clearAllText)}}function ot(J,L){if(1&J&&l._UZ(0,"span",27),2&J){const b=l.oxw().$implicit,H=l.oxw(2);l.Q6J("ngItemLabel",b.label)("escape",H.escapeHTML)}}function Kt(J,L){}const _n=function(J,L,b,H){return{item:J,item$:L,index:b,searchTerm:H}};function It(J,L){if(1&J){const b=l.EpF();l.TgZ(0,"div",25),l.NdJ("click",(function(){const Ue=l.CHM(b).$implicit,Mt=l.oxw(2);return l.KtG(Mt.toggleItem(Ue))}))("mouseover",(function(){const Ue=l.CHM(b).$implicit,Mt=l.oxw(2);return l.KtG(Mt.onItemHover(Ue))})),l.YNc(1,ot,1,2,"ng-template",null,26,l.W1O),l.YNc(3,Kt,0,0,"ng-template",14),l.qZA()}if(2&J){const b=L.$implicit,H=l.MAs(2),Ee=l.oxw(2);l.ekj("ng-option-disabled",b.disabled)("ng-option-selected",b.selected)("ng-optgroup",b.children)("ng-option",!b.children)("ng-option-child",!!b.parent)("ng-option-marked",b===Ee.itemsList.markedItem),l.uIk("role",b.children?"group":"option")("aria-selected",b.selected)("id",null==b?null:b.htmlId),l.xp6(3),l.Q6J("ngTemplateOutlet",b.children?Ee.optgroupTemplate||H:Ee.optionTemplate||H)("ngTemplateOutletContext",l.l5B(17,_n,b.value,b,b.index,Ee.searchTerm))}}function Pt(J,L){if(1&J&&(l.TgZ(0,"span")(1,"span",30),l._uU(2),l.qZA(),l._uU(3),l.qZA()),2&J){const b=l.oxw(3);l.xp6(2),l.Oqu(b.addTagText),l.xp6(1),l.hij('"',b.searchTerm,'"')}}function xt(J,L){}function Dt(J,L){if(1&J){const b=l.EpF();l.TgZ(0,"div",28),l.NdJ("mouseover",(function(){l.CHM(b);const Ee=l.oxw(2);return l.KtG(Ee.itemsList.unmarkItem())}))("click",(function(){l.CHM(b);const Ee=l.oxw(2);return l.KtG(Ee.selectTag())})),l.YNc(1,Pt,4,2,"ng-template",null,29,l.W1O),l.YNc(3,xt,0,0,"ng-template",14),l.qZA()}if(2&J){const b=l.MAs(2),H=l.oxw(2);l.ekj("ng-option-marked",!H.itemsList.markedItem),l.xp6(3),l.Q6J("ngTemplateOutlet",H.tagTemplate||b)("ngTemplateOutletContext",l.VKq(4,ti,H.searchTerm))}}function Gn(J,L){if(1&J&&(l.TgZ(0,"div",32),l._uU(1),l.qZA()),2&J){const b=l.oxw(3);l.xp6(1),l.Oqu(b.notFoundText)}}function Xt(J,L){}function wn(J,L){if(1&J&&(l.ynx(0),l.YNc(1,Gn,2,1,"ng-template",null,31,l.W1O),l.YNc(3,Xt,0,0,"ng-template",14),l.BQk()),2&J){const b=l.MAs(2),H=l.oxw(2);l.xp6(3),l.Q6J("ngTemplateOutlet",H.notFoundTemplate||b)("ngTemplateOutletContext",l.VKq(2,ti,H.searchTerm))}}function cn(J,L){if(1&J&&(l.TgZ(0,"div",32),l._uU(1),l.qZA()),2&J){const b=l.oxw(3);l.xp6(1),l.Oqu(b.typeToSearchText)}}function Nt(J,L){}function jn(J,L){if(1&J&&(l.ynx(0),l.YNc(1,cn,2,1,"ng-template",null,33,l.W1O),l.YNc(3,Nt,0,0,"ng-template",18),l.BQk()),2&J){const b=l.MAs(2),H=l.oxw(2);l.xp6(3),l.Q6J("ngTemplateOutlet",H.typeToSearchTemplate||b)}}function kt(J,L){if(1&J&&(l.TgZ(0,"div",32),l._uU(1),l.qZA()),2&J){const b=l.oxw(3);l.xp6(1),l.Oqu(b.loadingText)}}function sn(J,L){}function on(J,L){if(1&J&&(l.ynx(0),l.YNc(1,kt,2,1,"ng-template",null,34,l.W1O),l.YNc(3,sn,0,0,"ng-template",14),l.BQk()),2&J){const b=l.MAs(2),H=l.oxw(2);l.xp6(3),l.Q6J("ngTemplateOutlet",H.loadingTextTemplate||b)("ngTemplateOutletContext",l.VKq(2,ti,H.searchTerm))}}function vi(J,L){if(1&J){const b=l.EpF();l.TgZ(0,"ng-dropdown-panel",22),l.NdJ("update",(function(Ee){l.CHM(b);const Ue=l.oxw();return l.KtG(Ue.viewPortItems=Ee)}))("scroll",(function(Ee){l.CHM(b);const Ue=l.oxw();return l.KtG(Ue.scroll.emit(Ee))}))("scrollToEnd",(function(Ee){l.CHM(b);const Ue=l.oxw();return l.KtG(Ue.scrollToEnd.emit(Ee))}))("outsideClick",(function(){l.CHM(b);const Ee=l.oxw();return l.KtG(Ee.close())})),l.ynx(1),l.YNc(2,It,4,22,"div",23),l.YNc(3,Dt,4,6,"div",24),l.BQk(),l.YNc(4,wn,4,4,"ng-container",3),l.YNc(5,jn,4,1,"ng-container",3),l.YNc(6,on,4,4,"ng-container",3),l.qZA()}if(2&J){const b=l.oxw();l.ekj("ng-select-multiple",b.multiple),l.Q6J("virtualScroll",b.virtualScroll)("bufferAmount",b.bufferAmount)("appendTo",b.appendTo)("position",b.dropdownPosition)("headerTemplate",b.headerTemplate)("footerTemplate",b.footerTemplate)("filterValue",b.searchTerm)("items",b.itemsList.filteredItems)("markedItem",b.itemsList.markedItem)("ngClass",b.appendTo?b.classes:null)("id",b.dropdownId),l.xp6(2),l.Q6J("ngForOf",b.viewPortItems)("ngForTrackBy",b.trackByOption),l.xp6(1),l.Q6J("ngIf",b.showAddTag),l.xp6(1),l.Q6J("ngIf",b.showNoItemsFound()),l.xp6(1),l.Q6J("ngIf",b.showTypeToSearch()),l.xp6(1),l.Q6J("ngIf",b.loading&&0===b.itemsList.filteredItems.length)}}const ui=/[&<>"']/g,$n=RegExp(ui.source),kn={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function Bt(J){return null!=J}function Ce(J){return"object"==typeof J&&Bt(J)}function U(J){return J instanceof Function}let R=(()=>{class J{constructor(b){this.element=b,this.escape=!0}ngOnChanges(b){this.element.nativeElement.innerHTML=this.escape?function Ci(J){return J&&$n.test(J)?J.replace(ui,(L=>kn[L])):J}(this.ngItemLabel):this.ngItemLabel}}return J.ɵfac=function(b){return new(b||J)(l.Y36(l.SBq))},J.ɵdir=l.lG2({type:J,selectors:[["","ngItemLabel",""]],inputs:{ngItemLabel:"ngItemLabel",escape:"escape"},features:[l.TTD]}),J})(),te=(()=>{class J{constructor(b){this.template=b}}return J.ɵfac=function(b){return new(b||J)(l.Y36(l.Rgc))},J.ɵdir=l.lG2({type:J,selectors:[["","ng-option-tmp",""]]}),J})(),Ie=(()=>{class J{constructor(b){this.template=b}}return J.ɵfac=function(b){return new(b||J)(l.Y36(l.Rgc))},J.ɵdir=l.lG2({type:J,selectors:[["","ng-optgroup-tmp",""]]}),J})(),rt=(()=>{class J{constructor(b){this.template=b}}return J.ɵfac=function(b){return new(b||J)(l.Y36(l.Rgc))},J.ɵdir=l.lG2({type:J,selectors:[["","ng-label-tmp",""]]}),J})(),Ht=(()=>{class J{constructor(b){this.template=b}}return J.ɵfac=function(b){return new(b||J)(l.Y36(l.Rgc))},J.ɵdir=l.lG2({type:J,selectors:[["","ng-multi-label-tmp",""]]}),J})(),nt=(()=>{class J{constructor(b){this.template=b}}return J.ɵfac=function(b){return new(b||J)(l.Y36(l.Rgc))},J.ɵdir=l.lG2({type:J,selectors:[["","ng-header-tmp",""]]}),J})(),wt=(()=>{class J{constructor(b){this.template=b}}return J.ɵfac=function(b){return new(b||J)(l.Y36(l.Rgc))},J.ɵdir=l.lG2({type:J,selectors:[["","ng-footer-tmp",""]]}),J})(),We=(()=>{class J{constructor(b){this.template=b}}return J.ɵfac=function(b){return new(b||J)(l.Y36(l.Rgc))},J.ɵdir=l.lG2({type:J,selectors:[["","ng-notfound-tmp",""]]}),J})(),Ct=(()=>{class J{constructor(b){this.template=b}}return J.ɵfac=function(b){return new(b||J)(l.Y36(l.Rgc))},J.ɵdir=l.lG2({type:J,selectors:[["","ng-typetosearch-tmp",""]]}),J})(),Et=(()=>{class J{constructor(b){this.template=b}}return J.ɵfac=function(b){return new(b||J)(l.Y36(l.Rgc))},J.ɵdir=l.lG2({type:J,selectors:[["","ng-loadingtext-tmp",""]]}),J})(),qt=(()=>{class J{constructor(b){this.template=b}}return J.ɵfac=function(b){return new(b||J)(l.Y36(l.Rgc))},J.ɵdir=l.lG2({type:J,selectors:[["","ng-tag-tmp",""]]}),J})(),Vt=(()=>{class J{constructor(b){this.template=b}}return J.ɵfac=function(b){return new(b||J)(l.Y36(l.Rgc))},J.ɵdir=l.lG2({type:J,selectors:[["","ng-loadingspinner-tmp",""]]}),J})();function vt(){return"axxxxxxxxxxx".replace(/[x]/g,(()=>(16*Math.random()|0).toString(16)))}const hn={"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","L":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","Nj":"Nj","Ⓞ":"O","O":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","R":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","S":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","T":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","U":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","X":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Y":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Z":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ω":"ω","ς":"σ"};function Gt(J){return J.replace(/[^\u0000-\u007E]/g,(b=>hn[b]||b))}class Wn{constructor(L,b){this._ngSelect=L,this._selectionModel=b,this._items=[],this._filteredItems=[],this._markedIndex=-1}get items(){return this._items}get filteredItems(){return this._filteredItems}get markedIndex(){return this._markedIndex}get selectedItems(){return this._selectionModel.value}get markedItem(){return this._filteredItems[this._markedIndex]}get noItemsToSelect(){return this._ngSelect.hideSelected&&this._items.length===this.selectedItems.length}get maxItemsSelected(){return this._ngSelect.multiple&&this._ngSelect.maxSelectedItems<=this.selectedItems.length}get lastSelectedItem(){let L=this.selectedItems.length-1;for(;L>=0;L--){const b=this.selectedItems[L];if(!b.disabled)return b}return null}setItems(L){this._items=L.map(((b,H)=>this.mapItem(b,H))),this._ngSelect.groupBy?(this._groups=this._groupBy(this._items,this._ngSelect.groupBy),this._items=this._flatten(this._groups)):(this._groups=new Map,this._groups.set(void 0,this._items)),this._filteredItems=[...this._items]}select(L){if(L.selected||this.maxItemsSelected)return;const b=this._ngSelect.multiple;b||this.clearSelected(),this._selectionModel.select(L,b,this._ngSelect.selectableGroupAsModel),this._ngSelect.hideSelected&&this._hideSelected(L)}unselect(L){!L.selected||(this._selectionModel.unselect(L,this._ngSelect.multiple),this._ngSelect.hideSelected&&Bt(L.index)&&this._ngSelect.multiple&&this._showSelected(L))}findItem(L){let b;return b=this._ngSelect.compareWith?H=>this._ngSelect.compareWith(H.value,L):this._ngSelect.bindValue?H=>!H.children&&this.resolveNested(H.value,this._ngSelect.bindValue)===L:H=>H.value===L||!H.children&&H.label&&H.label===this.resolveNested(L,this._ngSelect.bindLabel),this._items.find((H=>b(H)))}addItem(L){const b=this.mapItem(L,this._items.length);return this._items.push(b),this._filteredItems.push(b),b}clearSelected(L=!1){this._selectionModel.clear(L),this._items.forEach((b=>{b.selected=L&&b.selected&&b.disabled,b.marked=!1})),this._ngSelect.hideSelected&&this.resetFilteredItems()}findByLabel(L){return L=Gt(L).toLocaleLowerCase(),this.filteredItems.find((b=>Gt(b.label).toLocaleLowerCase().substr(0,L.length)===L))}filter(L){if(!L)return void this.resetFilteredItems();this._filteredItems=[],L=this._ngSelect.searchFn?L:Gt(L).toLocaleLowerCase();const b=this._ngSelect.searchFn||this._defaultSearchFn,H=this._ngSelect.hideSelected;for(const Ee of Array.from(this._groups.keys())){const Ue=[];for(const Mt of this._groups.get(Ee))H&&(Mt.parent&&Mt.parent.selected||Mt.selected)||b(L,this._ngSelect.searchFn?Mt.value:Mt)&&Ue.push(Mt);if(Ue.length>0){const[Mt]=Ue.slice(-1);if(Mt.parent){const xn=this._items.find((si=>si===Mt.parent));this._filteredItems.push(xn)}this._filteredItems.push(...Ue)}}}resetFilteredItems(){this._filteredItems.length!==this._items.length&&(this._filteredItems=this._ngSelect.hideSelected&&this.selectedItems.length>0?this._items.filter((L=>!L.selected)):this._items)}unmarkItem(){this._markedIndex=-1}markNextItem(){this._stepToItem(1)}markPreviousItem(){this._stepToItem(-1)}markItem(L){this._markedIndex=this._filteredItems.indexOf(L)}markSelectedOrDefault(L){if(0===this._filteredItems.length)return;const b=this._getLastMarkedIndex();this._markedIndex=b>-1?b:L?this.filteredItems.findIndex((H=>!H.disabled)):-1}resolveNested(L,b){if(!Ce(L))return L;if(-1===b.indexOf("."))return L[b];{const H=b.split(".");let Ee=L;for(let Ue=0,Mt=H.length;Ue<Mt;++Ue){if(null==Ee)return null;Ee=Ee[H[Ue]]}return Ee}}mapItem(L,b){const H=Bt(L.$ngOptionLabel)?L.$ngOptionLabel:this.resolveNested(L,this._ngSelect.bindLabel),Ee=Bt(L.$ngOptionValue)?L.$ngOptionValue:L;return{index:b,label:Bt(H)?H.toString():"",value:Ee,disabled:L.disabled,htmlId:`${this._ngSelect.dropdownId}-${b}`}}mapSelectedItems(){const L=this._ngSelect.multiple;for(const b of this.selectedItems){const H=this._ngSelect.bindValue?this.resolveNested(b.value,this._ngSelect.bindValue):b.value,Ee=Bt(H)?this.findItem(H):null;this._selectionModel.unselect(b,L),this._selectionModel.select(Ee||b,L,this._ngSelect.selectableGroupAsModel)}this._ngSelect.hideSelected&&(this._filteredItems=this.filteredItems.filter((b=>-1===this.selectedItems.indexOf(b))))}_showSelected(L){if(this._filteredItems.push(L),L.parent){const b=L.parent;this._filteredItems.find((Ee=>Ee===b))||this._filteredItems.push(b)}else if(L.children)for(const b of L.children)b.selected=!1,this._filteredItems.push(b);this._filteredItems=[...this._filteredItems.sort(((b,H)=>b.index-H.index))]}_hideSelected(L){this._filteredItems=this._filteredItems.filter((b=>b!==L)),L.parent?L.parent.children.every((H=>H.selected))&&(this._filteredItems=this._filteredItems.filter((H=>H!==L.parent))):L.children&&(this._filteredItems=this.filteredItems.filter((b=>b.parent!==L)))}_defaultSearchFn(L,b){return Gt(b.label).toLocaleLowerCase().indexOf(L)>-1}_getNextItemIndex(L){return L>0?this._markedIndex>=this._filteredItems.length-1?0:this._markedIndex+1:this._markedIndex<=0?this._filteredItems.length-1:this._markedIndex-1}_stepToItem(L){0===this._filteredItems.length||this._filteredItems.every((b=>b.disabled))||(this._markedIndex=this._getNextItemIndex(L),this.markedItem.disabled&&this._stepToItem(L))}_getLastMarkedIndex(){if(this._ngSelect.hideSelected||this._markedIndex>-1&&void 0===this.markedItem)return-1;const L=this._filteredItems.indexOf(this.lastSelectedItem);return this.lastSelectedItem&&L<0?-1:Math.max(this.markedIndex,L)}_groupBy(L,b){const H=new Map;if(0===L.length)return H;if(Array.isArray(L[0].value[b])){for(const Mt of L){const xn=(Mt.value[b]||[]).map(((si,Mn)=>this.mapItem(si,Mn)));H.set(Mt,xn)}return H}const Ee=U(this._ngSelect.groupBy),Ue=Mt=>{const xn=Ee?b(Mt.value):Mt.value[b];return Bt(xn)?xn:void 0};for(const Mt of L){const xn=Ue(Mt),si=H.get(xn);si?si.push(Mt):H.set(xn,[Mt])}return H}_flatten(L){const b=U(this._ngSelect.groupBy),H=[];for(const Ee of Array.from(L.keys())){let Ue=H.length;if(void 0===Ee){const xi=L.get(void 0)||[];H.push(...xi.map((Wi=>(Wi.index=Ue++,Wi))));continue}const Mt=Ce(Ee),xn={label:Mt?"":String(Ee),children:void 0,parent:null,index:Ue++,disabled:!this._ngSelect.selectableGroup,htmlId:vt()},si=b?this._ngSelect.bindLabel:this._ngSelect.groupBy,Mn=this._ngSelect.groupValue||(()=>Mt?Ee.value:{[si]:Ee}),oi=L.get(Ee).map((xi=>(xi.parent=xn,xi.children=void 0,xi.index=Ue++,xi)));xn.children=oi,xn.value=Mn(Ee,oi.map((xi=>xi.value))),H.push(xn),H.push(...oi)}return H}}var an=(()=>{return(J=an||(an={}))[J.Tab=9]="Tab",J[J.Enter=13]="Enter",J[J.Esc=27]="Esc",J[J.Space=32]="Space",J[J.ArrowUp=38]="ArrowUp",J[J.ArrowDown=40]="ArrowDown",J[J.Backspace=8]="Backspace",an;var J})();let ri=(()=>{class J{constructor(){this._dimensions={itemHeight:0,panelHeight:0,itemsPerViewport:0}}get dimensions(){return this._dimensions}calculateItems(b,H,Ee){const Ue=this._dimensions,Mt=Ue.itemHeight*H,si=Math.max(0,b)/Mt*H;let Mn=Math.min(H,Math.ceil(si)+(Ue.itemsPerViewport+1));const xi=Math.max(0,Mn-Ue.itemsPerViewport);let Wi=Math.min(xi,Math.floor(si)),Nr=Ue.itemHeight*Math.ceil(Wi)-Ue.itemHeight*Math.min(Wi,Ee);return Nr=isNaN(Nr)?0:Nr,Wi=isNaN(Wi)?-1:Wi,Mn=isNaN(Mn)?-1:Mn,Wi-=Ee,Wi=Math.max(0,Wi),Mn+=Ee,Mn=Math.min(H,Mn),{topPadding:Nr,scrollHeight:Mt,start:Wi,end:Mn}}setDimensions(b,H){const Ee=Math.max(1,Math.floor(H/b));this._dimensions={itemHeight:b,panelHeight:H,itemsPerViewport:Ee}}getScrollTo(b,H,Ee){const{panelHeight:Ue}=this.dimensions,Mt=b+H,si=Ee+Ue;return Ue>=Mt&&Ee===b?null:Mt>si?Ee+Mt-si:b<=Ee?b:null}}return J.ɵfac=function(b){return new(b||J)},J.ɵprov=l.Yz7({token:J,factory:J.ɵfac}),J})();const yi=["top","right","bottom","left"],Vi=typeof requestAnimationFrame<"u"?Te:Oi;let Ii=(()=>{class J{constructor(b,H,Ee,Ue,Mt){this._renderer=b,this._zone=H,this._panelService=Ee,this._document=Mt,this.items=[],this.position="auto",this.virtualScroll=!1,this.filterValue=null,this.update=new l.vpe,this.scroll=new l.vpe,this.scrollToEnd=new l.vpe,this.outsideClick=new l.vpe,this._destroy$=new Zn.x,this._scrollToEndFired=!1,this._updateScrollHeight=!1,this._lastScrollPosition=0,this._dropdown=Ue.nativeElement}get currentPosition(){return this._currentPosition}get itemsLength(){return this._itemsLength}set itemsLength(b){b!==this._itemsLength&&(this._itemsLength=b,this._onItemsLengthChanged())}get _startOffset(){if(this.markedItem){const{itemHeight:b,panelHeight:H}=this._panelService.dimensions,Ee=this.markedItem.index*b;return H>Ee?0:Ee}return 0}ngOnInit(){this._select=this._dropdown.parentElement,this._virtualPadding=this.paddingElementRef.nativeElement,this._scrollablePanel=this.scrollElementRef.nativeElement,this._contentPanel=this.contentElementRef.nativeElement,this._handleScroll(),this._handleOutsideClick(),this._appendDropdown(),this._setupMousedownListener()}ngOnChanges(b){if(b.items){const H=b.items;this._onItemsChange(H.currentValue,H.firstChange)}}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete(),this._destroy$.unsubscribe(),this.appendTo&&this._renderer.removeChild(this._dropdown.parentNode,this._dropdown)}scrollTo(b,H=!1){if(!b)return;const Ee=this.items.indexOf(b);if(Ee<0||Ee>=this.itemsLength)return;let Ue;if(this.virtualScroll){const Mt=this._panelService.dimensions.itemHeight;Ue=this._panelService.getScrollTo(Ee*Mt,Mt,this._lastScrollPosition)}else{const Mt=this._dropdown.querySelector(`#${b.htmlId}`);Ue=this._panelService.getScrollTo(Mt.offsetTop,Mt.clientHeight,H?Mt.offsetTop:this._lastScrollPosition)}Bt(Ue)&&(this._scrollablePanel.scrollTop=Ue)}scrollToTag(){const b=this._scrollablePanel;b.scrollTop=b.scrollHeight-b.clientHeight}adjustPosition(){this._updateYPosition()}_handleDropdownPosition(){this._currentPosition=this._calculateCurrentPosition(this._dropdown),yi.includes(this._currentPosition)?this._updateDropdownClass(this._currentPosition):this._updateDropdownClass("bottom"),this.appendTo&&this._updateYPosition(),this._dropdown.style.opacity="1"}_updateDropdownClass(b){yi.forEach((Ee=>{const Ue=`ng-select-${Ee}`;this._renderer.removeClass(this._dropdown,Ue),this._renderer.removeClass(this._select,Ue)}));const H=`ng-select-${b}`;this._renderer.addClass(this._dropdown,H),this._renderer.addClass(this._select,H)}_handleScroll(){this._zone.runOutsideAngular((()=>{(0,Zi.R)(this.scrollElementRef.nativeElement,"scroll").pipe((0,V.R)(this._destroy$),pe(0,Vi)).subscribe((b=>{const H=b.path||b.composedPath&&b.composedPath();this._onContentScrolled(H&&0!==H.length?H[0].scrollTop:b.target.scrollTop)}))}))}_handleOutsideClick(){!this._document||this._zone.runOutsideAngular((()=>{(0,fi.T)((0,Zi.R)(this._document,"touchstart",{capture:!0}),(0,Zi.R)(this._document,"mousedown",{capture:!0})).pipe((0,V.R)(this._destroy$)).subscribe((b=>this._checkToClose(b)))}))}_checkToClose(b){if(this._select.contains(b.target)||this._dropdown.contains(b.target))return;const H=b.path||b.composedPath&&b.composedPath();b.target&&b.target.shadowRoot&&H&&H[0]&&this._select.contains(H[0])||this._zone.run((()=>this.outsideClick.emit()))}_onItemsChange(b,H){this.items=b||[],this._scrollToEndFired=!1,this.itemsLength=b.length,this.virtualScroll?this._updateItemsRange(H):(this._setVirtualHeight(),this._updateItems(H))}_updateItems(b){this.update.emit(this.items),!1!==b&&this._zone.runOutsideAngular((()=>{Promise.resolve().then((()=>{this._panelService.setDimensions(0,this._scrollablePanel.clientHeight),this._handleDropdownPosition(),this.scrollTo(this.markedItem,b)}))}))}_updateItemsRange(b){this._zone.runOutsideAngular((()=>{this._measureDimensions().then((()=>{b?(this._renderItemsRange(this._startOffset),this._handleDropdownPosition()):this._renderItemsRange()}))}))}_onContentScrolled(b){this.virtualScroll&&this._renderItemsRange(b),this._lastScrollPosition=b,this._fireScrollToEnd(b)}_updateVirtualHeight(b){this._updateScrollHeight&&(this._virtualPadding.style.height=`${b}px`,this._updateScrollHeight=!1)}_setVirtualHeight(){!this._virtualPadding||(this._virtualPadding.style.height="0px")}_onItemsLengthChanged(){this._updateScrollHeight=!0}_renderItemsRange(b=null){if(b&&this._lastScrollPosition===b)return;const H=this._panelService.calculateItems(b=b||this._scrollablePanel.scrollTop,this.itemsLength,this.bufferAmount);this._updateVirtualHeight(H.scrollHeight),this._contentPanel.style.transform=`translateY(${H.topPadding}px)`,this._zone.run((()=>{this.update.emit(this.items.slice(H.start,H.end)),this.scroll.emit({start:H.start,end:H.end})})),Bt(b)&&0===this._lastScrollPosition&&(this._scrollablePanel.scrollTop=b,this._lastScrollPosition=b)}_measureDimensions(){if(this._panelService.dimensions.itemHeight>0||0===this.itemsLength)return Promise.resolve(this._panelService.dimensions);const[b]=this.items;return this.update.emit([b]),Promise.resolve().then((()=>{const Ee=this._dropdown.querySelector(`#${b.htmlId}`).clientHeight;return this._virtualPadding.style.height=Ee*this.itemsLength+"px",this._panelService.setDimensions(Ee,this._scrollablePanel.clientHeight),this._panelService.dimensions}))}_fireScrollToEnd(b){this._scrollToEndFired||0===b||b+this._dropdown.clientHeight>=(this.virtualScroll?this._virtualPadding:this._contentPanel).clientHeight-1&&(this._zone.run((()=>this.scrollToEnd.emit())),this._scrollToEndFired=!0)}_calculateCurrentPosition(b){if("auto"!==this.position)return this.position;const H=this._select.getBoundingClientRect(),Ee=document.documentElement.scrollTop||document.body.scrollTop;return H.top+window.pageYOffset+H.height+b.getBoundingClientRect().height>Ee+document.documentElement.clientHeight?"top":"bottom"}_appendDropdown(){if(this.appendTo){if(this._parent=document.querySelector(this.appendTo),!this._parent)throw new Error(`appendTo selector ${this.appendTo} did not found any parent element`);this._updateXPosition(),this._parent.appendChild(this._dropdown)}}_updateXPosition(){const b=this._select.getBoundingClientRect(),H=this._parent.getBoundingClientRect();this._dropdown.style.left=b.left-H.left+"px",this._dropdown.style.width=b.width+"px",this._dropdown.style.minWidth=b.width+"px"}_updateYPosition(){const b=this._select.getBoundingClientRect(),H=this._parent.getBoundingClientRect(),Ee=b.height;"top"===this._currentPosition?(this._dropdown.style.bottom=H.bottom-b.bottom+Ee+"px",this._dropdown.style.top="auto"):"bottom"===this._currentPosition&&(this._dropdown.style.top=b.top-H.top+Ee+"px",this._dropdown.style.bottom="auto")}_setupMousedownListener(){this._zone.runOutsideAngular((()=>{(0,Zi.R)(this._dropdown,"mousedown").pipe((0,V.R)(this._destroy$)).subscribe((b=>{"INPUT"!==b.target.tagName&&b.preventDefault()}))}))}}return J.ɵfac=function(b){return new(b||J)(l.Y36(l.Qsj),l.Y36(l.R0b),l.Y36(ri),l.Y36(l.SBq),l.Y36(Un.K0,8))},J.ɵcmp=l.Xpm({type:J,selectors:[["ng-dropdown-panel"]],viewQuery:function(b,H){if(1&b&&(l.Gf(mi,7,l.SBq),l.Gf(ci,7,l.SBq),l.Gf(Yi,7,l.SBq)),2&b){let Ee;l.iGM(Ee=l.CRH())&&(H.contentElementRef=Ee.first),l.iGM(Ee=l.CRH())&&(H.scrollElementRef=Ee.first),l.iGM(Ee=l.CRH())&&(H.paddingElementRef=Ee.first)}},inputs:{items:"items",markedItem:"markedItem",position:"position",appendTo:"appendTo",bufferAmount:"bufferAmount",virtualScroll:"virtualScroll",headerTemplate:"headerTemplate",footerTemplate:"footerTemplate",filterValue:"filterValue"},outputs:{update:"update",scroll:"scroll",scrollToEnd:"scrollToEnd",outsideClick:"outsideClick"},features:[l.TTD],ngContentSelectors:Xn,decls:9,vars:6,consts:[["class","ng-dropdown-header",4,"ngIf"],[1,"ng-dropdown-panel-items","scroll-host"],["scroll",""],["padding",""],["content",""],["class","ng-dropdown-footer",4,"ngIf"],[1,"ng-dropdown-header"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ng-dropdown-footer"]],template:function(b,H){1&b&&(l.F$t(),l.YNc(0,hi,2,4,"div",0),l.TgZ(1,"div",1,2),l._UZ(3,"div",null,3),l.TgZ(5,"div",null,4),l.Hsn(7),l.qZA()(),l.YNc(8,gr,2,4,"div",5)),2&b&&(l.Q6J("ngIf",H.headerTemplate),l.xp6(3),l.ekj("total-padding",H.virtualScroll),l.xp6(2),l.ekj("scrollable-content",H.virtualScroll&&H.items.length),l.xp6(3),l.Q6J("ngIf",H.footerTemplate))},dependencies:[Un.O5,Un.tP],encapsulation:2,changeDetection:0}),J})(),Qi=(()=>{class J{constructor(b){this.elementRef=b,this.stateChange$=new Zn.x,this._disabled=!1}get disabled(){return this._disabled}set disabled(b){this._disabled=this._isDisabled(b)}get label(){return(this.elementRef.nativeElement.textContent||"").trim()}ngOnChanges(b){b.disabled&&this.stateChange$.next({value:this.value,disabled:this._disabled})}ngAfterViewChecked(){this.label!==this._previousLabel&&(this._previousLabel=this.label,this.stateChange$.next({value:this.value,disabled:this._disabled,label:this.elementRef.nativeElement.innerHTML}))}ngOnDestroy(){this.stateChange$.complete()}_isDisabled(b){return null!=b&&"false"!=`${b}`}}return J.ɵfac=function(b){return new(b||J)(l.Y36(l.SBq))},J.ɵcmp=l.Xpm({type:J,selectors:[["ng-option"]],inputs:{value:"value",disabled:"disabled"},features:[l.TTD],ngContentSelectors:Xn,decls:1,vars:0,template:function(b,H){1&b&&(l.F$t(),l.Hsn(0))},encapsulation:2,changeDetection:0}),J})(),mr=(()=>{class J{constructor(){this.notFoundText="No items found",this.typeToSearchText="Type to search",this.addTagText="Add item",this.loadingText="Loading...",this.clearAllText="Clear all",this.disableVirtualScroll=!0,this.openOnEnter=!0,this.appearance="underline"}}return J.ɵfac=function(b){return new(b||J)},J.ɵprov=l.Yz7({token:J,factory:J.ɵfac,providedIn:"root"}),J})(),zn=(()=>{class J{warn(b){console.warn(b)}}return J.ɵfac=function(b){return new(b||J)},J.ɵprov=l.Yz7({token:J,factory:J.ɵfac,providedIn:"root"}),J})();const Hi=new l.OlP("ng-select-selection-model");let $r=(()=>{class J{constructor(b,H,Ee,Ue,Mt,xn,si){this.classes=b,this.autoFocus=H,this.config=Ee,this._cd=xn,this._console=si,this.markFirst=!0,this.dropdownPosition="auto",this.loading=!1,this.closeOnSelect=!0,this.hideSelected=!1,this.selectOnTab=!1,this.bufferAmount=4,this.selectableGroup=!1,this.selectableGroupAsModel=!0,this.searchFn=null,this.trackByFn=null,this.clearOnBackspace=!0,this.labelForId=null,this.inputAttrs={},this.readonly=!1,this.searchWhileComposing=!0,this.minTermLength=0,this.editableSearchTerm=!1,this.keyDownFn=Mn=>!0,this.multiple=!1,this.addTag=!1,this.searchable=!0,this.clearable=!0,this.isOpen=!1,this.blurEvent=new l.vpe,this.focusEvent=new l.vpe,this.changeEvent=new l.vpe,this.openEvent=new l.vpe,this.closeEvent=new l.vpe,this.searchEvent=new l.vpe,this.clearEvent=new l.vpe,this.addEvent=new l.vpe,this.removeEvent=new l.vpe,this.scroll=new l.vpe,this.scrollToEnd=new l.vpe,this.useDefaultClass=!0,this.viewPortItems=[],this.searchTerm=null,this.dropdownId=vt(),this.escapeHTML=!0,this._items=[],this._defaultLabel="label",this._pressedKeys=[],this._isComposing=!1,this._destroy$=new Zn.x,this._keyPress$=new Zn.x,this._onChange=Mn=>{},this._onTouched=()=>{},this.clearItem=Mn=>{const oi=this.selectedItems.find((xi=>xi.value===Mn));this.unselect(oi)},this.trackByOption=(Mn,oi)=>this.trackByFn?this.trackByFn(oi.value):oi,this._mergeGlobalConfig(Ee),this.itemsList=new Wn(this,Ue()),this.element=Mt.nativeElement}get items(){return this._items}set items(b){null===b&&(b=[]),this._itemsAreUsed=!0,this._items=b}get compareWith(){return this._compareWith}set compareWith(b){if(null!=b&&!U(b))throw Error("`compareWith` must be a function.");this._compareWith=b}get clearSearchOnAdd(){return Bt(this._clearSearchOnAdd)?this._clearSearchOnAdd:Bt(this.config.clearSearchOnAdd)?this.config.clearSearchOnAdd:this.closeOnSelect}set clearSearchOnAdd(b){this._clearSearchOnAdd=b}get disabled(){return this.readonly||this._disabled}get filtered(){return!!this.searchTerm&&this.searchable||this._isComposing}get single(){return!this.multiple}get _editableSearchTerm(){return this.editableSearchTerm&&!this.multiple}get selectedItems(){return this.itemsList.selectedItems}get selectedValues(){return this.selectedItems.map((b=>b.value))}get hasValue(){return this.selectedItems.length>0}get currentPanelPosition(){if(this.dropdownPanel)return this.dropdownPanel.currentPosition}ngOnInit(){this._handleKeyPresses(),this._setInputAttributes()}ngOnChanges(b){b.multiple&&this.itemsList.clearSelected(),b.items&&this._setItems(b.items.currentValue||[]),b.isOpen&&(this._manualOpen=Bt(b.isOpen.currentValue))}ngAfterViewInit(){this._itemsAreUsed||(this.escapeHTML=!1,this._setItemsFromNgOptions()),Bt(this.autoFocus)&&this.focus()}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete()}handleKeyDown(b){if(an[b.which]){if(!1===this.keyDownFn(b))return;this.handleKeyCode(b)}else b.key&&1===b.key.length&&this._keyPress$.next(b.key.toLocaleLowerCase())}handleKeyCode(b){switch(b.which){case an.ArrowDown:this._handleArrowDown(b);break;case an.ArrowUp:this._handleArrowUp(b);break;case an.Space:this._handleSpace(b);break;case an.Enter:this._handleEnter(b);break;case an.Tab:this._handleTab(b);break;case an.Esc:this.close(),b.preventDefault();break;case an.Backspace:this._handleBackspace()}}handleMousedown(b){const H=b.target;"INPUT"!==H.tagName&&b.preventDefault(),H.classList.contains("ng-clear-wrapper")?this.handleClearClick():H.classList.contains("ng-arrow-wrapper")?this.handleArrowClick():H.classList.contains("ng-value-icon")||(this.focused||this.focus(),this.searchable?this.open():this.toggle())}handleArrowClick(){this.isOpen?this.close():this.open()}handleClearClick(){this.hasValue&&(this.itemsList.clearSelected(!0),this._updateNgModel()),this._clearSearch(),this.focus(),this.clearEvent.emit(),this._onSelectionChanged()}clearModel(){!this.clearable||(this.itemsList.clearSelected(),this._updateNgModel())}writeValue(b){this.itemsList.clearSelected(),this._handleWriteValue(b),this._cd.markForCheck()}registerOnChange(b){this._onChange=b}registerOnTouched(b){this._onTouched=b}setDisabledState(b){this._disabled=b,this._cd.markForCheck()}toggle(){this.isOpen?this.close():this.open()}open(){this.disabled||this.isOpen||this._manualOpen||!this._isTypeahead&&!this.addTag&&this.itemsList.noItemsToSelect||(this.isOpen=!0,this.itemsList.markSelectedOrDefault(this.markFirst),this.openEvent.emit(),this.searchTerm||this.focus(),this.detectChanges())}close(){!this.isOpen||this._manualOpen||(this.isOpen=!1,this._isComposing=!1,this._editableSearchTerm?this.itemsList.resetFilteredItems():this._clearSearch(),this.itemsList.unmarkItem(),this._onTouched(),this.closeEvent.emit(),this._cd.markForCheck())}toggleItem(b){!b||b.disabled||this.disabled||(this.multiple&&b.selected?this.unselect(b):this.select(b),this._editableSearchTerm&&this._setSearchTermFromItems(),this._onSelectionChanged())}select(b){b.selected||(this.itemsList.select(b),this.clearSearchOnAdd&&!this._editableSearchTerm&&this._clearSearch(),this._updateNgModel(),this.multiple&&this.addEvent.emit(b.value)),(this.closeOnSelect||this.itemsList.noItemsToSelect)&&this.close()}focus(){this.searchInput.nativeElement.focus()}blur(){this.searchInput.nativeElement.blur()}unselect(b){!b||(this.itemsList.unselect(b),this.focus(),this._updateNgModel(),this.removeEvent.emit(b))}selectTag(){let b;b=U(this.addTag)?this.addTag(this.searchTerm):this._primitive?this.searchTerm:{[this.bindLabel]:this.searchTerm};const H=Ee=>this._isTypeahead||!this.isOpen?this.itemsList.mapItem(Ee,null):this.itemsList.addItem(Ee);!function ie(J){return J instanceof Promise}(b)?b&&this.select(H(b)):b.then((Ee=>this.select(H(Ee)))).catch((()=>{}))}showClear(){return this.clearable&&(this.hasValue||this.searchTerm)&&!this.disabled}get showAddTag(){if(!this._validTerm)return!1;const b=this.searchTerm.toLowerCase().trim();return this.addTag&&!this.itemsList.filteredItems.some((H=>H.label.toLowerCase()===b))&&(!this.hideSelected&&this.isOpen||!this.selectedItems.some((H=>H.label.toLowerCase()===b)))&&!this.loading}showNoItemsFound(){const b=0===this.itemsList.filteredItems.length;return(b&&!this._isTypeahead&&!this.loading||b&&this._isTypeahead&&this._validTerm&&!this.loading)&&!this.showAddTag}showTypeToSearch(){return 0===this.itemsList.filteredItems.length&&this._isTypeahead&&!this._validTerm&&!this.loading}onCompositionStart(){this._isComposing=!0}onCompositionEnd(b){this._isComposing=!1,!this.searchWhileComposing&&this.filter(b)}filter(b){this._isComposing&&!this.searchWhileComposing||(this.searchTerm=b,this._isTypeahead&&(this._validTerm||0===this.minTermLength)&&this.typeahead.next(b),this._isTypeahead||(this.itemsList.filter(this.searchTerm),this.isOpen&&this.itemsList.markSelectedOrDefault(this.markFirst)),this.searchEvent.emit({term:b,items:this.itemsList.filteredItems.map((H=>H.value))}),this.open())}onInputFocus(b){this.focused||(this._editableSearchTerm&&this._setSearchTermFromItems(),this.element.classList.add("ng-select-focused"),this.focusEvent.emit(b),this.focused=!0)}onInputBlur(b){this.element.classList.remove("ng-select-focused"),this.blurEvent.emit(b),!this.isOpen&&!this.disabled&&this._onTouched(),this._editableSearchTerm&&this._setSearchTermFromItems(),this.focused=!1}onItemHover(b){b.disabled||this.itemsList.markItem(b)}detectChanges(){this._cd.destroyed||this._cd.detectChanges()}_setSearchTermFromItems(){const b=this.selectedItems&&this.selectedItems[0];this.searchTerm=b&&b.label||null}_setItems(b){const H=b[0];this.bindLabel=this.bindLabel||this._defaultLabel,this._primitive=Bt(H)?!Ce(H):this._primitive||this.bindLabel===this._defaultLabel,this.itemsList.setItems(b),b.length>0&&this.hasValue&&this.itemsList.mapSelectedItems(),this.isOpen&&Bt(this.searchTerm)&&!this._isTypeahead&&this.itemsList.filter(this.searchTerm),(this._isTypeahead||this.isOpen)&&this.itemsList.markSelectedOrDefault(this.markFirst)}_setItemsFromNgOptions(){const b=Ee=>{this.items=Ee.map((Ue=>({$ngOptionValue:Ue.value,$ngOptionLabel:Ue.elementRef.nativeElement.innerHTML,disabled:Ue.disabled}))),this.itemsList.setItems(this.items),this.hasValue&&this.itemsList.mapSelectedItems(),this.detectChanges()},H=()=>{const Ee=(0,fi.T)(this.ngOptions.changes,this._destroy$);(0,fi.T)(...this.ngOptions.map((Ue=>Ue.stateChange$))).pipe((0,V.R)(Ee)).subscribe((Ue=>{const Mt=this.itemsList.findItem(Ue.value);Mt.disabled=Ue.disabled,Mt.label=Ue.label||Mt.label,this._cd.detectChanges()}))};this.ngOptions.changes.pipe((0,Xe.O)(this.ngOptions),(0,V.R)(this._destroy$)).subscribe((Ee=>{this.bindLabel=this._defaultLabel,b(Ee),H()}))}_isValidWriteValue(b){if(!Bt(b)||this.multiple&&""===b||Array.isArray(b)&&0===b.length)return!1;const H=Ee=>!(!Bt(this.compareWith)&&Ce(Ee)&&this.bindValue&&(this._console.warn(`Setting object(${JSON.stringify(Ee)}) as your model with bindValue is not allowed unless [compareWith] is used.`),1));return this.multiple?Array.isArray(b)?b.every((Ee=>H(Ee))):(this._console.warn("Multiple select ngModel should be array."),!1):H(b)}_handleWriteValue(b){if(!this._isValidWriteValue(b))return;const H=Ee=>{let Ue=this.itemsList.findItem(Ee);if(Ue)this.itemsList.select(Ue);else{const Mt=Ce(Ee),xn=!Mt&&!this.bindValue;Mt||xn?this.itemsList.select(this.itemsList.mapItem(Ee,null)):this.bindValue&&(Ue={[this.bindLabel]:null,[this.bindValue]:Ee},this.itemsList.select(this.itemsList.mapItem(Ue,null)))}};this.multiple?b.forEach((Ee=>H(Ee))):H(b)}_handleKeyPresses(){this.searchable||this._keyPress$.pipe((0,V.R)(this._destroy$),(0,Ft.b)((b=>this._pressedKeys.push(b))),function Ot(J,L=De){return(0,Ne.e)(((b,H)=>{let Ee=null,Ue=null,Mt=null;const xn=()=>{if(Ee){Ee.unsubscribe(),Ee=null;const Mn=Ue;Ue=null,H.next(Mn)}};function si(){const Mn=Mt+J,oi=L.now();if(oi<Mn)return Ee=this.schedule(void 0,Mn-oi),void H.add(Ee);xn()}b.subscribe(new mt.Q(H,(Mn=>{Ue=Mn,Mt=L.now(),Ee||(Ee=L.schedule(si,J),H.add(Ee))}),(()=>{xn(),H.complete()}),void 0,(()=>{Ue=Ee=null})))}))}(200),(0,yt.h)((()=>this._pressedKeys.length>0)),(0,be.U)((()=>this._pressedKeys.join("")))).subscribe((b=>{const H=this.itemsList.findByLabel(b);H&&(this.isOpen?(this.itemsList.markItem(H),this._scrollToMarked(),this._cd.markForCheck()):this.select(H)),this._pressedKeys=[]}))}_setInputAttributes(){const b=this.searchInput.nativeElement,H={type:"text",autocorrect:"off",autocapitalize:"off",autocomplete:this.labelForId?"off":this.dropdownId,...this.inputAttrs};for(const Ee of Object.keys(H))b.setAttribute(Ee,H[Ee])}_updateNgModel(){const b=[];for(const Ee of this.selectedItems)if(this.bindValue){let Ue=null;Ue=Ee.children?Ee.value[(this.groupValue?this.bindValue:this.groupBy)||this.groupBy]:this.itemsList.resolveNested(Ee.value,this.bindValue),b.push(Ue)}else b.push(Ee.value);const H=this.selectedItems.map((Ee=>Ee.value));this.multiple?(this._onChange(b),this.changeEvent.emit(H)):(this._onChange(Bt(b[0])?b[0]:null),this.changeEvent.emit(H[0])),this._cd.markForCheck()}_clearSearch(){!this.searchTerm||(this._changeSearch(null),this.itemsList.resetFilteredItems())}_changeSearch(b){this.searchTerm=b,this._isTypeahead&&this.typeahead.next(b)}_scrollToMarked(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollTo(this.itemsList.markedItem)}_scrollToTag(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollToTag()}_onSelectionChanged(){this.isOpen&&this.multiple&&this.appendTo&&(this._cd.detectChanges(),this.dropdownPanel.adjustPosition())}_handleTab(b){!1===this.isOpen&&!this.addTag||(this.selectOnTab?this.itemsList.markedItem?(this.toggleItem(this.itemsList.markedItem),b.preventDefault()):this.showAddTag?(this.selectTag(),b.preventDefault()):this.close():this.close())}_handleEnter(b){if(this.isOpen||this._manualOpen)this.itemsList.markedItem?this.toggleItem(this.itemsList.markedItem):this.showAddTag&&this.selectTag();else{if(!this.openOnEnter)return;this.open()}b.preventDefault()}_handleSpace(b){this.isOpen||this._manualOpen||(this.open(),b.preventDefault())}_handleArrowDown(b){this._nextItemIsTag(1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markNextItem(),this._scrollToMarked()),this.open(),b.preventDefault()}_handleArrowUp(b){!this.isOpen||(this._nextItemIsTag(-1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markPreviousItem(),this._scrollToMarked()),b.preventDefault())}_nextItemIsTag(b){const H=this.itemsList.markedIndex+b;return this.addTag&&this.searchTerm&&this.itemsList.markedItem&&(H<0||H===this.itemsList.filteredItems.length)}_handleBackspace(){this.searchTerm||!this.clearable||!this.clearOnBackspace||!this.hasValue||(this.multiple?this.unselect(this.itemsList.lastSelectedItem):this.clearModel())}get _isTypeahead(){return this.typeahead&&this.typeahead.observers.length>0}get _validTerm(){const b=this.searchTerm&&this.searchTerm.trim();return b&&b.length>=this.minTermLength}_mergeGlobalConfig(b){this.placeholder=this.placeholder||b.placeholder,this.notFoundText=this.notFoundText||b.notFoundText,this.typeToSearchText=this.typeToSearchText||b.typeToSearchText,this.addTagText=this.addTagText||b.addTagText,this.loadingText=this.loadingText||b.loadingText,this.clearAllText=this.clearAllText||b.clearAllText,this.virtualScroll=Bt(this.virtualScroll)?this.virtualScroll:!!Bt(b.disableVirtualScroll)&&!b.disableVirtualScroll,this.openOnEnter=Bt(this.openOnEnter)?this.openOnEnter:b.openOnEnter,this.appendTo=this.appendTo||b.appendTo,this.bindValue=this.bindValue||b.bindValue,this.bindLabel=this.bindLabel||b.bindLabel,this.appearance=this.appearance||b.appearance}}return J.ɵfac=function(b){return new(b||J)(l.$8M("class"),l.$8M("autofocus"),l.Y36(mr),l.Y36(Hi),l.Y36(l.SBq),l.Y36(l.sBO),l.Y36(zn))},J.ɵcmp=l.Xpm({type:J,selectors:[["ng-select"]],contentQueries:function(b,H,Ee){if(1&b&&(l.Suo(Ee,te,5,l.Rgc),l.Suo(Ee,Ie,5,l.Rgc),l.Suo(Ee,rt,5,l.Rgc),l.Suo(Ee,Ht,5,l.Rgc),l.Suo(Ee,nt,5,l.Rgc),l.Suo(Ee,wt,5,l.Rgc),l.Suo(Ee,We,5,l.Rgc),l.Suo(Ee,Ct,5,l.Rgc),l.Suo(Ee,Et,5,l.Rgc),l.Suo(Ee,qt,5,l.Rgc),l.Suo(Ee,Vt,5,l.Rgc),l.Suo(Ee,Qi,5)),2&b){let Ue;l.iGM(Ue=l.CRH())&&(H.optionTemplate=Ue.first),l.iGM(Ue=l.CRH())&&(H.optgroupTemplate=Ue.first),l.iGM(Ue=l.CRH())&&(H.labelTemplate=Ue.first),l.iGM(Ue=l.CRH())&&(H.multiLabelTemplate=Ue.first),l.iGM(Ue=l.CRH())&&(H.headerTemplate=Ue.first),l.iGM(Ue=l.CRH())&&(H.footerTemplate=Ue.first),l.iGM(Ue=l.CRH())&&(H.notFoundTemplate=Ue.first),l.iGM(Ue=l.CRH())&&(H.typeToSearchTemplate=Ue.first),l.iGM(Ue=l.CRH())&&(H.loadingTextTemplate=Ue.first),l.iGM(Ue=l.CRH())&&(H.tagTemplate=Ue.first),l.iGM(Ue=l.CRH())&&(H.loadingSpinnerTemplate=Ue.first),l.iGM(Ue=l.CRH())&&(H.ngOptions=Ue)}},viewQuery:function(b,H){if(1&b&&(l.Gf(Ii,5),l.Gf(de,7)),2&b){let Ee;l.iGM(Ee=l.CRH())&&(H.dropdownPanel=Ee.first),l.iGM(Ee=l.CRH())&&(H.searchInput=Ee.first)}},hostVars:20,hostBindings:function(b,H){1&b&&l.NdJ("keydown",(function(Ue){return H.handleKeyDown(Ue)})),2&b&&l.ekj("ng-select-typeahead",H.typeahead)("ng-select-multiple",H.multiple)("ng-select-taggable",H.addTag)("ng-select-searchable",H.searchable)("ng-select-clearable",H.clearable)("ng-select-opened",H.isOpen)("ng-select",H.useDefaultClass)("ng-select-disabled",H.disabled)("ng-select-filtered",H.filtered)("ng-select-single",H.single)},inputs:{bindLabel:"bindLabel",bindValue:"bindValue",markFirst:"markFirst",placeholder:"placeholder",notFoundText:"notFoundText",typeToSearchText:"typeToSearchText",addTagText:"addTagText",loadingText:"loadingText",clearAllText:"clearAllText",appearance:"appearance",dropdownPosition:"dropdownPosition",appendTo:"appendTo",loading:"loading",closeOnSelect:"closeOnSelect",hideSelected:"hideSelected",selectOnTab:"selectOnTab",openOnEnter:"openOnEnter",maxSelectedItems:"maxSelectedItems",groupBy:"groupBy",groupValue:"groupValue",bufferAmount:"bufferAmount",virtualScroll:"virtualScroll",selectableGroup:"selectableGroup",selectableGroupAsModel:"selectableGroupAsModel",searchFn:"searchFn",trackByFn:"trackByFn",clearOnBackspace:"clearOnBackspace",labelForId:"labelForId",inputAttrs:"inputAttrs",tabIndex:"tabIndex",readonly:"readonly",searchWhileComposing:"searchWhileComposing",minTermLength:"minTermLength",editableSearchTerm:"editableSearchTerm",keyDownFn:"keyDownFn",typeahead:"typeahead",multiple:"multiple",addTag:"addTag",searchable:"searchable",clearable:"clearable",isOpen:"isOpen",items:"items",compareWith:"compareWith",clearSearchOnAdd:"clearSearchOnAdd"},outputs:{blurEvent:"blur",focusEvent:"focus",changeEvent:"change",openEvent:"open",closeEvent:"close",searchEvent:"search",clearEvent:"clear",addEvent:"add",removeEvent:"remove",scroll:"scroll",scrollToEnd:"scrollToEnd"},features:[l._Bn([{provide:v.JU,useExisting:(0,l.Gpc)((()=>J)),multi:!0},ri]),l.TTD],decls:14,vars:19,consts:[[1,"ng-select-container",3,"mousedown"],[1,"ng-value-container"],[1,"ng-placeholder"],[4,"ngIf"],["role","combobox","aria-haspopup","listbox",1,"ng-input"],["aria-autocomplete","list",3,"readOnly","disabled","value","input","compositionstart","compositionend","focus","blur","change"],["searchInput",""],["class","ng-clear-wrapper",3,"title",4,"ngIf"],[1,"ng-arrow-wrapper"],[1,"ng-arrow"],["class","ng-dropdown-panel","role","listbox","aria-label","Options list",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ng-select-multiple","ngClass","id","update","scroll","scrollToEnd","outsideClick",4,"ngIf"],["class","ng-value",3,"ng-value-disabled",4,"ngFor","ngForOf","ngForTrackBy"],[1,"ng-value"],["defaultLabelTemplate",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["aria-hidden","true",1,"ng-value-icon","left",3,"click"],[1,"ng-value-label",3,"ngItemLabel","escape"],["defaultLoadingSpinnerTemplate",""],[3,"ngTemplateOutlet"],[1,"ng-spinner-loader"],[1,"ng-clear-wrapper",3,"title"],["aria-hidden","true",1,"ng-clear"],["role","listbox","aria-label","Options list",1,"ng-dropdown-panel",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ngClass","id","update","scroll","scrollToEnd","outsideClick"],["class","ng-option",3,"ng-option-disabled","ng-option-selected","ng-optgroup","ng-option","ng-option-child","ng-option-marked","click","mouseover",4,"ngFor","ngForOf","ngForTrackBy"],["class","ng-option","role","option",3,"ng-option-marked","mouseover","click",4,"ngIf"],[1,"ng-option",3,"click","mouseover"],["defaultOptionTemplate",""],[1,"ng-option-label",3,"ngItemLabel","escape"],["role","option",1,"ng-option",3,"mouseover","click"],["defaultTagTemplate",""],[1,"ng-tag-label"],["defaultNotFoundTemplate",""],[1,"ng-option","ng-option-disabled"],["defaultTypeToSearchTemplate",""],["defaultLoadingTextTemplate",""]],template:function(b,H){if(1&b){const Ee=l.EpF();l.TgZ(0,"div",0),l.NdJ("mousedown",(function(Mt){return H.handleMousedown(Mt)})),l.TgZ(1,"div",1)(2,"div",2),l._uU(3),l.qZA(),l.YNc(4,$,2,2,"ng-container",3),l.YNc(5,$e,1,5,null,3),l.TgZ(6,"div",4)(7,"input",5,6),l.NdJ("input",(function(){l.CHM(Ee);const Mt=l.MAs(8);return l.KtG(H.filter(Mt.value))}))("compositionstart",(function(){return H.onCompositionStart()}))("compositionend",(function(){l.CHM(Ee);const Mt=l.MAs(8);return l.KtG(H.onCompositionEnd(Mt.value))}))("focus",(function(Mt){return H.onInputFocus(Mt)}))("blur",(function(Mt){return H.onInputBlur(Mt)}))("change",(function(Mt){return Mt.stopPropagation()})),l.qZA()()(),l.YNc(9,Ut,4,1,"ng-container",3),l.YNc(10,ht,3,1,"span",7),l.TgZ(11,"span",8),l._UZ(12,"span",9),l.qZA()(),l.YNc(13,vi,7,19,"ng-dropdown-panel",10)}2&b&&(l.ekj("ng-appearance-outline","outline"===H.appearance)("ng-has-value",H.hasValue),l.xp6(3),l.Oqu(H.placeholder),l.xp6(1),l.Q6J("ngIf",(!H.multiLabelTemplate||!H.multiple)&&H.selectedItems.length>0),l.xp6(1),l.Q6J("ngIf",H.multiple&&H.multiLabelTemplate&&H.selectedValues.length>0),l.xp6(1),l.uIk("aria-expanded",H.isOpen)("aria-owns",H.isOpen?H.dropdownId:null),l.xp6(1),l.Q6J("readOnly",!H.searchable||H.itemsList.maxItemsSelected)("disabled",H.disabled)("value",H.searchTerm?H.searchTerm:""),l.uIk("id",H.labelForId)("tabindex",H.tabIndex)("aria-activedescendant",H.isOpen?null==H.itemsList||null==H.itemsList.markedItem?null:H.itemsList.markedItem.htmlId:null)("aria-controls",H.isOpen?H.dropdownId:null),l.xp6(2),l.Q6J("ngIf",H.loading),l.xp6(1),l.Q6J("ngIf",H.showClear()),l.xp6(3),l.Q6J("ngIf",H.isOpen))},dependencies:[Un.mk,Un.sg,Un.O5,Un.tP,Ii,R],styles:['@charset "UTF-8";.ng-select{position:relative;display:block;box-sizing:border-box}.ng-select div,.ng-select input,.ng-select span{box-sizing:border-box}.ng-select [hidden]{display:none}.ng-select.ng-select-searchable .ng-select-container .ng-value-container .ng-input{opacity:1}.ng-select.ng-select-opened .ng-select-container{z-index:1001}.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-placeholder,.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-value{-webkit-user-select:none;user-select:none;cursor:default}.ng-select.ng-select-disabled .ng-arrow-wrapper{cursor:default}.ng-select.ng-select-filtered .ng-placeholder{display:none}.ng-select .ng-select-container{cursor:default;display:flex;outline:none;overflow:hidden;position:relative;width:100%}.ng-select .ng-select-container .ng-value-container{display:flex;flex:1}.ng-select .ng-select-container .ng-value-container .ng-input{opacity:0}.ng-select .ng-select-container .ng-value-container .ng-input>input{box-sizing:content-box;background:none transparent;border:0 none;box-shadow:none;outline:none;padding:0;cursor:default;width:100%}.ng-select .ng-select-container .ng-value-container .ng-input>input::-ms-clear{display:none}.ng-select .ng-select-container .ng-value-container .ng-input>input[readonly]{-webkit-user-select:none;user-select:none;width:0;padding:0}.ng-select.ng-select-single.ng-select-filtered .ng-select-container .ng-value-container .ng-value{visibility:hidden}.ng-select.ng-select-single .ng-select-container .ng-value-container,.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{position:absolute;left:0;width:100%}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{flex-wrap:wrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{position:absolute}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{white-space:nowrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{cursor:pointer}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{flex:1;z-index:2}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{z-index:1}.ng-select .ng-clear-wrapper{cursor:pointer;position:relative;width:17px;-webkit-user-select:none;user-select:none}.ng-select .ng-clear-wrapper .ng-clear{display:inline-block;font-size:18px;line-height:1;pointer-events:none}.ng-select .ng-spinner-loader{border-radius:50%;width:17px;height:17px;margin-right:5px;font-size:10px;position:relative;text-indent:-9999em;border-top:2px solid rgba(66,66,66,.2);border-right:2px solid rgba(66,66,66,.2);border-bottom:2px solid rgba(66,66,66,.2);border-left:2px solid #424242;transform:translateZ(0);animation:load8 .8s infinite linear}.ng-select .ng-spinner-loader:after{border-radius:50%;width:17px;height:17px}@keyframes load8{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.ng-select .ng-arrow-wrapper{cursor:pointer;position:relative;text-align:center;-webkit-user-select:none;user-select:none}.ng-select .ng-arrow-wrapper .ng-arrow{pointer-events:none;display:inline-block;height:0;width:0;position:relative}.ng-dropdown-panel{box-sizing:border-box;position:absolute;opacity:0;width:100%;z-index:1050;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .ng-dropdown-panel-items{display:block;height:auto;box-sizing:border-box;max-height:240px;overflow-y:auto}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{box-sizing:border-box;cursor:pointer;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-option-label:empty:before{content:"\\200b"}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .highlighted{font-weight:700;text-decoration:underline}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.disabled{cursor:default}.ng-dropdown-panel .scroll-host{overflow:hidden;overflow-y:auto;position:relative;display:block;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .scrollable-content{top:0;left:0;width:100%;height:100%;position:absolute}.ng-dropdown-panel .total-padding{width:1px;opacity:0}\n'],encapsulation:2,changeDetection:0}),J})();function Gi(){return new Ar}class Ar{constructor(){this._selected=[]}get value(){return this._selected}select(L,b,H){if(L.selected=!0,(!L.children||!b&&H)&&this._selected.push(L),b)if(L.parent){const Ee=L.parent.children.length,Ue=L.parent.children.filter((Mt=>Mt.selected)).length;L.parent.selected=Ee===Ue}else L.children&&(this._setChildrenSelectedState(L.children,!0),this._removeChildren(L),this._selected=H&&this._activeChildren(L)?[...this._selected.filter((Ee=>Ee.parent!==L)),L]:[...this._selected,...L.children.filter((Ee=>!Ee.disabled))])}unselect(L,b){if(this._selected=this._selected.filter((H=>H!==L)),L.selected=!1,b)if(L.parent&&L.parent.selected){const H=L.parent.children;this._removeParent(L.parent),this._removeChildren(L.parent),this._selected.push(...H.filter((Ee=>Ee!==L&&!Ee.disabled))),L.parent.selected=!1}else L.children&&(this._setChildrenSelectedState(L.children,!1),this._removeChildren(L))}clear(L){this._selected=L?this._selected.filter((b=>b.disabled)):[]}_setChildrenSelectedState(L,b){for(const H of L)H.disabled||(H.selected=b)}_removeChildren(L){this._selected=[...this._selected.filter((b=>b.parent!==L)),...L.children.filter((b=>b.parent===L&&b.disabled&&b.selected))]}_removeParent(L){this._selected=this._selected.filter((b=>b!==L))}_activeChildren(L){return L.children.every((b=>!b.disabled||b.selected))}}let Pi=(()=>{class J{}return J.ɵfac=function(b){return new(b||J)},J.ɵmod=l.oAB({type:J}),J.ɵinj=l.cJS({providers:[{provide:Hi,useValue:Gi}],imports:[Un.ez]}),J})()}}]);
Back to Directory File Manager