Viewing File: /usr/local/cpanel/whostmgr/docroot/templates/multiphp-manager-ng7/vendor.min.js
(self.webpackChunkmultiphp_manager_ng7=self.webpackChunkmultiphp_manager_ng7||[]).push([[736],{109:(He,ne,S)=>{"use strict";S.d(ne,{F:()=>r});var r=(()=>{return(v=r||(r={}))[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",r;var v})()},7709:(He,ne,S)=>{"use strict";S.d(ne,{h:()=>r});class r{constructor(Q,ee){if(!Q)throw new Error("You must provide a name when creating a name/value argument");this.name=Q,this.value=ee}}},3022:(He,ne,S)=>{"use strict";S.d(ne,{tO:()=>Je,VN:()=>ke});var r=S(4235),v=S.n(r),G=S(1305),Q=S.n(G),ee=S(4798),de=S.n(ee),ae=S(9138),pe=S.n(ae),ve=S(248),H=S.n(ve),re=S(1503),ie=S.n(re),ye=S(7614),Oe=S.n(ye);function te(Xe){if(v()(Xe)||Q()(Xe)||de()(Xe)||pe()(Xe)||H()(Xe))return!0;if(!Oe()(Xe)&&!ie()(Xe))return!1;for(const tt in Xe)if(!te(Xe[tt]))return!1;return!0}class ke{constructor(){this.contentType="application/x-www-form-urlencoded",this.separatorStart="",this.separatorEnd="",this.recordSeparator="&"}encode(tt,nt,Fe){if(!tt)throw new Error("Name must have a non-empty value");return`${tt}=${encodeURIComponent(nt.toString())}`+(Fe?"":this.recordSeparator)}}class Je{constructor(){this.contentType="application/json",this.separatorStart="{",this.separatorEnd="}",this.recordSeparator=","}encode(tt,nt,Fe){if(!tt)throw new Error("Name must have a non-empty value");if(!te(nt))throw new Error("The passed in value can not be serialized to JSON");return JSON.stringify(tt)+":"+JSON.stringify(nt)+(Fe?"":this.recordSeparator)}}},3357:(He,ne,S)=>{"use strict";S.d(ne,{p:()=>r,w:()=>v});var r=(()=>{return(G=r||(r={}))[G.Contains=0]="Contains",G[G.Begins=1]="Begins",G[G.Ends=2]="Ends",G[G.Matches=3]="Matches",G[G.Equal=4]="Equal",G[G.NotEqual=5]="NotEqual",G[G.LessThan=6]="LessThan",G[G.LessThanUnlimited=7]="LessThanUnlimited",G[G.GreaterThan=8]="GreaterThan",G[G.GreaterThanUnlimited=9]="GreaterThanUnlimited",G[G.Defined=10]="Defined",G[G.Undefined=11]="Undefined",r;var G})();class v{constructor(Q,ee,de){if(!Q)throw new Error("You must define a non-empty column name.");this.column=Q,this.operator=ee,this.value=de}}},5380:(He,ne,S)=>{"use strict";S.d(ne,{uE:()=>G});const v=Number.POSITIVE_INFINITY;class G{constructor(ee=1,de=20){if(ee<=0)throw new Error("The page must be 1 or greater. This is the logical page, not a programming index.");if(de<=0)throw new Error("The pageSize must be set to 'ALL' or a number > 0");this.page=ee,this.pageSize=de}all(){return this.pageSize===v}}},755:(He,ne,S)=>{"use strict";S.d(ne,{ER:()=>v,PE:()=>G,Sr:()=>r});var r=(()=>{return(Q=r||(r={}))[Q.Ascending=0]="Ascending",Q[Q.Descending=1]="Descending",r;var Q})(),v=(()=>{return(Q=v||(v={}))[Q.Lexicographic=0]="Lexicographic",Q[Q.Ipv4=1]="Ipv4",Q[Q.Numeric=2]="Numeric",Q[Q.NumericZeroAsMax=3]="NumericZeroAsMax",v;var Q})();class G{constructor(ee,de=r.Ascending,ae=v.Lexicographic){if(!ee)throw new Error("You must provide a non-empty column name for a Sort rule.");this.column=ee,this.direction=de,this.type=ae}}},5397:(He,ne,S)=>{"use strict";S.d(ne,{r:()=>Ee,N:()=>pt});var r=S(1978),v=S.n(r);function G(le){return le?"1":"0"}var de=S(755),ae=S(3357),pe=S(7709),ve=S(5380);class H{constructor(K=[]){this.headers=K}push(K){this.headers.push(K)}forEach(K,ge){this.headers.forEach(K,ge)}toArray(){const K=[];return this.headers.forEach((ge=>K.push({name:ge.name,value:ge.value}))),K}toObject(){return this.headers.reduce(((K,ge)=>(K[ge.name]=ge.value,K)),{})}}class re{constructor(K){this._header=K}get name(){return this._header.name}get value(){return this._header.value}}class ie extends Error{constructor(K){super(K),this.name="CpanelApiTokenInvalidError",Object.setPrototypeOf(this,ie.prototype)}}class ye extends Error{constructor(K){super(K),this.name="CpanelApiTokenMismatchError",Object.setPrototypeOf(this,ye.prototype)}}class Oe extends re{constructor(K,ge){if(!K)throw new ie("You must pass a valid token to the constructor.");if(!ge&&!/^.+[:]/.test(K))throw new ie("You must pass a cPanel username associated with the cPanel API token.");if(!ge&&!/[:].+$/.test(K))throw new ie("You must pass a valid cPanel API token.");super({name:"Authorization",value:`cpanel ${ge?ge+":":""}${K}`})}}Error,Error;var Xe=S(109);const nt=new class tt{constructor(){this.map={},this.map.DEFAULT={verb:"DEFAULT",dataInBody:!0},[Xe.F.GET,Xe.F.DELETE,Xe.F.HEAD].forEach((K=>{const ge=Xe.F[K].toString();this.map[ge]={verb:ge,dataInBody:!1}})),[Xe.F.POST,Xe.F.PUT,Xe.F.PATCH].forEach((K=>{const ge=Xe.F[K].toString();this.map[ge]={verb:ge,dataInBody:!0}}))}getRule(K){const ge="string"==typeof K?K:Xe.F[K].toString();let Ie=this.map[ge];return Ie||(Ie=this.map.DEFAULT),Ie}};var Fe=S(3022),it=S(8448),lt=S.n(it),pt=(()=>{return(le=pt||(pt={})).JsonApi="json-api",le.XmlApi="xml-api",pt;var le})();class Ee extends class Je{constructor(K){this.namespace="",this.method="",this.arguments=[],this.sorts=[],this.filters=[],this.columns=[],this.pager=new ve.uE,this.headers=new H,this._usePager=!1,this.defaultConfig={analytics:!1,json:!1},this.config=this.defaultConfig,K&&(this.method=K.method,K.namespace&&(this.namespace=K.namespace),K.arguments&&K.arguments.forEach((ge=>{this.addArgument(ge)})),K.sorts&&K.sorts.forEach((ge=>{this.addSort(ge)})),K.filters&&K.filters.forEach((ge=>{this.addFilter(ge)})),K.columns&&K.columns.forEach((ge=>this.addColumn(ge))),K.pager&&this.paginate(K.pager),this.config=K.config?K.config:this.defaultConfig,K.headers&&K.headers.forEach((ge=>{this.addHeader(ge)})))}get usePager(){return this._usePager}addArgument(K){return this.arguments.push(K instanceof pe.h?K:new pe.h(K.name,K.value)),this}addSort(K){return this.sorts.push(K instanceof de.PE?K:new de.PE(K.column,K.direction,K.type)),this}addFilter(K){return this.filters.push(K instanceof ae.w?K:new ae.w(K.column,K.operator,K.value)),this}addColumn(K){return this.columns.push(K),this}addHeader(K){return this.headers.push(K instanceof re?K:new re(K)),this}paginate(K){return this.pager=K instanceof ve.uE?K:new ve.uE(K.page,K.pageSize||20),this._usePager=!0,this}}{constructor(K,ge){if(super(ge),this.apiType=pt.JsonApi,K!=pt.JsonApi&&K!=pt.XmlApi)throw new Error("You must define the API type for the whmapi call before you generate a request.");if(this.apiType=K,!this.method)throw new Error("You must define a method for the WHM API call before you generate a request")}addHeader(K){if(K instanceof Oe)throw new ye("A CpanelApiTokenHeader cannot be used on a WhmApiRequest");return super.addHeader(K),this}_build(K,ge){let Ie="";return K.forEach(((we,Le,mt)=>{Ie+=ge.encode(we.name,we.value,Le===mt.length-1)})),ge.separatorStart+Ie+ge.separatorEnd}_make_whm_api_fieldspec_from_number(K){return lt()("",Math.floor(K/26),"z")+"abcdefghijklmnopqrstuvwxyz".charAt(K%26)}_generateArguments(K){K.push({name:"api.version",value:1}),this.arguments.forEach((Ie=>K.push(Ie)))}_generateSorts(K){this.sorts.forEach(((ge,Ie)=>{0===Ie&&K.push({name:"api.sort.enable",value:G(!0)});const we=`api.sort.${this._make_whm_api_fieldspec_from_number(Ie)}`;K.push({name:`${we}.field`,value:ge.column}),K.push({name:`${we}.reverse`,value:G(ge.direction!==de.Sr.Ascending)}),K.push({name:`${we}.method`,value:v()(de.ER[ge.type])})}))}_lookupFilterOperator(K){switch(K){case ae.p.GreaterThanUnlimited:return"gt_handle_unlimited";case ae.p.GreaterThan:return"gt";case ae.p.LessThanUnlimited:return"lt_handle_unlimited";case ae.p.LessThan:return"lt";case ae.p.Equal:return"eq";case ae.p.Begins:return"begins";case ae.p.Contains:return"contains";default:throw new Error(`Unrecoginzed FilterOperator ${ae.p[K]} for WHM API 1`)}}_generateFilters(K){this.filters.forEach(((ge,Ie)=>{0===Ie&&(K.push({name:"api.filter.enable",value:G(!0)}),K.push({name:"api.filter.verbose",value:G(!0)}));const we=`api.filter.${this._make_whm_api_fieldspec_from_number(Ie)}`;K.push({name:`${we}.field`,value:ge.column}),K.push({name:`${we}.type`,value:this._lookupFilterOperator(ge.operator)}),K.push({name:`${we}.arg0`,value:ge.value})}))}_translatePageToStart(K){return(K.page-1)*K.pageSize+1}_generatePagination(K){if(!this.usePager)return;const ge=this.pager.all();K.push({name:"api.chunk.enable",value:G(!0)}),K.push({name:"api.chunk.verbose",value:G(!0)}),K.push({name:"api.chunk.start",value:ge?-1:this._translatePageToStart(this.pager)}),ge||K.push({name:"api.chunk.size",value:this.pager.pageSize})}generate(K){K||(K={verb:Xe.F.POST,encoder:this.config.json?new Fe.tO:new Fe.VN}),K.encoder||(K.encoder=this.config.json?new Fe.tO:new Fe.VN);const ge=nt.getRule(K.verb),Ie={headers:new H([{name:"Content-Type",value:K.encoder.contentType}]),url:["",this.apiType,this.method].map(encodeURIComponent).join("/"),body:""},we=[];this._generateArguments(we),this._generateSorts(we),this._generateFilters(we),this._generatePagination(we);const Le=this._build(we,K.encoder);return ge.dataInBody?Ie.body=Le:Ie.url+=K.verb===Xe.F.GET?`?${Le}`:Le,this.headers.forEach((mt=>{Ie.headers.push({name:mt.name,value:mt.value})})),Ie}}},269:(He,ne,S)=>{"use strict";ne.g=void 0;const v=S(1680);Object.defineProperty(ne,"g",{enumerable:!0,get:function(){return v.Locale}})},5074:(He,ne)=>{"use strict";Object.defineProperty(ne,"__esModule",{value:!0}),ne.CLDR=void 0,ne.CLDR=class S{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,...G){return(0,this.rawData.functions.get_plural_form)(v,...G)}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:(He,ne,S)=>{"use strict";Object.defineProperty(ne,"__esModule",{value:!0}),ne.Locale=void 0;const r=S(2889),v=S(9483),G=S(741),Q=S(786),ee=S(5074);ne.Locale=class de{constructor(pe,ve={}){this.lexicon=ve,this._cldr=new ee.CLDR(pe)}maketext(pe,...ve){return(0,r.maketext)({cldr:this._cldr,lexicon:this.lexicon,template:pe,args:ve})}localDatetime(pe,ve){return this._datetimeWrapper(v.local_datetime,pe,ve)}datetime(pe,ve){return this._datetimeWrapper(v.datetime,pe,ve)}_datetimeWrapper(pe,ve,H){return pe({cldr:this._cldr,args:[ve,H]})}getCurrentLocale(){return this._cldr.getLocale()}get isRtl(){return this._cldr.isRtl()}get isLtr(){return this._cldr.isLtr()}get cldr(){return this._cldr}numf(pe,ve){return this._formatNumber(G.numf,pe,ve)}format_bytes(pe,ve){return this._formatNumber(G.format_bytes,pe,ve)}_formatNumber(pe,...ve){return this._callCLDRFunc(pe,ve)}list_and(...pe){return this._callCLDRFunc(Q.list_and,pe)}list_and_quoted(...pe){return this._callCLDRFunc(Q.list_and_quoted,pe)}list_or(...pe){return this._callCLDRFunc(Q.list_or,pe)}list_or_quoted(...pe){return this._callCLDRFunc(Q.list_or_quoted,pe)}_callCLDRFunc(pe,ve){return pe({cldr:this._cldr,args:ve})}}},7296:(He,ne,S)=>{"use strict";Object.defineProperty(ne,"__esModule",{value:!0}),ne.asis=void 0;const r=S(5247);ne.asis=function v({args:[G,...Q]}){if(!G||Q.length>0||"string"!=typeof G)throw new Error("asis function accepts one non translatable string.");return(G=G.replace(/chr\((\d+)\)/g,(function(ee,de){return r.functions.chr(Number(de))}))).replace(/amp\(\)/g,(function(){return r.functions.amp()}))}},527:(He,ne)=>{"use strict";Object.defineProperty(ne,"__esModule",{value:!0}),ne.boolean=void 0,ne.boolean=function S({args:[r,v,G,Q]}){if(null==v||0===v.length||null==G||0===G.length)throw new Error("boolean function needs a valid whenTrue, whenFalse arguments.");return String(typeof r<"u"&&r?v:Q&&null==r?Q:G)}},9076:(He,ne)=>{"use strict";Object.defineProperty(ne,"__esModule",{value:!0}),ne.comment=void 0,ne.comment=function S({args:[r]}){return""}},9483:(He,ne,S)=>{"use strict";Object.defineProperty(ne,"__esModule",{value:!0}),ne.local_datetime=ne.datetime=ne.dateToLocalDayNum=void 0;const r=S(5074),v=function(H){const re=H.getUTCDay()-1;return re<0?6:re},G=[7,1,2,3,4,5,6];function Q(H,re){return(G[H.getUTCDay()]+7-re)%7+1}ne.dateToLocalDayNum=Q;const ee=function(H,re,ie){let ye="",Oe=0;return re=re||0,ie=String(void 0===ie?" ":ie),Oe=re-String(H).length,Oe>0&&(ye=[...Array(Oe)].map(String.prototype.valueOf,ie).join("")),ye+H};function de({cldr:H,args:[re=new Date,ie],tzString:ye="UTC"}){if("number"==typeof re&&/^-?\d+$/.test(re.toString())&&(re=new Date(1e3*re)),!(re instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(H instanceof r.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const Oe=H.getDateTimeInfo();return"string"==typeof ie&&/^(?:date|time|datetime|special)_format_/.test(ie)&&(ie=Oe[ie]),ie||(ie=Oe.date_format_long),ie.replace(/('[^']+')|(([a-zA-Z])\3*)/g,(function(te,Ze,ke){return Ze?function ae(H){return H.substr(1,H.length-2)}(Ze):function pe(H,re,ie,ye){switch(ie){case"yy":return Math.abs(H.getUTCFullYear()).toString().slice(-2);case"y":case"yyy":case"yyyy":return String(Math.abs(H.getUTCFullYear()));case"MMMMM":return re.month_format_narrow[H.getUTCMonth()];case"LLLLL":return re.month_stand_alone_narrow[H.getUTCMonth()];case"MMMM":return re.month_format_wide[H.getUTCMonth()];case"LLLL":return re.month_stand_alone_wide[H.getUTCMonth()];case"MMM":return re.month_format_abbreviated[H.getUTCMonth()];case"LLL":return re.month_stand_alone_abbreviated[H.getUTCMonth()];case"MM":case"LL":return ee((H.getUTCMonth()+1).toString(),2,"0");case"M":case"L":return String(H.getUTCMonth()+1);case"EEEE":return re.day_format_wide[v(H)];case"EEE":case"EE":case"E":return re.day_format_abbreviated[v(H)];case"EEEEE":return re.day_format_narrow[v(H)];case"cccc":return re.day_stand_alone_wide[v(H)];case"ccc":return re.day_stand_alone_abbreviated[v(H)];case"cc":case"c":return String(Q(H,Number(re.first_day_of_week)));case"ccccc":return re.day_stand_alone_narrow[v(H)];case"dd":return ee(H.getUTCDate().toString(),2,"0");case"d":return String(H.getUTCDate());case"h":case"hh":{let Oe=H.getUTCHours();Oe>12&&(Oe-=12),0===Oe&&(Oe=12);const te="hh"===ie?ee(Oe.toString(),2,"0"):Oe;return String(te)}case"H":return String(H.getUTCHours());case"HH":return ee(H.getUTCHours().toString(),2,"0");case"m":return String(H.getUTCMinutes());case"mm":return ee(H.getUTCMinutes().toString(),2,"0");case"s":return String(H.getUTCSeconds());case"ss":return ee(H.getUTCSeconds().toString(),2,"0");case"a":return H.getUTCHours()<12?re.am_pm_abbreviated[0]:re.am_pm_abbreviated[1];case"z":case"zzzz":case"v":case"vvvv":return ye;case"G":case"GG":case"GGG":return re.era_abbreviated[H.getUTCFullYear()<0?0:1];case"GGGGG":return re.era_narrow[H.getUTCFullYear()<0?0:1];case"GGGG":return re.era_wide[H.getUTCFullYear()<0?0:1]}return ie}(re,Oe,ke,ye)}))}ne.datetime=de,ne.local_datetime=function ve({cldr:H,args:[re=new Date,ie]}){if("number"==typeof re&&/^-?\d+$/.test(re.toString())&&(re=new Date(1e3*re)),!(re instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(H instanceof r.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const ye=re.getTimezoneOffset();(re=new Date(re)).setMinutes(re.getMinutes()-ye);const Oe=ye>0?"-":"+",te=Math.floor(Math.abs(ye)/60),Ze=Math.abs(ye%60);return de({cldr:H,args:[re,ie],tzString:"GMT"+Oe+ee(te.toString(),2,"0")+ee(Ze.toString(),2,"0")})}},40:(He,ne,S)=>{"use strict";Object.defineProperty(ne,"__esModule",{value:!0}),ne.functions=void 0;const r=S(7296),v=S(5247),G=S(9076),Q=S(527),ee=S(741),de=S(9483),ae=S(786);ne.functions={asis:r.asis,output:v.output,comment:G.comment,boolean:Q.boolean,numf:ee.numf,numerate:ee.numerate,quant:ee.quant,format_bytes:ee.format_bytes,datetime:de.datetime,local_datetime:de.local_datetime,list_and:ae.list_and,list_or:ae.list_or,list_or_quoted:ae.list_or_quoted,list_and_quoted:ae.list_and_quoted}},786:(He,ne)=>{"use strict";function r(ae,pe,...ve){let H=ve.slice();switch(1===H.length&&Array.isArray(H[0])&&(H=H[0].slice()),(typeof H>"u"||0===H.length)&&(H=[""]),H=H.map((re=>function S(ae,pe){const ve=ae.getDelimiters();return ve&&Object.prototype.hasOwnProperty.call(ve,"quotation_start")&&Object.prototype.hasOwnProperty.call(ve,"quotation_end")?ve.quotation_start+pe+ve.quotation_end:pe}(ae,re))),pe){case"list_and":return ee({cldr:ae,args:H});case"list_or":return de({cldr:ae,args:H});default:throw new Error("Did you mean list_and_quoted or list_or_quoted?")}}function Q(ae,pe,...ve){let H=ve.slice();1===H.length&&Array.isArray(H[0])&&(H=H[0].slice());const re=H.length;let ie,ye,Oe,te;try{ie=ae.getFormats()[pe]}catch{throw new Error("CLDR Data is missing information related to formatting list.")}const Ze=function(ke,Je){switch(Je){case"0":return Oe;case"1":return H[te++]}};switch(re){case 0:return"";case 1:return String(H[0]);default:if(Oe=2===re?ie[2]:ie.start,Oe=Oe.replace(/\{([01])\}/g,(function(ke,Je){return H[Je]})),2===re)return Oe;for(te=2;te<re;)ye=ie[te===re-1?"end":"middle"],Oe=ye.replace(/\{([01])\}/g,Ze);return Oe}}function ee({cldr:ae,args:[...pe]}){return Q(ae,"list",...pe)}function de({cldr:ae,args:[...pe]}){return Q(ae,"list_or",...pe)}Object.defineProperty(ne,"__esModule",{value:!0}),ne.list_or=ne.list_and=ne.list_or_quoted=ne.list_and_quoted=void 0,ne.list_and_quoted=function v({cldr:ae,args:[...pe]}){return r(ae,"list_and",...pe)},ne.list_or_quoted=function G({cldr:ae,args:[...pe]}){return r(ae,"list_or",...pe)},ne.list_and=ee,ne.list_or=de},5247:(He,ne,S)=>{"use strict";Object.defineProperty(ne,"__esModule",{value:!0}),ne.functions=ne.output=void 0;const r=S(7906),v=S(8533);ne.output=function G({args:[Q,...ee]}){if(ee&&"string"==typeof ee[0]&&(ee[0]=ee[0].replace(/chr\((\d+)\)/g,(function(de,ae){return ne.functions.chr(Number(ae))})),ee[0]=ee[0].replace(/amp\(\)/g,(function(){return ne.functions.amp()}))),"function"==typeof ne.functions[Q])return ne.functions[Q](...ee);throw new Error(`Locale output function '${Q}' is not implemented.`)},ne.functions={amp:()=>(0,r.htmlEscape)("&"),apos:()=>(0,r.htmlEscape)("'"),quot:()=>(0,r.htmlEscape)('"'),underline:Q=>`<u>${Q}</u>`,strong:Q=>`<strong>${Q}</strong>`,em:Q=>`<em>${Q}</em>`,abbr:(Q,ee)=>`<abbr title="${ee}">${Q}</abbr>`,acronym:(Q,ee)=>`<abbr title="${ee}" class="initialism">${Q}</abbr>`,class:(Q,...ee)=>`<span class="${ee.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,r.htmlEscape)(String.fromCharCode(Q))},url(Q,...ee){let de,ae;if("object"==typeof ee[ee.length-1])if(de=ee[ee.length-1],2===ee.length){if(de.html)throw new Error("Cannot provide both text and configuration with html attribute");ae=ee[0]}else de&&de.html?(ae=de.html,delete de.html):ae=Q;else ee.length%2==0?(de=(0,v.listToObject)(...ee),de&&"html"in de&&""!==de.html?(ae=de.html,delete de.html):ae=Q):(ae=ee.shift(),de=(0,v.listToObject)(...ee));"_type"in de&&"offsite"===de._type&&(de.class="offsite",de.target="_blank",delete de._type);let pe=`<a href="${Q}"`;if("object"==typeof de)for(const ve in de)Object.prototype.hasOwnProperty.call(de,ve)&&(pe+=` ${ve}="${de[ve]}"`);return pe+=`>${ae}</a>`,pe}}},741:(He,ne,S)=>{"use strict";Object.defineProperty(ne,"__esModule",{value:!0}),ne.format_bytes=ne.numf=ne.quant=ne.numerate=void 0;const r=S(5074);function G({cldr:ae,args:[pe,...ve]}){if(!(ae instanceof r.CLDR))throw new Error("`quant` function requires a valid CLDR instance for the `cldr` parameter.");let H,re=3;pe instanceof Array?(re=pe[1],H=pe[0]):H=pe;const ie=ae.getPluralForm(H,...ve),ye=ie[0]?ie[0]:ve[ve.length-1];if(ie&&ie.length>=2&&ie[1])return ye;const te=ee({cldr:ae,args:[H,re]});return-1!==ye.indexOf("%s")?ye.replace(/%s/g,te):ae.isRtl()?ye+" "+te:te+" "+ye}function ee({cldr:ae,args:[pe,ve=6]}){if(!(ae instanceof r.CLDR))throw new Error("`numf` function requires a valid CLDR instance for the `cldr` parameter.");if(/e/.test(pe.toString()))return String(pe);const{decimalFormat:H,decimalGroup:re,decimalDecimal:ie}=function Q(ae){const pe={},ve=ae.getFormats();return Object.prototype.hasOwnProperty.call(ve,"decimal")&&(pe.decimalFormat=ve.decimal),Object.prototype.hasOwnProperty.call(ve,"_decimal_format_group")&&(pe.decimalGroup=ve._decimal_format_group),Object.prototype.hasOwnProperty.call(ve,"_decimal_format_decimal")&&(pe.decimalDecimal=ve._decimal_format_decimal),pe}(ae);if(!H||!re||!ie)throw new Error("CLDR Data is missing information related to formatting decimals.");const ye=pe<0;pe=Math.abs(pe);let te,Ze,Oe=Math.floor(pe);/(?!')\.(?!')/.test(pe.toString())&&(te=String(pe).replace(/^[^.]+/,"0"),te=Number(te).toFixed(ve),/^1/.test(te)?(Oe++,pe=Oe,te=void 0):te=te.replace(/^.*\./,"").replace(/0+$/,"")),Ze=/(?!');(?!')/.test(H)?H.split(/(?!');(?!')/)[ye?1:0]:(ye?"-":"")+H;const Xe=Ze.match(/[0#].*[0#]/)[0].split(/(?!')\.(?!')/)[0].split("").reverse().join("").split(/(?!'),(?!')/);let tt;1===Xe.length?tt="":(Xe.pop(),tt=re);const nt=String(Oe).split("").reverse(),Fe=[];let it;const lt=function(Ee){switch(Ee){case"#":return nt.shift()||"";case"0":return nt.shift()||"0"}};for(;nt.length;){Xe.length&&(it=Xe.shift());const Ee=it.replace(/(?!')[0#]|[0#](?!')/g,lt).replace(/'([.,0#;\xa4%E])'$/,"").replace(/'([.,0#;\xa4%E])'/,"$1");Fe.push(Ee)}const pt=Fe.join(tt).split("").reverse().join("")+(te?ie+te:"");return Ze.replace(/[0#].*[0#]/,pt)}ne.numerate=function v({cldr:ae,args:[pe,...ve]}){if(!(ae instanceof r.CLDR))throw new Error("`numerate` function requires a valid CLDR instance for the `cldr` parameter.");const H=ae.getPluralForm(pe,...ve);return H?H[0]:ve[ve.length-1]},ne.quant=G,ne.numf=ee,ne.format_bytes=function de({cldr:ae,args:[pe,ve=2]}){if(!(ae instanceof r.CLDR))throw new Error("`format_bytes` function requires a valid CLDR instance for the `cldr` parameter.");const H=["KB","MB","GB","TB","PB","EB","ZB","YB"],ie=pe&&Math.min(Math.floor(Math.log(pe)/Math.log(1024)),H.length);return ie?ee({cldr:ae,args:[pe/Math.pow(1024,ie),ve]})+" "+H[ie-1]:G({cldr:ae,args:[pe,"%s byte","%s bytes"]})}},2889:(He,ne,S)=>{"use strict";Object.defineProperty(ne,"__esModule",{value:!0}),ne.maketext=ne.functions=ne.config=void 0;const r=S(40);function ee(de,ae){const pe=[];let ve=!1,H=!1;return de.forEach((re=>{if("_"===re.charAt(0))if("_*"===re){if(H)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";pe.push(...ae),ve=!0}else{const ie=re.match(ne.config.underscoreDigitRe);if(ie){if(ve)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";const[ye,Oe]=ie,te=Number(Oe)-1;if(!(te in ae))throw`The "${ye}" substitution argument was not passed to the maketext function.`;pe.push(ae[te]),H=!0}}else pe.push(re)})),pe}ne.config={bracketRe:/([^~\[\]]+|~.|\[|\]|~)/g,underscoreDigitRe:/^_(\d+)$/,fauxComma:"",fauxCommaRe:new RegExp("","g"),tildeChars:new Set(["[","]","~"])},ne.functions={...r.functions},ne.maketext=function G({cldr:de,lexicon:ae,template:pe,args:ve}){if("string"!=typeof pe)throw"You must pass a string template to the maketext function.";if(-1===(pe=ae&&ae[pe]||pe).indexOf("["))return pe;const H=pe.match(ne.config.bracketRe)||[],re=[];let ie=!1,ye="";if(H.forEach((Oe=>{if("["===Oe){if(ie)throw Error(`Invalid maketext string: ${pe} \nThe string contains nested brackets.`);ie=!0}else if("]"===Oe){if(!ie)throw Error(`Invalid maketext string: ${pe} \nThe string contains an unmatched closing bracket character (]).`);if(!ye)throw Error(`Invalid maketext string: ${pe} \nThe string contains empty brackets. Use the escape character (~) if the bracket characters were meant to be printed literally.`);let te;ie=!1;try{te=function Q(de,ae,pe){let ve=ae.split(",");if(ve=ve.map((ie=>ie.replace(ne.config.fauxCommaRe,","))),1===ve.length){if(!ne.config.underscoreDigitRe.test(ve[0]))throw"A bracket must contain more than one argument, unless it is a pure substition.\n Example: Number of accounts: [_1]";const[ie]=ee(ve,pe);return String(ie)}const H=ve.shift();if(!H||"function"!=typeof ne.functions[H])throw`Invalid function "${H}" in maketext string.`;const re=ee(ve,pe);return ne.functions[H]({cldr:de,args:re})}(de,ye,ve)}catch(Ze){throw Error(`Invalid maketext string: ${pe} \n${Ze}`)}ye="",re.push(te)}else if("~"===Oe.charAt(0)){const te=Oe.charAt(1)||"~";ie?ye+=","===te?ne.config.fauxComma:te:ne.config.tildeChars.has(te)?re.push(te):re.push(Oe)}else ie?ye+=Oe:re.push(Oe)})),ie)throw Error(`Invalid maketext string: ${pe} \nThe string contains an unmatched opening bracket character ([).`);return re.join("")}},7906:(He,ne)=>{"use strict";Object.defineProperty(ne,"__esModule",{value:!0}),ne.htmlEscape=ne.entityMap=void 0,ne.entityMap={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},ne.htmlEscape=function S(r){return String(r).replace(/[&<>"'\/]/g,(v=>ne.entityMap[v]))}},8533:(He,ne)=>{"use strict";Object.defineProperty(ne,"__esModule",{value:!0}),ne.listToObject=void 0,ne.listToObject=function v(...G){let Q={};return function S(G){if(G.length%2>0)throw new Error("An associative list must have an even number of parts: {name1}, {value1}, {name2}, {value2} ...");for(let ee=0,de=G.length;ee<de;ee+=2){const ae=G[ee];if("string"!=typeof ae||""===ae)throw new Error("An associative list must provide non-empty string names in the 1st, 3rd, ... positions.")}return!0}(G)&&(Q=function r(G){const Q=G.length,ee={};let ae,pe,de=0;for(;de<Q;)ae=G[de],pe=G[++de],ee[ae]=pe,de++;return ee}(G)),Q}},443:(He,ne,S)=>{var r=S(2119);He.exports=r.Symbol},4633:He=>{He.exports=function ne(S,r){for(var v=-1,G=null==S?0:S.length,Q=Array(G);++v<G;)Q[v]=r(S[v],v,S);return Q}},8745:He=>{He.exports=function ne(S,r,v,G){var Q=-1,ee=null==S?0:S.length;for(G&&ee&&(v=S[++Q]);++Q<ee;)v=r(v,S[Q],Q,S);return v}},5481:(He,ne,S)=>{var v=S(1847)("length");He.exports=v},6422:He=>{He.exports=function ne(S){return S.split("")}},69:He=>{var ne=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;He.exports=function S(r){return r.match(ne)||[]}},3337:(He,ne,S)=>{var r=S(443),v=S(1318),G=S(2902),de=r?r.toStringTag:void 0;He.exports=function ae(pe){return null==pe?void 0===pe?"[object Undefined]":"[object Null]":de&&de in Object(pe)?v(pe):G(pe)}},1847:He=>{He.exports=function ne(S){return function(r){return r?.[S]}}},2724:He=>{He.exports=function ne(S){return function(r){return S?.[r]}}},7065:He=>{var S=Math.floor;He.exports=function r(v,G){var Q="";if(!v||G<1||G>9007199254740991)return Q;do{G%2&&(Q+=v),(G=S(G/2))&&(v+=v)}while(G);return Q}},4363:He=>{He.exports=function ne(S,r,v){var G=-1,Q=S.length;r<0&&(r=-r>Q?0:Q+r),(v=v>Q?Q:v)<0&&(v+=Q),Q=r>v?0:v-r>>>0,r>>>=0;for(var ee=Array(Q);++G<Q;)ee[G]=S[G+r];return ee}},3935:(He,ne,S)=>{var r=S(443),v=S(4633),G=S(1503),Q=S(4129),de=r?r.prototype:void 0,ae=de?de.toString:void 0;He.exports=function pe(ve){if("string"==typeof ve)return ve;if(G(ve))return v(ve,pe)+"";if(Q(ve))return ae?ae.call(ve):"";var H=ve+"";return"0"==H&&1/ve==-1/0?"-0":H}},3348:(He,ne,S)=>{var r=S(2760),v=/^\s+/;He.exports=function G(Q){return Q&&Q.slice(0,r(Q)+1).replace(v,"")}},2329:(He,ne,S)=>{var r=S(4363);He.exports=function v(G,Q,ee){var de=G.length;return ee=void 0===ee?de:ee,!Q&&ee>=de?G:r(G,Q,ee)}},1491:(He,ne,S)=>{var r=S(8745),v=S(4707),G=S(7188),ee=RegExp("['’]","g");He.exports=function de(ae){return function(pe){return r(G(v(pe).replace(ee,"")),ae,"")}}},5171:(He,ne,S)=>{var r=S(7065),v=S(3935),G=S(2329),Q=S(7609),ee=S(2315),de=S(6007),ae=Math.ceil;He.exports=function pe(ve,H){var re=(H=void 0===H?" ":v(H)).length;if(re<2)return re?r(H,ve):H;var ie=r(H,ae(ve/ee(H)));return Q(H)?G(de(ie),0,ve).join(""):ie.slice(0,ve)}},9148:(He,ne,S)=>{var G=S(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"});He.exports=G},9122:He=>{var ne="object"==typeof global&&global&&global.Object===Object&&global;He.exports=ne},9519:(He,ne,S)=>{var v=S(9385)(Object.getPrototypeOf,Object);He.exports=v},1318:(He,ne,S)=>{var r=S(443),v=Object.prototype,G=v.hasOwnProperty,Q=v.toString,ee=r?r.toStringTag:void 0;He.exports=function de(ae){var pe=G.call(ae,ee),ve=ae[ee];try{ae[ee]=void 0;var H=!0}catch{}var re=Q.call(ae);return H&&(pe?ae[ee]=ve:delete ae[ee]),re}},7609:He=>{var de=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");He.exports=function ae(pe){return de.test(pe)}},9062:He=>{var ne=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;He.exports=function S(r){return ne.test(r)}},2902:He=>{var S=Object.prototype.toString;He.exports=function r(v){return S.call(v)}},9385:He=>{He.exports=function ne(S,r){return function(v){return S(r(v))}}},2119:(He,ne,S)=>{var r=S(9122),v="object"==typeof self&&self&&self.Object===Object&&self,G=r||v||Function("return this")();He.exports=G},2315:(He,ne,S)=>{var r=S(5481),v=S(7609),G=S(1149);He.exports=function Q(ee){return v(ee)?G(ee):r(ee)}},6007:(He,ne,S)=>{var r=S(6422),v=S(7609),G=S(6319);He.exports=function Q(ee){return v(ee)?G(ee):r(ee)}},2760:He=>{var ne=/\s/;He.exports=function S(r){for(var v=r.length;v--&&ne.test(r.charAt(v)););return v}},1149:He=>{var ne="\\ud800-\\udfff",ee="["+ne+"]",de="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",ae="\\ud83c[\\udffb-\\udfff]",ve="[^"+ne+"]",H="(?:\\ud83c[\\udde6-\\uddff]){2}",re="[\\ud800-\\udbff][\\udc00-\\udfff]",ye="(?:"+de+"|"+ae+")?",Oe="[\\ufe0e\\ufe0f]?",Ze=Oe+ye+"(?:\\u200d(?:"+[ve,H,re].join("|")+")"+Oe+ye+")*",ke="(?:"+[ve+de+"?",de,H,re,ee].join("|")+")",Je=RegExp(ae+"(?="+ae+")|"+ke+Ze,"g");He.exports=function Xe(tt){for(var nt=Je.lastIndex=0;Je.test(tt);)++nt;return nt}},6319:He=>{var ne="\\ud800-\\udfff",ee="["+ne+"]",de="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",ae="\\ud83c[\\udffb-\\udfff]",ve="[^"+ne+"]",H="(?:\\ud83c[\\udde6-\\uddff]){2}",re="[\\ud800-\\udbff][\\udc00-\\udfff]",ye="(?:"+de+"|"+ae+")?",Oe="[\\ufe0e\\ufe0f]?",Ze=Oe+ye+"(?:\\u200d(?:"+[ve,H,re].join("|")+")"+Oe+ye+")*",ke="(?:"+[ve+de+"?",de,H,re,ee].join("|")+")",Je=RegExp(ae+"(?="+ae+")|"+ke+Ze,"g");He.exports=function Xe(tt){return tt.match(Je)||[]}},910:He=>{var ne="\\ud800-\\udfff",Q="\\u2700-\\u27bf",ee="a-z\\xdf-\\xf6\\xf8-\\xff",H="A-Z\\xc0-\\xd6\\xd8-\\xde",ie="\\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",Oe="["+ie+"]",Ze="\\d+",ke="["+Q+"]",Je="["+ee+"]",Xe="[^"+ne+ie+Ze+Q+ee+H+"]",it="(?:\\ud83c[\\udde6-\\uddff]){2}",lt="[\\ud800-\\udbff][\\udc00-\\udfff]",pt="["+H+"]",le="(?:"+Je+"|"+Xe+")",K="(?:"+pt+"|"+Xe+")",ge="(?:['’](?:d|ll|m|re|s|t|ve))?",Ie="(?:['’](?:D|LL|M|RE|S|T|VE))?",we="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",Le="[\\ufe0e\\ufe0f]?",zt=Le+we+"(?:\\u200d(?:"+["[^"+ne+"]",it,lt].join("|")+")"+Le+we+")*",_n="(?:"+[ke,it,lt].join("|")+")"+zt,xr=RegExp([pt+"?"+Je+"+"+ge+"(?="+[Oe,pt,"$"].join("|")+")",K+"+"+Ie+"(?="+[Oe,pt+le,"$"].join("|")+")",pt+"?"+le+"+"+ge,pt+"+"+Ie,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ze,_n].join("|"),"g");He.exports=function bn(Kn){return Kn.match(xr)||[]}},4707:(He,ne,S)=>{var r=S(9148),v=S(3943),G=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ve=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");He.exports=function H(re){return(re=v(re))&&re.replace(G,r).replace(ve,"")}},1503:He=>{He.exports=Array.isArray},4798:(He,ne,S)=>{var r=S(3337),v=S(2671);He.exports=function Q(ee){return!0===ee||!1===ee||v(ee)&&"[object Boolean]"==r(ee)}},1305:He=>{He.exports=function ne(S){return null===S}},9138:(He,ne,S)=>{var r=S(3337),v=S(2671);He.exports=function Q(ee){return"number"==typeof ee||v(ee)&&"[object Number]"==r(ee)}},5940:He=>{He.exports=function ne(S){var r=typeof S;return null!=S&&("object"==r||"function"==r)}},2671:He=>{He.exports=function ne(S){return null!=S&&"object"==typeof S}},7614:(He,ne,S)=>{var r=S(3337),v=S(9519),G=S(2671),ae=Function.prototype.toString,pe=Object.prototype.hasOwnProperty,ve=ae.call(Object);He.exports=function H(re){if(!G(re)||"[object Object]"!=r(re))return!1;var ie=v(re);if(null===ie)return!0;var ye=pe.call(ie,"constructor")&&ie.constructor;return"function"==typeof ye&&ye instanceof ye&&ae.call(ye)==ve}},248:(He,ne,S)=>{var r=S(3337),v=S(1503),G=S(2671);He.exports=function ee(de){return"string"==typeof de||!v(de)&&G(de)&&"[object String]"==r(de)}},4129:(He,ne,S)=>{var r=S(3337),v=S(2671);He.exports=function Q(ee){return"symbol"==typeof ee||v(ee)&&"[object Symbol]"==r(ee)}},4235:He=>{He.exports=function ne(S){return void 0===S}},7489:function(He,ne,S){var r;He=S.nmd(He),function(){var v,de="Expected a function",pe="__lodash_hash_undefined__",H="__lodash_placeholder__",mt=1/0,Rt=9007199254740991,_n=4294967295,Kn=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],Pn="[object Arguments]",Wt="[object Array]",Ir="[object Boolean]",Cr="[object Date]",ui="[object Error]",wr="[object Function]",$n="[object GeneratorFunction]",Vn="[object Map]",vr="[object Number]",Kt="[object Object]",Wn="[object Promise]",fn="[object RegExp]",Me="[object Set]",$e="[object String]",je="[object Symbol]",De="[object WeakMap]",se="[object ArrayBuffer]",xe="[object DataView]",ze="[object Float32Array]",dt="[object Float64Array]",yt="[object Int8Array]",qt="[object Int16Array]",Ct="[object Int32Array]",Mt="[object Uint8Array]",Xt="[object Uint8ClampedArray]",vn="[object Uint16Array]",Vt="[object Uint32Array]",Pt=/\b__p \+= '';/g,It=/\b(__p \+=) '' \+/g,Ot=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Jt=/&(?:amp|lt|gt|quot|#39);/g,Dt=/[&<>"']/g,pn=RegExp(Jt.source),cn=RegExp(Dt.source),Ft=/<%-([\s\S]+?)%>/g,In=/<%([\s\S]+?)%>/g,Nt=/<%=([\s\S]+?)%>/g,dn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,on=/^\w*$/,qn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,yr=/[\\^$.*+?()[\]{}|]/g,Yn=RegExp(yr.source),gn=/^\s+/,Tr=/\s/,Qt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ae=/\{\n\/\* \[wrapped with (.+)\] \*/,me=/,? & /,X=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,U=/[()=,{}\[\]\/\s]/,he=/\\(\\)?/g,Ue=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,st=/\w*$/,jt=/^[-+]0x[0-9a-f]+$/i,ut=/^0b[01]+$/i,bt=/^\[object .+?Constructor\]$/,Ye=/^0o[0-7]+$/i,St=/^(?:0|[1-9]\d*)$/,At=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,$t=/($^)/,F=/['\n\r\u2028\u2029\\]/g,B="\\ud800-\\udfff",N="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",w="\\u2700-\\u27bf",L="a-z\\xdf-\\xf6\\xf8-\\xff",Ut="A-Z\\xc0-\\xd6\\xd8-\\xde",nn="\\ufe0e\\ufe0f",ur="\\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",ir="["+B+"]",br="["+ur+"]",kr="["+N+"]",Er="\\d+",cr="["+w+"]",ro="["+L+"]",Kr="[^"+B+ur+Er+w+L+Ut+"]",qr="\\ud83c[\\udffb-\\udfff]",Hr="[^"+B+"]",wi="(?:\\ud83c[\\udde6-\\uddff]){2}",Lr="[\\ud800-\\udbff][\\udc00-\\udfff]",Pr="["+Ut+"]",Xs="(?:"+ro+"|"+Kr+")",bs="(?:"+Pr+"|"+Kr+")",ea="(?:['’](?:d|ll|m|re|s|t|ve))?",Ki="(?:['’](?:D|LL|M|RE|S|T|VE))?",as="(?:"+kr+"|"+qr+")?",Vo="["+nn+"]?",na=Vo+as+"(?:\\u200d(?:"+[Hr,wi,Lr].join("|")+")"+Vo+as+")*",Es="(?:"+[cr,wi,Lr].join("|")+")"+na,ra="(?:"+[Hr+kr+"?",kr,wi,Lr,ir].join("|")+")",Uo=RegExp("['’]","g"),ia=RegExp(kr,"g"),Vi=RegExp(qr+"(?="+qr+")|"+ra+na,"g"),bo=RegExp([Pr+"?"+ro+"+"+ea+"(?="+[br,Pr,"$"].join("|")+")",bs+"+"+Ki+"(?="+[br,Pr+Xs,"$"].join("|")+")",Pr+"?"+Xs+"+"+ea,Pr+"+"+Ki,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Er,Es].join("|"),"g"),ii=RegExp("[\\u200d"+B+N+nn+"]"),Hi=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ds=["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"],Ms=-1,gr={};gr[ze]=gr[dt]=gr[yt]=gr[qt]=gr[Ct]=gr[Mt]=gr[Xt]=gr[vn]=gr[Vt]=!0,gr[Pn]=gr[Wt]=gr[se]=gr[Ir]=gr[xe]=gr[Cr]=gr[ui]=gr[wr]=gr[Vn]=gr[vr]=gr[Kt]=gr[fn]=gr[Me]=gr[$e]=gr[De]=!1;var Cn={};Cn[Pn]=Cn[Wt]=Cn[se]=Cn[xe]=Cn[Ir]=Cn[Cr]=Cn[ze]=Cn[dt]=Cn[yt]=Cn[qt]=Cn[Ct]=Cn[Vn]=Cn[vr]=Cn[Kt]=Cn[fn]=Cn[Me]=Cn[$e]=Cn[je]=Cn[Mt]=Cn[Xt]=Cn[vn]=Cn[Vt]=!0,Cn[ui]=Cn[wr]=Cn[De]=!1;var jo={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},$o=parseFloat,co=parseInt,Eo="object"==typeof global&&global&&global.Object===Object&&global,Go="object"==typeof self&&self&&self.Object===Object&&self,Br=Eo||Go||Function("return this")(),bi=ne&&!ne.nodeType&&ne,ei=bi&&He&&!He.nodeType&&He,zo=ei&&ei.exports===bi,Do=zo&&Eo.process,Gr=function(){try{return ei&&ei.require&&ei.require("util").types||Do&&Do.binding&&Do.binding("util")}catch{}}(),Wo=Gr&&Gr.isArrayBuffer,Ps=Gr&&Gr.isDate,mr=Gr&&Gr.isMap,ls=Gr&&Gr.isRegExp,ho=Gr&&Gr.isSet,Ei=Gr&&Gr.isTypedArray;function dr(Ne,ct,ot){switch(ot.length){case 0:return Ne.call(ct);case 1:return Ne.call(ct,ot[0]);case 2:return Ne.call(ct,ot[0],ot[1]);case 3:return Ne.call(ct,ot[0],ot[1],ot[2])}return Ne.apply(ct,ot)}function Os(Ne,ct,ot,Ht){for(var Dn=-1,or=null==Ne?0:Ne.length;++Dn<or;){var Rr=Ne[Dn];ct(Ht,Rr,ot(Rr),Ne)}return Ht}function oi(Ne,ct){for(var ot=-1,Ht=null==Ne?0:Ne.length;++ot<Ht&&!1!==ct(Ne[ot],ot,Ne););return Ne}function Ai(Ne,ct){for(var ot=null==Ne?0:Ne.length;ot--&&!1!==ct(Ne[ot],ot,Ne););return Ne}function Ur(Ne,ct){for(var ot=-1,Ht=null==Ne?0:Ne.length;++ot<Ht;)if(!ct(Ne[ot],ot,Ne))return!1;return!0}function Vr(Ne,ct){for(var ot=-1,Ht=null==Ne?0:Ne.length,Dn=0,or=[];++ot<Ht;){var Rr=Ne[ot];ct(Rr,ot,Ne)&&(or[Dn++]=Rr)}return or}function xi(Ne,ct){return!(null==Ne||!Ne.length)&&po(Ne,ct,0)>-1}function Mo(Ne,ct,ot){for(var Ht=-1,Dn=null==Ne?0:Ne.length;++Ht<Dn;)if(ot(ct,Ne[Ht]))return!0;return!1}function nr(Ne,ct){for(var ot=-1,Ht=null==Ne?0:Ne.length,Dn=Array(Ht);++ot<Ht;)Dn[ot]=ct(Ne[ot],ot,Ne);return Dn}function Ii(Ne,ct){for(var ot=-1,Ht=ct.length,Dn=Ne.length;++ot<Ht;)Ne[Dn+ot]=ct[ot];return Ne}function So(Ne,ct,ot,Ht){var Dn=-1,or=null==Ne?0:Ne.length;for(Ht&&or&&(ot=Ne[++Dn]);++Dn<or;)ot=ct(ot,Ne[Dn],Dn,Ne);return ot}function wn(Ne,ct,ot,Ht){var Dn=null==Ne?0:Ne.length;for(Ht&&Dn&&(ot=Ne[--Dn]);Dn--;)ot=ct(ot,Ne[Dn],Dn,Ne);return ot}function Yo(Ne,ct){for(var ot=-1,Ht=null==Ne?0:Ne.length;++ot<Ht;)if(ct(Ne[ot],ot,Ne))return!0;return!1}var oa=P("length");function fo(Ne,ct,ot){var Ht;return ot(Ne,(function(Dn,or,Rr){if(ct(Dn,or,Rr))return Ht=or,!1})),Ht}function To(Ne,ct,ot,Ht){for(var Dn=Ne.length,or=ot+(Ht?1:-1);Ht?or--:++or<Dn;)if(ct(Ne[or],or,Ne))return or;return-1}function po(Ne,ct,ot){return ct==ct?function xs(Ne,ct,ot){for(var Ht=ot-1,Dn=Ne.length;++Ht<Dn;)if(Ne[Ht]===ct)return Ht;return-1}(Ne,ct,ot):To(Ne,D,ot)}function Di(Ne,ct,ot,Ht){for(var Dn=ot-1,or=Ne.length;++Dn<or;)if(Ht(Ne[Dn],ct))return Dn;return-1}function D(Ne){return Ne!=Ne}function T(Ne,ct){var ot=null==Ne?0:Ne.length;return ot?En(Ne,ct)/ot:NaN}function P(Ne){return function(ct){return null==ct?v:ct[Ne]}}function Z(Ne){return function(ct){return null==Ne?v:Ne[ct]}}function Qe(Ne,ct,ot,Ht,Dn){return Dn(Ne,(function(or,Rr,ar){ot=Ht?(Ht=!1,or):ct(ot,or,Rr,ar)})),ot}function En(Ne,ct){for(var ot,Ht=-1,Dn=Ne.length;++Ht<Dn;){var or=ct(Ne[Ht]);or!==v&&(ot=ot===v?or:ot+or)}return ot}function Or(Ne,ct){for(var ot=-1,Ht=Array(Ne);++ot<Ne;)Ht[ot]=ct(ot);return Ht}function io(Ne){return Ne&&Ne.slice(0,Sa(Ne)+1).replace(gn,"")}function ji(Ne){return function(ct){return Ne(ct)}}function aa(Ne,ct){return nr(ct,(function(ot){return Ne[ot]}))}function la(Ne,ct){return Ne.has(ct)}function ua(Ne,ct){for(var ot=-1,Ht=Ne.length;++ot<Ht&&po(ct,Ne[ot],0)>-1;);return ot}function hi(Ne,ct){for(var ot=Ne.length;ot--&&po(ct,Ne[ot],0)>-1;);return ot}function Po(Ne,ct){for(var ot=Ne.length,Ht=0;ot--;)Ne[ot]===ct&&++Ht;return Ht}var Ma=Z({"À":"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"}),Ri=Z({"&":"&","<":"<",">":">",'"':""","'":"'"});function Mi(Ne){return"\\"+jo[Ne]}function qi(Ne){return ii.test(Ne)}function As(Ne){var ct=-1,ot=Array(Ne.size);return Ne.forEach((function(Ht,Dn){ot[++ct]=[Dn,Ht]})),ot}function cs(Ne,ct){return function(ot){return Ne(ct(ot))}}function Qi(Ne,ct){for(var ot=-1,Ht=Ne.length,Dn=0,or=[];++ot<Ht;){var Rr=Ne[ot];(Rr===ct||Rr===H)&&(Ne[ot]=H,or[Dn++]=ot)}return or}function ds(Ne){var ct=-1,ot=Array(Ne.size);return Ne.forEach((function(Ht){ot[++ct]=Ht})),ot}function qo(Ne){return qi(Ne)?function hs(Ne){for(var ct=Vi.lastIndex=0;Vi.test(Ne);)++ct;return ct}(Ne):oa(Ne)}function Fi(Ne){return qi(Ne)?function cl(Ne){return Ne.match(Vi)||[]}(Ne):function di(Ne){return Ne.split("")}(Ne)}function Sa(Ne){for(var ct=Ne.length;ct--&&Tr.test(Ne.charAt(ct)););return ct}var Ta=Z({"&":"&","<":"<",">":">",""":'"',"'":"'"}),Ji=function Ne(ct){var i,ot=(ct=null==ct?Br:Ji.defaults(Br.Object(),ct,Ji.pick(Br,Ds))).Array,Ht=ct.Date,Dn=ct.Error,or=ct.Function,Rr=ct.Math,ar=ct.Object,fs=ct.RegExp,ca=ct.String,Si=ct.TypeError,Is=ot.prototype,fi=ar.prototype,Oo=ct["__core-js_shared__"],C=or.prototype.toString,I=fi.hasOwnProperty,M=0,z=(i=/[^.]+$/.exec(Oo&&Oo.keys&&Oo.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"",Te=fi.toString,rt=C.call(ar),gt=Br._,rn=fs("^"+C.call(I).replace(yr,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Gn=zo?ct.Buffer:v,kn=ct.Symbol,rr=ct.Uint8Array,Ln=Gn?Gn.allocUnsafe:v,Dr=cs(ar.getPrototypeOf,ar),hr=ar.create,Fr=fi.propertyIsEnumerable,oo=Is.splice,pi=kn?kn.isConcatSpreadable:v,Ni=kn?kn.iterator:v,ti=kn?kn.toStringTag:v,Qo=function(){try{var i=vs(ar,"defineProperty");return i({},"",{}),i}catch{}}(),ps=ct.clearTimeout!==Br.clearTimeout&&ct.clearTimeout,da=Ht&&Ht.now!==Br.Date.now&&Ht.now,Ul=ct.setTimeout!==Br.setTimeout&&ct.setTimeout,so=Rr.ceil,Ya=Rr.floor,Rs=ar.getOwnPropertySymbols,hl=Gn?Gn.isBuffer:v,Za=ct.isFinite,Fs=Is.join,Pa=cs(ar.keys,ar),lr=Rr.max,Bn=Rr.min,go=Ht.now,ha=ct.parseInt,Ns=Rr.random,mo=Is.reverse,ks=vs(ct,"DataView"),Ao=vs(ct,"Map"),Ka=vs(ct,"Promise"),gs=vs(ct,"Set"),Ls=vs(ct,"WeakMap"),Mr=vs(ar,"create"),qa=Ls&&new Ls,ms={},Oa=rl(ks),fl=rl(Ao),pl=rl(Ka),Qa=rl(gs),_s=rl(Ls),Jo=kn?kn.prototype:v,xo=Jo?Jo.valueOf:v,Bs=Jo?Jo.toString:v;function q(i){if(Zr(i)&&!Un(i)&&!(i instanceof Yt)){if(i instanceof ao)return i;if(I.call(i,"__wrapped__"))return ou(i)}return new ao(i)}var Xi=function(){function i(){}return function(a){if(!Jr(a))return{};if(hr)return hr(a);i.prototype=a;var d=new i;return i.prototype=v,d}}();function Vs(){}function ao(i,a){this.__wrapped__=i,this.__actions__=[],this.__chain__=!!a,this.__index__=0,this.__values__=v}function Yt(i){this.__wrapped__=i,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=_n,this.__views__=[]}function eo(i){var a=-1,d=null==i?0:i.length;for(this.clear();++a<d;){var O=i[a];this.set(O[0],O[1])}}function Io(i){var a=-1,d=null==i?0:i.length;for(this.clear();++a<d;){var O=i[a];this.set(O[0],O[1])}}function zr(i){var a=-1,d=null==i?0:i.length;for(this.clear();++a<d;){var O=i[a];this.set(O[0],O[1])}}function Us(i){var a=-1,d=null==i?0:i.length;for(this.__data__=new zr;++a<d;)this.add(i[a])}function Ro(i){var a=this.__data__=new Io(i);this.size=a.size}function A(i,a){var d=Un(i),O=!d&&Nl(i),k=!d&&!O&&qs(i),oe=!d&&!O&&!k&&kl(i),Se=d||O||k||oe,Be=Se?Or(i.length,ca):[],Ge=Be.length;for(var vt in i)(a||I.call(i,vt))&&(!Se||!("length"==vt||k&&("offset"==vt||"parent"==vt)||oe&&("buffer"==vt||"byteLength"==vt||"byteOffset"==vt)||ga(vt,Ge)))&&Be.push(vt);return Be}function j(i){var a=i.length;return a?i[bc(0,a-1)]:v}function fe(i,a){return iu(Co(i),Y(a,0,i.length))}function be(i){return iu(Co(i))}function et(i,a,d){(d!==v&&!os(i[a],d)||d===v&&!(a in i))&&_(i,a,d)}function xt(i,a,d){var O=i[a];(!I.call(i,a)||!os(O,d)||d===v&&!(a in i))&&_(i,a,d)}function yn(i,a){for(var d=i.length;d--;)if(os(i[d][0],a))return d;return-1}function g(i,a,d,O){return Lt(i,(function(k,oe,Se){a(O,k,d(k),Se)})),O}function c(i,a){return i&&zs(a,Wi(a),i)}function _(i,a,d){"__proto__"==a&&Qo?Qo(i,a,{configurable:!0,enumerable:!0,value:d,writable:!0}):i[a]=d}function R(i,a){for(var d=-1,O=a.length,k=ot(O),oe=null==i;++d<O;)k[d]=oe?v:lf(i,a[d]);return k}function Y(i,a,d){return i==i&&(d!==v&&(i=i<=d?i:d),a!==v&&(i=i>=a?i:a)),i}function Ce(i,a,d,O,k,oe){var Se,Be=1&a,Ge=2&a,vt=4&a;if(d&&(Se=k?d(i,O,k,oe):d(i)),Se!==v)return Se;if(!Jr(i))return i;var _t=Un(i);if(_t){if(Se=function Nc(i){var a=i.length,d=new i.constructor(a);return a&&"string"==typeof i[0]&&I.call(i,"index")&&(d.index=i.index,d.input=i.input),d}(i),!Be)return Co(i,Se)}else{var wt=no(i),Gt=wt==wr||wt==$n;if(qs(i))return eh(i,Be);if(wt==Kt||wt==Pn||Gt&&!k){if(Se=Ge||Gt?{}:La(i),!Be)return Ge?function Ac(i,a){return zs(i,ph(i),a)}(i,function u(i,a){return i&&zs(a,ko(a),i)}(Se,i)):function Oc(i,a){return zs(i,ku(i),a)}(i,c(Se,i))}else{if(!Cn[wt])return k?i:{};Se=function up(i,a,d){var O=i.constructor;switch(a){case se:return Pu(i);case Ir:case Cr:return new O(+i);case xe:return function ip(i,a){var d=a?Pu(i.buffer):i.buffer;return new i.constructor(d,i.byteOffset,i.byteLength)}(i,d);case ze:case dt:case yt:case qt:case Ct:case Mt:case Xt:case vn:case Vt:return Ou(i,d);case Vn:return new O;case vr:case $e:return new O(i);case fn:return function op(i){var a=new i.constructor(i.source,st.exec(i));return a.lastIndex=i.lastIndex,a}(i);case Me:return new O;case je:return function Pc(i){return xo?ar(xo.call(i)):{}}(i)}}(i,wt,Be)}}oe||(oe=new Ro);var sn=oe.get(i);if(sn)return sn;oe.set(i,Se),Gu(i)?i.forEach((function(Sn){Se.add(Ce(Sn,a,d,Sn,i,oe))})):Xh(i)&&i.forEach((function(Sn,sr){Se.set(sr,Ce(Sn,a,d,sr,i,oe))}));var Xn=_t?v:(vt?Ge?Nu:eu:Ge?ko:Wi)(i);return oi(Xn||i,(function(Sn,sr){Xn&&(Sn=i[sr=Sn]),xt(Se,sr,Ce(Sn,a,d,sr,i,oe))})),Se}function Ke(i,a,d){var O=d.length;if(null==i)return!O;for(i=ar(i);O--;){var k=d[O],Se=i[k];if(Se===v&&!(k in i)||!(0,a[k])(Se))return!1}return!0}function ft(i,a,d){if("function"!=typeof i)throw new Si(de);return ru((function(){i.apply(v,d)}),a)}function kt(i,a,d,O){var k=-1,oe=xi,Se=!0,Be=i.length,Ge=[],vt=a.length;if(!Be)return Ge;d&&(a=nr(a,ji(d))),O?(oe=Mo,Se=!1):a.length>=200&&(oe=la,Se=!1,a=new Us(a));e:for(;++k<Be;){var _t=i[k],wt=null==d?_t:d(_t);if(_t=O||0!==_t?_t:0,Se&&wt==wt){for(var Gt=vt;Gt--;)if(a[Gt]===wt)continue e;Ge.push(_t)}else oe(a,wt,O)||Ge.push(_t)}return Ge}q.templateSettings={escape:Ft,evaluate:In,interpolate:Nt,variable:"",imports:{_:q}},(q.prototype=Vs.prototype).constructor=q,(ao.prototype=Xi(Vs.prototype)).constructor=ao,(Yt.prototype=Xi(Vs.prototype)).constructor=Yt,eo.prototype.clear=function jl(){this.__data__=Mr?Mr(null):{},this.size=0},eo.prototype.delete=function ml(i){var a=this.has(i)&&delete this.__data__[i];return this.size-=a?1:0,a},eo.prototype.get=function _l(i){var a=this.__data__;if(Mr){var d=a[i];return d===pe?v:d}return I.call(a,i)?a[i]:v},eo.prototype.has=function Hs(i){var a=this.__data__;return Mr?a[i]!==v:I.call(a,i)},eo.prototype.set=function ki(i,a){var d=this.__data__;return this.size+=this.has(i)?0:1,d[i]=Mr&&a===v?pe:a,this},Io.prototype.clear=function ni(){this.__data__=[],this.size=0},Io.prototype.delete=function vl(i){var a=this.__data__,d=yn(a,i);return!(d<0||(d==a.length-1?a.pop():oo.call(a,d,1),--this.size,0))},Io.prototype.get=function Xo(i){var a=this.__data__,d=yn(a,i);return d<0?v:a[d][1]},Io.prototype.has=function wc(i){return yn(this.__data__,i)>-1},Io.prototype.set=function yl(i,a){var d=this.__data__,O=yn(d,i);return O<0?(++this.size,d.push([i,a])):d[O][1]=a,this},zr.prototype.clear=function es(){this.size=0,this.__data__={hash:new eo,map:new(Ao||Io),string:new eo}},zr.prototype.delete=function $l(i){var a=Sl(this,i).delete(i);return this.size-=a?1:0,a},zr.prototype.get=function Ja(i){return Sl(this,i).get(i)},zr.prototype.has=function Aa(i){return Sl(this,i).has(i)},zr.prototype.set=function Gl(i,a){var d=Sl(this,i),O=d.size;return d.set(i,a),this.size+=d.size==O?0:1,this},Us.prototype.add=Us.prototype.push=function vu(i){return this.__data__.set(i,pe),this},Us.prototype.has=function yu(i){return this.__data__.has(i)},Ro.prototype.clear=function Cu(){this.__data__=new Io,this.size=0},Ro.prototype.delete=function p(i){var a=this.__data__,d=a.delete(i);return this.size=a.size,d},Ro.prototype.get=function m(i){return this.__data__.get(i)},Ro.prototype.has=function f(i){return this.__data__.has(i)},Ro.prototype.set=function b(i,a){var d=this.__data__;if(d instanceof Io){var O=d.__data__;if(!Ao||O.length<199)return O.push([i,a]),this.size=++d.size,this;d=this.__data__=new zr(O)}return d.set(i,a),this.size=d.size,this};var Lt=Xa(Nr),Qn=Xa(ts,!0);function ln(i,a){var d=!0;return Lt(i,(function(O,k,oe){return d=!!a(O,k,oe)})),d}function mn(i,a,d){for(var O=-1,k=i.length;++O<k;){var oe=i[O],Se=a(oe);if(null!=Se&&(Be===v?Se==Se&&!lo(Se):d(Se,Be)))var Be=Se,Ge=oe}return Ge}function fr(i,a){var d=[];return Lt(i,(function(O,k,oe){a(O,k,oe)&&d.push(O)})),d}function Fn(i,a,d,O,k){var oe=-1,Se=i.length;for(d||(d=o_),k||(k=[]);++oe<Se;){var Be=i[oe];a>0&&d(Be)?a>1?Fn(Be,a-1,d,O,k):Ii(k,Be):O||(k[k.length]=Be)}return k}var si=Au(),Li=Au(!0);function Nr(i,a){return i&&si(i,a,Wi)}function ts(i,a){return i&&Li(i,a,Wi)}function Ti(i,a){return Vr(a,(function(d){return va(i[d])}))}function Qr(i,a){for(var d=0,O=(a=Fa(a,i)).length;null!=i&&d<O;)i=i[Ks(a[d++])];return d&&d==O?i:v}function to(i,a,d){var O=a(i);return Un(i)?O:Ii(O,d(i))}function Wr(i){return null==i?i===v?"[object Undefined]":"[object Null]":ti&&ti in ar(i)?function lp(i){var a=I.call(i,ti),d=i[ti];try{i[ti]=v;var O=!0}catch{}var k=Te.call(i);return O&&(a?i[ti]=d:delete i[ti]),k}(i):function pp(i){return Te.call(i)}(i)}function _o(i,a){return i>a}function xa(i,a){return null!=i&&I.call(i,a)}function js(i,a){return null!=i&&a in ar(i)}function Cl(i,a,d){for(var O=d?Mo:xi,k=i[0].length,oe=i.length,Se=oe,Be=ot(oe),Ge=1/0,vt=[];Se--;){var _t=i[Se];Se&&a&&(_t=nr(_t,ji(a))),Ge=Bn(_t.length,Ge),Be[Se]=!d&&(a||k>=120&&_t.length>=120)?new Us(Se&&_t):v}_t=i[0];var wt=-1,Gt=Be[0];e:for(;++wt<k&&vt.length<Ge;){var sn=_t[wt],On=a?a(sn):sn;if(sn=d||0!==sn?sn:0,!(Gt?la(Gt,On):O(vt,On,d))){for(Se=oe;--Se;){var Xn=Be[Se];if(!(Xn?la(Xn,On):O(i[Se],On,d)))continue e}Gt&&Gt.push(On),vt.push(sn)}}return vt}function Zt(i,a,d){var O=null==(i=Zs(i,a=Fa(a,i)))?i:i[Ks(is(a))];return null==O?v:dr(O,i,d)}function un(i){return Zr(i)&&Wr(i)==Pn}function Yr(i,a,d,O,k){return i===a||(null==i||null==a||!Zr(i)&&!Zr(a)?i!=i&&a!=a:function ns(i,a,d,O,k,oe){var Se=Un(i),Be=Un(a),Ge=Se?Wt:no(i),vt=Be?Wt:no(a),_t=(Ge=Ge==Pn?Kt:Ge)==Kt,wt=(vt=vt==Pn?Kt:vt)==Kt,Gt=Ge==vt;if(Gt&&qs(i)){if(!qs(a))return!1;Se=!0,_t=!1}if(Gt&&!_t)return oe||(oe=new Ro),Se||kl(i)?dh(i,a,d,O,k,oe):function hh(i,a,d,O,k,oe,Se){switch(d){case xe:if(i.byteLength!=a.byteLength||i.byteOffset!=a.byteOffset)return!1;i=i.buffer,a=a.buffer;case se:return!(i.byteLength!=a.byteLength||!oe(new rr(i),new rr(a)));case Ir:case Cr:case vr:return os(+i,+a);case ui:return i.name==a.name&&i.message==a.message;case fn:case $e:return i==a+"";case Vn:var Be=As;case Me:if(Be||(Be=ds),i.size!=a.size&&!(1&O))return!1;var vt=Se.get(i);if(vt)return vt==a;O|=2,Se.set(i,a);var _t=dh(Be(i),Be(a),O,k,oe,Se);return Se.delete(i),_t;case je:if(xo)return xo.call(i)==xo.call(a)}return!1}(i,a,Ge,d,O,k,oe);if(!(1&d)){var sn=_t&&I.call(i,"__wrapped__"),On=wt&&I.call(a,"__wrapped__");if(sn||On){var Xn=sn?i.value():i,Sn=On?a.value():a;return oe||(oe=new Ro),k(Xn,Sn,d,O,oe)}}return!!Gt&&(oe||(oe=new Ro),function fh(i,a,d,O,k,oe){var Se=1&d,Be=eu(i),Ge=Be.length;if(Ge!=eu(a).length&&!Se)return!1;for(var wt=Ge;wt--;){var Gt=Be[wt];if(!(Se?Gt in a:I.call(a,Gt)))return!1}var sn=oe.get(i),On=oe.get(a);if(sn&&On)return sn==a&&On==i;var Xn=!0;oe.set(i,a),oe.set(a,i);for(var Sn=Se;++wt<Ge;){var sr=i[Gt=Be[wt]],jn=a[Gt];if(O)var Yi=Se?O(jn,sr,Gt,a,i,oe):O(sr,jn,Gt,i,a,oe);if(!(Yi===v?sr===jn||k(sr,jn,d,O,oe):Yi)){Xn=!1;break}Sn||(Sn="constructor"==Gt)}if(Xn&&!Sn){var Sr=i.constructor,Oi=a.constructor;Sr!=Oi&&"constructor"in i&&"constructor"in a&&!("function"==typeof Sr&&Sr instanceof Sr&&"function"==typeof Oi&&Oi instanceof Oi)&&(Xn=!1)}return oe.delete(i),oe.delete(a),Xn}(i,a,d,O,k,oe))}(i,a,d,O,Yr,k))}function rs(i,a,d,O){var k=d.length,oe=k,Se=!O;if(null==i)return!oe;for(i=ar(i);k--;){var Be=d[k];if(Se&&Be[2]?Be[1]!==i[Be[0]]:!(Be[0]in i))return!1}for(;++k<oe;){var Ge=(Be=d[k])[0],vt=i[Ge],_t=Be[1];if(Se&&Be[2]){if(vt===v&&!(Ge in i))return!1}else{var wt=new Ro;if(O)var Gt=O(vt,_t,Ge,i,a,wt);if(!(Gt===v?Yr(_t,vt,3,O,wt):Gt))return!1}}return!0}function jr(i){return!(!Jr(i)||function Lc(i){return!!z&&z in i}(i))&&(va(i)?rn:bt).test(rl(i))}function Gs(i){return"function"==typeof i?i:null==i?ri:"object"==typeof i?Un(i)?Wd(i[0],i[1]):zd(i):nc(i)}function $i(i){if(!Pl(i))return Pa(i);var a=[];for(var d in ar(i))I.call(i,d)&&"constructor"!=d&&a.push(d);return a}function Ia(i,a){return i<a}function Jf(i,a){var d=-1,O=vi(i)?ot(i.length):[];return Lt(i,(function(k,oe,Se){O[++d]=a(k,oe,Se)})),O}function zd(i){var a=tu(i);return 1==a.length&&a[0][2]?Ba(a[0][0],a[0][1]):function(d){return d===i||rs(d,i,a)}}function Wd(i,a){return kc(i)&&Bc(a)?Ba(Ks(i),a):function(d){var O=lf(d,i);return O===v&&O===a?qu(d,i):Yr(a,O,3)}}function bl(i,a,d,O,k){i!==a&&si(a,(function(oe,Se){if(k||(k=new Ro),Jr(oe))!function n_(i,a,d,O,k,oe,Se){var Be=Vc(i,d),Ge=Vc(a,d),vt=Se.get(Ge);if(vt)et(i,d,vt);else{var _t=oe?oe(Be,Ge,d+"",i,a,Se):v,wt=_t===v;if(wt){var Gt=Un(Ge),sn=!Gt&&qs(Ge),On=!Gt&&!sn&&kl(Ge);_t=Ge,Gt||sn||On?Un(Be)?_t=Be:mi(Be)?_t=Co(Be):sn?(wt=!1,_t=eh(Ge,!0)):On?(wt=!1,_t=Ou(Ge,!0)):_t=[]:du(Ge)||Nl(Ge)?(_t=Be,Nl(Be)?_t=Yu(Be):(!Jr(Be)||va(Be))&&(_t=La(Ge))):wt=!1}wt&&(Se.set(Ge,_t),k(_t,Ge,O,oe,Se),Se.delete(Ge)),et(i,d,_t)}}(i,a,Se,d,bl,O,k);else{var Be=O?O(Vc(i,Se),oe,Se+"",i,a,k):v;Be===v&&(Be=oe),et(i,Se,Be)}}),ko)}function Xf(i,a){var d=i.length;if(d)return ga(a+=a<0?d:0,d)?i[a]:v}function Eu(i,a,d){a=a.length?nr(a,(function(oe){return Un(oe)?function(Se){return Qr(Se,1===oe.length?oe[0]:oe)}:oe})):[ri];var O=-1;return a=nr(a,ji(Mn())),function an(Ne,ct){var ot=Ne.length;for(Ne.sort(ct);ot--;)Ne[ot]=Ne[ot].value;return Ne}(Jf(i,(function(oe,Se,Be){return{criteria:nr(a,(function(vt){return vt(oe)})),index:++O,value:oe}})),(function(oe,Se){return function nh(i,a,d){for(var O=-1,k=i.criteria,oe=a.criteria,Se=k.length,Be=d.length;++O<Se;){var Ge=th(k[O],oe[O]);if(Ge)return O>=Be?Ge:Ge*("desc"==d[O]?-1:1)}return i.index-a.index}(oe,Se,d)}))}function ep(i,a,d){for(var O=-1,k=a.length,oe={};++O<k;){var Se=a[O],Be=Qr(i,Se);d(Be,Se)&&yo(oe,Fa(Se,i),Be)}return oe}function Yd(i,a,d,O){var k=O?Di:po,oe=-1,Se=a.length,Be=i;for(i===a&&(a=Co(a)),d&&(Be=nr(i,ji(d)));++oe<Se;)for(var Ge=0,vt=a[oe],_t=d?d(vt):vt;(Ge=k(Be,_t,Ge,O))>-1;)Be!==i&&oo.call(Be,Ge,1),oo.call(i,Ge,1);return i}function tp(i,a){for(var d=i?a.length:0,O=d-1;d--;){var k=a[d];if(d==O||k!==oe){var oe=k;ga(k)?oo.call(i,k,1):Gi(i,k)}}return i}function bc(i,a){return i+Ya(Ns()*(a-i+1))}function Wl(i,a){var d="";if(!i||a<1||a>Rt)return d;do{a%2&&(d+=i),(a=Ya(a/2))&&(i+=i)}while(a);return d}function Jn(i,a){return Hc(vh(i,a,ri),i+"")}function Kd(i){return j(Bl(i))}function qd(i,a){var d=Bl(i);return iu(d,Y(a,0,d.length))}function yo(i,a,d,O){if(!Jr(i))return i;for(var k=-1,oe=(a=Fa(a,i)).length,Se=oe-1,Be=i;null!=Be&&++k<oe;){var Ge=Ks(a[k]),vt=d;if("__proto__"===Ge||"constructor"===Ge||"prototype"===Ge)return i;if(k!=Se){var _t=Be[Ge];(vt=O?O(_t,Ge,Be):v)===v&&(vt=Jr(_t)?_t:ga(a[k+1])?[]:{})}xt(Be,Ge,vt),Be=Be[Ge]}return i}var Qd=qa?function(i,a){return qa.set(i,a),i}:ri,np=Qo?function(i,a){return Qo(i,"toString",{configurable:!0,enumerable:!1,value:Pd(a),writable:!0})}:ri;function rp(i){return iu(Bl(i))}function Fo(i,a,d){var O=-1,k=i.length;a<0&&(a=-a>k?0:k+a),(d=d>k?k:d)<0&&(d+=k),k=a>d?0:d-a>>>0,a>>>=0;for(var oe=ot(k);++O<k;)oe[O]=i[O+a];return oe}function Ec(i,a){var d;return Lt(i,(function(O,k,oe){return!(d=a(O,k,oe))})),!!d}function Du(i,a,d){var O=0,k=null==i?O:i.length;if("number"==typeof a&&a==a&&k<=2147483647){for(;O<k;){var oe=O+k>>>1,Se=i[oe];null!==Se&&!lo(Se)&&(d?Se<=a:Se<a)?O=oe+1:k=oe}return k}return Dc(i,a,ri,d)}function Dc(i,a,d,O){var k=0,oe=null==i?0:i.length;if(0===oe)return 0;for(var Se=(a=d(a))!=a,Be=null===a,Ge=lo(a),vt=a===v;k<oe;){var _t=Ya((k+oe)/2),wt=d(i[_t]),Gt=wt!==v,sn=null===wt,On=wt==wt,Xn=lo(wt);if(Se)var Sn=O||On;else Sn=vt?On&&(O||Gt):Be?On&&Gt&&(O||!sn):Ge?On&&Gt&&!sn&&(O||!Xn):!sn&&!Xn&&(O?wt<=a:wt<a);Sn?k=_t+1:oe=_t}return Bn(oe,4294967294)}function Jd(i,a){for(var d=-1,O=i.length,k=0,oe=[];++d<O;){var Se=i[d],Be=a?a(Se):Se;if(!d||!os(Be,Ge)){var Ge=Be;oe[k++]=0===Se?0:Se}}return oe}function Mc(i){return"number"==typeof i?i:lo(i)?NaN:+i}function No(i){if("string"==typeof i)return i;if(Un(i))return nr(i,No)+"";if(lo(i))return Bs?Bs.call(i):"";var a=i+"";return"0"==a&&1/i==-mt?"-0":a}function Ra(i,a,d){var O=-1,k=xi,oe=i.length,Se=!0,Be=[],Ge=Be;if(d)Se=!1,k=Mo;else if(oe>=200){var vt=a?null:el(i);if(vt)return ds(vt);Se=!1,k=la,Ge=new Us}else Ge=a?[]:Be;e:for(;++O<oe;){var _t=i[O],wt=a?a(_t):_t;if(_t=d||0!==_t?_t:0,Se&&wt==wt){for(var Gt=Ge.length;Gt--;)if(Ge[Gt]===wt)continue e;a&&Ge.push(wt),Be.push(_t)}else k(Ge,wt,d)||(Ge!==Be&&Ge.push(wt),Be.push(_t))}return Be}function Gi(i,a){return null==(i=Zs(i,a=Fa(a,i)))||delete i[Ks(is(a))]}function Mu(i,a,d,O){return yo(i,a,d(Qr(i,a)),O)}function Yl(i,a,d,O){for(var k=i.length,oe=O?k:-1;(O?oe--:++oe<k)&&a(i[oe],oe,i););return d?Fo(i,O?0:oe,O?oe+1:k):Fo(i,O?oe+1:0,O?k:oe)}function Su(i,a){var d=i;return d instanceof Yt&&(d=d.value()),So(a,(function(O,k){return k.func.apply(k.thisArg,Ii([O],k.args))}),d)}function Bi(i,a,d){var O=i.length;if(O<2)return O?Ra(i[0]):[];for(var k=-1,oe=ot(O);++k<O;)for(var Se=i[k],Be=-1;++Be<O;)Be!=k&&(oe[k]=kt(oe[k]||Se,i[Be],a,d));return Ra(Fn(oe,1),a,d)}function El(i,a,d){for(var O=-1,k=i.length,oe=a.length,Se={};++O<k;)d(Se,i[O],O<oe?a[O]:v);return Se}function Tu(i){return mi(i)?i:[]}function Sc(i){return"function"==typeof i?i:ri}function Fa(i,a){return Un(i)?i:kc(i,a)?[i]:bh(_r(i))}var Xd=Jn;function Na(i,a,d){var O=i.length;return d=d===v?O:d,!a&&d>=O?i:Fo(i,a,d)}var Tc=ps||function(i){return Br.clearTimeout(i)};function eh(i,a){if(a)return i.slice();var d=i.length,O=Ln?Ln(d):new i.constructor(d);return i.copy(O),O}function Pu(i){var a=new i.constructor(i.byteLength);return new rr(a).set(new rr(i)),a}function Ou(i,a){var d=a?Pu(i.buffer):i.buffer;return new i.constructor(d,i.byteOffset,i.length)}function th(i,a){if(i!==a){var d=i!==v,O=null===i,k=i==i,oe=lo(i),Se=a!==v,Be=null===a,Ge=a==a,vt=lo(a);if(!Be&&!vt&&!oe&&i>a||oe&&Se&&Ge&&!Be&&!vt||O&&Se&&Ge||!d&&Ge||!k)return 1;if(!O&&!oe&&!vt&&i<a||vt&&d&&k&&!O&&!oe||Be&&d&&k||!Se&&k||!Ge)return-1}return 0}function rh(i,a,d,O){for(var k=-1,oe=i.length,Se=d.length,Be=-1,Ge=a.length,vt=lr(oe-Se,0),_t=ot(Ge+vt),wt=!O;++Be<Ge;)_t[Be]=a[Be];for(;++k<Se;)(wt||k<oe)&&(_t[d[k]]=i[k]);for(;vt--;)_t[Be++]=i[k++];return _t}function Dl(i,a,d,O){for(var k=-1,oe=i.length,Se=-1,Be=d.length,Ge=-1,vt=a.length,_t=lr(oe-Be,0),wt=ot(_t+vt),Gt=!O;++k<_t;)wt[k]=i[k];for(var sn=k;++Ge<vt;)wt[sn+Ge]=a[Ge];for(;++Se<Be;)(Gt||k<oe)&&(wt[sn+d[Se]]=i[k++]);return wt}function Co(i,a){var d=-1,O=i.length;for(a||(a=ot(O));++d<O;)a[d]=i[d];return a}function zs(i,a,d,O){var k=!d;d||(d={});for(var oe=-1,Se=a.length;++oe<Se;){var Be=a[oe],Ge=O?O(d[Be],i[Be],Be,d,i):v;Ge===v&&(Ge=i[Be]),k?_(d,Be,Ge):xt(d,Be,Ge)}return d}function Zl(i,a){return function(d,O){var k=Un(d)?Os:g,oe=a?a():{};return k(d,i,Mn(O,2),oe)}}function Kl(i){return Jn((function(a,d){var O=-1,k=d.length,oe=k>1?d[k-1]:v,Se=k>2?d[2]:v;for(oe=i.length>3&&"function"==typeof oe?(k--,oe):v,Se&&zi(d[0],d[1],Se)&&(oe=k<3?v:oe,k=1),a=ar(a);++O<k;){var Be=d[O];Be&&i(a,Be,O,oe)}return a}))}function Xa(i,a){return function(d,O){if(null==d)return d;if(!vi(d))return i(d,O);for(var k=d.length,oe=a?k:-1,Se=ar(d);(a?oe--:++oe<k)&&!1!==O(Se[oe],oe,Se););return d}}function Au(i){return function(a,d,O){for(var k=-1,oe=ar(a),Se=O(a),Be=Se.length;Be--;){var Ge=Se[i?Be:++k];if(!1===d(oe[Ge],Ge,oe))break}return a}}function oh(i){return function(a){var d=qi(a=_r(a))?Fi(a):v,O=d?d[0]:a.charAt(0),k=d?Na(d,1).join(""):a.slice(1);return O[i]()+k}}function ka(i){return function(a){return So(wf(Xu(a).replace(Uo,"")),i,"")}}function ql(i){return function(){var a=arguments;switch(a.length){case 0:return new i;case 1:return new i(a[0]);case 2:return new i(a[0],a[1]);case 3:return new i(a[0],a[1],a[2]);case 4:return new i(a[0],a[1],a[2],a[3]);case 5:return new i(a[0],a[1],a[2],a[3],a[4]);case 6:return new i(a[0],a[1],a[2],a[3],a[4],a[5]);case 7:return new i(a[0],a[1],a[2],a[3],a[4],a[5],a[6])}var d=Xi(i.prototype),O=i.apply(d,a);return Jr(O)?O:d}}function sh(i){return function(a,d,O){var k=ar(a);if(!vi(a)){var oe=Mn(d,3);a=Wi(a),d=function(Be){return oe(k[Be],Be,k)}}var Se=i(a,d,O);return Se>-1?k[oe?a[Se]:Se]:v}}function ah(i){return Ys((function(a){var d=a.length,O=d,k=ao.prototype.thru;for(i&&a.reverse();O--;){var oe=a[O];if("function"!=typeof oe)throw new Si(de);if(k&&!Se&&"wrapper"==tl(oe))var Se=new ao([],!0)}for(O=Se?O:d;++O<d;){var Be=tl(oe=a[O]),Ge="wrapper"==Be?Ml(oe):v;Se=Ge&&Tl(Ge[0])&&424==Ge[1]&&!Ge[4].length&&1==Ge[9]?Se[tl(Ge[0])].apply(Se,Ge[3]):1==oe.length&&Tl(oe)?Se[Be]():Se.thru(oe)}return function(){var vt=arguments,_t=vt[0];if(Se&&1==vt.length&&Un(_t))return Se.plant(_t).value();for(var wt=0,Gt=d?a[wt].apply(this,vt):_t;++wt<d;)Gt=a[wt].call(this,Gt);return Gt}}))}function xu(i,a,d,O,k,oe,Se,Be,Ge,vt){var _t=128&a,wt=1&a,Gt=2&a,sn=24&a,On=512&a,Xn=Gt?v:ql(i);return function Sn(){for(var sr=arguments.length,jn=ot(sr),Yi=sr;Yi--;)jn[Yi]=arguments[Yi];if(sn)var Sr=nl(Sn),Oi=Po(jn,Sr);if(O&&(jn=rh(jn,O,k,sn)),oe&&(jn=Dl(jn,oe,Se,sn)),sr-=Oi,sn&&sr<vt){var Xr=Qi(jn,Sr);return Ic(i,a,xu,Sn.placeholder,d,jn,Xr,Be,Ge,vt-sr)}var ai=wt?d:this,Cs=Gt?ai[i]:i;return sr=jn.length,Be?jn=Ol(jn,Be):On&&sr>1&&jn.reverse(),_t&&Ge<sr&&(jn.length=Ge),this&&this!==Br&&this instanceof Sn&&(Cs=Xn||ql(Cs)),Cs.apply(ai,jn)}}function lh(i,a){return function(d,O){return function wu(i,a,d,O){return Nr(i,(function(k,oe,Se){a(O,d(k),oe,Se)})),O}(d,i,a(O),{})}}function Ql(i,a){return function(d,O){var k;if(d===v&&O===v)return a;if(d!==v&&(k=d),O!==v){if(k===v)return O;"string"==typeof d||"string"==typeof O?(d=No(d),O=No(O)):(d=Mc(d),O=Mc(O)),k=i(d,O)}return k}}function Jl(i){return Ys((function(a){return a=nr(a,ji(Mn())),Jn((function(d){var O=this;return i(a,(function(k){return dr(k,O,d)}))}))}))}function Xl(i,a){var d=(a=a===v?" ":No(a)).length;if(d<2)return d?Wl(a,i):a;var O=Wl(a,so(i/qo(a)));return qi(a)?Na(Fi(O),0,i).join(""):O.slice(0,i)}function uh(i){return function(a,d,O){return O&&"number"!=typeof O&&zi(a,d,O)&&(d=O=v),a=Qs(a),d===v?(d=a,a=0):d=Qs(d),function Zd(i,a,d,O){for(var k=-1,oe=lr(so((a-i)/(d||1)),0),Se=ot(oe);oe--;)Se[O?oe:++k]=i,i+=d;return Se}(a,d,O=O===v?a<d?1:-1:Qs(O),i)}}function Iu(i){return function(a,d){return"string"==typeof a&&"string"==typeof d||(a=yi(a),d=yi(d)),i(a,d)}}function Ic(i,a,d,O,k,oe,Se,Be,Ge,vt){var _t=8&a;a|=_t?32:64,4&(a&=~(_t?64:32))||(a&=-4);var Xn=[i,a,k,_t?oe:v,_t?Se:v,_t?v:oe,_t?v:Se,Be,Ge,vt],Sn=d.apply(v,Xn);return Tl(i)&&yh(Sn,Xn),Sn.placeholder=O,Ch(Sn,i,a)}function Ru(i){var a=Rr[i];return function(d,O){if(d=yi(d),(O=null==O?0:Bn(Zn(O),292))&&Za(d)){var k=(_r(d)+"e").split("e");return+((k=(_r(a(k[0]+"e"+(+k[1]+O)))+"e").split("e"))[0]+"e"+(+k[1]-O))}return a(d)}}var el=gs&&1/ds(new gs([,-0]))[1]==mt?function(i){return new gs(i)}:Ad;function Rc(i){return function(a){var d=no(a);return d==Vn?As(a):d==Me?function za(Ne){var ct=-1,ot=Array(Ne.size);return Ne.forEach((function(Ht){ot[++ct]=[Ht,Ht]})),ot}(a):function Ui(Ne,ct){return nr(ct,(function(ot){return[ot,Ne[ot]]}))}(a,i(a))}}function Ws(i,a,d,O,k,oe,Se,Be){var Ge=2&a;if(!Ge&&"function"!=typeof i)throw new Si(de);var vt=O?O.length:0;if(vt||(a&=-97,O=k=v),Se=Se===v?Se:lr(Zn(Se),0),Be=Be===v?Be:Zn(Be),vt-=k?k.length:0,64&a){var _t=O,wt=k;O=k=v}var Gt=Ge?v:Ml(i),sn=[i,a,d,O,k,_t,wt,oe,Se,Be];if(Gt&&function hp(i,a){var d=i[1],O=a[1],k=d|O;if(!(k<131||(128==O&&8==d||128==O&&256==d&&i[7].length<=a[8]||384==O&&a[7].length<=a[8]&&8==d)))return i;1&O&&(i[2]=a[2],k|=1&d?0:4);var Be=a[3];if(Be){var Ge=i[3];i[3]=Ge?rh(Ge,Be,a[4]):Be,i[4]=Ge?Qi(i[3],H):a[4]}(Be=a[5])&&(i[5]=(Ge=i[5])?Dl(Ge,Be,a[6]):Be,i[6]=Ge?Qi(i[5],H):a[6]),(Be=a[7])&&(i[7]=Be),128&O&&(i[8]=null==i[8]?a[8]:Bn(i[8],a[8])),null==i[9]&&(i[9]=a[9]),i[0]=a[0],i[1]=k}(sn,Gt),i=sn[0],a=sn[1],d=sn[2],O=sn[3],k=sn[4],!(Be=sn[9]=sn[9]===v?Ge?0:i.length:lr(sn[9]-vt,0))&&24&a&&(a&=-25),a&&1!=a)On=8==a||16==a?function sp(i,a,d){var O=ql(i);return function k(){for(var oe=arguments.length,Se=ot(oe),Be=oe,Ge=nl(k);Be--;)Se[Be]=arguments[Be];var vt=oe<3&&Se[0]!==Ge&&Se[oe-1]!==Ge?[]:Qi(Se,Ge);return(oe-=vt.length)<d?Ic(i,a,xu,k.placeholder,v,Se,vt,v,v,d-oe):dr(this&&this!==Br&&this instanceof k?O:i,this,Se)}}(i,a,Be):32!=a&&33!=a||k.length?xu.apply(v,sn):function xc(i,a,d,O){var k=1&a,oe=ql(i);return function Se(){for(var Be=-1,Ge=arguments.length,vt=-1,_t=O.length,wt=ot(_t+Ge),Gt=this&&this!==Br&&this instanceof Se?oe:i;++vt<_t;)wt[vt]=O[vt];for(;Ge--;)wt[vt++]=arguments[++Be];return dr(Gt,k?d:this,wt)}}(i,a,d,O);else var On=function ih(i,a,d){var O=1&a,k=ql(i);return function oe(){return(this&&this!==Br&&this instanceof oe?k:i).apply(O?d:this,arguments)}}(i,a,d);return Ch((Gt?Qd:yh)(On,sn),i,a)}function ch(i,a,d,O){return i===v||os(i,fi[d])&&!I.call(O,d)?a:i}function ap(i,a,d,O,k,oe){return Jr(i)&&Jr(a)&&(oe.set(a,i),bl(i,a,v,ap,oe),oe.delete(a)),i}function Fu(i){return du(i)?v:i}function dh(i,a,d,O,k,oe){var Se=1&d,Be=i.length,Ge=a.length;if(Be!=Ge&&!(Se&&Ge>Be))return!1;var vt=oe.get(i),_t=oe.get(a);if(vt&&_t)return vt==a&&_t==i;var wt=-1,Gt=!0,sn=2&d?new Us:v;for(oe.set(i,a),oe.set(a,i);++wt<Be;){var On=i[wt],Xn=a[wt];if(O)var Sn=Se?O(Xn,On,wt,a,i,oe):O(On,Xn,wt,i,a,oe);if(Sn!==v){if(Sn)continue;Gt=!1;break}if(sn){if(!Yo(a,(function(sr,jn){if(!la(sn,jn)&&(On===sr||k(On,sr,d,O,oe)))return sn.push(jn)}))){Gt=!1;break}}else if(On!==Xn&&!k(On,Xn,d,O,oe)){Gt=!1;break}}return oe.delete(i),oe.delete(a),Gt}function Ys(i){return Hc(vh(i,v,Sh),i+"")}function eu(i){return to(i,Wi,ku)}function Nu(i){return to(i,ko,ph)}var Ml=qa?function(i){return qa.get(i)}:Ad;function tl(i){for(var a=i.name+"",d=ms[a],O=I.call(ms,a)?d.length:0;O--;){var k=d[O],oe=k.func;if(null==oe||oe==i)return k.name}return a}function nl(i){return(I.call(q,"placeholder")?q:i).placeholder}function Mn(){var i=q.iteratee||hu;return i=i===hu?Gs:i,arguments.length?i(arguments[0],arguments[1]):i}function Sl(i,a){var d=i.__data__;return function mh(i){var a=typeof i;return"string"==a||"number"==a||"symbol"==a||"boolean"==a?"__proto__"!==i:null===i}(a)?d["string"==typeof a?"string":"hash"]:d.map}function tu(i){for(var a=Wi(i),d=a.length;d--;){var O=a[d],k=i[O];a[d]=[O,k,Bc(k)]}return a}function vs(i,a){var d=function Zo(Ne,ct){return null==Ne?v:Ne[ct]}(i,a);return jr(d)?d:v}var ku=Rs?function(i){return null==i?[]:(i=ar(i),Vr(Rs(i),(function(a){return Fr.call(i,a)})))}:Sf,ph=Rs?function(i){for(var a=[];i;)Ii(a,ku(i)),i=Dr(i);return a}:Sf,no=Wr;function nu(i,a,d){for(var O=-1,k=(a=Fa(a,i)).length,oe=!1;++O<k;){var Se=Ks(a[O]);if(!(oe=null!=i&&d(i,Se)))break;i=i[Se]}return oe||++O!=k?oe:!!(k=null==i?0:i.length)&&ju(k)&&ga(Se,k)&&(Un(i)||Nl(i))}function La(i){return"function"!=typeof i.constructor||Pl(i)?{}:Xi(Dr(i))}function o_(i){return Un(i)||Nl(i)||!!(pi&&i&&i[pi])}function ga(i,a){var d=typeof i;return!!(a=a??Rt)&&("number"==d||"symbol"!=d&&St.test(i))&&i>-1&&i%1==0&&i<a}function zi(i,a,d){if(!Jr(d))return!1;var O=typeof a;return!!("number"==O?vi(d)&&ga(a,d.length):"string"==O&&a in d)&&os(d[a],i)}function kc(i,a){if(Un(i))return!1;var d=typeof i;return!("number"!=d&&"symbol"!=d&&"boolean"!=d&&null!=i&&!lo(i))||on.test(i)||!dn.test(i)||null!=a&&i in ar(a)}function Tl(i){var a=tl(i),d=q[a];if("function"!=typeof d||!(a in Yt.prototype))return!1;if(i===d)return!0;var O=Ml(d);return!!O&&i===O[0]}(ks&&no(new ks(new ArrayBuffer(1)))!=xe||Ao&&no(new Ao)!=Vn||Ka&&no(Ka.resolve())!=Wn||gs&&no(new gs)!=Me||Ls&&no(new Ls)!=De)&&(no=function(i){var a=Wr(i),d=a==Kt?i.constructor:v,O=d?rl(d):"";if(O)switch(O){case Oa:return xe;case fl:return Vn;case pl:return Wn;case Qa:return Me;case _s:return De}return a});var _h=Oo?va:ic;function Pl(i){var a=i&&i.constructor;return i===("function"==typeof a&&a.prototype||fi)}function Bc(i){return i==i&&!Jr(i)}function Ba(i,a){return function(d){return null!=d&&d[i]===a&&(a!==v||i in ar(d))}}function vh(i,a,d){return a=lr(a===v?i.length-1:a,0),function(){for(var O=arguments,k=-1,oe=lr(O.length-a,0),Se=ot(oe);++k<oe;)Se[k]=O[a+k];k=-1;for(var Be=ot(a+1);++k<a;)Be[k]=O[k];return Be[a]=d(Se),dr(i,this,Be)}}function Zs(i,a){return a.length<2?i:Qr(i,Fo(a,0,-1))}function Ol(i,a){for(var d=i.length,O=Bn(a.length,d),k=Co(i);O--;){var oe=a[O];i[O]=ga(oe,d)?k[oe]:v}return i}function Vc(i,a){if(("constructor"!==a||"function"!=typeof i[a])&&"__proto__"!=a)return i[a]}var yh=wh(Qd),ru=Ul||function(i,a){return Br.setTimeout(i,a)},Hc=wh(np);function Ch(i,a,d){var O=a+"";return Hc(i,function cp(i,a){var d=a.length;if(!d)return i;var O=d-1;return a[O]=(d>1?"& ":"")+a[O],a=a.join(d>2?", ":" "),i.replace(Qt,"{\n/* [wrapped with "+a+"] */\n")}(O,function gp(i,a){return oi(Kn,(function(d){var O="_."+d[0];a&d[1]&&!xi(i,O)&&i.push(O)})),i.sort()}(function Fc(i){var a=i.match(Ae);return a?a[1].split(me):[]}(O),d)))}function wh(i){var a=0,d=0;return function(){var O=go(),k=16-(O-d);if(d=O,k>0){if(++a>=800)return arguments[0]}else a=0;return i.apply(v,arguments)}}function iu(i,a){var d=-1,O=i.length,k=O-1;for(a=a===v?O:a;++d<a;){var oe=bc(d,k),Se=i[oe];i[oe]=i[d],i[d]=Se}return i.length=a,i}var bh=function dp(i){var a=Hu(i,(function(O){return 500===d.size&&d.clear(),O})),d=a.cache;return a}((function(i){var a=[];return 46===i.charCodeAt(0)&&a.push(""),i.replace(qn,(function(d,O,k,oe){a.push(k?oe.replace(he,"$1"):O||d)})),a}));function Ks(i){if("string"==typeof i||lo(i))return i;var a=i+"";return"0"==a&&1/i==-mt?"-0":a}function rl(i){if(null!=i){try{return C.call(i)}catch{}try{return i+""}catch{}}return""}function ou(i){if(i instanceof Yt)return i.clone();var a=new ao(i.__wrapped__,i.__chain__);return a.__actions__=Co(i.__actions__),a.__index__=i.__index__,a.__values__=i.__values__,a}var Dh=Jn((function(i,a){return mi(i)?kt(i,Fn(a,1,mi,!0)):[]})),Mh=Jn((function(i,a){var d=is(a);return mi(d)&&(d=v),mi(i)?kt(i,Fn(a,1,mi,!0),Mn(d,2)):[]})),s_=Jn((function(i,a){var d=is(a);return mi(d)&&(d=v),mi(i)?kt(i,Fn(a,1,mi,!0),v,d):[]}));function mp(i,a,d){var O=null==i?0:i.length;if(!O)return-1;var k=null==d?0:Zn(d);return k<0&&(k=lr(O+k,0)),To(i,Mn(a,3),k)}function $c(i,a,d){var O=null==i?0:i.length;if(!O)return-1;var k=O-1;return d!==v&&(k=Zn(d),k=d<0?lr(O+k,0):Bn(k,O-1)),To(i,Mn(a,3),k,!0)}function Sh(i){return null!=i&&i.length?Fn(i,1):[]}function Gc(i){return i&&i.length?i[0]:v}var zc=Jn((function(i){var a=nr(i,Tu);return a.length&&a[0]===i[0]?Cl(a):[]})),Cp=Jn((function(i){var a=is(i),d=nr(i,Tu);return a===is(d)?a=v:d.pop(),d.length&&d[0]===i[0]?Cl(d,Mn(a,2)):[]})),gi=Jn((function(i){var a=is(i),d=nr(i,Tu);return(a="function"==typeof a?a:v)&&d.pop(),d.length&&d[0]===i[0]?Cl(d,v,a):[]}));function is(i){var a=null==i?0:i.length;return a?i[a-1]:v}var wp=Jn(Oh);function Oh(i,a){return i&&i.length&&a&&a.length?Yd(i,a):i}var Dp=Ys((function(i,a){var d=null==i?0:i.length,O=R(i,a);return tp(i,nr(a,(function(k){return ga(k,d)?+k:k})).sort(th)),O}));function Ah(i){return null==i?i:mo.call(i)}var il=Jn((function(i){return Ra(Fn(i,1,mi,!0))})),Tp=Jn((function(i){var a=is(i);return mi(a)&&(a=v),Ra(Fn(i,1,mi,!0),Mn(a,2))})),Qc=Jn((function(i){var a=is(i);return a="function"==typeof a?a:v,Ra(Fn(i,1,mi,!0),v,a)}));function Al(i){if(!i||!i.length)return[];var a=0;return i=Vr(i,(function(d){if(mi(d))return a=lr(d.length,a),!0})),Or(a,(function(d){return nr(i,P(d))}))}function Va(i,a){if(!i||!i.length)return[];var d=Al(i);return null==a?d:nr(d,(function(O){return dr(a,v,O)}))}var Bh=Jn((function(i,a){return mi(i)?kt(i,a):[]})),Xc=Jn((function(i){return Bi(Vr(i,mi))})),Op=Jn((function(i){var a=is(i);return mi(a)&&(a=v),Bi(Vr(i,mi),Mn(a,2))})),Ap=Jn((function(i){var a=is(i);return a="function"==typeof a?a:v,Bi(Vr(i,mi),v,a)})),Vh=Jn(Al),Ip=Jn((function(i){var a=i.length,d=a>1?i[a-1]:v;return d="function"==typeof d?(i.pop(),d):v,Va(i,d)}));function Hh(i){var a=q(i);return a.__chain__=!0,a}function Il(i,a){return a(i)}var Fp=Ys((function(i){var a=i.length,d=a?i[0]:0,O=this.__wrapped__,k=function(oe){return R(oe,i)};return!(a>1||this.__actions__.length)&&O instanceof Yt&&ga(d)?((O=O.slice(d,+d+(a?1:0))).__actions__.push({func:Il,args:[k],thisArg:v}),new ao(O,this.__chain__).thru((function(oe){return a&&!oe.length&&oe.push(v),oe}))):this.thru(k)})),Rl=Zl((function(i,a,d){I.call(i,d)?++i[d]:_(i,d,1)})),f_=sh(mp),$h=sh($c);function ed(i,a){return(Un(i)?oi:Lt)(i,Mn(a,3))}function Gh(i,a){return(Un(i)?Ai:Qn)(i,Mn(a,3))}var td=Zl((function(i,a,d){I.call(i,d)?i[d].push(a):_(i,d,[a])})),jp=Jn((function(i,a,d){var O=-1,k="function"==typeof a,oe=vi(i)?ot(i.length):[];return Lt(i,(function(Se){oe[++O]=k?dr(a,Se,d):Zt(Se,a,d)})),oe})),rd=Zl((function(i,a,d){_(i,d,a)}));function Ha(i,a){return(Un(i)?nr:Jf)(i,Mn(a,3))}var Gp=Zl((function(i,a,d){i[d?0:1].push(a)}),(function(){return[[],[]]})),Qp=Jn((function(i,a){if(null==i)return[];var d=a.length;return d>1&&zi(i,a[0],a[1])?a=[]:d>2&&zi(a[0],a[1],a[2])&&(a=[a[0]]),Eu(i,Fn(a,1),[])})),id=da||function(){return Br.Date.now()};function od(i,a,d){return a=d?v:a,Ws(i,128,v,v,v,v,a=i&&null==a?i.length:a)}function Jp(i,a){var d;if("function"!=typeof a)throw new Si(de);return i=Zn(i),function(){return--i>0&&(d=a.apply(this,arguments)),i<=1&&(a=v),d}}var Vu=Jn((function(i,a,d){var O=1;if(d.length){var k=Qi(d,nl(Vu));O|=32}return Ws(i,O,a,d,k)})),Xp=Jn((function(i,a,d){var O=3;if(d.length){var k=Qi(d,nl(Xp));O|=32}return Ws(a,O,i,d,k)}));function ad(i,a,d){var O,k,oe,Se,Be,Ge,vt=0,_t=!1,wt=!1,Gt=!0;if("function"!=typeof i)throw new Si(de);function sn(Xr){var ai=O,Cs=k;return O=k=v,vt=Xr,Se=i.apply(Cs,ai)}function On(Xr){return vt=Xr,Be=ru(sr,a),_t?sn(Xr):Se}function Sn(Xr){var ai=Xr-Ge;return Ge===v||ai>=a||ai<0||wt&&Xr-vt>=oe}function sr(){var Xr=id();if(Sn(Xr))return jn(Xr);Be=ru(sr,function Xn(Xr){var al=a-(Xr-Ge);return wt?Bn(al,oe-(Xr-vt)):al}(Xr))}function jn(Xr){return Be=v,Gt&&O?sn(Xr):(O=k=v,Se)}function Oi(){var Xr=id(),ai=Sn(Xr);if(O=arguments,k=this,Ge=Xr,ai){if(Be===v)return On(Ge);if(wt)return Tc(Be),Be=ru(sr,a),sn(Ge)}return Be===v&&(Be=ru(sr,a)),Se}return a=yi(a)||0,Jr(d)&&(_t=!!d.leading,oe=(wt="maxWait"in d)?lr(yi(d.maxWait)||0,a):oe,Gt="trailing"in d?!!d.trailing:Gt),Oi.cancel=function Yi(){Be!==v&&Tc(Be),vt=0,O=Ge=k=Be=v},Oi.flush=function Sr(){return Be===v?Se:jn(id())},Oi}var eg=Jn((function(i,a){return ft(i,1,a)})),tg=Jn((function(i,a,d){return ft(i,yi(a)||0,d)}));function Hu(i,a){if("function"!=typeof i||null!=a&&"function"!=typeof a)throw new Si(de);var d=function(){var O=arguments,k=a?a.apply(this,O):O[0],oe=d.cache;if(oe.has(k))return oe.get(k);var Se=i.apply(this,O);return d.cache=oe.set(k,Se)||oe,Se};return d.cache=new(Hu.Cache||zr),d}function cu(i){if("function"!=typeof i)throw new Si(de);return function(){var a=arguments;switch(a.length){case 0:return!i.call(this);case 1:return!i.call(this,a[0]);case 2:return!i.call(this,a[0],a[1]);case 3:return!i.call(this,a[0],a[1],a[2])}return!i.apply(this,a)}}Hu.Cache=zr;var rg=Xd((function(i,a){var d=(a=1==a.length&&Un(a[0])?nr(a[0],ji(Mn())):nr(Fn(a,1),ji(Mn()))).length;return Jn((function(O){for(var k=-1,oe=Bn(O.length,d);++k<oe;)O[k]=a[k].call(this,O[k]);return dr(i,this,O)}))})),ld=Jn((function(i,a){var d=Qi(a,nl(ld));return Ws(i,32,v,a,d)})),Wh=Jn((function(i,a){var d=Qi(a,nl(Wh));return Ws(i,64,v,a,d)})),Yh=Ys((function(i,a){return Ws(i,256,v,v,v,a)}));function os(i,a){return i===a||i!=i&&a!=a}var cg=Iu(_o),dg=Iu((function(i,a){return i>=a})),Nl=un(function(){return arguments}())?un:function(i){return Zr(i)&&I.call(i,"callee")&&!Fr.call(i,"callee")},Un=ot.isArray,Jh=Wo?ji(Wo):function Tn(i){return Zr(i)&&Wr(i)==se};function vi(i){return null!=i&&ju(i.length)&&!va(i)}function mi(i){return Zr(i)&&vi(i)}var qs=hl||ic,hg=Ps?ji(Ps):function pr(i){return Zr(i)&&Wr(i)==Cr};function Uu(i){if(!Zr(i))return!1;var a=Wr(i);return a==ui||"[object DOMException]"==a||"string"==typeof i.message&&"string"==typeof i.name&&!du(i)}function va(i){if(!Jr(i))return!1;var a=Wr(i);return a==wr||a==$n||"[object AsyncFunction]"==a||"[object Proxy]"==a}function ol(i){return"number"==typeof i&&i==Zn(i)}function ju(i){return"number"==typeof i&&i>-1&&i%1==0&&i<=Rt}function Jr(i){var a=typeof i;return null!=i&&("object"==a||"function"==a)}function Zr(i){return null!=i&&"object"==typeof i}var Xh=mr?ji(mr):function vo(i){return Zr(i)&&no(i)==Vn};function cd(i){return"number"==typeof i||Zr(i)&&Wr(i)==vr}function du(i){if(!Zr(i)||Wr(i)!=Kt)return!1;var a=Dr(i);if(null===a)return!0;var d=I.call(a,"constructor")&&a.constructor;return"function"==typeof d&&d instanceof d&&C.call(d)==rt}var $u=ls?ji(ls):function bu(i){return Zr(i)&&Wr(i)==fn},Gu=ho?ji(ho):function wl(i){return Zr(i)&&no(i)==Me};function dd(i){return"string"==typeof i||!Un(i)&&Zr(i)&&Wr(i)==$e}function lo(i){return"symbol"==typeof i||Zr(i)&&Wr(i)==je}var kl=Ei?ji(Ei):function Pi(i){return Zr(i)&&ju(i.length)&&!!gr[Wr(i)]},rf=Iu(Ia),zu=Iu((function(i,a){return i<=a}));function ss(i){if(!i)return[];if(vi(i))return dd(i)?Fi(i):Co(i);if(Ni&&i[Ni])return function ul(Ne){for(var ct,ot=[];!(ct=Ne.next()).done;)ot.push(ct.value);return ot}(i[Ni]());var a=no(i);return(a==Vn?As:a==Me?ds:Bl)(i)}function Qs(i){return i?(i=yi(i))===mt||i===-mt?17976931348623157e292*(i<0?-1:1):i==i?i:0:0===i?i:0}function Zn(i){var a=Qs(i),d=a%1;return a==a?d?a-d:a:0}function Wu(i){return i?Y(Zn(i),0,_n):0}function yi(i){if("number"==typeof i)return i;if(lo(i))return NaN;if(Jr(i)){var a="function"==typeof i.valueOf?i.valueOf():i;i=Jr(a)?a+"":a}if("string"!=typeof i)return 0===i?i:+i;i=io(i);var d=ut.test(i);return d||Ye.test(i)?co(i.slice(2),d?2:8):jt.test(i)?NaN:+i}function Yu(i){return zs(i,ko(i))}function _r(i){return null==i?"":No(i)}var C_=Kl((function(i,a){if(Pl(a)||vi(a))zs(a,Wi(a),i);else for(var d in a)I.call(a,d)&&xt(i,d,a[d])})),hd=Kl((function(i,a){zs(a,ko(a),i)})),fd=Kl((function(i,a,d,O){zs(a,ko(a),i,O)})),Zu=Kl((function(i,a,d,O){zs(a,Wi(a),i,O)})),Ku=Ys(R),gd=Jn((function(i,a){i=ar(i);var d=-1,O=a.length,k=O>2?a[2]:v;for(k&&zi(a[0],a[1],k)&&(O=1);++d<O;)for(var oe=a[d],Se=ko(oe),Be=-1,Ge=Se.length;++Be<Ge;){var vt=Se[Be],_t=i[vt];(_t===v||os(_t,fi[vt])&&!I.call(i,vt))&&(i[vt]=oe[vt])}return i})),md=Jn((function(i){return i.push(v,ap),dr(Mg,v,i)}));function lf(i,a,d){var O=null==i?v:Qr(i,a);return O===v?d:O}function qu(i,a){return null!=i&&nu(i,a,js)}var Dg=lh((function(i,a,d){null!=a&&"function"!=typeof a.toString&&(a=Te.call(a)),i[a]=d}),Pd(ri)),_d=lh((function(i,a,d){null!=a&&"function"!=typeof a.toString&&(a=Te.call(a)),I.call(i,a)?i[a].push(d):i[a]=[d]}),Mn),E_=Jn(Zt);function Wi(i){return vi(i)?A(i):$i(i)}function ko(i){return vi(i)?A(i,!0):function zl(i){if(!Jr(i))return function fp(i){var a=[];if(null!=i)for(var d in ar(i))a.push(d);return a}(i);var a=Pl(i),d=[];for(var O in i)"constructor"==O&&(a||!I.call(i,O))||d.push(O);return d}(i)}var S_=Kl((function(i,a,d){bl(i,a,d)})),Mg=Kl((function(i,a,d,O){bl(i,a,d,O)})),T_=Ys((function(i,a){var d={};if(null==i)return d;var O=!1;a=nr(a,(function(oe){return oe=Fa(oe,i),O||(O=oe.length>1),oe})),zs(i,Nu(i),d),O&&(d=Ce(d,7,Fu));for(var k=a.length;k--;)Gi(d,a[k]);return d})),O_=Ys((function(i,a){return null==i?{}:function r_(i,a){return ep(i,a,(function(d,O){return qu(i,O)}))}(i,a)}));function ya(i,a){if(null==i)return{};var d=nr(Nu(i),(function(O){return[O]}));return a=Mn(a),ep(i,d,(function(O,k){return a(O,k[0])}))}var Qu=Rc(Wi),yd=Rc(ko);function Bl(i){return null==i?[]:aa(i,Wi(i))}var Ju=ka((function(i,a,d){return a=a.toLowerCase(),i+(d?sl(a):a)}));function sl(i){return Sd(_r(i).toLowerCase())}function Xu(i){return(i=_r(i))&&i.replace(At,Ma).replace(ia,"")}var ff=ka((function(i,a,d){return i+(d?"-":"")+a.toLowerCase()})),pf=ka((function(i,a,d){return i+(d?" ":"")+a.toLowerCase()})),bd=oh("toLowerCase"),mf=ka((function(i,a,d){return i+(d?"_":"")+a.toLowerCase()})),_f=ka((function(i,a,d){return i+(d?" ":"")+Sd(a)})),Lg=ka((function(i,a,d){return i+(d?" ":"")+a.toUpperCase()})),Sd=oh("toUpperCase");function wf(i,a,d){return i=_r(i),(a=d?v:a)===v?function us(Ne){return Hi.test(Ne)}(i)?function Wa(Ne){return Ne.match(bo)||[]}(i):function sa(Ne){return Ne.match(X)||[]}(i):i.match(a)||[]}var Td=Jn((function(i,a){try{return dr(i,v,a)}catch(d){return Uu(d)?d:new Dn(d)}})),Bg=Ys((function(i,a){return oi(a,(function(d){d=Ks(d),_(i,d,Vu(i[d],i))})),i}));function Pd(i){return function(){return i}}var Df=ah(),Hg=ah(!0);function ri(i){return i}function hu(i){return Gs("function"==typeof i?i:Ce(i,1))}var I_=Jn((function(i,a){return function(d){return Zt(d,i,a)}})),Mf=Jn((function(i,a){return function(d){return Zt(i,d,a)}}));function Od(i,a,d){var O=Wi(a),k=Ti(a,O);null==d&&(!Jr(a)||!k.length&&O.length)&&(d=a,a=i,i=this,k=Ti(a,Wi(a)));var oe=!(Jr(d)&&"chain"in d&&!d.chain),Se=va(i);return oi(k,(function(Be){var Ge=a[Be];i[Be]=Ge,Se&&(i.prototype[Be]=function(){var vt=this.__chain__;if(oe||vt){var _t=i(this.__wrapped__),wt=_t.__actions__=Co(this.__actions__);return wt.push({func:Ge,args:arguments,thisArg:i}),_t.__chain__=vt,_t}return Ge.apply(i,Ii([this.value()],arguments))})})),i}function Ad(){}var Gg=Jl(nr),zg=Jl(Ur),tc=Jl(Yo);function nc(i){return kc(i)?P(Ks(i)):function i_(i){return function(a){return Qr(a,i)}}(i)}var R_=uh(),Id=uh(!0);function Sf(){return[]}function ic(){return!1}var sc=Ql((function(i,a){return i+a}),0),fu=Ru("ceil"),Wg=Ql((function(i,a){return i/a}),1),Fd=Ru("floor"),qg=Ql((function(i,a){return i*a}),1),N_=Ru("round"),Qg=Ql((function(i,a){return i-a}),0);return q.after=function p_(i,a){if("function"!=typeof a)throw new Si(de);return i=Zn(i),function(){if(--i<1)return a.apply(this,arguments)}},q.ary=od,q.assign=C_,q.assignIn=hd,q.assignInWith=fd,q.assignWith=Zu,q.at=Ku,q.before=Jp,q.bind=Vu,q.bindAll=Bg,q.bindKey=Xp,q.castArray=function Kh(){if(!arguments.length)return[];var i=arguments[0];return Un(i)?i:[i]},q.chain=Hh,q.chunk=function ma(i,a,d){a=(d?zi(i,a,d):a===v)?1:lr(Zn(a),0);var O=null==i?0:i.length;if(!O||a<1)return[];for(var k=0,oe=0,Se=ot(so(O/a));k<O;)Se[oe++]=Fo(i,k,k+=a);return Se},q.compact=function su(i){for(var a=-1,d=null==i?0:i.length,O=0,k=[];++a<d;){var oe=i[a];oe&&(k[O++]=oe)}return k},q.concat=function Eh(){var i=arguments.length;if(!i)return[];for(var a=ot(i-1),d=arguments[0],O=i;O--;)a[O-1]=arguments[O];return Ii(Un(d)?Co(d):[d],Fn(a,1))},q.cond=function bf(i){var a=null==i?0:i.length,d=Mn();return i=a?nr(i,(function(O){if("function"!=typeof O[1])throw new Si(de);return[d(O[0]),O[1]]})):[],Jn((function(O){for(var k=-1;++k<a;){var oe=i[k];if(dr(oe[0],this,O))return dr(oe[1],this,O)}}))},q.conforms=function Vg(i){return function Pe(i){var a=Wi(i);return function(d){return Ke(d,i,a)}}(Ce(i,1))},q.constant=Pd,q.countBy=Rl,q.create=function pd(i,a){var d=Xi(i);return null==a?d:c(d,a)},q.curry=function sd(i,a,d){var O=Ws(i,8,v,v,v,v,v,a=d?v:a);return O.placeholder=sd.placeholder,O},q.curryRight=function zh(i,a,d){var O=Ws(i,16,v,v,v,v,v,a=d?v:a);return O.placeholder=zh.placeholder,O},q.debounce=ad,q.defaults=gd,q.defaultsDeep=md,q.defer=eg,q.delay=tg,q.difference=Dh,q.differenceBy=Mh,q.differenceWith=s_,q.drop=function a_(i,a,d){var O=null==i?0:i.length;return O?Fo(i,(a=d||a===v?1:Zn(a))<0?0:a,O):[]},q.dropRight=function l_(i,a,d){var O=null==i?0:i.length;return O?Fo(i,0,(a=O-(a=d||a===v?1:Zn(a)))<0?0:a):[]},q.dropRightWhile=function Uc(i,a){return i&&i.length?Yl(i,Mn(a,3),!0,!0):[]},q.dropWhile=function jc(i,a){return i&&i.length?Yl(i,Mn(a,3),!0):[]},q.fill=function u_(i,a,d,O){var k=null==i?0:i.length;return k?(d&&"number"!=typeof d&&zi(i,a,d)&&(d=0,O=k),function Rn(i,a,d,O){var k=i.length;for((d=Zn(d))<0&&(d=-d>k?0:k+d),(O=O===v||O>k?k:Zn(O))<0&&(O+=k),O=d>O?0:Wu(O);d<O;)i[d++]=a;return i}(i,a,d,O)):[]},q.filter=function Bp(i,a){return(Un(i)?Vr:fr)(i,Mn(a,3))},q.flatMap=function Vp(i,a){return Fn(Ha(i,a),1)},q.flatMapDeep=function Hp(i,a){return Fn(Ha(i,a),mt)},q.flatMapDepth=function Up(i,a,d){return d=d===v?1:Zn(d),Fn(Ha(i,a),d)},q.flatten=Sh,q.flattenDeep=function _p(i){return null!=i&&i.length?Fn(i,mt):[]},q.flattenDepth=function vp(i,a){return null!=i&&i.length?Fn(i,a=a===v?1:Zn(a)):[]},q.flip=function ys(i){return Ws(i,512)},q.flow=Df,q.flowRight=Hg,q.fromPairs=function yp(i){for(var a=-1,d=null==i?0:i.length,O={};++a<d;){var k=i[a];O[k[0]]=k[1]}return O},q.functions=function b_(i){return null==i?[]:Ti(i,Wi(i))},q.functionsIn=function Eg(i){return null==i?[]:Ti(i,ko(i))},q.groupBy=td,q.initial=function Th(i){return null!=i&&i.length?Fo(i,0,-1):[]},q.intersection=zc,q.intersectionBy=Cp,q.intersectionWith=gi,q.invert=Dg,q.invertBy=_d,q.invokeMap=jp,q.iteratee=hu,q.keyBy=rd,q.keys=Wi,q.keysIn=ko,q.map=Ha,q.mapKeys=function D_(i,a){var d={};return a=Mn(a,3),Nr(i,(function(O,k,oe){_(d,a(O,k,oe),O)})),d},q.mapValues=function M_(i,a){var d={};return a=Mn(a,3),Nr(i,(function(O,k,oe){_(d,k,a(O,k,oe))})),d},q.matches=function Ug(i){return zd(Ce(i,1))},q.matchesProperty=function jg(i,a){return Wd(i,Ce(a,1))},q.memoize=Hu,q.merge=S_,q.mergeWith=Mg,q.method=I_,q.methodOf=Mf,q.mixin=Od,q.negate=cu,q.nthArg=function xd(i){return i=Zn(i),Jn((function(a){return Xf(a,i)}))},q.omit=T_,q.omitBy=function P_(i,a){return ya(i,cu(Mn(a)))},q.once=function ng(i){return Jp(2,i)},q.orderBy=function $p(i,a,d,O){return null==i?[]:(Un(a)||(a=null==a?[]:[a]),Un(d=O?v:d)||(d=null==d?[]:[d]),Eu(i,a,d))},q.over=Gg,q.overArgs=rg,q.overEvery=zg,q.overSome=tc,q.partial=ld,q.partialRight=Wh,q.partition=Gp,q.pick=O_,q.pickBy=ya,q.property=nc,q.propertyOf=function rc(i){return function(a){return null==i?v:Qr(i,a)}},q.pull=wp,q.pullAll=Oh,q.pullAllBy=function bp(i,a,d){return i&&i.length&&a&&a.length?Yd(i,a,Mn(d,2)):i},q.pullAllWith=function Ep(i,a,d){return i&&i.length&&a&&a.length?Yd(i,a,v,d):i},q.pullAt=Dp,q.range=R_,q.rangeRight=Id,q.rearg=Yh,q.reject=function Yp(i,a){return(Un(i)?Vr:fr)(i,cu(Mn(a,3)))},q.remove=function c_(i,a){var d=[];if(!i||!i.length)return d;var O=-1,k=[],oe=i.length;for(a=Mn(a,3);++O<oe;){var Se=i[O];a(Se,O,i)&&(d.push(Se),k.push(O))}return tp(i,k),d},q.rest=function ig(i,a){if("function"!=typeof i)throw new Si(de);return Jn(i,a=a===v?a:Zn(a))},q.reverse=Ah,q.sampleSize=function Kp(i,a,d){return a=(d?zi(i,a,d):a===v)?1:Zn(a),(Un(i)?fe:qd)(i,a)},q.set=function Sg(i,a,d){return null==i?i:yo(i,a,d)},q.setWith=function cf(i,a,d,O){return O="function"==typeof O?O:v,null==i?i:yo(i,a,d,O)},q.shuffle=function Fl(i){return(Un(i)?be:rp)(i)},q.slice=function au(i,a,d){var O=null==i?0:i.length;return O?(d&&"number"!=typeof d&&zi(i,a,d)?(a=0,d=O):(a=null==a?0:Zn(a),d=d===v?O:Zn(d)),Fo(i,a,d)):[]},q.sortBy=Qp,q.sortedUniq=function Nh(i){return i&&i.length?Jd(i):[]},q.sortedUniqBy=function Kc(i,a){return i&&i.length?Jd(i,Mn(a,2)):[]},q.split=function Rg(i,a,d){return d&&"number"!=typeof d&&zi(i,a,d)&&(a=d=v),(d=d===v?_n:d>>>0)?(i=_r(i))&&("string"==typeof a||null!=a&&!$u(a))&&!(a=No(a))&&qi(i)?Na(Fi(i),0,d):i.split(a,d):[]},q.spread=function og(i,a){if("function"!=typeof i)throw new Si(de);return a=null==a?0:lr(Zn(a),0),Jn((function(d){var O=d[a],k=Na(d,0,a);return O&&Ii(k,O),dr(i,this,k)}))},q.tail=function d_(i){var a=null==i?0:i.length;return a?Fo(i,1,a):[]},q.take=function Sp(i,a,d){return i&&i.length?Fo(i,0,(a=d||a===v?1:Zn(a))<0?0:a):[]},q.takeRight=function qc(i,a,d){var O=null==i?0:i.length;return O?Fo(i,(a=O-(a=d||a===v?1:Zn(a)))<0?0:a,O):[]},q.takeRightWhile=function kh(i,a){return i&&i.length?Yl(i,Mn(a,3),!1,!0):[]},q.takeWhile=function Lh(i,a){return i&&i.length?Yl(i,Mn(a,3)):[]},q.tap=function Rp(i,a){return a(i),i},q.throttle=function sg(i,a,d){var O=!0,k=!0;if("function"!=typeof i)throw new Si(de);return Jr(d)&&(O="leading"in d?!!d.leading:O,k="trailing"in d?!!d.trailing:k),ad(i,a,{leading:O,maxWait:a,trailing:k})},q.thru=Il,q.toArray=ss,q.toPairs=Qu,q.toPairsIn=yd,q.toPath=function Ca(i){return Un(i)?nr(i,Ks):lo(i)?[i]:Co(bh(_r(i)))},q.toPlainObject=Yu,q.transform=function Cd(i,a,d){var O=Un(i),k=O||qs(i)||kl(i);if(a=Mn(a,4),null==d){var oe=i&&i.constructor;d=k?O?new oe:[]:Jr(i)&&va(oe)?Xi(Dr(i)):{}}return(k?oi:Nr)(i,(function(Se,Be,Ge){return a(d,Se,Be,Ge)})),d},q.unary=function Hn(i){return od(i,1)},q.union=il,q.unionBy=Tp,q.unionWith=Qc,q.uniq=function Bu(i){return i&&i.length?Ra(i):[]},q.uniqBy=function Pp(i,a){return i&&i.length?Ra(i,Mn(a,2)):[]},q.uniqWith=function Jc(i,a){return a="function"==typeof a?a:v,i&&i.length?Ra(i,v,a):[]},q.unset=function Tg(i,a){return null==i||Gi(i,a)},q.unzip=Al,q.unzipWith=Va,q.update=function Ua(i,a,d){return null==i?i:Mu(i,a,Sc(d))},q.updateWith=function df(i,a,d,O){return O="function"==typeof O?O:v,null==i?i:Mu(i,a,Sc(d),O)},q.values=Bl,q.valuesIn=function Pg(i){return null==i?[]:aa(i,ko(i))},q.without=Bh,q.words=wf,q.wrap=function Zh(i,a){return ld(Sc(a),i)},q.xor=Xc,q.xorBy=Op,q.xorWith=Ap,q.zip=Vh,q.zipObject=function xl(i,a){return El(i||[],a||[],xt)},q.zipObjectDeep=function xp(i,a){return El(i||[],a||[],yo)},q.zipWith=Ip,q.entries=Qu,q.entriesIn=yd,q.extend=hd,q.extendWith=fd,Od(q,q),q.add=sc,q.attempt=Td,q.camelCase=Ju,q.capitalize=sl,q.ceil=fu,q.clamp=function hf(i,a,d){return d===v&&(d=a,a=v),d!==v&&(d=(d=yi(d))==d?d:0),a!==v&&(a=(a=yi(a))==a?a:0),Y(yi(i),a,d)},q.clone=function qh(i){return Ce(i,4)},q.cloneDeep=function lg(i){return Ce(i,5)},q.cloneDeepWith=function Qh(i,a){return Ce(i,5,a="function"==typeof a?a:v)},q.cloneWith=function ag(i,a){return Ce(i,4,a="function"==typeof a?a:v)},q.conformsTo=function ug(i,a){return null==a||Ke(i,a,Wi(a))},q.deburr=Xu,q.defaultTo=function Ef(i,a){return null==i||i!=i?a:i},q.divide=Wg,q.endsWith=function Vl(i,a,d){i=_r(i),a=No(a);var O=i.length,k=d=d===v?O:Y(Zn(d),0,O);return(d-=a.length)>=0&&i.slice(d,k)==a},q.eq=os,q.escape=function wd(i){return(i=_r(i))&&cn.test(i)?i.replace(Dt,Ri):i},q.escapeRegExp=function ec(i){return(i=_r(i))&&Yn.test(i)?i.replace(yr,"\\$&"):i},q.every=function uu(i,a,d){var O=Un(i)?Ur:ln;return d&&zi(i,a,d)&&(a=v),O(i,Mn(a,3))},q.find=f_,q.findIndex=mp,q.findKey=function w_(i,a){return fo(i,Mn(a,3),Nr)},q.findLast=$h,q.findLastIndex=$c,q.findLastKey=function yg(i,a){return fo(i,Mn(a,3),ts)},q.floor=Fd,q.forEach=ed,q.forEachRight=Gh,q.forIn=function Cg(i,a){return null==i?i:si(i,Mn(a,3),ko)},q.forInRight=function wg(i,a){return null==i?i:Li(i,Mn(a,3),ko)},q.forOwn=function bg(i,a){return i&&Nr(i,Mn(a,3))},q.forOwnRight=function af(i,a){return i&&ts(i,Mn(a,3))},q.get=lf,q.gt=cg,q.gte=dg,q.has=function uf(i,a){return null!=i&&nu(i,a,xa)},q.hasIn=qu,q.head=Gc,q.identity=ri,q.includes=function nd(i,a,d,O){i=vi(i)?i:Bl(i),d=d&&!O?Zn(d):0;var k=i.length;return d<0&&(d=lr(k+d,0)),dd(i)?d<=k&&i.indexOf(a,d)>-1:!!k&&po(i,a,d)>-1},q.indexOf=function Lu(i,a,d){var O=null==i?0:i.length;if(!O)return-1;var k=null==d?0:Zn(d);return k<0&&(k=lr(O+k,0)),po(i,a,k)},q.inRange=function Og(i,a,d){return a=Qs(a),d===v?(d=a,a=0):d=Qs(d),function $s(i,a,d){return i>=Bn(a,d)&&i<lr(a,d)}(i=yi(i),a,d)},q.invoke=E_,q.isArguments=Nl,q.isArray=Un,q.isArrayBuffer=Jh,q.isArrayLike=vi,q.isArrayLikeObject=mi,q.isBoolean=function ud(i){return!0===i||!1===i||Zr(i)&&Wr(i)==Ir},q.isBuffer=qs,q.isDate=hg,q.isElement=function g_(i){return Zr(i)&&1===i.nodeType&&!du(i)},q.isEmpty=function m_(i){if(null==i)return!0;if(vi(i)&&(Un(i)||"string"==typeof i||"function"==typeof i.splice||qs(i)||kl(i)||Nl(i)))return!i.length;var a=no(i);if(a==Vn||a==Me)return!i.size;if(Pl(i))return!$i(i).length;for(var d in i)if(I.call(i,d))return!1;return!0},q.isEqual=function __(i,a){return Yr(i,a)},q.isEqualWith=function fg(i,a,d){var O=(d="function"==typeof d?d:v)?d(i,a):v;return O===v?Yr(i,a,v,d):!!O},q.isError=Uu,q.isFinite=function v_(i){return"number"==typeof i&&Za(i)},q.isFunction=va,q.isInteger=ol,q.isLength=ju,q.isMap=Xh,q.isMatch=function ef(i,a){return i===a||rs(i,a,tu(a))},q.isMatchWith=function pg(i,a,d){return d="function"==typeof d?d:v,rs(i,a,tu(a),d)},q.isNaN=function gg(i){return cd(i)&&i!=+i},q.isNative=function mg(i){if(_h(i))throw new Dn("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return jr(i)},q.isNil=function vg(i){return null==i},q.isNull=function _g(i){return null===i},q.isNumber=cd,q.isObject=Jr,q.isObjectLike=Zr,q.isPlainObject=du,q.isRegExp=$u,q.isSafeInteger=function tf(i){return ol(i)&&i>=-Rt&&i<=Rt},q.isSet=Gu,q.isString=dd,q.isSymbol=lo,q.isTypedArray=kl,q.isUndefined=function y_(i){return i===v},q.isWeakMap=function Ll(i){return Zr(i)&&no(i)==De},q.isWeakSet=function nf(i){return Zr(i)&&"[object WeakSet]"==Wr(i)},q.join=function Ph(i,a){return null==i?"":Fs.call(i,a)},q.kebabCase=ff,q.last=is,q.lastIndexOf=function Wc(i,a,d){var O=null==i?0:i.length;if(!O)return-1;var k=O;return d!==v&&(k=(k=Zn(d))<0?lr(O+k,0):Bn(k,O-1)),a==a?function Ko(Ne,ct,ot){for(var Ht=ot+1;Ht--;)if(Ne[Ht]===ct)return Ht;return Ht}(i,a,k):To(i,D,k,!0)},q.lowerCase=pf,q.lowerFirst=bd,q.lt=rf,q.lte=zu,q.max=function Af(i){return i&&i.length?mn(i,ri,_o):v},q.maxBy=function Yg(i,a){return i&&i.length?mn(i,Mn(a,2),_o):v},q.mean=function Zg(i){return T(i,ri)},q.meanBy=function pu(i,a){return T(i,Mn(a,2))},q.min=function Kg(i){return i&&i.length?mn(i,ri,Ia):v},q.minBy=function F_(i,a){return i&&i.length?mn(i,Mn(a,2),Ia):v},q.stubArray=Sf,q.stubFalse=ic,q.stubObject=function Tf(){return{}},q.stubString=function Pf(){return""},q.stubTrue=function Of(){return!0},q.multiply=qg,q.nth=function Yc(i,a){return i&&i.length?Xf(i,Zn(a)):v},q.noConflict=function $g(){return Br._===this&&(Br._=gt),this},q.noop=Ad,q.now=id,q.pad=function Ed(i,a,d){i=_r(i);var O=(a=Zn(a))?qo(i):0;if(!a||O>=a)return i;var k=(a-O)/2;return Xl(Ya(k),d)+i+Xl(so(k),d)},q.padEnd=function gf(i,a,d){i=_r(i);var O=(a=Zn(a))?qo(i):0;return a&&O<a?i+Xl(a-O,d):i},q.padStart=function Dd(i,a,d){i=_r(i);var O=(a=Zn(a))?qo(i):0;return a&&O<a?Xl(a-O,d)+i:i},q.parseInt=function xg(i,a,d){return d||null==a?a=0:a&&(a=+a),ha(_r(i).replace(gn,""),a||0)},q.random=function Ag(i,a,d){if(d&&"boolean"!=typeof d&&zi(i,a,d)&&(a=d=v),d===v&&("boolean"==typeof a?(d=a,a=v):"boolean"==typeof i&&(d=i,i=v)),i===v&&a===v?(i=0,a=1):(i=Qs(i),a===v?(a=i,i=0):a=Qs(a)),i>a){var O=i;i=a,a=O}if(d||i%1||a%1){var k=Ns();return Bn(i+k*(a-i+$o("1e-"+((k+"").length-1))),a)}return bc(i,a)},q.reduce=function zp(i,a,d){var O=Un(i)?So:Qe,k=arguments.length<3;return O(i,Mn(a,4),d,k,Lt)},q.reduceRight=function Wp(i,a,d){var O=Un(i)?wn:Qe,k=arguments.length<3;return O(i,Mn(a,4),d,k,Qn)},q.repeat=function A_(i,a,d){return a=(d?zi(i,a,d):a===v)?1:Zn(a),Wl(_r(i),a)},q.replace=function Ig(){var i=arguments,a=_r(i[0]);return i.length<3?a:a.replace(i[1],i[2])},q.result=function vd(i,a,d){var O=-1,k=(a=Fa(a,i)).length;for(k||(k=1,i=v);++O<k;){var oe=null==i?v:i[Ks(a[O])];oe===v&&(O=k,oe=d),i=va(oe)?oe.call(i):oe}return i},q.round=N_,q.runInContext=Ne,q.sample=function Zp(i){return(Un(i)?j:Kd)(i)},q.size=function _a(i){if(null==i)return 0;if(vi(i))return dd(i)?qo(i):i.length;var a=no(i);return a==Vn||a==Me?i.size:$i(i).length},q.snakeCase=mf,q.some=function qp(i,a,d){var O=Un(i)?Yo:Ec;return d&&zi(i,a,d)&&(a=v),O(i,Mn(a,3))},q.sortedIndex=function Zc(i,a){return Du(i,a)},q.sortedIndexBy=function xh(i,a,d){return Dc(i,a,Mn(d,2))},q.sortedIndexOf=function Ih(i,a){var d=null==i?0:i.length;if(d){var O=Du(i,a);if(O<d&&os(i[O],a))return O}return-1},q.sortedLastIndex=function Rh(i,a){return Du(i,a,!0)},q.sortedLastIndexBy=function Mp(i,a,d){return Dc(i,a,Mn(d,2),!0)},q.sortedLastIndexOf=function Fh(i,a){if(null!=i&&i.length){var O=Du(i,a,!0)-1;if(os(i[O],a))return O}return-1},q.startCase=_f,q.startsWith=function vf(i,a,d){return i=_r(i),d=null==d?0:Y(Zn(d),0,i.length),a=No(a),i.slice(d,d+a.length)==a},q.subtract=Qg,q.sum=function Jg(i){return i&&i.length?En(i,ri):0},q.sumBy=function Xg(i,a){return i&&i.length?En(i,Mn(a,2)):0},q.template=function Fg(i,a,d){var O=q.templateSettings;d&&zi(i,a,d)&&(a=v),i=_r(i),a=fd({},a,O,ch);var Be,Ge,k=fd({},a.imports,O.imports,ch),oe=Wi(k),Se=aa(k,oe),vt=0,_t=a.interpolate||$t,wt="__p += '",Gt=fs((a.escape||$t).source+"|"+_t.source+"|"+(_t===Nt?Ue:$t).source+"|"+(a.evaluate||$t).source+"|$","g"),sn="//# sourceURL="+(I.call(a,"sourceURL")?(a.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ms+"]")+"\n";i.replace(Gt,(function(Sn,sr,jn,Yi,Sr,Oi){return jn||(jn=Yi),wt+=i.slice(vt,Oi).replace(F,Mi),sr&&(Be=!0,wt+="' +\n__e("+sr+") +\n'"),Sr&&(Ge=!0,wt+="';\n"+Sr+";\n__p += '"),jn&&(wt+="' +\n((__t = ("+jn+")) == null ? '' : __t) +\n'"),vt=Oi+Sn.length,Sn})),wt+="';\n";var On=I.call(a,"variable")&&a.variable;if(On){if(U.test(On))throw new Dn("Invalid `variable` option passed into `_.template`")}else wt="with (obj) {\n"+wt+"\n}\n";wt=(Ge?wt.replace(Pt,""):wt).replace(It,"$1").replace(Ot,"$1;"),wt="function("+(On||"obj")+") {\n"+(On?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(Be?", __e = _.escape":"")+(Ge?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+wt+"return __p\n}";var Xn=Td((function(){return or(oe,sn+"return "+wt).apply(v,Se)}));if(Xn.source=wt,Uu(Xn))throw Xn;return Xn},q.times=function Rd(i,a){if((i=Zn(i))<1||i>Rt)return[];var d=_n,O=Bn(i,_n);a=Mn(a),i-=_n;for(var k=Or(O,a);++d<i;)a(d);return k},q.toFinite=Qs,q.toInteger=Zn,q.toLength=Wu,q.toLower=function Lo(i){return _r(i).toLowerCase()},q.toNumber=yi,q.toSafeInteger=function sf(i){return i?Y(Zn(i),-Rt,Rt):0===i?i:0},q.toString=_r,q.toUpper=function yf(i){return _r(i).toUpperCase()},q.trim=function Ng(i,a,d){if((i=_r(i))&&(d||a===v))return io(i);if(!i||!(a=No(a)))return i;var O=Fi(i),k=Fi(a);return Na(O,ua(O,k),hi(O,k)+1).join("")},q.trimEnd=function x_(i,a,d){if((i=_r(i))&&(d||a===v))return i.slice(0,Sa(i)+1);if(!i||!(a=No(a)))return i;var O=Fi(i);return Na(O,0,hi(O,Fi(a))+1).join("")},q.trimStart=function kg(i,a,d){if((i=_r(i))&&(d||a===v))return i.replace(gn,"");if(!i||!(a=No(a)))return i;var O=Fi(i);return Na(O,ua(O,Fi(a))).join("")},q.truncate=function Md(i,a){var d=30,O="...";if(Jr(a)){var k="separator"in a?a.separator:k;d="length"in a?Zn(a.length):d,O="omission"in a?No(a.omission):O}var oe=(i=_r(i)).length;if(qi(i)){var Se=Fi(i);oe=Se.length}if(d>=oe)return i;var Be=d-qo(O);if(Be<1)return O;var Ge=Se?Na(Se,0,Be).join(""):i.slice(0,Be);if(k===v)return Ge+O;if(Se&&(Be+=Ge.length-Be),$u(k)){if(i.slice(Be).search(k)){var vt,_t=Ge;for(k.global||(k=fs(k.source,_r(st.exec(k))+"g")),k.lastIndex=0;vt=k.exec(_t);)var wt=vt.index;Ge=Ge.slice(0,wt===v?Be:wt)}}else if(i.indexOf(No(k),Be)!=Be){var Gt=Ge.lastIndexOf(k);Gt>-1&&(Ge=Ge.slice(0,Gt))}return Ge+O},q.unescape=function Cf(i){return(i=_r(i))&&pn.test(i)?i.replace(Jt,Ta):i},q.uniqueId=function oc(i){var a=++M;return _r(i)+a},q.upperCase=Lg,q.upperFirst=Sd,q.each=ed,q.eachRight=Gh,q.first=Gc,Od(q,function(){var i={};return Nr(q,(function(a,d){I.call(q.prototype,d)||(i[d]=a)})),i}(),{chain:!1}),q.VERSION="4.17.21",oi(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(i){q[i].placeholder=q})),oi(["drop","take"],(function(i,a){Yt.prototype[i]=function(d){d=d===v?1:lr(Zn(d),0);var O=this.__filtered__&&!a?new Yt(this):this.clone();return O.__filtered__?O.__takeCount__=Bn(d,O.__takeCount__):O.__views__.push({size:Bn(d,_n),type:i+(O.__dir__<0?"Right":"")}),O},Yt.prototype[i+"Right"]=function(d){return this.reverse()[i](d).reverse()}})),oi(["filter","map","takeWhile"],(function(i,a){var d=a+1,O=1==d||3==d;Yt.prototype[i]=function(k){var oe=this.clone();return oe.__iteratees__.push({iteratee:Mn(k,3),type:d}),oe.__filtered__=oe.__filtered__||O,oe}})),oi(["head","last"],(function(i,a){var d="take"+(a?"Right":"");Yt.prototype[i]=function(){return this[d](1).value()[0]}})),oi(["initial","tail"],(function(i,a){var d="drop"+(a?"":"Right");Yt.prototype[i]=function(){return this.__filtered__?new Yt(this):this[d](1)}})),Yt.prototype.compact=function(){return this.filter(ri)},Yt.prototype.find=function(i){return this.filter(i).head()},Yt.prototype.findLast=function(i){return this.reverse().find(i)},Yt.prototype.invokeMap=Jn((function(i,a){return"function"==typeof i?new Yt(this):this.map((function(d){return Zt(d,i,a)}))})),Yt.prototype.reject=function(i){return this.filter(cu(Mn(i)))},Yt.prototype.slice=function(i,a){i=Zn(i);var d=this;return d.__filtered__&&(i>0||a<0)?new Yt(d):(i<0?d=d.takeRight(-i):i&&(d=d.drop(i)),a!==v&&(d=(a=Zn(a))<0?d.dropRight(-a):d.take(a-i)),d)},Yt.prototype.takeRightWhile=function(i){return this.reverse().takeWhile(i).reverse()},Yt.prototype.toArray=function(){return this.take(_n)},Nr(Yt.prototype,(function(i,a){var d=/^(?:filter|find|map|reject)|While$/.test(a),O=/^(?:head|last)$/.test(a),k=q[O?"take"+("last"==a?"Right":""):a],oe=O||/^find/.test(a);!k||(q.prototype[a]=function(){var Se=this.__wrapped__,Be=O?[1]:arguments,Ge=Se instanceof Yt,vt=Be[0],_t=Ge||Un(Se),wt=function(sr){var jn=k.apply(q,Ii([sr],Be));return O&&Gt?jn[0]:jn};_t&&d&&"function"==typeof vt&&1!=vt.length&&(Ge=_t=!1);var Gt=this.__chain__,sn=!!this.__actions__.length,On=oe&&!Gt,Xn=Ge&&!sn;if(!oe&&_t){Se=Xn?Se:new Yt(this);var Sn=i.apply(Se,Be);return Sn.__actions__.push({func:Il,args:[wt],thisArg:v}),new ao(Sn,Gt)}return On&&Xn?i.apply(this,Be):(Sn=this.thru(wt),On?O?Sn.value()[0]:Sn.value():Sn)})})),oi(["pop","push","shift","sort","splice","unshift"],(function(i){var a=Is[i],d=/^(?:push|sort|unshift)$/.test(i)?"tap":"thru",O=/^(?:pop|shift)$/.test(i);q.prototype[i]=function(){var k=arguments;if(O&&!this.__chain__){var oe=this.value();return a.apply(Un(oe)?oe:[],k)}return this[d]((function(Se){return a.apply(Un(Se)?Se:[],k)}))}})),Nr(Yt.prototype,(function(i,a){var d=q[a];if(d){var O=d.name+"";I.call(ms,O)||(ms[O]=[]),ms[O].push({name:a,func:d})}})),ms[xu(v,2).name]=[{name:"wrapper",func:v}],Yt.prototype.clone=function fa(){var i=new Yt(this.__wrapped__);return i.__actions__=Co(this.__actions__),i.__dir__=this.__dir__,i.__filtered__=this.__filtered__,i.__iteratees__=Co(this.__iteratees__),i.__takeCount__=this.__takeCount__,i.__views__=Co(this.__views__),i},Yt.prototype.reverse=function gl(){if(this.__filtered__){var i=new Yt(this);i.__dir__=-1,i.__filtered__=!0}else(i=this.clone()).__dir__*=-1;return i},Yt.prototype.value=function pa(){var i=this.__wrapped__.value(),a=this.__dir__,d=Un(i),O=a<0,k=d?i.length:0,oe=function gh(i,a,d){for(var O=-1,k=d.length;++O<k;){var oe=d[O],Se=oe.size;switch(oe.type){case"drop":i+=Se;break;case"dropRight":a-=Se;break;case"take":a=Bn(a,i+Se);break;case"takeRight":i=lr(i,a-Se)}}return{start:i,end:a}}(0,k,this.__views__),Se=oe.start,Be=oe.end,Ge=Be-Se,vt=O?Be:Se-1,_t=this.__iteratees__,wt=_t.length,Gt=0,sn=Bn(Ge,this.__takeCount__);if(!d||!O&&k==Ge&&sn==Ge)return Su(i,this.__actions__);var On=[];e:for(;Ge--&&Gt<sn;){for(var Xn=-1,Sn=i[vt+=a];++Xn<wt;){var sr=_t[Xn],Yi=sr.type,Sr=(0,sr.iteratee)(Sn);if(2==Yi)Sn=Sr;else if(!Sr){if(1==Yi)continue e;break e}}On[Gt++]=Sn}return On},q.prototype.at=Fp,q.prototype.chain=function Uh(){return Hh(this)},q.prototype.commit=function Np(){return new ao(this.value(),this.__chain__)},q.prototype.next=function jh(){this.__values__===v&&(this.__values__=ss(this.value()));var i=this.__index__>=this.__values__.length;return{done:i,value:i?v:this.__values__[this.__index__++]}},q.prototype.plant=function kp(i){for(var a,d=this;d instanceof Vs;){var O=ou(d);O.__index__=0,O.__values__=v,a?k.__wrapped__=O:a=O;var k=O;d=d.__wrapped__}return k.__wrapped__=i,a},q.prototype.reverse=function lu(){var i=this.__wrapped__;if(i instanceof Yt){var a=i;return this.__actions__.length&&(a=new Yt(this)),(a=a.reverse()).__actions__.push({func:Il,args:[Ah],thisArg:v}),new ao(a,this.__chain__)}return this.thru(Ah)},q.prototype.toJSON=q.prototype.valueOf=q.prototype.value=function Lp(){return Su(this.__wrapped__,this.__actions__)},q.prototype.first=q.prototype.head,Ni&&(q.prototype[Ni]=function h_(){return this}),q}();Br._=Ji,(r=function(){return Ji}.call(ne,S,ne,He))!==v&&(He.exports=r)}.call(this)},8448:(He,ne,S)=>{var r=S(5171),v=S(2315),G=S(4401),Q=S(3943);He.exports=function ee(de,ae,pe){de=Q(de);var ve=(ae=G(ae))?v(de):0;return ae&&ve<ae?r(ae-ve,pe)+de:de}},1978:(He,ne,S)=>{var v=S(1491)((function(G,Q,ee){return G+(ee?"_":"")+Q.toLowerCase()}));He.exports=v},2232:(He,ne,S)=>{var r=S(1467),v=1/0;He.exports=function Q(ee){return ee?(ee=r(ee))===v||ee===-v?17976931348623157e292*(ee<0?-1:1):ee==ee?ee:0:0===ee?ee:0}},4401:(He,ne,S)=>{var r=S(2232);He.exports=function v(G){var Q=r(G),ee=Q%1;return Q==Q?ee?Q-ee:Q:0}},1467:(He,ne,S)=>{var r=S(3348),v=S(5940),G=S(4129),ee=/^[-+]0x[0-9a-f]+$/i,de=/^0b[01]+$/i,ae=/^0o[0-7]+$/i,pe=parseInt;He.exports=function ve(H){if("number"==typeof H)return H;if(G(H))return NaN;if(v(H)){var re="function"==typeof H.valueOf?H.valueOf():H;H=v(re)?re+"":re}if("string"!=typeof H)return 0===H?H:+H;H=r(H);var ie=de.test(H);return ie||ae.test(H)?pe(H.slice(2),ie?2:8):ee.test(H)?NaN:+H}},3943:(He,ne,S)=>{var r=S(3935);He.exports=function v(G){return null==G?"":r(G)}},7188:(He,ne,S)=>{var r=S(69),v=S(9062),G=S(3943),Q=S(910);He.exports=function ee(de,ae,pe){return de=G(de),void 0===(ae=pe?void 0:ae)?v(de)?Q(de):r(de):de.match(ae)||[]}},1135:(He,ne,S)=>{"use strict";S.d(ne,{X:()=>v});var r=S(7579);class v extends r.x{constructor(Q){super(),this._value=Q}get value(){return this.getValue()}_subscribe(Q){const ee=super._subscribe(Q);return!ee.closed&&Q.next(this._value),ee}getValue(){const{hasError:Q,thrownError:ee,_value:de}=this;if(Q)throw ee;return this._throwIfClosed(),de}next(Q){super.next(this._value=Q)}}},9751:(He,ne,S)=>{"use strict";S.d(ne,{y:()=>pe});var r=S(930),v=S(727),G=S(8822),Q=S(9635),ee=S(2416),de=S(576),ae=S(2806);let pe=(()=>{class ie{constructor(Oe){Oe&&(this._subscribe=Oe)}lift(Oe){const te=new ie;return te.source=this,te.operator=Oe,te}subscribe(Oe,te,Ze){const ke=function re(ie){return ie&&ie instanceof r.Lv||function H(ie){return ie&&(0,de.m)(ie.next)&&(0,de.m)(ie.error)&&(0,de.m)(ie.complete)}(ie)&&(0,v.Nn)(ie)}(Oe)?Oe:new r.Hp(Oe,te,Ze);return(0,ae.x)((()=>{const{operator:Je,source:Xe}=this;ke.add(Je?Je.call(ke,Xe):Xe?this._subscribe(ke):this._trySubscribe(ke))})),ke}_trySubscribe(Oe){try{return this._subscribe(Oe)}catch(te){Oe.error(te)}}forEach(Oe,te){return new(te=ve(te))(((Ze,ke)=>{let Je;Je=this.subscribe((Xe=>{try{Oe(Xe)}catch(tt){ke(tt),Je?.unsubscribe()}}),ke,Ze)}))}_subscribe(Oe){var te;return null===(te=this.source)||void 0===te?void 0:te.subscribe(Oe)}[G.L](){return this}pipe(...Oe){return(0,Q.U)(Oe)(this)}toPromise(Oe){return new(Oe=ve(Oe))(((te,Ze)=>{let ke;this.subscribe((Je=>ke=Je),(Je=>Ze(Je)),(()=>te(ke)))}))}}return ie.create=ye=>new ie(ye),ie})();function ve(ie){var ye;return null!==(ye=ie??ee.v.Promise)&&void 0!==ye?ye:Promise}},7579:(He,ne,S)=>{"use strict";S.d(ne,{x:()=>ae});var r=S(9751),v=S(727);const Q=(0,S(3888).d)((ve=>function(){ve(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}));var ee=S(8737),de=S(2806);let ae=(()=>{class ve extends r.y{constructor(){super(),this.closed=!1,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(re){const ie=new pe(this,this);return ie.operator=re,ie}_throwIfClosed(){if(this.closed)throw new Q}next(re){(0,de.x)((()=>{if(this._throwIfClosed(),!this.isStopped){const ie=this.observers.slice();for(const ye of ie)ye.next(re)}}))}error(re){(0,de.x)((()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=re;const{observers:ie}=this;for(;ie.length;)ie.shift().error(re)}}))}complete(){(0,de.x)((()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:re}=this;for(;re.length;)re.shift().complete()}}))}unsubscribe(){this.isStopped=this.closed=!0,this.observers=null}get observed(){var re;return(null===(re=this.observers)||void 0===re?void 0:re.length)>0}_trySubscribe(re){return this._throwIfClosed(),super._trySubscribe(re)}_subscribe(re){return this._throwIfClosed(),this._checkFinalizedStatuses(re),this._innerSubscribe(re)}_innerSubscribe(re){const{hasError:ie,isStopped:ye,observers:Oe}=this;return ie||ye?v.Lc:(Oe.push(re),new v.w0((()=>(0,ee.P)(Oe,re))))}_checkFinalizedStatuses(re){const{hasError:ie,thrownError:ye,isStopped:Oe}=this;ie?re.error(ye):Oe&&re.complete()}asObservable(){const re=new r.y;return re.source=this,re}}return ve.create=(H,re)=>new pe(H,re),ve})();class pe extends ae{constructor(H,re){super(),this.destination=H,this.source=re}next(H){var re,ie;null===(ie=null===(re=this.destination)||void 0===re?void 0:re.next)||void 0===ie||ie.call(re,H)}error(H){var re,ie;null===(ie=null===(re=this.destination)||void 0===re?void 0:re.error)||void 0===ie||ie.call(re,H)}complete(){var H,re;null===(re=null===(H=this.destination)||void 0===H?void 0:H.complete)||void 0===re||re.call(H)}_subscribe(H){var re,ie;return null!==(ie=null===(re=this.source)||void 0===re?void 0:re.subscribe(H))&&void 0!==ie?ie:v.Lc}}},930:(He,ne,S)=>{"use strict";S.d(ne,{Hp:()=>ye,Lv:()=>ie});var r=S(576),v=S(727),G=S(2416),Q=S(7849),ee=S(5032);const de=ve("C",void 0,void 0);function ve(Je,Xe,tt){return{kind:Je,value:Xe,error:tt}}var H=S(3410),re=S(2806);class ie extends v.w0{constructor(Xe){super(),this.isStopped=!1,Xe?(this.destination=Xe,(0,v.Nn)(Xe)&&Xe.add(this)):this.destination=ke}static create(Xe,tt,nt){return new ye(Xe,tt,nt)}next(Xe){this.isStopped?Ze(function pe(Je){return ve("N",Je,void 0)}(Xe),this):this._next(Xe)}error(Xe){this.isStopped?Ze(function ae(Je){return ve("E",void 0,Je)}(Xe),this):(this.isStopped=!0,this._error(Xe))}complete(){this.isStopped?Ze(de,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(Xe){this.destination.next(Xe)}_error(Xe){try{this.destination.error(Xe)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}class ye extends ie{constructor(Xe,tt,nt){let Fe;if(super(),(0,r.m)(Xe))Fe=Xe;else if(Xe){let it;({next:Fe,error:tt,complete:nt}=Xe),this&&G.v.useDeprecatedNextContext?(it=Object.create(Xe),it.unsubscribe=()=>this.unsubscribe()):it=Xe,Fe=Fe?.bind(it),tt=tt?.bind(it),nt=nt?.bind(it)}this.destination={next:Fe?Oe(Fe):ee.Z,error:Oe(tt??te),complete:nt?Oe(nt):ee.Z}}}function Oe(Je,Xe){return(...tt)=>{try{Je(...tt)}catch(nt){G.v.useDeprecatedSynchronousErrorHandling?(0,re.O)(nt):(0,Q.h)(nt)}}}function te(Je){throw Je}function Ze(Je,Xe){const{onStoppedNotification:tt}=G.v;tt&&H.z.setTimeout((()=>tt(Je,Xe)))}const ke={closed:!0,next:ee.Z,error:te,complete:ee.Z}},727:(He,ne,S)=>{"use strict";S.d(ne,{Lc:()=>de,w0:()=>ee,Nn:()=>ae});var r=S(576);const G=(0,S(3888).d)((ve=>function(re){ve(this),this.message=re?`${re.length} errors occurred during unsubscription:\n${re.map(((ie,ye)=>`${ye+1}) ${ie.toString()}`)).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=re}));var Q=S(8737);class ee{constructor(H){this.initialTeardown=H,this.closed=!1,this._parentage=null,this._teardowns=null}unsubscribe(){let H;if(!this.closed){this.closed=!0;const{_parentage:re}=this;if(re)if(this._parentage=null,Array.isArray(re))for(const Oe of re)Oe.remove(this);else re.remove(this);const{initialTeardown:ie}=this;if((0,r.m)(ie))try{ie()}catch(Oe){H=Oe instanceof G?Oe.errors:[Oe]}const{_teardowns:ye}=this;if(ye){this._teardowns=null;for(const Oe of ye)try{pe(Oe)}catch(te){H=H??[],te instanceof G?H=[...H,...te.errors]:H.push(te)}}if(H)throw new G(H)}}add(H){var re;if(H&&H!==this)if(this.closed)pe(H);else{if(H instanceof ee){if(H.closed||H._hasParent(this))return;H._addParent(this)}(this._teardowns=null!==(re=this._teardowns)&&void 0!==re?re:[]).push(H)}}_hasParent(H){const{_parentage:re}=this;return re===H||Array.isArray(re)&&re.includes(H)}_addParent(H){const{_parentage:re}=this;this._parentage=Array.isArray(re)?(re.push(H),re):re?[re,H]:H}_removeParent(H){const{_parentage:re}=this;re===H?this._parentage=null:Array.isArray(re)&&(0,Q.P)(re,H)}remove(H){const{_teardowns:re}=this;re&&(0,Q.P)(re,H),H instanceof ee&&H._removeParent(this)}}ee.EMPTY=(()=>{const ve=new ee;return ve.closed=!0,ve})();const de=ee.EMPTY;function ae(ve){return ve instanceof ee||ve&&"closed"in ve&&(0,r.m)(ve.remove)&&(0,r.m)(ve.add)&&(0,r.m)(ve.unsubscribe)}function pe(ve){(0,r.m)(ve)?ve():ve.unsubscribe()}},2416:(He,ne,S)=>{"use strict";S.d(ne,{v:()=>r});const r={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},7272:(He,ne,S)=>{"use strict";S.d(ne,{z:()=>ee});var r=S(8189),G=S(3269),Q=S(2076);function ee(...de){return function v(){return(0,r.J)(1)}()((0,Q.D)(de,(0,G.yG)(de)))}},515:(He,ne,S)=>{"use strict";S.d(ne,{E:()=>v});const v=new(S(9751).y)((ee=>ee.complete()))},4128:(He,ne,S)=>{"use strict";S.d(ne,{D:()=>pe});var r=S(9751),v=S(4742),G=S(8421),Q=S(3269),ee=S(5403),de=S(3268),ae=S(1810);function pe(...ve){const H=(0,Q.jO)(ve),{args:re,keys:ie}=(0,v.D)(ve),ye=new r.y((Oe=>{const{length:te}=re;if(!te)return void Oe.complete();const Ze=new Array(te);let ke=te,Je=te;for(let Xe=0;Xe<te;Xe++){let tt=!1;(0,G.Xf)(re[Xe]).subscribe(new ee.Q(Oe,(nt=>{tt||(tt=!0,Je--),Ze[Xe]=nt}),(()=>ke--),void 0,(()=>{(!ke||!tt)&&(Je||Oe.next(ie?(0,ae.n)(ie,Ze):Ze),Oe.complete())})))}}));return H?ye.pipe((0,de.Z)(H)):ye}},2076:(He,ne,S)=>{"use strict";S.d(ne,{D:()=>lt});var r=S(8421),v=S(9672),G=S(4482),Q=S(5403);function ee(pt,Ee=0){return(0,G.e)(((le,K)=>{le.subscribe(new Q.Q(K,(ge=>(0,v.f)(K,pt,(()=>K.next(ge)),Ee)),(()=>(0,v.f)(K,pt,(()=>K.complete()),Ee)),(ge=>(0,v.f)(K,pt,(()=>K.error(ge)),Ee))))}))}function de(pt,Ee=0){return(0,G.e)(((le,K)=>{K.add(pt.schedule((()=>le.subscribe(K)),Ee))}))}var ve=S(9751),re=S(2202),ie=S(576);function Oe(pt,Ee){if(!pt)throw new Error("Iterable cannot be null");return new ve.y((le=>{(0,v.f)(le,Ee,(()=>{const K=pt[Symbol.asyncIterator]();(0,v.f)(le,Ee,(()=>{K.next().then((ge=>{ge.done?le.complete():le.next(ge.value)}))}),0,!0)}))}))}var te=S(3670),Ze=S(8239),ke=S(1144),Je=S(6495),Xe=S(2206),tt=S(4532),nt=S(3260);function lt(pt,Ee){return Ee?function it(pt,Ee){if(null!=pt){if((0,te.c)(pt))return function ae(pt,Ee){return(0,r.Xf)(pt).pipe(de(Ee),ee(Ee))}(pt,Ee);if((0,ke.z)(pt))return function H(pt,Ee){return new ve.y((le=>{let K=0;return Ee.schedule((function(){K===pt.length?le.complete():(le.next(pt[K++]),le.closed||this.schedule())}))}))}(pt,Ee);if((0,Ze.t)(pt))return function pe(pt,Ee){return(0,r.Xf)(pt).pipe(de(Ee),ee(Ee))}(pt,Ee);if((0,Xe.D)(pt))return Oe(pt,Ee);if((0,Je.T)(pt))return function ye(pt,Ee){return new ve.y((le=>{let K;return(0,v.f)(le,Ee,(()=>{K=pt[re.h](),(0,v.f)(le,Ee,(()=>{let ge,Ie;try{({value:ge,done:Ie}=K.next())}catch(we){return void le.error(we)}Ie?le.complete():le.next(ge)}),0,!0)})),()=>(0,ie.m)(K?.return)&&K.return()}))}(pt,Ee);if((0,nt.L)(pt))return function Fe(pt,Ee){return Oe((0,nt.Q)(pt),Ee)}(pt,Ee)}throw(0,tt.z)(pt)}(pt,Ee):(0,r.Xf)(pt)}},4968:(He,ne,S)=>{"use strict";S.d(ne,{R:()=>H});var r=S(8421),v=S(9751),G=S(5577),Q=S(1144),ee=S(576),de=S(3268);const ae=["addListener","removeListener"],pe=["addEventListener","removeEventListener"],ve=["on","off"];function H(te,Ze,ke,Je){if((0,ee.m)(ke)&&(Je=ke,ke=void 0),Je)return H(te,Ze,ke).pipe((0,de.Z)(Je));const[Xe,tt]=function Oe(te){return(0,ee.m)(te.addEventListener)&&(0,ee.m)(te.removeEventListener)}(te)?pe.map((nt=>Fe=>te[nt](Ze,Fe,ke))):function ie(te){return(0,ee.m)(te.addListener)&&(0,ee.m)(te.removeListener)}(te)?ae.map(re(te,Ze)):function ye(te){return(0,ee.m)(te.on)&&(0,ee.m)(te.off)}(te)?ve.map(re(te,Ze)):[];if(!Xe&&(0,Q.z)(te))return(0,G.z)((nt=>H(nt,Ze,ke)))((0,r.Xf)(te));if(!Xe)throw new TypeError("Invalid event target");return new v.y((nt=>{const Fe=(...it)=>nt.next(1<it.length?it:it[0]);return Xe(Fe),()=>tt(Fe)}))}function re(te,Ze){return ke=>Je=>te[ke](Ze,Je)}},8421:(He,ne,S)=>{"use strict";S.d(ne,{Xf:()=>ye});var r=S(5987),v=S(1144),G=S(8239),Q=S(9751),ee=S(3670),de=S(2206),ae=S(4532),pe=S(6495),ve=S(3260),H=S(576),re=S(7849),ie=S(8822);function ye(nt){if(nt instanceof Q.y)return nt;if(null!=nt){if((0,ee.c)(nt))return function Oe(nt){return new Q.y((Fe=>{const it=nt[ie.L]();if((0,H.m)(it.subscribe))return it.subscribe(Fe);throw new TypeError("Provided object does not correctly implement Symbol.observable")}))}(nt);if((0,v.z)(nt))return function te(nt){return new Q.y((Fe=>{for(let it=0;it<nt.length&&!Fe.closed;it++)Fe.next(nt[it]);Fe.complete()}))}(nt);if((0,G.t)(nt))return function Ze(nt){return new Q.y((Fe=>{nt.then((it=>{Fe.closed||(Fe.next(it),Fe.complete())}),(it=>Fe.error(it))).then(null,re.h)}))}(nt);if((0,de.D)(nt))return Je(nt);if((0,pe.T)(nt))return function ke(nt){return new Q.y((Fe=>{for(const it of nt)if(Fe.next(it),Fe.closed)return;Fe.complete()}))}(nt);if((0,ve.L)(nt))return function Xe(nt){return Je((0,ve.Q)(nt))}(nt)}throw(0,ae.z)(nt)}function Je(nt){return new Q.y((Fe=>{(function tt(nt,Fe){var it,lt,pt,Ee;return(0,r.mG)(this,void 0,void 0,(function*(){try{for(it=(0,r.KL)(nt);!(lt=yield it.next()).done;)if(Fe.next(lt.value),Fe.closed)return}catch(le){pt={error:le}}finally{try{lt&&!lt.done&&(Ee=it.return)&&(yield Ee.call(it))}finally{if(pt)throw pt.error}}Fe.complete()}))})(nt,Fe).catch((it=>Fe.error(it)))}))}},7445:(He,ne,S)=>{"use strict";S.d(ne,{F:()=>G});var r=S(4986),v=S(5963);function G(Q=0,ee=r.z){return Q<0&&(Q=0),(0,v.H)(Q,Q,ee)}},6451:(He,ne,S)=>{"use strict";S.d(ne,{T:()=>de});var r=S(8189),v=S(8421),G=S(515),Q=S(3269),ee=S(2076);function de(...ae){const pe=(0,Q.yG)(ae),ve=(0,Q._6)(ae,1/0),H=ae;return H.length?1===H.length?(0,v.Xf)(H[0]):(0,r.J)(ve)((0,ee.D)(H,pe)):G.E}},9646:(He,ne,S)=>{"use strict";S.d(ne,{of:()=>G});var r=S(3269),v=S(2076);function G(...Q){const ee=(0,r.yG)(Q);return(0,v.D)(Q,ee)}},5963:(He,ne,S)=>{"use strict";S.d(ne,{H:()=>ee});var r=S(9751),v=S(4986),G=S(3532);function ee(de=0,ae,pe=v.P){let ve=-1;return null!=ae&&((0,G.K)(ae)?pe=ae:ve=ae),new r.y((H=>{let re=function Q(de){return de instanceof Date&&!isNaN(de)}(de)?+de-pe.now():de;re<0&&(re=0);let ie=0;return pe.schedule((function(){H.closed||(H.next(ie++),0<=ve?this.schedule(void 0,ve):H.complete())}),re)}))}},5403:(He,ne,S)=>{"use strict";S.d(ne,{Q:()=>v});var r=S(930);class v extends r.Lv{constructor(Q,ee,de,ae,pe){super(Q),this.onFinalize=pe,this._next=ee?function(ve){try{ee(ve)}catch(H){Q.error(H)}}:super._next,this._error=ae?function(ve){try{ae(ve)}catch(H){Q.error(H)}finally{this.unsubscribe()}}:super._error,this._complete=de?function(){try{de()}catch(ve){Q.error(ve)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var Q;const{closed:ee}=this;super.unsubscribe(),!ee&&(null===(Q=this.onFinalize)||void 0===Q||Q.call(this))}}},4351:(He,ne,S)=>{"use strict";S.d(ne,{b:()=>G});var r=S(5577),v=S(576);function G(Q,ee){return(0,v.m)(ee)?(0,r.z)(Q,ee,1):(0,r.z)(Q,1)}},8372:(He,ne,S)=>{"use strict";S.d(ne,{b:()=>Q});var r=S(4986),v=S(4482),G=S(5403);function Q(ee,de=r.z){return(0,v.e)(((ae,pe)=>{let ve=null,H=null,re=null;const ie=()=>{if(ve){ve.unsubscribe(),ve=null;const Oe=H;H=null,pe.next(Oe)}};function ye(){const Oe=re+ee,te=de.now();if(te<Oe)return ve=this.schedule(void 0,Oe-te),void pe.add(ve);ie()}ae.subscribe(new G.Q(pe,(Oe=>{H=Oe,re=de.now(),ve||(ve=de.schedule(ye,ee),pe.add(ve))}),(()=>{ie(),pe.complete()}),void 0,(()=>{H=ve=null})))}))}},9300:(He,ne,S)=>{"use strict";S.d(ne,{h:()=>G});var r=S(4482),v=S(5403);function G(Q,ee){return(0,r.e)(((de,ae)=>{let pe=0;de.subscribe(new v.Q(ae,(ve=>Q.call(ee,ve,pe++)&&ae.next(ve))))}))}},8746:(He,ne,S)=>{"use strict";S.d(ne,{x:()=>v});var r=S(4482);function v(G){return(0,r.e)(((Q,ee)=>{try{Q.subscribe(ee)}finally{ee.add(G)}}))}},4004:(He,ne,S)=>{"use strict";S.d(ne,{U:()=>G});var r=S(4482),v=S(5403);function G(Q,ee){return(0,r.e)(((de,ae)=>{let pe=0;de.subscribe(new v.Q(ae,(ve=>{ae.next(Q.call(ee,ve,pe++))})))}))}},8189:(He,ne,S)=>{"use strict";S.d(ne,{J:()=>G});var r=S(5577),v=S(4671);function G(Q=1/0){return(0,r.z)(v.y,Q)}},5577:(He,ne,S)=>{"use strict";S.d(ne,{z:()=>pe});var r=S(4004),v=S(8421),G=S(4482),Q=S(9672),ee=S(5403),ae=S(576);function pe(ve,H,re=1/0){return(0,ae.m)(H)?pe(((ie,ye)=>(0,r.U)(((Oe,te)=>H(ie,Oe,ye,te)))((0,v.Xf)(ve(ie,ye)))),re):("number"==typeof H&&(re=H),(0,G.e)(((ie,ye)=>function de(ve,H,re,ie,ye,Oe,te,Ze){const ke=[];let Je=0,Xe=0,tt=!1;const nt=()=>{tt&&!ke.length&&!Je&&H.complete()},Fe=lt=>Je<ie?it(lt):ke.push(lt),it=lt=>{Oe&&H.next(lt),Je++;let pt=!1;(0,v.Xf)(re(lt,Xe++)).subscribe(new ee.Q(H,(Ee=>{ye?.(Ee),Oe?Fe(Ee):H.next(Ee)}),(()=>{pt=!0}),void 0,(()=>{if(pt)try{for(Je--;ke.length&&Je<ie;){const Ee=ke.shift();te?(0,Q.f)(H,te,(()=>it(Ee))):it(Ee)}nt()}catch(Ee){H.error(Ee)}})))};return ve.subscribe(new ee.Q(H,Fe,(()=>{tt=!0,nt()}))),()=>{Ze?.()}}(ie,ye,ve,re))))}},8675:(He,ne,S)=>{"use strict";S.d(ne,{O:()=>Q});var r=S(7272),v=S(3269),G=S(4482);function Q(...ee){const de=(0,v.yG)(ee);return(0,G.e)(((ae,pe)=>{(de?(0,r.z)(ee,ae,de):(0,r.z)(ee,ae)).subscribe(pe)}))}},5698:(He,ne,S)=>{"use strict";S.d(ne,{q:()=>Q});var r=S(515),v=S(4482),G=S(5403);function Q(ee){return ee<=0?()=>r.E:(0,v.e)(((de,ae)=>{let pe=0;de.subscribe(new G.Q(ae,(ve=>{++pe<=ee&&(ae.next(ve),ee<=pe&&ae.complete())})))}))}},2722:(He,ne,S)=>{"use strict";S.d(ne,{R:()=>ee});var r=S(4482),v=S(5403),G=S(8421),Q=S(5032);function ee(de){return(0,r.e)(((ae,pe)=>{(0,G.Xf)(de).subscribe(new v.Q(pe,(()=>pe.complete()),Q.Z)),!pe.closed&&ae.subscribe(pe)}))}},8505:(He,ne,S)=>{"use strict";S.d(ne,{b:()=>ee});var r=S(576),v=S(4482),G=S(5403),Q=S(4671);function ee(de,ae,pe){const ve=(0,r.m)(de)||ae||pe?{next:de,error:ae,complete:pe}:de;return ve?(0,v.e)(((H,re)=>{var ie;null===(ie=ve.subscribe)||void 0===ie||ie.call(ve);let ye=!0;H.subscribe(new G.Q(re,(Oe=>{var te;null===(te=ve.next)||void 0===te||te.call(ve,Oe),re.next(Oe)}),(()=>{var Oe;ye=!1,null===(Oe=ve.complete)||void 0===Oe||Oe.call(ve),re.complete()}),(Oe=>{var te;ye=!1,null===(te=ve.error)||void 0===te||te.call(ve,Oe),re.error(Oe)}),(()=>{var Oe,te;ye&&(null===(Oe=ve.unsubscribe)||void 0===Oe||Oe.call(ve)),null===(te=ve.finalize)||void 0===te||te.call(ve)})))})):Q.y}},4408:(He,ne,S)=>{"use strict";S.d(ne,{o:()=>ee});var r=S(727);class v extends r.w0{constructor(ae,pe){super()}schedule(ae,pe=0){return this}}const G={setInterval(...de){const{delegate:ae}=G;return(ae?.setInterval||setInterval)(...de)},clearInterval(de){const{delegate:ae}=G;return(ae?.clearInterval||clearInterval)(de)},delegate:void 0};var Q=S(8737);class ee extends v{constructor(ae,pe){super(ae,pe),this.scheduler=ae,this.work=pe,this.pending=!1}schedule(ae,pe=0){if(this.closed)return this;this.state=ae;const ve=this.id,H=this.scheduler;return null!=ve&&(this.id=this.recycleAsyncId(H,ve,pe)),this.pending=!0,this.delay=pe,this.id=this.id||this.requestAsyncId(H,this.id,pe),this}requestAsyncId(ae,pe,ve=0){return G.setInterval(ae.flush.bind(ae,this),ve)}recycleAsyncId(ae,pe,ve=0){if(null!=ve&&this.delay===ve&&!1===this.pending)return pe;G.clearInterval(pe)}execute(ae,pe){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const ve=this._execute(ae,pe);if(ve)return ve;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(ae,pe){let H,ve=!1;try{this.work(ae)}catch(re){ve=!0,H=re||new Error("Scheduled action threw falsy error")}if(ve)return this.unsubscribe(),H}unsubscribe(){if(!this.closed){const{id:ae,scheduler:pe}=this,{actions:ve}=pe;this.work=this.state=this.scheduler=null,this.pending=!1,(0,Q.P)(ve,this),null!=ae&&(this.id=this.recycleAsyncId(pe,ae,null)),this.delay=null,super.unsubscribe()}}}},640:(He,ne,S)=>{"use strict";S.d(ne,{v:()=>G});const r={now:()=>(r.delegate||Date).now(),delegate:void 0};class v{constructor(ee,de=v.now){this.schedulerActionCtor=ee,this.now=de}schedule(ee,de=0,ae){return new this.schedulerActionCtor(this,ee).schedule(ae,de)}}v.now=r.now;class G extends v{constructor(ee,de=v.now){super(ee,de),this.actions=[],this._active=!1,this._scheduled=void 0}flush(ee){const{actions:de}=this;if(this._active)return void de.push(ee);let ae;this._active=!0;do{if(ae=ee.execute(ee.state,ee.delay))break}while(ee=de.shift());if(this._active=!1,ae){for(;ee=de.shift();)ee.unsubscribe();throw ae}}}},6406:(He,ne,S)=>{"use strict";S.d(ne,{Z:()=>ae});var r=S(4408),v=S(727);const G={schedule(ve){let H=requestAnimationFrame,re=cancelAnimationFrame;const{delegate:ie}=G;ie&&(H=ie.requestAnimationFrame,re=ie.cancelAnimationFrame);const ye=H((Oe=>{re=void 0,ve(Oe)}));return new v.w0((()=>re?.(ye)))},requestAnimationFrame(...ve){const{delegate:H}=G;return(H?.requestAnimationFrame||requestAnimationFrame)(...ve)},cancelAnimationFrame(...ve){const{delegate:H}=G;return(H?.cancelAnimationFrame||cancelAnimationFrame)(...ve)},delegate:void 0};var ee=S(640);const ae=new class de extends ee.v{flush(H){this._active=!0,this._scheduled=void 0;const{actions:re}=this;let ie,ye=-1;H=H||re.shift();const Oe=re.length;do{if(ie=H.execute(H.state,H.delay))break}while(++ye<Oe&&(H=re.shift()));if(this._active=!1,ie){for(;++ye<Oe&&(H=re.shift());)H.unsubscribe();throw ie}}}(class Q extends r.o{constructor(H,re){super(H,re),this.scheduler=H,this.work=re}requestAsyncId(H,re,ie=0){return null!==ie&&ie>0?super.requestAsyncId(H,re,ie):(H.actions.push(this),H._scheduled||(H._scheduled=G.requestAnimationFrame((()=>H.flush(void 0)))))}recycleAsyncId(H,re,ie=0){if(null!=ie&&ie>0||null==ie&&this.delay>0)return super.recycleAsyncId(H,re,ie);0===H.actions.length&&(G.cancelAnimationFrame(re),H._scheduled=void 0)}})},4986:(He,ne,S)=>{"use strict";S.d(ne,{P:()=>Q,z:()=>G});var r=S(4408);const G=new(S(640).v)(r.o),Q=G},3410:(He,ne,S)=>{"use strict";S.d(ne,{z:()=>r});const r={setTimeout(...v){const{delegate:G}=r;return(G?.setTimeout||setTimeout)(...v)},clearTimeout(v){const{delegate:G}=r;return(G?.clearTimeout||clearTimeout)(v)},delegate:void 0}},2202:(He,ne,S)=>{"use strict";S.d(ne,{h:()=>v});const v=function r(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(He,ne,S)=>{"use strict";S.d(ne,{L:()=>r});const r="function"==typeof Symbol&&Symbol.observable||"@@observable"},3269:(He,ne,S)=>{"use strict";S.d(ne,{_6:()=>de,jO:()=>Q,yG:()=>ee});var r=S(576),v=S(3532);function G(ae){return ae[ae.length-1]}function Q(ae){return(0,r.m)(G(ae))?ae.pop():void 0}function ee(ae){return(0,v.K)(G(ae))?ae.pop():void 0}function de(ae,pe){return"number"==typeof G(ae)?ae.pop():pe}},4742:(He,ne,S)=>{"use strict";S.d(ne,{D:()=>ee});const{isArray:r}=Array,{getPrototypeOf:v,prototype:G,keys:Q}=Object;function ee(ae){if(1===ae.length){const pe=ae[0];if(r(pe))return{args:pe,keys:null};if(function de(ae){return ae&&"object"==typeof ae&&v(ae)===G}(pe)){const ve=Q(pe);return{args:ve.map((H=>pe[H])),keys:ve}}}return{args:ae,keys:null}}},8737:(He,ne,S)=>{"use strict";function r(v,G){if(v){const Q=v.indexOf(G);0<=Q&&v.splice(Q,1)}}S.d(ne,{P:()=>r})},3888:(He,ne,S)=>{"use strict";function r(v){const Q=v((ee=>{Error.call(ee),ee.stack=(new Error).stack}));return Q.prototype=Object.create(Error.prototype),Q.prototype.constructor=Q,Q}S.d(ne,{d:()=>r})},1810:(He,ne,S)=>{"use strict";function r(v,G){return v.reduce(((Q,ee,de)=>(Q[ee]=G[de],Q)),{})}S.d(ne,{n:()=>r})},2806:(He,ne,S)=>{"use strict";S.d(ne,{O:()=>Q,x:()=>G});var r=S(2416);let v=null;function G(ee){if(r.v.useDeprecatedSynchronousErrorHandling){const de=!v;if(de&&(v={errorThrown:!1,error:null}),ee(),de){const{errorThrown:ae,error:pe}=v;if(v=null,ae)throw pe}}else ee()}function Q(ee){r.v.useDeprecatedSynchronousErrorHandling&&v&&(v.errorThrown=!0,v.error=ee)}},9672:(He,ne,S)=>{"use strict";function r(v,G,Q,ee=0,de=!1){const ae=G.schedule((function(){Q(),de?v.add(this.schedule(null,ee)):this.unsubscribe()}),ee);if(v.add(ae),!de)return ae}S.d(ne,{f:()=>r})},4671:(He,ne,S)=>{"use strict";function r(v){return v}S.d(ne,{y:()=>r})},1144:(He,ne,S)=>{"use strict";S.d(ne,{z:()=>r});const r=v=>v&&"number"==typeof v.length&&"function"!=typeof v},2206:(He,ne,S)=>{"use strict";S.d(ne,{D:()=>v});var r=S(576);function v(G){return Symbol.asyncIterator&&(0,r.m)(G?.[Symbol.asyncIterator])}},576:(He,ne,S)=>{"use strict";function r(v){return"function"==typeof v}S.d(ne,{m:()=>r})},3670:(He,ne,S)=>{"use strict";S.d(ne,{c:()=>G});var r=S(8822),v=S(576);function G(Q){return(0,v.m)(Q[r.L])}},6495:(He,ne,S)=>{"use strict";S.d(ne,{T:()=>G});var r=S(2202),v=S(576);function G(Q){return(0,v.m)(Q?.[r.h])}},8239:(He,ne,S)=>{"use strict";S.d(ne,{t:()=>v});var r=S(576);function v(G){return(0,r.m)(G?.then)}},3260:(He,ne,S)=>{"use strict";S.d(ne,{L:()=>Q,Q:()=>G});var r=S(5987),v=S(576);function G(ee){return(0,r.FC)(this,arguments,(function*(){const ae=ee.getReader();try{for(;;){const{value:pe,done:ve}=yield(0,r.qq)(ae.read());if(ve)return yield(0,r.qq)(void 0);yield yield(0,r.qq)(pe)}}finally{ae.releaseLock()}}))}function Q(ee){return(0,v.m)(ee?.getReader)}},3532:(He,ne,S)=>{"use strict";S.d(ne,{K:()=>v});var r=S(576);function v(G){return G&&(0,r.m)(G.schedule)}},4482:(He,ne,S)=>{"use strict";S.d(ne,{A:()=>v,e:()=>G});var r=S(576);function v(Q){return(0,r.m)(Q?.lift)}function G(Q){return ee=>{if(v(ee))return ee.lift((function(de){try{return Q(de,this)}catch(ae){this.error(ae)}}));throw new TypeError("Unable to lift unknown Observable type")}}},3268:(He,ne,S)=>{"use strict";S.d(ne,{Z:()=>Q});var r=S(4004);const{isArray:v}=Array;function Q(ee){return(0,r.U)((de=>function G(ee,de){return v(de)?ee(...de):ee(de)}(ee,de)))}},5032:(He,ne,S)=>{"use strict";function r(){}S.d(ne,{Z:()=>r})},9635:(He,ne,S)=>{"use strict";S.d(ne,{U:()=>G,z:()=>v});var r=S(4671);function v(...Q){return G(Q)}function G(Q){return 0===Q.length?r.y:1===Q.length?Q[0]:function(de){return Q.reduce(((ae,pe)=>pe(ae)),de)}}},7849:(He,ne,S)=>{"use strict";S.d(ne,{h:()=>G});var r=S(2416),v=S(3410);function G(Q){v.z.setTimeout((()=>{const{onUnhandledError:ee}=r.v;if(!ee)throw Q;ee(Q)}))}},4532:(He,ne,S)=>{"use strict";function r(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.`)}S.d(ne,{z:()=>r})},8583:()=>{"use strict";!function(Me){const $e=Me.performance;function je(me){$e&&$e.mark&&$e.mark(me)}function qe(me,X){$e&&$e.measure&&$e.measure(me,X)}je("Zone");const De=Me.__Zone_symbol_prefix||"__zone_symbol__";function J(me){return De+me}const se=!0===Me[J("forceDuplicateZoneCheck")];if(Me.Zone){if(se||"function"!=typeof Me.Zone.__symbol__)throw new Error("Zone already loaded.");return Me.Zone}let xe=(()=>{class me{constructor(U,he){this._parent=U,this._name=he?he.name||"unnamed":"<root>",this._properties=he&&he.properties||{},this._zoneDelegate=new dt(this,this._parent&&this._parent._zoneDelegate,he)}static assertZonePatched(){if(Me.Promise!==yr.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let U=me.current;for(;U.parent;)U=U.parent;return U}static get current(){return gn.zone}static get currentTask(){return Tr}static __load_patch(U,he,Ue=!1){if(yr.hasOwnProperty(U)){if(!Ue&&se)throw Error("Already loaded patch: "+U)}else if(!Me["__Zone_disable_"+U]){const st="Zone:"+U;je(st),yr[U]=he(Me,me,Yn),qe(st,st)}}get parent(){return this._parent}get name(){return this._name}get(U){const he=this.getZoneWith(U);if(he)return he._properties[U]}getZoneWith(U){let he=this;for(;he;){if(he._properties.hasOwnProperty(U))return he;he=he._parent}return null}fork(U){if(!U)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,U)}wrap(U,he){if("function"!=typeof U)throw new Error("Expecting function got: "+U);const Ue=this._zoneDelegate.intercept(this,U,he),st=this;return function(){return st.runGuarded(Ue,this,arguments,he)}}run(U,he,Ue,st){gn={parent:gn,zone:this};try{return this._zoneDelegate.invoke(this,U,he,Ue,st)}finally{gn=gn.parent}}runGuarded(U,he=null,Ue,st){gn={parent:gn,zone:this};try{try{return this._zoneDelegate.invoke(this,U,he,Ue,st)}catch(jt){if(this._zoneDelegate.handleError(this,jt))throw jt}}finally{gn=gn.parent}}runTask(U,he,Ue){if(U.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(U.zone||Jt).name+"; Execution: "+this.name+")");if(U.state===Dt&&(U.type===qn||U.type===on))return;const st=U.state!=Ft;st&&U._transitionTo(Ft,cn),U.runCount++;const jt=Tr;Tr=U,gn={parent:gn,zone:this};try{U.type==on&&U.data&&!U.data.isPeriodic&&(U.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,U,he,Ue)}catch(ut){if(this._zoneDelegate.handleError(this,ut))throw ut}}finally{U.state!==Dt&&U.state!==Nt&&(U.type==qn||U.data&&U.data.isPeriodic?st&&U._transitionTo(cn,Ft):(U.runCount=0,this._updateTaskCount(U,-1),st&&U._transitionTo(Dt,Ft,Dt))),gn=gn.parent,Tr=jt}}scheduleTask(U){if(U.zone&&U.zone!==this){let Ue=this;for(;Ue;){if(Ue===U.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${U.zone.name}`);Ue=Ue.parent}}U._transitionTo(pn,Dt);const he=[];U._zoneDelegates=he,U._zone=this;try{U=this._zoneDelegate.scheduleTask(this,U)}catch(Ue){throw U._transitionTo(Nt,pn,Dt),this._zoneDelegate.handleError(this,Ue),Ue}return U._zoneDelegates===he&&this._updateTaskCount(U,1),U.state==pn&&U._transitionTo(cn,pn),U}scheduleMicroTask(U,he,Ue,st){return this.scheduleTask(new yt(dn,U,he,Ue,st,void 0))}scheduleMacroTask(U,he,Ue,st,jt){return this.scheduleTask(new yt(on,U,he,Ue,st,jt))}scheduleEventTask(U,he,Ue,st,jt){return this.scheduleTask(new yt(qn,U,he,Ue,st,jt))}cancelTask(U){if(U.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(U.zone||Jt).name+"; Execution: "+this.name+")");U._transitionTo(In,cn,Ft);try{this._zoneDelegate.cancelTask(this,U)}catch(he){throw U._transitionTo(Nt,In),this._zoneDelegate.handleError(this,he),he}return this._updateTaskCount(U,-1),U._transitionTo(Dt,In),U.runCount=0,U}_updateTaskCount(U,he){const Ue=U._zoneDelegates;-1==he&&(U._zoneDelegates=null);for(let st=0;st<Ue.length;st++)Ue[st]._updateTaskCount(U.type,he)}}return me.__symbol__=J,me})();const ze={name:"",onHasTask:(me,X,U,he)=>me.hasTask(U,he),onScheduleTask:(me,X,U,he)=>me.scheduleTask(U,he),onInvokeTask:(me,X,U,he,Ue,st)=>me.invokeTask(U,he,Ue,st),onCancelTask:(me,X,U,he)=>me.cancelTask(U,he)};class dt{constructor(X,U,he){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=X,this._parentDelegate=U,this._forkZS=he&&(he&&he.onFork?he:U._forkZS),this._forkDlgt=he&&(he.onFork?U:U._forkDlgt),this._forkCurrZone=he&&(he.onFork?this.zone:U._forkCurrZone),this._interceptZS=he&&(he.onIntercept?he:U._interceptZS),this._interceptDlgt=he&&(he.onIntercept?U:U._interceptDlgt),this._interceptCurrZone=he&&(he.onIntercept?this.zone:U._interceptCurrZone),this._invokeZS=he&&(he.onInvoke?he:U._invokeZS),this._invokeDlgt=he&&(he.onInvoke?U:U._invokeDlgt),this._invokeCurrZone=he&&(he.onInvoke?this.zone:U._invokeCurrZone),this._handleErrorZS=he&&(he.onHandleError?he:U._handleErrorZS),this._handleErrorDlgt=he&&(he.onHandleError?U:U._handleErrorDlgt),this._handleErrorCurrZone=he&&(he.onHandleError?this.zone:U._handleErrorCurrZone),this._scheduleTaskZS=he&&(he.onScheduleTask?he:U._scheduleTaskZS),this._scheduleTaskDlgt=he&&(he.onScheduleTask?U:U._scheduleTaskDlgt),this._scheduleTaskCurrZone=he&&(he.onScheduleTask?this.zone:U._scheduleTaskCurrZone),this._invokeTaskZS=he&&(he.onInvokeTask?he:U._invokeTaskZS),this._invokeTaskDlgt=he&&(he.onInvokeTask?U:U._invokeTaskDlgt),this._invokeTaskCurrZone=he&&(he.onInvokeTask?this.zone:U._invokeTaskCurrZone),this._cancelTaskZS=he&&(he.onCancelTask?he:U._cancelTaskZS),this._cancelTaskDlgt=he&&(he.onCancelTask?U:U._cancelTaskDlgt),this._cancelTaskCurrZone=he&&(he.onCancelTask?this.zone:U._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const Ue=he&&he.onHasTask;(Ue||U&&U._hasTaskZS)&&(this._hasTaskZS=Ue?he:ze,this._hasTaskDlgt=U,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=X,he.onScheduleTask||(this._scheduleTaskZS=ze,this._scheduleTaskDlgt=U,this._scheduleTaskCurrZone=this.zone),he.onInvokeTask||(this._invokeTaskZS=ze,this._invokeTaskDlgt=U,this._invokeTaskCurrZone=this.zone),he.onCancelTask||(this._cancelTaskZS=ze,this._cancelTaskDlgt=U,this._cancelTaskCurrZone=this.zone))}fork(X,U){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,X,U):new xe(X,U)}intercept(X,U,he){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,X,U,he):U}invoke(X,U,he,Ue,st){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,X,U,he,Ue,st):U.apply(he,Ue)}handleError(X,U){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,X,U)}scheduleTask(X,U){let he=U;if(this._scheduleTaskZS)this._hasTaskZS&&he._zoneDelegates.push(this._hasTaskDlgtOwner),he=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,X,U),he||(he=U);else if(U.scheduleFn)U.scheduleFn(U);else{if(U.type!=dn)throw new Error("Task is missing scheduleFn.");It(U)}return he}invokeTask(X,U,he,Ue){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,X,U,he,Ue):U.callback.apply(he,Ue)}cancelTask(X,U){let he;if(this._cancelTaskZS)he=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,X,U);else{if(!U.cancelFn)throw Error("Task is not cancelable");he=U.cancelFn(U)}return he}hasTask(X,U){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,X,U)}catch(he){this.handleError(X,he)}}_updateTaskCount(X,U){const he=this._taskCounts,Ue=he[X],st=he[X]=Ue+U;if(st<0)throw new Error("More tasks executed then were scheduled.");0!=Ue&&0!=st||this.hasTask(this.zone,{microTask:he.microTask>0,macroTask:he.macroTask>0,eventTask:he.eventTask>0,change:X})}}class yt{constructor(X,U,he,Ue,st,jt){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=X,this.source=U,this.data=Ue,this.scheduleFn=st,this.cancelFn=jt,!he)throw new Error("callback is not defined");this.callback=he;const ut=this;this.invoke=X===qn&&Ue&&Ue.useG?yt.invokeTask:function(){return yt.invokeTask.call(Me,ut,this,arguments)}}static invokeTask(X,U,he){X||(X=this),Qt++;try{return X.runCount++,X.zone.runTask(X,U,he)}finally{1==Qt&&Ot(),Qt--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(Dt,pn)}_transitionTo(X,U,he){if(this._state!==U&&this._state!==he)throw new Error(`${this.type} '${this.source}': can not transition to '${X}', expecting state '${U}'${he?" or '"+he+"'":""}, was '${this._state}'.`);this._state=X,X==Dt&&(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 qt=J("setTimeout"),Ct=J("Promise"),Mt=J("then");let Vt,Xt=[],vn=!1;function Pt(me){if(Vt||Me[Ct]&&(Vt=Me[Ct].resolve(0)),Vt){let X=Vt[Mt];X||(X=Vt.then),X.call(Vt,me)}else Me[qt](me,0)}function It(me){0===Qt&&0===Xt.length&&Pt(Ot),me&&Xt.push(me)}function Ot(){if(!vn){for(vn=!0;Xt.length;){const me=Xt;Xt=[];for(let X=0;X<me.length;X++){const U=me[X];try{U.zone.runTask(U,null,null)}catch(he){Yn.onUnhandledError(he)}}}Yn.microtaskDrainDone(),vn=!1}}const Jt={name:"NO ZONE"},Dt="notScheduled",pn="scheduling",cn="scheduled",Ft="running",In="canceling",Nt="unknown",dn="microTask",on="macroTask",qn="eventTask",yr={},Yn={symbol:J,currentZoneFrame:()=>gn,onUnhandledError:Ae,microtaskDrainDone:Ae,scheduleMicroTask:It,showUncaughtError:()=>!xe[J("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:Ae,patchMethod:()=>Ae,bindArguments:()=>[],patchThen:()=>Ae,patchMacroTask:()=>Ae,patchEventPrototype:()=>Ae,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>Ae,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>Ae,wrapWithCurrentZone:()=>Ae,filterProperties:()=>[],attachOriginToPatched:()=>Ae,_redefineProperty:()=>Ae,patchCallbacks:()=>Ae,nativeScheduleMicroTask:Pt};let gn={parent:null,zone:new xe(null,null)},Tr=null,Qt=0;function Ae(){}qe("Zone","Zone"),Me.Zone=xe}(typeof window<"u"&&window||typeof self<"u"&&self||global);const He=Object.getOwnPropertyDescriptor,ne=Object.defineProperty,S=Object.getPrototypeOf,r=Object.create,v=Array.prototype.slice,G="addEventListener",Q="removeEventListener",ee=Zone.__symbol__(G),de=Zone.__symbol__(Q),ae="true",pe="false",ve=Zone.__symbol__("");function H(Me,$e){return Zone.current.wrap(Me,$e)}function re(Me,$e,je,qe,De){return Zone.current.scheduleMacroTask(Me,$e,je,qe,De)}const ie=Zone.__symbol__,ye=typeof window<"u",Oe=ye?window:void 0,te=ye&&Oe||"object"==typeof self&&self||global;function ke(Me,$e){for(let je=Me.length-1;je>=0;je--)"function"==typeof Me[je]&&(Me[je]=H(Me[je],$e+"_"+je));return Me}function Xe(Me){return!Me||!1!==Me.writable&&!("function"==typeof Me.get&&typeof Me.set>"u")}const tt=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,nt=!("nw"in te)&&typeof te.process<"u"&&"[object process]"==={}.toString.call(te.process),Fe=!nt&&!tt&&!(!ye||!Oe.HTMLElement),it=typeof te.process<"u"&&"[object process]"==={}.toString.call(te.process)&&!tt&&!(!ye||!Oe.HTMLElement),lt={},pt=function(Me){if(!(Me=Me||te.event))return;let $e=lt[Me.type];$e||($e=lt[Me.type]=ie("ON_PROPERTY"+Me.type));const je=this||Me.target||te,qe=je[$e];let De;if(Fe&&je===Oe&&"error"===Me.type){const J=Me;De=qe&&qe.call(this,J.message,J.filename,J.lineno,J.colno,J.error),!0===De&&Me.preventDefault()}else De=qe&&qe.apply(this,arguments),null!=De&&!De&&Me.preventDefault();return De};function Ee(Me,$e,je){let qe=He(Me,$e);if(!qe&&je&&He(je,$e)&&(qe={enumerable:!0,configurable:!0}),!qe||!qe.configurable)return;const De=ie("on"+$e+"patched");if(Me.hasOwnProperty(De)&&Me[De])return;delete qe.writable,delete qe.value;const J=qe.get,se=qe.set,xe=$e.slice(2);let ze=lt[xe];ze||(ze=lt[xe]=ie("ON_PROPERTY"+xe)),qe.set=function(dt){let yt=this;!yt&&Me===te&&(yt=te),yt&&("function"==typeof yt[ze]&&yt.removeEventListener(xe,pt),se&&se.call(yt,null),yt[ze]=dt,"function"==typeof dt&&yt.addEventListener(xe,pt,!1))},qe.get=function(){let dt=this;if(!dt&&Me===te&&(dt=te),!dt)return null;const yt=dt[ze];if(yt)return yt;if(J){let qt=J.call(this);if(qt)return qe.set.call(this,qt),"function"==typeof dt.removeAttribute&&dt.removeAttribute($e),qt}return null},ne(Me,$e,qe),Me[De]=!0}function le(Me,$e,je){if($e)for(let qe=0;qe<$e.length;qe++)Ee(Me,"on"+$e[qe],je);else{const qe=[];for(const De in Me)"on"==De.slice(0,2)&&qe.push(De);for(let De=0;De<qe.length;De++)Ee(Me,qe[De],je)}}const K=ie("originalInstance");function ge(Me){const $e=te[Me];if(!$e)return;te[ie(Me)]=$e,te[Me]=function(){const De=ke(arguments,Me);switch(De.length){case 0:this[K]=new $e;break;case 1:this[K]=new $e(De[0]);break;case 2:this[K]=new $e(De[0],De[1]);break;case 3:this[K]=new $e(De[0],De[1],De[2]);break;case 4:this[K]=new $e(De[0],De[1],De[2],De[3]);break;default:throw new Error("Arg list too long.")}},Le(te[Me],$e);const je=new $e((function(){}));let qe;for(qe in je)"XMLHttpRequest"===Me&&"responseBlob"===qe||function(De){"function"==typeof je[De]?te[Me].prototype[De]=function(){return this[K][De].apply(this[K],arguments)}:ne(te[Me].prototype,De,{set:function(J){"function"==typeof J?(this[K][De]=H(J,Me+"."+De),Le(this[K][De],J)):this[K][De]=J},get:function(){return this[K][De]}})}(qe);for(qe in $e)"prototype"!==qe&&$e.hasOwnProperty(qe)&&(te[Me][qe]=$e[qe])}function Ie(Me,$e,je){let qe=Me;for(;qe&&!qe.hasOwnProperty($e);)qe=S(qe);!qe&&Me[$e]&&(qe=Me);const De=ie($e);let J=null;if(qe&&(!(J=qe[De])||!qe.hasOwnProperty(De))&&(J=qe[De]=qe[$e],Xe(qe&&He(qe,$e)))){const xe=je(J,De,$e);qe[$e]=function(){return xe(this,arguments)},Le(qe[$e],J)}return J}function we(Me,$e,je){let qe=null;function De(J){const se=J.data;return se.args[se.cbIdx]=function(){J.invoke.apply(this,arguments)},qe.apply(se.target,se.args),J}qe=Ie(Me,$e,(J=>function(se,xe){const ze=je(se,xe);return ze.cbIdx>=0&&"function"==typeof xe[ze.cbIdx]?re(ze.name,xe[ze.cbIdx],ze,De):J.apply(se,xe)}))}function Le(Me,$e){Me[ie("OriginalDelegate")]=$e}let mt=!1,Rt=!1;function zt(){if(mt)return Rt;mt=!0;try{const Me=Oe.navigator.userAgent;(-1!==Me.indexOf("MSIE ")||-1!==Me.indexOf("Trident/")||-1!==Me.indexOf("Edge/"))&&(Rt=!0)}catch{}return Rt}Zone.__load_patch("ZoneAwarePromise",((Me,$e,je)=>{const qe=Object.getOwnPropertyDescriptor,De=Object.defineProperty,se=je.symbol,xe=[],ze=!0===Me[se("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],dt=se("Promise"),yt=se("then");je.onUnhandledError=ut=>{if(je.showUncaughtError()){const bt=ut&&ut.rejection;bt?console.error("Unhandled Promise rejection:",bt instanceof Error?bt.message:bt,"; Zone:",ut.zone.name,"; Task:",ut.task&&ut.task.source,"; Value:",bt,bt instanceof Error?bt.stack:void 0):console.error(ut)}},je.microtaskDrainDone=()=>{for(;xe.length;){const ut=xe.shift();try{ut.zone.runGuarded((()=>{throw ut.throwOriginal?ut.rejection:ut}))}catch(bt){Mt(bt)}}};const Ct=se("unhandledPromiseRejectionHandler");function Mt(ut){je.onUnhandledError(ut);try{const bt=$e[Ct];"function"==typeof bt&&bt.call(this,ut)}catch{}}function Xt(ut){return ut&&ut.then}function vn(ut){return ut}function Vt(ut){return U.reject(ut)}const Pt=se("state"),It=se("value"),Ot=se("finally"),Jt=se("parentPromiseValue"),Dt=se("parentPromiseState"),cn=null,In=!1;function dn(ut,bt){return Ye=>{try{Yn(ut,bt,Ye)}catch(St){Yn(ut,!1,St)}}}const on=function(){let ut=!1;return function(Ye){return function(){ut||(ut=!0,Ye.apply(null,arguments))}}},yr=se("currentTaskTrace");function Yn(ut,bt,Ye){const St=on();if(ut===Ye)throw new TypeError("Promise resolved with itself");if(ut[Pt]===cn){let At=null;try{("object"==typeof Ye||"function"==typeof Ye)&&(At=Ye&&Ye.then)}catch($t){return St((()=>{Yn(ut,!1,$t)}))(),ut}if(bt!==In&&Ye instanceof U&&Ye.hasOwnProperty(Pt)&&Ye.hasOwnProperty(It)&&Ye[Pt]!==cn)Tr(Ye),Yn(ut,Ye[Pt],Ye[It]);else if(bt!==In&&"function"==typeof At)try{At.call(Ye,St(dn(ut,bt)),St(dn(ut,!1)))}catch($t){St((()=>{Yn(ut,!1,$t)}))()}else{ut[Pt]=bt;const $t=ut[It];if(ut[It]=Ye,ut[Ot]===Ot&&!0===bt&&(ut[Pt]=ut[Dt],ut[It]=ut[Jt]),bt===In&&Ye instanceof Error){const F=$e.currentTask&&$e.currentTask.data&&$e.currentTask.data.__creationTrace__;F&&De(Ye,yr,{configurable:!0,enumerable:!1,writable:!0,value:F})}for(let F=0;F<$t.length;)Qt(ut,$t[F++],$t[F++],$t[F++],$t[F++]);if(0==$t.length&&bt==In){ut[Pt]=0;let F=Ye;try{throw new Error("Uncaught (in promise): "+function J(ut){return ut&&ut.toString===Object.prototype.toString?(ut.constructor&&ut.constructor.name||"")+": "+JSON.stringify(ut):ut?ut.toString():Object.prototype.toString.call(ut)}(Ye)+(Ye&&Ye.stack?"\n"+Ye.stack:""))}catch(B){F=B}ze&&(F.throwOriginal=!0),F.rejection=Ye,F.promise=ut,F.zone=$e.current,F.task=$e.currentTask,xe.push(F),je.scheduleMicroTask()}}}return ut}const gn=se("rejectionHandledHandler");function Tr(ut){if(0===ut[Pt]){try{const bt=$e[gn];bt&&"function"==typeof bt&&bt.call(this,{rejection:ut[It],promise:ut})}catch{}ut[Pt]=In;for(let bt=0;bt<xe.length;bt++)ut===xe[bt].promise&&xe.splice(bt,1)}}function Qt(ut,bt,Ye,St,At){Tr(ut);const $t=ut[Pt],F=$t?"function"==typeof St?St:vn:"function"==typeof At?At:Vt;bt.scheduleMicroTask("Promise.then",(()=>{try{const B=ut[It],$=!!Ye&&Ot===Ye[Ot];$&&(Ye[Jt]=B,Ye[Dt]=$t);const ce=bt.run(F,void 0,$&&F!==Vt&&F!==vn?[]:[B]);Yn(Ye,!0,ce)}catch(B){Yn(Ye,!1,B)}}),Ye)}const me=function(){},X=Me.AggregateError;class U{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(bt){return Yn(new this(null),!0,bt)}static reject(bt){return Yn(new this(null),In,bt)}static any(bt){if(!bt||"function"!=typeof bt[Symbol.iterator])return Promise.reject(new X([],"All promises were rejected"));const Ye=[];let St=0;try{for(let F of bt)St++,Ye.push(U.resolve(F))}catch{return Promise.reject(new X([],"All promises were rejected"))}if(0===St)return Promise.reject(new X([],"All promises were rejected"));let At=!1;const $t=[];return new U(((F,B)=>{for(let $=0;$<Ye.length;$++)Ye[$].then((ce=>{At||(At=!0,F(ce))}),(ce=>{$t.push(ce),St--,0===St&&(At=!0,B(new X($t,"All promises were rejected")))}))}))}static race(bt){let Ye,St,At=new this(((B,$)=>{Ye=B,St=$}));function $t(B){Ye(B)}function F(B){St(B)}for(let B of bt)Xt(B)||(B=this.resolve(B)),B.then($t,F);return At}static all(bt){return U.allWithCallback(bt)}static allSettled(bt){return(this&&this.prototype instanceof U?this:U).allWithCallback(bt,{thenCallback:St=>({status:"fulfilled",value:St}),errorCallback:St=>({status:"rejected",reason:St})})}static allWithCallback(bt,Ye){let St,At,$t=new this(((ce,V)=>{St=ce,At=V})),F=2,B=0;const $=[];for(let ce of bt){Xt(ce)||(ce=this.resolve(ce));const V=B;try{ce.then((N=>{$[V]=Ye?Ye.thenCallback(N):N,F--,0===F&&St($)}),(N=>{Ye?($[V]=Ye.errorCallback(N),F--,0===F&&St($)):At(N)}))}catch(N){At(N)}F++,B++}return F-=2,0===F&&St($),$t}constructor(bt){const Ye=this;if(!(Ye instanceof U))throw new Error("Must be an instanceof Promise.");Ye[Pt]=cn,Ye[It]=[];try{const St=on();bt&&bt(St(dn(Ye,!0)),St(dn(Ye,In)))}catch(St){Yn(Ye,!1,St)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return U}then(bt,Ye){var St;let At=null===(St=this.constructor)||void 0===St?void 0:St[Symbol.species];(!At||"function"!=typeof At)&&(At=this.constructor||U);const $t=new At(me),F=$e.current;return this[Pt]==cn?this[It].push(F,$t,bt,Ye):Qt(this,F,$t,bt,Ye),$t}catch(bt){return this.then(null,bt)}finally(bt){var Ye;let St=null===(Ye=this.constructor)||void 0===Ye?void 0:Ye[Symbol.species];(!St||"function"!=typeof St)&&(St=U);const At=new St(me);At[Ot]=Ot;const $t=$e.current;return this[Pt]==cn?this[It].push($t,At,bt,bt):Qt(this,$t,At,bt,bt),At}}U.resolve=U.resolve,U.reject=U.reject,U.race=U.race,U.all=U.all;const he=Me[dt]=Me.Promise;Me.Promise=U;const Ue=se("thenPatched");function st(ut){const bt=ut.prototype,Ye=qe(bt,"then");if(Ye&&(!1===Ye.writable||!Ye.configurable))return;const St=bt.then;bt[yt]=St,ut.prototype.then=function(At,$t){return new U(((B,$)=>{St.call(this,B,$)})).then(At,$t)},ut[Ue]=!0}return je.patchThen=st,he&&(st(he),Ie(Me,"fetch",(ut=>function jt(ut){return function(bt,Ye){let St=ut.apply(bt,Ye);if(St instanceof U)return St;let At=St.constructor;return At[Ue]||st(At),St}}(ut)))),Promise[$e.__symbol__("uncaughtPromiseErrors")]=xe,U})),Zone.__load_patch("toString",(Me=>{const $e=Function.prototype.toString,je=ie("OriginalDelegate"),qe=ie("Promise"),De=ie("Error"),J=function(){if("function"==typeof this){const dt=this[je];if(dt)return"function"==typeof dt?$e.call(dt):Object.prototype.toString.call(dt);if(this===Promise){const yt=Me[qe];if(yt)return $e.call(yt)}if(this===Error){const yt=Me[De];if(yt)return $e.call(yt)}}return $e.call(this)};J[je]=$e,Function.prototype.toString=J;const se=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":se.call(this)}}));let _n=!1;if(typeof window<"u")try{const Me=Object.defineProperty({},"passive",{get:function(){_n=!0}});window.addEventListener("test",Me,Me),window.removeEventListener("test",Me,Me)}catch{_n=!1}const xr={useG:!0},bn={},Kn={},Pn=new RegExp("^"+ve+"(\\w+)(true|false)$"),Wt=ie("propagationStopped");function zn(Me,$e){const je=($e?$e(Me):Me)+pe,qe=($e?$e(Me):Me)+ae,De=ve+je,J=ve+qe;bn[Me]={},bn[Me][pe]=De,bn[Me][ae]=J}function Ir(Me,$e,je,qe){const De=qe&&qe.add||G,J=qe&&qe.rm||Q,se=qe&&qe.listeners||"eventListeners",xe=qe&&qe.rmAll||"removeAllListeners",ze=ie(De),dt="."+De+":",Ct=function(It,Ot,Jt){if(It.isRemoved)return;const Dt=It.callback;let pn;"object"==typeof Dt&&Dt.handleEvent&&(It.callback=Ft=>Dt.handleEvent(Ft),It.originalDelegate=Dt);try{It.invoke(It,Ot,[Jt])}catch(Ft){pn=Ft}const cn=It.options;return cn&&"object"==typeof cn&&cn.once&&Ot[J].call(Ot,Jt.type,It.originalDelegate?It.originalDelegate:It.callback,cn),pn};function Mt(It,Ot,Jt){if(!(Ot=Ot||Me.event))return;const Dt=It||Ot.target||Me,pn=Dt[bn[Ot.type][Jt?ae:pe]];if(pn){const cn=[];if(1===pn.length){const Ft=Ct(pn[0],Dt,Ot);Ft&&cn.push(Ft)}else{const Ft=pn.slice();for(let In=0;In<Ft.length&&(!Ot||!0!==Ot[Wt]);In++){const Nt=Ct(Ft[In],Dt,Ot);Nt&&cn.push(Nt)}}if(1===cn.length)throw cn[0];for(let Ft=0;Ft<cn.length;Ft++){const In=cn[Ft];$e.nativeScheduleMicroTask((()=>{throw In}))}}}const Xt=function(It){return Mt(this,It,!1)},vn=function(It){return Mt(this,It,!0)};function Vt(It,Ot){if(!It)return!1;let Jt=!0;Ot&&void 0!==Ot.useG&&(Jt=Ot.useG);const Dt=Ot&&Ot.vh;let pn=!0;Ot&&void 0!==Ot.chkDup&&(pn=Ot.chkDup);let cn=!1;Ot&&void 0!==Ot.rt&&(cn=Ot.rt);let Ft=It;for(;Ft&&!Ft.hasOwnProperty(De);)Ft=S(Ft);if(!Ft&&It[De]&&(Ft=It),!Ft||Ft[ze])return!1;const In=Ot&&Ot.eventNameToString,Nt={},dn=Ft[ze]=Ft[De],on=Ft[ie(J)]=Ft[J],qn=Ft[ie(se)]=Ft[se],yr=Ft[ie(xe)]=Ft[xe];let Yn;function gn(Ye,St){return!_n&&"object"==typeof Ye&&Ye?!!Ye.capture:_n&&St?"boolean"==typeof Ye?{capture:Ye,passive:!0}:Ye?"object"==typeof Ye&&!1!==Ye.passive?Object.assign(Object.assign({},Ye),{passive:!0}):Ye:{passive:!0}:Ye}Ot&&Ot.prepend&&(Yn=Ft[ie(Ot.prepend)]=Ft[Ot.prepend]);const U=Jt?function(Ye){if(!Nt.isExisting)return dn.call(Nt.target,Nt.eventName,Nt.capture?vn:Xt,Nt.options)}:function(Ye){return dn.call(Nt.target,Nt.eventName,Ye.invoke,Nt.options)},he=Jt?function(Ye){if(!Ye.isRemoved){const St=bn[Ye.eventName];let At;St&&(At=St[Ye.capture?ae:pe]);const $t=At&&Ye.target[At];if($t)for(let F=0;F<$t.length;F++)if($t[F]===Ye){$t.splice(F,1),Ye.isRemoved=!0,0===$t.length&&(Ye.allRemoved=!0,Ye.target[At]=null);break}}if(Ye.allRemoved)return on.call(Ye.target,Ye.eventName,Ye.capture?vn:Xt,Ye.options)}:function(Ye){return on.call(Ye.target,Ye.eventName,Ye.invoke,Ye.options)},st=Ot&&Ot.diff?Ot.diff:function(Ye,St){const At=typeof St;return"function"===At&&Ye.callback===St||"object"===At&&Ye.originalDelegate===St},jt=Zone[ie("UNPATCHED_EVENTS")],ut=Me[ie("PASSIVE_EVENTS")],bt=function(Ye,St,At,$t,F=!1,B=!1){return function(){const $=this||Me;let ce=arguments[0];Ot&&Ot.transferEventName&&(ce=Ot.transferEventName(ce));let V=arguments[1];if(!V)return Ye.apply(this,arguments);if(nt&&"uncaughtException"===ce)return Ye.apply(this,arguments);let N=!1;if("function"!=typeof V){if(!V.handleEvent)return Ye.apply(this,arguments);N=!0}if(Dt&&!Dt(Ye,V,$,arguments))return;const w=_n&&!!ut&&-1!==ut.indexOf(ce),L=gn(arguments[2],w);if(jt)for(let cr=0;cr<jt.length;cr++)if(ce===jt[cr])return w?Ye.call($,ce,V,L):Ye.apply(this,arguments);const _e=!!L&&("boolean"==typeof L||L.capture),Ve=!(!L||"object"!=typeof L)&&L.once,at=Zone.current;let en=bn[ce];en||(zn(ce,In),en=bn[ce]);const Ut=en[_e?ae:pe];let tr,nn=$[Ut],ur=!1;if(nn){if(ur=!0,pn)for(let cr=0;cr<nn.length;cr++)if(st(nn[cr],V))return}else nn=$[Ut]=[];const ir=$.constructor.name,br=Kn[ir];br&&(tr=br[ce]),tr||(tr=ir+St+(In?In(ce):ce)),Nt.options=L,Ve&&(Nt.options.once=!1),Nt.target=$,Nt.capture=_e,Nt.eventName=ce,Nt.isExisting=ur;const kr=Jt?xr:void 0;kr&&(kr.taskData=Nt);const Er=at.scheduleEventTask(tr,V,kr,At,$t);return Nt.target=null,kr&&(kr.taskData=null),Ve&&(L.once=!0),!_n&&"boolean"==typeof Er.options||(Er.options=L),Er.target=$,Er.capture=_e,Er.eventName=ce,N&&(Er.originalDelegate=V),B?nn.unshift(Er):nn.push(Er),F?$:void 0}};return Ft[De]=bt(dn,dt,U,he,cn),Yn&&(Ft.prependListener=bt(Yn,".prependListener:",(function(Ye){return Yn.call(Nt.target,Nt.eventName,Ye.invoke,Nt.options)}),he,cn,!0)),Ft[J]=function(){const Ye=this||Me;let St=arguments[0];Ot&&Ot.transferEventName&&(St=Ot.transferEventName(St));const At=arguments[2],$t=!!At&&("boolean"==typeof At||At.capture),F=arguments[1];if(!F)return on.apply(this,arguments);if(Dt&&!Dt(on,F,Ye,arguments))return;const B=bn[St];let $;B&&($=B[$t?ae:pe]);const ce=$&&Ye[$];if(ce)for(let V=0;V<ce.length;V++){const N=ce[V];if(st(N,F))return ce.splice(V,1),N.isRemoved=!0,0===ce.length&&(N.allRemoved=!0,Ye[$]=null,"string"==typeof St)&&(Ye[ve+"ON_PROPERTY"+St]=null),N.zone.cancelTask(N),cn?Ye:void 0}return on.apply(this,arguments)},Ft[se]=function(){const Ye=this||Me;let St=arguments[0];Ot&&Ot.transferEventName&&(St=Ot.transferEventName(St));const At=[],$t=Cr(Ye,In?In(St):St);for(let F=0;F<$t.length;F++){const B=$t[F];At.push(B.originalDelegate?B.originalDelegate:B.callback)}return At},Ft[xe]=function(){const Ye=this||Me;let St=arguments[0];if(St){Ot&&Ot.transferEventName&&(St=Ot.transferEventName(St));const At=bn[St];if(At){const B=Ye[At[pe]],$=Ye[At[ae]];if(B){const ce=B.slice();for(let V=0;V<ce.length;V++){const N=ce[V];this[J].call(this,St,N.originalDelegate?N.originalDelegate:N.callback,N.options)}}if($){const ce=$.slice();for(let V=0;V<ce.length;V++){const N=ce[V];this[J].call(this,St,N.originalDelegate?N.originalDelegate:N.callback,N.options)}}}}else{const At=Object.keys(Ye);for(let $t=0;$t<At.length;$t++){const B=Pn.exec(At[$t]);let $=B&&B[1];$&&"removeListener"!==$&&this[xe].call(this,$)}this[xe].call(this,"removeListener")}if(cn)return this},Le(Ft[De],dn),Le(Ft[J],on),yr&&Le(Ft[xe],yr),qn&&Le(Ft[se],qn),!0}let Pt=[];for(let It=0;It<je.length;It++)Pt[It]=Vt(je[It],qe);return Pt}function Cr(Me,$e){if(!$e){const J=[];for(let se in Me){const xe=Pn.exec(se);let ze=xe&&xe[1];if(ze&&(!$e||ze===$e)){const dt=Me[se];if(dt)for(let yt=0;yt<dt.length;yt++)J.push(dt[yt])}}return J}let je=bn[$e];je||(zn($e),je=bn[$e]);const qe=Me[je[pe]],De=Me[je[ae]];return qe?De?qe.concat(De):qe.slice():De?De.slice():[]}function er(Me,$e){const je=Me.Event;je&&je.prototype&&$e.patchMethod(je.prototype,"stopImmediatePropagation",(qe=>function(De,J){De[Wt]=!0,qe&&qe.apply(De,J)}))}function ui(Me,$e,je,qe,De){const J=Zone.__symbol__(qe);if($e[J])return;const se=$e[J]=$e[qe];$e[qe]=function(xe,ze,dt){return ze&&ze.prototype&&De.forEach((function(yt){const qt=`${je}.${qe}::`+yt,Ct=ze.prototype;try{if(Ct.hasOwnProperty(yt)){const Mt=Me.ObjectGetOwnPropertyDescriptor(Ct,yt);Mt&&Mt.value?(Mt.value=Me.wrapWithCurrentZone(Mt.value,qt),Me._redefineProperty(ze.prototype,yt,Mt)):Ct[yt]&&(Ct[yt]=Me.wrapWithCurrentZone(Ct[yt],qt))}else Ct[yt]&&(Ct[yt]=Me.wrapWithCurrentZone(Ct[yt],qt))}catch{}})),se.call($e,xe,ze,dt)},Me.attachOriginToPatched($e[qe],se)}function wr(Me,$e,je){if(!je||0===je.length)return $e;const qe=je.filter((J=>J.target===Me));if(!qe||0===qe.length)return $e;const De=qe[0].ignoreProperties;return $e.filter((J=>-1===De.indexOf(J)))}function $n(Me,$e,je,qe){Me&&le(Me,wr(Me,$e,je),qe)}function Vn(Me){return Object.getOwnPropertyNames(Me).filter(($e=>$e.startsWith("on")&&$e.length>2)).map(($e=>$e.substring(2)))}Zone.__load_patch("util",((Me,$e,je)=>{const qe=Vn(Me);je.patchOnProperties=le,je.patchMethod=Ie,je.bindArguments=ke,je.patchMacroTask=we;const De=$e.__symbol__("BLACK_LISTED_EVENTS"),J=$e.__symbol__("UNPATCHED_EVENTS");Me[J]&&(Me[De]=Me[J]),Me[De]&&($e[De]=$e[J]=Me[De]),je.patchEventPrototype=er,je.patchEventTarget=Ir,je.isIEOrEdge=zt,je.ObjectDefineProperty=ne,je.ObjectGetOwnPropertyDescriptor=He,je.ObjectCreate=r,je.ArraySlice=v,je.patchClass=ge,je.wrapWithCurrentZone=H,je.filterProperties=wr,je.attachOriginToPatched=Le,je._redefineProperty=Object.defineProperty,je.patchCallbacks=ui,je.getGlobalObjects=()=>({globalSources:Kn,zoneSymbolEventNames:bn,eventNames:qe,isBrowser:Fe,isMix:it,isNode:nt,TRUE_STR:ae,FALSE_STR:pe,ZONE_SYMBOL_PREFIX:ve,ADD_EVENT_LISTENER_STR:G,REMOVE_EVENT_LISTENER_STR:Q})}));const ci=ie("zoneTask");function Kt(Me,$e,je,qe){let De=null,J=null;je+=qe;const se={};function xe(dt){const yt=dt.data;return yt.args[0]=function(){return dt.invoke.apply(this,arguments)},yt.handleId=De.apply(Me,yt.args),dt}function ze(dt){return J.call(Me,dt.data.handleId)}De=Ie(Me,$e+=qe,(dt=>function(yt,qt){if("function"==typeof qt[0]){const Ct={isPeriodic:"Interval"===qe,delay:"Timeout"===qe||"Interval"===qe?qt[1]||0:void 0,args:qt},Mt=qt[0];qt[0]=function(){try{return Mt.apply(this,arguments)}finally{Ct.isPeriodic||("number"==typeof Ct.handleId?delete se[Ct.handleId]:Ct.handleId&&(Ct.handleId[ci]=null))}};const Xt=re($e,qt[0],Ct,xe,ze);if(!Xt)return Xt;const vn=Xt.data.handleId;return"number"==typeof vn?se[vn]=Xt:vn&&(vn[ci]=Xt),vn&&vn.ref&&vn.unref&&"function"==typeof vn.ref&&"function"==typeof vn.unref&&(Xt.ref=vn.ref.bind(vn),Xt.unref=vn.unref.bind(vn)),"number"==typeof vn||vn?vn:Xt}return dt.apply(Me,qt)})),J=Ie(Me,je,(dt=>function(yt,qt){const Ct=qt[0];let Mt;"number"==typeof Ct?Mt=se[Ct]:(Mt=Ct&&Ct[ci],Mt||(Mt=Ct)),Mt&&"string"==typeof Mt.type?"notScheduled"!==Mt.state&&(Mt.cancelFn&&Mt.data.isPeriodic||0===Mt.runCount)&&("number"==typeof Ct?delete se[Ct]:Ct&&(Ct[ci]=null),Mt.zone.cancelTask(Mt)):dt.apply(Me,qt)}))}Zone.__load_patch("legacy",(Me=>{const $e=Me[Zone.__symbol__("legacyPatch")];$e&&$e()})),Zone.__load_patch("queueMicrotask",((Me,$e,je)=>{je.patchMethod(Me,"queueMicrotask",(qe=>function(De,J){$e.current.scheduleMicroTask("queueMicrotask",J[0])}))})),Zone.__load_patch("timers",(Me=>{const je="clear";Kt(Me,"set",je,"Timeout"),Kt(Me,"set",je,"Interval"),Kt(Me,"set",je,"Immediate")})),Zone.__load_patch("requestAnimationFrame",(Me=>{Kt(Me,"request","cancel","AnimationFrame"),Kt(Me,"mozRequest","mozCancel","AnimationFrame"),Kt(Me,"webkitRequest","webkitCancel","AnimationFrame")})),Zone.__load_patch("blocking",((Me,$e)=>{const je=["alert","prompt","confirm"];for(let qe=0;qe<je.length;qe++)Ie(Me,je[qe],((J,se,xe)=>function(ze,dt){return $e.current.run(J,Me,dt,xe)}))})),Zone.__load_patch("EventTarget",((Me,$e,je)=>{(function fn(Me,$e){$e.patchEventPrototype(Me,$e)})(Me,je),function $r(Me,$e){if(Zone[$e.symbol("patchEventTarget")])return;const{eventNames:je,zoneSymbolEventNames:qe,TRUE_STR:De,FALSE_STR:J,ZONE_SYMBOL_PREFIX:se}=$e.getGlobalObjects();for(let ze=0;ze<je.length;ze++){const dt=je[ze],Ct=se+(dt+J),Mt=se+(dt+De);qe[dt]={},qe[dt][J]=Ct,qe[dt][De]=Mt}const xe=Me.EventTarget;xe&&xe.prototype&&$e.patchEventTarget(Me,$e,[xe&&xe.prototype])}(Me,je);const qe=Me.XMLHttpRequestEventTarget;qe&&qe.prototype&&je.patchEventTarget(Me,je,[qe.prototype])})),Zone.__load_patch("MutationObserver",((Me,$e,je)=>{ge("MutationObserver"),ge("WebKitMutationObserver")})),Zone.__load_patch("IntersectionObserver",((Me,$e,je)=>{ge("IntersectionObserver")})),Zone.__load_patch("FileReader",((Me,$e,je)=>{ge("FileReader")})),Zone.__load_patch("on_property",((Me,$e,je)=>{!function vr(Me,$e){if(nt&&!it||Zone[Me.symbol("patchEvents")])return;const je=$e.__Zone_ignore_on_properties;let qe=[];if(Fe){const De=window;qe=qe.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const J=function xn(){try{const Me=Oe.navigator.userAgent;if(-1!==Me.indexOf("MSIE ")||-1!==Me.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:De,ignoreProperties:["error"]}]:[];$n(De,Vn(De),je&&je.concat(J),S(De))}qe=qe.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let De=0;De<qe.length;De++){const J=$e[qe[De]];J&&J.prototype&&$n(J.prototype,Vn(J.prototype),je)}}(je,Me)})),Zone.__load_patch("customElements",((Me,$e,je)=>{!function Wn(Me,$e){const{isBrowser:je,isMix:qe}=$e.getGlobalObjects();(je||qe)&&Me.customElements&&"customElements"in Me&&$e.patchCallbacks($e,Me.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(Me,je)})),Zone.__load_patch("XHR",((Me,$e)=>{!function ze(dt){const yt=dt.XMLHttpRequest;if(!yt)return;const qt=yt.prototype;let Mt=qt[ee],Xt=qt[de];if(!Mt){const Nt=dt.XMLHttpRequestEventTarget;if(Nt){const dn=Nt.prototype;Mt=dn[ee],Xt=dn[de]}}const vn="readystatechange",Vt="scheduled";function Pt(Nt){const dn=Nt.data,on=dn.target;on[J]=!1,on[xe]=!1;const qn=on[De];Mt||(Mt=on[ee],Xt=on[de]),qn&&Xt.call(on,vn,qn);const yr=on[De]=()=>{if(on.readyState===on.DONE)if(!dn.aborted&&on[J]&&Nt.state===Vt){const gn=on[$e.__symbol__("loadfalse")];if(0!==on.status&&gn&&gn.length>0){const Tr=Nt.invoke;Nt.invoke=function(){const Qt=on[$e.__symbol__("loadfalse")];for(let Ae=0;Ae<Qt.length;Ae++)Qt[Ae]===Nt&&Qt.splice(Ae,1);!dn.aborted&&Nt.state===Vt&&Tr.call(Nt)},gn.push(Nt)}else Nt.invoke()}else!dn.aborted&&!1===on[J]&&(on[xe]=!0)};return Mt.call(on,vn,yr),on[je]||(on[je]=Nt),Ft.apply(on,dn.args),on[J]=!0,Nt}function It(){}function Ot(Nt){const dn=Nt.data;return dn.aborted=!0,In.apply(dn.target,dn.args)}const Jt=Ie(qt,"open",(()=>function(Nt,dn){return Nt[qe]=0==dn[2],Nt[se]=dn[1],Jt.apply(Nt,dn)})),pn=ie("fetchTaskAborting"),cn=ie("fetchTaskScheduling"),Ft=Ie(qt,"send",(()=>function(Nt,dn){if(!0===$e.current[cn]||Nt[qe])return Ft.apply(Nt,dn);{const on={target:Nt,url:Nt[se],isPeriodic:!1,args:dn,aborted:!1},qn=re("XMLHttpRequest.send",It,on,Pt,Ot);Nt&&!0===Nt[xe]&&!on.aborted&&qn.state===Vt&&qn.invoke()}})),In=Ie(qt,"abort",(()=>function(Nt,dn){const on=function Ct(Nt){return Nt[je]}(Nt);if(on&&"string"==typeof on.type){if(null==on.cancelFn||on.data&&on.data.aborted)return;on.zone.cancelTask(on)}else if(!0===$e.current[pn])return In.apply(Nt,dn)}))}(Me);const je=ie("xhrTask"),qe=ie("xhrSync"),De=ie("xhrListener"),J=ie("xhrScheduled"),se=ie("xhrURL"),xe=ie("xhrErrorBeforeScheduled")})),Zone.__load_patch("geolocation",(Me=>{Me.navigator&&Me.navigator.geolocation&&function Je(Me,$e){const je=Me.constructor.name;for(let qe=0;qe<$e.length;qe++){const De=$e[qe],J=Me[De];if(J){if(!Xe(He(Me,De)))continue;Me[De]=(xe=>{const ze=function(){return xe.apply(this,ke(arguments,je+"."+De))};return Le(ze,xe),ze})(J)}}}(Me.navigator.geolocation,["getCurrentPosition","watchPosition"])})),Zone.__load_patch("PromiseRejectionEvent",((Me,$e)=>{function je(qe){return function(De){Cr(Me,qe).forEach((se=>{const xe=Me.PromiseRejectionEvent;if(xe){const ze=new xe(qe,{promise:De.promise,reason:De.rejection});se.invoke(ze)}}))}}Me.PromiseRejectionEvent&&($e[ie("unhandledPromiseRejectionHandler")]=je("unhandledrejection"),$e[ie("rejectionHandledHandler")]=je("rejectionhandled"))}))},5987:(He,ne,S)=>{"use strict";function pe(le,K,ge,Ie){return new(ge||(ge=Promise))((function(Le,mt){function Rt(_n){try{zt(Ie.next(_n))}catch(xr){mt(xr)}}function xn(_n){try{zt(Ie.throw(_n))}catch(xr){mt(xr)}}function zt(_n){_n.done?Le(_n.value):function we(Le){return Le instanceof ge?Le:new ge((function(mt){mt(Le)}))}(_n.value).then(Rt,xn)}zt((Ie=Ie.apply(le,K||[])).next())}))}function ke(le){return this instanceof ke?(this.v=le,this):new ke(le)}function Je(le,K,ge){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var we,Ie=ge.apply(le,K||[]),Le=[];return we={},mt("next"),mt("throw"),mt("return"),we[Symbol.asyncIterator]=function(){return this},we;function mt(bn){Ie[bn]&&(we[bn]=function(Kn){return new Promise((function(Pn,Wt){Le.push([bn,Kn,Pn,Wt])>1||Rt(bn,Kn)}))})}function Rt(bn,Kn){try{!function xn(bn){bn.value instanceof ke?Promise.resolve(bn.value.v).then(zt,_n):xr(Le[0][2],bn)}(Ie[bn](Kn))}catch(Pn){xr(Le[0][3],Pn)}}function zt(bn){Rt("next",bn)}function _n(bn){Rt("throw",bn)}function xr(bn,Kn){bn(Kn),Le.shift(),Le.length&&Rt(Le[0][0],Le[0][1])}}function tt(le){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ge,K=le[Symbol.asyncIterator];return K?K.call(le):(le=function ie(le){var K="function"==typeof Symbol&&Symbol.iterator,ge=K&&le[K],Ie=0;if(ge)return ge.call(le);if(le&&"number"==typeof le.length)return{next:function(){return le&&Ie>=le.length&&(le=void 0),{value:le&&le[Ie++],done:!le}}};throw new TypeError(K?"Object is not iterable.":"Symbol.iterator is not defined.")}(le),ge={},Ie("next"),Ie("throw"),Ie("return"),ge[Symbol.asyncIterator]=function(){return this},ge);function Ie(Le){ge[Le]=le[Le]&&function(mt){return new Promise((function(Rt,xn){!function we(Le,mt,Rt,xn){Promise.resolve(xn).then((function(zt){Le({value:zt,done:Rt})}),mt)}(Rt,xn,(mt=le[Le](mt)).done,mt.value)}))}}}S.d(ne,{FC:()=>Je,KL:()=>tt,mG:()=>pe,qq:()=>ke})},7340:(He,ne,S)=>{"use strict";S.d(ne,{LC:()=>v,SB:()=>ve,X$:()=>Q,ZE:()=>Xe,ZN:()=>Je,_j:()=>r,eR:()=>re,jt:()=>ee,k1:()=>tt,l3:()=>G,oB:()=>pe,vP:()=>ae});class r{}class v{}const G="*";function Q(nt,Fe){return{type:7,name:nt,definitions:Fe,options:{}}}function ee(nt,Fe=null){return{type:4,styles:Fe,timings:nt}}function ae(nt,Fe=null){return{type:2,steps:nt,options:Fe}}function pe(nt){return{type:6,styles:nt,offset:null}}function ve(nt,Fe,it){return{type:0,name:nt,styles:Fe,options:it}}function re(nt,Fe,it=null){return{type:1,expr:nt,animation:Fe,options:it}}function ke(nt){Promise.resolve().then(nt)}class Je{constructor(Fe=0,it=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=Fe+it}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach((Fe=>Fe())),this._onDoneFns=[])}onStart(Fe){this._originalOnStartFns.push(Fe),this._onStartFns.push(Fe)}onDone(Fe){this._originalOnDoneFns.push(Fe),this._onDoneFns.push(Fe)}onDestroy(Fe){this._onDestroyFns.push(Fe)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){ke((()=>this._onFinish()))}_onStart(){this._onStartFns.forEach((Fe=>Fe())),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach((Fe=>Fe())),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(Fe){this._position=this.totalTime?Fe*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(Fe){const it="start"==Fe?this._onStartFns:this._onDoneFns;it.forEach((lt=>lt())),it.length=0}}class Xe{constructor(Fe){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=Fe;let it=0,lt=0,pt=0;const Ee=this.players.length;0==Ee?ke((()=>this._onFinish())):this.players.forEach((le=>{le.onDone((()=>{++it==Ee&&this._onFinish()})),le.onDestroy((()=>{++lt==Ee&&this._onDestroy()})),le.onStart((()=>{++pt==Ee&&this._onStart()}))})),this.totalTime=this.players.reduce(((le,K)=>Math.max(le,K.totalTime)),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach((Fe=>Fe())),this._onDoneFns=[])}init(){this.players.forEach((Fe=>Fe.init()))}onStart(Fe){this._onStartFns.push(Fe)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach((Fe=>Fe())),this._onStartFns=[])}onDone(Fe){this._onDoneFns.push(Fe)}onDestroy(Fe){this._onDestroyFns.push(Fe)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach((Fe=>Fe.play()))}pause(){this.players.forEach((Fe=>Fe.pause()))}restart(){this.players.forEach((Fe=>Fe.restart()))}finish(){this._onFinish(),this.players.forEach((Fe=>Fe.finish()))}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach((Fe=>Fe.destroy())),this._onDestroyFns.forEach((Fe=>Fe())),this._onDestroyFns=[])}reset(){this.players.forEach((Fe=>Fe.reset())),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(Fe){const it=Fe*this.totalTime;this.players.forEach((lt=>{const pt=lt.totalTime?Math.min(1,it/lt.totalTime):1;lt.setPosition(pt)}))}getPosition(){const Fe=this.players.reduce(((it,lt)=>null===it||lt.totalTime>it.totalTime?lt:it),null);return null!=Fe?Fe.getPosition():0}beforeDestroy(){this.players.forEach((Fe=>{Fe.beforeDestroy&&Fe.beforeDestroy()}))}triggerCallback(Fe){const it="start"==Fe?this._onStartFns:this._onDoneFns;it.forEach((lt=>lt())),it.length=0}}const tt="!"},6895:(He,ne,S)=>{"use strict";S.d(ne,{Do:()=>tt,EM:()=>Do,HT:()=>ee,JF:()=>ls,K0:()=>ae,Mx:()=>w,NF:()=>Go,O5:()=>tr,PC:()=>Hr,S$:()=>ke,V_:()=>H,Ye:()=>nt,b0:()=>Xe,bD:()=>jo,ez:()=>uo,mk:()=>L,mr:()=>Je,q:()=>G,sg:()=>Ut,tP:()=>wi,w_:()=>de});var r=S(1571);let v=null;function G(){return v}function ee(C){v||(v=C)}class de{}const ae=new r.OlP("DocumentToken");let pe=(()=>{class C{historyGo(M){throw new Error("Not implemented")}}return C.ɵfac=function(M){return new(M||C)},C.ɵprov=r.Yz7({token:C,factory:function(){return function ve(){return(0,r.LFG)(re)}()},providedIn:"platform"}),C})();const H=new r.OlP("Location Initialized");let re=(()=>{class C extends pe{constructor(M){super(),this._doc=M,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return G().getBaseHref(this._doc)}onPopState(M){const z=G().getGlobalEventTarget(this._doc,"window");return z.addEventListener("popstate",M,!1),()=>z.removeEventListener("popstate",M)}onHashChange(M){const z=G().getGlobalEventTarget(this._doc,"window");return z.addEventListener("hashchange",M,!1),()=>z.removeEventListener("hashchange",M)}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(M){this.location.pathname=M}pushState(M,z,Te){ie()?this._history.pushState(M,z,Te):this.location.hash=Te}replaceState(M,z,Te){ie()?this._history.replaceState(M,z,Te):this.location.hash=Te}forward(){this._history.forward()}back(){this._history.back()}historyGo(M=0){this._history.go(M)}getState(){return this._history.state}}return C.ɵfac=function(M){return new(M||C)(r.LFG(ae))},C.ɵprov=r.Yz7({token:C,factory:function(){return function ye(){return new re((0,r.LFG)(ae))}()},providedIn:"platform"}),C})();function ie(){return!!window.history.pushState}function Oe(C,I){if(0==C.length)return I;if(0==I.length)return C;let M=0;return C.endsWith("/")&&M++,I.startsWith("/")&&M++,2==M?C+I.substring(1):1==M?C+I:C+"/"+I}function te(C){const I=C.match(/#|\?|$/),M=I&&I.index||C.length;return C.slice(0,M-("/"===C[M-1]?1:0))+C.slice(M)}function Ze(C){return C&&"?"!==C[0]?"?"+C:C}let ke=(()=>{class C{historyGo(M){throw new Error("Not implemented")}}return C.ɵfac=function(M){return new(M||C)},C.ɵprov=r.Yz7({token:C,factory:function(){return(0,r.f3M)(Xe)},providedIn:"root"}),C})();const Je=new r.OlP("appBaseHref");let Xe=(()=>{class C extends ke{constructor(M,z){super(),this._platformLocation=M,this._removeListenerFns=[],this._baseHref=z??this._platformLocation.getBaseHrefFromDOM()??(0,r.f3M)(ae).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(M){this._removeListenerFns.push(this._platformLocation.onPopState(M),this._platformLocation.onHashChange(M))}getBaseHref(){return this._baseHref}prepareExternalUrl(M){return Oe(this._baseHref,M)}path(M=!1){const z=this._platformLocation.pathname+Ze(this._platformLocation.search),Te=this._platformLocation.hash;return Te&&M?`${z}${Te}`:z}pushState(M,z,Te,rt){const gt=this.prepareExternalUrl(Te+Ze(rt));this._platformLocation.pushState(M,z,gt)}replaceState(M,z,Te,rt){const gt=this.prepareExternalUrl(Te+Ze(rt));this._platformLocation.replaceState(M,z,gt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(M=0){this._platformLocation.historyGo?.(M)}}return C.ɵfac=function(M){return new(M||C)(r.LFG(pe),r.LFG(Je,8))},C.ɵprov=r.Yz7({token:C,factory:C.ɵfac,providedIn:"root"}),C})(),tt=(()=>{class C extends ke{constructor(M,z){super(),this._platformLocation=M,this._baseHref="",this._removeListenerFns=[],null!=z&&(this._baseHref=z)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(M){this._removeListenerFns.push(this._platformLocation.onPopState(M),this._platformLocation.onHashChange(M))}getBaseHref(){return this._baseHref}path(M=!1){let z=this._platformLocation.hash;return null==z&&(z="#"),z.length>0?z.substring(1):z}prepareExternalUrl(M){const z=Oe(this._baseHref,M);return z.length>0?"#"+z:z}pushState(M,z,Te,rt){let gt=this.prepareExternalUrl(Te+Ze(rt));0==gt.length&&(gt=this._platformLocation.pathname),this._platformLocation.pushState(M,z,gt)}replaceState(M,z,Te,rt){let gt=this.prepareExternalUrl(Te+Ze(rt));0==gt.length&&(gt=this._platformLocation.pathname),this._platformLocation.replaceState(M,z,gt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(M=0){this._platformLocation.historyGo?.(M)}}return C.ɵfac=function(M){return new(M||C)(r.LFG(pe),r.LFG(Je,8))},C.ɵprov=r.Yz7({token:C,factory:C.ɵfac}),C})(),nt=(()=>{class C{constructor(M){this._subject=new r.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=M;const z=this._locationStrategy.getBaseHref();this._baseHref=te(lt(z)),this._locationStrategy.onPopState((Te=>{this._subject.emit({url:this.path(!0),pop:!0,state:Te.state,type:Te.type})}))}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(M=!1){return this.normalize(this._locationStrategy.path(M))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(M,z=""){return this.path()==this.normalize(M+Ze(z))}normalize(M){return C.stripTrailingSlash(function it(C,I){return C&&I.startsWith(C)?I.substring(C.length):I}(this._baseHref,lt(M)))}prepareExternalUrl(M){return M&&"/"!==M[0]&&(M="/"+M),this._locationStrategy.prepareExternalUrl(M)}go(M,z="",Te=null){this._locationStrategy.pushState(Te,"",M,z),this._notifyUrlChangeListeners(this.prepareExternalUrl(M+Ze(z)),Te)}replaceState(M,z="",Te=null){this._locationStrategy.replaceState(Te,"",M,z),this._notifyUrlChangeListeners(this.prepareExternalUrl(M+Ze(z)),Te)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(M=0){this._locationStrategy.historyGo?.(M)}onUrlChange(M){return this._urlChangeListeners.push(M),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe((z=>{this._notifyUrlChangeListeners(z.url,z.state)}))),()=>{const z=this._urlChangeListeners.indexOf(M);this._urlChangeListeners.splice(z,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(M="",z){this._urlChangeListeners.forEach((Te=>Te(M,z)))}subscribe(M,z,Te){return this._subject.subscribe({next:M,error:z,complete:Te})}}return C.normalizeQueryParams=Ze,C.joinWithSlash=Oe,C.stripTrailingSlash=te,C.ɵfac=function(M){return new(M||C)(r.LFG(ke))},C.ɵprov=r.Yz7({token:C,factory:function(){return function Fe(){return new nt((0,r.LFG)(ke))}()},providedIn:"root"}),C})();function lt(C){return C.replace(/\/index.html$/,"")}function w(C,I){I=encodeURIComponent(I);for(const M of C.split(";")){const z=M.indexOf("="),[Te,rt]=-1==z?[M,""]:[M.slice(0,z),M.slice(z+1)];if(Te.trim()===I)return decodeURIComponent(rt)}return null}let L=(()=>{class C{constructor(M,z,Te,rt){this._iterableDiffers=M,this._keyValueDiffers=z,this._ngEl=Te,this._renderer=rt,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(M){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof M?M.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(M){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof M?M.split(/\s+/):M,this._rawClass&&((0,r.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const M=this._iterableDiffer.diff(this._rawClass);M&&this._applyIterableChanges(M)}else if(this._keyValueDiffer){const M=this._keyValueDiffer.diff(this._rawClass);M&&this._applyKeyValueChanges(M)}}_applyKeyValueChanges(M){M.forEachAddedItem((z=>this._toggleClass(z.key,z.currentValue))),M.forEachChangedItem((z=>this._toggleClass(z.key,z.currentValue))),M.forEachRemovedItem((z=>{z.previousValue&&this._toggleClass(z.key,!1)}))}_applyIterableChanges(M){M.forEachAddedItem((z=>{if("string"!=typeof z.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,r.AaK)(z.item)}`);this._toggleClass(z.item,!0)})),M.forEachRemovedItem((z=>this._toggleClass(z.item,!1)))}_applyClasses(M){M&&(Array.isArray(M)||M instanceof Set?M.forEach((z=>this._toggleClass(z,!0))):Object.keys(M).forEach((z=>this._toggleClass(z,!!M[z]))))}_removeClasses(M){M&&(Array.isArray(M)||M instanceof Set?M.forEach((z=>this._toggleClass(z,!1))):Object.keys(M).forEach((z=>this._toggleClass(z,!1))))}_toggleClass(M,z){(M=M.trim())&&M.split(/\s+/g).forEach((Te=>{z?this._renderer.addClass(this._ngEl.nativeElement,Te):this._renderer.removeClass(this._ngEl.nativeElement,Te)}))}}return C.ɵfac=function(M){return new(M||C)(r.Y36(r.ZZ4),r.Y36(r.aQg),r.Y36(r.SBq),r.Y36(r.Qsj))},C.ɵdir=r.lG2({type:C,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),C})();class en{constructor(I,M,z,Te){this.$implicit=I,this.ngForOf=M,this.index=z,this.count=Te}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 Ut=(()=>{class C{constructor(M,z,Te){this._viewContainer=M,this._template=z,this._differs=Te,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(M){this._ngForOf=M,this._ngForOfDirty=!0}set ngForTrackBy(M){this._trackByFn=M}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(M){M&&(this._template=M)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const M=this._ngForOf;!this._differ&&M&&(this._differ=this._differs.find(M).create(this.ngForTrackBy))}if(this._differ){const M=this._differ.diff(this._ngForOf);M&&this._applyChanges(M)}}_applyChanges(M){const z=this._viewContainer;M.forEachOperation(((Te,rt,gt)=>{if(null==Te.previousIndex)z.createEmbeddedView(this._template,new en(Te.item,this._ngForOf,-1,-1),null===gt?void 0:gt);else if(null==gt)z.remove(null===rt?void 0:rt);else if(null!==rt){const rn=z.get(rt);z.move(rn,gt),nn(rn,Te)}}));for(let Te=0,rt=z.length;Te<rt;Te++){const rn=z.get(Te).context;rn.index=Te,rn.count=rt,rn.ngForOf=this._ngForOf}M.forEachIdentityChange((Te=>{nn(z.get(Te.currentIndex),Te)}))}static ngTemplateContextGuard(M,z){return!0}}return C.ɵfac=function(M){return new(M||C)(r.Y36(r.s_b),r.Y36(r.Rgc),r.Y36(r.ZZ4))},C.ɵdir=r.lG2({type:C,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),C})();function nn(C,I){C.context.$implicit=I.item}let tr=(()=>{class C{constructor(M,z){this._viewContainer=M,this._context=new ir,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=z}set ngIf(M){this._context.$implicit=this._context.ngIf=M,this._updateView()}set ngIfThen(M){br("ngIfThen",M),this._thenTemplateRef=M,this._thenViewRef=null,this._updateView()}set ngIfElse(M){br("ngIfElse",M),this._elseTemplateRef=M,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(M,z){return!0}}return C.ɵfac=function(M){return new(M||C)(r.Y36(r.s_b),r.Y36(r.Rgc))},C.ɵdir=r.lG2({type:C,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),C})();class ir{constructor(){this.$implicit=null,this.ngIf=null}}function br(C,I){if(I&&!I.createEmbeddedView)throw new Error(`${C} must be a TemplateRef, but received '${(0,r.AaK)(I)}'.`)}let Hr=(()=>{class C{constructor(M,z,Te){this._ngEl=M,this._differs=z,this._renderer=Te,this._ngStyle=null,this._differ=null}set ngStyle(M){this._ngStyle=M,!this._differ&&M&&(this._differ=this._differs.find(M).create())}ngDoCheck(){if(this._differ){const M=this._differ.diff(this._ngStyle);M&&this._applyChanges(M)}}_setStyle(M,z){const[Te,rt]=M.split("."),gt=-1===Te.indexOf("-")?void 0:r.JOm.DashCase;null!=z?this._renderer.setStyle(this._ngEl.nativeElement,Te,rt?`${z}${rt}`:z,gt):this._renderer.removeStyle(this._ngEl.nativeElement,Te,gt)}_applyChanges(M){M.forEachRemovedItem((z=>this._setStyle(z.key,null))),M.forEachAddedItem((z=>this._setStyle(z.key,z.currentValue))),M.forEachChangedItem((z=>this._setStyle(z.key,z.currentValue)))}}return C.ɵfac=function(M){return new(M||C)(r.Y36(r.SBq),r.Y36(r.aQg),r.Y36(r.Qsj))},C.ɵdir=r.lG2({type:C,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),C})(),wi=(()=>{class C{constructor(M){this._viewContainerRef=M,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(M){if(M.ngTemplateOutlet||M.ngTemplateOutletInjector){const z=this._viewContainerRef;if(this._viewRef&&z.remove(z.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:Te,ngTemplateOutletContext:rt,ngTemplateOutletInjector:gt}=this;this._viewRef=z.createEmbeddedView(Te,rt,gt?{injector:gt}:void 0)}else this._viewRef=null}else this._viewRef&&M.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return C.ɵfac=function(M){return new(M||C)(r.Y36(r.s_b))},C.ɵdir=r.lG2({type:C,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[r.TTD]}),C})(),uo=(()=>{class C{}return C.ɵfac=function(M){return new(M||C)},C.ɵmod=r.oAB({type:C}),C.ɵinj=r.cJS({}),C})();const jo="browser";function Go(C){return C===jo}let Do=(()=>{class C{}return C.ɵprov=(0,r.Yz7)({token:C,providedIn:"root",factory:()=>new Gr((0,r.LFG)(ae),window)}),C})();class Gr{constructor(I,M){this.document=I,this.window=M,this.offset=()=>[0,0]}setOffset(I){this.offset=Array.isArray(I)?()=>I:I}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(I){this.supportsScrolling()&&this.window.scrollTo(I[0],I[1])}scrollToAnchor(I){if(!this.supportsScrolling())return;const M=function Ps(C,I){const M=C.getElementById(I)||C.getElementsByName(I)[0];if(M)return M;if("function"==typeof C.createTreeWalker&&C.body&&(C.body.createShadowRoot||C.body.attachShadow)){const z=C.createTreeWalker(C.body,NodeFilter.SHOW_ELEMENT);let Te=z.currentNode;for(;Te;){const rt=Te.shadowRoot;if(rt){const gt=rt.getElementById(I)||rt.querySelector(`[name="${I}"]`);if(gt)return gt}Te=z.nextNode()}}return null}(this.document,I);M&&(this.scrollToElement(M),M.focus())}setHistoryScrollRestoration(I){if(this.supportScrollRestoration()){const M=this.window.history;M&&M.scrollRestoration&&(M.scrollRestoration=I)}}scrollToElement(I){const M=I.getBoundingClientRect(),z=M.left+this.window.pageXOffset,Te=M.top+this.window.pageYOffset,rt=this.offset();this.window.scrollTo(z-rt[0],Te-rt[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const I=Wo(this.window.history)||Wo(Object.getPrototypeOf(this.window.history));return!(!I||!I.writable&&!I.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function Wo(C){return Object.getOwnPropertyDescriptor(C,"scrollRestoration")}class ls{}},529:(He,ne,S)=>{"use strict";S.d(ne,{JF:()=>$e,WM:()=>H,eN:()=>mt});var r=S(6895),v=S(1571),G=S(9646),Q=S(9751),ee=S(4351),de=S(9300),ae=S(4004);class pe{}class ve{}class H{constructor(J){this.normalizedNames=new Map,this.lazyUpdate=null,J?this.lazyInit="string"==typeof J?()=>{this.headers=new Map,J.split("\n").forEach((se=>{const xe=se.indexOf(":");if(xe>0){const ze=se.slice(0,xe),dt=ze.toLowerCase(),yt=se.slice(xe+1).trim();this.maybeSetNormalizedName(ze,dt),this.headers.has(dt)?this.headers.get(dt).push(yt):this.headers.set(dt,[yt])}}))}:()=>{this.headers=new Map,Object.keys(J).forEach((se=>{let xe=J[se];const ze=se.toLowerCase();"string"==typeof xe&&(xe=[xe]),xe.length>0&&(this.headers.set(ze,xe),this.maybeSetNormalizedName(se,ze))}))}:this.headers=new Map}has(J){return this.init(),this.headers.has(J.toLowerCase())}get(J){this.init();const se=this.headers.get(J.toLowerCase());return se&&se.length>0?se[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(J){return this.init(),this.headers.get(J.toLowerCase())||null}append(J,se){return this.clone({name:J,value:se,op:"a"})}set(J,se){return this.clone({name:J,value:se,op:"s"})}delete(J,se){return this.clone({name:J,value:se,op:"d"})}maybeSetNormalizedName(J,se){this.normalizedNames.has(se)||this.normalizedNames.set(se,J)}init(){this.lazyInit&&(this.lazyInit instanceof H?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach((J=>this.applyUpdate(J))),this.lazyUpdate=null))}copyFrom(J){J.init(),Array.from(J.headers.keys()).forEach((se=>{this.headers.set(se,J.headers.get(se)),this.normalizedNames.set(se,J.normalizedNames.get(se))}))}clone(J){const se=new H;return se.lazyInit=this.lazyInit&&this.lazyInit instanceof H?this.lazyInit:this,se.lazyUpdate=(this.lazyUpdate||[]).concat([J]),se}applyUpdate(J){const se=J.name.toLowerCase();switch(J.op){case"a":case"s":let xe=J.value;if("string"==typeof xe&&(xe=[xe]),0===xe.length)return;this.maybeSetNormalizedName(J.name,se);const ze=("a"===J.op?this.headers.get(se):void 0)||[];ze.push(...xe),this.headers.set(se,ze);break;case"d":const dt=J.value;if(dt){let yt=this.headers.get(se);if(!yt)return;yt=yt.filter((qt=>-1===dt.indexOf(qt))),0===yt.length?(this.headers.delete(se),this.normalizedNames.delete(se)):this.headers.set(se,yt)}else this.headers.delete(se),this.normalizedNames.delete(se)}}forEach(J){this.init(),Array.from(this.normalizedNames.keys()).forEach((se=>J(this.normalizedNames.get(se),this.headers.get(se))))}}class ie{encodeKey(J){return Ze(J)}encodeValue(J){return Ze(J)}decodeKey(J){return decodeURIComponent(J)}decodeValue(J){return decodeURIComponent(J)}}const Oe=/%(\d[a-f0-9])/gi,te={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Ze(De){return encodeURIComponent(De).replace(Oe,((J,se)=>te[se]??J))}function ke(De){return`${De}`}class Je{constructor(J={}){if(this.updates=null,this.cloneFrom=null,this.encoder=J.encoder||new ie,J.fromString){if(J.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function ye(De,J){const se=new Map;return De.length>0&&De.replace(/^\?/,"").split("&").forEach((ze=>{const dt=ze.indexOf("="),[yt,qt]=-1==dt?[J.decodeKey(ze),""]:[J.decodeKey(ze.slice(0,dt)),J.decodeValue(ze.slice(dt+1))],Ct=se.get(yt)||[];Ct.push(qt),se.set(yt,Ct)})),se}(J.fromString,this.encoder)}else J.fromObject?(this.map=new Map,Object.keys(J.fromObject).forEach((se=>{const xe=J.fromObject[se],ze=Array.isArray(xe)?xe.map(ke):[ke(xe)];this.map.set(se,ze)}))):this.map=null}has(J){return this.init(),this.map.has(J)}get(J){this.init();const se=this.map.get(J);return se?se[0]:null}getAll(J){return this.init(),this.map.get(J)||null}keys(){return this.init(),Array.from(this.map.keys())}append(J,se){return this.clone({param:J,value:se,op:"a"})}appendAll(J){const se=[];return Object.keys(J).forEach((xe=>{const ze=J[xe];Array.isArray(ze)?ze.forEach((dt=>{se.push({param:xe,value:dt,op:"a"})})):se.push({param:xe,value:ze,op:"a"})})),this.clone(se)}set(J,se){return this.clone({param:J,value:se,op:"s"})}delete(J,se){return this.clone({param:J,value:se,op:"d"})}toString(){return this.init(),this.keys().map((J=>{const se=this.encoder.encodeKey(J);return this.map.get(J).map((xe=>se+"="+this.encoder.encodeValue(xe))).join("&")})).filter((J=>""!==J)).join("&")}clone(J){const se=new Je({encoder:this.encoder});return se.cloneFrom=this.cloneFrom||this,se.updates=(this.updates||[]).concat(J),se}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach((J=>this.map.set(J,this.cloneFrom.map.get(J)))),this.updates.forEach((J=>{switch(J.op){case"a":case"s":const se=("a"===J.op?this.map.get(J.param):void 0)||[];se.push(ke(J.value)),this.map.set(J.param,se);break;case"d":if(void 0===J.value){this.map.delete(J.param);break}{let xe=this.map.get(J.param)||[];const ze=xe.indexOf(ke(J.value));-1!==ze&&xe.splice(ze,1),xe.length>0?this.map.set(J.param,xe):this.map.delete(J.param)}}})),this.cloneFrom=this.updates=null)}}class tt{constructor(){this.map=new Map}set(J,se){return this.map.set(J,se),this}get(J){return this.map.has(J)||this.map.set(J,J.defaultValue()),this.map.get(J)}delete(J){return this.map.delete(J),this}has(J){return this.map.has(J)}keys(){return this.map.keys()}}function Fe(De){return typeof ArrayBuffer<"u"&&De instanceof ArrayBuffer}function it(De){return typeof Blob<"u"&&De instanceof Blob}function lt(De){return typeof FormData<"u"&&De instanceof FormData}class Ee{constructor(J,se,xe,ze){let dt;if(this.url=se,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=J.toUpperCase(),function nt(De){switch(De){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||ze?(this.body=void 0!==xe?xe:null,dt=ze):dt=xe,dt&&(this.reportProgress=!!dt.reportProgress,this.withCredentials=!!dt.withCredentials,dt.responseType&&(this.responseType=dt.responseType),dt.headers&&(this.headers=dt.headers),dt.context&&(this.context=dt.context),dt.params&&(this.params=dt.params)),this.headers||(this.headers=new H),this.context||(this.context=new tt),this.params){const yt=this.params.toString();if(0===yt.length)this.urlWithParams=se;else{const qt=se.indexOf("?");this.urlWithParams=se+(-1===qt?"?":qt<se.length-1?"&":"")+yt}}else this.params=new Je,this.urlWithParams=se}serializeBody(){return null===this.body?null:Fe(this.body)||it(this.body)||lt(this.body)||function pt(De){return typeof URLSearchParams<"u"&&De instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof Je?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||lt(this.body)?null:it(this.body)?this.body.type||null:Fe(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Je?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(J={}){const se=J.method||this.method,xe=J.url||this.url,ze=J.responseType||this.responseType,dt=void 0!==J.body?J.body:this.body,yt=void 0!==J.withCredentials?J.withCredentials:this.withCredentials,qt=void 0!==J.reportProgress?J.reportProgress:this.reportProgress;let Ct=J.headers||this.headers,Mt=J.params||this.params;const Xt=J.context??this.context;return void 0!==J.setHeaders&&(Ct=Object.keys(J.setHeaders).reduce(((vn,Vt)=>vn.set(Vt,J.setHeaders[Vt])),Ct)),J.setParams&&(Mt=Object.keys(J.setParams).reduce(((vn,Vt)=>vn.set(Vt,J.setParams[Vt])),Mt)),new Ee(se,xe,dt,{params:Mt,headers:Ct,context:Xt,reportProgress:qt,responseType:ze,withCredentials:yt})}}var le=(()=>((le=le||{})[le.Sent=0]="Sent",le[le.UploadProgress=1]="UploadProgress",le[le.ResponseHeader=2]="ResponseHeader",le[le.DownloadProgress=3]="DownloadProgress",le[le.Response=4]="Response",le[le.User=5]="User",le))();class K{constructor(J,se=200,xe="OK"){this.headers=J.headers||new H,this.status=void 0!==J.status?J.status:se,this.statusText=J.statusText||xe,this.url=J.url||null,this.ok=this.status>=200&&this.status<300}}class ge extends K{constructor(J={}){super(J),this.type=le.ResponseHeader}clone(J={}){return new ge({headers:J.headers||this.headers,status:void 0!==J.status?J.status:this.status,statusText:J.statusText||this.statusText,url:J.url||this.url||void 0})}}class Ie extends K{constructor(J={}){super(J),this.type=le.Response,this.body=void 0!==J.body?J.body:null}clone(J={}){return new Ie({body:void 0!==J.body?J.body:this.body,headers:J.headers||this.headers,status:void 0!==J.status?J.status:this.status,statusText:J.statusText||this.statusText,url:J.url||this.url||void 0})}}class we extends K{constructor(J){super(J,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${J.url||"(unknown url)"}`:`Http failure response for ${J.url||"(unknown url)"}: ${J.status} ${J.statusText}`,this.error=J.error||null}}function Le(De,J){return{body:J,headers:De.headers,context:De.context,observe:De.observe,params:De.params,reportProgress:De.reportProgress,responseType:De.responseType,withCredentials:De.withCredentials}}let mt=(()=>{class De{constructor(se){this.handler=se}request(se,xe,ze={}){let dt;if(se instanceof Ee)dt=se;else{let Ct,Mt;Ct=ze.headers instanceof H?ze.headers:new H(ze.headers),ze.params&&(Mt=ze.params instanceof Je?ze.params:new Je({fromObject:ze.params})),dt=new Ee(se,xe,void 0!==ze.body?ze.body:null,{headers:Ct,context:ze.context,params:Mt,reportProgress:ze.reportProgress,responseType:ze.responseType||"json",withCredentials:ze.withCredentials})}const yt=(0,G.of)(dt).pipe((0,ee.b)((Ct=>this.handler.handle(Ct))));if(se instanceof Ee||"events"===ze.observe)return yt;const qt=yt.pipe((0,de.h)((Ct=>Ct instanceof Ie)));switch(ze.observe||"body"){case"body":switch(dt.responseType){case"arraybuffer":return qt.pipe((0,ae.U)((Ct=>{if(null!==Ct.body&&!(Ct.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Ct.body})));case"blob":return qt.pipe((0,ae.U)((Ct=>{if(null!==Ct.body&&!(Ct.body instanceof Blob))throw new Error("Response is not a Blob.");return Ct.body})));case"text":return qt.pipe((0,ae.U)((Ct=>{if(null!==Ct.body&&"string"!=typeof Ct.body)throw new Error("Response is not a string.");return Ct.body})));default:return qt.pipe((0,ae.U)((Ct=>Ct.body)))}case"response":return qt;default:throw new Error(`Unreachable: unhandled observe type ${ze.observe}}`)}}delete(se,xe={}){return this.request("DELETE",se,xe)}get(se,xe={}){return this.request("GET",se,xe)}head(se,xe={}){return this.request("HEAD",se,xe)}jsonp(se,xe){return this.request("JSONP",se,{params:(new Je).append(xe,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(se,xe={}){return this.request("OPTIONS",se,xe)}patch(se,xe,ze={}){return this.request("PATCH",se,Le(ze,xe))}post(se,xe,ze={}){return this.request("POST",se,Le(ze,xe))}put(se,xe,ze={}){return this.request("PUT",se,Le(ze,xe))}}return De.ɵfac=function(se){return new(se||De)(v.LFG(pe))},De.ɵprov=v.Yz7({token:De,factory:De.ɵfac}),De})();class Rt{constructor(J,se){this.next=J,this.interceptor=se}handle(J){return this.interceptor.intercept(J,this.next)}}const xn=new v.OlP("HTTP_INTERCEPTORS");let zt=(()=>{class De{intercept(se,xe){return xe.handle(se)}}return De.ɵfac=function(se){return new(se||De)},De.ɵprov=v.Yz7({token:De,factory:De.ɵfac}),De})();const er=/^\)\]\}',?\n/;let wr=(()=>{class De{constructor(se){this.xhrFactory=se}handle(se){if("JSONP"===se.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new Q.y((xe=>{const ze=this.xhrFactory.build();if(ze.open(se.method,se.urlWithParams),se.withCredentials&&(ze.withCredentials=!0),se.headers.forEach(((Pt,It)=>ze.setRequestHeader(Pt,It.join(",")))),se.headers.has("Accept")||ze.setRequestHeader("Accept","application/json, text/plain, */*"),!se.headers.has("Content-Type")){const Pt=se.detectContentTypeHeader();null!==Pt&&ze.setRequestHeader("Content-Type",Pt)}if(se.responseType){const Pt=se.responseType.toLowerCase();ze.responseType="json"!==Pt?Pt:"text"}const dt=se.serializeBody();let yt=null;const qt=()=>{if(null!==yt)return yt;const Pt=ze.statusText||"OK",It=new H(ze.getAllResponseHeaders()),Ot=function ui(De){return"responseURL"in De&&De.responseURL?De.responseURL:/^X-Request-URL:/m.test(De.getAllResponseHeaders())?De.getResponseHeader("X-Request-URL"):null}(ze)||se.url;return yt=new ge({headers:It,status:ze.status,statusText:Pt,url:Ot}),yt},Ct=()=>{let{headers:Pt,status:It,statusText:Ot,url:Jt}=qt(),Dt=null;204!==It&&(Dt=typeof ze.response>"u"?ze.responseText:ze.response),0===It&&(It=Dt?200:0);let pn=It>=200&&It<300;if("json"===se.responseType&&"string"==typeof Dt){const cn=Dt;Dt=Dt.replace(er,"");try{Dt=""!==Dt?JSON.parse(Dt):null}catch(Ft){Dt=cn,pn&&(pn=!1,Dt={error:Ft,text:Dt})}}pn?(xe.next(new Ie({body:Dt,headers:Pt,status:It,statusText:Ot,url:Jt||void 0})),xe.complete()):xe.error(new we({error:Dt,headers:Pt,status:It,statusText:Ot,url:Jt||void 0}))},Mt=Pt=>{const{url:It}=qt(),Ot=new we({error:Pt,status:ze.status||0,statusText:ze.statusText||"Unknown Error",url:It||void 0});xe.error(Ot)};let Xt=!1;const vn=Pt=>{Xt||(xe.next(qt()),Xt=!0);let It={type:le.DownloadProgress,loaded:Pt.loaded};Pt.lengthComputable&&(It.total=Pt.total),"text"===se.responseType&&!!ze.responseText&&(It.partialText=ze.responseText),xe.next(It)},Vt=Pt=>{let It={type:le.UploadProgress,loaded:Pt.loaded};Pt.lengthComputable&&(It.total=Pt.total),xe.next(It)};return ze.addEventListener("load",Ct),ze.addEventListener("error",Mt),ze.addEventListener("timeout",Mt),ze.addEventListener("abort",Mt),se.reportProgress&&(ze.addEventListener("progress",vn),null!==dt&&ze.upload&&ze.upload.addEventListener("progress",Vt)),ze.send(dt),xe.next({type:le.Sent}),()=>{ze.removeEventListener("error",Mt),ze.removeEventListener("abort",Mt),ze.removeEventListener("load",Ct),ze.removeEventListener("timeout",Mt),se.reportProgress&&(ze.removeEventListener("progress",vn),null!==dt&&ze.upload&&ze.upload.removeEventListener("progress",Vt)),ze.readyState!==ze.DONE&&ze.abort()}}))}}return De.ɵfac=function(se){return new(se||De)(v.LFG(r.JF))},De.ɵprov=v.Yz7({token:De,factory:De.ɵfac}),De})();const $n=new v.OlP("XSRF_COOKIE_NAME"),Vn=new v.OlP("XSRF_HEADER_NAME");class vr{}let ci=(()=>{class De{constructor(se,xe,ze){this.doc=se,this.platform=xe,this.cookieName=ze,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const se=this.doc.cookie||"";return se!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,r.Mx)(se,this.cookieName),this.lastCookieString=se),this.lastToken}}return De.ɵfac=function(se){return new(se||De)(v.LFG(r.K0),v.LFG(v.Lbi),v.LFG($n))},De.ɵprov=v.Yz7({token:De,factory:De.ɵfac}),De})(),Kt=(()=>{class De{constructor(se,xe){this.tokenService=se,this.headerName=xe}intercept(se,xe){const ze=se.url.toLowerCase();if("GET"===se.method||"HEAD"===se.method||ze.startsWith("http://")||ze.startsWith("https://"))return xe.handle(se);const dt=this.tokenService.getToken();return null!==dt&&!se.headers.has(this.headerName)&&(se=se.clone({headers:se.headers.set(this.headerName,dt)})),xe.handle(se)}}return De.ɵfac=function(se){return new(se||De)(v.LFG(vr),v.LFG(Vn))},De.ɵprov=v.Yz7({token:De,factory:De.ɵfac}),De})(),Wn=(()=>{class De{constructor(se,xe){this.backend=se,this.injector=xe,this.chain=null}handle(se){if(null===this.chain){const xe=this.injector.get(xn,[]);this.chain=xe.reduceRight(((ze,dt)=>new Rt(ze,dt)),this.backend)}return this.chain.handle(se)}}return De.ɵfac=function(se){return new(se||De)(v.LFG(ve),v.LFG(v.zs3))},De.ɵprov=v.Yz7({token:De,factory:De.ɵfac}),De})(),Me=(()=>{class De{static disable(){return{ngModule:De,providers:[{provide:Kt,useClass:zt}]}}static withOptions(se={}){return{ngModule:De,providers:[se.cookieName?{provide:$n,useValue:se.cookieName}:[],se.headerName?{provide:Vn,useValue:se.headerName}:[]]}}}return De.ɵfac=function(se){return new(se||De)},De.ɵmod=v.oAB({type:De}),De.ɵinj=v.cJS({providers:[Kt,{provide:xn,useExisting:Kt,multi:!0},{provide:vr,useClass:ci},{provide:$n,useValue:"XSRF-TOKEN"},{provide:Vn,useValue:"X-XSRF-TOKEN"}]}),De})(),$e=(()=>{class De{}return De.ɵfac=function(se){return new(se||De)},De.ɵmod=v.oAB({type:De}),De.ɵinj=v.cJS({providers:[mt,{provide:pe,useClass:Wn},wr,{provide:ve,useExisting:wr}],imports:[Me.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]}),De})()},1571:(He,ne,S)=>{"use strict";S.d(ne,{QbO:()=>Ub,tb:()=>C0,AFp:()=>_0,ip1:()=>m0,CZH:()=>Wf,hGG:()=>PE,z2F:()=>Zf,sBO:()=>hE,Sil:()=>Wb,_Vd:()=>lu,EJc:()=>Gb,Xts:()=>Zc,SBq:()=>uu,lqb:()=>Va,qLn:()=>Ha,vpe:()=>Ga,XFs:()=>je,OlP:()=>Yt,zs3:()=>vi,ZZ4:()=>zm,aQg:()=>Wm,soG:()=>Yf,YKP:()=>Cy,h0i:()=>vc,PXZ:()=>oE,R0b:()=>Js,FiY:()=>Ti,Lbi:()=>Hb,g9A:()=>y0,Qsj:()=>Vp,FYo:()=>$h,JOm:()=>yo,q3G:()=>gi,tp0:()=>to,Rgc:()=>$d,dDg:()=>tE,eoX:()=>T0,GfV:()=>ed,s_b:()=>$f,ifc:()=>Ct,MMx:()=>Cm,Lck:()=>kw,eFA:()=>A0,G48:()=>dE,Gpc:()=>Ze,f3M:()=>Rn,X6Q:()=>cE,_c5:()=>TE,c2e:()=>jb,zSh:()=>Qc,wAp:()=>An,vHH:()=>tt,lri:()=>M0,rWj:()=>S0,EiD:()=>Th,mCW:()=>ou,qzn:()=>Ol,JVY:()=>yh,pB0:()=>wh,eBb:()=>Hc,L6k:()=>ru,LAX:()=>Ch,D6c:()=>OE,cg1:()=>hm,kL8:()=>zv,dqk:()=>Mt,Z0I:()=>Vn,sIi:()=>sn,CqO:()=>Z_,QGY:()=>om,QP$:()=>X,F4k:()=>Y_,RDi:()=>kc,AaK:()=>ye,z3N:()=>Zs,qOj:()=>a,TTD:()=>Ts,_Bn:()=>yy,jDz:()=>by,xp6:()=>Zh,uIk:()=>Cs,Q2q:()=>em,Tol:()=>_v,Gre:()=>Rv,ekj:()=>um,Suo:()=>zy,Xpm:()=>In,lG2:()=>gn,Yz7:()=>er,cJS:()=>wr,oAB:()=>qn,Yjl:()=>Tr,Y36:()=>Ll,_UZ:()=>rm,GkF:()=>im,BQk:()=>Ff,ynx:()=>Rf,qZA:()=>If,TgZ:()=>xf,EpF:()=>W_,n5z:()=>ms,LFG:()=>ln,$8M:()=>Qa,$Z:()=>nf,NdJ:()=>sm,CRH:()=>Wy,oxw:()=>X_,Hsn:()=>tv,F$t:()=>ev,Q6J:()=>tm,s9C:()=>am,MGl:()=>Nf,hYB:()=>lm,VKq:()=>Oy,WLB:()=>Ay,kEZ:()=>xy,l5B:()=>Iy,iGM:()=>$y,MAs:()=>z_,KtG:()=>Z,CHM:()=>P,oJD:()=>Ph,uOi:()=>Yc,LSH:()=>Wc,B6R:()=>Nt,YNc:()=>G_,W1O:()=>qy,_uU:()=>Dv,Oqu:()=>dm,hij:()=>Lf,Gf:()=>Gy});var r=S(7579),v=S(727),G=S(9751),Q=S(6451),ee=S(2076),de=S(5698),ae=S(930),pe=S(4482);function H(e,t,...n){return!0===t?(e(),null):!1===t?null:t(...n).pipe((0,de.q)(1)).subscribe((()=>e()))}function re(e){for(let t in e)if(e[t]===re)return t;throw Error("Could not find renamed property on target object.")}function ie(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ye(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ye).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 Oe(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const te=re({__forward_ref__:re});function Ze(e){return e.__forward_ref__=Ze,e.toString=function(){return ye(this())},e}function ke(e){return Je(e)?e():e}function Je(e){return"function"==typeof e&&e.hasOwnProperty(te)&&e.__forward_ref__===Ze}class tt extends Error{constructor(t,n){super(function nt(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function Fe(e){return"string"==typeof e?e:null==e?"":String(e)}function le(e,t){throw new tt(-201,!1)}function Pn(e,t){null==e&&function Wt(e,t,n,o){throw new Error(`ASSERTION ERROR: ${e}`+(null==o?"":` [Expected=> ${n} ${o} ${t} <=Actual]`))}(t,e,null,"!=")}function er(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function wr(e){return{providers:e.providers||[],imports:e.imports||[]}}function $n(e){return vr(e,$r)||vr(e,Me)}function Vn(e){return null!==$n(e)}function vr(e,t){return e.hasOwnProperty(t)?e[t]:null}function Wn(e){return e&&(e.hasOwnProperty(fn)||e.hasOwnProperty($e))?e[fn]:null}const $r=re({"ɵprov":re}),fn=re({"ɵinj":re}),Me=re({ngInjectableDef:re}),$e=re({ngInjectorDef:re});var je=(()=>((je=je||{})[je.Default=0]="Default",je[je.Host=1]="Host",je[je.Self=2]="Self",je[je.SkipSelf=4]="SkipSelf",je[je.Optional=8]="Optional",je))();let qe;function J(e){const t=qe;return qe=e,t}function se(e,t,n){const o=$n(e);return o&&"root"==o.providedIn?void 0===o.value?o.value=o.factory():o.value:n&je.Optional?null:void 0!==t?t:void le(ye(e))}function ze(e){return{toString:e}.toString()}var dt=(()=>((dt=dt||{})[dt.OnPush=0]="OnPush",dt[dt.Default=1]="Default",dt))(),Ct=(()=>{return(e=Ct||(Ct={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Ct;var e})();const Mt=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Vt={},Pt=[],It=re({"ɵcmp":re}),Ot=re({"ɵdir":re}),Jt=re({"ɵpipe":re}),Dt=re({"ɵmod":re}),pn=re({"ɵfac":re}),cn=re({__NG_ELEMENT_ID__:re});let Ft=0;function In(e){return ze((()=>{const n=!0===e.standalone,o={},s={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:o,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===dt.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||Ct.Emulated,id:"c"+Ft++,styles:e.styles||Pt,_:null,setInput:null,schemas:e.schemas||null,tView:null},l=e.dependencies,h=e.features;return s.inputs=Yn(e.inputs,o),s.outputs=Yn(e.outputs),h&&h.forEach((y=>y(s))),s.directiveDefs=l?()=>("function"==typeof l?l():l).map(dn).filter(on):null,s.pipeDefs=l?()=>("function"==typeof l?l():l).map(me).filter(on):null,s}))}function Nt(e,t,n){const o=e.ɵcmp;o.directiveDefs=()=>("function"==typeof t?t():t).map(dn),o.pipeDefs=()=>("function"==typeof n?n():n).map(me)}function dn(e){return Qt(e)||Ae(e)}function on(e){return null!==e}function qn(e){return ze((()=>({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 Yn(e,t){if(null==e)return Vt;const n={};for(const o in e)if(e.hasOwnProperty(o)){let s=e[o],l=s;Array.isArray(s)&&(l=s[1],s=s[0]),n[s]=o,t&&(t[s]=l)}return n}const gn=In;function Tr(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 Qt(e){return e[It]||null}function Ae(e){return e[Ot]||null}function me(e){return e[Jt]||null}function X(e){const t=Qt(e)||Ae(e)||me(e);return null!==t&&t.standalone}function U(e,t){const n=e[Dt]||null;if(!n&&!0===t)throw new Error(`Type ${ye(e)} does not have 'ɵmod' property.`);return n}const B=11,N=15,w=16;function Kr(e){return Array.isArray(e)&&"object"==typeof e[1]}function qr(e){return Array.isArray(e)&&!0===e[1]}function wo(e){return 0!=(8&e.flags)}function Hr(e){return 2==(2&e.flags)}function wi(e){return 1==(1&e.flags)}function Lr(e){return null!==e.template}function Pr(e){return 0!=(256&e[2])}function Cn(e,t){return e.hasOwnProperty(pn)?e[pn]:null}class Ss{constructor(t,n,o){this.previousValue=t,this.currentValue=n,this.firstChange=o}isFirstChange(){return this.firstChange}}function Ts(){return uo}function uo(e){return e.type.prototype.ngOnChanges&&(e.setInput=$o),jo}function jo(){const e=Eo(this),t=e?.current;if(t){const n=e.previous;if(n===Vt)e.previous=t;else for(let o in t)n[o]=t[o];e.current=null,this.ngOnChanges(t)}}function $o(e,t,n,o){const s=Eo(e)||function Go(e,t){return e[co]=t}(e,{previous:Vt,current:null}),l=s.current||(s.current={}),h=s.previous,y=this.declaredInputs[n],E=h[y];l[y]=new Ss(E&&E.currentValue,t,h===Vt),e[o]=t}Ts.ngInherit=!0;const co="__ngSimpleChanges__";function Eo(e){return e[co]||null}function mr(e){for(;Array.isArray(e);)e=e[0];return e}function Ei(e,t){return mr(t[e])}function dr(e,t){return mr(t[e.index])}function oi(e,t){return e.data[t]}function Ur(e,t){const n=t[e];return Kr(n)?n:n[0]}function xi(e){return 64==(64&e[2])}function nr(e,t){return null==t?null:e[t]}function Ii(e){e[18]=0}function So(e,t){e[5]+=t;let n=e,o=e[3];for(;null!==o&&(1===t&&1===n[5]||-1===t&&0===n[5]);)o[5]+=t,n=o,o=o[3]}const wn={lFrame:Fi(null),bindingsEnabled:!0};function To(){return wn.bindingsEnabled}function D(){return wn.lFrame.lView}function T(){return wn.lFrame.tView}function P(e){return wn.lFrame.contextLView=e,e[8]}function Z(e){return wn.lFrame.contextLView=null,e}function Qe(){let e=an();for(;null!==e&&64===e.type;)e=e.parent;return e}function an(){return wn.lFrame.currentTNode}function Or(e,t){const n=wn.lFrame;n.currentTNode=e,n.isParent=t}function Ui(){return wn.lFrame.isParent}function io(){wn.lFrame.isParent=!1}function hi(){const e=wn.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Ri(){return wn.lFrame.bindingIndex++}function Mi(e){const t=wn.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function us(e,t){const n=wn.lFrame;n.bindingIndex=n.bindingRootIndex=e,As(t)}function As(e){wn.lFrame.currentDirectiveIndex=e}function Qi(){return wn.lFrame.currentQueryIndex}function ds(e){wn.lFrame.currentQueryIndex=e}function za(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function xs(e,t,n){if(n&je.SkipSelf){let s=t,l=e;for(;!(s=s.parent,null!==s||n&je.Host||(s=za(l),null===s||(l=l[N],10&s.type))););if(null===s)return!1;t=s,e=l}const o=wn.lFrame=qo();return o.currentTNode=t,o.lView=e,!0}function Ko(e){const t=qo(),n=e[1];wn.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function qo(){const e=wn.lFrame,t=null===e?null:e.child;return null===t?Fi(e):t}function Fi(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 Sa(){const e=wn.lFrame;return wn.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Ta=Sa;function hs(){const e=Sa();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 _i(){return wn.lFrame.selectedIndex}function Ji(e){wn.lFrame.selectedIndex=e}function Ne(){const e=wn.lFrame;return oi(e.tView,e.selectedIndex)}function ar(e,t){for(let n=t.directiveStart,o=t.directiveEnd;n<o;n++){const l=e.data[n].type.prototype,{ngAfterContentInit:h,ngAfterContentChecked:y,ngAfterViewInit:E,ngAfterViewChecked:x,ngOnDestroy:W}=l;h&&(e.contentHooks||(e.contentHooks=[])).push(-n,h),y&&((e.contentHooks||(e.contentHooks=[])).push(n,y),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,y)),E&&(e.viewHooks||(e.viewHooks=[])).push(-n,E),x&&((e.viewHooks||(e.viewHooks=[])).push(n,x),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,x)),null!=W&&(e.destroyHooks||(e.destroyHooks=[])).push(n,W)}}function fs(e,t,n){Is(e,t,3,n)}function ca(e,t,n,o){(3&e[2])===n&&Is(e,t,n,o)}function Si(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function Is(e,t,n,o){const l=o??-1,h=t.length-1;let y=0;for(let E=void 0!==o?65535&e[18]:0;E<h;E++)if("number"==typeof t[E+1]){if(y=t[E],null!=o&&y>=o)break}else t[E]<0&&(e[18]+=65536),(y<l||-1==l)&&(dl(e,n,t,E),e[18]=(4294901760&e[18])+E+2),E++}function dl(e,t,n,o){const s=n[o]<0,l=n[o+1],y=e[s?-n[o]:n[o]];if(s){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{l.call(y)}finally{}}}else try{l.call(y)}finally{}}class Oo{constructor(t,n,o){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=o}}function Gn(e,t,n){let o=0;for(;o<n.length;){const s=n[o];if("number"==typeof s){if(0!==s)break;o++;const l=n[o++],h=n[o++],y=n[o++];e.setAttribute(t,h,y,l)}else{const l=s,h=n[++o];rr(l)?e.setProperty(t,l,h):e.setAttribute(t,l,h),o++}}return o}function kn(e){return 3===e||4===e||6===e}function rr(e){return 64===e.charCodeAt(0)}function Ln(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let o=0;o<t.length;o++){const s=t[o];"number"==typeof s?n=s:0===n||Dr(e,n,s,null,-1===n||2===n?t[++o]:null)}}return e}function Dr(e,t,n,o,s){let l=0,h=e.length;if(-1===t)h=-1;else for(;l<e.length;){const y=e[l++];if("number"==typeof y){if(y===t){h=-1;break}if(y>t){h=l-1;break}}}for(;l<e.length;){const y=e[l];if("number"==typeof y)break;if(y===n){if(null===o)return void(null!==s&&(e[l+1]=s));if(o===e[l+1])return void(e[l+2]=s)}l++,null!==o&&l++,null!==s&&l++}-1!==h&&(e.splice(h,0,t),l=h+1),e.splice(l++,0,n),null!==o&&e.splice(l++,0,o),null!==s&&e.splice(l++,0,s)}function hr(e){return-1!==e}function Fr(e){return 32767&e}function pi(e,t){let n=function oo(e){return e>>16}(e),o=t;for(;n>0;)o=o[N],n--;return o}let Ni=!0;function ti(e){const t=Ni;return Ni=e,t}let Ul=0;const so={};function Rs(e,t){const n=Za(e,t);if(-1!==n)return n;const o=t[1];o.firstCreatePass&&(e.injectorIndex=t.length,hl(o.data,e),hl(t,null),hl(o.blueprint,null));const s=Fs(e,t),l=e.injectorIndex;if(hr(s)){const h=Fr(s),y=pi(s,t),E=y[1].data;for(let x=0;x<8;x++)t[l+x]=y[h+x]|E[h+x]}return t[l+8]=s,l}function hl(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Za(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Fs(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,o=null,s=t;for(;null!==s;){if(o=pl(s),null===o)return-1;if(n++,s=s[N],-1!==o.injectorIndex)return o.injectorIndex|n<<16}return-1}function Pa(e,t,n){!function Ya(e,t,n){let o;"string"==typeof n?o=n.charCodeAt(0)||0:n.hasOwnProperty(cn)&&(o=n[cn]),null==o&&(o=n[cn]=Ul++);const s=255&o;t.data[e+(s>>5)]|=1<<s}(e,t,n)}function Bn(e,t,n){if(n&je.Optional||void 0!==e)return e;le()}function go(e,t,n,o){if(n&je.Optional&&void 0===o&&(o=null),0==(n&(je.Self|je.Host))){const s=e[9],l=J(void 0);try{return s?s.get(t,o,n&je.Optional):se(t,o,n&je.Optional)}finally{J(l)}}return Bn(o,0,n)}function ha(e,t,n,o=je.Default,s){if(null!==e){if(1024&t[2]){const h=function fl(e,t,n,o,s){let l=e,h=t;for(;null!==l&&null!==h&&1024&h[2]&&!(256&h[2]);){const y=Ns(l,h,n,o|je.Self,so);if(y!==so)return y;let E=l.parent;if(!E){const x=h[21];if(x){const W=x.get(n,so,o);if(W!==so)return W}E=pl(h),h=h[N]}l=E}return s}(e,t,n,o,so);if(h!==so)return h}const l=Ns(e,t,n,o,so);if(l!==so)return l}return go(t,n,o,s)}function Ns(e,t,n,o,s){const l=function Ka(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:qa:t}(n);if("function"==typeof l){if(!xs(t,e,o))return o&je.Host?Bn(s,0,o):go(t,n,o,s);try{const h=l(o);if(null!=h||o&je.Optional)return h;le()}finally{Ta()}}else if("number"==typeof l){let h=null,y=Za(e,t),E=-1,x=o&je.Host?t[w][6]:null;for((-1===y||o&je.SkipSelf)&&(E=-1===y?Fs(e,t):t[y+8],-1!==E&&Ls(o,!1)?(h=t[1],y=Fr(E),t=pi(E,t)):y=-1);-1!==y;){const W=t[1];if(gs(l,y,W.data)){const ue=mo(y,t,n,h,o,x);if(ue!==so)return ue}E=t[y+8],-1!==E&&Ls(o,t[1].data[y+8]===x)&&gs(l,y,t)?(h=W,y=Fr(E),t=pi(E,t)):y=-1}}return s}function mo(e,t,n,o,s,l){const h=t[1],y=h.data[e+8],W=ks(y,h,n,null==o?Hr(y)&&Ni:o!=h&&0!=(3&y.type),s&je.Host&&l===y);return null!==W?Ao(t,h,W,y):so}function ks(e,t,n,o,s){const l=e.providerIndexes,h=t.data,y=1048575&l,E=e.directiveStart,W=l>>20,Re=s?y+W:e.directiveEnd;for(let We=o?y:y+W;We<Re;We++){const ht=h[We];if(We<E&&n===ht||We>=E&&ht.type===n)return We}if(s){const We=h[E];if(We&&Lr(We)&&We.type===n)return E}return null}function Ao(e,t,n,o){let s=e[n];const l=t.data;if(function C(e){return e instanceof Oo}(s)){const h=s;h.resolving&&function lt(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new tt(-200,`Circular dependency in DI detected for ${e}${n}`)}(function it(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Fe(e)}(l[n]));const y=ti(h.canSeeViewProviders);h.resolving=!0;const E=h.injectImpl?J(h.injectImpl):null;xs(e,o,je.Default);try{s=e[n]=h.factory(void 0,l,e,o),t.firstCreatePass&&n>=o.directiveStart&&function Rr(e,t,n){const{ngOnChanges:o,ngOnInit:s,ngDoCheck:l}=t.type.prototype;if(o){const h=uo(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,h),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,h)}s&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,s),l&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,l),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,l))}(n,l[n],t)}finally{null!==E&&J(E),ti(y),h.resolving=!1,Ta()}}return s}function gs(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function Ls(e,t){return!(e&je.Self||e&je.Host&&t)}class Mr{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,o){return ha(this._tNode,this._lView,t,o,n)}}function qa(){return new Mr(Qe(),D())}function ms(e){return ze((()=>{const t=e.prototype.constructor,n=t[pn]||Oa(t),o=Object.prototype;let s=Object.getPrototypeOf(e.prototype).constructor;for(;s&&s!==o;){const l=s[pn]||Oa(s);if(l&&l!==n)return l;s=Object.getPrototypeOf(s)}return l=>new l}))}function Oa(e){return Je(e)?()=>{const t=Oa(ke(e));return t&&t()}:Cn(e)}function pl(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}function Qa(e){return function lr(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const o=n.length;let s=0;for(;s<o;){const l=n[s];if(kn(l))break;if(0===l)s+=2;else if("number"==typeof l)for(s++;s<o&&"string"==typeof n[s];)s++;else{if(l===t)return n[s+1];s+=2}}}return null}(Qe(),e)}const Jo="__parameters__";function Xi(e,t,n){return ze((()=>{const o=function q(e){return function(...n){if(e){const o=e(...n);for(const s in o)this[s]=o[s]}}}(t);function s(...l){if(this instanceof s)return o.apply(this,l),this;const h=new s(...l);return y.annotation=h,y;function y(E,x,W){const ue=E.hasOwnProperty(Jo)?E[Jo]:Object.defineProperty(E,Jo,{value:[]})[Jo];for(;ue.length<=W;)ue.push(null);return(ue[W]=ue[W]||[]).push(h),E}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s}))}class Yt{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=er({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function zr(e,t){void 0===t&&(t=e);for(let n=0;n<e.length;n++){let o=e[n];Array.isArray(o)?(t===e&&(t=e.slice(0,n)),zr(o,t)):t!==e&&t.push(o)}return t}function es(e,t){e.forEach((n=>Array.isArray(n)?es(n,t):t(n)))}function $l(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Ja(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Aa(e,t){const n=[];for(let o=0;o<e;o++)n.push(t);return n}function p(e,t,n){let o=f(e,t);return o>=0?e[1|o]=n:(o=~o,function vu(e,t,n,o){let s=e.length;if(s==t)e.push(n,o);else if(1===s)e.push(o,e[0]),e[0]=n;else{for(s--,e.push(e[s-1],e[s]);s>t;)e[s]=e[s-2],s--;e[t]=n,e[t+1]=o}}(e,o,t,n)),o}function m(e,t){const n=f(e,t);if(n>=0)return e[1|n]}function f(e,t){return function A(e,t,n){let o=0,s=e.length>>n;for(;s!==o;){const l=o+(s-o>>1),h=e[l<<n];if(t===h)return l<<n;h>t?s=l:o=l+1}return~(s<<n)}(e,t,1)}const _={},R="__NG_DI_FLAG__",Y="ngTempTokenPath",Pe=/\n/gm,ft="__source";let kt;function Lt(e){const t=kt;return kt=e,t}function Qn(e,t=je.Default){if(void 0===kt)throw new tt(-203,!1);return null===kt?se(e,void 0,t):kt.get(e,t&je.Optional?null:void 0,t)}function ln(e,t=je.Default){return(function De(){return qe}()||Qn)(ke(e),t)}function Rn(e,t=je.Default){return"number"!=typeof t&&(t=0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)),ln(e,t)}function fr(e){const t=[];for(let n=0;n<e.length;n++){const o=ke(e[n]);if(Array.isArray(o)){if(0===o.length)throw new tt(900,!1);let s,l=je.Default;for(let h=0;h<o.length;h++){const y=o[h],E=si(y);"number"==typeof E?-1===E?s=y.token:l|=E:s=y}t.push(ln(s,l))}else t.push(ln(o))}return t}function Fn(e,t){return e[R]=t,e.prototype[R]=t,e}function si(e){return e[R]}const Ti=Fn(Xi("Optional"),8),to=Fn(Xi("SkipSelf"),4);var yo=(()=>((yo=yo||{})[yo.Important=1]="Important",yo[yo.DashCase=2]="DashCase",yo))();const Ec=new Map;let Du=0;const Su="__ngContext__";function Bi(e,t){Kr(t)?(e[Su]=t[20],function Jd(e){Ec.set(e[20],e)}(t)):e[Su]=t}function Ou(e,t){return undefined(e,t)}function Dl(e){const t=e[3];return qr(t)?t[3]:t}function Oc(e){return Zl(e[13])}function Ac(e){return Zl(e[4])}function Zl(e){for(;null!==e&&!qr(e);)e=e[4];return e}function Xa(e,t,n,o,s){if(null!=o){let l,h=!1;qr(o)?l=o:Kr(o)&&(h=!0,o=o[0]);const y=mr(o);0===e&&null!==n?null==s?Rc(t,n,y):el(t,n,y,s||null,!0):1===e&&null!==n?el(t,n,y,s||null,!0):2===e?function Sl(e,t,n){const o=Fu(e,t);o&&function ch(e,t,n,o){e.removeChild(t,n,o)}(e,o,t,n)}(t,y,h):3===e&&t.destroyNode(y),null!=l&&function ph(e,t,n,o,s){const l=n[7];l!==mr(n)&&Xa(t,e,o,l,s);for(let y=10;y<n.length;y++){const E=n[y];vs(E[1],E,e,t,o,l)}}(t,e,l,n,s)}}function ka(e,t,n){return e.createElement(t,n)}function Ql(e,t){const n=e[9],o=n.indexOf(t),s=t[3];512&t[2]&&(t[2]&=-513,So(s,-1)),n.splice(o,1)}function Jl(e,t){if(e.length<=10)return;const n=10+t,o=e[n];if(o){const s=o[17];null!==s&&s!==e&&Ql(s,o),t>0&&(e[n-1][4]=o[4]);const l=Ja(e,10+t);!function ql(e,t){vs(e,t,t[B],2,null,null),t[0]=null,t[6]=null}(o[1],o);const h=l[19];null!==h&&h.detachView(l[1]),o[3]=null,o[4]=null,o[2]&=-65}return o}function Xl(e,t){if(!(128&t[2])){const n=t[B];n.destroyNode&&vs(e,t,n,3,null,null),function ah(e){let t=e[13];if(!t)return xc(e[1],e);for(;t;){let n=null;if(Kr(t))n=t[13];else{const o=t[10];o&&(n=o)}if(!n){for(;t&&!t[4]&&t!==e;)Kr(t)&&xc(t[1],t),t=t[3];null===t&&(t=e),Kr(t)&&xc(t[1],t),n=t&&t[4]}t=n}}(t)}}function xc(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function Iu(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let o=0;o<n.length;o+=2){const s=t[n[o]];if(!(s instanceof Oo)){const l=n[o+1];if(Array.isArray(l))for(let h=0;h<l.length;h+=2){const y=s[l[h]],E=l[h+1];try{E.call(y)}finally{}}else try{l.call(s)}finally{}}}}(e,t),function uh(e,t){const n=e.cleanup,o=t[7];let s=-1;if(null!==n)for(let l=0;l<n.length-1;l+=2)if("string"==typeof n[l]){const h=n[l+1],y="function"==typeof h?h(t):mr(t[h]),E=o[s=n[l+2]],x=n[l+3];"boolean"==typeof x?y.removeEventListener(n[l],E,x):x>=0?o[s=x]():o[s=-x].unsubscribe(),l+=2}else{const h=o[s=n[l+1]];n[l].call(h)}if(null!==o){for(let l=s+1;l<o.length;l++)(0,o[l])();t[7]=null}}(e,t),1===t[1].type&&t[B].destroy();const n=t[17];if(null!==n&&qr(t[3])){n!==t[3]&&Ql(n,t);const o=t[19];null!==o&&o.detachView(e)}!function No(e){Ec.delete(e[20])}(t)}}function Ic(e,t,n){return function Ru(e,t,n){let o=t;for(;null!==o&&40&o.type;)o=(t=o).parent;if(null===o)return n[0];if(2&o.flags){const s=e.data[o.directiveStart].encapsulation;if(s===Ct.None||s===Ct.Emulated)return null}return dr(o,n)}(e,t.parent,n)}function el(e,t,n,o,s){e.insertBefore(t,n,o,s)}function Rc(e,t,n){e.appendChild(t,n)}function Ws(e,t,n,o,s){null!==o?el(e,t,n,o,s):Rc(e,t,n)}function Fu(e,t){return e.parentNode(t)}function hh(e,t,n){return Ys(e,t,n)}let nu,zi,Tl,Ys=function fh(e,t,n){return 40&e.type?dr(e,n):null};function Ml(e,t,n,o){const s=Ic(e,o,t),l=t[B],y=hh(o.parent||t[6],o,t);if(null!=s)if(Array.isArray(n))for(let E=0;E<n.length;E++)Ws(l,s,n[E],y,!1);else Ws(l,s,n,y,!1)}function tl(e,t){if(null!==t){const n=t.type;if(3&n)return dr(t,e);if(4&n)return Mn(-1,e[t.index]);if(8&n){const o=t.child;if(null!==o)return tl(e,o);{const s=e[t.index];return qr(s)?Mn(-1,s):mr(s)}}if(32&n)return Ou(t,e)()||mr(e[t.index]);{const o=nl(e,t);return null!==o?Array.isArray(o)?o[0]:tl(Dl(e[w]),o):tl(e,t.next)}}return null}function nl(e,t){return null!==t?e[w][6].projection[t.projection]:null}function Mn(e,t){const n=10+e+1;if(n<t.length){const o=t[n],s=o[1].firstChild;if(null!==s)return tl(o,s)}return t[7]}function tu(e,t,n,o,s,l,h){for(;null!=n;){const y=o[n.index],E=n.type;if(h&&0===t&&(y&&Bi(mr(y),o),n.flags|=4),64!=(64&n.flags))if(8&E)tu(e,t,n.child,o,s,l,!1),Xa(t,e,s,y,l);else if(32&E){const x=Ou(n,o);let W;for(;W=x();)Xa(t,e,s,W,l);Xa(t,e,s,y,l)}else 16&E?ku(e,t,o,n,s,l):Xa(t,e,s,y,l);n=h?n.projectionNext:n.next}}function vs(e,t,n,o,s,l){tu(n,o,e.firstChild,t,s,l,!1)}function ku(e,t,n,o,s,l){const h=n[w],E=h[6].projection[o.projection];if(Array.isArray(E))for(let x=0;x<E.length;x++)Xa(t,e,s,E[x],l);else tu(e,t,E,h[3],s,l,!0)}function gh(e,t,n){e.setAttribute(t,"style",n)}function Fc(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function La(e){return function Nc(){if(void 0===nu&&(nu=null,Mt.trustedTypes))try{nu=Mt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return nu}()?.createHTML(e)||e}function kc(e){zi=e}function Lc(){if(void 0===Tl&&(Tl=null,Mt.trustedTypes))try{Tl=Mt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Tl}function _h(e){return Lc()?.createHTML(e)||e}function Bc(e){return Lc()?.createScriptURL(e)||e}class Ba{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class dp extends Ba{getTypeName(){return"HTML"}}class hp extends Ba{getTypeName(){return"Style"}}class fp extends Ba{getTypeName(){return"Script"}}class pp extends Ba{getTypeName(){return"URL"}}class vh extends Ba{getTypeName(){return"ResourceURL"}}function Zs(e){return e instanceof Ba?e.changingThisBreaksApplicationSecurity:e}function Ol(e,t){const n=function Vc(e){return e instanceof Ba&&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 yh(e){return new dp(e)}function ru(e){return new hp(e)}function Hc(e){return new fp(e)}function Ch(e){return new pp(e)}function wh(e){return new vh(e)}class bh{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(La(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class Ks{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 o=this.inertDocument.createElement("body");n.appendChild(o)}}getInertBodyElement(t){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=La(t),n;const o=this.inertDocument.createElement("body");return o.innerHTML=La(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(o),o}stripCustomNsAttrs(t){const n=t.attributes;for(let s=n.length-1;0<s;s--){const h=n.item(s).name;("xmlns:ns1"===h||0===h.indexOf("ns1:"))&&t.removeAttribute(h)}let o=t.firstChild;for(;o;)o.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(o),o=o.nextSibling}}const gp=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;function ou(e){return(e=String(e)).match(gp)?e:"unsafe:"+e}function ma(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function su(...e){const t={};for(const n of e)for(const o in n)n.hasOwnProperty(o)&&(t[o]=!0);return t}const Eh=ma("area,br,col,hr,img,wbr"),Dh=ma("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Mh=ma("rp,rt"),Uc=su(Eh,su(Dh,ma("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")),su(Mh,ma("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")),su(Mh,Dh)),jc=ma("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),$c=su(jc,ma("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"),ma("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")),Sh=ma("script,style,template");class _p{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,o=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?o=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,o&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let s=this.checkClobberedElement(n,n.nextSibling);if(s){n=s;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!Uc.hasOwnProperty(n))return this.sanitizedSomething=!0,!Sh.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const o=t.attributes;for(let s=0;s<o.length;s++){const l=o.item(s),h=l.name,y=h.toLowerCase();if(!$c.hasOwnProperty(y)){this.sanitizedSomething=!0;continue}let E=l.value;jc[y]&&(E=ou(E)),this.buf.push(" ",h,'="',Gc(E),'"')}return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();Uc.hasOwnProperty(n)&&!Eh.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Gc(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 vp=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,yp=/([^\#-~ |!])/g;function Gc(e){return e.replace(/&/g,"&").replace(vp,(function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"})).replace(yp,(function(t){return"&#"+t.charCodeAt(0)+";"})).replace(/</g,"<").replace(/>/g,">")}let Lu;function Th(e,t){let n=null;try{Lu=Lu||function iu(e){const t=new Ks(e);return function rl(){try{return!!(new window.DOMParser).parseFromString(La(""),"text/html")}catch{return!1}}()?new bh(t):t}(e);let o=t?String(t):"";n=Lu.getInertBodyElement(o);let s=5,l=o;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,o=l,l=n.innerHTML,n=Lu.getInertBodyElement(o)}while(o!==l);return La((new _p).sanitizeChildren(zc(n)||n))}finally{if(n){const o=zc(n)||n;for(;o.firstChild;)o.removeChild(o.firstChild)}}}function zc(e){return"content"in e&&function Cp(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var gi=(()=>((gi=gi||{})[gi.NONE=0]="NONE",gi[gi.HTML=1]="HTML",gi[gi.STYLE=2]="STYLE",gi[gi.SCRIPT=3]="SCRIPT",gi[gi.URL=4]="URL",gi[gi.RESOURCE_URL=5]="RESOURCE_URL",gi))();function Ph(e){const t=au();return t?_h(t.sanitize(gi.HTML,e)||""):Ol(e,"HTML")?_h(Zs(e)):Th(function mh(){return void 0!==zi?zi:typeof document<"u"?document:void 0}(),Fe(e))}function Wc(e){const t=au();return t?t.sanitize(gi.URL,e)||"":Ol(e,"URL")?Zs(e):ou(Fe(e))}function Yc(e){const t=au();if(t)return Bc(t.sanitize(gi.RESOURCE_URL,e)||"");if(Ol(e,"ResourceURL"))return Bc(Zs(e));throw new tt(904,!1)}function au(){const e=D();return e&&e[12]}const Zc=new Yt("ENVIRONMENT_INITIALIZER"),xh=new Yt("INJECTOR",-1),Ih=new Yt("INJECTOR_DEF_TYPES");class Rh{get(t,n=_){if(n===_){const o=new Error(`NullInjectorError: No provider for ${ye(t)}!`);throw o.name="NullInjectorError",o}return n}}function Mp(...e){return{"ɵproviders":Fh(0,e)}}function Fh(e,...t){const n=[],o=new Set;let s;return es(t,(l=>{const h=l;Kc(h,n,[],o)&&(s||(s=[]),s.push(h))})),void 0!==s&&Nh(s,n),n}function Nh(e,t){for(let n=0;n<e.length;n++){const{providers:s}=e[n];es(s,(l=>{t.push(l)}))}}function Kc(e,t,n,o){if(!(e=ke(e)))return!1;let s=null,l=Wn(e);const h=!l&&Qt(e);if(l||h){if(h&&!h.standalone)return!1;s=e}else{const E=e.ngModule;if(l=Wn(E),!l)return!1;s=E}const y=o.has(s);if(h){if(y)return!1;if(o.add(s),h.dependencies){const E="function"==typeof h.dependencies?h.dependencies():h.dependencies;for(const x of E)Kc(x,t,n,o)}}else{if(!l)return!1;{if(null!=l.imports&&!y){let x;o.add(s);try{es(l.imports,(W=>{Kc(W,t,n,o)&&(x||(x=[]),x.push(W))}))}finally{}void 0!==x&&Nh(x,t)}if(!y){const x=Cn(s)||(()=>new s);t.push({provide:s,useFactory:x,deps:Pt},{provide:Ih,useValue:s,multi:!0},{provide:Zc,useValue:()=>ln(s),multi:!0})}const E=l.providers;null==E||y||es(E,(W=>{t.push(W)}))}}return s!==e&&void 0!==e.providers}const Sp=re({provide:String,useValue:re});function qc(e){return null!==e&&"object"==typeof e&&Sp in e}function il(e){return"function"==typeof e}const Qc=new Yt("Set Injector scope."),Bu={},Pp={};let Jc;function Al(){return void 0===Jc&&(Jc=new Rh),Jc}class Va{}class Bh extends Va{constructor(t,n,o,s){super(),this.parent=n,this.source=o,this.scopes=s,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Il(t,(h=>this.processProvider(h))),this.records.set(xh,xl(void 0,this)),s.has("environment")&&this.records.set(Va,xl(void 0,this));const l=this.records.get(Qc);null!=l&&"string"==typeof l.value&&this.scopes.add(l.value),this.injectorDefTypes=new Set(this.get(Ih.multi,Pt,je.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=Lt(this),o=J(void 0);try{return t()}finally{Lt(n),J(o)}}get(t,n=_,o=je.Default){this.assertNotDestroyed();const s=Lt(this),l=J(void 0);try{if(!(o&je.SkipSelf)){let y=this.records.get(t);if(void 0===y){const E=function Hh(e){return"function"==typeof e||"object"==typeof e&&e instanceof Yt}(t)&&$n(t);y=E&&this.injectableDefInScope(E)?xl(Xc(t),Bu):null,this.records.set(t,y)}if(null!=y)return this.hydrate(t,y)}return(o&je.Self?Al():this.parent).get(t,n=o&je.Optional&&n===_?null:n)}catch(h){if("NullInjectorError"===h.name){if((h[Y]=h[Y]||[]).unshift(ye(t)),s)throw h;return function Li(e,t,n,o){const s=e[Y];throw t[ft]&&s.unshift(t[ft]),e.message=function Nr(e,t,n,o=null){e=e&&"\n"===e.charAt(0)&&"ɵ"==e.charAt(1)?e.slice(2):e;let s=ye(t);if(Array.isArray(t))s=t.map(ye).join(" -> ");else if("object"==typeof t){let l=[];for(let h in t)if(t.hasOwnProperty(h)){let y=t[h];l.push(h+":"+("string"==typeof y?JSON.stringify(y):ye(y)))}s=`{${l.join(", ")}}`}return`${n}${o?"("+o+")":""}[${s}]: ${e.replace(Pe,"\n ")}`}("\n"+e.message,s,n,o),e.ngTokenPath=s,e[Y]=null,e}(h,t,"R3InjectorError",this.source)}throw h}finally{J(l),Lt(s)}}resolveInjectorInitializers(){const t=Lt(this),n=J(void 0);try{const o=this.get(Zc.multi,Pt,je.Self);for(const s of o)s()}finally{Lt(t),J(n)}}toString(){const t=[],n=this.records;for(const o of n.keys())t.push(ye(o));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new tt(205,!1)}processProvider(t){let n=il(t=ke(t))?t:ke(t&&t.provide);const o=function Ap(e){return qc(e)?xl(void 0,e.useValue):xl(Vh(e),Bu)}(t);if(il(t)||!0!==t.multi)this.records.get(n);else{let s=this.records.get(n);s||(s=xl(void 0,Bu,!0),s.factory=()=>fr(s.multi),this.records.set(n,s)),n=t,s.multi.push(t)}this.records.set(n,o)}hydrate(t,n){return n.value===Bu&&(n.value=Pp,n.value=n.factory()),"object"==typeof n.value&&n.value&&function Ip(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=ke(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function Xc(e){const t=$n(e),n=null!==t?t.factory:Cn(e);if(null!==n)return n;if(e instanceof Yt)throw new tt(204,!1);if(e instanceof Function)return function Op(e){const t=e.length;if(t>0)throw Aa(t,"?"),new tt(204,!1);const n=function ci(e){const t=e&&(e[$r]||e[Me]);if(t){const n=function Kt(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 Vh(e,t,n){let o;if(il(e)){const s=ke(e);return Cn(s)||Xc(s)}if(qc(e))o=()=>ke(e.useValue);else if(function Lh(e){return!(!e||!e.useFactory)}(e))o=()=>e.useFactory(...fr(e.deps||[]));else if(function kh(e){return!(!e||!e.useExisting)}(e))o=()=>ln(ke(e.useExisting));else{const s=ke(e&&(e.useClass||e.provide));if(!function xp(e){return!!e.deps}(e))return Cn(s)||Xc(s);o=()=>new s(...fr(e.deps))}return o}function xl(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Rp(e){return!!e.ɵproviders}function Il(e,t){for(const n of e)Array.isArray(n)?Il(n,t):Rp(n)?Il(n.ɵproviders,t):t(n)}class Uh{}class kp{resolveComponentFactory(t){throw function Np(e){const t=Error(`No component factory found for ${ye(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let lu=(()=>{class e{}return e.NULL=new kp,e})();function Lp(){return Rl(Qe(),D())}function Rl(e,t){return new uu(dr(e,t))}let uu=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=Lp,e})();function Bp(e){return e instanceof uu?e.nativeElement:e}class $h{}let Vp=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function Hp(){const e=D(),n=Ur(Qe().index,e);return(Kr(n)?n:e)[B]}(),e})(),Up=(()=>{class e{}return e.ɵprov=er({token:e,providedIn:"root",factory:()=>null}),e})();class ed{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Gh=new ed("14.3.0"),td={};function rd(e){return e.ngOriginalError}class Ha{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&&rd(t);for(;n&&rd(n);)n=rd(n);return n||null}}function _a(e){return e instanceof Function?e():e}function Vu(e,t,n){let o=e.length;for(;;){const s=e.indexOf(t,n);if(-1===s)return s;if(0===s||e.charCodeAt(s-1)<=32){const l=t.length;if(s+l===o||e.charCodeAt(s+l)<=32)return s}n=s+1}}const sd="ng-template";function zh(e,t,n){let o=0;for(;o<e.length;){let s=e[o++];if(n&&"class"===s){if(s=e[o],-1!==Vu(s.toLowerCase(),t,0))return!0}else if(1===s){for(;o<e.length&&"string"==typeof(s=e[o++]);)if(s.toLowerCase()===t)return!0;return!1}}return!1}function ad(e){return 4===e.type&&e.value!==sd}function eg(e,t,n){return t===(4!==e.type||n?e.value:sd)}function tg(e,t,n){let o=4;const s=e.attrs||[],l=function rg(e){for(let t=0;t<e.length;t++)if(kn(e[t]))return t;return e.length}(s);let h=!1;for(let y=0;y<t.length;y++){const E=t[y];if("number"!=typeof E){if(!h)if(4&o){if(o=2|1&o,""!==E&&!eg(e,E,n)||""===E&&1===t.length){if(ys(o))return!1;h=!0}}else{const x=8&o?E:t[++y];if(8&o&&null!==e.attrs){if(!zh(e.attrs,x,n)){if(ys(o))return!1;h=!0}continue}const ue=Hu(8&o?"class":E,s,ad(e),n);if(-1===ue){if(ys(o))return!1;h=!0;continue}if(""!==x){let Re;Re=ue>l?"":s[ue+1].toLowerCase();const We=8&o?Re:null;if(We&&-1!==Vu(We,x,0)||2&o&&x!==Re){if(ys(o))return!1;h=!0}}}}else{if(!h&&!ys(o)&&!ys(E))return!1;if(h&&ys(E))continue;h=!1,o=E|1&o}}return ys(o)||h}function ys(e){return 0==(1&e)}function Hu(e,t,n,o){if(null===t)return-1;let s=0;if(o||!n){let l=!1;for(;s<t.length;){const h=t[s];if(h===e)return s;if(3===h||6===h)l=!0;else{if(1===h||2===h){let y=t[++s];for(;"string"==typeof y;)y=t[++s];continue}if(4===h)break;if(0===h){s+=4;continue}}s+=l?1:2}return-1}return function ld(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const o=e[n];if("number"==typeof o)return-1;if(o===t)return n;n++}return-1}(t,e)}function cu(e,t,n=!1){for(let o=0;o<t.length;o++)if(tg(e,t[o],n))return!0;return!1}function Wh(e,t){e:for(let n=0;n<t.length;n++){const o=t[n];if(e.length===o.length){for(let s=0;s<e.length;s++)if(e[s]!==o[s])continue e;return!0}}return!1}function Yh(e,t){return e?":not("+t.trim()+")":t}function ig(e){let t=e[0],n=1,o=2,s="",l=!1;for(;n<e.length;){let h=e[n];if("string"==typeof h)if(2&o){const y=e[++n];s+="["+h+(y.length>0?'="'+y+'"':"")+"]"}else 8&o?s+="."+h:4&o&&(s+=" "+h);else""!==s&&!ys(h)&&(t+=Yh(l,s),s=""),o=h,l=l||!ys(o);n++}return""!==s&&(t+=Yh(l,s)),t}const Hn={};function Zh(e){Kh(T(),D(),_i()+e,!1)}function Kh(e,t,n,o){if(!o)if(3==(3&t[2])){const l=e.preOrderCheckHooks;null!==l&&fs(t,l,n)}else{const l=e.preOrderHooks;null!==l&&ca(t,l,0,n)}Ji(n)}function Un(e,t=null,n=null,o){const s=Jh(e,t,n,o);return s.resolveInjectorInitializers(),s}function Jh(e,t=null,n=null,o,s=new Set){const l=[n||Pt,Mp(e)];return o=o||("object"==typeof e?void 0:ye(e)),new Bh(l,t||Al(),o||null,s)}let vi=(()=>{class e{static create(n,o){if(Array.isArray(n))return Un({name:""},o,n,"");{const s=n.name??"";return Un({name:s},n.parent,n.providers,s)}}}return e.THROW_IF_NOT_FOUND=_,e.NULL=new Rh,e.ɵprov=er({token:e,providedIn:"any",factory:()=>ln(xh)}),e.__NG_ELEMENT_ID__=-1,e})();function Ll(e,t=je.Default){const n=D();return null===n?ln(e,t):ha(Qe(),n,ke(e),t)}function nf(){throw new Error("invalid")}function zu(e,t){return e<<17|t<<2}function ss(e){return e>>17&32767}function Wu(e){return 2|e}function yi(e){return(131068&e)>>2}function Yu(e,t){return-131069&e|t<<2}function _r(e){return 1|e}function hf(e,t){const n=e.contentQueries;if(null!==n)for(let o=0;o<n.length;o+=2){const s=n[o],l=n[o+1];if(-1!==l){const h=e.data[l];ds(s),h.contentQueries(2,t[l],l)}}}function Ju(e,t,n,o,s,l,h,y,E,x,W){const ue=t.blueprint.slice();return ue[0]=s,ue[2]=76|o,(null!==W||e&&1024&e[2])&&(ue[2]|=1024),Ii(ue),ue[3]=ue[N]=e,ue[8]=n,ue[10]=h||e&&e[10],ue[B]=y||e&&e[B],ue[12]=E||e&&e[12]||null,ue[9]=x||e&&e[9]||null,ue[6]=l,ue[20]=function Dc(){return Du++}(),ue[21]=W,ue[w]=2==t.type?e[w]:ue,ue}function sl(e,t,n,o,s){let l=e.data[t];if(null===l)l=function Xu(e,t,n,o,s){const l=an(),h=Ui(),E=e.data[t]=function Rg(e,t,n,o,s,l){return{type:n,index:o,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:s,attrs:l,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,h?l:l&&l.parent,n,t,o,s);return null===e.firstChild&&(e.firstChild=E),null!==l&&(h?null==l.child&&null!==E.parent&&(l.child=E):null===l.next&&(l.next=E)),E}(e,t,n,o,s),function Zo(){return wn.lFrame.inI18n}()&&(l.flags|=64);else if(64&l.type){l.type=n,l.value=o,l.attrs=s;const h=function En(){const e=wn.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();l.injectorIndex=null===h?-1:h.injectorIndex}return Or(l,!0),l}function Vl(e,t,n,o){if(0===n)return-1;const s=t.length;for(let l=0;l<n;l++)t.push(o),e.blueprint.push(o),e.data.push(null);return s}function wd(e,t,n){Ko(t);try{const o=e.viewQuery;null!==o&&Id(1,o,n);const s=e.template;null!==s&&ff(e,t,s,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&hf(e,t),e.staticViewQueries&&Id(2,e.viewQuery,n);const l=e.components;null!==l&&function Ag(e,t){for(let n=0;n<t.length;n++)Gg(e,t[n])}(t,l)}catch(o){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),o}finally{t[2]&=-5,hs()}}function ec(e,t,n,o){const s=t[2];if(128!=(128&s)){Ko(t);try{Ii(t),function Ma(e){return wn.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&ff(e,t,n,2,o);const h=3==(3&s);if(h){const x=e.preOrderCheckHooks;null!==x&&fs(t,x,null)}else{const x=e.preOrderHooks;null!==x&&ca(t,x,0,null),Si(t,0)}if(function $g(e){for(let t=Oc(e);null!==t;t=Ac(t)){if(!t[2])continue;const n=t[9];for(let o=0;o<n.length;o++){const s=n[o],l=s[3];0==(512&s[2])&&So(l,1),s[2]|=512}}}(t),function Od(e){for(let t=Oc(e);null!==t;t=Ac(t))for(let n=10;n<t.length;n++){const o=t[n],s=o[1];xi(o)&&ec(s,o,s.template,o[8])}}(t),null!==e.contentQueries&&hf(e,t),h){const x=e.contentCheckHooks;null!==x&&fs(t,x)}else{const x=e.contentHooks;null!==x&&ca(t,x,1),Si(t,1)}!function Pg(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let o=0;o<n.length;o++){const s=n[o];if(s<0)Ji(~s);else{const l=s,h=n[++o],y=n[++o];us(h,l),y(2,t[l])}}}finally{Ji(-1)}}(e,t);const y=e.components;null!==y&&function Og(e,t){for(let n=0;n<t.length;n++)Ad(e,t[n])}(t,y);const E=e.viewQuery;if(null!==E&&Id(2,E,o),h){const x=e.viewCheckHooks;null!==x&&fs(t,x)}else{const x=e.viewHooks;null!==x&&ca(t,x,2),Si(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[2]&=-41,512&t[2]&&(t[2]&=-513,So(t[3],-1))}finally{hs()}}}function ff(e,t,n,o,s){const l=_i(),h=2&o;try{Ji(-1),h&&t.length>22&&Kh(e,t,22,!1),n(o,s)}finally{Ji(l)}}function pf(e,t,n){if(wo(t)){const s=t.directiveEnd;for(let l=t.directiveStart;l<s;l++){const h=e.data[l];h.contentQueries&&h.contentQueries(1,n[l],l)}}}function bd(e,t,n){!To()||(function Sd(e,t,n,o){const s=n.directiveStart,l=n.directiveEnd;e.firstCreatePass||Rs(n,t),Bi(o,t);const h=n.initialInputs;for(let y=s;y<l;y++){const E=e.data[y],x=Lr(E);x&&Hg(t,n,E);const W=Ao(t,e,y,n);Bi(W,t),null!==h&&Ug(0,y-s,W,E,0,h),x&&(Ur(n.index,t)[8]=W)}}(e,t,n,dr(n,t)),128==(128&n.flags)&&function wf(e,t,n){const o=n.directiveStart,s=n.directiveEnd,l=n.index,h=function ul(){return wn.lFrame.currentDirectiveIndex}();try{Ji(l);for(let y=o;y<s;y++){const E=e.data[y],x=t[y];As(y),(null!==E.hostBindings||0!==E.hostVars||null!==E.hostAttrs)&&Td(E,x)}}finally{Ji(-1),As(h)}}(e,t,n))}function Ed(e,t,n=dr){const o=t.localNames;if(null!==o){let s=t.index+1;for(let l=0;l<o.length;l+=2){const h=o[l+1],y=-1===h?n(t,e):e[h];e[s++]=y}}}function gf(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Dd(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function Dd(e,t,n,o,s,l,h,y,E,x){const W=22+o,ue=W+s,Re=function xg(e,t){const n=[];for(let o=0;o<t;o++)n.push(o<e?null:Hn);return n}(W,ue),We="function"==typeof x?x():x;return Re[1]={type:e,blueprint:Re,template:n,queries:null,viewQuery:y,declTNode:t,data:Re.slice().fill(null,W),bindingStartIndex:W,expandoStartIndex:ue,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof l?l():l,pipeRegistry:"function"==typeof h?h():h,firstChild:null,schemas:E,consts:We,incompleteFirstPass:!1}}function mf(e,t,n,o){const s=ic(t);null===n?s.push(o):(s.push(n),e.firstCreatePass&&Tf(e).push(o,s.length-1))}function _f(e,t,n){for(let o in e)if(e.hasOwnProperty(o)){const s=e[o];(n=null===n?{}:n).hasOwnProperty(o)?n[o].push(t,s):n[o]=[t,s]}return n}function vf(e,t){const o=t.directiveEnd,s=e.data,l=t.attrs,h=[];let y=null,E=null;for(let x=t.directiveStart;x<o;x++){const W=s[x],ue=W.inputs,Re=null===l||ad(t)?null:jg(ue,l);h.push(Re),y=_f(ue,x,y),E=_f(W.outputs,x,E)}null!==y&&(y.hasOwnProperty("class")&&(t.flags|=16),y.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=h,t.inputs=y,t.outputs=E}function Lo(e,t,n,o,s,l,h,y){const E=dr(t,n);let W,x=t.inputs;!y&&null!=x&&(W=x[o])?(Rd(e,n,W,o,s),Hr(t)&&yf(n,t.index)):3&t.type&&(o=function Fg(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(o),s=null!=h?h(s,t.value||"",o):s,l.setProperty(E,o,s))}function yf(e,t){const n=Ur(t,e);16&n[2]||(n[2]|=32)}function Md(e,t,n,o){let s=!1;if(To()){const l=function Bg(e,t,n){const o=e.directiveRegistry;let s=null;if(o)for(let l=0;l<o.length;l++){const h=o[l];cu(n,h.selectors,!1)&&(s||(s=[]),Pa(Rs(n,t),e,h.type),Lr(h)?(bf(e,n),s.unshift(h)):s.push(h))}return s}(e,t,n),h=null===o?null:{"":-1};if(null!==l){s=!0,Ef(n,e.data.length,l.length);for(let W=0;W<l.length;W++){const ue=l[W];ue.providersResolver&&ue.providersResolver(ue)}let y=!1,E=!1,x=Vl(e,t,l.length,null);for(let W=0;W<l.length;W++){const ue=l[W];n.mergedAttrs=Ln(n.mergedAttrs,ue.hostAttrs),Df(e,n,t,x,ue),Pd(x,ue,h),null!==ue.contentQueries&&(n.flags|=8),(null!==ue.hostBindings||null!==ue.hostAttrs||0!==ue.hostVars)&&(n.flags|=128);const Re=ue.type.prototype;!y&&(Re.ngOnChanges||Re.ngOnInit||Re.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),y=!0),!E&&(Re.ngOnChanges||Re.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),E=!0),x++}vf(e,n)}h&&function Vg(e,t,n){if(t){const o=e.localNames=[];for(let s=0;s<t.length;s+=2){const l=n[t[s+1]];if(null==l)throw new tt(-301,!1);o.push(t[s],l)}}}(n,o,h)}return n.mergedAttrs=Ln(n.mergedAttrs,n.attrs),s}function Cf(e,t,n,o,s,l){const h=l.hostBindings;if(h){let y=e.hostBindingOpCodes;null===y&&(y=e.hostBindingOpCodes=[]);const E=~t.index;(function Lg(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(y)!=E&&y.push(E),y.push(o,s,h)}}function Td(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function bf(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function Pd(e,t,n){if(n){if(t.exportAs)for(let o=0;o<t.exportAs.length;o++)n[t.exportAs[o]]=e;Lr(t)&&(n[""]=e)}}function Ef(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Df(e,t,n,o,s){e.data[o]=s;const l=s.factory||(s.factory=Cn(s.type)),h=new Oo(l,Lr(s),Ll);e.blueprint[o]=h,n[o]=h,Cf(e,t,0,o,Vl(e,n,s.hostVars,Hn),s)}function Hg(e,t,n){const o=dr(t,e),s=gf(n),l=e[10],h=tc(e,Ju(e,s,null,n.onPush?32:16,o,t,l,l.createRenderer(o,n),null,null,null));e[t.index]=h}function ri(e,t,n,o,s,l){const h=dr(e,t);!function hu(e,t,n,o,s,l,h){if(null==l)e.removeAttribute(t,s,n);else{const y=null==h?Fe(l):h(l,o||"",s);e.setAttribute(t,s,y,n)}}(t[B],h,l,e.value,n,o,s)}function Ug(e,t,n,o,s,l){const h=l[t];if(null!==h){const y=o.setInput;for(let E=0;E<h.length;){const x=h[E++],W=h[E++],ue=h[E++];null!==y?o.setInput(n,ue,x,W):n[W]=ue}}}function jg(e,t){let n=null,o=0;for(;o<t.length;){const s=t[o];if(0!==s)if(5!==s){if("number"==typeof s)break;e.hasOwnProperty(s)&&(null===n&&(n=[]),n.push(s,e[s],t[o+1])),o+=2}else o+=2;else o+=4}return n}function Mf(e,t,n,o){return new Array(e,!0,!1,t,null,0,o,n,null,null)}function Ad(e,t){const n=Ur(t,e);if(xi(n)){const o=n[1];48&n[2]?ec(o,n,o.template,n[8]):n[5]>0&&xd(n)}}function xd(e){for(let o=Oc(e);null!==o;o=Ac(o))for(let s=10;s<o.length;s++){const l=o[s];if(xi(l))if(512&l[2]){const h=l[1];ec(h,l,h.template,l[8])}else l[5]>0&&xd(l)}const n=e[1].components;if(null!==n)for(let o=0;o<n.length;o++){const s=Ur(n[o],e);xi(s)&&s[5]>0&&xd(s)}}function Gg(e,t){const n=Ur(t,e),o=n[1];(function zg(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(o,n),wd(o,n,n[8])}function tc(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function nc(e){for(;e;){e[2]|=32;const t=Dl(e);if(Pr(e)&&!t)return e;e=t}return null}function rc(e,t,n,o=!0){const s=t[10];s.begin&&s.begin();try{ec(e,t,e.template,n)}catch(h){throw o&&Of(t,h),h}finally{s.end&&s.end()}}function Id(e,t,n){ds(0),t(e,n)}function ic(e){return e[7]||(e[7]=[])}function Tf(e){return e.cleanup||(e.cleanup=[])}function Of(e,t){const n=e[9],o=n?n.get(Ha,null):null;o&&o.handleError(t)}function Rd(e,t,n,o,s){for(let l=0;l<n.length;){const h=n[l++],y=n[l++],E=t[h],x=e.data[h];null!==x.setInput?x.setInput(E,s,o,y):E[y]=s}}function oc(e,t,n){let o=n?e.styles:null,s=n?e.classes:null,l=0;if(null!==t)for(let h=0;h<t.length;h++){const y=t[h];"number"==typeof y?l=y:1==l?s=Oe(s,y):2==l&&(o=Oe(o,y+": "+t[++h]+";"))}n?e.styles=o:e.stylesWithoutHost=o,n?e.classes=s:e.classesWithoutHost=s}function sc(e,t,n,o,s=!1){for(;null!==n;){const l=t[n.index];if(null!==l&&o.push(mr(l)),qr(l))for(let y=10;y<l.length;y++){const E=l[y],x=E[1].firstChild;null!==x&&sc(E[1],E,x,o)}const h=n.type;if(8&h)sc(e,t,n.child,o);else if(32&h){const y=Ou(n,t);let E;for(;E=y();)o.push(E)}else if(16&h){const y=nl(t,n);if(Array.isArray(y))o.push(...y);else{const E=Dl(t[w]);sc(E[1],E,y,o,!0)}}n=s?n.projectionNext:n.next}return o}class fu{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 sc(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(qr(t)){const n=t[8],o=n?n.indexOf(this):-1;o>-1&&(Jl(t,o),Ja(n,o))}this._attachedToViewContainer=!1}Xl(this._lView[1],this._lView)}onDestroy(t){mf(this._lView[1],this._lView,null,t)}markForCheck(){nc(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){rc(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 sh(e,t){vs(e,t,t[B],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new tt(902,!1);this._appRef=t}}class Wg extends fu{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;rc(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class Fd extends lu{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Qt(t);return new pu(n,this.ngModule)}}function Af(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,o){const s=this.injector.get(t,td,o);return s!==td||n===td?s:this.parentInjector.get(t,n,o)}}class pu extends Uh{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function og(e){return e.map(ig).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return Af(this.componentDef.inputs)}get outputs(){return Af(this.componentDef.outputs)}create(t,n,o,s){let l=(s=s||this.ngModule)instanceof Va?s:s?.injector;l&&null!==this.componentDef.getStandaloneInjector&&(l=this.componentDef.getStandaloneInjector(l)||l);const h=l?new Zg(t,l):t,y=h.get($h,null);if(null===y)throw new tt(407,!1);const E=h.get(Up,null),x=y.createRenderer(null,this.componentDef),W=this.componentDef.selectors[0][0]||"div",ue=o?function Ig(e,t,n){return e.selectRootElement(t,n===Ct.ShadowDom)}(x,o,this.componentDef.encapsulation):ka(x,W,function Yg(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(W)),Re=this.componentDef.onPush?288:272,We=Dd(0,null,null,1,0,null,null,null,null,null),ht=Ju(null,We,null,Re,null,null,y,x,E,h,null);let Tt,Bt;Ko(ht);try{const tn=function Qg(e,t,n,o,s,l){const h=n[1];n[22]=e;const E=sl(h,22,2,"#host",null),x=E.mergedAttrs=t.hostAttrs;null!==x&&(oc(E,x,!0),null!==e&&(Gn(s,e,x),null!==E.classes&&Fc(s,e,E.classes),null!==E.styles&&gh(s,e,E.styles)));const W=o.createRenderer(e,t),ue=Ju(n,gf(t),null,t.onPush?32:16,n[22],E,o,W,l||null,null,null);return h.firstCreatePass&&(Pa(Rs(E,n),h,t.type),bf(h,E),Ef(E,n.length,1)),tc(n,ue),n[22]=ue}(ue,this.componentDef,ht,y,x);if(ue)if(o)Gn(x,ue,["ng-version",Gh.full]);else{const{attrs:hn,classes:Et}=function sg(e){const t=[],n=[];let o=1,s=2;for(;o<e.length;){let l=e[o];if("string"==typeof l)2===s?""!==l&&t.push(l,e[++o]):8===s&&n.push(l);else{if(!ys(s))break;s=l}o++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);hn&&Gn(x,ue,hn),Et&&Et.length>0&&Fc(x,ue,Et.join(" "))}if(Bt=oi(We,22),void 0!==n){const hn=Bt.projection=[];for(let Et=0;Et<this.ngContentSelectors.length;Et++){const Nn=n[Et];hn.push(null!=Nn?Array.from(Nn):null)}}Tt=function Jg(e,t,n,o){const s=n[1],l=function kg(e,t,n){const o=Qe();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Df(e,o,t,Vl(e,t,1,null),n),vf(e,o));const s=Ao(t,e,o.directiveStart,o);Bi(s,t);const l=dr(o,t);return l&&Bi(l,t),s}(s,n,t);if(e[8]=n[8]=l,null!==o)for(const y of o)y(l,t);if(t.contentQueries){const y=Qe();t.contentQueries(1,l,y.directiveStart)}const h=Qe();return!s.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(Ji(h.index),Cf(n[1],h,0,h.directiveStart,h.directiveEnd,t),Td(t,l)),l}(tn,this.componentDef,ht,[Xg]),wd(We,ht,null)}finally{hs()}return new qg(this.componentType,Tt,Rl(Bt,ht),ht,Bt)}}class qg extends class Fp{}{constructor(t,n,o,s,l){super(),this.location=o,this._rootLView=s,this._tNode=l,this.instance=n,this.hostView=this.changeDetectorRef=new Wg(s),this.componentType=t}setInput(t,n){const o=this._tNode.inputs;let s;if(null!==o&&(s=o[t])){const l=this._rootLView;Rd(l[1],l,s,t,n),yf(l,this._tNode.index)}}get injector(){return new Mr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function Xg(){const e=Qe();ar(D()[1],e)}function a(e){let t=function i(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const o=[e];for(;t;){let s;if(Lr(e))s=t.ɵcmp||t.ɵdir;else{if(t.ɵcmp)throw new tt(903,!1);s=t.ɵdir}if(s){if(n){o.push(s);const h=e;h.inputs=O(e.inputs),h.declaredInputs=O(e.declaredInputs),h.outputs=O(e.outputs);const y=s.hostBindings;y&&Se(e,y);const E=s.viewQuery,x=s.contentQueries;if(E&&k(e,E),x&&oe(e,x),ie(e.inputs,s.inputs),ie(e.declaredInputs,s.declaredInputs),ie(e.outputs,s.outputs),Lr(s)&&s.data.animation){const W=e.data;W.animation=(W.animation||[]).concat(s.data.animation)}}const l=s.features;if(l)for(let h=0;h<l.length;h++){const y=l[h];y&&y.ngInherit&&y(e),y===a&&(n=!1)}}t=Object.getPrototypeOf(t)}!function d(e){let t=0,n=null;for(let o=e.length-1;o>=0;o--){const s=e[o];s.hostVars=t+=s.hostVars,s.hostAttrs=Ln(s.hostAttrs,n=Ln(n,s.hostAttrs))}}(o)}function O(e){return e===Vt?{}:e===Pt?[]:e}function k(e,t){const n=e.viewQuery;e.viewQuery=n?(o,s)=>{t(o,s),n(o,s)}:t}function oe(e,t){const n=e.contentQueries;e.contentQueries=n?(o,s,l)=>{t(o,s,l),n(o,s,l)}:t}function Se(e,t){const n=e.hostBindings;e.hostBindings=n?(o,s)=>{t(o,s),n(o,s)}:t}let _t=null;function wt(){if(!_t){const e=Mt.Symbol;if(e&&e.iterator)_t=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;n<t.length;++n){const o=t[n];"entries"!==o&&"size"!==o&&Map.prototype[o]===Map.prototype.entries&&(_t=o)}}}return _t}function sn(e){return!!Sn(e)&&(Array.isArray(e)||!(e instanceof Map)&&wt()in e)}function Sn(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function jn(e,t,n){return e[t]=n}function Sr(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Oi(e,t,n,o){const s=Sr(e,t,n);return Sr(e,t+1,o)||s}function Cs(e,t,n,o){const s=D();return Sr(s,Ri(),t)&&(T(),ri(Ne(),s,e,t,n,o)),Cs}function ac(e,t,n,o){return Sr(e,Ri(),n)?t+Fe(n)+o:Hn}function lc(e,t,n,o,s,l){const y=Oi(e,function Po(){return wn.lFrame.bindingIndex}(),n,s);return Mi(2),y?t+Fe(n)+o+Fe(s)+l:Hn}function em(e,t,n,o,s,l){const h=D(),y=ac(h,t,n,o);return y!==Hn&&ri(Ne(),h,e,y,s,l),em}function G_(e,t,n,o,s,l,h,y){const E=D(),x=T(),W=e+22,ue=x.firstCreatePass?function q0(e,t,n,o,s,l,h,y,E){const x=t.consts,W=sl(t,e,4,h||null,nr(x,y));Md(t,n,W,nr(x,E)),ar(t,W);const ue=W.tViews=Dd(2,W,o,s,l,t.directiveRegistry,t.pipeRegistry,null,t.schemas,x);return null!==t.queries&&(t.queries.template(t,W),ue.queries=t.queries.embeddedTView(W)),W}(W,x,E,t,n,o,s,l,h):x.data[W];Or(ue,!1);const Re=E[B].createComment("");Ml(x,E,Re,ue),Bi(Re,E),tc(E,E[W]=Mf(Re,E,Re,ue)),wi(ue)&&bd(x,E,ue),null!=h&&Ed(E,ue,y)}function z_(e){return function Ai(e,t){return e[t]}(function aa(){return wn.lFrame.contextLView}(),22+e)}function tm(e,t,n){const o=D();return Sr(o,Ri(),t)&&Lo(T(),Ne(),o,e,t,o[B],n,!1),tm}function nm(e,t,n,o,s){const h=s?"class":"style";Rd(e,n,t.inputs[h],h,o)}function xf(e,t,n,o){const s=D(),l=T(),h=22+e,y=s[B],E=s[h]=ka(y,t,function or(){return wn.lFrame.currentNamespace}()),x=l.firstCreatePass?function J0(e,t,n,o,s,l,h){const y=t.consts,x=sl(t,e,2,s,nr(y,l));return Md(t,n,x,nr(y,h)),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}(h,l,s,0,t,n,o):l.data[h];Or(x,!0);const W=x.mergedAttrs;null!==W&&Gn(y,E,W);const ue=x.classes;null!==ue&&Fc(y,E,ue);const Re=x.styles;return null!==Re&&gh(y,E,Re),64!=(64&x.flags)&&Ml(l,s,E,x),0===function di(){return wn.lFrame.elementDepthCount}()&&Bi(E,s),function sa(){wn.lFrame.elementDepthCount++}(),wi(x)&&(bd(l,s,x),pf(l,x,s)),null!==o&&Ed(s,x),xf}function If(){let e=Qe();Ui()?io():(e=e.parent,Or(e,!1));const t=e;!function fo(){wn.lFrame.elementDepthCount--}();const n=T();return n.firstCreatePass&&(ar(n,e),wo(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Te(e){return 0!=(16&e.flags)}(t)&&nm(n,t,D(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function rt(e){return 0!=(32&e.flags)}(t)&&nm(n,t,D(),t.stylesWithoutHost,!1),If}function rm(e,t,n,o){return xf(e,t,n,o),If(),rm}function Rf(e,t,n){const o=D(),s=T(),l=e+22,h=s.firstCreatePass?function X0(e,t,n,o,s){const l=t.consts,h=nr(l,o),y=sl(t,e,8,"ng-container",h);return null!==h&&oc(y,h,!0),Md(t,n,y,nr(l,s)),null!==t.queries&&t.queries.elementStart(t,y),y}(l,s,o,t,n):s.data[l];Or(h,!0);const y=o[l]=o[B].createComment("");return Ml(s,o,y,h),Bi(y,o),wi(h)&&(bd(s,o,h),pf(s,h,o)),null!=n&&Ed(o,h),Rf}function Ff(){let e=Qe();const t=T();return Ui()?io():(e=e.parent,Or(e,!1)),t.firstCreatePass&&(ar(t,e),wo(e)&&t.queries.elementEnd(e)),Ff}function im(e,t,n){return Rf(e,t,n),Ff(),im}function W_(){return D()}function om(e){return!!e&&"function"==typeof e.then}function Y_(e){return!!e&&"function"==typeof e.subscribe}const Z_=Y_;function sm(e,t,n,o){const s=D(),l=T(),h=Qe();return function q_(e,t,n,o,s,l,h,y){const E=wi(o),W=e.firstCreatePass&&Tf(e),ue=t[8],Re=ic(t);let We=!0;if(3&o.type||y){const Bt=dr(o,t),tn=y?y(Bt):Bt,hn=Re.length,Et=y?Ar=>y(mr(Ar[o.index])):o.index;let Nn=null;if(!y&&E&&(Nn=function eC(e,t,n,o){const s=e.cleanup;if(null!=s)for(let l=0;l<s.length-1;l+=2){const h=s[l];if(h===n&&s[l+1]===o){const y=t[7],E=s[l+2];return y.length>E?y[E]:null}"string"==typeof h&&(l+=2)}return null}(e,t,s,o.index)),null!==Nn)(Nn.__ngLastListenerFn__||Nn).__ngNextListenerFn__=l,Nn.__ngLastListenerFn__=l,We=!1;else{l=J_(o,t,ue,l,!1);const Ar=n.listen(tn,s,l);Re.push(l,Ar),W&&W.push(s,Et,hn,hn+1)}}else l=J_(o,t,ue,l,!1);const ht=o.outputs;let Tt;if(We&&null!==ht&&(Tt=ht[s])){const Bt=Tt.length;if(Bt)for(let tn=0;tn<Bt;tn+=2){const li=t[Tt[tn]][Tt[tn+1]].subscribe(l),_u=Re.length;Re.push(l,li),W&&W.push(s,o.index,_u,-(_u+1))}}}(l,s,s[B],h,e,t,0,o),sm}function Q_(e,t,n,o){try{return!1!==n(o)}catch(s){return Of(e,s),!1}}function J_(e,t,n,o,s){return function l(h){if(h===Function)return o;nc(2&e.flags?Ur(e.index,t):t);let E=Q_(t,0,o,h),x=l.__ngNextListenerFn__;for(;x;)E=Q_(t,0,x,h)&&E,x=x.__ngNextListenerFn__;return s&&!1===E&&(h.preventDefault(),h.returnValue=!1),E}}function X_(e=1){return function cl(e){return(wn.lFrame.contextLView=function Wa(e,t){for(;e>0;)t=t[N],e--;return t}(e,wn.lFrame.contextLView))[8]}(e)}function tC(e,t){let n=null;const o=function ng(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e);for(let s=0;s<t.length;s++){const l=t[s];if("*"!==l){if(null===o?cu(e,l,!0):Wh(o,l))return s}else n=s}return n}function ev(e){const t=D()[w][6];if(!t.projection){const o=t.projection=Aa(e?e.length:1,null),s=o.slice();let l=t.child;for(;null!==l;){const h=e?tC(l,e):0;null!==h&&(s[h]?s[h].projectionNext=l:o[h]=l,s[h]=l),l=l.next}}}function tv(e,t=0,n){const o=D(),s=T(),l=sl(s,22+e,16,null,n||null);null===l.projection&&(l.projection=t),io(),64!=(64&l.flags)&&function lp(e,t,n){ku(t[B],0,t,n,Ic(e,n,t),hh(n.parent||t[6],n,t))}(s,o,l)}function am(e,t,n){return Nf(e,"",t,"",n),am}function Nf(e,t,n,o,s){const l=D(),h=ac(l,t,n,o);return h!==Hn&&Lo(T(),Ne(),l,e,h,l[B],s,!1),Nf}function lm(e,t,n,o,s,l,h){const y=D(),E=lc(y,t,n,o,s,l);return E!==Hn&&Lo(T(),Ne(),y,e,E,y[B],h,!1),lm}function uv(e,t,n,o,s){const l=e[n+1],h=null===t;let y=o?ss(l):yi(l),E=!1;for(;0!==y&&(!1===E||h);){const W=e[y+1];iC(e[y],t)&&(E=!0,e[y+1]=o?_r(W):Wu(W)),y=o?ss(W):yi(W)}E&&(e[n+1]=o?Wu(l):_r(l))}function iC(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&f(e,t)>=0}const Zi={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function cv(e){return e.substring(Zi.key,Zi.keyEnd)}function dv(e,t){const n=Zi.textEnd;return n===t?-1:(t=Zi.keyEnd=function lC(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Zi.key=t,n),gc(e,t,n))}function gc(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function um(e,t){return function wa(e,t,n,o){const s=D(),l=T(),h=Mi(2);l.firstUpdatePass&&yv(l,e,h,o),t!==Hn&&Sr(s,h,t)&&wv(l,l.data[_i()],s,s[B],e,s[h+1]=function vC(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=ye(Zs(e)))),e}(t,n),o,h)}(e,t,null,!0),um}function _v(e){ba(p,$a,e,!0)}function $a(e,t){for(let n=function sC(e){return function fv(e){Zi.key=0,Zi.keyEnd=0,Zi.value=0,Zi.valueEnd=0,Zi.textEnd=e.length}(e),dv(e,gc(e,0,Zi.textEnd))}(t);n>=0;n=dv(t,n))p(e,cv(t),!0)}function ba(e,t,n,o){const s=T(),l=Mi(2);s.firstUpdatePass&&yv(s,null,l,o);const h=D();if(n!==Hn&&Sr(h,l,n)){const y=s.data[_i()];if(Ev(y,o)&&!vv(s,l)){let E=o?y.classesWithoutHost:y.stylesWithoutHost;null!==E&&(n=Oe(E,n||"")),nm(s,y,h,n,o)}else!function _C(e,t,n,o,s,l,h,y){s===Hn&&(s=Pt);let E=0,x=0,W=0<s.length?s[0]:null,ue=0<l.length?l[0]:null;for(;null!==W||null!==ue;){const Re=E<s.length?s[E+1]:void 0,We=x<l.length?l[x+1]:void 0;let Tt,ht=null;W===ue?(E+=2,x+=2,Re!==We&&(ht=ue,Tt=We)):null===ue||null!==W&&W<ue?(E+=2,ht=W):(x+=2,ht=ue,Tt=We),null!==ht&&wv(e,t,n,o,ht,Tt,h,y),W=E<s.length?s[E]:null,ue=x<l.length?l[x]:null}}(s,y,h,h[B],h[l+1],h[l+1]=function mC(e,t,n){if(null==n||""===n)return Pt;const o=[],s=Zs(n);if(Array.isArray(s))for(let l=0;l<s.length;l++)e(o,s[l],!0);else if("object"==typeof s)for(const l in s)s.hasOwnProperty(l)&&e(o,l,s[l]);else"string"==typeof s&&t(o,s);return o}(e,t,n),o,l)}}function vv(e,t){return t>=e.expandoStartIndex}function yv(e,t,n,o){const s=e.data;if(null===s[n+1]){const l=s[_i()],h=vv(e,n);Ev(l,o)&&null===t&&!h&&(t=!1),t=function hC(e,t,n,o){const s=function cs(e){const t=wn.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let l=o?t.residualClasses:t.residualStyles;if(null===s)0===(o?t.classBindings:t.styleBindings)&&(n=Nd(n=cm(null,e,t,n,o),t.attrs,o),l=null);else{const h=t.directiveStylingLast;if(-1===h||e[h]!==s)if(n=cm(s,e,t,n,o),null===l){let E=function fC(e,t,n){const o=n?t.classBindings:t.styleBindings;if(0!==yi(o))return e[ss(o)]}(e,t,o);void 0!==E&&Array.isArray(E)&&(E=cm(null,e,t,E[1],o),E=Nd(E,t.attrs,o),function pC(e,t,n,o){e[ss(n?t.classBindings:t.styleBindings)]=o}(e,t,o,E))}else l=function gC(e,t,n){let o;const s=t.directiveEnd;for(let l=1+t.directiveStylingLast;l<s;l++)o=Nd(o,e[l].hostAttrs,n);return Nd(o,t.attrs,n)}(e,t,o)}return void 0!==l&&(o?t.residualClasses=l:t.residualStyles=l),n}(s,l,t,o),function nC(e,t,n,o,s,l){let h=l?t.classBindings:t.styleBindings,y=ss(h),E=yi(h);e[o]=n;let W,x=!1;if(Array.isArray(n)){const ue=n;W=ue[1],(null===W||f(ue,W)>0)&&(x=!0)}else W=n;if(s)if(0!==E){const Re=ss(e[y+1]);e[o+1]=zu(Re,y),0!==Re&&(e[Re+1]=Yu(e[Re+1],o)),e[y+1]=function Zn(e,t){return 131071&e|t<<17}(e[y+1],o)}else e[o+1]=zu(y,0),0!==y&&(e[y+1]=Yu(e[y+1],o)),y=o;else e[o+1]=zu(E,0),0===y?y=o:e[E+1]=Yu(e[E+1],o),E=o;x&&(e[o+1]=Wu(e[o+1])),uv(e,W,o,!0),uv(e,W,o,!1),function rC(e,t,n,o,s){const l=s?e.residualClasses:e.residualStyles;null!=l&&"string"==typeof t&&f(l,t)>=0&&(n[o+1]=_r(n[o+1]))}(t,W,e,o,l),h=zu(y,E),l?t.classBindings=h:t.styleBindings=h}(s,l,t,n,h,o)}}function cm(e,t,n,o,s){let l=null;const h=n.directiveEnd;let y=n.directiveStylingLast;for(-1===y?y=n.directiveStart:y++;y<h&&(l=t[y],o=Nd(o,l.hostAttrs,s),l!==e);)y++;return null!==e&&(n.directiveStylingLast=y),o}function Nd(e,t,n){const o=n?1:2;let s=-1;if(null!==t)for(let l=0;l<t.length;l++){const h=t[l];"number"==typeof h?s=h:s===o&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),p(e,h,!!n||t[++l]))}return void 0===e?null:e}function wv(e,t,n,o,s,l,h,y){if(!(3&t.type))return;const E=e.data,x=E[y+1];kf(function sf(e){return 1==(1&e)}(x)?bv(E,t,n,s,yi(x),h):void 0)||(kf(l)||function Qs(e){return 2==(2&e)}(x)&&(l=bv(E,null,n,s,y,h)),function no(e,t,n,o,s){if(t)s?e.addClass(n,o):e.removeClass(n,o);else{let l=-1===o.indexOf("-")?void 0:yo.DashCase;null==s?e.removeStyle(n,o,l):("string"==typeof s&&s.endsWith("!important")&&(s=s.slice(0,-10),l|=yo.Important),e.setStyle(n,o,s,l))}}(o,h,Ei(_i(),n),s,l))}function bv(e,t,n,o,s,l){const h=null===t;let y;for(;s>0;){const E=e[s],x=Array.isArray(E),W=x?E[1]:E,ue=null===W;let Re=n[s+1];Re===Hn&&(Re=ue?Pt:void 0);let We=ue?m(Re,o):W===o?Re:void 0;if(x&&!kf(We)&&(We=m(E,o)),kf(We)&&(y=We,h))return y;const ht=e[s+1];s=h?ss(ht):yi(ht)}if(null!==t){let E=l?t.residualClasses:t.residualStyles;null!=E&&(y=m(E,o))}return y}function kf(e){return void 0!==e}function Ev(e,t){return 0!=(e.flags&(t?16:32))}function Dv(e,t=""){const n=D(),o=T(),s=e+22,l=o.firstCreatePass?sl(o,s,1,t,null):o.data[s],h=n[s]=function Au(e,t){return e.createText(t)}(n[B],t);Ml(o,n,h,l),Or(l,!1)}function dm(e){return Lf("",e,""),dm}function Lf(e,t,n){const o=D(),s=ac(o,e,t,n);return s!==Hn&&function Ca(e,t,n){const o=Ei(t,e);!function ih(e,t,n){e.setValue(t,n)}(e[B],o,n)}(o,_i(),s),Lf}function Rv(e,t,n){ba(p,$a,ac(D(),e,t,n),!0)}const gu=void 0;var LC=["en",[["a","p"],["AM","PM"],gu],[["AM","PM"],gu,gu],[["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"]],gu,[["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"]],gu,[["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}",gu,"{1} 'at' {0}",gu],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function kC(e){const n=Math.floor(Math.abs(e)),o=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===o?1:5}];let mc={};function hm(e){const t=function BC(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Wv(t);if(n)return n;const o=t.split("-")[0];if(n=Wv(o),n)return n;if("en"===o)return LC;throw new tt(701,!1)}function zv(e){return hm(e)[An.PluralCase]}function Wv(e){return e in mc||(mc[e]=Mt.ng&&Mt.ng.common&&Mt.ng.common.locales&&Mt.ng.common.locales[e]),mc[e]}var An=(()=>((An=An||{})[An.LocaleId=0]="LocaleId",An[An.DayPeriodsFormat=1]="DayPeriodsFormat",An[An.DayPeriodsStandalone=2]="DayPeriodsStandalone",An[An.DaysFormat=3]="DaysFormat",An[An.DaysStandalone=4]="DaysStandalone",An[An.MonthsFormat=5]="MonthsFormat",An[An.MonthsStandalone=6]="MonthsStandalone",An[An.Eras=7]="Eras",An[An.FirstDayOfWeek=8]="FirstDayOfWeek",An[An.WeekendRange=9]="WeekendRange",An[An.DateFormat=10]="DateFormat",An[An.TimeFormat=11]="TimeFormat",An[An.DateTimeFormat=12]="DateTimeFormat",An[An.NumberSymbols=13]="NumberSymbols",An[An.NumberFormats=14]="NumberFormats",An[An.CurrencyCode=15]="CurrencyCode",An[An.CurrencySymbol=16]="CurrencySymbol",An[An.CurrencyName=17]="CurrencyName",An[An.Currencies=18]="Currencies",An[An.Directionality=19]="Directionality",An[An.PluralCase=20]="PluralCase",An[An.ExtraData=21]="ExtraData",An))();const _c="en-US";let Yv=_c;function gm(e,t,n,o,s){if(e=ke(e),Array.isArray(e))for(let l=0;l<e.length;l++)gm(e[l],t,n,o,s);else{const l=T(),h=D();let y=il(e)?e:ke(e.provide),E=Vh(e);const x=Qe(),W=1048575&x.providerIndexes,ue=x.directiveStart,Re=x.providerIndexes>>20;if(il(e)||!e.multi){const We=new Oo(E,s,Ll),ht=_m(y,t,s?W:W+Re,ue);-1===ht?(Pa(Rs(x,h),l,y),mm(l,e,t.length),t.push(y),x.directiveStart++,x.directiveEnd++,s&&(x.providerIndexes+=1048576),n.push(We),h.push(We)):(n[ht]=We,h[ht]=We)}else{const We=_m(y,t,W+Re,ue),ht=_m(y,t,W,W+Re),Tt=We>=0&&n[We],Bt=ht>=0&&n[ht];if(s&&!Bt||!s&&!Tt){Pa(Rs(x,h),l,y);const tn=function Nw(e,t,n,o,s){const l=new Oo(e,n,Ll);return l.multi=[],l.index=t,l.componentProviders=0,vy(l,s,o&&!n),l}(s?Fw:Rw,n.length,s,o,E);!s&&Bt&&(n[ht].providerFactory=tn),mm(l,e,t.length,0),t.push(y),x.directiveStart++,x.directiveEnd++,s&&(x.providerIndexes+=1048576),n.push(tn),h.push(tn)}else mm(l,e,We>-1?We:ht,vy(n[s?ht:We],E,!s&&o));!s&&o&&Bt&&n[ht].componentProviders++}}}function mm(e,t,n,o){const s=il(t),l=function Tp(e){return!!e.useClass}(t);if(s||l){const E=(l?ke(t.useClass):t).prototype.ngOnDestroy;if(E){const x=e.destroyHooks||(e.destroyHooks=[]);if(!s&&t.multi){const W=x.indexOf(n);-1===W?x.push(n,[o,E]):x[W+1].push(o,E)}else x.push(n,E)}}}function vy(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function _m(e,t,n,o){for(let s=n;s<o;s++)if(t[s]===e)return s;return-1}function Rw(e,t,n,o){return vm(this.multi,[])}function Fw(e,t,n,o){const s=this.multi;let l;if(this.providerFactory){const h=this.providerFactory.componentProviders,y=Ao(n,n[1],this.providerFactory.index,o);l=y.slice(0,h),vm(s,l);for(let E=h;E<y.length;E++)l.push(y[E])}else l=[],vm(s,l);return l}function vm(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function yy(e,t=[]){return n=>{n.providersResolver=(o,s)=>function Iw(e,t,n){const o=T();if(o.firstCreatePass){const s=Lr(e);gm(n,o.data,o.blueprint,s,!0),gm(t,o.data,o.blueprint,s,!1)}}(o,s?s(e):e,t)}}class vc{}class Cy{}function kw(e,t){return new wy(e,t??null)}class wy extends vc{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Fd(this);const o=U(t);this._bootstrapComponents=_a(o.bootstrap),this._r3Injector=Jh(t,n,[{provide:vc,useValue:this},{provide:lu,useValue:this.componentFactoryResolver}],ye(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 ym extends Cy{constructor(t){super(),this.moduleType=t}create(t){return new wy(this.moduleType,t)}}class Lw extends vc{constructor(t,n,o){super(),this.componentFactoryResolver=new Fd(this),this.instance=null;const s=new Bh([...t,{provide:vc,useValue:this},{provide:lu,useValue:this.componentFactoryResolver}],n||Al(),o,new Set(["environment"]));this.injector=s,s.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Cm(e,t,n=null){return new Lw(e,t,n).injector}let Bw=(()=>{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 o=Fh(0,n.type),s=o.length>0?Cm([o],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n.id,s)}return this.cachedInjectors.get(n.id)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return e.ɵprov=er({token:e,providedIn:"environment",factory:()=>new e(ln(Va))}),e})();function by(e){e.getStandaloneInjector=t=>t.get(Bw).getOrCreateStandaloneInjector(e)}function Oy(e,t,n,o){return function Ry(e,t,n,o,s,l){const h=t+n;return Sr(e,h,s)?jn(e,h+1,l?o.call(l,s):o(s)):Ud(e,h+1)}(D(),hi(),e,t,n,o)}function Ay(e,t,n,o,s){return function Fy(e,t,n,o,s,l,h){const y=t+n;return Oi(e,y,s,l)?jn(e,y+2,h?o.call(h,s,l):o(s,l)):Ud(e,y+2)}(D(),hi(),e,t,n,o,s)}function xy(e,t,n,o,s,l){return function Ny(e,t,n,o,s,l,h,y){const E=t+n;return function Xr(e,t,n,o,s){const l=Oi(e,t,n,o);return Sr(e,t+2,s)||l}(e,E,s,l,h)?jn(e,E+3,y?o.call(y,s,l,h):o(s,l,h)):Ud(e,E+3)}(D(),hi(),e,t,n,o,s,l)}function Iy(e,t,n,o,s,l,h){return function ky(e,t,n,o,s,l,h,y,E){const x=t+n;return function ai(e,t,n,o,s,l){const h=Oi(e,t,n,o);return Oi(e,t+2,s,l)||h}(e,x,s,l,h,y)?jn(e,x+4,E?o.call(E,s,l,h,y):o(s,l,h,y)):Ud(e,x+4)}(D(),hi(),e,t,n,o,s,l,h)}function Ud(e,t){const n=e[t];return n===Hn?void 0:n}function bm(e){return t=>{setTimeout(e,void 0,t)}}const Ga=class sb extends r.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,o){let s=t,l=n||(()=>null),h=o;if(t&&"object"==typeof t){const E=t;s=E.next?.bind(E),l=E.error?.bind(E),h=E.complete?.bind(E)}this.__isAsync&&(l=bm(l),s&&(s=bm(s)),h&&(h=bm(h)));const y=super.subscribe({next:s,error:l,complete:h});return t instanceof v.w0&&t.add(y),y}};function ab(){return this._results[wt()]()}class Em{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=wt(),o=Em.prototype;o[n]||(o[n]=ab)}get changes(){return this._changes||(this._changes=new Ga)}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 o=this;o.dirty=!1;const s=zr(t);(this._changesDetected=!function yl(e,t,n){if(e.length!==t.length)return!1;for(let o=0;o<e.length;o++){let s=e[o],l=t[o];if(n&&(s=n(s),l=n(l)),l!==s)return!1}return!0}(o._results,s,n))&&(o._results=s,o.length=s.length,o.last=s[this.length-1],o.first=s[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let $d=(()=>{class e{}return e.__NG_ELEMENT_ID__=cb,e})();const lb=$d,ub=class extends lb{constructor(t,n,o){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=o}createEmbeddedView(t,n){const o=this._declarationTContainer.tViews,s=Ju(this._declarationLView,o,t,16,null,o.declTNode,null,null,null,null,n||null);s[17]=this._declarationLView[this._declarationTContainer.index];const h=this._declarationLView[19];return null!==h&&(s[19]=h.createEmbeddedView(o)),wd(o,s,t),new fu(s)}};function cb(){return jf(Qe(),D())}function jf(e,t){return 4&e.type?new ub(t,e,Rl(e,t)):null}let $f=(()=>{class e{}return e.__NG_ELEMENT_ID__=db,e})();function db(){return Hy(Qe(),D())}const hb=$f,By=class extends hb{constructor(t,n,o){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=o}get element(){return Rl(this._hostTNode,this._hostLView)}get injector(){return new Mr(this._hostTNode,this._hostLView)}get parentInjector(){const t=Fs(this._hostTNode,this._hostLView);if(hr(t)){const n=pi(t,this._hostLView),o=Fr(t);return new Mr(n[1].data[o+8],n)}return new Mr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Vy(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,o){let s,l;"number"==typeof o?s=o:null!=o&&(s=o.index,l=o.injector);const h=t.createEmbeddedView(n||{},l);return this.insert(h,s),h}createComponent(t,n,o,s,l){const h=t&&!function Xo(e){return"function"==typeof e}(t);let y;if(h)y=n;else{const ue=n||{};y=ue.index,o=ue.injector,s=ue.projectableNodes,l=ue.environmentInjector||ue.ngModuleRef}const E=h?t:new pu(Qt(t)),x=o||this.parentInjector;if(!l&&null==E.ngModule){const Re=(h?x:this.parentInjector).get(Va,null);Re&&(l=Re)}const W=E.create(x,s,void 0,l);return this.insert(W.hostView,y),W}insert(t,n){const o=t._lView,s=o[1];if(function Mo(e){return qr(e[3])}(o)){const W=this.indexOf(t);if(-1!==W)this.detach(W);else{const ue=o[3],Re=new By(ue,ue[6],ue[3]);Re.detach(Re.indexOf(t))}}const l=this._adjustIndex(n),h=this._lContainer;!function xu(e,t,n,o){const s=10+o,l=n.length;o>0&&(n[s-1][4]=t),o<l-10?(t[4]=n[s],$l(n,10+o,t)):(n.push(t),t[4]=null),t[3]=n;const h=t[17];null!==h&&n!==h&&function lh(e,t){const n=e[9];t[w]!==t[3][3][w]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(h,t);const y=t[19];null!==y&&y.insertView(e),t[2]|=64}(s,o,h,l);const y=Mn(l,h),E=o[B],x=Fu(E,h[7]);return null!==x&&function sp(e,t,n,o,s,l){o[0]=s,o[6]=t,vs(e,o,n,1,s,l)}(s,h[6],E,o,x,y),t.attachToViewContainerRef(),$l(Dm(h),l,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Vy(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),o=Jl(this._lContainer,n);o&&(Ja(Dm(this._lContainer),n),Xl(o[1],o))}detach(t){const n=this._adjustIndex(t,-1),o=Jl(this._lContainer,n);return o&&null!=Ja(Dm(this._lContainer),n)?new fu(o):null}_adjustIndex(t,n=0){return t??this.length+n}};function Vy(e){return e[8]}function Dm(e){return e[8]||(e[8]=[])}function Hy(e,t){let n;const o=t[e.index];if(qr(o))n=o;else{let s;if(8&e.type)s=mr(o);else{const l=t[B];s=l.createComment("");const h=dr(e,t);el(l,Fu(l,h),s,function dh(e,t){return e.nextSibling(t)}(l,h),!1)}t[e.index]=n=Mf(o,t,s,e),tc(t,n)}return new By(n,e,t)}class Mm{constructor(t){this.queryList=t,this.matches=null}clone(){return new Mm(this.queryList)}setDirty(){this.queryList.setDirty()}}class Sm{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const o=null!==t.contentQueries?t.contentQueries[0]:n.length,s=[];for(let l=0;l<o;l++){const h=n.getByIndex(l);s.push(this.queries[h.indexInDeclarationView].clone())}return new Sm(s)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==Ky(t,n).matches&&this.queries[n].setDirty()}}class Uy{constructor(t,n,o=null){this.predicate=t,this.flags=n,this.read=o}}class Tm{constructor(t=[]){this.queries=t}elementStart(t,n){for(let o=0;o<this.queries.length;o++)this.queries[o].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 o=0;o<this.length;o++){const s=null!==n?n.length:0,l=this.getByIndex(o).embeddedTView(t,s);l&&(l.indexInDeclarationView=o,null!==n?n.push(l):n=[l])}return null!==n?new Tm(n):null}template(t,n){for(let o=0;o<this.queries.length;o++)this.queries[o].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class Pm{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 Pm(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let o=t.parent;for(;null!==o&&8&o.type&&o.index!==n;)o=o.parent;return n===(null!==o?o.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const o=this.metadata.predicate;if(Array.isArray(o))for(let s=0;s<o.length;s++){const l=o[s];this.matchTNodeWithReadOption(t,n,gb(n,l)),this.matchTNodeWithReadOption(t,n,ks(n,t,l,!1,!1))}else o===$d?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,ks(n,t,o,!1,!1))}matchTNodeWithReadOption(t,n,o){if(null!==o){const s=this.metadata.read;if(null!==s)if(s===uu||s===$f||s===$d&&4&n.type)this.addMatch(n.index,-2);else{const l=ks(n,t,s,!1,!1);null!==l&&this.addMatch(n.index,l)}else this.addMatch(n.index,o)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function gb(e,t){const n=e.localNames;if(null!==n)for(let o=0;o<n.length;o+=2)if(n[o]===t)return n[o+1];return null}function _b(e,t,n,o){return-1===n?function mb(e,t){return 11&e.type?Rl(e,t):4&e.type?jf(e,t):null}(t,e):-2===n?function vb(e,t,n){return n===uu?Rl(t,e):n===$d?jf(t,e):n===$f?Hy(t,e):void 0}(e,t,o):Ao(e,e[1],n,t)}function jy(e,t,n,o){const s=t[19].queries[o];if(null===s.matches){const l=e.data,h=n.matches,y=[];for(let E=0;E<h.length;E+=2){const x=h[E];y.push(x<0?null:_b(t,l[x],h[E+1],n.metadata.read))}s.matches=y}return s.matches}function Om(e,t,n,o){const s=e.queries.getByIndex(n),l=s.matches;if(null!==l){const h=jy(e,t,s,n);for(let y=0;y<l.length;y+=2){const E=l[y];if(E>0)o.push(h[y/2]);else{const x=l[y+1],W=t[-E];for(let ue=10;ue<W.length;ue++){const Re=W[ue];Re[17]===Re[3]&&Om(Re[1],Re,x,o)}if(null!==W[9]){const ue=W[9];for(let Re=0;Re<ue.length;Re++){const We=ue[Re];Om(We[1],We,x,o)}}}}}return o}function $y(e){const t=D(),n=T(),o=Qi();ds(o+1);const s=Ky(n,o);if(e.dirty&&function Vr(e){return 4==(4&e[2])}(t)===(2==(2&s.metadata.flags))){if(null===s.matches)e.reset([]);else{const l=s.crossesNgTemplate?Om(n,t,o,[]):jy(n,t,s,o);e.reset(l,Bp),e.notifyOnChanges()}return!0}return!1}function Gy(e,t,n){const o=T();o.firstCreatePass&&(Zy(o,new Uy(e,t,n),-1),2==(2&t)&&(o.staticViewQueries=!0)),Yy(o,D(),t)}function zy(e,t,n,o){const s=T();if(s.firstCreatePass){const l=Qe();Zy(s,new Uy(t,n,o),l.index),function Cb(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(s,e),2==(2&n)&&(s.staticContentQueries=!0)}Yy(s,D(),n)}function Wy(){return function yb(e,t){return e[19].queries[t].queryList}(D(),Qi())}function Yy(e,t,n){const o=new Em(4==(4&n));mf(e,t,o,o.destroy),null===t[19]&&(t[19]=new Sm),t[19].queries.push(new Mm(o))}function Zy(e,t,n){null===e.queries&&(e.queries=new Tm),e.queries.track(new Pm(t,n))}function Ky(e,t){return e.queries.getByIndex(t)}function qy(e,t){return jf(e,t)}function zf(...e){}const m0=new Yt("Application Initializer");let Wf=(()=>{class e{constructor(n){this.appInits=n,this.resolve=zf,this.reject=zf,this.initialized=!1,this.done=!1,this.donePromise=new Promise(((o,s)=>{this.resolve=o,this.reject=s}))}runInitializers(){if(this.initialized)return;const n=[],o=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let s=0;s<this.appInits.length;s++){const l=this.appInits[s]();if(om(l))n.push(l);else if(Z_(l)){const h=new Promise(((y,E)=>{l.subscribe({complete:y,error:E})}));n.push(h)}}Promise.all(n).then((()=>{o()})).catch((s=>{this.reject(s)})),0===n.length&&o(),this.initialized=!0}}return e.ɵfac=function(n){return new(n||e)(ln(m0,8))},e.ɵprov=er({token:e,factory:e.ɵfac,providedIn:"root"}),e})();const _0=new Yt("AppId",{providedIn:"root",factory:function v0(){return`${Fm()}${Fm()}${Fm()}`}});function Fm(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const y0=new Yt("Platform Initializer"),Hb=new Yt("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),C0=new Yt("appBootstrapListener"),Ub=new Yt("AnimationModuleType");let jb=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.ɵfac=function(n){return new(n||e)},e.ɵprov=er({token:e,factory:e.ɵfac,providedIn:"platform"}),e})();const Yf=new Yt("LocaleId",{providedIn:"root",factory:()=>Rn(Yf,je.Optional|je.SkipSelf)||function $b(){return typeof $localize<"u"&&$localize.locale||_c}()}),Gb=new Yt("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class zb{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let Wb=(()=>{class e{compileModuleSync(n){return new ym(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const o=this.compileModuleSync(n),l=_a(U(n).declarations).reduce(((h,y)=>{const E=Qt(y);return E&&h.push(new pu(E)),h}),[]);return new zb(o,l)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.ɵfac=function(n){return new(n||e)},e.ɵprov=er({token:e,factory:e.ɵfac,providedIn:"root"}),e})();const Kb=(()=>Promise.resolve(0))();function Nm(e){typeof Zone>"u"?Kb.then((()=>{e&&e.apply(null,null)})):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Js{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:o=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ga(!1),this.onMicrotaskEmpty=new Ga(!1),this.onStable=new Ga(!1),this.onError=new Ga(!1),typeof Zone>"u")throw new tt(908,!1);Zone.assertZonePatched();const s=this;if(s._nesting=0,s._outer=s._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const l=Zone.AsyncStackTaggingZoneSpec;s._inner=s._inner.fork(new l("Angular"))}Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&n,s.shouldCoalesceRunChangeDetection=o,s.lastRequestAnimationFrameId=-1,s.nativeRequestAnimationFrame=function qb(){let e=Mt.requestAnimationFrame,t=Mt.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const o=t[Zone.__symbol__("OriginalDelegate")];o&&(t=o)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function Xb(e){const t=()=>{!function Jb(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Mt,(()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",(()=>{e.lastRequestAnimationFrameId=-1,Lm(e),e.isCheckStableRunning=!0,km(e),e.isCheckStableRunning=!1}),void 0,(()=>{}),(()=>{}))),e.fakeTopEventTask.invoke()})),Lm(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,o,s,l,h,y)=>{try{return E0(e),n.invokeTask(s,l,h,y)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===l.type||e.shouldCoalesceRunChangeDetection)&&t(),D0(e)}},onInvoke:(n,o,s,l,h,y,E)=>{try{return E0(e),n.invoke(s,l,h,y,E)}finally{e.shouldCoalesceRunChangeDetection&&t(),D0(e)}},onHasTask:(n,o,s,l)=>{n.hasTask(s,l),o===s&&("microTask"==l.change?(e._hasPendingMicrotasks=l.microTask,Lm(e),km(e)):"macroTask"==l.change&&(e.hasPendingMacrotasks=l.macroTask))},onHandleError:(n,o,s,l)=>(n.handleError(s,l),e.runOutsideAngular((()=>e.onError.emit(l))),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Js.isInAngularZone())throw new tt(909,!1)}static assertNotInAngularZone(){if(Js.isInAngularZone())throw new tt(909,!1)}run(t,n,o){return this._inner.run(t,n,o)}runTask(t,n,o,s){const l=this._inner,h=l.scheduleEventTask("NgZoneEvent: "+s,t,Qb,zf,zf);try{return l.runTask(h,n,o)}finally{l.cancelTask(h)}}runGuarded(t,n,o){return this._inner.runGuarded(t,n,o)}runOutsideAngular(t){return this._outer.run(t)}}const Qb={};function km(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 Lm(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function E0(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function D0(e){e._nesting--,km(e)}class eE{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ga,this.onMicrotaskEmpty=new Ga,this.onStable=new Ga,this.onError=new Ga}run(t,n,o){return t.apply(n,o)}runGuarded(t,n,o){return t.apply(n,o)}runOutsideAngular(t){return t()}runTask(t,n,o,s){return t.apply(n,o)}}const M0=new Yt(""),S0=new Yt("");let Bm,tE=(()=>{class e{constructor(n,o,s){this._ngZone=n,this.registry=o,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Bm||(function nE(e){Bm=e}(s),s.addToWindow(o)),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:()=>{Js.assertNotInAngularZone(),Nm((()=>{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())Nm((()=>{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((o=>!o.updateCb||!o.updateCb(n)||(clearTimeout(o.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,o,s){let l=-1;o&&o>0&&(l=setTimeout((()=>{this._callbacks=this._callbacks.filter((h=>h.timeoutId!==l)),n(this._didWork,this.getPendingTasks())}),o)),this._callbacks.push({doneCb:n,timeoutId:l,updateCb:s})}whenStable(n,o,s){if(s&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,o,s),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,o,s){return[]}}return e.ɵfac=function(n){return new(n||e)(ln(Js),ln(T0),ln(S0))},e.ɵprov=er({token:e,factory:e.ɵfac}),e})(),T0=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,o){this._applications.set(n,o)}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,o=!0){return Bm?.findTestabilityInTree(this,n,o)??null}}return e.ɵfac=function(n){return new(n||e)},e.ɵprov=er({token:e,factory:e.ɵfac,providedIn:"platform"}),e})(),Hl=null;const P0=new Yt("AllowMultipleToken"),Vm=new Yt("PlatformDestroyListeners");class oE{constructor(t,n){this.name=t,this.token=n}}function A0(e,t,n=[]){const o=`Platform: ${t}`,s=new Yt(o);return(l=[])=>{let h=Hm();if(!h||h.injector.get(P0,!1)){const y=[...n,...l,{provide:s,useValue:!0}];e?e(y):function sE(e){if(Hl&&!Hl.get(P0,!1))throw new tt(400,!1);Hl=e;const t=e.get(I0);(function O0(e){const t=e.get(y0,null);t&&t.forEach((n=>n()))})(e)}(function x0(e=[],t){return vi.create({name:t,providers:[{provide:Qc,useValue:"platform"},{provide:Vm,useValue:new Set([()=>Hl=null])},...e]})}(y,o))}return function lE(e){const t=Hm();if(!t)throw new tt(401,!1);return t}()}}function Hm(){return Hl?.get(I0)??null}let I0=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,o){const s=function F0(e,t){let n;return n="noop"===e?new eE:("zone.js"===e?void 0:e)||new Js(t),n}(o?.ngZone,function R0(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(o)),l=[{provide:Js,useValue:s}];return s.run((()=>{const h=vi.create({providers:l,parent:this.injector,name:n.moduleType.name}),y=n.create(h),E=y.injector.get(Ha,null);if(!E)throw new tt(402,!1);return s.runOutsideAngular((()=>{const x=s.onError.subscribe({next:W=>{E.handleError(W)}});y.onDestroy((()=>{Kf(this._modules,y),x.unsubscribe()}))})),function N0(e,t,n){try{const o=n();return om(o)?o.catch((s=>{throw t.runOutsideAngular((()=>e.handleError(s))),s})):o}catch(o){throw t.runOutsideAngular((()=>e.handleError(o))),o}}(E,s,(()=>{const x=y.injector.get(Wf);return x.runInitializers(),x.donePromise.then((()=>(function Zv(e){Pn(e,"Expected localeId to be defined"),"string"==typeof e&&(Yv=e.toLowerCase().replace(/_/g,"-"))}(y.injector.get(Yf,_c)||_c),this._moduleDoBootstrap(y),y)))}))}))}bootstrapModule(n,o=[]){const s=k0({},o);return function rE(e,t,n){const o=new ym(n);return Promise.resolve(o)}(0,0,n).then((l=>this.bootstrapModuleFactory(l,s)))}_moduleDoBootstrap(n){const o=n.injector.get(Zf);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach((s=>o.bootstrap(s)));else{if(!n.instance.ngDoBootstrap)throw new tt(403,!1);n.instance.ngDoBootstrap(o)}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((o=>o.destroy())),this._destroyListeners.forEach((o=>o()));const n=this._injector.get(Vm,null);n&&(n.forEach((o=>o())),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.ɵfac=function(n){return new(n||e)(ln(vi))},e.ɵprov=er({token:e,factory:e.ɵfac,providedIn:"platform"}),e})();function k0(e,t){return Array.isArray(t)?t.reduce(k0,e):{...e,...t}}let Zf=(()=>{class e{constructor(n,o,s){this._zone=n,this._injector=o,this._exceptionHandler=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run((()=>{this.tick()}))}});const l=new G.y((y=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular((()=>{y.next(this._stable),y.complete()}))})),h=new G.y((y=>{let E;this._zone.runOutsideAngular((()=>{E=this._zone.onStable.subscribe((()=>{Js.assertNotInAngularZone(),Nm((()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,y.next(!0))}))}))}));const x=this._zone.onUnstable.subscribe((()=>{Js.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular((()=>{y.next(!1)})))}));return()=>{E.unsubscribe(),x.unsubscribe()}}));this.isStable=(0,Q.T)(l,h.pipe(function ve(e={}){const{connector:t=(()=>new r.x),resetOnError:n=!0,resetOnComplete:o=!0,resetOnRefCountZero:s=!0}=e;return l=>{let h=null,y=null,E=null,x=0,W=!1,ue=!1;const Re=()=>{y?.unsubscribe(),y=null},We=()=>{Re(),h=E=null,W=ue=!1},ht=()=>{const Tt=h;We(),Tt?.unsubscribe()};return(0,pe.e)(((Tt,Bt)=>{x++,!ue&&!W&&Re();const tn=E=E??t();Bt.add((()=>{x--,0===x&&!ue&&!W&&(y=H(ht,s))})),tn.subscribe(Bt),h||(h=new ae.Hp({next:hn=>tn.next(hn),error:hn=>{ue=!0,Re(),y=H(We,n,hn),tn.error(hn)},complete:()=>{W=!0,Re(),y=H(We,o),tn.complete()}}),(0,ee.D)(Tt).subscribe(h))}))(l)}}()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,o){const s=n instanceof Uh;if(!this._injector.get(Wf).done)throw!s&&X(n),new tt(405,false);let h;h=s?n:this._injector.get(lu).resolveComponentFactory(n),this.componentTypes.push(h.componentType);const y=function iE(e){return e.isBoundToModule}(h)?void 0:this._injector.get(vc),x=h.create(vi.NULL,[],o||h.selector,y),W=x.location.nativeElement,ue=x.injector.get(M0,null);return ue?.registerApplication(W),x.onDestroy((()=>{this.detachView(x.hostView),Kf(this.components,x),ue?.unregisterApplication(W)})),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 o=n;this._views.push(o),o.attachToAppRef(this)}detachView(n){const o=n;Kf(this._views,o),o.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(C0,[]).concat(this._bootstrapListeners).forEach((s=>s(n)))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach((n=>n())),this._views.slice().forEach((n=>n.destroy())),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Kf(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)(ln(Js),ln(Va),ln(Ha))},e.ɵprov=er({token:e,factory:e.ɵfac,providedIn:"root"}),e})();function Kf(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let B0=!0,V0=!1;function cE(){return V0=!0,B0}function dE(){if(V0)throw new Error("Cannot enable prod mode after platform setup.");B0=!1}let hE=(()=>{class e{}return e.__NG_ELEMENT_ID__=fE,e})();function fE(e){return function pE(e,t,n){if(Hr(e)&&!n){const o=Ur(e.index,t);return new fu(o,o)}return 47&e.type?new fu(t[w],t):null}(Qe(),D(),16==(16&e))}class $0{constructor(){}supports(t){return sn(t)}create(t){return new CE(t)}}const yE=(e,t)=>t;class CE{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||yE}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,o=this._removalsHead,s=0,l=null;for(;n||o;){const h=!o||n&&n.currentIndex<z0(o,s,l)?n:o,y=z0(h,s,l),E=h.currentIndex;if(h===o)s--,o=o._nextRemoved;else if(n=n._next,null==h.previousIndex)s++;else{l||(l=[]);const x=y-s,W=E-s;if(x!=W){for(let Re=0;Re<x;Re++){const We=Re<l.length?l[Re]:l[Re]=0,ht=We+Re;W<=ht&&ht<x&&(l[Re]=We+1)}l[h.previousIndex]=W-x}}y!==E&&t(h,y,E)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!sn(t))throw new tt(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let s,l,h,n=this._itHead,o=!1;if(Array.isArray(t)){this.length=t.length;for(let y=0;y<this.length;y++)l=t[y],h=this._trackByFn(y,l),null!==n&&Object.is(n.trackById,h)?(o&&(n=this._verifyReinsertion(n,l,h,y)),Object.is(n.item,l)||this._addIdentityChange(n,l)):(n=this._mismatch(n,l,h,y),o=!0),n=n._next}else s=0,function Xn(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[wt()]();let o;for(;!(o=n.next()).done;)t(o.value)}}(t,(y=>{h=this._trackByFn(s,y),null!==n&&Object.is(n.trackById,h)?(o&&(n=this._verifyReinsertion(n,y,h,s)),Object.is(n.item,y)||this._addIdentityChange(n,y)):(n=this._mismatch(n,y,h,s),o=!0),n=n._next,s++})),this.length=s;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,o,s){let l;return null===t?l=this._itTail:(l=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(o,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,l,s)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(o,s))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,l,s)):t=this._addAfter(new wE(n,o),l,s),t}_verifyReinsertion(t,n,o,s){let l=null===this._unlinkedRecords?null:this._unlinkedRecords.get(o,null);return null!==l?t=this._reinsertAfter(l,t._prev,s):t.currentIndex!=s&&(t.currentIndex=s,this._addToMoves(t,s)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,o){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const s=t._prevRemoved,l=t._nextRemoved;return null===s?this._removalsHead=l:s._nextRemoved=l,null===l?this._removalsTail=s:l._prevRemoved=s,this._insertAfter(t,n,o),this._addToMoves(t,o),t}_moveAfter(t,n,o){return this._unlink(t),this._insertAfter(t,n,o),this._addToMoves(t,o),t}_addAfter(t,n,o){return this._insertAfter(t,n,o),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,o){const s=null===n?this._itHead:n._next;return t._next=s,t._prev=n,null===s?this._itTail=t:s._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new G0),this._linkedRecords.put(t),t.currentIndex=o,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,o=t._next;return null===n?this._itHead=o:n._next=o,null===o?this._itTail=n:o._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new G0),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class wE{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 bE{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 o;for(o=this._head;null!==o;o=o._nextDup)if((null===n||n<=o.currentIndex)&&Object.is(o.trackById,t))return o;return null}remove(t){const n=t._prevDup,o=t._nextDup;return null===n?this._head=o:n._nextDup=o,null===o?this._tail=n:o._prevDup=n,null===this._head}}class G0{constructor(){this.map=new Map}put(t){const n=t.trackById;let o=this.map.get(n);o||(o=new bE,this.map.set(n,o)),o.add(t)}get(t,n){const s=this.map.get(t);return s?s.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function z0(e,t,n){const o=e.previousIndex;if(null===o)return o;let s=0;return n&&o<n.length&&(s=n[o]),o+t+s}class W0{constructor(){}supports(t){return t instanceof Map||Sn(t)}create(){return new EE}}class EE{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||Sn(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,((o,s)=>{if(n&&n.key===s)this._maybeAddToChanges(n,o),this._appendAfter=n,n=n._next;else{const l=this._getOrCreateRecordForKey(s,o);n=this._insertBeforeOrAppend(n,l)}})),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let o=n;null!==o;o=o._nextRemoved)o===this._mapHead&&(this._mapHead=null),this._records.delete(o.key),o._nextRemoved=o._next,o.previousValue=o.currentValue,o.currentValue=null,o._prev=null,o._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const o=t._prev;return n._next=t,n._prev=o,t._prev=n,o&&(o._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const s=this._records.get(t);this._maybeAddToChanges(s,n);const l=s._prev,h=s._next;return l&&(l._next=h),h&&(h._prev=l),s._next=null,s._prev=null,s}const o=new DE(t);return this._records.set(t,o),o.currentValue=n,this._addToAdditions(o),o}_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((o=>n(t[o],o)))}}class DE{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Y0(){return new zm([new $0])}let zm=(()=>{class e{constructor(n){this.factories=n}static create(n,o){if(null!=o){const s=o.factories.slice();n=n.concat(s)}return new e(n)}static extend(n){return{provide:e,useFactory:o=>e.create(n,o||Y0()),deps:[[e,new to,new Ti]]}}find(n){const o=this.factories.find((s=>s.supports(n)));if(null!=o)return o;throw new tt(901,!1)}}return e.ɵprov=er({token:e,providedIn:"root",factory:Y0}),e})();function Z0(){return new Wm([new W0])}let Wm=(()=>{class e{constructor(n){this.factories=n}static create(n,o){if(o){const s=o.factories.slice();n=n.concat(s)}return new e(n)}static extend(n){return{provide:e,useFactory:o=>e.create(n,o||Z0()),deps:[[e,new to,new Ti]]}}find(n){const o=this.factories.find((s=>s.supports(n)));if(o)return o;throw new tt(901,!1)}}return e.ɵprov=er({token:e,providedIn:"root",factory:Z0}),e})();const TE=A0(null,"core",[]);let PE=(()=>{class e{constructor(n){}}return e.ɵfac=function(n){return new(n||e)(ln(Zf))},e.ɵmod=qn({type:e}),e.ɵinj=wr({}),e})();function OE(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}},4006:(He,ne,S)=>{"use strict";S.d(ne,{Cf:()=>Je,EJ:()=>Cn,F:()=>at,Fj:()=>Oe,JJ:()=>Wn,JL:()=>$r,JU:()=>pe,Kr:()=>Eo,On:()=>Hr,Wl:()=>H,YN:()=>Ss,_Y:()=>wi,kI:()=>nt,u5:()=>So,wV:()=>Pr});var r=S(1571),v=S(6895),G=S(2076),Q=S(4128),ee=S(4004);let de=(()=>{class D{constructor(P,Z){this._renderer=P,this._elementRef=Z,this.onChange=Qe=>{},this.onTouched=()=>{}}setProperty(P,Z){this._renderer.setProperty(this._elementRef.nativeElement,P,Z)}registerOnTouched(P){this.onTouched=P}registerOnChange(P){this.onChange=P}setDisabledState(P){this.setProperty("disabled",P)}}return D.ɵfac=function(P){return new(P||D)(r.Y36(r.Qsj),r.Y36(r.SBq))},D.ɵdir=r.lG2({type:D}),D})(),ae=(()=>{class D extends de{}return D.ɵfac=function(){let T;return function(Z){return(T||(T=r.n5z(D)))(Z||D)}}(),D.ɵdir=r.lG2({type:D,features:[r.qOj]}),D})();const pe=new r.OlP("NgValueAccessor"),ve={provide:pe,useExisting:(0,r.Gpc)((()=>H)),multi:!0};let H=(()=>{class D extends ae{writeValue(P){this.setProperty("checked",P)}}return D.ɵfac=function(){let T;return function(Z){return(T||(T=r.n5z(D)))(Z||D)}}(),D.ɵdir=r.lG2({type:D,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(P,Z){1&P&&r.NdJ("change",(function(an){return Z.onChange(an.target.checked)}))("blur",(function(){return Z.onTouched()}))},features:[r._Bn([ve]),r.qOj]}),D})();const re={provide:pe,useExisting:(0,r.Gpc)((()=>Oe)),multi:!0},ye=new r.OlP("CompositionEventMode");let Oe=(()=>{class D extends de{constructor(P,Z,Qe){super(P,Z),this._compositionMode=Qe,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function ie(){const D=(0,v.q)()?(0,v.q)().getUserAgent():"";return/android (\d+)/.test(D.toLowerCase())}())}writeValue(P){this.setProperty("value",P??"")}_handleInput(P){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(P)}_compositionStart(){this._composing=!0}_compositionEnd(P){this._composing=!1,this._compositionMode&&this.onChange(P)}}return D.ɵfac=function(P){return new(P||D)(r.Y36(r.Qsj),r.Y36(r.SBq),r.Y36(ye,8))},D.ɵdir=r.lG2({type:D,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(P,Z){1&P&&r.NdJ("input",(function(an){return Z._handleInput(an.target.value)}))("blur",(function(){return Z.onTouched()}))("compositionstart",(function(){return Z._compositionStart()}))("compositionend",(function(an){return Z._compositionEnd(an.target.value)}))},features:[r._Bn([re]),r.qOj]}),D})();function Ze(D){return null==D||("string"==typeof D||Array.isArray(D))&&0===D.length}function ke(D){return null!=D&&"number"==typeof D.length}const Je=new r.OlP("NgValidators"),Xe=new r.OlP("NgAsyncValidators"),tt=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class nt{static min(T){return function Fe(D){return T=>{if(Ze(T.value)||Ze(D))return null;const P=parseFloat(T.value);return!isNaN(P)&&P<D?{min:{min:D,actual:T.value}}:null}}(T)}static max(T){return function it(D){return T=>{if(Ze(T.value)||Ze(D))return null;const P=parseFloat(T.value);return!isNaN(P)&&P>D?{max:{max:D,actual:T.value}}:null}}(T)}static required(T){return function lt(D){return Ze(D.value)?{required:!0}:null}(T)}static requiredTrue(T){return function pt(D){return!0===D.value?null:{required:!0}}(T)}static email(T){return function Ee(D){return Ze(D.value)||tt.test(D.value)?null:{email:!0}}(T)}static minLength(T){return function le(D){return T=>Ze(T.value)||!ke(T.value)?null:T.value.length<D?{minlength:{requiredLength:D,actualLength:T.value.length}}:null}(T)}static maxLength(T){return function K(D){return T=>ke(T.value)&&T.value.length>D?{maxlength:{requiredLength:D,actualLength:T.value.length}}:null}(T)}static pattern(T){return function ge(D){if(!D)return Ie;let T,P;return"string"==typeof D?(P="","^"!==D.charAt(0)&&(P+="^"),P+=D,"$"!==D.charAt(D.length-1)&&(P+="$"),T=new RegExp(P)):(P=D.toString(),T=D),Z=>{if(Ze(Z.value))return null;const Qe=Z.value;return T.test(Qe)?null:{pattern:{requiredPattern:P,actualValue:Qe}}}}(T)}static nullValidator(T){return null}static compose(T){return _n(T)}static composeAsync(T){return bn(T)}}function Ie(D){return null}function we(D){return null!=D}function Le(D){return(0,r.QGY)(D)?(0,G.D)(D):D}function mt(D){let T={};return D.forEach((P=>{T=null!=P?{...T,...P}:T})),0===Object.keys(T).length?null:T}function Rt(D,T){return T.map((P=>P(D)))}function zt(D){return D.map((T=>function xn(D){return!D.validate}(T)?T:P=>T.validate(P)))}function _n(D){if(!D)return null;const T=D.filter(we);return 0==T.length?null:function(P){return mt(Rt(P,T))}}function xr(D){return null!=D?_n(zt(D)):null}function bn(D){if(!D)return null;const T=D.filter(we);return 0==T.length?null:function(P){const Z=Rt(P,T).map(Le);return(0,Q.D)(Z).pipe((0,ee.U)(mt))}}function Kn(D){return null!=D?bn(zt(D)):null}function Pn(D,T){return null===D?[T]:Array.isArray(D)?[...D,T]:[D,T]}function Ir(D){return D?Array.isArray(D)?D:[D]:[]}function Cr(D,T){return Array.isArray(D)?D.includes(T):D===T}function er(D,T){const P=Ir(T);return Ir(D).forEach((Qe=>{Cr(P,Qe)||P.push(Qe)})),P}function ui(D,T){return Ir(T).filter((P=>!Cr(D,P)))}class wr{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(T){this._rawValidators=T||[],this._composedValidatorFn=xr(this._rawValidators)}_setAsyncValidators(T){this._rawAsyncValidators=T||[],this._composedAsyncValidatorFn=Kn(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(T){this._onDestroyCallbacks.push(T)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach((T=>T())),this._onDestroyCallbacks=[]}reset(T){this.control&&this.control.reset(T)}hasError(T,P){return!!this.control&&this.control.hasError(T,P)}getError(T,P){return this.control?this.control.getError(T,P):null}}class $n extends wr{get formDirective(){return null}get path(){return null}}class Vn extends wr{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class vr{constructor(T){this._cd=T}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Wn=(()=>{class D extends vr{constructor(P){super(P)}}return D.ɵfac=function(P){return new(P||D)(r.Y36(Vn,2))},D.ɵdir=r.lG2({type:D,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(P,Z){2&P&&r.ekj("ng-untouched",Z.isUntouched)("ng-touched",Z.isTouched)("ng-pristine",Z.isPristine)("ng-dirty",Z.isDirty)("ng-valid",Z.isValid)("ng-invalid",Z.isInvalid)("ng-pending",Z.isPending)},features:[r.qOj]}),D})(),$r=(()=>{class D extends vr{constructor(P){super(P)}}return D.ɵfac=function(P){return new(P||D)(r.Y36($n,10))},D.ɵdir=r.lG2({type:D,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(P,Z){2&P&&r.ekj("ng-untouched",Z.isUntouched)("ng-touched",Z.isTouched)("ng-pristine",Z.isPristine)("ng-dirty",Z.isDirty)("ng-valid",Z.isValid)("ng-invalid",Z.isInvalid)("ng-pending",Z.isPending)("ng-submitted",Z.isSubmitted)},features:[r.qOj]}),D})();const Pt="VALID",It="INVALID",Ot="PENDING",Jt="DISABLED";function Dt(D){return(In(D)?D.validators:D)||null}function pn(D){return Array.isArray(D)?xr(D):D||null}function cn(D,T){return(In(T)?T.asyncValidators:D)||null}function Ft(D){return Array.isArray(D)?Kn(D):D||null}function In(D){return null!=D&&!Array.isArray(D)&&"object"==typeof D}class on{constructor(T,P){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=T,this._rawAsyncValidators=P,this._composedValidatorFn=pn(this._rawValidators),this._composedAsyncValidatorFn=Ft(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(T){this._rawValidators=this._composedValidatorFn=T}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(T){this._rawAsyncValidators=this._composedAsyncValidatorFn=T}get parent(){return this._parent}get valid(){return this.status===Pt}get invalid(){return this.status===It}get pending(){return this.status==Ot}get disabled(){return this.status===Jt}get enabled(){return this.status!==Jt}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(T){this._rawValidators=T,this._composedValidatorFn=pn(T)}setAsyncValidators(T){this._rawAsyncValidators=T,this._composedAsyncValidatorFn=Ft(T)}addValidators(T){this.setValidators(er(T,this._rawValidators))}addAsyncValidators(T){this.setAsyncValidators(er(T,this._rawAsyncValidators))}removeValidators(T){this.setValidators(ui(T,this._rawValidators))}removeAsyncValidators(T){this.setAsyncValidators(ui(T,this._rawAsyncValidators))}hasValidator(T){return Cr(this._rawValidators,T)}hasAsyncValidator(T){return Cr(this._rawAsyncValidators,T)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(T={}){this.touched=!0,this._parent&&!T.onlySelf&&this._parent.markAsTouched(T)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild((T=>T.markAllAsTouched()))}markAsUntouched(T={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild((P=>{P.markAsUntouched({onlySelf:!0})})),this._parent&&!T.onlySelf&&this._parent._updateTouched(T)}markAsDirty(T={}){this.pristine=!1,this._parent&&!T.onlySelf&&this._parent.markAsDirty(T)}markAsPristine(T={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild((P=>{P.markAsPristine({onlySelf:!0})})),this._parent&&!T.onlySelf&&this._parent._updatePristine(T)}markAsPending(T={}){this.status=Ot,!1!==T.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!T.onlySelf&&this._parent.markAsPending(T)}disable(T={}){const P=this._parentMarkedDirty(T.onlySelf);this.status=Jt,this.errors=null,this._forEachChild((Z=>{Z.disable({...T,onlySelf:!0})})),this._updateValue(),!1!==T.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...T,skipPristineCheck:P}),this._onDisabledChange.forEach((Z=>Z(!0)))}enable(T={}){const P=this._parentMarkedDirty(T.onlySelf);this.status=Pt,this._forEachChild((Z=>{Z.enable({...T,onlySelf:!0})})),this.updateValueAndValidity({onlySelf:!0,emitEvent:T.emitEvent}),this._updateAncestors({...T,skipPristineCheck:P}),this._onDisabledChange.forEach((Z=>Z(!1)))}_updateAncestors(T){this._parent&&!T.onlySelf&&(this._parent.updateValueAndValidity(T),T.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(T){this._parent=T}getRawValue(){return this.value}updateValueAndValidity(T={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Pt||this.status===Ot)&&this._runAsyncValidator(T.emitEvent)),!1!==T.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!T.onlySelf&&this._parent.updateValueAndValidity(T)}_updateTreeValidity(T={emitEvent:!0}){this._forEachChild((P=>P._updateTreeValidity(T))),this.updateValueAndValidity({onlySelf:!0,emitEvent:T.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Jt:Pt}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(T){if(this.asyncValidator){this.status=Ot,this._hasOwnPendingAsyncValidator=!0;const P=Le(this.asyncValidator(this));this._asyncValidationSubscription=P.subscribe((Z=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(Z,{emitEvent:T})}))}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(T,P={}){this.errors=T,this._updateControlsErrors(!1!==P.emitEvent)}get(T){let P=T;return null==P||(Array.isArray(P)||(P=P.split(".")),0===P.length)?null:P.reduce(((Z,Qe)=>Z&&Z._find(Qe)),this)}getError(T,P){const Z=P?this.get(P):this;return Z&&Z.errors?Z.errors[T]:null}hasError(T,P){return!!this.getError(T,P)}get root(){let T=this;for(;T._parent;)T=T._parent;return T}_updateControlsErrors(T){this.status=this._calculateStatus(),T&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(T)}_initObservables(){this.valueChanges=new r.vpe,this.statusChanges=new r.vpe}_calculateStatus(){return this._allControlsDisabled()?Jt:this.errors?It:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ot)?Ot:this._anyControlsHaveStatus(It)?It:Pt}_anyControlsHaveStatus(T){return this._anyControls((P=>P.status===T))}_anyControlsDirty(){return this._anyControls((T=>T.dirty))}_anyControlsTouched(){return this._anyControls((T=>T.touched))}_updatePristine(T={}){this.pristine=!this._anyControlsDirty(),this._parent&&!T.onlySelf&&this._parent._updatePristine(T)}_updateTouched(T={}){this.touched=this._anyControlsTouched(),this._parent&&!T.onlySelf&&this._parent._updateTouched(T)}_registerOnCollectionChange(T){this._onCollectionChange=T}_setUpdateStrategy(T){In(T)&&null!=T.updateOn&&(this._updateOn=T.updateOn)}_parentMarkedDirty(T){return!T&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(T){return null}}class qn extends on{constructor(T,P,Z){super(Dt(P),cn(Z,P)),this.controls=T,this._initObservables(),this._setUpdateStrategy(P),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(T,P){return this.controls[T]?this.controls[T]:(this.controls[T]=P,P.setParent(this),P._registerOnCollectionChange(this._onCollectionChange),P)}addControl(T,P,Z={}){this.registerControl(T,P),this.updateValueAndValidity({emitEvent:Z.emitEvent}),this._onCollectionChange()}removeControl(T,P={}){this.controls[T]&&this.controls[T]._registerOnCollectionChange((()=>{})),delete this.controls[T],this.updateValueAndValidity({emitEvent:P.emitEvent}),this._onCollectionChange()}setControl(T,P,Z={}){this.controls[T]&&this.controls[T]._registerOnCollectionChange((()=>{})),delete this.controls[T],P&&this.registerControl(T,P),this.updateValueAndValidity({emitEvent:Z.emitEvent}),this._onCollectionChange()}contains(T){return this.controls.hasOwnProperty(T)&&this.controls[T].enabled}setValue(T,P={}){(function dn(D,T,P){D._forEachChild(((Z,Qe)=>{if(void 0===P[Qe])throw new r.vHH(1002,"")}))})(this,0,T),Object.keys(T).forEach((Z=>{(function Nt(D,T,P){const Z=D.controls;if(!(T?Object.keys(Z):Z).length)throw new r.vHH(1e3,"");if(!Z[P])throw new r.vHH(1001,"")})(this,!0,Z),this.controls[Z].setValue(T[Z],{onlySelf:!0,emitEvent:P.emitEvent})})),this.updateValueAndValidity(P)}patchValue(T,P={}){null!=T&&(Object.keys(T).forEach((Z=>{const Qe=this.controls[Z];Qe&&Qe.patchValue(T[Z],{onlySelf:!0,emitEvent:P.emitEvent})})),this.updateValueAndValidity(P))}reset(T={},P={}){this._forEachChild(((Z,Qe)=>{Z.reset(T[Qe],{onlySelf:!0,emitEvent:P.emitEvent})})),this._updatePristine(P),this._updateTouched(P),this.updateValueAndValidity(P)}getRawValue(){return this._reduceChildren({},((T,P,Z)=>(T[Z]=P.getRawValue(),T)))}_syncPendingControls(){let T=this._reduceChildren(!1,((P,Z)=>!!Z._syncPendingControls()||P));return T&&this.updateValueAndValidity({onlySelf:!0}),T}_forEachChild(T){Object.keys(this.controls).forEach((P=>{const Z=this.controls[P];Z&&T(Z,P)}))}_setUpControls(){this._forEachChild((T=>{T.setParent(this),T._registerOnCollectionChange(this._onCollectionChange)}))}_updateValue(){this.value=this._reduceValue()}_anyControls(T){for(const[P,Z]of Object.entries(this.controls))if(this.contains(P)&&T(Z))return!0;return!1}_reduceValue(){return this._reduceChildren({},((P,Z,Qe)=>((Z.enabled||this.disabled)&&(P[Qe]=Z.value),P)))}_reduceChildren(T,P){let Z=T;return this._forEachChild(((Qe,an)=>{Z=P(Z,Qe,an)})),Z}_allControlsDisabled(){for(const T of Object.keys(this.controls))if(this.controls[T].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(T){return this.controls.hasOwnProperty(T)?this.controls[T]:null}}function Ae(D,T){he(D,T),T.valueAccessor.writeValue(D.value),D.disabled&&T.valueAccessor.setDisabledState?.(!0),function st(D,T){T.valueAccessor.registerOnChange((P=>{D._pendingValue=P,D._pendingChange=!0,D._pendingDirty=!0,"change"===D.updateOn&&ut(D,T)}))}(D,T),function bt(D,T){const P=(Z,Qe)=>{T.valueAccessor.writeValue(Z),Qe&&T.viewToModelUpdate(Z)};D.registerOnChange(P),T._registerOnDestroy((()=>{D._unregisterOnChange(P)}))}(D,T),function jt(D,T){T.valueAccessor.registerOnTouched((()=>{D._pendingTouched=!0,"blur"===D.updateOn&&D._pendingChange&&ut(D,T),"submit"!==D.updateOn&&D.markAsTouched()}))}(D,T),function U(D,T){if(T.valueAccessor.setDisabledState){const P=Z=>{T.valueAccessor.setDisabledState(Z)};D.registerOnDisabledChange(P),T._registerOnDestroy((()=>{D._unregisterOnDisabledChange(P)}))}}(D,T)}function X(D,T){D.forEach((P=>{P.registerOnValidatorChange&&P.registerOnValidatorChange(T)}))}function he(D,T){const P=function Wt(D){return D._rawValidators}(D);null!==T.validator?D.setValidators(Pn(P,T.validator)):"function"==typeof P&&D.setValidators([P]);const Z=function zn(D){return D._rawAsyncValidators}(D);null!==T.asyncValidator?D.setAsyncValidators(Pn(Z,T.asyncValidator)):"function"==typeof Z&&D.setAsyncValidators([Z]);const Qe=()=>D.updateValueAndValidity();X(T._rawValidators,Qe),X(T._rawAsyncValidators,Qe)}function ut(D,T){D._pendingDirty&&D.markAsDirty(),D.setValue(D._pendingValue,{emitModelToViewChange:!1}),T.viewToModelUpdate(D._pendingValue),D._pendingChange=!1}const _e={provide:$n,useExisting:(0,r.Gpc)((()=>at))},Ve=(()=>Promise.resolve())();let at=(()=>{class D extends $n{constructor(P,Z){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new r.vpe,this.form=new qn({},xr(P),Kn(Z))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(P){Ve.then((()=>{const Z=this._findContainer(P.path);P.control=Z.registerControl(P.name,P.control),Ae(P.control,P),P.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(P)}))}getControl(P){return this.form.get(P.path)}removeControl(P){Ve.then((()=>{const Z=this._findContainer(P.path);Z&&Z.removeControl(P.name),this._directives.delete(P)}))}addFormGroup(P){Ve.then((()=>{const Z=this._findContainer(P.path),Qe=new qn({});(function Ye(D,T){he(D,T)})(Qe,P),Z.registerControl(P.name,Qe),Qe.updateValueAndValidity({emitEvent:!1})}))}removeFormGroup(P){Ve.then((()=>{const Z=this._findContainer(P.path);Z&&Z.removeControl(P.name)}))}getFormGroup(P){return this.form.get(P.path)}updateModel(P,Z){Ve.then((()=>{this.form.get(P.path).setValue(Z)}))}setValue(P){this.control.setValue(P)}onSubmit(P){return this.submitted=!0,function V(D,T){D._syncPendingControls(),T.forEach((P=>{const Z=P.control;"submit"===Z.updateOn&&Z._pendingChange&&(P.viewToModelUpdate(Z._pendingValue),Z._pendingChange=!1)}))}(this.form,this._directives),this.ngSubmit.emit(P),"dialog"===P?.target?.method}onReset(){this.resetForm()}resetForm(P){this.form.reset(P),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(P){return P.pop(),P.length?this.form.get(P):this.form}}return D.ɵfac=function(P){return new(P||D)(r.Y36(Je,10),r.Y36(Xe,10))},D.ɵdir=r.lG2({type:D,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(P,Z){1&P&&r.NdJ("submit",(function(an){return Z.onSubmit(an)}))("reset",(function(){return Z.onReset()}))},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[r._Bn([_e]),r.qOj]}),D})();function en(D,T){const P=D.indexOf(T);P>-1&&D.splice(P,1)}function Ut(D){return"object"==typeof D&&null!==D&&2===Object.keys(D).length&&"value"in D&&"disabled"in D}const nn=class extends on{constructor(T=null,P,Z){super(Dt(P),cn(Z,P)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(T),this._setUpdateStrategy(P),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),In(P)&&(P.nonNullable||P.initialValueIsDefault)&&(this.defaultValue=Ut(T)?T.value:T)}setValue(T,P={}){this.value=this._pendingValue=T,this._onChange.length&&!1!==P.emitModelToViewChange&&this._onChange.forEach((Z=>Z(this.value,!1!==P.emitViewToModelChange))),this.updateValueAndValidity(P)}patchValue(T,P={}){this.setValue(T,P)}reset(T=this.defaultValue,P={}){this._applyFormState(T),this.markAsPristine(P),this.markAsUntouched(P),this.setValue(this.value,P),this._pendingChange=!1}_updateValue(){}_anyControls(T){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(T){this._onChange.push(T)}_unregisterOnChange(T){en(this._onChange,T)}registerOnDisabledChange(T){this._onDisabledChange.push(T)}_unregisterOnDisabledChange(T){en(this._onDisabledChange,T)}_forEachChild(T){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(T){Ut(T)?(this.value=this._pendingValue=T.value,T.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=T}},qr={provide:Vn,useExisting:(0,r.Gpc)((()=>Hr))},wo=(()=>Promise.resolve())();let Hr=(()=>{class D extends Vn{constructor(P,Z,Qe,an,En){super(),this._changeDetectorRef=En,this.control=new nn,this._registered=!1,this.update=new r.vpe,this._parent=P,this._setValidators(Z),this._setAsyncValidators(Qe),this.valueAccessor=function N(D,T){if(!T)return null;let P,Z,Qe;return Array.isArray(T),T.forEach((an=>{an.constructor===Oe?P=an:function ce(D){return Object.getPrototypeOf(D.constructor)===ae}(an)?Z=an:Qe=an})),Qe||Z||P||null}(0,an)}ngOnChanges(P){if(this._checkForErrors(),!this._registered||"name"in P){if(this._registered&&(this._checkName(),this.formDirective)){const Z=P.name.previousValue;this.formDirective.removeControl({name:Z,path:this._getPath(Z)})}this._setUpControl()}"isDisabled"in P&&this._updateDisabled(P),function $(D,T){if(!D.hasOwnProperty("model"))return!1;const P=D.model;return!!P.isFirstChange()||!Object.is(T,P.currentValue)}(P,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(P){this.viewModel=P,this.update.emit(P)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Ae(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(P){wo.then((()=>{this.control.setValue(P,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()}))}_updateDisabled(P){const Z=P.isDisabled.currentValue,Qe=0!==Z&&(0,r.D6c)(Z);wo.then((()=>{Qe&&!this.control.disabled?this.control.disable():!Qe&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()}))}_getPath(P){return this._parent?function Qt(D,T){return[...T.path,D]}(P,this._parent):[P]}}return D.ɵfac=function(P){return new(P||D)(r.Y36($n,9),r.Y36(Je,10),r.Y36(Xe,10),r.Y36(pe,10),r.Y36(r.sBO,8))},D.ɵdir=r.lG2({type:D,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[r._Bn([qr]),r.qOj,r.TTD]}),D})(),wi=(()=>{class D{}return D.ɵfac=function(P){return new(P||D)},D.ɵdir=r.lG2({type:D,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),D})();const Lr={provide:pe,useExisting:(0,r.Gpc)((()=>Pr)),multi:!0};let Pr=(()=>{class D extends ae{writeValue(P){this.setProperty("value",P??"")}registerOnChange(P){this.onChange=Z=>{P(""==Z?null:parseFloat(Z))}}}return D.ɵfac=function(){let T;return function(Z){return(T||(T=r.n5z(D)))(Z||D)}}(),D.ɵdir=r.lG2({type:D,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(P,Z){1&P&&r.NdJ("input",(function(an){return Z.onChange(an.target.value)}))("blur",(function(){return Z.onTouched()}))},features:[r._Bn([Lr]),r.qOj]}),D})(),bs=(()=>{class D{}return D.ɵfac=function(P){return new(P||D)},D.ɵmod=r.oAB({type:D}),D.ɵinj=r.cJS({}),D})();const Ds={provide:pe,useExisting:(0,r.Gpc)((()=>Cn)),multi:!0};function Ms(D,T){return null==D?`${T}`:(T&&"object"==typeof T&&(T="Object"),`${D}: ${T}`.slice(0,50))}let Cn=(()=>{class D extends ae{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(P){this._compareWith=P}writeValue(P){this.value=P;const Qe=Ms(this._getOptionId(P),P);this.setProperty("value",Qe)}registerOnChange(P){this.onChange=Z=>{this.value=this._getOptionValue(Z),P(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(P){for(const Z of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(Z),P))return Z;return null}_getOptionValue(P){const Z=function gr(D){return D.split(":")[0]}(P);return this._optionMap.has(Z)?this._optionMap.get(Z):P}}return D.ɵfac=function(){let T;return function(Z){return(T||(T=r.n5z(D)))(Z||D)}}(),D.ɵdir=r.lG2({type:D,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(P,Z){1&P&&r.NdJ("change",(function(an){return Z.onChange(an.target.value)}))("blur",(function(){return Z.onTouched()}))},inputs:{compareWith:"compareWith"},features:[r._Bn([Ds]),r.qOj]}),D})(),Ss=(()=>{class D{constructor(P,Z,Qe){this._element=P,this._renderer=Z,this._select=Qe,this._select&&(this.id=this._select._registerOption())}set ngValue(P){null!=this._select&&(this._select._optionMap.set(this.id,P),this._setElementValue(Ms(this.id,P)),this._select.writeValue(this._select.value))}set value(P){this._setElementValue(P),this._select&&this._select.writeValue(this._select.value)}_setElementValue(P){this._renderer.setProperty(this._element.nativeElement,"value",P)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return D.ɵfac=function(P){return new(P||D)(r.Y36(r.SBq),r.Y36(r.Qsj),r.Y36(Cn,9))},D.ɵdir=r.lG2({type:D,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),D})();const Ts={provide:pe,useExisting:(0,r.Gpc)((()=>co)),multi:!0};function uo(D,T){return null==D?`${T}`:("string"==typeof T&&(T=`'${T}'`),T&&"object"==typeof T&&(T="Object"),`${D}: ${T}`.slice(0,50))}let co=(()=>{class D extends ae{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(P){this._compareWith=P}writeValue(P){let Z;if(this.value=P,Array.isArray(P)){const Qe=P.map((an=>this._getOptionId(an)));Z=(an,En)=>{an._setSelected(Qe.indexOf(En.toString())>-1)}}else Z=(Qe,an)=>{Qe._setSelected(!1)};this._optionMap.forEach(Z)}registerOnChange(P){this.onChange=Z=>{const Qe=[],an=Z.selectedOptions;if(void 0!==an){const En=an;for(let Or=0;Or<En.length;Or++){const io=this._getOptionValue(En[Or].value);Qe.push(io)}}else{const En=Z.options;for(let Or=0;Or<En.length;Or++){const Ui=En[Or];if(Ui.selected){const io=this._getOptionValue(Ui.value);Qe.push(io)}}}this.value=Qe,P(Qe)}}_registerOption(P){const Z=(this._idCounter++).toString();return this._optionMap.set(Z,P),Z}_getOptionId(P){for(const Z of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(Z)._value,P))return Z;return null}_getOptionValue(P){const Z=function jo(D){return D.split(":")[0]}(P);return this._optionMap.has(Z)?this._optionMap.get(Z)._value:P}}return D.ɵfac=function(){let T;return function(Z){return(T||(T=r.n5z(D)))(Z||D)}}(),D.ɵdir=r.lG2({type:D,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(P,Z){1&P&&r.NdJ("change",(function(an){return Z.onChange(an.target)}))("blur",(function(){return Z.onTouched()}))},inputs:{compareWith:"compareWith"},features:[r._Bn([Ts]),r.qOj]}),D})(),Eo=(()=>{class D{constructor(P,Z,Qe){this._element=P,this._renderer=Z,this._select=Qe,this._select&&(this.id=this._select._registerOption(this))}set ngValue(P){null!=this._select&&(this._value=P,this._setElementValue(uo(this.id,P)),this._select.writeValue(this._select.value))}set value(P){this._select?(this._value=P,this._setElementValue(uo(this.id,P)),this._select.writeValue(this._select.value)):this._setElementValue(P)}_setElementValue(P){this._renderer.setProperty(this._element.nativeElement,"value",P)}_setSelected(P){this._renderer.setProperty(this._element.nativeElement,"selected",P)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return D.ɵfac=function(P){return new(P||D)(r.Y36(r.SBq),r.Y36(r.Qsj),r.Y36(co,9))},D.ɵdir=r.lG2({type:D,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),D})(),Ii=(()=>{class D{}return D.ɵfac=function(P){return new(P||D)},D.ɵmod=r.oAB({type:D}),D.ɵinj=r.cJS({imports:[bs]}),D})(),So=(()=>{class D{}return D.ɵfac=function(P){return new(P||D)},D.ɵmod=r.oAB({type:D}),D.ɵinj=r.cJS({imports:[Ii]}),D})()},1481:(He,ne,S)=>{"use strict";S.d(ne,{Dx:()=>De,H7:()=>Yn,b2:()=>fn,q6:()=>ci,se:()=>we});var r=S(6895),v=S(1571);class G extends r.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Q extends G{static makeCurrent(){(0,r.HT)(new Q)}onAndCancel(me,X,U){return me.addEventListener(X,U,!1),()=>{me.removeEventListener(X,U,!1)}}dispatchEvent(me,X){me.dispatchEvent(X)}remove(me){me.parentNode&&me.parentNode.removeChild(me)}createElement(me,X){return(X=X||this.getDefaultDocument()).createElement(me)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(me){return me.nodeType===Node.ELEMENT_NODE}isShadowRoot(me){return me instanceof DocumentFragment}getGlobalEventTarget(me,X){return"window"===X?window:"document"===X?me:"body"===X?me.body:null}getBaseHref(me){const X=function de(){return ee=ee||document.querySelector("base"),ee?ee.getAttribute("href"):null}();return null==X?null:function pe(Ae){ae=ae||document.createElement("a"),ae.setAttribute("href",Ae);const me=ae.pathname;return"/"===me.charAt(0)?me:`/${me}`}(X)}resetBaseElement(){ee=null}getUserAgent(){return window.navigator.userAgent}getCookie(me){return(0,r.Mx)(document.cookie,me)}}let ae,ee=null;const ve=new v.OlP("TRANSITION_ID"),re=[{provide:v.ip1,useFactory:function H(Ae,me,X){return()=>{X.get(v.CZH).donePromise.then((()=>{const U=(0,r.q)(),he=me.querySelectorAll(`style[ng-transition="${Ae}"]`);for(let Ue=0;Ue<he.length;Ue++)U.remove(he[Ue])}))}},deps:[ve,r.K0,v.zs3],multi:!0}];let ye=(()=>{class Ae{build(){return new XMLHttpRequest}}return Ae.ɵfac=function(X){return new(X||Ae)},Ae.ɵprov=v.Yz7({token:Ae,factory:Ae.ɵfac}),Ae})();const Oe=new v.OlP("EventManagerPlugins");let te=(()=>{class Ae{constructor(X,U){this._zone=U,this._eventNameToPlugin=new Map,X.forEach((he=>he.manager=this)),this._plugins=X.slice().reverse()}addEventListener(X,U,he){return this._findPluginFor(U).addEventListener(X,U,he)}addGlobalEventListener(X,U,he){return this._findPluginFor(U).addGlobalEventListener(X,U,he)}getZone(){return this._zone}_findPluginFor(X){const U=this._eventNameToPlugin.get(X);if(U)return U;const he=this._plugins;for(let Ue=0;Ue<he.length;Ue++){const st=he[Ue];if(st.supports(X))return this._eventNameToPlugin.set(X,st),st}throw new Error(`No event manager plugin found for event ${X}`)}}return Ae.ɵfac=function(X){return new(X||Ae)(v.LFG(Oe),v.LFG(v.R0b))},Ae.ɵprov=v.Yz7({token:Ae,factory:Ae.ɵfac}),Ae})();class Ze{constructor(me){this._doc=me}addGlobalEventListener(me,X,U){const he=(0,r.q)().getGlobalEventTarget(this._doc,me);if(!he)throw new Error(`Unsupported event target ${he} for event ${X}`);return this.addEventListener(he,X,U)}}let ke=(()=>{class Ae{constructor(){this._stylesSet=new Set}addStyles(X){const U=new Set;X.forEach((he=>{this._stylesSet.has(he)||(this._stylesSet.add(he),U.add(he))})),this.onStylesAdded(U)}onStylesAdded(X){}getAllStyles(){return Array.from(this._stylesSet)}}return Ae.ɵfac=function(X){return new(X||Ae)},Ae.ɵprov=v.Yz7({token:Ae,factory:Ae.ɵfac}),Ae})(),Je=(()=>{class Ae extends ke{constructor(X){super(),this._doc=X,this._hostNodes=new Map,this._hostNodes.set(X.head,[])}_addStylesToHost(X,U,he){X.forEach((Ue=>{const st=this._doc.createElement("style");st.textContent=Ue,he.push(U.appendChild(st))}))}addHost(X){const U=[];this._addStylesToHost(this._stylesSet,X,U),this._hostNodes.set(X,U)}removeHost(X){const U=this._hostNodes.get(X);U&&U.forEach(Xe),this._hostNodes.delete(X)}onStylesAdded(X){this._hostNodes.forEach(((U,he)=>{this._addStylesToHost(X,he,U)}))}ngOnDestroy(){this._hostNodes.forEach((X=>X.forEach(Xe)))}}return Ae.ɵfac=function(X){return new(X||Ae)(v.LFG(r.K0))},Ae.ɵprov=v.Yz7({token:Ae,factory:Ae.ɵfac}),Ae})();function Xe(Ae){(0,r.q)().remove(Ae)}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/"},nt=/%COMP%/g;function K(Ae,me,X){for(let U=0;U<me.length;U++){let he=me[U];Array.isArray(he)?K(Ae,he,X):(he=he.replace(nt,Ae),X.push(he))}return X}function ge(Ae){return me=>{if("__ngUnwrap__"===me)return Ae;!1===Ae(me)&&(me.preventDefault(),me.returnValue=!1)}}let we=(()=>{class Ae{constructor(X,U,he){this.eventManager=X,this.sharedStylesHost=U,this.appId=he,this.rendererByCompId=new Map,this.defaultRenderer=new Le(X)}createRenderer(X,U){if(!X||!U)return this.defaultRenderer;switch(U.encapsulation){case v.ifc.Emulated:{let he=this.rendererByCompId.get(U.id);return he||(he=new zt(this.eventManager,this.sharedStylesHost,U,this.appId),this.rendererByCompId.set(U.id,he)),he.applyToHost(X),he}case 1:case v.ifc.ShadowDom:return new _n(this.eventManager,this.sharedStylesHost,X,U);default:if(!this.rendererByCompId.has(U.id)){const he=K(U.id,U.styles,[]);this.sharedStylesHost.addStyles(he),this.rendererByCompId.set(U.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return Ae.ɵfac=function(X){return new(X||Ae)(v.LFG(te),v.LFG(Je),v.LFG(v.AFp))},Ae.ɵprov=v.Yz7({token:Ae,factory:Ae.ɵfac}),Ae})();class Le{constructor(me){this.eventManager=me,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(me,X){return X?document.createElementNS(tt[X]||X,me):document.createElement(me)}createComment(me){return document.createComment(me)}createText(me){return document.createTextNode(me)}appendChild(me,X){(xn(me)?me.content:me).appendChild(X)}insertBefore(me,X,U){me&&(xn(me)?me.content:me).insertBefore(X,U)}removeChild(me,X){me&&me.removeChild(X)}selectRootElement(me,X){let U="string"==typeof me?document.querySelector(me):me;if(!U)throw new Error(`The selector "${me}" did not match any elements`);return X||(U.textContent=""),U}parentNode(me){return me.parentNode}nextSibling(me){return me.nextSibling}setAttribute(me,X,U,he){if(he){X=he+":"+X;const Ue=tt[he];Ue?me.setAttributeNS(Ue,X,U):me.setAttribute(X,U)}else me.setAttribute(X,U)}removeAttribute(me,X,U){if(U){const he=tt[U];he?me.removeAttributeNS(he,X):me.removeAttribute(`${U}:${X}`)}else me.removeAttribute(X)}addClass(me,X){me.classList.add(X)}removeClass(me,X){me.classList.remove(X)}setStyle(me,X,U,he){he&(v.JOm.DashCase|v.JOm.Important)?me.style.setProperty(X,U,he&v.JOm.Important?"important":""):me.style[X]=U}removeStyle(me,X,U){U&v.JOm.DashCase?me.style.removeProperty(X):me.style[X]=""}setProperty(me,X,U){me[X]=U}setValue(me,X){me.nodeValue=X}listen(me,X,U){return"string"==typeof me?this.eventManager.addGlobalEventListener(me,X,ge(U)):this.eventManager.addEventListener(me,X,ge(U))}}function xn(Ae){return"TEMPLATE"===Ae.tagName&&void 0!==Ae.content}class zt extends Le{constructor(me,X,U,he){super(me),this.component=U;const Ue=K(he+"-"+U.id,U.styles,[]);X.addStyles(Ue),this.contentAttr=function Ee(Ae){return"_ngcontent-%COMP%".replace(nt,Ae)}(he+"-"+U.id),this.hostAttr=function le(Ae){return"_nghost-%COMP%".replace(nt,Ae)}(he+"-"+U.id)}applyToHost(me){super.setAttribute(me,this.hostAttr,"")}createElement(me,X){const U=super.createElement(me,X);return super.setAttribute(U,this.contentAttr,""),U}}class _n extends Le{constructor(me,X,U,he){super(me),this.sharedStylesHost=X,this.hostEl=U,this.shadowRoot=U.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Ue=K(he.id,he.styles,[]);for(let st=0;st<Ue.length;st++){const jt=document.createElement("style");jt.textContent=Ue[st],this.shadowRoot.appendChild(jt)}}nodeOrShadowRoot(me){return me===this.hostEl?this.shadowRoot:me}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(me,X){return super.appendChild(this.nodeOrShadowRoot(me),X)}insertBefore(me,X,U){return super.insertBefore(this.nodeOrShadowRoot(me),X,U)}removeChild(me,X){return super.removeChild(this.nodeOrShadowRoot(me),X)}parentNode(me){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(me)))}}let xr=(()=>{class Ae extends Ze{constructor(X){super(X)}supports(X){return!0}addEventListener(X,U,he){return X.addEventListener(U,he,!1),()=>this.removeEventListener(X,U,he)}removeEventListener(X,U,he){return X.removeEventListener(U,he)}}return Ae.ɵfac=function(X){return new(X||Ae)(v.LFG(r.K0))},Ae.ɵprov=v.Yz7({token:Ae,factory:Ae.ɵfac}),Ae})();const bn=["alt","control","meta","shift"],Kn={"\b":"Backspace","\t":"Tab","":"Delete","":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Pn={alt:Ae=>Ae.altKey,control:Ae=>Ae.ctrlKey,meta:Ae=>Ae.metaKey,shift:Ae=>Ae.shiftKey};let Wt=(()=>{class Ae extends Ze{constructor(X){super(X)}supports(X){return null!=Ae.parseEventName(X)}addEventListener(X,U,he){const Ue=Ae.parseEventName(U),st=Ae.eventCallback(Ue.fullKey,he,this.manager.getZone());return this.manager.getZone().runOutsideAngular((()=>(0,r.q)().onAndCancel(X,Ue.domEventName,st)))}static parseEventName(X){const U=X.toLowerCase().split("."),he=U.shift();if(0===U.length||"keydown"!==he&&"keyup"!==he)return null;const Ue=Ae._normalizeKey(U.pop());let st="",jt=U.indexOf("code");if(jt>-1&&(U.splice(jt,1),st="code."),bn.forEach((bt=>{const Ye=U.indexOf(bt);Ye>-1&&(U.splice(Ye,1),st+=bt+".")})),st+=Ue,0!=U.length||0===Ue.length)return null;const ut={};return ut.domEventName=he,ut.fullKey=st,ut}static matchEventFullKeyCode(X,U){let he=Kn[X.key]||X.key,Ue="";return U.indexOf("code.")>-1&&(he=X.code,Ue="code."),!(null==he||!he)&&(he=he.toLowerCase()," "===he?he="space":"."===he&&(he="dot"),bn.forEach((st=>{st!==he&&(0,Pn[st])(X)&&(Ue+=st+".")})),Ue+=he,Ue===U)}static eventCallback(X,U,he){return Ue=>{Ae.matchEventFullKeyCode(Ue,X)&&he.runGuarded((()=>U(Ue)))}}static _normalizeKey(X){return"esc"===X?"escape":X}}return Ae.ɵfac=function(X){return new(X||Ae)(v.LFG(r.K0))},Ae.ɵprov=v.Yz7({token:Ae,factory:Ae.ɵfac}),Ae})();const ci=(0,v.eFA)(v._c5,"browser",[{provide:v.Lbi,useValue:r.bD},{provide:v.g9A,useValue:function wr(){Q.makeCurrent()},multi:!0},{provide:r.K0,useFactory:function Vn(){return(0,v.RDi)(document),document},deps:[]}]),Kt=new v.OlP(""),Wn=[{provide:v.rWj,useClass:class ie{addToWindow(me){v.dqk.getAngularTestability=(U,he=!0)=>{const Ue=me.findTestabilityInTree(U,he);if(null==Ue)throw new Error("Could not find testability for element.");return Ue},v.dqk.getAllAngularTestabilities=()=>me.getAllTestabilities(),v.dqk.getAllAngularRootElements=()=>me.getAllRootElements(),v.dqk.frameworkStabilizers||(v.dqk.frameworkStabilizers=[]),v.dqk.frameworkStabilizers.push((U=>{const he=v.dqk.getAllAngularTestabilities();let Ue=he.length,st=!1;const jt=function(ut){st=st||ut,Ue--,0==Ue&&U(st)};he.forEach((function(ut){ut.whenStable(jt)}))}))}findTestabilityInTree(me,X,U){return null==X?null:me.getTestability(X)??(U?(0,r.q)().isShadowRoot(X)?this.findTestabilityInTree(me,X.host,!0):this.findTestabilityInTree(me,X.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]}],$r=[{provide:v.zSh,useValue:"root"},{provide:v.qLn,useFactory:function $n(){return new v.qLn},deps:[]},{provide:Oe,useClass:xr,multi:!0,deps:[r.K0,v.R0b,v.Lbi]},{provide:Oe,useClass:Wt,multi:!0,deps:[r.K0]},{provide:we,useClass:we,deps:[te,Je,v.AFp]},{provide:v.FYo,useExisting:we},{provide:ke,useExisting:Je},{provide:Je,useClass:Je,deps:[r.K0]},{provide:te,useClass:te,deps:[Oe,v.R0b]},{provide:r.JF,useClass:ye,deps:[]},[]];let fn=(()=>{class Ae{constructor(X){}static withServerTransition(X){return{ngModule:Ae,providers:[{provide:v.AFp,useValue:X.appId},{provide:ve,useExisting:v.AFp},re]}}}return Ae.ɵfac=function(X){return new(X||Ae)(v.LFG(Kt,12))},Ae.ɵmod=v.oAB({type:Ae}),Ae.ɵinj=v.cJS({providers:[...$r,...Wn],imports:[r.ez,v.hGG]}),Ae})(),De=(()=>{class Ae{constructor(X){this._doc=X}getTitle(){return this._doc.title}setTitle(X){this._doc.title=X||""}}return Ae.ɵfac=function(X){return new(X||Ae)(v.LFG(r.K0))},Ae.ɵprov=v.Yz7({token:Ae,factory:function(X){let U=null;return U=X?new X:function qe(){return new De((0,v.LFG)(r.K0))}(),U},providedIn:"root"}),Ae})();typeof window<"u"&&window;let Yn=(()=>{class Ae{}return Ae.ɵfac=function(X){return new(X||Ae)},Ae.ɵprov=v.Yz7({token:Ae,factory:function(X){let U=null;return U=X?new(X||Ae):v.LFG(Tr),U},providedIn:"root"}),Ae})(),Tr=(()=>{class Ae extends Yn{constructor(X){super(),this._doc=X}sanitize(X,U){if(null==U)return null;switch(X){case v.q3G.NONE:return U;case v.q3G.HTML:return(0,v.qzn)(U,"HTML")?(0,v.z3N)(U):(0,v.EiD)(this._doc,String(U)).toString();case v.q3G.STYLE:return(0,v.qzn)(U,"Style")?(0,v.z3N)(U):U;case v.q3G.SCRIPT:if((0,v.qzn)(U,"Script"))return(0,v.z3N)(U);throw new Error("unsafe value used in a script context");case v.q3G.URL:return(0,v.qzn)(U,"URL")?(0,v.z3N)(U):(0,v.mCW)(String(U));case v.q3G.RESOURCE_URL:if((0,v.qzn)(U,"ResourceURL"))return(0,v.z3N)(U);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${X} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(X){return(0,v.JVY)(X)}bypassSecurityTrustStyle(X){return(0,v.L6k)(X)}bypassSecurityTrustScript(X){return(0,v.eBb)(X)}bypassSecurityTrustUrl(X){return(0,v.LAX)(X)}bypassSecurityTrustResourceUrl(X){return(0,v.pB0)(X)}}return Ae.ɵfac=function(X){return new(X||Ae)(v.LFG(r.K0))},Ae.ɵprov=v.Yz7({token:Ae,factory:function(X){let U=null;return U=X?new X:function gn(Ae){return new Tr(Ae.get(r.K0))}(v.LFG(v.zs3)),U},providedIn:"root"}),Ae})()},9937:(He,ne,S)=>{"use strict";S.d(ne,{gz:()=>Cn,m2:()=>Lr,F0:()=>Mr,Bz:()=>$l,lC:()=>dr});var r=S(1571),v=S(2076),G=S(9646),Q=S(1135);const de=(0,S(3888).d)((p=>function(){p(this),this.name="EmptyError",this.message="no elements in sequence"}));var ae=S(9751),pe=S(4742),ve=S(4671),H=S(3268),re=S(3269),ie=S(1810),ye=S(5403),Oe=S(9672);function te(...p){const m=(0,re.yG)(p),f=(0,re.jO)(p),{args:b,keys:A}=(0,pe.D)(p);if(0===b.length)return(0,v.D)([],m);const j=new ae.y(function Ze(p,m,f=ve.y){return b=>{ke(m,(()=>{const{length:A}=p,j=new Array(A);let fe=A,be=A;for(let et=0;et<A;et++)ke(m,(()=>{const xt=(0,v.D)(p[et],m);let yn=!1;xt.subscribe(new ye.Q(b,(g=>{j[et]=g,yn||(yn=!0,be--),be||b.next(f(j.slice()))}),(()=>{--fe||b.complete()})))}),b)}),b)}}(b,m,A?fe=>(0,ie.n)(A,fe):ve.y));return f?j.pipe((0,H.Z)(f)):j}function ke(p,m,f){p?(0,Oe.f)(f,p,m):m()}var Je=S(7272),Xe=S(8421);function tt(p){return new ae.y((m=>{(0,Xe.Xf)(p()).subscribe(m)}))}var nt=S(9635),Fe=S(576);function it(p,m){const f=(0,Fe.m)(p)?p:()=>p,b=A=>A.error(f());return new ae.y(m?A=>m.schedule(b,0,A):b)}var lt=S(515),pt=S(727),Ee=S(4482);function le(){return(0,Ee.e)(((p,m)=>{let f=null;p._refCount++;const b=new ye.Q(m,void 0,void 0,void 0,(()=>{if(!p||p._refCount<=0||0<--p._refCount)return void(f=null);const A=p._connection,j=f;f=null,A&&(!j||A===j)&&A.unsubscribe(),m.unsubscribe()}));p.subscribe(b),b.closed||(f=p.connect())}))}class K extends ae.y{constructor(m,f){super(),this.source=m,this.subjectFactory=f,this._subject=null,this._refCount=0,this._connection=null,(0,Ee.A)(m)&&(this.lift=m.lift)}_subscribe(m){return this.getSubject().subscribe(m)}getSubject(){const m=this._subject;return(!m||m.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:m}=this;this._subject=this._connection=null,m?.unsubscribe()}connect(){let m=this._connection;if(!m){m=this._connection=new pt.w0;const f=this.getSubject();m.add(this.source.subscribe(new ye.Q(f,void 0,(()=>{this._teardown(),f.complete()}),(b=>{this._teardown(),f.error(b)}),(()=>this._teardown())))),m.closed&&(this._connection=null,m=pt.w0.EMPTY)}return m}refCount(){return le()(this)}}var ge=S(7579),Ie=S(6895),we=S(4004);function Le(p,m){return(0,Ee.e)(((f,b)=>{let A=null,j=0,fe=!1;const be=()=>fe&&!A&&b.complete();f.subscribe(new ye.Q(b,(et=>{A?.unsubscribe();let xt=0;const yn=j++;(0,Xe.Xf)(p(et,yn)).subscribe(A=new ye.Q(b,(g=>b.next(m?m(et,g,yn,xt++):g)),(()=>{A=null,be()})))}),(()=>{fe=!0,be()})))}))}var mt=S(5698),Rt=S(8675),xn=S(9300),zt=S(5577);function _n(p){return(0,Ee.e)(((m,f)=>{let b=!1;m.subscribe(new ye.Q(f,(A=>{b=!0,f.next(A)}),(()=>{b||f.next(p),f.complete()})))}))}function xr(p=bn){return(0,Ee.e)(((m,f)=>{let b=!1;m.subscribe(new ye.Q(f,(A=>{b=!0,f.next(A)}),(()=>b?f.complete():f.error(p()))))}))}function bn(){return new de}function Kn(p,m){const f=arguments.length>=2;return b=>b.pipe(p?(0,xn.h)(((A,j)=>p(A,j,b))):ve.y,(0,mt.q)(1),f?_n(m):xr((()=>new de)))}var Pn=S(4351),Wt=S(8505);function zn(p){return(0,Ee.e)(((m,f)=>{let j,b=null,A=!1;b=m.subscribe(new ye.Q(f,void 0,void 0,(fe=>{j=(0,Xe.Xf)(p(fe,zn(p)(m))),b?(b.unsubscribe(),b=null,j.subscribe(f)):A=!0}))),A&&(b.unsubscribe(),b=null,j.subscribe(f))}))}function Ir(p,m,f,b,A){return(j,fe)=>{let be=f,et=m,xt=0;j.subscribe(new ye.Q(fe,(yn=>{const g=xt++;et=be?p(et,yn,g):(be=!0,yn),b&&fe.next(et)}),A&&(()=>{be&&fe.next(et),fe.complete()})))}}function Cr(p,m){return(0,Ee.e)(Ir(p,m,arguments.length>=2,!0))}function er(p){return p<=0?()=>lt.E:(0,Ee.e)(((m,f)=>{let b=[];m.subscribe(new ye.Q(f,(A=>{b.push(A),p<b.length&&b.shift()}),(()=>{for(const A of b)f.next(A);f.complete()}),void 0,(()=>{b=null})))}))}function ui(p,m){const f=arguments.length>=2;return b=>b.pipe(p?(0,xn.h)(((A,j)=>p(A,j,b))):ve.y,er(1),f?_n(m):xr((()=>new de)))}var Vn=S(8746),vr=S(8189),ci=S(1481);const Kt="primary",Wn=Symbol("RouteTitle");class $r{constructor(m){this.params=m||{}}has(m){return Object.prototype.hasOwnProperty.call(this.params,m)}get(m){if(this.has(m)){const f=this.params[m];return Array.isArray(f)?f[0]:f}return null}getAll(m){if(this.has(m)){const f=this.params[m];return Array.isArray(f)?f:[f]}return[]}get keys(){return Object.keys(this.params)}}function fn(p){return new $r(p)}function Me(p,m,f){const b=f.path.split("/");if(b.length>p.length||"full"===f.pathMatch&&(m.hasChildren()||b.length<p.length))return null;const A={};for(let j=0;j<b.length;j++){const fe=b[j],be=p[j];if(fe.startsWith(":"))A[fe.substring(1)]=be;else if(fe!==be.path)return null}return{consumed:p.slice(0,b.length),posParams:A}}function je(p,m){const f=p?Object.keys(p):void 0,b=m?Object.keys(m):void 0;if(!f||!b||f.length!=b.length)return!1;let A;for(let j=0;j<f.length;j++)if(A=f[j],!qe(p[A],m[A]))return!1;return!0}function qe(p,m){if(Array.isArray(p)&&Array.isArray(m)){if(p.length!==m.length)return!1;const f=[...p].sort(),b=[...m].sort();return f.every(((A,j)=>b[j]===A))}return p===m}function De(p){return Array.prototype.concat.apply([],p)}function J(p){return p.length>0?p[p.length-1]:null}function xe(p,m){for(const f in p)p.hasOwnProperty(f)&&m(p[f],f)}function ze(p){return(0,r.CqO)(p)?p:(0,r.QGY)(p)?(0,v.D)(Promise.resolve(p)):(0,G.of)(p)}const qt={exact:function vn(p,m,f){if(!Ft(p.segments,m.segments)||!Ot(p.segments,m.segments,f)||p.numberOfChildren!==m.numberOfChildren)return!1;for(const b in m.children)if(!p.children[b]||!vn(p.children[b],m.children[b],f))return!1;return!0},subset:Pt},Ct={exact:function Xt(p,m){return je(p,m)},subset:function Vt(p,m){return Object.keys(m).length<=Object.keys(p).length&&Object.keys(m).every((f=>qe(p[f],m[f])))},ignored:()=>!0};function Mt(p,m,f){return qt[f.paths](p.root,m.root,f.matrixParams)&&Ct[f.queryParams](p.queryParams,m.queryParams)&&!("exact"===f.fragment&&p.fragment!==m.fragment)}function Pt(p,m,f){return It(p,m,m.segments,f)}function It(p,m,f,b){if(p.segments.length>f.length){const A=p.segments.slice(0,f.length);return!(!Ft(A,f)||m.hasChildren()||!Ot(A,f,b))}if(p.segments.length===f.length){if(!Ft(p.segments,f)||!Ot(p.segments,f,b))return!1;for(const A in m.children)if(!p.children[A]||!Pt(p.children[A],m.children[A],b))return!1;return!0}{const A=f.slice(0,p.segments.length),j=f.slice(p.segments.length);return!!(Ft(p.segments,A)&&Ot(p.segments,A,b)&&p.children[Kt])&&It(p.children[Kt],m,j,b)}}function Ot(p,m,f){return m.every(((b,A)=>Ct[f](p[A].parameters,b.parameters)))}class Jt{constructor(m,f,b){this.root=m,this.queryParams=f,this.fragment=b}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=fn(this.queryParams)),this._queryParamMap}toString(){return on.serialize(this)}}class Dt{constructor(m,f){this.segments=m,this.children=f,this.parent=null,xe(f,((b,A)=>b.parent=this))}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return qn(this)}}class pn{constructor(m,f){this.path=m,this.parameters=f}get parameterMap(){return this._parameterMap||(this._parameterMap=fn(this.parameters)),this._parameterMap}toString(){return X(this)}}function Ft(p,m){return p.length===m.length&&p.every(((f,b)=>f.path===m[b].path))}let Nt=(()=>{class p{}return p.ɵfac=function(f){return new(f||p)},p.ɵprov=r.Yz7({token:p,factory:function(){return new dn},providedIn:"root"}),p})();class dn{parse(m){const f=new St(m);return new Jt(f.parseRootSegment(),f.parseQueryParams(),f.parseFragment())}serialize(m){const f=`/${yr(m.root,!0)}`,b=function he(p){const m=Object.keys(p).map((f=>{const b=p[f];return Array.isArray(b)?b.map((A=>`${gn(f)}=${gn(A)}`)).join("&"):`${gn(f)}=${gn(b)}`})).filter((f=>!!f));return m.length?`?${m.join("&")}`:""}(m.queryParams);return`${f}${b}${"string"==typeof m.fragment?`#${function Tr(p){return encodeURI(p)}(m.fragment)}`:""}`}}const on=new dn;function qn(p){return p.segments.map((m=>X(m))).join("/")}function yr(p,m){if(!p.hasChildren())return qn(p);if(m){const f=p.children[Kt]?yr(p.children[Kt],!1):"",b=[];return xe(p.children,((A,j)=>{j!==Kt&&b.push(`${j}:${yr(A,!1)}`)})),b.length>0?`${f}(${b.join("//")})`:f}{const f=function In(p,m){let f=[];return xe(p.children,((b,A)=>{A===Kt&&(f=f.concat(m(b,A)))})),xe(p.children,((b,A)=>{A!==Kt&&(f=f.concat(m(b,A)))})),f}(p,((b,A)=>A===Kt?[yr(p.children[Kt],!1)]:[`${A}:${yr(b,!1)}`]));return 1===Object.keys(p.children).length&&null!=p.children[Kt]?`${qn(p)}/${f[0]}`:`${qn(p)}/(${f.join("//")})`}}function Yn(p){return encodeURIComponent(p).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function gn(p){return Yn(p).replace(/%3B/gi,";")}function Qt(p){return Yn(p).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ae(p){return decodeURIComponent(p)}function me(p){return Ae(p.replace(/\+/g,"%20"))}function X(p){return`${Qt(p.path)}${function U(p){return Object.keys(p).map((m=>`;${Qt(m)}=${Qt(p[m])}`)).join("")}(p.parameters)}`}const Ue=/^[^\/()?;=#]+/;function st(p){const m=p.match(Ue);return m?m[0]:""}const jt=/^[^=?&#]+/,bt=/^[^&#]+/;class St{constructor(m){this.url=m,this.remaining=m}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Dt([],{}):new Dt([],this.parseChildren())}parseQueryParams(){const m={};if(this.consumeOptional("?"))do{this.parseQueryParam(m)}while(this.consumeOptional("&"));return m}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const m=[];for(this.peekStartsWith("(")||m.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),m.push(this.parseSegment());let f={};this.peekStartsWith("/(")&&(this.capture("/"),f=this.parseParens(!0));let b={};return this.peekStartsWith("(")&&(b=this.parseParens(!1)),(m.length>0||Object.keys(f).length>0)&&(b[Kt]=new Dt(m,f)),b}parseSegment(){const m=st(this.remaining);if(""===m&&this.peekStartsWith(";"))throw new r.vHH(4009,!1);return this.capture(m),new pn(Ae(m),this.parseMatrixParams())}parseMatrixParams(){const m={};for(;this.consumeOptional(";");)this.parseParam(m);return m}parseParam(m){const f=st(this.remaining);if(!f)return;this.capture(f);let b="";if(this.consumeOptional("=")){const A=st(this.remaining);A&&(b=A,this.capture(b))}m[Ae(f)]=Ae(b)}parseQueryParam(m){const f=function ut(p){const m=p.match(jt);return m?m[0]:""}(this.remaining);if(!f)return;this.capture(f);let b="";if(this.consumeOptional("=")){const fe=function Ye(p){const m=p.match(bt);return m?m[0]:""}(this.remaining);fe&&(b=fe,this.capture(b))}const A=me(f),j=me(b);if(m.hasOwnProperty(A)){let fe=m[A];Array.isArray(fe)||(fe=[fe],m[A]=fe),fe.push(j)}else m[A]=j}parseParens(m){const f={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const b=st(this.remaining),A=this.remaining[b.length];if("/"!==A&&")"!==A&&";"!==A)throw new r.vHH(4010,!1);let j;b.indexOf(":")>-1?(j=b.slice(0,b.indexOf(":")),this.capture(j),this.capture(":")):m&&(j=Kt);const fe=this.parseChildren();f[j]=1===Object.keys(fe).length?fe[Kt]:new Dt([],fe),this.consumeOptional("//")}return f}peekStartsWith(m){return this.remaining.startsWith(m)}consumeOptional(m){return!!this.peekStartsWith(m)&&(this.remaining=this.remaining.substring(m.length),!0)}capture(m){if(!this.consumeOptional(m))throw new r.vHH(4011,!1)}}function At(p){return p.segments.length>0?new Dt([],{[Kt]:p}):p}function $t(p){const m={};for(const b of Object.keys(p.children)){const j=$t(p.children[b]);(j.segments.length>0||j.hasChildren())&&(m[b]=j)}return function F(p){if(1===p.numberOfChildren&&p.children[Kt]){const m=p.children[Kt];return new Dt(p.segments.concat(m.segments),m.children)}return p}(new Dt(p.segments,m))}function B(p){return p instanceof Jt}const $=!1;function w(p,m,f,b,A){if(0===f.length)return Ve(m.root,m.root,m.root,b,A);const j=function Ut(p){if("string"==typeof p[0]&&1===p.length&&"/"===p[0])return new en(!0,0,p);let m=0,f=!1;const b=p.reduce(((A,j,fe)=>{if("object"==typeof j&&null!=j){if(j.outlets){const be={};return xe(j.outlets,((et,xt)=>{be[xt]="string"==typeof et?et.split("/"):et})),[...A,{outlets:be}]}if(j.segmentPath)return[...A,j.segmentPath]}return"string"!=typeof j?[...A,j]:0===fe?(j.split("/").forEach(((be,et)=>{0==et&&"."===be||(0==et&&""===be?f=!0:".."===be?m++:""!=be&&A.push(be))})),A):[...A,j]}),[]);return new en(f,m,b)}(f);return j.toRoot()?Ve(m.root,m.root,new Dt([],{}),b,A):function fe(et){const xt=function tr(p,m,f,b){if(p.isAbsolute)return new nn(m.root,!0,0);if(-1===b)return new nn(f,f===m.root,0);return function ir(p,m,f){let b=p,A=m,j=f;for(;j>A;){if(j-=A,b=b.parent,!b)throw new r.vHH(4005,$);A=b.segments.length}return new nn(b,!1,A-j)}(f,b+(L(p.commands[0])?0:1),p.numberOfDoubleDots)}(j,m,p.snapshot?._urlSegment,et),yn=xt.processChildren?Er(xt.segmentGroup,xt.index,j.commands):kr(xt.segmentGroup,xt.index,j.commands);return Ve(m.root,xt.segmentGroup,yn,b,A)}(p.snapshot?._lastPathIndex)}function L(p){return"object"==typeof p&&null!=p&&!p.outlets&&!p.segmentPath}function _e(p){return"object"==typeof p&&null!=p&&p.outlets}function Ve(p,m,f,b,A){let fe,j={};b&&xe(b,((et,xt)=>{j[xt]=Array.isArray(et)?et.map((yn=>`${yn}`)):`${et}`})),fe=p===m?f:at(p,m,f);const be=At($t(fe));return new Jt(be,j,A)}function at(p,m,f){const b={};return xe(p.children,((A,j)=>{b[j]=A===m?f:at(A,m,f)})),new Dt(p.segments,b)}class en{constructor(m,f,b){if(this.isAbsolute=m,this.numberOfDoubleDots=f,this.commands=b,m&&b.length>0&&L(b[0]))throw new r.vHH(4003,$);const A=b.find(_e);if(A&&A!==J(b))throw new r.vHH(4004,$)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class nn{constructor(m,f,b){this.segmentGroup=m,this.processChildren=f,this.index=b}}function kr(p,m,f){if(p||(p=new Dt([],{})),0===p.segments.length&&p.hasChildren())return Er(p,m,f);const b=function cr(p,m,f){let b=0,A=m;const j={match:!1,pathIndex:0,commandIndex:0};for(;A<p.segments.length;){if(b>=f.length)return j;const fe=p.segments[A],be=f[b];if(_e(be))break;const et=`${be}`,xt=b<f.length-1?f[b+1]:null;if(A>0&&void 0===et)break;if(et&&xt&&"object"==typeof xt&&void 0===xt.outlets){if(!wo(et,xt,fe))return j;b+=2}else{if(!wo(et,{},fe))return j;b++}A++}return{match:!0,pathIndex:A,commandIndex:b}}(p,m,f),A=f.slice(b.commandIndex);if(b.match&&b.pathIndex<p.segments.length){const j=new Dt(p.segments.slice(0,b.pathIndex),{});return j.children[Kt]=new Dt(p.segments.slice(b.pathIndex),p.children),Er(j,0,A)}return b.match&&0===A.length?new Dt(p.segments,{}):b.match&&!p.hasChildren()?ro(p,m,f):b.match?Er(p,0,A):ro(p,m,f)}function Er(p,m,f){if(0===f.length)return new Dt(p.segments,{});{const b=function br(p){return _e(p[0])?p[0].outlets:{[Kt]:p}}(f),A={};return xe(b,((j,fe)=>{"string"==typeof j&&(j=[j]),null!==j&&(A[fe]=kr(p.children[fe],m,j))})),xe(p.children,((j,fe)=>{void 0===b[fe]&&(A[fe]=j)})),new Dt(p.segments,A)}}function ro(p,m,f){const b=p.segments.slice(0,m);let A=0;for(;A<f.length;){const j=f[A];if(_e(j)){const et=Kr(j.outlets);return new Dt(b,et)}if(0===A&&L(f[0])){b.push(new pn(p.segments[m].path,qr(f[0]))),A++;continue}const fe=_e(j)?j.outlets[Kt]:`${j}`,be=A<f.length-1?f[A+1]:null;fe&&be&&L(be)?(b.push(new pn(fe,qr(be))),A+=2):(b.push(new pn(fe,{})),A++)}return new Dt(b,{})}function Kr(p){const m={};return xe(p,((f,b)=>{"string"==typeof f&&(f=[f]),null!==f&&(m[b]=ro(new Dt([],{}),0,f))})),m}function qr(p){const m={};return xe(p,((f,b)=>m[b]=`${f}`)),m}function wo(p,m,f){return p==f.path&&je(m,f.parameters)}class Hr{constructor(m,f){this.id=m,this.url=f}}class wi extends Hr{constructor(m,f,b="imperative",A=null){super(m,f),this.type=0,this.navigationTrigger=b,this.restoredState=A}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Lr extends Hr{constructor(m,f,b){super(m,f),this.urlAfterRedirects=b,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Pr extends Hr{constructor(m,f,b,A){super(m,f),this.reason=b,this.code=A,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class ws extends Hr{constructor(m,f,b,A){super(m,f),this.error=b,this.target=A,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Xs extends Hr{constructor(m,f,b,A){super(m,f),this.urlAfterRedirects=b,this.state=A,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class bs extends Hr{constructor(m,f,b,A){super(m,f),this.urlAfterRedirects=b,this.state=A,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ea extends Hr{constructor(m,f,b,A,j){super(m,f),this.urlAfterRedirects=b,this.state=A,this.shouldActivate=j,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Ki extends Hr{constructor(m,f,b,A){super(m,f),this.urlAfterRedirects=b,this.state=A,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class as extends Hr{constructor(m,f,b,A){super(m,f),this.urlAfterRedirects=b,this.state=A,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Vo{constructor(m){this.route=m,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Ho{constructor(m){this.route=m,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Da{constructor(m){this.snapshot=m,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ta{constructor(m){this.snapshot=m,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class na{constructor(m){this.snapshot=m,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Es{constructor(m){this.snapshot=m,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ra{constructor(m,f,b){this.routerEvent=m,this.position=f,this.anchor=b,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class ia{constructor(m){this._root=m}get root(){return this._root.value}parent(m){const f=this.pathFromRoot(m);return f.length>1?f[f.length-2]:null}children(m){const f=Vi(m,this._root);return f?f.children.map((b=>b.value)):[]}firstChild(m){const f=Vi(m,this._root);return f&&f.children.length>0?f.children[0].value:null}siblings(m){const f=bo(m,this._root);return f.length<2?[]:f[f.length-2].children.map((A=>A.value)).filter((A=>A!==m))}pathFromRoot(m){return bo(m,this._root).map((f=>f.value))}}function Vi(p,m){if(p===m.value)return m;for(const f of m.children){const b=Vi(p,f);if(b)return b}return null}function bo(p,m){if(p===m.value)return[m];for(const f of m.children){const b=bo(p,f);if(b.length)return b.unshift(m),b}return[]}class ii{constructor(m,f){this.value=m,this.children=f}toString(){return`TreeNode(${this.value})`}}function Hi(p){const m={};return p&&p.children.forEach((f=>m[f.value.outlet]=f)),m}class Ds extends ia{constructor(m,f){super(m),this.snapshot=f,$o(this,m)}toString(){return this.snapshot.toString()}}function Ms(p,m){const f=function gr(p,m){const fe=new uo([],{},{},"",{},Kt,m,null,p.root,-1,{});return new jo("",new ii(fe,[]))}(p,m),b=new Q.X([new pn("",{})]),A=new Q.X({}),j=new Q.X({}),fe=new Q.X({}),be=new Q.X(""),et=new Cn(b,A,fe,be,j,Kt,m,f.root);return et.snapshot=f.root,new Ds(new ii(et,[]),f)}class Cn{constructor(m,f,b,A,j,fe,be,et){this.url=m,this.params=f,this.queryParams=b,this.fragment=A,this.data=j,this.outlet=fe,this.component=be,this.title=this.data?.pipe((0,we.U)((xt=>xt[Wn])))??(0,G.of)(void 0),this._futureSnapshot=et}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,we.U)((m=>fn(m))))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,we.U)((m=>fn(m))))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Ss(p,m="emptyOnly"){const f=p.pathFromRoot;let b=0;if("always"!==m)for(b=f.length-1;b>=1;){const A=f[b],j=f[b-1];if(A.routeConfig&&""===A.routeConfig.path)b--;else{if(j.component)break;b--}}return function Ts(p){return p.reduce(((m,f)=>({params:{...m.params,...f.params},data:{...m.data,...f.data},resolve:{...f.data,...m.resolve,...f.routeConfig?.data,...f._resolvedData}})),{params:{},data:{},resolve:{}})}(f.slice(b))}class uo{constructor(m,f,b,A,j,fe,be,et,xt,yn,g,c){this.url=m,this.params=f,this.queryParams=b,this.fragment=A,this.data=j,this.outlet=fe,this.component=be,this.title=this.data?.[Wn],this.routeConfig=et,this._urlSegment=xt,this._lastPathIndex=yn,this._correctedLastPathIndex=c??yn,this._resolve=g}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=fn(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=fn(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map((b=>b.toString())).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class jo extends ia{constructor(m,f){super(f),this.url=m,$o(this,f)}toString(){return co(this._root)}}function $o(p,m){m.value._routerState=p,m.children.forEach((f=>$o(p,f)))}function co(p){const m=p.children.length>0?` { ${p.children.map(co).join(", ")} } `:"";return`${p.value}${m}`}function Eo(p){if(p.snapshot){const m=p.snapshot,f=p._futureSnapshot;p.snapshot=f,je(m.queryParams,f.queryParams)||p.queryParams.next(f.queryParams),m.fragment!==f.fragment&&p.fragment.next(f.fragment),je(m.params,f.params)||p.params.next(f.params),function $e(p,m){if(p.length!==m.length)return!1;for(let f=0;f<p.length;++f)if(!je(p[f],m[f]))return!1;return!0}(m.url,f.url)||p.url.next(f.url),je(m.data,f.data)||p.data.next(f.data)}else p.snapshot=p._futureSnapshot,p.data.next(p._futureSnapshot.data)}function Go(p,m){const f=je(p.params,m.params)&&function cn(p,m){return Ft(p,m)&&p.every(((f,b)=>je(f.parameters,m[b].parameters)))}(p.url,m.url);return f&&!(!p.parent!=!m.parent)&&(!p.parent||Go(p.parent,m.parent))}function bi(p,m,f){if(f&&p.shouldReuseRoute(m.value,f.value.snapshot)){const b=f.value;b._futureSnapshot=m.value;const A=function ei(p,m,f){return m.children.map((b=>{for(const A of f.children)if(p.shouldReuseRoute(b.value,A.value.snapshot))return bi(p,b,A);return bi(p,b)}))}(p,m,f);return new ii(b,A)}{if(p.shouldAttach(m.value)){const j=p.retrieve(m.value);if(null!==j){const fe=j.route;return fe.value._futureSnapshot=m.value,fe.children=m.children.map((be=>bi(p,be))),fe}}const b=function zo(p){return new Cn(new Q.X(p.url),new Q.X(p.params),new Q.X(p.queryParams),new Q.X(p.fragment),new Q.X(p.data),p.outlet,p.component,p)}(m.value),A=m.children.map((j=>bi(p,j)));return new ii(b,A)}}const Do="ngNavigationCancelingError";function Gr(p,m){const{redirectTo:f,navigationBehaviorOptions:b}=B(m)?{redirectTo:m,navigationBehaviorOptions:void 0}:m,A=Wo(!1,0,m);return A.url=f,A.navigationBehaviorOptions=b,A}function Wo(p,m,f){const b=new Error("NavigationCancelingError: "+(p||""));return b[Do]=!0,b.cancellationCode=m,f&&(b.url=f),b}function Ps(p){return mr(p)&&B(p.url)}function mr(p){return p&&p[Do]}class ls{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new ho,this.attachRef=null}}let ho=(()=>{class p{constructor(){this.contexts=new Map}onChildOutletCreated(f,b){const A=this.getOrCreateContext(f);A.outlet=b,this.contexts.set(f,A)}onChildOutletDestroyed(f){const b=this.getContext(f);b&&(b.outlet=null,b.attachRef=null)}onOutletDeactivated(){const f=this.contexts;return this.contexts=new Map,f}onOutletReAttached(f){this.contexts=f}getOrCreateContext(f){let b=this.getContext(f);return b||(b=new ls,this.contexts.set(f,b)),b}getContext(f){return this.contexts.get(f)||null}}return p.ɵfac=function(f){return new(f||p)},p.ɵprov=r.Yz7({token:p,factory:p.ɵfac,providedIn:"root"}),p})();const Ei=!1;let dr=(()=>{class p{constructor(f,b,A,j,fe){this.parentContexts=f,this.location=b,this.changeDetector=j,this.environmentInjector=fe,this.activated=null,this._activatedRoute=null,this.activateEvents=new r.vpe,this.deactivateEvents=new r.vpe,this.attachEvents=new r.vpe,this.detachEvents=new r.vpe,this.name=A||Kt,f.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.getContext(this.name)?.outlet===this&&this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const f=this.parentContexts.getContext(this.name);f&&f.route&&(f.attachRef?this.attach(f.attachRef,f.route):this.activateWith(f.route,f.injector))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new r.vHH(4012,Ei);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new r.vHH(4012,Ei);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new r.vHH(4012,Ei);this.location.detach();const f=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(f.instance),f}attach(f,b){this.activated=f,this._activatedRoute=b,this.location.insert(f.hostView),this.attachEvents.emit(f.instance)}deactivate(){if(this.activated){const f=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(f)}}activateWith(f,b){if(this.isActivated)throw new r.vHH(4013,Ei);this._activatedRoute=f;const A=this.location,fe=f._futureSnapshot.component,be=this.parentContexts.getOrCreateContext(this.name).children,et=new Os(f,be,A.injector);if(b&&function oi(p){return!!p.resolveComponentFactory}(b)){const xt=b.resolveComponentFactory(fe);this.activated=A.createComponent(xt,A.length,et)}else this.activated=A.createComponent(fe,{index:A.length,injector:et,environmentInjector:b??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return p.ɵfac=function(f){return new(f||p)(r.Y36(ho),r.Y36(r.s_b),r.$8M("name"),r.Y36(r.sBO),r.Y36(r.lqb))},p.ɵdir=r.lG2({type:p,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0}),p})();class Os{constructor(m,f,b){this.route=m,this.childContexts=f,this.parent=b}get(m,f){return m===Cn?this.route:m===ho?this.childContexts:this.parent.get(m,f)}}let Ai=(()=>{class p{}return p.ɵfac=function(f){return new(f||p)},p.ɵcmp=r.Xpm({type:p,selectors:[["ng-component"]],standalone:!0,features:[r.jDz],decls:1,vars:0,template:function(f,b){1&f&&r._UZ(0,"router-outlet")},dependencies:[dr],encapsulation:2}),p})();function Ur(p,m){return p.providers&&!p._injector&&(p._injector=(0,r.MMx)(p.providers,m,`Route: ${p.path}`)),p._injector??m}function oa(p){const m=p.children&&p.children.map(oa),f=m?{...p,children:m}:{...p};return!f.component&&!f.loadComponent&&(m||f.loadChildren)&&f.outlet&&f.outlet!==Kt&&(f.component=Ai),f}function di(p){return p.outlet||Kt}function sa(p,m){const f=p.filter((b=>di(b)===m));return f.push(...p.filter((b=>di(b)!==m))),f}function fo(p){if(!p)return null;if(p.routeConfig?._injector)return p.routeConfig._injector;for(let m=p.parent;m;m=m.parent){const f=m.routeConfig;if(f?._loadedInjector)return f._loadedInjector;if(f?._injector)return f._injector}return null}class po{constructor(m,f,b,A){this.routeReuseStrategy=m,this.futureState=f,this.currState=b,this.forwardEvent=A}activate(m){const f=this.futureState._root,b=this.currState?this.currState._root:null;this.deactivateChildRoutes(f,b,m),Eo(this.futureState.root),this.activateChildRoutes(f,b,m)}deactivateChildRoutes(m,f,b){const A=Hi(f);m.children.forEach((j=>{const fe=j.value.outlet;this.deactivateRoutes(j,A[fe],b),delete A[fe]})),xe(A,((j,fe)=>{this.deactivateRouteAndItsChildren(j,b)}))}deactivateRoutes(m,f,b){const A=m.value,j=f?f.value:null;if(A===j)if(A.component){const fe=b.getContext(A.outlet);fe&&this.deactivateChildRoutes(m,f,fe.children)}else this.deactivateChildRoutes(m,f,b);else j&&this.deactivateRouteAndItsChildren(f,b)}deactivateRouteAndItsChildren(m,f){m.value.component&&this.routeReuseStrategy.shouldDetach(m.value.snapshot)?this.detachAndStoreRouteSubtree(m,f):this.deactivateRouteAndOutlet(m,f)}detachAndStoreRouteSubtree(m,f){const b=f.getContext(m.value.outlet),A=b&&m.value.component?b.children:f,j=Hi(m);for(const fe of Object.keys(j))this.deactivateRouteAndItsChildren(j[fe],A);if(b&&b.outlet){const fe=b.outlet.detach(),be=b.children.onOutletDeactivated();this.routeReuseStrategy.store(m.value.snapshot,{componentRef:fe,route:m,contexts:be})}}deactivateRouteAndOutlet(m,f){const b=f.getContext(m.value.outlet),A=b&&m.value.component?b.children:f,j=Hi(m);for(const fe of Object.keys(j))this.deactivateRouteAndItsChildren(j[fe],A);b&&b.outlet&&(b.outlet.deactivate(),b.children.onOutletDeactivated(),b.attachRef=null,b.resolver=null,b.route=null)}activateChildRoutes(m,f,b){const A=Hi(f);m.children.forEach((j=>{this.activateRoutes(j,A[j.value.outlet],b),this.forwardEvent(new Es(j.value.snapshot))})),m.children.length&&this.forwardEvent(new ta(m.value.snapshot))}activateRoutes(m,f,b){const A=m.value,j=f?f.value:null;if(Eo(A),A===j)if(A.component){const fe=b.getOrCreateContext(A.outlet);this.activateChildRoutes(m,f,fe.children)}else this.activateChildRoutes(m,f,b);else if(A.component){const fe=b.getOrCreateContext(A.outlet);if(this.routeReuseStrategy.shouldAttach(A.snapshot)){const be=this.routeReuseStrategy.retrieve(A.snapshot);this.routeReuseStrategy.store(A.snapshot,null),fe.children.onOutletReAttached(be.contexts),fe.attachRef=be.componentRef,fe.route=be.route.value,fe.outlet&&fe.outlet.attach(be.componentRef,be.route.value),Eo(be.route.value),this.activateChildRoutes(m,null,fe.children)}else{const be=fo(A.snapshot),et=be?.get(r._Vd)??null;fe.attachRef=null,fe.route=A,fe.resolver=et,fe.injector=be,fe.outlet&&fe.outlet.activateWith(A,fe.injector),this.activateChildRoutes(m,null,fe.children)}}else this.activateChildRoutes(m,null,b)}}class Di{constructor(m){this.path=m,this.route=this.path[this.path.length-1]}}class D{constructor(m,f){this.component=m,this.route=f}}function T(p,m,f){const b=p._root;return Qe(b,m?m._root:null,f,[b.value])}function Z(p,m){const f=Symbol(),b=m.get(p,f);return b===f?"function"!=typeof p||(0,r.Z0I)(p)?m.get(p):p:b}function Qe(p,m,f,b,A={canDeactivateChecks:[],canActivateChecks:[]}){const j=Hi(m);return p.children.forEach((fe=>{(function an(p,m,f,b,A={canDeactivateChecks:[],canActivateChecks:[]}){const j=p.value,fe=m?m.value:null,be=f?f.getContext(p.value.outlet):null;if(fe&&j.routeConfig===fe.routeConfig){const et=function En(p,m,f){if("function"==typeof f)return f(p,m);switch(f){case"pathParamsChange":return!Ft(p.url,m.url);case"pathParamsOrQueryParamsChange":return!Ft(p.url,m.url)||!je(p.queryParams,m.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Go(p,m)||!je(p.queryParams,m.queryParams);default:return!Go(p,m)}}(fe,j,j.routeConfig.runGuardsAndResolvers);et?A.canActivateChecks.push(new Di(b)):(j.data=fe.data,j._resolvedData=fe._resolvedData),Qe(p,m,j.component?be?be.children:null:f,b,A),et&&be&&be.outlet&&be.outlet.isActivated&&A.canDeactivateChecks.push(new D(be.outlet.component,fe))}else fe&&Or(m,be,A),A.canActivateChecks.push(new Di(b)),Qe(p,null,j.component?be?be.children:null:f,b,A)})(fe,j[fe.value.outlet],f,b.concat([fe.value]),A),delete j[fe.value.outlet]})),xe(j,((fe,be)=>Or(fe,f.getContext(be),A))),A}function Or(p,m,f){const b=Hi(p),A=p.value;xe(b,((j,fe)=>{Or(j,A.component?m?m.children.getContext(fe):null:m,f)})),f.canDeactivateChecks.push(new D(A.component&&m&&m.outlet&&m.outlet.isActivated?m.outlet.component:null,A))}function Ui(p){return"function"==typeof p}function Ri(p){return p instanceof de||"EmptyError"===p?.name}const Mi=Symbol("INITIAL_VALUE");function Zo(){return Le((p=>te(p.map((m=>m.pipe((0,mt.q)(1),(0,Rt.O)(Mi))))).pipe((0,we.U)((m=>{for(const f of m)if(!0!==f){if(f===Mi)return Mi;if(!1===f||f instanceof Jt)return f}return!0})),(0,xn.h)((m=>m!==Mi)),(0,mt.q)(1))))}function Ko(p){return(0,nt.z)((0,Wt.b)((m=>{if(B(m))throw Gr(0,m)})),(0,we.U)((m=>!0===m)))}const Fi={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Sa(p,m,f,b,A){const j=Ta(p,m,f);return j.matched?function qo(p,m,f,b){const A=m.canMatch;if(!A||0===A.length)return(0,G.of)(!0);const j=A.map((fe=>{const be=Z(fe,p);return ze(function hi(p){return p&&Ui(p.canMatch)}(be)?be.canMatch(m,f):p.runInContext((()=>be(m,f))))}));return(0,G.of)(j).pipe(Zo(),Ko())}(b=Ur(m,b),m,f).pipe((0,we.U)((fe=>!0===fe?j:{...Fi}))):(0,G.of)(j)}function Ta(p,m,f){if(""===m.path)return"full"===m.pathMatch&&(p.hasChildren()||f.length>0)?{...Fi}:{matched:!0,consumedSegments:[],remainingSegments:f,parameters:{},positionalParamSegments:{}};const A=(m.matcher||Me)(f,p,m);if(!A)return{...Fi};const j={};xe(A.posParams,((be,et)=>{j[et]=be.path}));const fe=A.consumed.length>0?{...j,...A.consumed[A.consumed.length-1].parameters}:j;return{matched:!0,consumedSegments:A.consumed,remainingSegments:f.slice(A.consumed.length),parameters:fe,positionalParamSegments:A.posParams??{}}}function hs(p,m,f,b,A="corrected"){if(f.length>0&&function _i(p,m,f){return f.some((b=>Ne(p,m,b)&&di(b)!==Kt))}(p,f,b)){const fe=new Dt(m,function Wa(p,m,f,b){const A={};A[Kt]=b,b._sourceSegment=p,b._segmentIndexShift=m.length;for(const j of f)if(""===j.path&&di(j)!==Kt){const fe=new Dt([],{});fe._sourceSegment=p,fe._segmentIndexShift=m.length,A[di(j)]=fe}return A}(p,m,b,new Dt(f,p.children)));return fe._sourceSegment=p,fe._segmentIndexShift=m.length,{segmentGroup:fe,slicedSegments:[]}}if(0===f.length&&function Ji(p,m,f){return f.some((b=>Ne(p,m,b)))}(p,f,b)){const fe=new Dt(p.segments,function cl(p,m,f,b,A,j){const fe={};for(const be of b)if(Ne(p,f,be)&&!A[di(be)]){const et=new Dt([],{});et._sourceSegment=p,et._segmentIndexShift="legacy"===j?p.segments.length:m.length,fe[di(be)]=et}return{...A,...fe}}(p,m,f,b,p.children,A));return fe._sourceSegment=p,fe._segmentIndexShift=m.length,{segmentGroup:fe,slicedSegments:f}}const j=new Dt(p.segments,p.children);return j._sourceSegment=p,j._segmentIndexShift=m.length,{segmentGroup:j,slicedSegments:f}}function Ne(p,m,f){return(!(p.hasChildren()||m.length>0)||"full"!==f.pathMatch)&&""===f.path}function ct(p,m,f,b){return!!(di(p)===b||b!==Kt&&Ne(m,f,p))&&("**"===p.path||Ta(m,p,f).matched)}function ot(p,m,f){return 0===m.length&&!p.children[f]}const Ht=!1;class Dn{constructor(m){this.segmentGroup=m||null}}class or{constructor(m){this.urlTree=m}}function Rr(p){return it(new Dn(p))}function ar(p){return it(new or(p))}class Is{constructor(m,f,b,A,j){this.injector=m,this.configLoader=f,this.urlSerializer=b,this.urlTree=A,this.config=j,this.allowRedirects=!0}apply(){const m=hs(this.urlTree.root,[],[],this.config).segmentGroup,f=new Dt(m.segments,m.children);return this.expandSegmentGroup(this.injector,this.config,f,Kt).pipe((0,we.U)((j=>this.createUrlTree($t(j),this.urlTree.queryParams,this.urlTree.fragment)))).pipe(zn((j=>{if(j instanceof or)return this.allowRedirects=!1,this.match(j.urlTree);throw j instanceof Dn?this.noMatchError(j):j})))}match(m){return this.expandSegmentGroup(this.injector,this.config,m.root,Kt).pipe((0,we.U)((A=>this.createUrlTree($t(A),m.queryParams,m.fragment)))).pipe(zn((A=>{throw A instanceof Dn?this.noMatchError(A):A})))}noMatchError(m){return new r.vHH(4002,Ht)}createUrlTree(m,f,b){const A=At(m);return new Jt(A,f,b)}expandSegmentGroup(m,f,b,A){return 0===b.segments.length&&b.hasChildren()?this.expandChildren(m,f,b).pipe((0,we.U)((j=>new Dt([],j)))):this.expandSegment(m,b,f,b.segments,A,!0)}expandChildren(m,f,b){const A=[];for(const j of Object.keys(b.children))"primary"===j?A.unshift(j):A.push(j);return(0,v.D)(A).pipe((0,Pn.b)((j=>{const fe=b.children[j],be=sa(f,j);return this.expandSegmentGroup(m,be,fe,j).pipe((0,we.U)((et=>({segment:et,outlet:j}))))})),Cr(((j,fe)=>(j[fe.outlet]=fe.segment,j)),{}),ui())}expandSegment(m,f,b,A,j,fe){return(0,v.D)(b).pipe((0,Pn.b)((be=>this.expandSegmentAgainstRoute(m,f,b,be,A,j,fe).pipe(zn((xt=>{if(xt instanceof Dn)return(0,G.of)(null);throw xt}))))),Kn((be=>!!be)),zn(((be,et)=>{if(Ri(be))return ot(f,A,j)?(0,G.of)(new Dt([],{})):Rr(f);throw be})))}expandSegmentAgainstRoute(m,f,b,A,j,fe,be){return ct(A,f,j,fe)?void 0===A.redirectTo?this.matchSegmentAgainstRoute(m,f,A,j,fe):be&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(m,f,b,A,j,fe):Rr(f):Rr(f)}expandSegmentAgainstRouteUsingRedirect(m,f,b,A,j,fe){return"**"===A.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(m,b,A,fe):this.expandRegularSegmentAgainstRouteUsingRedirect(m,f,b,A,j,fe)}expandWildCardWithParamsAgainstRouteUsingRedirect(m,f,b,A){const j=this.applyRedirectCommands([],b.redirectTo,{});return b.redirectTo.startsWith("/")?ar(j):this.lineralizeSegments(b,j).pipe((0,zt.z)((fe=>{const be=new Dt(fe,{});return this.expandSegment(m,be,f,fe,A,!1)})))}expandRegularSegmentAgainstRouteUsingRedirect(m,f,b,A,j,fe){const{matched:be,consumedSegments:et,remainingSegments:xt,positionalParamSegments:yn}=Ta(f,A,j);if(!be)return Rr(f);const g=this.applyRedirectCommands(et,A.redirectTo,yn);return A.redirectTo.startsWith("/")?ar(g):this.lineralizeSegments(A,g).pipe((0,zt.z)((c=>this.expandSegment(m,f,b,c.concat(xt),fe,!1))))}matchSegmentAgainstRoute(m,f,b,A,j){return"**"===b.path?(m=Ur(b,m),b.loadChildren?(b._loadedRoutes?(0,G.of)({routes:b._loadedRoutes,injector:b._loadedInjector}):this.configLoader.loadChildren(m,b)).pipe((0,we.U)((be=>(b._loadedRoutes=be.routes,b._loadedInjector=be.injector,new Dt(A,{}))))):(0,G.of)(new Dt(A,{}))):Sa(f,b,A,m).pipe(Le((({matched:fe,consumedSegments:be,remainingSegments:et})=>fe?this.getChildConfig(m=b._injector??m,b,A).pipe((0,zt.z)((yn=>{const g=yn.injector??m,c=yn.routes,{segmentGroup:u,slicedSegments:_}=hs(f,be,et,c),R=new Dt(u.segments,u.children);if(0===_.length&&R.hasChildren())return this.expandChildren(g,c,R).pipe((0,we.U)((Ke=>new Dt(be,Ke))));if(0===c.length&&0===_.length)return(0,G.of)(new Dt(be,{}));const Y=di(b)===j;return this.expandSegment(g,R,c,_,Y?Kt:j,!0).pipe((0,we.U)((Pe=>new Dt(be.concat(Pe.segments),Pe.children))))}))):Rr(f))))}getChildConfig(m,f,b){return f.children?(0,G.of)({routes:f.children,injector:m}):f.loadChildren?void 0!==f._loadedRoutes?(0,G.of)({routes:f._loadedRoutes,injector:f._loadedInjector}):function xs(p,m,f,b){const A=m.canLoad;if(void 0===A||0===A.length)return(0,G.of)(!0);const j=A.map((fe=>{const be=Z(fe,p);return ze(function ji(p){return p&&Ui(p.canLoad)}(be)?be.canLoad(m,f):p.runInContext((()=>be(m,f))))}));return(0,G.of)(j).pipe(Zo(),Ko())}(m,f,b).pipe((0,zt.z)((A=>A?this.configLoader.loadChildren(m,f).pipe((0,Wt.b)((j=>{f._loadedRoutes=j.routes,f._loadedInjector=j.injector}))):function ca(p){return it(Wo(Ht,3))}()))):(0,G.of)({routes:[],injector:m})}lineralizeSegments(m,f){let b=[],A=f.root;for(;;){if(b=b.concat(A.segments),0===A.numberOfChildren)return(0,G.of)(b);if(A.numberOfChildren>1||!A.children[Kt])return it(new r.vHH(4e3,Ht));A=A.children[Kt]}}applyRedirectCommands(m,f,b){return this.applyRedirectCreateUrlTree(f,this.urlSerializer.parse(f),m,b)}applyRedirectCreateUrlTree(m,f,b,A){const j=this.createSegmentGroup(m,f.root,b,A);return new Jt(j,this.createQueryParams(f.queryParams,this.urlTree.queryParams),f.fragment)}createQueryParams(m,f){const b={};return xe(m,((A,j)=>{if("string"==typeof A&&A.startsWith(":")){const be=A.substring(1);b[j]=f[be]}else b[j]=A})),b}createSegmentGroup(m,f,b,A){const j=this.createSegments(m,f.segments,b,A);let fe={};return xe(f.children,((be,et)=>{fe[et]=this.createSegmentGroup(m,be,b,A)})),new Dt(j,fe)}createSegments(m,f,b,A){return f.map((j=>j.path.startsWith(":")?this.findPosParam(m,j,A):this.findOrReturn(j,b)))}findPosParam(m,f,b){const A=b[f.path.substring(1)];if(!A)throw new r.vHH(4001,Ht);return A}findOrReturn(m,f){let b=0;for(const A of f){if(A.path===m.path)return f.splice(b),A;b++}return m}}class Oo{}class M{constructor(m,f,b,A,j,fe,be,et){this.injector=m,this.rootComponentType=f,this.config=b,this.urlTree=A,this.url=j,this.paramsInheritanceStrategy=fe,this.relativeLinkResolution=be,this.urlSerializer=et}recognize(){const m=hs(this.urlTree.root,[],[],this.config.filter((f=>void 0===f.redirectTo)),this.relativeLinkResolution).segmentGroup;return this.processSegmentGroup(this.injector,this.config,m,Kt).pipe((0,we.U)((f=>{if(null===f)return null;const b=new uo([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Kt,this.rootComponentType,null,this.urlTree.root,-1,{}),A=new ii(b,f),j=new jo(this.url,A);return this.inheritParamsAndData(j._root),j})))}inheritParamsAndData(m){const f=m.value,b=Ss(f,this.paramsInheritanceStrategy);f.params=Object.freeze(b.params),f.data=Object.freeze(b.data),m.children.forEach((A=>this.inheritParamsAndData(A)))}processSegmentGroup(m,f,b,A){return 0===b.segments.length&&b.hasChildren()?this.processChildren(m,f,b):this.processSegment(m,f,b,b.segments,A)}processChildren(m,f,b){return(0,v.D)(Object.keys(b.children)).pipe((0,Pn.b)((A=>{const j=b.children[A],fe=sa(f,A);return this.processSegmentGroup(m,fe,j,A)})),Cr(((A,j)=>A&&j?(A.push(...j),A):null)),function wr(p,m=!1){return(0,Ee.e)(((f,b)=>{let A=0;f.subscribe(new ye.Q(b,(j=>{const fe=p(j,A++);(fe||m)&&b.next(j),!fe&&b.complete()})))}))}((A=>null!==A)),_n(null),ui(),(0,we.U)((A=>{if(null===A)return null;const j=gt(A);return function z(p){p.sort(((m,f)=>m.value.outlet===Kt?-1:f.value.outlet===Kt?1:m.value.outlet.localeCompare(f.value.outlet)))}(j),j})))}processSegment(m,f,b,A,j){return(0,v.D)(f).pipe((0,Pn.b)((fe=>this.processSegmentAgainstRoute(fe._injector??m,fe,b,A,j))),Kn((fe=>!!fe)),zn((fe=>{if(Ri(fe))return ot(b,A,j)?(0,G.of)([]):(0,G.of)(null);throw fe})))}processSegmentAgainstRoute(m,f,b,A,j){if(f.redirectTo||!ct(f,b,A,j))return(0,G.of)(null);let fe;if("**"===f.path){const be=A.length>0?J(A).parameters:{},et=kn(b)+A.length,xt=new uo(A,be,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Ln(f),di(f),f.component??f._loadedComponent??null,f,Gn(b),et,Dr(f),et);fe=(0,G.of)({snapshot:xt,consumedSegments:[],remainingSegments:[]})}else fe=Sa(b,f,A,m).pipe((0,we.U)((({matched:be,consumedSegments:et,remainingSegments:xt,parameters:yn})=>{if(!be)return null;const g=kn(b)+et.length;return{snapshot:new uo(et,yn,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Ln(f),di(f),f.component??f._loadedComponent??null,f,Gn(b),g,Dr(f),g),consumedSegments:et,remainingSegments:xt}})));return fe.pipe(Le((be=>{if(null===be)return(0,G.of)(null);const{snapshot:et,consumedSegments:xt,remainingSegments:yn}=be;m=f._injector??m;const g=f._loadedInjector??m,c=function Te(p){return p.children?p.children:p.loadChildren?p._loadedRoutes:[]}(f),{segmentGroup:u,slicedSegments:_}=hs(b,xt,yn,c.filter((Y=>void 0===Y.redirectTo)),this.relativeLinkResolution);if(0===_.length&&u.hasChildren())return this.processChildren(g,c,u).pipe((0,we.U)((Y=>null===Y?null:[new ii(et,Y)])));if(0===c.length&&0===_.length)return(0,G.of)([new ii(et,[])]);const R=di(f)===j;return this.processSegment(g,c,u,_,R?Kt:j).pipe((0,we.U)((Y=>null===Y?null:[new ii(et,Y)])))})))}}function rt(p){const m=p.value.routeConfig;return m&&""===m.path&&void 0===m.redirectTo}function gt(p){const m=[],f=new Set;for(const b of p){if(!rt(b)){m.push(b);continue}const A=m.find((j=>b.value.routeConfig===j.value.routeConfig));void 0!==A?(A.children.push(...b.children),f.add(A)):m.push(b)}for(const b of f){const A=gt(b.children);m.push(new ii(b.value,A))}return m.filter((b=>!f.has(b)))}function Gn(p){let m=p;for(;m._sourceSegment;)m=m._sourceSegment;return m}function kn(p){let m=p,f=m._segmentIndexShift??0;for(;m._sourceSegment;)m=m._sourceSegment,f+=m._segmentIndexShift??0;return f-1}function Ln(p){return p.data||{}}function Dr(p){return p.resolve||{}}function Qo(p){return"string"==typeof p.title||null===p.title}function ps(p){return Le((m=>{const f=p(m);return f?(0,v.D)(f).pipe((0,we.U)((()=>m))):(0,G.of)(m)}))}let da=(()=>{class p{buildTitle(f){let b,A=f.root;for(;void 0!==A;)b=this.getResolvedTitleForRoute(A)??b,A=A.children.find((j=>j.outlet===Kt));return b}getResolvedTitleForRoute(f){return f.data[Wn]}}return p.ɵfac=function(f){return new(f||p)},p.ɵprov=r.Yz7({token:p,factory:function(){return(0,r.f3M)(Ul)},providedIn:"root"}),p})(),Ul=(()=>{class p extends da{constructor(f){super(),this.title=f}updateTitle(f){const b=this.buildTitle(f);void 0!==b&&this.title.setTitle(b)}}return p.ɵfac=function(f){return new(f||p)(r.LFG(ci.Dx))},p.ɵprov=r.Yz7({token:p,factory:p.ɵfac,providedIn:"root"}),p})();class Ya{}class hl extends class Rs{shouldDetach(m){return!1}store(m,f){}shouldAttach(m){return!1}retrieve(m){return null}shouldReuseRoute(m,f){return m.routeConfig===f.routeConfig}}{}const Fs=new r.OlP("",{providedIn:"root",factory:()=>({})}),lr=new r.OlP("ROUTES");let Bn=(()=>{class p{constructor(f,b){this.injector=f,this.compiler=b,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(f){if(this.componentLoaders.get(f))return this.componentLoaders.get(f);if(f._loadedComponent)return(0,G.of)(f._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(f);const b=ze(f.loadComponent()).pipe((0,Wt.b)((j=>{this.onLoadEndListener&&this.onLoadEndListener(f),f._loadedComponent=j})),(0,Vn.x)((()=>{this.componentLoaders.delete(f)}))),A=new K(b,(()=>new ge.x)).pipe(le());return this.componentLoaders.set(f,A),A}loadChildren(f,b){if(this.childrenLoaders.get(b))return this.childrenLoaders.get(b);if(b._loadedRoutes)return(0,G.of)({routes:b._loadedRoutes,injector:b._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(b);const j=this.loadModuleFactoryOrRoutes(b.loadChildren).pipe((0,we.U)((be=>{this.onLoadEndListener&&this.onLoadEndListener(b);let et,xt,yn=!1;Array.isArray(be)?xt=be:(et=be.create(f).injector,xt=De(et.get(lr,[],r.XFs.Self|r.XFs.Optional)));return{routes:xt.map(oa),injector:et}})),(0,Vn.x)((()=>{this.childrenLoaders.delete(b)}))),fe=new K(j,(()=>new ge.x)).pipe(le());return this.childrenLoaders.set(b,fe),fe}loadModuleFactoryOrRoutes(f){return ze(f()).pipe((0,zt.z)((b=>b instanceof r.YKP||Array.isArray(b)?(0,G.of)(b):(0,v.D)(this.compiler.compileModuleAsync(b)))))}}return p.ɵfac=function(f){return new(f||p)(r.LFG(r.zs3),r.LFG(r.Sil))},p.ɵprov=r.Yz7({token:p,factory:p.ɵfac,providedIn:"root"}),p})();class go{}class ha{shouldProcessUrl(m){return!0}extract(m){return m}merge(m,f){return m}}function mo(p){throw p}function ks(p,m,f){return m.parse("/")}const Ao={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ka={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function Ls(){const p=(0,r.f3M)(Nt),m=(0,r.f3M)(ho),f=(0,r.f3M)(Ie.Ye),b=(0,r.f3M)(r.zs3),A=(0,r.f3M)(r.Sil),j=(0,r.f3M)(lr,{optional:!0})??[],fe=(0,r.f3M)(Fs,{optional:!0})??{},be=(0,r.f3M)(Ul),et=(0,r.f3M)(da,{optional:!0}),xt=(0,r.f3M)(go,{optional:!0}),yn=(0,r.f3M)(Ya,{optional:!0}),g=new Mr(null,p,m,f,b,A,De(j));return xt&&(g.urlHandlingStrategy=xt),yn&&(g.routeReuseStrategy=yn),g.titleStrategy=et??be,function gs(p,m){p.errorHandler&&(m.errorHandler=p.errorHandler),p.malformedUriErrorHandler&&(m.malformedUriErrorHandler=p.malformedUriErrorHandler),p.onSameUrlNavigation&&(m.onSameUrlNavigation=p.onSameUrlNavigation),p.paramsInheritanceStrategy&&(m.paramsInheritanceStrategy=p.paramsInheritanceStrategy),p.relativeLinkResolution&&(m.relativeLinkResolution=p.relativeLinkResolution),p.urlUpdateStrategy&&(m.urlUpdateStrategy=p.urlUpdateStrategy),p.canceledNavigationResolution&&(m.canceledNavigationResolution=p.canceledNavigationResolution)}(fe,g),g}let Mr=(()=>{class p{constructor(f,b,A,j,fe,be,et){this.rootComponentType=f,this.urlSerializer=b,this.rootContexts=A,this.location=j,this.config=et,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new ge.x,this.errorHandler=mo,this.malformedUriErrorHandler=ks,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>(0,G.of)(void 0),this.urlHandlingStrategy=new ha,this.routeReuseStrategy=new hl,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.configLoader=fe.get(Bn),this.configLoader.onLoadEndListener=c=>this.triggerEvent(new Ho(c)),this.configLoader.onLoadStartListener=c=>this.triggerEvent(new Vo(c)),this.ngModule=fe.get(r.h0i),this.console=fe.get(r.c2e);const g=fe.get(r.R0b);this.isNgZoneEnabled=g instanceof r.R0b&&r.R0b.isInAngularZone(),this.resetConfig(et),this.currentUrlTree=function yt(){return new Jt(new Dt([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Ms(this.currentUrlTree,this.rootComponentType),this.transitions=new Q.X({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){return this.location.getState()?.ɵrouterPageId}setupNavigations(f){const b=this.events;return f.pipe((0,xn.h)((A=>0!==A.id)),(0,we.U)((A=>({...A,extractedUrl:this.urlHandlingStrategy.extract(A.rawUrl)}))),Le((A=>{let j=!1,fe=!1;return(0,G.of)(A).pipe((0,Wt.b)((be=>{this.currentNavigation={id:be.id,initialUrl:be.rawUrl,extractedUrl:be.extractedUrl,trigger:be.source,extras:be.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}})),Le((be=>{const et=this.browserUrlTree.toString(),xt=!this.navigated||be.extractedUrl.toString()!==et||et!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||xt)&&this.urlHandlingStrategy.shouldProcessUrl(be.rawUrl))return ms(be.source)&&(this.browserUrlTree=be.extractedUrl),(0,G.of)(be).pipe(Le((g=>{const c=this.transitions.getValue();return b.next(new wi(g.id,this.serializeUrl(g.extractedUrl),g.source,g.restoredState)),c!==this.transitions.getValue()?lt.E:Promise.resolve(g)})),function dl(p,m,f,b){return Le((A=>function Si(p,m,f,b,A){return new Is(p,m,f,b,A).apply()}(p,m,f,A.extractedUrl,b).pipe((0,we.U)((j=>({...A,urlAfterRedirects:j}))))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,Wt.b)((g=>{this.currentNavigation={...this.currentNavigation,finalUrl:g.urlAfterRedirects},A.urlAfterRedirects=g.urlAfterRedirects})),function hr(p,m,f,b,A,j){return(0,zt.z)((fe=>function I(p,m,f,b,A,j,fe="emptyOnly",be="legacy"){return new M(p,m,f,b,A,fe,be,j).recognize().pipe(Le((et=>null===et?function C(p){return new ae.y((m=>m.error(p)))}(new Oo):(0,G.of)(et))))}(p,m,f,fe.urlAfterRedirects,b.serialize(fe.urlAfterRedirects),b,A,j).pipe((0,we.U)((be=>({...fe,targetSnapshot:be}))))))}(this.ngModule.injector,this.rootComponentType,this.config,this.urlSerializer,this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,Wt.b)((g=>{if(A.targetSnapshot=g.targetSnapshot,"eager"===this.urlUpdateStrategy){if(!g.extras.skipLocationChange){const u=this.urlHandlingStrategy.merge(g.urlAfterRedirects,g.rawUrl);this.setBrowserUrl(u,g)}this.browserUrlTree=g.urlAfterRedirects}const c=new Xs(g.id,this.serializeUrl(g.extractedUrl),this.serializeUrl(g.urlAfterRedirects),g.targetSnapshot);b.next(c)})));if(xt&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:c,extractedUrl:u,source:_,restoredState:R,extras:Y}=be,Ce=new wi(c,this.serializeUrl(u),_,R);b.next(Ce);const Pe=Ms(u,this.rootComponentType).snapshot;return A={...be,targetSnapshot:Pe,urlAfterRedirects:u,extras:{...Y,skipLocationChange:!1,replaceUrl:!1}},(0,G.of)(A)}return this.rawUrlTree=be.rawUrl,be.resolve(null),lt.E})),(0,Wt.b)((be=>{const et=new bs(be.id,this.serializeUrl(be.extractedUrl),this.serializeUrl(be.urlAfterRedirects),be.targetSnapshot);this.triggerEvent(et)})),(0,we.U)((be=>A={...be,guards:T(be.targetSnapshot,be.currentSnapshot,this.rootContexts)})),function qi(p,m){return(0,zt.z)((f=>{const{targetSnapshot:b,currentSnapshot:A,guards:{canActivateChecks:j,canDeactivateChecks:fe}}=f;return 0===fe.length&&0===j.length?(0,G.of)({...f,guardsResult:!0}):function us(p,m,f,b){return(0,v.D)(p).pipe((0,zt.z)((A=>function za(p,m,f,b,A){const j=m&&m.routeConfig?m.routeConfig.canDeactivate:null;if(!j||0===j.length)return(0,G.of)(!0);const fe=j.map((be=>{const et=fo(m)??A,xt=Z(be,et);return ze(function ua(p){return p&&Ui(p.canDeactivate)}(xt)?xt.canDeactivate(p,m,f,b):et.runInContext((()=>xt(p,m,f,b)))).pipe(Kn())}));return(0,G.of)(fe).pipe(Zo())}(A.component,A.route,f,m,b))),Kn((A=>!0!==A),!0))}(fe,b,A,p).pipe((0,zt.z)((be=>be&&function io(p){return"boolean"==typeof p}(be)?function ul(p,m,f,b){return(0,v.D)(m).pipe((0,Pn.b)((A=>(0,Je.z)(function cs(p,m){return null!==p&&m&&m(new Da(p)),(0,G.of)(!0)}(A.route.parent,b),function As(p,m){return null!==p&&m&&m(new na(p)),(0,G.of)(!0)}(A.route,b),function ds(p,m,f){const b=m[m.length-1],j=m.slice(0,m.length-1).reverse().map((fe=>function P(p){const m=p.routeConfig?p.routeConfig.canActivateChild:null;return m&&0!==m.length?{node:p,guards:m}:null}(fe))).filter((fe=>null!==fe)).map((fe=>tt((()=>{const be=fe.guards.map((et=>{const xt=fo(fe.node)??f,yn=Z(et,xt);return ze(function la(p){return p&&Ui(p.canActivateChild)}(yn)?yn.canActivateChild(b,p):xt.runInContext((()=>yn(b,p)))).pipe(Kn())}));return(0,G.of)(be).pipe(Zo())}))));return(0,G.of)(j).pipe(Zo())}(p,A.path,f),function Qi(p,m,f){const b=m.routeConfig?m.routeConfig.canActivate:null;if(!b||0===b.length)return(0,G.of)(!0);const A=b.map((j=>tt((()=>{const fe=fo(m)??f,be=Z(j,fe);return ze(function aa(p){return p&&Ui(p.canActivate)}(be)?be.canActivate(m,p):fe.runInContext((()=>be(m,p)))).pipe(Kn())}))));return(0,G.of)(A).pipe(Zo())}(p,A.route,f)))),Kn((A=>!0!==A),!0))}(b,j,p,m):(0,G.of)(be))),(0,we.U)((be=>({...f,guardsResult:be}))))}))}(this.ngModule.injector,(be=>this.triggerEvent(be))),(0,Wt.b)((be=>{if(A.guardsResult=be.guardsResult,B(be.guardsResult))throw Gr(0,be.guardsResult);const et=new ea(be.id,this.serializeUrl(be.extractedUrl),this.serializeUrl(be.urlAfterRedirects),be.targetSnapshot,!!be.guardsResult);this.triggerEvent(et)})),(0,xn.h)((be=>!!be.guardsResult||(this.restoreHistory(be),this.cancelNavigationTransition(be,"",3),!1))),ps((be=>{if(be.guards.canActivateChecks.length)return(0,G.of)(be).pipe((0,Wt.b)((et=>{const xt=new Ki(et.id,this.serializeUrl(et.extractedUrl),this.serializeUrl(et.urlAfterRedirects),et.targetSnapshot);this.triggerEvent(xt)})),Le((et=>{let xt=!1;return(0,G.of)(et).pipe(function Fr(p,m){return(0,zt.z)((f=>{const{targetSnapshot:b,guards:{canActivateChecks:A}}=f;if(!A.length)return(0,G.of)(f);let j=0;return(0,v.D)(A).pipe((0,Pn.b)((fe=>function oo(p,m,f,b){const A=p.routeConfig,j=p._resolve;return void 0!==A?.title&&!Qo(A)&&(j[Wn]=A.title),function pi(p,m,f,b){const A=function Ni(p){return[...Object.keys(p),...Object.getOwnPropertySymbols(p)]}(p);if(0===A.length)return(0,G.of)({});const j={};return(0,v.D)(A).pipe((0,zt.z)((fe=>function ti(p,m,f,b){const A=fo(m)??b,j=Z(p,A);return ze(j.resolve?j.resolve(m,f):A.runInContext((()=>j(m,f))))}(p[fe],m,f,b).pipe(Kn(),(0,Wt.b)((be=>{j[fe]=be}))))),er(1),function $n(p){return(0,we.U)((()=>p))}(j),zn((fe=>Ri(fe)?lt.E:it(fe))))}(j,p,m,b).pipe((0,we.U)((fe=>(p._resolvedData=fe,p.data=Ss(p,f).resolve,A&&Qo(A)&&(p.data[Wn]=A.title),null))))}(fe.route,b,p,m))),(0,Wt.b)((()=>j++)),er(1),(0,zt.z)((fe=>j===A.length?(0,G.of)(f):lt.E)))}))}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,Wt.b)({next:()=>xt=!0,complete:()=>{xt||(this.restoreHistory(et),this.cancelNavigationTransition(et,"",2))}}))})),(0,Wt.b)((et=>{const xt=new as(et.id,this.serializeUrl(et.extractedUrl),this.serializeUrl(et.urlAfterRedirects),et.targetSnapshot);this.triggerEvent(xt)})))})),ps((be=>{const et=xt=>{const yn=[];xt.routeConfig?.loadComponent&&!xt.routeConfig._loadedComponent&&yn.push(this.configLoader.loadComponent(xt.routeConfig).pipe((0,Wt.b)((g=>{xt.component=g})),(0,we.U)((()=>{}))));for(const g of xt.children)yn.push(...et(g));return yn};return te(et(be.targetSnapshot.root)).pipe(_n(),(0,mt.q)(1))})),ps((()=>this.afterPreactivation())),(0,we.U)((be=>{const et=function Br(p,m,f){const b=bi(p,m._root,f?f._root:void 0);return new Ds(b,m)}(this.routeReuseStrategy,be.targetSnapshot,be.currentRouterState);return A={...be,targetRouterState:et}})),(0,Wt.b)((be=>{this.currentUrlTree=be.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(be.urlAfterRedirects,be.rawUrl),this.routerState=be.targetRouterState,"deferred"===this.urlUpdateStrategy&&(be.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,be),this.browserUrlTree=be.urlAfterRedirects)})),((p,m,f)=>(0,we.U)((b=>(new po(m,b.targetRouterState,b.currentRouterState,f).activate(p),b))))(this.rootContexts,this.routeReuseStrategy,(be=>this.triggerEvent(be))),(0,Wt.b)({next(){j=!0},complete(){j=!0}}),(0,Vn.x)((()=>{j||fe||this.cancelNavigationTransition(A,"",1),this.currentNavigation?.id===A.id&&(this.currentNavigation=null)})),zn((be=>{if(fe=!0,mr(be)){Ps(be)||(this.navigated=!0,this.restoreHistory(A,!0));const et=new Pr(A.id,this.serializeUrl(A.extractedUrl),be.message,be.cancellationCode);if(b.next(et),Ps(be)){const xt=this.urlHandlingStrategy.merge(be.url,this.rawUrlTree),yn={skipLocationChange:A.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||ms(A.source)};this.scheduleNavigation(xt,"imperative",null,yn,{resolve:A.resolve,reject:A.reject,promise:A.promise})}else A.resolve(!1)}else{this.restoreHistory(A,!0);const et=new ws(A.id,this.serializeUrl(A.extractedUrl),be,A.targetSnapshot??void 0);b.next(et);try{A.resolve(this.errorHandler(be))}catch(xt){A.reject(xt)}}return lt.E})))})))}resetRootComponentType(f){this.rootComponentType=f,this.routerState.root.component=this.rootComponentType}setTransition(f){this.transitions.next({...this.transitions.value,...f})}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe((f=>{const b="popstate"===f.type?"popstate":"hashchange";"popstate"===b&&setTimeout((()=>{const A={replaceUrl:!0},j=f.state?.navigationId?f.state:null;if(j){const be={...j};delete be.navigationId,delete be.ɵrouterPageId,0!==Object.keys(be).length&&(A.state=be)}const fe=this.parseUrl(f.url);this.scheduleNavigation(fe,b,j,A)}),0)})))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(f){this.events.next(f)}resetConfig(f){this.config=f.map(oa),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(f,b={}){const{relativeTo:A,queryParams:j,fragment:fe,queryParamsHandling:be,preserveFragment:et}=b,xt=A||this.routerState.root,yn=et?this.currentUrlTree.fragment:fe;let g=null;switch(be){case"merge":g={...this.currentUrlTree.queryParams,...j};break;case"preserve":g=this.currentUrlTree.queryParams;break;default:g=j||null}return null!==g&&(g=this.removeEmptyProps(g)),w(xt,this.currentUrlTree,f,g,yn??null)}navigateByUrl(f,b={skipLocationChange:!1}){const A=B(f)?f:this.parseUrl(f),j=this.urlHandlingStrategy.merge(A,this.rawUrlTree);return this.scheduleNavigation(j,"imperative",null,b)}navigate(f,b={skipLocationChange:!1}){return function qa(p){for(let m=0;m<p.length;m++){if(null==p[m])throw new r.vHH(4008,false)}}(f),this.navigateByUrl(this.createUrlTree(f,b),b)}serializeUrl(f){return this.urlSerializer.serialize(f)}parseUrl(f){let b;try{b=this.urlSerializer.parse(f)}catch(A){b=this.malformedUriErrorHandler(A,this.urlSerializer,f)}return b}isActive(f,b){let A;if(A=!0===b?{...Ao}:!1===b?{...Ka}:b,B(f))return Mt(this.currentUrlTree,f,A);const j=this.parseUrl(f);return Mt(this.currentUrlTree,j,A)}removeEmptyProps(f){return Object.keys(f).reduce(((b,A)=>{const j=f[A];return null!=j&&(b[A]=j),b}),{})}processNavigations(){this.navigations.subscribe((f=>{this.navigated=!0,this.lastSuccessfulId=f.id,this.currentPageId=f.targetPageId,this.events.next(new Lr(f.id,this.serializeUrl(f.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.titleStrategy?.updateTitle(this.routerState.snapshot),f.resolve(!0)}),(f=>{this.console.warn(`Unhandled Navigation Error: ${f}`)}))}scheduleNavigation(f,b,A,j,fe){if(this.disposed)return Promise.resolve(!1);let be,et,xt;fe?(be=fe.resolve,et=fe.reject,xt=fe.promise):xt=new Promise(((c,u)=>{be=c,et=u}));const yn=++this.navigationId;let g;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(A=this.location.getState()),g=A&&A.ɵrouterPageId?A.ɵrouterPageId:j.replaceUrl||j.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):g=0,this.setTransition({id:yn,targetPageId:g,source:b,restoredState:A,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:f,extras:j,resolve:be,reject:et,promise:xt,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),xt.catch((c=>Promise.reject(c)))}setBrowserUrl(f,b){const A=this.urlSerializer.serialize(f),j={...b.extras.state,...this.generateNgRouterState(b.id,b.targetPageId)};this.location.isCurrentPathEqualTo(A)||b.extras.replaceUrl?this.location.replaceState(A,"",j):this.location.go(A,"",j)}restoreHistory(f,b=!1){if("computed"===this.canceledNavigationResolution){const A=this.currentPageId-f.targetPageId;"popstate"!==f.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.currentNavigation?.finalUrl||0===A?this.currentUrlTree===this.currentNavigation?.finalUrl&&0===A&&(this.resetState(f),this.browserUrlTree=f.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(A)}else"replace"===this.canceledNavigationResolution&&(b&&this.resetState(f),this.resetUrlToCurrentUrlTree())}resetState(f){this.routerState=f.currentRouterState,this.currentUrlTree=f.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,f.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(f,b,A){const j=new Pr(f.id,this.serializeUrl(f.extractedUrl),b,A);this.triggerEvent(j),f.resolve(!1)}generateNgRouterState(f,b){return"computed"===this.canceledNavigationResolution?{navigationId:f,"ɵrouterPageId":b}:{navigationId:f}}}return p.ɵfac=function(f){r.$Z()},p.ɵprov=r.Yz7({token:p,factory:function(){return Ls()},providedIn:"root"}),p})();function ms(p){return"imperative"!==p}class _s{}let Bs=(()=>{class p{constructor(f,b,A,j,fe){this.router=f,this.injector=A,this.preloadingStrategy=j,this.loader=fe}setUpPreloading(){this.subscription=this.router.events.pipe((0,xn.h)((f=>f instanceof Lr)),(0,Pn.b)((()=>this.preload()))).subscribe((()=>{}))}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(f,b){const A=[];for(const j of b){j.providers&&!j._injector&&(j._injector=(0,r.MMx)(j.providers,f,`Route: ${j.path}`));const fe=j._injector??f,be=j._loadedInjector??fe;j.loadChildren&&!j._loadedRoutes&&void 0===j.canLoad||j.loadComponent&&!j._loadedComponent?A.push(this.preloadConfig(fe,j)):(j.children||j._loadedRoutes)&&A.push(this.processRoutes(be,j.children??j._loadedRoutes))}return(0,v.D)(A).pipe((0,vr.J)())}preloadConfig(f,b){return this.preloadingStrategy.preload(b,(()=>{let A;A=b.loadChildren&&void 0===b.canLoad?this.loader.loadChildren(f,b):(0,G.of)(null);const j=A.pipe((0,zt.z)((fe=>null===fe?(0,G.of)(void 0):(b._loadedRoutes=fe.routes,b._loadedInjector=fe.injector,this.processRoutes(fe.injector??f,fe.routes)))));if(b.loadComponent&&!b._loadedComponent){const fe=this.loader.loadComponent(b);return(0,v.D)([j,fe]).pipe((0,vr.J)())}return j}))}}return p.ɵfac=function(f){return new(f||p)(r.LFG(Mr),r.LFG(r.Sil),r.LFG(r.lqb),r.LFG(_s),r.LFG(Bn))},p.ɵprov=r.Yz7({token:p,factory:p.ɵfac,providedIn:"root"}),p})();const q=new r.OlP("");let Xi=(()=>{class p{constructor(f,b,A={}){this.router=f,this.viewportScroller=b,this.options=A,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},A.scrollPositionRestoration=A.scrollPositionRestoration||"disabled",A.anchorScrolling=A.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe((f=>{f instanceof wi?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=f.navigationTrigger,this.restoredId=f.restoredState?f.restoredState.navigationId:0):f instanceof Lr&&(this.lastId=f.id,this.scheduleScrollEvent(f,this.router.parseUrl(f.urlAfterRedirects).fragment))}))}consumeScrollEvents(){return this.router.events.subscribe((f=>{f instanceof ra&&(f.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(f.position):f.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(f.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))}))}scheduleScrollEvent(f,b){this.router.triggerEvent(new ra(f,"popstate"===this.lastSource?this.store[this.restoredId]:null,b))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return p.ɵfac=function(f){r.$Z()},p.ɵprov=r.Yz7({token:p,factory:p.ɵfac}),p})();function fa(p,m){return{"ɵkind":p,"ɵproviders":m}}function gl(p){return[{provide:lr,multi:!0,useValue:p}]}function eo(){const p=(0,r.f3M)(r.zs3);return m=>{const f=p.get(r.z2F);if(m!==f.components[0])return;const b=p.get(Mr),A=p.get(jl);1===p.get(ml)&&b.initialNavigation(),p.get(Io,null,r.XFs.Optional)?.setUpPreloading(),p.get(q,null,r.XFs.Optional)?.init(),b.resetRootComponentType(f.componentTypes[0]),A.closed||(A.next(),A.unsubscribe())}}const jl=new r.OlP("",{factory:()=>new ge.x}),ml=new r.OlP("",{providedIn:"root",factory:()=>1});const Io=new r.OlP("");function ni(p){return fa(0,[{provide:Io,useExisting:Bs},{provide:_s,useExisting:p}])}const yl=new r.OlP("ROUTER_FORROOT_GUARD"),zr=[Ie.Ye,{provide:Nt,useClass:dn},{provide:Mr,useFactory:Ls},ho,{provide:Cn,useFactory:function Yt(p){return p.routerState.root},deps:[Mr]},Bn];function es(){return new r.PXZ("Router",Mr)}let $l=(()=>{class p{constructor(f){}static forRoot(f,b){return{ngModule:p,providers:[zr,[],gl(f),{provide:yl,useFactory:Us,deps:[[Mr,new r.FiY,new r.tp0]]},{provide:Fs,useValue:b||{}},b?.useHash?{provide:Ie.S$,useClass:Ie.Do}:{provide:Ie.S$,useClass:Ie.b0},{provide:q,useFactory:()=>{const p=(0,r.f3M)(Mr),m=(0,r.f3M)(Ie.EM),f=(0,r.f3M)(Fs);return f.scrollOffset&&m.setOffset(f.scrollOffset),new Xi(p,m,f)}},b?.preloadingStrategy?ni(b.preloadingStrategy).ɵproviders:[],{provide:r.PXZ,multi:!0,useFactory:es},b?.initialNavigation?vu(b):[],[{provide:yu,useFactory:eo},{provide:r.tb,multi:!0,useExisting:yu}]]}}static forChild(f){return{ngModule:p,providers:[gl(f)]}}}return p.ɵfac=function(f){return new(f||p)(r.LFG(yl,8))},p.ɵmod=r.oAB({type:p}),p.ɵinj=r.cJS({imports:[Ai]}),p})();function Us(p){return"guarded"}function vu(p){return["disabled"===p.initialNavigation?fa(3,[{provide:r.ip1,multi:!0,useFactory:()=>{const m=(0,r.f3M)(Mr);return()=>{m.setUpLocationChangeListener()}}},{provide:ml,useValue:2}]).ɵproviders:[],"enabledBlocking"===p.initialNavigation?fa(2,[{provide:ml,useValue:0},{provide:r.ip1,multi:!0,deps:[r.zs3],useFactory:m=>{const f=m.get(Ie.V_,Promise.resolve());let b=!1;return()=>f.then((()=>new Promise((j=>{const fe=m.get(Mr),be=m.get(jl);(function A(j){m.get(Mr).events.pipe((0,xn.h)((be=>be instanceof Lr||be instanceof Pr||be instanceof ws)),(0,we.U)((be=>be instanceof Lr||be instanceof Pr&&(0===be.code||1===be.code)&&null)),(0,xn.h)((be=>null!==be)),(0,mt.q)(1)).subscribe((()=>{j()}))})((()=>{j(!0),b=!0})),fe.afterPreactivation=()=>(j(!0),b||be.closed?(0,G.of)(void 0):be),fe.initialNavigation()}))))}}]).ɵproviders:[]]}const yu=new r.OlP("")},5419:(He,ne,S)=>{"use strict";S.d(ne,{A4:()=>ge});var r=S(1571),v=S(529),G=S(4004),Q=S(109),ee=S(3022);const H={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 re{constructor(we){this.unprotectedPaths=["/resetpass","/invitation"],this.protocol=we.protocol;let Le=we.port;Le||(function de(Ie){return/^https:$/i.test(Ie)}(this.protocol)?Le="443":function ae(Ie){return/^http:$/i.test(Ie)}(this.protocol)&&(Le="80")),this.domain=we.hostname,this.port=parseInt(Le,10),this.path=we.pathname;const mt=this.path.match(/((?:\/cpsess\d+)?)(?:\/([^\/]+))?/)||[];if(this.applicationName=/^whm\./.test(this.domain)?H[2087]:/^cpanel\./.test(this.domain)?H[2083]:/^webmail\./.test(this.domain)?H[2095]:H[Le.toString()]||H[mt[2]]||"whostmgr",this.securityToken=mt[1]||"",this.applicationPath=this.securityToken?this.path.replace(this.securityToken,""):this.path,this.theme="",!this.isUnprotected&&(this.isCpanel||this.isWebmail)){const xn=this.path.split("/");this.theme=xn[3]}this.themePath="";let Rt=this.securityToken+"/";this.isUnprotected?Rt="/":this.isCpanel?Rt+="frontend/"+this.theme+"/":this.isWebmail?Rt+="webmail/"+this.theme+"/":this.isOther&&(Rt="/"),this.themePath=Rt,this.rootUrl=this.protocol+"//"+this.domain+":"+this.port}get isOther(){return/other/i.test(this.applicationName)}get isUnprotected(){return!this.securityToken&&-1!==this.unprotectedPaths.indexOf(function pe(Ie){return Ie&&Ie.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(we){return this.themePath+we}buildFullPath(we){return this.protocol+"//"+this.domain+":"+this.port+this.buildPath(we)}buildTokenPath(we){return this.protocol+"//"+this.domain+":"+this.port+this.securityToken+we}}class ie{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 ye=S(4235),Oe=S.n(ye),te=S(1305),Ze=S.n(te),ke=(()=>{return(Ie=ke||(ke={}))[Ie.Error=0]="Error",Ie[Ie.Warning=1]="Warning",Ie[Ie.Information=2]="Information",Ie[Ie.Unknown=3]="Unknown",ke;var Ie})();const Je={isPaged:!1,isFiltered:!1,record:0,page:0,pageSize:0,totalRecords:0,totalPages:0,recordsBeforeFilter:0,batch:!1,properties:{}};class nt{constructor(we){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={},we.chunk&&(this.isPaged=!0,this.record=parseInt(we.chunk.start,10)||0,this.page=parseInt(we.chunk.current,10)||0,this.pageSize=parseInt(we.chunk.size,10)||0,this.totalPages=parseInt(we.chunk.chunks,10)||0,this.totalRecords=parseInt(we.chunk.records,10)||0),we.filter&&(this.isFiltered=!0,this.recordsBeforeFilter=parseInt(we.filter.filtered,10)||0);const Le=new Set(["paginate","filter"]);Object.keys(we).filter((mt=>!Le.has(mt))).forEach((mt=>{this.properties[mt]=we[mt]}))}}class Fe extends class tt{constructor(we,Le){if(this.status=0,this.messages=[],this.meta=function Xe(Ie){return JSON.parse(JSON.stringify(Ie))}(Je),this.options={keepUnprocessedResponse:!1},Oe()(we)||Ze()(we))throw new Error("The response was unexpectedly undefined or null");Le&&(this.options=Le),this.options.keepUnprocessedResponse&&(this.raw=JSON.parse(JSON.stringify(we)))}get success(){return this.status>0}get failed(){return 0===this.status}_getMessages(we){return this.messages.filter((Le=>Le.type===we))}get errors(){return this._getMessages(ke.Error)}get warnings(){return this._getMessages(ke.Warning)}get infoMessages(){return this._getMessages(ke.Information)}_hasMessages(we){return this.messages.filter((Le=>Le.type===we)).length>0}get hasErrors(){return this._hasMessages(ke.Error)}get hasWarnings(){return this._hasMessages(ke.Warning)}get hasInfoMessages(){return this._hasMessages(ke.Information)}get isPaged(){return this.meta.isPaged}get isFiltered(){return this.meta.isFiltered}}{_parseStatus(we){if(this.status=0,typeof we.result>"u")throw new Error("The response should have a numeric status property indicating the API succeeded (>0) or failed (=0)");this.status=parseInt(we.result,10)}_parseMessages(we){if(!we.result){const Le=[we.reason];Le&&Le.length&&Le.forEach((mt=>{this.messages.push({type:ke.Error,message:mt})}))}}_reduce_list_data(we){if("object"==typeof we&&!(we instanceof Array)){const Le=Object.keys(we);if(1===Le.length){const mt=we[Le[0]];mt?mt instanceof Array&&(we=mt):we=[]}}return we}constructor(we,Le){if(super(we,Le),!we)throw new Error("Response object should be defined.");we.metadata&&(this._parseStatus(we.metadata),this._parseMessages(we.metadata),this.meta=new nt(we.metadata)),this.data=this._reduce_list_data(we.data)}}let ge=(()=>{class Ie{constructor(Le){this.http=Le}get(Le){const mt=Le.generate({verb:Q.F.GET,encoder:new ee.VN}),Rt=this.packageUrl(mt);return this.http.get(Rt,{headers:this.packageHeaders(mt)}).pipe((0,G.U)(this.packageResponseHandler(Rt)))}post(Le){const mt=Le.generate(),Rt=this.packageUrl(mt);return this.http.post(Rt,mt.body,{headers:this.packageHeaders(mt)}).pipe((0,G.U)(this.packageResponseHandler(Rt)))}packageHeaders(Le){const mt={};return Le.headers.forEach((Rt=>{mt[Rt.name]=Rt.value})),new v.WM(mt)}packageUrl(Le){return new re(new ie).buildTokenPath(Le.url)}packageResponseHandler(Le){return mt=>{const Rt=new Fe(mt);return Rt.meta.properties.url=Le,Rt}}}return Ie.ɵfac=function(Le){return new(Le||Ie)(r.LFG(v.eN))},Ie.ɵprov=r.Yz7({token:Ie,factory:Ie.ɵfac,providedIn:"root"}),Ie})()},348:(He,ne,S)=>{"use strict";S.d(ne,{m:()=>ee});var r=S(1571),v=S(269);const G=new r.OlP("window"),Q=de=>new v.g(de.CLDR,de.LEXICON);let ee=(()=>{class de{}return de.ɵfac=function(pe){return new(pe||de)},de.ɵmod=r.oAB({type:de}),de.ɵinj=r.cJS({providers:[{provide:G,useValue:window},{provide:v.g,useFactory:Q,deps:[G]}]}),de})()},6668:(He,ne,S)=>{"use strict";S.d(ne,{xV:()=>fa,zr:()=>gl,FP:()=>Yt,hF:()=>Xo,CQ:()=>wc,nM:()=>Ns,c9:()=>ha,Oc:()=>q,df:()=>Xi,_P:()=>Qa,kM:()=>_s,go:()=>Jo,zf:()=>xo,gS:()=>yl,t8:()=>zr,Gy:()=>eo,Yg:()=>pa,MF:()=>jl,Op:()=>ml,fm:()=>Vs,wL:()=>ao});var r=S(1571),v=S(6895),G=S(7579),Q=S(9300),ee=S(2722),de=S(8372),ae=S(4671),pe=S(4482),ve=S(5403);function re(g,c){return g===c}var ie=S(4006),ye=S(348),Oe=S(269),te=S(7340),Ze=S(1481);function Je(g){return new r.vHH(3e3,!1)}function $r(){return typeof window<"u"&&typeof window.document<"u"}function fn(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function Me(g){switch(g.length){case 0:return new te.ZN;case 1:return g[0];default:return new te.ZE(g)}}function $e(g,c,u,_,R=new Map,Y=new Map){const Ce=[],Pe=[];let Ke=-1,ft=null;if(_.forEach((kt=>{const Lt=kt.get("offset"),Qn=Lt==Ke,ln=Qn&&ft||new Map;kt.forEach(((mn,Rn)=>{let fr=Rn,Fn=mn;if("offset"!==Rn)switch(fr=c.normalizePropertyName(fr,Ce),Fn){case te.k1:Fn=R.get(Rn);break;case te.l3:Fn=Y.get(Rn);break;default:Fn=c.normalizeStyleValue(Rn,fr,Fn,Ce)}ln.set(fr,Fn)})),Qn||Pe.push(ln),ft=ln,Ke=Lt})),Ce.length)throw function Wt(g){return new r.vHH(3502,!1)}();return Pe}function je(g,c,u,_){switch(c){case"start":g.onStart((()=>_(u&&qe(u,"start",g))));break;case"done":g.onDone((()=>_(u&&qe(u,"done",g))));break;case"destroy":g.onDestroy((()=>_(u&&qe(u,"destroy",g))))}}function qe(g,c,u){const Y=De(g.element,g.triggerName,g.fromState,g.toState,c||g.phaseName,u.totalTime??g.totalTime,!!u.disabled),Ce=g._data;return null!=Ce&&(Y._data=Ce),Y}function De(g,c,u,_,R="",Y=0,Ce){return{element:g,triggerName:c,fromState:u,toState:_,phaseName:R,totalTime:Y,disabled:!!Ce}}function J(g,c,u){let _=g.get(c);return _||g.set(c,_=u),_}function se(g){const c=g.indexOf(":");return[g.substring(1,c),g.slice(c+1)]}let xe=(g,c)=>!1,ze=(g,c,u)=>[],dt=null;function yt(g){const c=g.parentNode||g.host;return c===dt?null:c}(fn()||typeof Element<"u")&&($r()?(dt=(()=>document.documentElement)(),xe=(g,c)=>{for(;c;){if(c===g)return!0;c=yt(c)}return!1}):xe=(g,c)=>g.contains(c),ze=(g,c,u)=>{if(u)return Array.from(g.querySelectorAll(c));const _=g.querySelector(c);return _?[_]:[]});let Mt=null,Xt=!1;const It=xe,Ot=ze;let Dt=(()=>{class g{validateStyleProperty(u){return function vn(g){Mt||(Mt=function Pt(){return typeof document<"u"?document.body:null}()||{},Xt=!!Mt.style&&"WebkitAppearance"in Mt.style);let c=!0;return Mt.style&&!function Ct(g){return"ebkit"==g.substring(1,6)}(g)&&(c=g in Mt.style,!c&&Xt&&(c="Webkit"+g.charAt(0).toUpperCase()+g.slice(1)in Mt.style)),c}(u)}matchesElement(u,_){return!1}containsElement(u,_){return It(u,_)}getParentElement(u){return yt(u)}query(u,_,R){return Ot(u,_,R)}computeStyle(u,_,R){return R||""}animate(u,_,R,Y,Ce,Pe=[],Ke){return new te.ZN(R,Y)}}return g.ɵfac=function(u){return new(u||g)},g.ɵprov=r.Yz7({token:g,factory:g.ɵfac}),g})(),pn=(()=>{class g{}return g.NOOP=new Dt,g})();const Nt="ng-enter",dn="ng-leave",on="ng-trigger",qn=".ng-trigger",yr="ng-animating",Yn=".ng-animating";function gn(g){if("number"==typeof g)return g;const c=g.match(/^(-?[\.\d]+)(m?s)/);return!c||c.length<2?0:Tr(parseFloat(c[1]),c[2])}function Tr(g,c){return"s"===c?1e3*g:g}function Qt(g,c,u){return g.hasOwnProperty("duration")?g:function Ae(g,c,u){let R,Y=0,Ce="";if("string"==typeof g){const Pe=g.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Pe)return c.push(Je()),{duration:0,delay:0,easing:""};R=Tr(parseFloat(Pe[1]),Pe[2]);const Ke=Pe[3];null!=Ke&&(Y=Tr(parseFloat(Ke),Pe[4]));const ft=Pe[5];ft&&(Ce=ft)}else R=g;if(!u){let Pe=!1,Ke=c.length;R<0&&(c.push(function Xe(){return new r.vHH(3100,!1)}()),Pe=!0),Y<0&&(c.push(function tt(){return new r.vHH(3101,!1)}()),Pe=!0),Pe&&c.splice(Ke,0,Je())}return{duration:R,delay:Y,easing:Ce}}(g,c,u)}function me(g,c={}){return Object.keys(g).forEach((u=>{c[u]=g[u]})),c}function X(g){const c=new Map;return Object.keys(g).forEach((u=>{c.set(u,g[u])})),c}function Ue(g,c=new Map,u){if(u)for(let[_,R]of u)c.set(_,R);for(let[_,R]of g)c.set(_,R);return c}function st(g,c,u){return u?c+":"+u+";":""}function jt(g){let c="";for(let u=0;u<g.style.length;u++){const _=g.style.item(u);c+=st(0,_,g.style.getPropertyValue(_))}for(const u in g.style)g.style.hasOwnProperty(u)&&!u.startsWith("_")&&(c+=st(0,V(u),g.style[u]));g.setAttribute("style",c)}function ut(g,c,u){g.style&&(c.forEach(((_,R)=>{const Y=ce(R);u&&!u.has(R)&&u.set(R,g.style[Y]),g.style[Y]=_})),fn()&&jt(g))}function bt(g,c){g.style&&(c.forEach(((u,_)=>{const R=ce(_);g.style[R]=""})),fn()&&jt(g))}function Ye(g){return Array.isArray(g)?1==g.length?g[0]:(0,te.vP)(g):g}const At=new RegExp("{{\\s*(.+?)\\s*}}","g");function $t(g){let c=[];if("string"==typeof g){let u;for(;u=At.exec(g);)c.push(u[1]);At.lastIndex=0}return c}function F(g,c,u){const _=g.toString(),R=_.replace(At,((Y,Ce)=>{let Pe=c[Ce];return null==Pe&&(u.push(function Fe(g){return new r.vHH(3003,!1)}()),Pe=""),Pe.toString()}));return R==_?g:R}function B(g){const c=[];let u=g.next();for(;!u.done;)c.push(u.value),u=g.next();return c}const $=/-+([a-z0-9])/g;function ce(g){return g.replace($,((...c)=>c[1].toUpperCase()))}function V(g){return g.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function L(g,c,u){switch(c.type){case 7:return g.visitTrigger(c,u);case 0:return g.visitState(c,u);case 1:return g.visitTransition(c,u);case 2:return g.visitSequence(c,u);case 3:return g.visitGroup(c,u);case 4:return g.visitAnimate(c,u);case 5:return g.visitKeyframes(c,u);case 6:return g.visitStyle(c,u);case 8:return g.visitReference(c,u);case 9:return g.visitAnimateChild(c,u);case 10:return g.visitAnimateRef(c,u);case 11:return g.visitQuery(c,u);case 12:return g.visitStagger(c,u);default:throw function it(g){return new r.vHH(3004,!1)}()}}function _e(g,c){return window.getComputedStyle(g)[c]}function br(g,c){const u=[];return"string"==typeof g?g.split(/\s*,\s*/).forEach((_=>function kr(g,c,u){if(":"==g[0]){const Ke=function Er(g,c){switch(g){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(u,_)=>parseFloat(_)>parseFloat(u);case":decrement":return(u,_)=>parseFloat(_)<parseFloat(u);default:return c.push(function xr(g){return new r.vHH(3016,!1)}()),"* => *"}}(g,u);if("function"==typeof Ke)return void c.push(Ke);g=Ke}const _=g.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==_||_.length<4)return u.push(function _n(g){return new r.vHH(3015,!1)}()),c;const R=_[1],Y=_[2],Ce=_[3];c.push(Kr(R,Ce));"<"==Y[0]&&!("*"==R&&"*"==Ce)&&c.push(Kr(Ce,R))}(_,u,c))):u.push(g),u}const cr=new Set(["true","1"]),ro=new Set(["false","0"]);function Kr(g,c){const u=cr.has(g)||ro.has(g),_=cr.has(c)||ro.has(c);return(R,Y)=>{let Ce="*"==g||g==R,Pe="*"==c||c==Y;return!Ce&&u&&"boolean"==typeof R&&(Ce=R?cr.has(g):ro.has(g)),!Pe&&_&&"boolean"==typeof Y&&(Pe=Y?cr.has(c):ro.has(c)),Ce&&Pe}}const wo=new RegExp("s*:selfs*,?","g");function Hr(g,c,u,_){return new Lr(g).build(c,u,_)}class Lr{constructor(c){this._driver=c}build(c,u,_){const R=new Xs(u);return this._resetContextStyleTimingState(R),L(this,Ye(c),R)}_resetContextStyleTimingState(c){c.currentQuerySelector="",c.collectedStyles=new Map,c.collectedStyles.set("",new Map),c.currentTime=0}visitTrigger(c,u){let _=u.queryCount=0,R=u.depCount=0;const Y=[],Ce=[];return"@"==c.name.charAt(0)&&u.errors.push(function pt(){return new r.vHH(3006,!1)}()),c.definitions.forEach((Pe=>{if(this._resetContextStyleTimingState(u),0==Pe.type){const Ke=Pe,ft=Ke.name;ft.toString().split(/\s*,\s*/).forEach((kt=>{Ke.name=kt,Y.push(this.visitState(Ke,u))})),Ke.name=ft}else if(1==Pe.type){const Ke=this.visitTransition(Pe,u);_+=Ke.queryCount,R+=Ke.depCount,Ce.push(Ke)}else u.errors.push(function Ee(){return new r.vHH(3007,!1)}())})),{type:7,name:c.name,states:Y,transitions:Ce,queryCount:_,depCount:R,options:null}}visitState(c,u){const _=this.visitStyle(c.styles,u),R=c.options&&c.options.params||null;if(_.containsDynamicStyles){const Y=new Set,Ce=R||{};_.styles.forEach((Pe=>{Pe instanceof Map&&Pe.forEach((Ke=>{$t(Ke).forEach((ft=>{Ce.hasOwnProperty(ft)||Y.add(ft)}))}))})),Y.size&&(B(Y.values()),u.errors.push(function le(g,c){return new r.vHH(3008,!1)}()))}return{type:0,name:c.name,style:_,options:R?{params:R}:null}}visitTransition(c,u){u.queryCount=0,u.depCount=0;const _=L(this,Ye(c.animation),u);return{type:1,matchers:br(c.expr,u.errors),animation:_,queryCount:u.queryCount,depCount:u.depCount,options:Ki(c.options)}}visitSequence(c,u){return{type:2,steps:c.steps.map((_=>L(this,_,u))),options:Ki(c.options)}}visitGroup(c,u){const _=u.currentTime;let R=0;const Y=c.steps.map((Ce=>{u.currentTime=_;const Pe=L(this,Ce,u);return R=Math.max(R,u.currentTime),Pe}));return u.currentTime=R,{type:3,steps:Y,options:Ki(c.options)}}visitAnimate(c,u){const _=function ea(g,c){if(g.hasOwnProperty("duration"))return g;if("number"==typeof g)return as(Qt(g,c).duration,0,"");const u=g;if(u.split(/\s+/).some((Y=>"{"==Y.charAt(0)&&"{"==Y.charAt(1)))){const Y=as(0,0,"");return Y.dynamic=!0,Y.strValue=u,Y}const R=Qt(u,c);return as(R.duration,R.delay,R.easing)}(c.timings,u.errors);u.currentAnimateTimings=_;let R,Y=c.styles?c.styles:(0,te.oB)({});if(5==Y.type)R=this.visitKeyframes(Y,u);else{let Ce=c.styles,Pe=!1;if(!Ce){Pe=!0;const ft={};_.easing&&(ft.easing=_.easing),Ce=(0,te.oB)(ft)}u.currentTime+=_.duration+_.delay;const Ke=this.visitStyle(Ce,u);Ke.isEmptyStep=Pe,R=Ke}return u.currentAnimateTimings=null,{type:4,timings:_,style:R,options:null}}visitStyle(c,u){const _=this._makeStyleAst(c,u);return this._validateStyleAst(_,u),_}_makeStyleAst(c,u){const _=[],R=Array.isArray(c.styles)?c.styles:[c.styles];for(let Pe of R)"string"==typeof Pe?Pe===te.l3?_.push(Pe):u.errors.push(new r.vHH(3002,!1)):_.push(X(Pe));let Y=!1,Ce=null;return _.forEach((Pe=>{if(Pe instanceof Map&&(Pe.has("easing")&&(Ce=Pe.get("easing"),Pe.delete("easing")),!Y))for(let Ke of Pe.values())if(Ke.toString().indexOf("{{")>=0){Y=!0;break}})),{type:6,styles:_,easing:Ce,offset:c.offset,containsDynamicStyles:Y,options:null}}_validateStyleAst(c,u){const _=u.currentAnimateTimings;let R=u.currentTime,Y=u.currentTime;_&&Y>0&&(Y-=_.duration+_.delay),c.styles.forEach((Ce=>{"string"!=typeof Ce&&Ce.forEach(((Pe,Ke)=>{const ft=u.collectedStyles.get(u.currentQuerySelector),kt=ft.get(Ke);let Lt=!0;kt&&(Y!=R&&Y>=kt.startTime&&R<=kt.endTime&&(u.errors.push(function Ie(g,c,u,_,R){return new r.vHH(3010,!1)}()),Lt=!1),Y=kt.startTime),Lt&&ft.set(Ke,{startTime:Y,endTime:R}),u.options&&function St(g,c,u){const _=c.params||{},R=$t(g);R.length&&R.forEach((Y=>{_.hasOwnProperty(Y)||u.push(function nt(g){return new r.vHH(3001,!1)}())}))}(Pe,u.options,u.errors)}))}))}visitKeyframes(c,u){const _={type:5,styles:[],options:null};if(!u.currentAnimateTimings)return u.errors.push(function we(){return new r.vHH(3011,!1)}()),_;let Y=0;const Ce=[];let Pe=!1,Ke=!1,ft=0;const kt=c.steps.map((Fn=>{const si=this._makeStyleAst(Fn,u);let Li=null!=si.offset?si.offset:function bs(g){if("string"==typeof g)return null;let c=null;if(Array.isArray(g))g.forEach((u=>{if(u instanceof Map&&u.has("offset")){const _=u;c=parseFloat(_.get("offset")),_.delete("offset")}}));else if(g instanceof Map&&g.has("offset")){const u=g;c=parseFloat(u.get("offset")),u.delete("offset")}return c}(si.styles),Nr=0;return null!=Li&&(Y++,Nr=si.offset=Li),Ke=Ke||Nr<0||Nr>1,Pe=Pe||Nr<ft,ft=Nr,Ce.push(Nr),si}));Ke&&u.errors.push(function Le(){return new r.vHH(3012,!1)}()),Pe&&u.errors.push(function mt(){return new r.vHH(3200,!1)}());const Lt=c.steps.length;let Qn=0;Y>0&&Y<Lt?u.errors.push(function Rt(){return new r.vHH(3202,!1)}()):0==Y&&(Qn=1/(Lt-1));const ln=Lt-1,mn=u.currentTime,Rn=u.currentAnimateTimings,fr=Rn.duration;return kt.forEach(((Fn,si)=>{const Li=Qn>0?si==ln?1:Qn*si:Ce[si],Nr=Li*fr;u.currentTime=mn+Rn.delay+Nr,Rn.duration=Nr,this._validateStyleAst(Fn,u),Fn.offset=Li,_.styles.push(Fn)})),_}visitReference(c,u){return{type:8,animation:L(this,Ye(c.animation),u),options:Ki(c.options)}}visitAnimateChild(c,u){return u.depCount++,{type:9,options:Ki(c.options)}}visitAnimateRef(c,u){return{type:10,animation:this.visitReference(c.animation,u),options:Ki(c.options)}}visitQuery(c,u){const _=u.currentQuerySelector,R=c.options||{};u.queryCount++,u.currentQuery=c;const[Y,Ce]=function Pr(g){const c=!!g.split(/\s*,\s*/).find((u=>":self"==u));return c&&(g=g.replace(wo,"")),g=g.replace(/@\*/g,qn).replace(/@\w+/g,(u=>qn+"-"+u.slice(1))).replace(/:animating/g,Yn),[g,c]}(c.selector);u.currentQuerySelector=_.length?_+" "+Y:Y,J(u.collectedStyles,u.currentQuerySelector,new Map);const Pe=L(this,Ye(c.animation),u);return u.currentQuery=null,u.currentQuerySelector=_,{type:11,selector:Y,limit:R.limit||0,optional:!!R.optional,includeSelf:Ce,animation:Pe,originalSelector:c.selector,options:Ki(c.options)}}visitStagger(c,u){u.currentQuery||u.errors.push(function xn(){return new r.vHH(3013,!1)}());const _="full"===c.timings?{duration:0,delay:0,easing:"full"}:Qt(c.timings,u.errors,!0);return{type:12,animation:L(this,Ye(c.animation),u),timings:_,options:null}}}class Xs{constructor(c){this.errors=c,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Ki(g){return g?(g=me(g)).params&&(g.params=function ws(g){return g?me(g):null}(g.params)):g={},g}function as(g,c,u){return{duration:g,delay:c,easing:u}}function Vo(g,c,u,_,R,Y,Ce=null,Pe=!1){return{type:1,element:g,keyframes:c,preStyleProps:u,postStyleProps:_,duration:R,delay:Y,totalTime:R+Y,easing:Ce,subTimeline:Pe}}class Ho{constructor(){this._map=new Map}get(c){return this._map.get(c)||[]}append(c,u){let _=this._map.get(c);_||this._map.set(c,_=[]),_.push(...u)}has(c){return this._map.has(c)}clear(){this._map.clear()}}const na=new RegExp(":enter","g"),ra=new RegExp(":leave","g");function Uo(g,c,u,_,R,Y=new Map,Ce=new Map,Pe,Ke,ft=[]){return(new ia).buildKeyframes(g,c,u,_,R,Y,Ce,Pe,Ke,ft)}class ia{buildKeyframes(c,u,_,R,Y,Ce,Pe,Ke,ft,kt=[]){ft=ft||new Ho;const Lt=new bo(c,u,ft,R,Y,kt,[]);Lt.options=Ke;const Qn=Ke.delay?gn(Ke.delay):0;Lt.currentTimeline.delayNextStep(Qn),Lt.currentTimeline.setStyles([Ce],null,Lt.errors,Ke),L(this,_,Lt);const ln=Lt.timelines.filter((mn=>mn.containsAnimation()));if(ln.length&&Pe.size){let mn;for(let Rn=ln.length-1;Rn>=0;Rn--){const fr=ln[Rn];if(fr.element===u){mn=fr;break}}mn&&!mn.allowOnlyTimelineStyles()&&mn.setStyles([Pe],null,Lt.errors,Ke)}return ln.length?ln.map((mn=>mn.buildKeyframes())):[Vo(u,[],[],[],0,Qn,"",!1)]}visitTrigger(c,u){}visitState(c,u){}visitTransition(c,u){}visitAnimateChild(c,u){const _=u.subInstructions.get(u.element);if(_){const R=u.createSubContext(c.options),Y=u.currentTimeline.currentTime,Ce=this._visitSubInstructions(_,R,R.options);Y!=Ce&&u.transformIntoNewTimeline(Ce)}u.previousNode=c}visitAnimateRef(c,u){const _=u.createSubContext(c.options);_.transformIntoNewTimeline(),this._applyAnimationRefDelays([c.options,c.animation.options],u,_),this.visitReference(c.animation,_),u.transformIntoNewTimeline(_.currentTimeline.currentTime),u.previousNode=c}_applyAnimationRefDelays(c,u,_){for(const R of c){const Y=R?.delay;if(Y){const Ce="number"==typeof Y?Y:gn(F(Y,R?.params??{},u.errors));_.delayNextStep(Ce)}}}_visitSubInstructions(c,u,_){let Y=u.currentTimeline.currentTime;const Ce=null!=_.duration?gn(_.duration):null,Pe=null!=_.delay?gn(_.delay):null;return 0!==Ce&&c.forEach((Ke=>{const ft=u.appendInstructionToTimeline(Ke,Ce,Pe);Y=Math.max(Y,ft.duration+ft.delay)})),Y}visitReference(c,u){u.updateOptions(c.options,!0),L(this,c.animation,u),u.previousNode=c}visitSequence(c,u){const _=u.subContextCount;let R=u;const Y=c.options;if(Y&&(Y.params||Y.delay)&&(R=u.createSubContext(Y),R.transformIntoNewTimeline(),null!=Y.delay)){6==R.previousNode.type&&(R.currentTimeline.snapshotCurrentStyles(),R.previousNode=Vi);const Ce=gn(Y.delay);R.delayNextStep(Ce)}c.steps.length&&(c.steps.forEach((Ce=>L(this,Ce,R))),R.currentTimeline.applyStylesToKeyframe(),R.subContextCount>_&&R.transformIntoNewTimeline()),u.previousNode=c}visitGroup(c,u){const _=[];let R=u.currentTimeline.currentTime;const Y=c.options&&c.options.delay?gn(c.options.delay):0;c.steps.forEach((Ce=>{const Pe=u.createSubContext(c.options);Y&&Pe.delayNextStep(Y),L(this,Ce,Pe),R=Math.max(R,Pe.currentTimeline.currentTime),_.push(Pe.currentTimeline)})),_.forEach((Ce=>u.currentTimeline.mergeTimelineCollectedStyles(Ce))),u.transformIntoNewTimeline(R),u.previousNode=c}_visitTiming(c,u){if(c.dynamic){const _=c.strValue;return Qt(u.params?F(_,u.params,u.errors):_,u.errors)}return{duration:c.duration,delay:c.delay,easing:c.easing}}visitAnimate(c,u){const _=u.currentAnimateTimings=this._visitTiming(c.timings,u),R=u.currentTimeline;_.delay&&(u.incrementTime(_.delay),R.snapshotCurrentStyles());const Y=c.style;5==Y.type?this.visitKeyframes(Y,u):(u.incrementTime(_.duration),this.visitStyle(Y,u),R.applyStylesToKeyframe()),u.currentAnimateTimings=null,u.previousNode=c}visitStyle(c,u){const _=u.currentTimeline,R=u.currentAnimateTimings;!R&&_.hasCurrentStyleProperties()&&_.forwardFrame();const Y=R&&R.easing||c.easing;c.isEmptyStep?_.applyEmptyStep(Y):_.setStyles(c.styles,Y,u.errors,u.options),u.previousNode=c}visitKeyframes(c,u){const _=u.currentAnimateTimings,R=u.currentTimeline.duration,Y=_.duration,Pe=u.createSubContext().currentTimeline;Pe.easing=_.easing,c.styles.forEach((Ke=>{Pe.forwardTime((Ke.offset||0)*Y),Pe.setStyles(Ke.styles,Ke.easing,u.errors,u.options),Pe.applyStylesToKeyframe()})),u.currentTimeline.mergeTimelineCollectedStyles(Pe),u.transformIntoNewTimeline(R+Y),u.previousNode=c}visitQuery(c,u){const _=u.currentTimeline.currentTime,R=c.options||{},Y=R.delay?gn(R.delay):0;Y&&(6===u.previousNode.type||0==_&&u.currentTimeline.hasCurrentStyleProperties())&&(u.currentTimeline.snapshotCurrentStyles(),u.previousNode=Vi);let Ce=_;const Pe=u.invokeQuery(c.selector,c.originalSelector,c.limit,c.includeSelf,!!R.optional,u.errors);u.currentQueryTotal=Pe.length;let Ke=null;Pe.forEach(((ft,kt)=>{u.currentQueryIndex=kt;const Lt=u.createSubContext(c.options,ft);Y&&Lt.delayNextStep(Y),ft===u.element&&(Ke=Lt.currentTimeline),L(this,c.animation,Lt),Lt.currentTimeline.applyStylesToKeyframe(),Ce=Math.max(Ce,Lt.currentTimeline.currentTime)})),u.currentQueryIndex=0,u.currentQueryTotal=0,u.transformIntoNewTimeline(Ce),Ke&&(u.currentTimeline.mergeTimelineCollectedStyles(Ke),u.currentTimeline.snapshotCurrentStyles()),u.previousNode=c}visitStagger(c,u){const _=u.parentContext,R=u.currentTimeline,Y=c.timings,Ce=Math.abs(Y.duration),Pe=Ce*(u.currentQueryTotal-1);let Ke=Ce*u.currentQueryIndex;switch(Y.duration<0?"reverse":Y.easing){case"reverse":Ke=Pe-Ke;break;case"full":Ke=_.currentStaggerTime}const kt=u.currentTimeline;Ke&&kt.delayNextStep(Ke);const Lt=kt.currentTime;L(this,c.animation,u),u.previousNode=c,_.currentStaggerTime=R.currentTime-Lt+(R.startTime-_.currentTimeline.startTime)}}const Vi={};class bo{constructor(c,u,_,R,Y,Ce,Pe,Ke){this._driver=c,this.element=u,this.subInstructions=_,this._enterClassName=R,this._leaveClassName=Y,this.errors=Ce,this.timelines=Pe,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Vi,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Ke||new ii(this._driver,u,0),Pe.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(c,u){if(!c)return;const _=c;let R=this.options;null!=_.duration&&(R.duration=gn(_.duration)),null!=_.delay&&(R.delay=gn(_.delay));const Y=_.params;if(Y){let Ce=R.params;Ce||(Ce=this.options.params={}),Object.keys(Y).forEach((Pe=>{(!u||!Ce.hasOwnProperty(Pe))&&(Ce[Pe]=F(Y[Pe],Ce,this.errors))}))}}_copyOptions(){const c={};if(this.options){const u=this.options.params;if(u){const _=c.params={};Object.keys(u).forEach((R=>{_[R]=u[R]}))}}return c}createSubContext(c=null,u,_){const R=u||this.element,Y=new bo(this._driver,R,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(R,_||0));return Y.previousNode=this.previousNode,Y.currentAnimateTimings=this.currentAnimateTimings,Y.options=this._copyOptions(),Y.updateOptions(c),Y.currentQueryIndex=this.currentQueryIndex,Y.currentQueryTotal=this.currentQueryTotal,Y.parentContext=this,this.subContextCount++,Y}transformIntoNewTimeline(c){return this.previousNode=Vi,this.currentTimeline=this.currentTimeline.fork(this.element,c),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(c,u,_){const R={duration:u??c.duration,delay:this.currentTimeline.currentTime+(_??0)+c.delay,easing:""},Y=new Hi(this._driver,c.element,c.keyframes,c.preStyleProps,c.postStyleProps,R,c.stretchStartingKeyframe);return this.timelines.push(Y),R}incrementTime(c){this.currentTimeline.forwardTime(this.currentTimeline.duration+c)}delayNextStep(c){c>0&&this.currentTimeline.delayNextStep(c)}invokeQuery(c,u,_,R,Y,Ce){let Pe=[];if(R&&Pe.push(this.element),c.length>0){c=(c=c.replace(na,"."+this._enterClassName)).replace(ra,"."+this._leaveClassName);let ft=this._driver.query(this.element,c,1!=_);0!==_&&(ft=_<0?ft.slice(ft.length+_,ft.length):ft.slice(0,_)),Pe.push(...ft)}return!Y&&0==Pe.length&&Ce.push(function zt(g){return new r.vHH(3014,!1)}()),Pe}}class ii{constructor(c,u,_,R){this._driver=c,this.element=u,this.startTime=_,this._elementTimelineStylesLookup=R,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(u),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(u,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(c){const u=1===this._keyframes.size&&this._pendingStyles.size;this.duration||u?(this.forwardTime(this.currentTime+c),u&&this.snapshotCurrentStyles()):this.startTime+=c}fork(c,u){return this.applyStylesToKeyframe(),new ii(this._driver,c,u||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(c){this.applyStylesToKeyframe(),this.duration=c,this._loadKeyframe()}_updateStyle(c,u){this._localTimelineStyles.set(c,u),this._globalTimelineStyles.set(c,u),this._styleSummary.set(c,{time:this.currentTime,value:u})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(c){c&&this._previousKeyframe.set("easing",c);for(let[u,_]of this._globalTimelineStyles)this._backFill.set(u,_||te.l3),this._currentKeyframe.set(u,te.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(c,u,_,R){u&&this._previousKeyframe.set("easing",u);const Y=R&&R.params||{},Ce=function Ms(g,c){const u=new Map;let _;return g.forEach((R=>{if("*"===R){_=_||c.keys();for(let Y of _)u.set(Y,te.l3)}else Ue(R,u)})),u}(c,this._globalTimelineStyles);for(let[Pe,Ke]of Ce){const ft=F(Ke,Y,_);this._pendingStyles.set(Pe,ft),this._localTimelineStyles.has(Pe)||this._backFill.set(Pe,this._globalTimelineStyles.get(Pe)??te.l3),this._updateStyle(Pe,ft)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach(((c,u)=>{this._currentKeyframe.set(u,c)})),this._pendingStyles.clear(),this._localTimelineStyles.forEach(((c,u)=>{this._currentKeyframe.has(u)||this._currentKeyframe.set(u,c)})))}snapshotCurrentStyles(){for(let[c,u]of this._localTimelineStyles)this._pendingStyles.set(c,u),this._updateStyle(c,u)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const c=[];for(let u in this._currentKeyframe)c.push(u);return c}mergeTimelineCollectedStyles(c){c._styleSummary.forEach(((u,_)=>{const R=this._styleSummary.get(_);(!R||u.time>R.time)&&this._updateStyle(_,u.value)}))}buildKeyframes(){this.applyStylesToKeyframe();const c=new Set,u=new Set,_=1===this._keyframes.size&&0===this.duration;let R=[];this._keyframes.forEach(((Pe,Ke)=>{const ft=Ue(Pe,new Map,this._backFill);ft.forEach(((kt,Lt)=>{kt===te.k1?c.add(Lt):kt===te.l3&&u.add(Lt)})),_||ft.set("offset",Ke/this.duration),R.push(ft)}));const Y=c.size?B(c.values()):[],Ce=u.size?B(u.values()):[];if(_){const Pe=R[0],Ke=new Map(Pe);Pe.set("offset",0),Ke.set("offset",1),R=[Pe,Ke]}return Vo(this.element,R,Y,Ce,this.duration,this.startTime,this.easing,!1)}}class Hi extends ii{constructor(c,u,_,R,Y,Ce,Pe=!1){super(c,u,Ce.delay),this.keyframes=_,this.preStyleProps=R,this.postStyleProps=Y,this._stretchStartingKeyframe=Pe,this.timings={duration:Ce.duration,delay:Ce.delay,easing:Ce.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let c=this.keyframes,{delay:u,duration:_,easing:R}=this.timings;if(this._stretchStartingKeyframe&&u){const Y=[],Ce=_+u,Pe=u/Ce,Ke=Ue(c[0]);Ke.set("offset",0),Y.push(Ke);const ft=Ue(c[0]);ft.set("offset",Ds(Pe)),Y.push(ft);const kt=c.length-1;for(let Lt=1;Lt<=kt;Lt++){let Qn=Ue(c[Lt]);const ln=Qn.get("offset");Qn.set("offset",Ds((u+ln*_)/Ce)),Y.push(Qn)}_=Ce,u=0,R="",c=Y}return Vo(this.element,c,this.preStyleProps,this.postStyleProps,_,u,R,!0)}}function Ds(g,c=3){const u=Math.pow(10,c-1);return Math.round(g*u)/u}class Cn{}const Ts=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 uo extends Cn{normalizePropertyName(c,u){return ce(c)}normalizeStyleValue(c,u,_,R){let Y="";const Ce=_.toString().trim();if(Ts.has(u)&&0!==_&&"0"!==_)if("number"==typeof _)Y="px";else{const Pe=_.match(/^[+-]?[\d\.]+([a-z]*)$/);Pe&&0==Pe[1].length&&R.push(function lt(g,c){return new r.vHH(3005,!1)}())}return Ce+Y}}function jo(g,c,u,_,R,Y,Ce,Pe,Ke,ft,kt,Lt,Qn){return{type:0,element:g,triggerName:c,isRemovalTransition:R,fromState:u,fromStyles:Y,toState:_,toStyles:Ce,timelines:Pe,queriedElements:Ke,preStyleProps:ft,postStyleProps:kt,totalTime:Lt,errors:Qn}}const $o={};class co{constructor(c,u,_){this._triggerName=c,this.ast=u,this._stateStyles=_}match(c,u,_,R){return function Go(g,c,u,_,R){return g.some((Y=>Y(c,u,_,R)))}(this.ast.matchers,c,u,_,R)}buildStyles(c,u,_){let R=this._stateStyles.get("*");return void 0!==c&&(R=this._stateStyles.get(c?.toString())||R),R?R.buildStyles(u,_):new Map}build(c,u,_,R,Y,Ce,Pe,Ke,ft,kt){const Lt=[],Qn=this.ast.options&&this.ast.options.params||$o,mn=this.buildStyles(_,Pe&&Pe.params||$o,Lt),Rn=Ke&&Ke.params||$o,fr=this.buildStyles(R,Rn,Lt),Fn=new Set,si=new Map,Li=new Map,Nr="void"===R,ts={params:Br(Rn,Qn),delay:this.ast.options?.delay},Ti=kt?[]:Uo(c,u,this.ast.animation,Y,Ce,mn,fr,ts,ft,Lt);let Qr=0;if(Ti.forEach((Wr=>{Qr=Math.max(Wr.duration+Wr.delay,Qr)})),Lt.length)return jo(u,this._triggerName,_,R,Nr,mn,fr,[],[],si,Li,Qr,Lt);Ti.forEach((Wr=>{const _o=Wr.element,xa=J(si,_o,new Set);Wr.preStyleProps.forEach(($s=>xa.add($s)));const js=J(Li,_o,new Set);Wr.postStyleProps.forEach(($s=>js.add($s))),_o!==u&&Fn.add(_o)}));const to=B(Fn.values());return jo(u,this._triggerName,_,R,Nr,mn,fr,Ti,to,si,Li,Qr)}}function Br(g,c){const u=me(c);for(const _ in g)g.hasOwnProperty(_)&&null!=g[_]&&(u[_]=g[_]);return u}class bi{constructor(c,u,_){this.styles=c,this.defaultParams=u,this.normalizer=_}buildStyles(c,u){const _=new Map,R=me(this.defaultParams);return Object.keys(c).forEach((Y=>{const Ce=c[Y];null!==Ce&&(R[Y]=Ce)})),this.styles.styles.forEach((Y=>{"string"!=typeof Y&&Y.forEach(((Ce,Pe)=>{Ce&&(Ce=F(Ce,R,u));const Ke=this.normalizer.normalizePropertyName(Pe,u);Ce=this.normalizer.normalizeStyleValue(Pe,Ke,Ce,u),_.set(Ke,Ce)}))})),_}}class zo{constructor(c,u,_){this.name=c,this.ast=u,this._normalizer=_,this.transitionFactories=[],this.states=new Map,u.states.forEach((R=>{this.states.set(R.name,new bi(R.style,R.options&&R.options.params||{},_))})),Gr(this.states,"true","1"),Gr(this.states,"false","0"),u.transitions.forEach((R=>{this.transitionFactories.push(new co(c,R,this.states))})),this.fallbackTransition=function Do(g,c,u){return new co(g,{type:1,animation:{type:2,steps:[],options:null},matchers:[(Ce,Pe)=>!0],options:null,queryCount:0,depCount:0},c)}(c,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(c,u,_,R){return this.transitionFactories.find((Ce=>Ce.match(c,u,_,R)))||null}matchStyles(c,u,_){return this.fallbackTransition.buildStyles(c,u,_)}}function Gr(g,c,u){g.has(c)?g.has(u)||g.set(u,g.get(c)):g.has(u)&&g.set(c,g.get(u))}const Wo=new Ho;class Ps{constructor(c,u,_){this.bodyNode=c,this._driver=u,this._normalizer=_,this._animations=new Map,this._playersById=new Map,this.players=[]}register(c,u){const _=[],Y=Hr(this._driver,u,_,[]);if(_.length)throw function zn(g){return new r.vHH(3503,!1)}();this._animations.set(c,Y)}_buildPlayer(c,u,_){const R=c.element,Y=$e(0,this._normalizer,0,c.keyframes,u,_);return this._driver.animate(R,Y,c.duration,c.delay,c.easing,[],!0)}create(c,u,_={}){const R=[],Y=this._animations.get(c);let Ce;const Pe=new Map;if(Y?(Ce=Uo(this._driver,u,Y,Nt,dn,new Map,new Map,_,Wo,R),Ce.forEach((kt=>{const Lt=J(Pe,kt.element,new Map);kt.postStyleProps.forEach((Qn=>Lt.set(Qn,null)))}))):(R.push(function Ir(){return new r.vHH(3300,!1)}()),Ce=[]),R.length)throw function Cr(g){return new r.vHH(3504,!1)}();Pe.forEach(((kt,Lt)=>{kt.forEach(((Qn,ln)=>{kt.set(ln,this._driver.computeStyle(Lt,ln,te.l3))}))}));const ft=Me(Ce.map((kt=>{const Lt=Pe.get(kt.element);return this._buildPlayer(kt,new Map,Lt)})));return this._playersById.set(c,ft),ft.onDestroy((()=>this.destroy(c))),this.players.push(ft),ft}destroy(c){const u=this._getPlayer(c);u.destroy(),this._playersById.delete(c);const _=this.players.indexOf(u);_>=0&&this.players.splice(_,1)}_getPlayer(c){const u=this._playersById.get(c);if(!u)throw function er(g){return new r.vHH(3301,!1)}();return u}listen(c,u,_,R){const Y=De(u,"","","");return je(this._getPlayer(c),_,Y,R),()=>{}}command(c,u,_,R){if("register"==_)return void this.register(c,R[0]);if("create"==_)return void this.create(c,u,R[0]||{});const Y=this._getPlayer(c);switch(_){case"play":Y.play();break;case"pause":Y.pause();break;case"reset":Y.reset();break;case"restart":Y.restart();break;case"finish":Y.finish();break;case"init":Y.init();break;case"setPosition":Y.setPosition(parseFloat(R[0]));break;case"destroy":this.destroy(c)}}}const mr="ng-animate-queued",ho="ng-animate-disabled",oi=[],Ai={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ur={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Vr="__ng_removed";class xi{constructor(c,u=""){this.namespaceId=u;const _=c&&c.hasOwnProperty("value");if(this.value=function oa(g){return g??null}(_?c.value:c),_){const Y=me(c);delete Y.value,this.options=Y}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(c){const u=c.params;if(u){const _=this.options.params;Object.keys(u).forEach((R=>{null==_[R]&&(_[R]=u[R])}))}}}const Mo="void",nr=new xi(Mo);class Ii{constructor(c,u,_){this.id=c,this.hostElement=u,this._engine=_,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+c,Di(u,this._hostClassName)}listen(c,u,_,R){if(!this._triggers.has(u))throw function ui(g,c){return new r.vHH(3302,!1)}();if(null==_||0==_.length)throw function wr(g){return new r.vHH(3303,!1)}();if(!function sa(g){return"start"==g||"done"==g}(_))throw function $n(g,c){return new r.vHH(3400,!1)}();const Y=J(this._elementListeners,c,[]),Ce={name:u,phase:_,callback:R};Y.push(Ce);const Pe=J(this._engine.statesByElement,c,new Map);return Pe.has(u)||(Di(c,on),Di(c,on+"-"+u),Pe.set(u,nr)),()=>{this._engine.afterFlush((()=>{const Ke=Y.indexOf(Ce);Ke>=0&&Y.splice(Ke,1),this._triggers.has(u)||Pe.delete(u)}))}}register(c,u){return!this._triggers.has(c)&&(this._triggers.set(c,u),!0)}_getTrigger(c){const u=this._triggers.get(c);if(!u)throw function Vn(g){return new r.vHH(3401,!1)}();return u}trigger(c,u,_,R=!0){const Y=this._getTrigger(u),Ce=new wn(this.id,u,c);let Pe=this._engine.statesByElement.get(c);Pe||(Di(c,on),Di(c,on+"-"+u),this._engine.statesByElement.set(c,Pe=new Map));let Ke=Pe.get(u);const ft=new xi(_,this.id);if(!(_&&_.hasOwnProperty("value"))&&Ke&&ft.absorbOptions(Ke.options),Pe.set(u,ft),Ke||(Ke=nr),ft.value!==Mo&&Ke.value===ft.value){if(!function Qe(g,c){const u=Object.keys(g),_=Object.keys(c);if(u.length!=_.length)return!1;for(let R=0;R<u.length;R++){const Y=u[R];if(!c.hasOwnProperty(Y)||g[Y]!==c[Y])return!1}return!0}(Ke.params,ft.params)){const Rn=[],fr=Y.matchStyles(Ke.value,Ke.params,Rn),Fn=Y.matchStyles(ft.value,ft.params,Rn);Rn.length?this._engine.reportError(Rn):this._engine.afterFlush((()=>{bt(c,fr),ut(c,Fn)}))}return}const Qn=J(this._engine.playersByElement,c,[]);Qn.forEach((Rn=>{Rn.namespaceId==this.id&&Rn.triggerName==u&&Rn.queued&&Rn.destroy()}));let ln=Y.matchTransition(Ke.value,ft.value,c,ft.params),mn=!1;if(!ln){if(!R)return;ln=Y.fallbackTransition,mn=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:c,triggerName:u,transition:ln,fromState:Ke,toState:ft,player:Ce,isFallbackTransition:mn}),mn||(Di(c,mr),Ce.onStart((()=>{D(c,mr)}))),Ce.onDone((()=>{let Rn=this.players.indexOf(Ce);Rn>=0&&this.players.splice(Rn,1);const fr=this._engine.playersByElement.get(c);if(fr){let Fn=fr.indexOf(Ce);Fn>=0&&fr.splice(Fn,1)}})),this.players.push(Ce),Qn.push(Ce),Ce}deregister(c){this._triggers.delete(c),this._engine.statesByElement.forEach((u=>u.delete(c))),this._elementListeners.forEach(((u,_)=>{this._elementListeners.set(_,u.filter((R=>R.name!=c)))}))}clearElementCache(c){this._engine.statesByElement.delete(c),this._elementListeners.delete(c);const u=this._engine.playersByElement.get(c);u&&(u.forEach((_=>_.destroy())),this._engine.playersByElement.delete(c))}_signalRemovalForInnerTriggers(c,u){const _=this._engine.driver.query(c,qn,!0);_.forEach((R=>{if(R[Vr])return;const Y=this._engine.fetchNamespacesByElement(R);Y.size?Y.forEach((Ce=>Ce.triggerLeaveAnimation(R,u,!1,!0))):this.clearElementCache(R)})),this._engine.afterFlushAnimationsDone((()=>_.forEach((R=>this.clearElementCache(R)))))}triggerLeaveAnimation(c,u,_,R){const Y=this._engine.statesByElement.get(c),Ce=new Map;if(Y){const Pe=[];if(Y.forEach(((Ke,ft)=>{if(Ce.set(ft,Ke.value),this._triggers.has(ft)){const kt=this.trigger(c,ft,Mo,R);kt&&Pe.push(kt)}})),Pe.length)return this._engine.markElementAsRemoved(this.id,c,!0,u,Ce),_&&Me(Pe).onDone((()=>this._engine.processLeaveNode(c))),!0}return!1}prepareLeaveAnimationListeners(c){const u=this._elementListeners.get(c),_=this._engine.statesByElement.get(c);if(u&&_){const R=new Set;u.forEach((Y=>{const Ce=Y.name;if(R.has(Ce))return;R.add(Ce);const Ke=this._triggers.get(Ce).fallbackTransition,ft=_.get(Ce)||nr,kt=new xi(Mo),Lt=new wn(this.id,Ce,c);this._engine.totalQueuedPlayers++,this._queue.push({element:c,triggerName:Ce,transition:Ke,fromState:ft,toState:kt,player:Lt,isFallbackTransition:!0})}))}}removeNode(c,u){const _=this._engine;if(c.childElementCount&&this._signalRemovalForInnerTriggers(c,u),this.triggerLeaveAnimation(c,u,!0))return;let R=!1;if(_.totalAnimations){const Y=_.players.length?_.playersByQueriedElement.get(c):[];if(Y&&Y.length)R=!0;else{let Ce=c;for(;Ce=Ce.parentNode;)if(_.statesByElement.get(Ce)){R=!0;break}}}if(this.prepareLeaveAnimationListeners(c),R)_.markElementAsRemoved(this.id,c,!1,u);else{const Y=c[Vr];(!Y||Y===Ai)&&(_.afterFlush((()=>this.clearElementCache(c))),_.destroyInnerAnimations(c),_._onRemovalComplete(c,u))}}insertNode(c,u){Di(c,this._hostClassName)}drainQueuedTransitions(c){const u=[];return this._queue.forEach((_=>{const R=_.player;if(R.destroyed)return;const Y=_.element,Ce=this._elementListeners.get(Y);Ce&&Ce.forEach((Pe=>{if(Pe.name==_.triggerName){const Ke=De(Y,_.triggerName,_.fromState.value,_.toState.value);Ke._data=c,je(_.player,Pe.phase,Ke,Pe.callback)}})),R.markedForDestroy?this._engine.afterFlush((()=>{R.destroy()})):u.push(_)})),this._queue=[],u.sort(((_,R)=>{const Y=_.transition.ast.depCount,Ce=R.transition.ast.depCount;return 0==Y||0==Ce?Y-Ce:this._engine.driver.containsElement(_.element,R.element)?1:-1}))}destroy(c){this.players.forEach((u=>u.destroy())),this._signalRemovalForInnerTriggers(this.hostElement,c)}elementContainsData(c){let u=!1;return this._elementListeners.has(c)&&(u=!0),u=!!this._queue.find((_=>_.element===c))||u,u}}class So{constructor(c,u,_){this.bodyNode=c,this.driver=u,this._normalizer=_,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(R,Y)=>{}}_onRemovalComplete(c,u){this.onRemovalComplete(c,u)}get queuedPlayers(){const c=[];return this._namespaceList.forEach((u=>{u.players.forEach((_=>{_.queued&&c.push(_)}))})),c}createNamespace(c,u){const _=new Ii(c,u,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,u)?this._balanceNamespaceList(_,u):(this.newHostElements.set(u,_),this.collectEnterElement(u)),this._namespaceLookup[c]=_}_balanceNamespaceList(c,u){const _=this._namespaceList,R=this.namespacesByHostElement;if(_.length-1>=0){let Ce=!1,Pe=this.driver.getParentElement(u);for(;Pe;){const Ke=R.get(Pe);if(Ke){const ft=_.indexOf(Ke);_.splice(ft+1,0,c),Ce=!0;break}Pe=this.driver.getParentElement(Pe)}Ce||_.unshift(c)}else _.push(c);return R.set(u,c),c}register(c,u){let _=this._namespaceLookup[c];return _||(_=this.createNamespace(c,u)),_}registerTrigger(c,u,_){let R=this._namespaceLookup[c];R&&R.register(u,_)&&this.totalAnimations++}destroy(c,u){if(!c)return;const _=this._fetchNamespace(c);this.afterFlush((()=>{this.namespacesByHostElement.delete(_.hostElement),delete this._namespaceLookup[c];const R=this._namespaceList.indexOf(_);R>=0&&this._namespaceList.splice(R,1)})),this.afterFlushAnimationsDone((()=>_.destroy(u)))}_fetchNamespace(c){return this._namespaceLookup[c]}fetchNamespacesByElement(c){const u=new Set,_=this.statesByElement.get(c);if(_)for(let R of _.values())if(R.namespaceId){const Y=this._fetchNamespace(R.namespaceId);Y&&u.add(Y)}return u}trigger(c,u,_,R){if(di(u)){const Y=this._fetchNamespace(c);if(Y)return Y.trigger(u,_,R),!0}return!1}insertNode(c,u,_,R){if(!di(u))return;const Y=u[Vr];if(Y&&Y.setForRemoval){Y.setForRemoval=!1,Y.setForMove=!0;const Ce=this.collectedLeaveElements.indexOf(u);Ce>=0&&this.collectedLeaveElements.splice(Ce,1)}if(c){const Ce=this._fetchNamespace(c);Ce&&Ce.insertNode(u,_)}R&&this.collectEnterElement(u)}collectEnterElement(c){this.collectedEnterElements.push(c)}markElementAsDisabled(c,u){u?this.disabledNodes.has(c)||(this.disabledNodes.add(c),Di(c,ho)):this.disabledNodes.has(c)&&(this.disabledNodes.delete(c),D(c,ho))}removeNode(c,u,_,R){if(di(u)){const Y=c?this._fetchNamespace(c):null;if(Y?Y.removeNode(u,R):this.markElementAsRemoved(c,u,!1,R),_){const Ce=this.namespacesByHostElement.get(u);Ce&&Ce.id!==c&&Ce.removeNode(u,R)}}else this._onRemovalComplete(u,R)}markElementAsRemoved(c,u,_,R,Y){this.collectedLeaveElements.push(u),u[Vr]={namespaceId:c,setForRemoval:R,hasAnimation:_,removedBeforeQueried:!1,previousTriggersValues:Y}}listen(c,u,_,R,Y){return di(u)?this._fetchNamespace(c).listen(u,_,R,Y):()=>{}}_buildInstruction(c,u,_,R,Y){return c.transition.build(this.driver,c.element,c.fromState.value,c.toState.value,_,R,c.fromState.options,c.toState.options,u,Y)}destroyInnerAnimations(c){let u=this.driver.query(c,qn,!0);u.forEach((_=>this.destroyActiveAnimationsForElement(_))),0!=this.playersByQueriedElement.size&&(u=this.driver.query(c,Yn,!0),u.forEach((_=>this.finishActiveQueriedAnimationOnElement(_))))}destroyActiveAnimationsForElement(c){const u=this.playersByElement.get(c);u&&u.forEach((_=>{_.queued?_.markedForDestroy=!0:_.destroy()}))}finishActiveQueriedAnimationOnElement(c){const u=this.playersByQueriedElement.get(c);u&&u.forEach((_=>_.finish()))}whenRenderingDone(){return new Promise((c=>{if(this.players.length)return Me(this.players).onDone((()=>c()));c()}))}processLeaveNode(c){const u=c[Vr];if(u&&u.setForRemoval){if(c[Vr]=Ai,u.namespaceId){this.destroyInnerAnimations(c);const _=this._fetchNamespace(u.namespaceId);_&&_.clearElementCache(c)}this._onRemovalComplete(c,u.setForRemoval)}c.classList?.contains(ho)&&this.markElementAsDisabled(c,!1),this.driver.query(c,".ng-animate-disabled",!0).forEach((_=>{this.markElementAsDisabled(_,!1)}))}flush(c=-1){let u=[];if(this.newHostElements.size&&(this.newHostElements.forEach(((_,R)=>this._balanceNamespaceList(_,R))),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let _=0;_<this.collectedEnterElements.length;_++)Di(this.collectedEnterElements[_],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const _=[];try{u=this._flushAnimations(_,c)}finally{for(let R=0;R<_.length;R++)_[R]()}}else for(let _=0;_<this.collectedLeaveElements.length;_++)this.processLeaveNode(this.collectedLeaveElements[_]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach((_=>_())),this._flushFns=[],this._whenQuietFns.length){const _=this._whenQuietFns;this._whenQuietFns=[],u.length?Me(u).onDone((()=>{_.forEach((R=>R()))})):_.forEach((R=>R()))}}reportError(c){throw function vr(g){return new r.vHH(3402,!1)}()}_flushAnimations(c,u){const _=new Ho,R=[],Y=new Map,Ce=[],Pe=new Map,Ke=new Map,ft=new Map,kt=new Set;this.disabledNodes.forEach((Zt=>{kt.add(Zt);const un=this.driver.query(Zt,".ng-animate-queued",!0);for(let Tn=0;Tn<un.length;Tn++)kt.add(un[Tn])}));const Lt=this.bodyNode,Qn=Array.from(this.statesByElement.keys()),ln=po(Qn,this.collectedEnterElements),mn=new Map;let Rn=0;ln.forEach(((Zt,un)=>{const Tn=Nt+Rn++;mn.set(un,Tn),Zt.forEach((pr=>Di(pr,Tn)))}));const fr=[],Fn=new Set,si=new Set;for(let Zt=0;Zt<this.collectedLeaveElements.length;Zt++){const un=this.collectedLeaveElements[Zt],Tn=un[Vr];Tn&&Tn.setForRemoval&&(fr.push(un),Fn.add(un),Tn.hasAnimation?this.driver.query(un,".ng-star-inserted",!0).forEach((pr=>Fn.add(pr))):si.add(un))}const Li=new Map,Nr=po(Qn,Array.from(Fn));Nr.forEach(((Zt,un)=>{const Tn=dn+Rn++;Li.set(un,Tn),Zt.forEach((pr=>Di(pr,Tn)))})),c.push((()=>{ln.forEach(((Zt,un)=>{const Tn=mn.get(un);Zt.forEach((pr=>D(pr,Tn)))})),Nr.forEach(((Zt,un)=>{const Tn=Li.get(un);Zt.forEach((pr=>D(pr,Tn)))})),fr.forEach((Zt=>{this.processLeaveNode(Zt)}))}));const ts=[],Ti=[];for(let Zt=this._namespaceList.length-1;Zt>=0;Zt--)this._namespaceList[Zt].drainQueuedTransitions(u).forEach((Tn=>{const pr=Tn.player,Yr=Tn.element;if(ts.push(pr),this.collectedEnterElements.length){const Pi=Yr[Vr];if(Pi&&Pi.setForMove){if(Pi.previousTriggersValues&&Pi.previousTriggersValues.has(Tn.triggerName)){const Gs=Pi.previousTriggersValues.get(Tn.triggerName),$i=this.statesByElement.get(Tn.element);if($i&&$i.has(Tn.triggerName)){const zl=$i.get(Tn.triggerName);zl.value=Gs,$i.set(Tn.triggerName,zl)}}return void pr.destroy()}}const ns=!Lt||!this.driver.containsElement(Lt,Yr),vo=Li.get(Yr),rs=mn.get(Yr),jr=this._buildInstruction(Tn,_,rs,vo,ns);if(jr.errors&&jr.errors.length)return void Ti.push(jr);if(ns)return pr.onStart((()=>bt(Yr,jr.fromStyles))),pr.onDestroy((()=>ut(Yr,jr.toStyles))),void R.push(pr);if(Tn.isFallbackTransition)return pr.onStart((()=>bt(Yr,jr.fromStyles))),pr.onDestroy((()=>ut(Yr,jr.toStyles))),void R.push(pr);const bu=[];jr.timelines.forEach((Pi=>{Pi.stretchStartingKeyframe=!0,this.disabledNodes.has(Pi.element)||bu.push(Pi)})),jr.timelines=bu,_.append(Yr,jr.timelines),Ce.push({instruction:jr,player:pr,element:Yr}),jr.queriedElements.forEach((Pi=>J(Pe,Pi,[]).push(pr))),jr.preStyleProps.forEach(((Pi,Gs)=>{if(Pi.size){let $i=Ke.get(Gs);$i||Ke.set(Gs,$i=new Set),Pi.forEach(((zl,Ia)=>$i.add(Ia)))}})),jr.postStyleProps.forEach(((Pi,Gs)=>{let $i=ft.get(Gs);$i||ft.set(Gs,$i=new Set),Pi.forEach(((zl,Ia)=>$i.add(Ia)))}))}));if(Ti.length){const Zt=[];Ti.forEach((un=>{Zt.push(function Kt(g,c){return new r.vHH(3505,!1)}())})),ts.forEach((un=>un.destroy())),this.reportError(Zt)}const Qr=new Map,to=new Map;Ce.forEach((Zt=>{const un=Zt.element;_.has(un)&&(to.set(un,un),this._beforeAnimationBuild(Zt.player.namespaceId,Zt.instruction,Qr))})),R.forEach((Zt=>{const un=Zt.element;this._getPreviousPlayers(un,!1,Zt.namespaceId,Zt.triggerName,null).forEach((pr=>{J(Qr,un,[]).push(pr),pr.destroy()}))}));const Wr=fr.filter((Zt=>an(Zt,Ke,ft))),_o=new Map;To(_o,this.driver,si,ft,te.l3).forEach((Zt=>{an(Zt,Ke,ft)&&Wr.push(Zt)}));const js=new Map;ln.forEach(((Zt,un)=>{To(js,this.driver,new Set(Zt),Ke,te.k1)})),Wr.forEach((Zt=>{const un=_o.get(Zt),Tn=js.get(Zt);_o.set(Zt,new Map([...Array.from(un?.entries()??[]),...Array.from(Tn?.entries()??[])]))}));const $s=[],Cl=[],wu={};Ce.forEach((Zt=>{const{element:un,player:Tn,instruction:pr}=Zt;if(_.has(un)){if(kt.has(un))return Tn.onDestroy((()=>ut(un,pr.toStyles))),Tn.disabled=!0,Tn.overrideTotalTime(pr.totalTime),void R.push(Tn);let Yr=wu;if(to.size>1){let vo=un;const rs=[];for(;vo=vo.parentNode;){const jr=to.get(vo);if(jr){Yr=jr;break}rs.push(vo)}rs.forEach((jr=>to.set(jr,Yr)))}const ns=this._buildAnimation(Tn.namespaceId,pr,Qr,Y,js,_o);if(Tn.setRealPlayer(ns),Yr===wu)$s.push(Tn);else{const vo=this.playersByElement.get(Yr);vo&&vo.length&&(Tn.parentPlayer=Me(vo)),R.push(Tn)}}else bt(un,pr.fromStyles),Tn.onDestroy((()=>ut(un,pr.toStyles))),Cl.push(Tn),kt.has(un)&&R.push(Tn)})),Cl.forEach((Zt=>{const un=Y.get(Zt.element);if(un&&un.length){const Tn=Me(un);Zt.setRealPlayer(Tn)}})),R.forEach((Zt=>{Zt.parentPlayer?Zt.syncPlayerEvents(Zt.parentPlayer):Zt.destroy()}));for(let Zt=0;Zt<fr.length;Zt++){const un=fr[Zt],Tn=un[Vr];if(D(un,dn),Tn&&Tn.hasAnimation)continue;let pr=[];if(Pe.size){let ns=Pe.get(un);ns&&ns.length&&pr.push(...ns);let vo=this.driver.query(un,Yn,!0);for(let rs=0;rs<vo.length;rs++){let jr=Pe.get(vo[rs]);jr&&jr.length&&pr.push(...jr)}}const Yr=pr.filter((ns=>!ns.destroyed));Yr.length?T(this,un,Yr):this.processLeaveNode(un)}return fr.length=0,$s.forEach((Zt=>{this.players.push(Zt),Zt.onDone((()=>{Zt.destroy();const un=this.players.indexOf(Zt);this.players.splice(un,1)})),Zt.play()})),$s}elementContainsData(c,u){let _=!1;const R=u[Vr];return R&&R.setForRemoval&&(_=!0),this.playersByElement.has(u)&&(_=!0),this.playersByQueriedElement.has(u)&&(_=!0),this.statesByElement.has(u)&&(_=!0),this._fetchNamespace(c).elementContainsData(u)||_}afterFlush(c){this._flushFns.push(c)}afterFlushAnimationsDone(c){this._whenQuietFns.push(c)}_getPreviousPlayers(c,u,_,R,Y){let Ce=[];if(u){const Pe=this.playersByQueriedElement.get(c);Pe&&(Ce=Pe)}else{const Pe=this.playersByElement.get(c);if(Pe){const Ke=!Y||Y==Mo;Pe.forEach((ft=>{ft.queued||!Ke&&ft.triggerName!=R||Ce.push(ft)}))}}return(_||R)&&(Ce=Ce.filter((Pe=>!(_&&_!=Pe.namespaceId||R&&R!=Pe.triggerName)))),Ce}_beforeAnimationBuild(c,u,_){const Y=u.element,Ce=u.isRemovalTransition?void 0:c,Pe=u.isRemovalTransition?void 0:u.triggerName;for(const Ke of u.timelines){const ft=Ke.element,kt=ft!==Y,Lt=J(_,ft,[]);this._getPreviousPlayers(ft,kt,Ce,Pe,u.toState).forEach((ln=>{const mn=ln.getRealPlayer();mn.beforeDestroy&&mn.beforeDestroy(),ln.destroy(),Lt.push(ln)}))}bt(Y,u.fromStyles)}_buildAnimation(c,u,_,R,Y,Ce){const Pe=u.triggerName,Ke=u.element,ft=[],kt=new Set,Lt=new Set,Qn=u.timelines.map((mn=>{const Rn=mn.element;kt.add(Rn);const fr=Rn[Vr];if(fr&&fr.removedBeforeQueried)return new te.ZN(mn.duration,mn.delay);const Fn=Rn!==Ke,si=function P(g){const c=[];return Z(g,c),c}((_.get(Rn)||oi).map((Qr=>Qr.getRealPlayer()))).filter((Qr=>!!Qr.element&&Qr.element===Rn)),Li=Y.get(Rn),Nr=Ce.get(Rn),ts=$e(0,this._normalizer,0,mn.keyframes,Li,Nr),Ti=this._buildPlayer(mn,ts,si);if(mn.subTimeline&&R&&Lt.add(Rn),Fn){const Qr=new wn(c,Pe,Rn);Qr.setRealPlayer(Ti),ft.push(Qr)}return Ti}));ft.forEach((mn=>{J(this.playersByQueriedElement,mn.element,[]).push(mn),mn.onDone((()=>function Yo(g,c,u){let _=g.get(c);if(_){if(_.length){const R=_.indexOf(u);_.splice(R,1)}0==_.length&&g.delete(c)}return _}(this.playersByQueriedElement,mn.element,mn)))})),kt.forEach((mn=>Di(mn,yr)));const ln=Me(Qn);return ln.onDestroy((()=>{kt.forEach((mn=>D(mn,yr))),ut(Ke,u.toStyles)})),Lt.forEach((mn=>{J(R,mn,[]).push(ln)})),ln}_buildPlayer(c,u,_){return u.length>0?this.driver.animate(c.element,u,c.duration,c.delay,c.easing,_):new te.ZN(c.duration,c.delay)}}class wn{constructor(c,u,_){this.namespaceId=c,this.triggerName=u,this.element=_,this._player=new te.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(c){this._containsRealPlayer||(this._player=c,this._queuedCallbacks.forEach(((u,_)=>{u.forEach((R=>je(c,_,void 0,R)))})),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(c.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(c){this.totalTime=c}syncPlayerEvents(c){const u=this._player;u.triggerCallback&&c.onStart((()=>u.triggerCallback("start"))),c.onDone((()=>this.finish())),c.onDestroy((()=>this.destroy()))}_queueEvent(c,u){J(this._queuedCallbacks,c,[]).push(u)}onDone(c){this.queued&&this._queueEvent("done",c),this._player.onDone(c)}onStart(c){this.queued&&this._queueEvent("start",c),this._player.onStart(c)}onDestroy(c){this.queued&&this._queueEvent("destroy",c),this._player.onDestroy(c)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(c){this.queued||this._player.setPosition(c)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(c){const u=this._player;u.triggerCallback&&u.triggerCallback(c)}}function di(g){return g&&1===g.nodeType}function fo(g,c){const u=g.style.display;return g.style.display=c??"none",u}function To(g,c,u,_,R){const Y=[];u.forEach((Ke=>Y.push(fo(Ke))));const Ce=[];_.forEach(((Ke,ft)=>{const kt=new Map;Ke.forEach((Lt=>{const Qn=c.computeStyle(ft,Lt,R);kt.set(Lt,Qn),(!Qn||0==Qn.length)&&(ft[Vr]=Ur,Ce.push(ft))})),g.set(ft,kt)}));let Pe=0;return u.forEach((Ke=>fo(Ke,Y[Pe++]))),Ce}function po(g,c){const u=new Map;if(g.forEach((Pe=>u.set(Pe,[]))),0==c.length)return u;const R=new Set(c),Y=new Map;function Ce(Pe){if(!Pe)return 1;let Ke=Y.get(Pe);if(Ke)return Ke;const ft=Pe.parentNode;return Ke=u.has(ft)?ft:R.has(ft)?1:Ce(ft),Y.set(Pe,Ke),Ke}return c.forEach((Pe=>{const Ke=Ce(Pe);1!==Ke&&u.get(Ke).push(Pe)})),u}function Di(g,c){g.classList?.add(c)}function D(g,c){g.classList?.remove(c)}function T(g,c,u){Me(u).onDone((()=>g.processLeaveNode(c)))}function Z(g,c){for(let u=0;u<g.length;u++){const _=g[u];_ instanceof te.ZE?Z(_.players,c):c.push(_)}}function an(g,c,u){const _=u.get(g);if(!_)return!1;let R=c.get(g);return R?_.forEach((Y=>R.add(Y))):c.set(g,_),u.delete(g),!0}class En{constructor(c,u,_){this.bodyNode=c,this._driver=u,this._normalizer=_,this._triggerCache={},this.onRemovalComplete=(R,Y)=>{},this._transitionEngine=new So(c,u,_),this._timelineEngine=new Ps(c,u,_),this._transitionEngine.onRemovalComplete=(R,Y)=>this.onRemovalComplete(R,Y)}registerTrigger(c,u,_,R,Y){const Ce=c+"-"+R;let Pe=this._triggerCache[Ce];if(!Pe){const Ke=[],kt=Hr(this._driver,Y,Ke,[]);if(Ke.length)throw function Pn(g,c){return new r.vHH(3404,!1)}();Pe=function ei(g,c,u){return new zo(g,c,u)}(R,kt,this._normalizer),this._triggerCache[Ce]=Pe}this._transitionEngine.registerTrigger(u,R,Pe)}register(c,u){this._transitionEngine.register(c,u)}destroy(c,u){this._transitionEngine.destroy(c,u)}onInsert(c,u,_,R){this._transitionEngine.insertNode(c,u,_,R)}onRemove(c,u,_,R){this._transitionEngine.removeNode(c,u,R||!1,_)}disableAnimations(c,u){this._transitionEngine.markElementAsDisabled(c,u)}process(c,u,_,R){if("@"==_.charAt(0)){const[Y,Ce]=se(_);this._timelineEngine.command(Y,u,Ce,R)}else this._transitionEngine.trigger(c,u,_,R)}listen(c,u,_,R,Y){if("@"==_.charAt(0)){const[Ce,Pe]=se(_);return this._timelineEngine.listen(Ce,u,Pe,Y)}return this._transitionEngine.listen(c,u,_,R,Y)}flush(c=-1){this._transitionEngine.flush(c)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let Ui=(()=>{class g{constructor(u,_,R){this._element=u,this._startStyles=_,this._endStyles=R,this._state=0;let Y=g.initialStylesByElement.get(u);Y||g.initialStylesByElement.set(u,Y=new Map),this._initialStyles=Y}start(){this._state<1&&(this._startStyles&&ut(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(ut(this._element,this._initialStyles),this._endStyles&&(ut(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(g.initialStylesByElement.delete(this._element),this._startStyles&&(bt(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(bt(this._element,this._endStyles),this._endStyles=null),ut(this._element,this._initialStyles),this._state=3)}}return g.initialStylesByElement=new WeakMap,g})();function io(g){let c=null;return g.forEach(((u,_)=>{(function ji(g){return"display"===g||"position"===g})(_)&&(c=c||new Map,c.set(_,u))})),c}class aa{constructor(c,u,_,R){this.element=c,this.keyframes=u,this.options=_,this._specialStyles=R,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=_.duration,this._delay=_.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach((c=>c())),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const c=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,c,this.options),this._finalKeyframe=c.length?c[c.length-1]:new Map,this.domPlayer.addEventListener("finish",(()=>this._onFinish()))}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(c){const u=[];return c.forEach((_=>{u.push(Object.fromEntries(_))})),u}_triggerWebAnimation(c,u,_){return c.animate(this._convertKeyframesToObject(u),_)}onStart(c){this._originalOnStartFns.push(c),this._onStartFns.push(c)}onDone(c){this._originalOnDoneFns.push(c),this._onDoneFns.push(c)}onDestroy(c){this._onDestroyFns.push(c)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach((c=>c())),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach((c=>c())),this._onDestroyFns=[])}setPosition(c){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=c*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const c=new Map;this.hasStarted()&&this._finalKeyframe.forEach(((_,R)=>{"offset"!==R&&c.set(R,this._finished?_:_e(this.element,R))})),this.currentSnapshot=c}triggerCallback(c){const u="start"===c?this._onStartFns:this._onDoneFns;u.forEach((_=>_())),u.length=0}}class la{validateStyleProperty(c){return!0}validateAnimatableStyleProperty(c){return!0}matchesElement(c,u){return!1}containsElement(c,u){return It(c,u)}getParentElement(c){return yt(c)}query(c,u,_){return Ot(c,u,_)}computeStyle(c,u,_){return window.getComputedStyle(c)[u]}animate(c,u,_,R,Y,Ce=[]){const Ke={duration:_,delay:R,fill:0==R?"both":"forwards"};Y&&(Ke.easing=Y);const ft=new Map,kt=Ce.filter((ln=>ln instanceof aa));(function N(g,c){return 0===g||0===c})(_,R)&&kt.forEach((ln=>{ln.currentSnapshot.forEach(((mn,Rn)=>ft.set(Rn,mn)))}));let Lt=function U(g){return g.length?g[0]instanceof Map?g:g.map((c=>X(c))):[]}(u).map((ln=>Ue(ln)));Lt=function w(g,c,u){if(u.size&&c.length){let _=c[0],R=[];if(u.forEach(((Y,Ce)=>{_.has(Ce)||R.push(Ce),_.set(Ce,Y)})),R.length)for(let Y=1;Y<c.length;Y++){let Ce=c[Y];R.forEach((Pe=>Ce.set(Pe,_e(g,Pe))))}}return c}(c,Lt,ft);const Qn=function Or(g,c){let u=null,_=null;return Array.isArray(c)&&c.length?(u=io(c[0]),c.length>1&&(_=io(c[c.length-1]))):c instanceof Map&&(u=io(c)),u||_?new Ui(g,u,_):null}(c,Lt);return new aa(c,Lt,Ke,Qn)}}let ua=(()=>{class g extends te._j{constructor(u,_){super(),this._nextAnimationId=0,this._renderer=u.createRenderer(_.body,{id:"0",encapsulation:r.ifc.None,styles:[],data:{animation:[]}})}build(u){const _=this._nextAnimationId.toString();this._nextAnimationId++;const R=Array.isArray(u)?(0,te.vP)(u):u;return Ma(this._renderer,null,_,"register",[R]),new hi(_,this._renderer)}}return g.ɵfac=function(u){return new(u||g)(r.LFG(r.FYo),r.LFG(v.K0))},g.ɵprov=r.Yz7({token:g,factory:g.ɵfac}),g})();class hi extends te.LC{constructor(c,u){super(),this._id=c,this._renderer=u}create(c,u){return new Po(this._id,c,u||{},this._renderer)}}class Po{constructor(c,u,_,R){this.id=c,this.element=u,this._renderer=R,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",_)}_listen(c,u){return this._renderer.listen(this.element,`@@${this.id}:${c}`,u)}_command(c,...u){return Ma(this._renderer,this.element,this.id,c,u)}onDone(c){this._listen("done",c)}onStart(c){this._listen("start",c)}onDestroy(c){this._listen("destroy",c)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(c){this._command("setPosition",c)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function Ma(g,c,u,_,R){return g.setProperty(c,`@@${u}:${_}`,R)}const Mi="@.disabled";let Zo=(()=>{class g{constructor(u,_,R){this.delegate=u,this.engine=_,this._zone=R,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),_.onRemovalComplete=(Y,Ce)=>{const Pe=Ce?.parentNode(Y);Pe&&Ce.removeChild(Pe,Y)}}createRenderer(u,_){const Y=this.delegate.createRenderer(u,_);if(!(u&&_&&_.data&&_.data.animation)){let kt=this._rendererCache.get(Y);return kt||(kt=new qi("",Y,this.engine,(()=>this._rendererCache.delete(Y))),this._rendererCache.set(Y,kt)),kt}const Ce=_.id,Pe=_.id+"-"+this._currentId;this._currentId++,this.engine.register(Pe,u);const Ke=kt=>{Array.isArray(kt)?kt.forEach(Ke):this.engine.registerTrigger(Ce,Pe,u,kt.name,kt)};return _.data.animation.forEach(Ke),new us(this,Pe,Y,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then((()=>{this._microtaskId++}))}scheduleListenerCallback(u,_,R){u>=0&&u<this._microtaskId?this._zone.run((()=>_(R))):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then((()=>{this._zone.run((()=>{this._animationCallbacksBuffer.forEach((Y=>{const[Ce,Pe]=Y;Ce(Pe)})),this._animationCallbacksBuffer=[]}))})),this._animationCallbacksBuffer.push([_,R]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular((()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)})),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return g.ɵfac=function(u){return new(u||g)(r.LFG(r.FYo),r.LFG(En),r.LFG(r.R0b))},g.ɵprov=r.Yz7({token:g,factory:g.ɵfac}),g})();class qi{constructor(c,u,_,R){this.namespaceId=c,this.delegate=u,this.engine=_,this._onDestroy=R,this.destroyNode=this.delegate.destroyNode?Y=>u.destroyNode(Y):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(c,u){return this.delegate.createElement(c,u)}createComment(c){return this.delegate.createComment(c)}createText(c){return this.delegate.createText(c)}appendChild(c,u){this.delegate.appendChild(c,u),this.engine.onInsert(this.namespaceId,u,c,!1)}insertBefore(c,u,_,R=!0){this.delegate.insertBefore(c,u,_),this.engine.onInsert(this.namespaceId,u,c,R)}removeChild(c,u,_){this.engine.onRemove(this.namespaceId,u,this.delegate,_)}selectRootElement(c,u){return this.delegate.selectRootElement(c,u)}parentNode(c){return this.delegate.parentNode(c)}nextSibling(c){return this.delegate.nextSibling(c)}setAttribute(c,u,_,R){this.delegate.setAttribute(c,u,_,R)}removeAttribute(c,u,_){this.delegate.removeAttribute(c,u,_)}addClass(c,u){this.delegate.addClass(c,u)}removeClass(c,u){this.delegate.removeClass(c,u)}setStyle(c,u,_,R){this.delegate.setStyle(c,u,_,R)}removeStyle(c,u,_){this.delegate.removeStyle(c,u,_)}setProperty(c,u,_){"@"==u.charAt(0)&&u==Mi?this.disableAnimations(c,!!_):this.delegate.setProperty(c,u,_)}setValue(c,u){this.delegate.setValue(c,u)}listen(c,u,_){return this.delegate.listen(c,u,_)}disableAnimations(c,u){this.engine.disableAnimations(c,u)}}class us extends qi{constructor(c,u,_,R,Y){super(u,_,R,Y),this.factory=c,this.namespaceId=u}setProperty(c,u,_){"@"==u.charAt(0)?"."==u.charAt(1)&&u==Mi?this.disableAnimations(c,_=void 0===_||!!_):this.engine.process(this.namespaceId,c,u.slice(1),_):this.delegate.setProperty(c,u,_)}listen(c,u,_){if("@"==u.charAt(0)){const R=function ul(g){switch(g){case"body":return document.body;case"document":return document;case"window":return window;default:return g}}(c);let Y=u.slice(1),Ce="";return"@"!=Y.charAt(0)&&([Y,Ce]=function As(g){const c=g.indexOf(".");return[g.substring(0,c),g.slice(c+1)]}(Y)),this.engine.listen(this.namespaceId,R,Y,Ce,(Pe=>{this.factory.scheduleListenerCallback(Pe._data||-1,_,Pe)}))}return this.delegate.listen(c,u,_)}}const za=[{provide:te._j,useClass:ua},{provide:Cn,useFactory:function Qi(){return new uo}},{provide:En,useClass:(()=>{class g extends En{constructor(u,_,R,Y){super(u.body,_,R)}ngOnDestroy(){this.flush()}}return g.ɵfac=function(u){return new(u||g)(r.LFG(v.K0),r.LFG(pn),r.LFG(Cn),r.LFG(r.z2F))},g.ɵprov=r.Yz7({token:g,factory:g.ɵfac}),g})()},{provide:r.FYo,useFactory:function ds(g,c,u){return new Zo(g,c,u)},deps:[Ze.se,En,r.R0b]}],xs=[{provide:pn,useFactory:()=>new la},{provide:r.QbO,useValue:"BrowserAnimations"},...za],Ko=[{provide:pn,useClass:Dt},{provide:r.QbO,useValue:"NoopAnimations"},...za];let qo=(()=>{class g{static withConfig(u){return{ngModule:g,providers:u.disableAnimations?Ko:xs}}}return g.ɵfac=function(u){return new(u||g)},g.ɵmod=r.oAB({type:g}),g.ɵinj=r.cJS({providers:xs,imports:[Ze.b2]}),g})();function hs(g,c){if(1&g&&(r.TgZ(0,"span",7),r.Hsn(1),r.qZA()),2&g){const u=r.oxw(2);r.uIk("id",u.infoBlockID)}}function cl(g,c){if(1&g){const u=r.EpF();r.ynx(0),r.TgZ(1,"a",3),r.NdJ("click",(function(){r.CHM(u);const R=r.oxw();return r.KtG(R.toggleInfoBlock())})),r._UZ(2,"span",4)(3,"span",5),r.qZA(),r.YNc(4,hs,2,1,"span",6),r.BQk()}if(2&g){const u=r.oxw();r.xp6(1),r.uIk("id",u.infoIconID)("title",u.toggleActionTitle),r.xp6(2),r.Q6J("innerHtml",u.toggleActionTitle,r.oJD),r.xp6(1),r.Q6J("ngIf",u.showInfoBlock)}}const Wa=["*"];function _i(g,c){if(1&g&&r._uU(0),2&g){const u=r.oxw();r.hij(" ",u.locale.maketext("Loading …"),"\n")}}function Ji(g,c){1&g&&r.GkF(0)}const Ne=["header"];function ct(g,c){if(1&g){const u=r.EpF();r.TgZ(0,"button",4),r.NdJ("click",(function(){r.CHM(u);const R=r.oxw();return r.KtG(R.closeClicked())})),r._UZ(1,"i",5),r.qZA()}if(2&g){const u=r.oxw();r.uIk("id",u.buttonID)}}const ot=[[["","callout-heading",""]],"*"],Ht=["[callout-heading]","*"];function Dn(g,c){if(1&g&&(r.TgZ(0,"li",3),r._UZ(1,"i",4)(2,"span",5),r.qZA()),2&g){const u=c.$implicit;r.uIk("id",u.id),r.xp6(2),r.Q6J("innerHtml",u.message,r.oJD)}}function or(g,c){if(1&g&&(r.TgZ(0,"ul",1),r.YNc(1,Dn,3,2,"li",2),r.qZA()),2&g){const u=r.oxw();r.xp6(1),r.Q6J("ngForOf",u.getFieldErrors())}}const Rr=function(g){return{visibility:g}};function ar(g,c){if(1&g&&(r.TgZ(0,"label",10)(1,"span",11),r._uU(2),r.qZA()()),2&g){const u=r.oxw();r.s9C("for",u.toggleID),r.uIk("aria-label",u.labelValue),r.xp6(1),r.uIk("id",u.onTextID),r.xp6(1),r.hij(" ",u.isToggleOff?u.offText:u.onText," ")}}function fs(g,c){if(1&g&&r._UZ(0,"i",12),2&g){const u=r.oxw();r.uIk("id",u.leftSpinnerID)}}function ca(g,c){if(1&g&&(r.TgZ(0,"label",13)(1,"span",14),r._uU(2),r.qZA()()),2&g){const u=r.oxw();r.s9C("for",u.toggleID),r.uIk("aria-label",u.labelValue),r.xp6(1),r.uIk("id",u.offTextID),r.xp6(1),r.hij(" ",u.isToggleOff?u.offText:u.onText," ")}}function Si(g,c){if(1&g&&r._UZ(0,"i",15),2&g){const u=r.oxw();r.uIk("id",u.rightSpinnerID)}}const Is=function(g,c,u){return{"switch-on":g,"switch-off":c,disabled:u}},dl=function(g){return{disabled:g}},fi=function(g,c){return{"switch-on":g,"switch-off":c}};function Oo(g,c){if(1&g){const u=r.EpF();r.TgZ(0,"button",9),r.NdJ("click",(function(){r.CHM(u);const R=r.oxw(2);return r.KtG(R.fireClose())})),r.TgZ(1,"span"),r._uU(2,"×"),r.qZA()()}if(2&g){const u=r.oxw(2);r.Q6J("id",u.closeButtonID)("title",u.closeLabel),r.uIk("aria-label",u.closeLabel),r.xp6(1),r.uIk("aria-hidden",!0)}}function C(g,c){if(1&g){const u=r.EpF();r.TgZ(0,"button",10),r.NdJ("click",(function(){r.CHM(u);const R=r.oxw(2);return r.KtG(R.fireToggleMore())})),r._uU(1),r.qZA()}if(2&g){const u=r.oxw(2);r.Q6J("id",u.moreButtonID),r.xp6(1),r.hij(" ",u.moreLabel," ")}}function I(g,c){if(1&g&&(r.TgZ(0,"strong",11),r._uU(1),r.qZA()),2&g){const u=r.oxw(2);r.xp6(1),r.Oqu(u.label)}}function M(g,c){if(1&g&&(r.TgZ(0,"span",12),r._uU(1),r.qZA()),2&g){const u=r.oxw(2);r.Q6J("id",u.textMessageID),r.xp6(1),r.hij(" ",u.message," ")}}function z(g,c){if(1&g&&(r.TgZ(0,"li")(1,"span",12),r._uU(2),r.qZA()()),2&g){const u=c.$implicit,_=c.index,R=r.oxw(3);r.xp6(1),r.s9C("id",R.textListID+"_"+_),r.xp6(1),r.hij(" ",u," ")}}function Te(g,c){if(1&g&&(r.TgZ(0,"ul",13),r.YNc(1,z,3,2,"li",14),r.qZA()),2&g){const u=r.oxw(2);r.xp6(1),r.Q6J("ngForOf",u.alert.list)}}function rt(g,c){if(1&g&&(r.TgZ(0,"div",1),r.YNc(1,Oo,3,4,"button",2),r.YNc(2,C,2,2,"button",3),r._UZ(3,"span"),r.TgZ(4,"div",4),r.YNc(5,I,2,1,"strong",5),r.TgZ(6,"span",6),r.YNc(7,M,2,2,"span",7),r.qZA(),r.YNc(8,Te,2,1,"ul",8),r.qZA()()),2&g){const u=r.oxw();r.Gre("alert alert-",u.type," ng-hide"),r.Q6J("@openClose",u.animationClass),r.xp6(1),r.Q6J("ngIf",u.showCloseButton),r.xp6(1),r.Q6J("ngIf",u.showMoreButton),r.xp6(1),r.Tol(u.icon),r.uIk("aria-hidden",!0),r.xp6(2),r.Q6J("ngIf",u.hasLabel),r.xp6(2),r.Q6J("ngIf",u.message),r.xp6(1),r.Q6J("ngIf",u.alert&&u.alert.list&&u.alert.list.length)}}function gt(g,c){if(1&g){const u=r.EpF();r.TgZ(0,"div",6)(1,"cp-alert",7),r.NdJ("close",(function(){const Y=r.CHM(u).$implicit,Ce=r.oxw();return r.KtG(Ce.alertClosed(Y))})),r.qZA()()}if(2&g){const u=c.$implicit;r.xp6(1),r.Q6J("alert",u)}}function rn(g,c){if(1&g&&r._UZ(0,"div",8),2&g){const u=r.oxw();r.Q6J("ngClass",u.positionClasses)}}const Gn=["searchInput"];function kn(g,c){if(1&g&&(r.TgZ(0,"span",6),r._uU(1),r.qZA()),2&g){const u=r.oxw();r.xp6(1),r.Oqu(u.clearIconLabel)}}class lr{constructor(c,u,_=lr.defaultOptions){this._message=c,this._type=u;const R=_.id?_.id:Math.random().toString(36).substr(2,9);this._id=R,this._closable=_.isCloseable??!0,this._autoClosePeriod=_.autoClosePeriod,this._list=_.list,this._showMore=_.showMore||lr.defaultShowMore,this._ts=_.createdOn??Date.now()}get message(){return this._message}get type(){return this._type}get id(){return this._id}get isClosable(){return this._closable}get autoCloses(){return this._autoClosePeriod>0}get autoClosePeriod(){return this._autoClosePeriod}get list(){return this._list}get createdOn(){return this._ts}get showMore(){return this._showMore}static makeAlert(c){const{message:u,type:_,...R}=c;return new lr(u,_,R)}}lr.defaultShowMore=!1,lr.defaultAutoClosePeriod=0,lr.defaultOptions={autoClosePeriod:lr.defaultAutoClosePeriod,list:[]};var Bn=(()=>{return(g=Bn||(Bn={}))[g.error=0]="error",g[g.success=1]="success",g[g.warning=2]="warning",g[g.information=3]="information",Bn;var g})(),go=(()=>{return(g=go||(go={})).add="add",g.remove="remove",g.clear="clear",go;var g})();let ha=(()=>{class g{constructor(){this._alertEventsSource=new G.x,this._alerts={},this.alertEvents=this._alertEventsSource.asObservable()}add(u,_=g.defaultGroup){this._alerts[_]||(this._alerts[_]=[]);const R=u instanceof lr?u:lr.makeAlert(u);if(this.list(_).push(R),this._alertEventsSource.next({type:go.add,group:_,alert:R}),(0,r.X6Q)())switch(R.type){case Bn.error:console.error(R.message,R);break;case Bn.warning:console.warn(R.message,R);break;default:console.log(R.message,R)}return R}success(u,_=g.defaultGroup){return this.add(new lr(u,Bn.success,g.defaultSuccessOptions),_)}error(u,_=g.defaultGroup){return this.add({message:u,type:Bn.error},_)}info(u,_=g.defaultGroup){return this.add({message:u,type:Bn.information},_)}warn(u,_=g.defaultGroup){return this.add({message:u,type:Bn.warning},_)}removeById(u,_=g.defaultGroup){const R=this.list(_),Y=R.findIndex((Ce=>Ce.id===u),0);if(-1!==Y){const Ce=R[Y];R.splice(Y,1),this._alertEventsSource.next({type:go.remove,group:_,alert:Ce})}}clear(u=g.defaultGroup){this._alerts[u]=[],this._alertEventsSource.next({type:go.clear,group:u})}list(u=g.defaultGroup){return null==this._alerts[u]&&(this._alerts[u]=[]),this._alerts[u]}}return g.defaultGroup="__DEFAULT__",g.defaultSuccessOptions={autoClosePeriod:1e4},g.ɵfac=function(u){return new(u||g)},g.ɵprov=r.Yz7({token:g,factory:g.ɵfac,providedIn:"root"}),g})(),Ns=(()=>{class g{}return g.ɵfac=function(u){return new(u||g)},g.ɵmod=r.oAB({type:g}),g.ɵinj=r.cJS({providers:[ha],imports:[v.ez]}),g})();var mo=(()=>{return(g=mo||(mo={})).inline="inline",g.topLeft="top-left",g.topMiddle="top-middle",g.topRight="top-right",g.bottomLeft="bottom-left",g.bottomMiddle="bottom-middle",g.bottomRight="bottom-right",g.middleLeft="middle-left",g.middleMiddle="middle-middle",g.middleRight="middle-right",mo;var g})();const Ao=mo.topRight,Ka=mo.topLeft;let Qa=(()=>{class g{constructor(u){this.locale=u,this.showInfoToggle=!0,this.toggleActionTitleExpand=u.maketext("Expand"),this.toggleActionTitleCollapse=u.maketext("Collapse")}toggleInfoBlock(){this.showInfoBlock=!this.showInfoBlock,this.updateToggleActionTitle(this.showInfoBlock)}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-form-label`");this.labelID=`${this.id}_label`,this.infoIconID=`${this.id}_infoIcon`,this.infoBlockID=`${this.id}_infoBlock`,this.showInfoBlock=(!0===this.showInfoBlock||!1===this.showInfoBlock)&&this.showInfoBlock,this.updateToggleActionTitle(this.showInfoBlock)}updateToggleActionTitle(u){this.toggleActionTitle=u?this.toggleActionTitleCollapse:this.toggleActionTitleExpand}}return g.ɵfac=function(u){return new(u||g)(r.Y36(Oe.g))},g.ɵcmp=r.Xpm({type:g,selectors:[["cp-form-label"]],inputs:{id:"id",for:"for",showInfoBlock:"showInfoBlock",labelText:"labelText",showInfoToggle:"showInfoToggle"},ngContentSelectors:Wa,decls:4,vars:4,consts:[[1,"toggle-info-label-container"],[3,"innerHtml"],[4,"ngIf"],["href","javascript:void(0)",1,"text-primary","form-info-sign",3,"click"],["aria-hidden","true",1,"far","fa-question-circle","text-primary"],[1,"sr-only",3,"innerHtml"],["class","info-block",4,"ngIf"],[1,"info-block"]],template:function(u,_){1&u&&(r.F$t(),r.TgZ(0,"div",0),r._UZ(1,"label",1),r._uU(2," "),r.YNc(3,cl,5,4,"ng-container",2),r.qZA()),2&u&&(r.xp6(1),r.Q6J("innerHtml",_.labelText,r.oJD),r.uIk("id",_.labelID)("for",_.for),r.xp6(2),r.Q6J("ngIf",_.showInfoToggle))},dependencies:[v.O5],styles:["label[_ngcontent-%COMP%]{margin:0 0 5px}.info-block[_ngcontent-%COMP%]{color:#737373;display:block;margin:0 0 5px;font-weight:400;font-size:13px}"]}),g})(),_s=(()=>{class g{}return g.ɵfac=function(u){return new(u||g)},g.ɵmod=r.oAB({type:g}),g.ɵinj=r.cJS({imports:[v.ez,ye.m]}),g})(),Jo=(()=>{class g{constructor(u){this.locale=u,this.containerId="",this.spinnerId="",this.messageId=""}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-loading-spinner`");this.containerId=this.id+"_loadingSpinnerContainer",this.spinnerId=this.id+"_loadingSpinner",this.messageId=this.id+"_loadingMessage"}}return g.ɵfac=function(u){return new(u||g)(r.Y36(Oe.g))},g.ɵcmp=r.Xpm({type:g,selectors:[["cp-loading-spinner"]],inputs:{loadingTemplate:"loadingTemplate",id:"id"},decls:6,vars:4,consts:[["defaultLoadingTemplate",""],["aria-busy","true","aria-live","polite",1,"loading-spinner-container"],[1,"fas","fa-spinner","fa-spin","spinner"],[1,"loading-spinner-message"],[4,"ngTemplateOutlet"]],template:function(u,_){if(1&u&&(r.YNc(0,_i,1,1,"ng-template",null,0,r.W1O),r.TgZ(2,"div",1),r._UZ(3,"i",2),r.TgZ(4,"div",3),r.YNc(5,Ji,1,0,"ng-container",4),r.qZA()()),2&u){const R=r.MAs(1);r.xp6(2),r.uIk("id",_.containerId),r.xp6(1),r.uIk("id",_.spinnerId),r.xp6(1),r.uIk("id",_.messageId),r.xp6(1),r.Q6J("ngTemplateOutlet",_.loadingTemplate?_.loadingTemplate:R)}},dependencies:[v.tP],styles:['.loading-spinner-container[_ngcontent-%COMP%]{background-color:#d7edf9;border:1px solid #179bd7;border-radius:2px;margin-bottom:20px;box-shadow:inset 41px 0 #179bd7}html[dir="ltr"][_nghost-%COMP%] .loading-spinner-container[_ngcontent-%COMP%], html[dir="ltr"] [_nghost-%COMP%] .loading-spinner-container[_ngcontent-%COMP%]{box-shadow:inset 40px 0 #179bd7}html[dir="rtl"][_nghost-%COMP%] .loading-spinner-container[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .loading-spinner-container[_ngcontent-%COMP%]{box-shadow:inset -40px 0 #179bd7}.spinner[_ngcontent-%COMP%]{color:#d7edf9;font-size:20px;display:inline-block;padding:10px}.loading-spinner-message[_ngcontent-%COMP%]{color:#333;display:inline-block;overflow-wrap:break-word;word-wrap:break-word}.loading-spinner-message[_ngcontent-%COMP%] a{text-decoration:underline;color:#255783}html[dir="ltr"][_nghost-%COMP%] .loading-spinner-message[_ngcontent-%COMP%], html[dir="ltr"] [_nghost-%COMP%] .loading-spinner-message[_ngcontent-%COMP%]{margin:0 0 0 10px}html[dir="rtl"][_nghost-%COMP%] .loading-spinner-message[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .loading-spinner-message[_ngcontent-%COMP%]{margin:0 10px 0 0}']}),g})(),xo=(()=>{class g{}return g.ɵfac=function(u){return new(u||g)},g.ɵmod=r.oAB({type:g}),g.ɵinj=r.cJS({imports:[v.ez,ye.m]}),g})();var Bs=(()=>{return(g=Bs||(Bs={})).warnings="warnings",g.danger="danger",g.info="info",g.default="info",Bs;var g})();let q=(()=>{class g{constructor(){this.calloutType=Bs.default,this.closeable=!1,this.close=new r.vpe}closeClicked(){this.close.emit(null)}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-callout`");this.buttonID=`${this.id}_button`,this.headingID=`${this.id}_heading`,this.contentID=`${this.id}_content`}ngAfterViewInit(){0===this.header.nativeElement.children.length&&this.header.nativeElement.classList.add("hidden")}}return g.ɵfac=function(u){return new(u||g)},g.ɵcmp=r.Xpm({type:g,selectors:[["cp-callout"]],viewQuery:function(u,_){if(1&u&&r.Gf(Ne,5),2&u){let R;r.iGM(R=r.CRH())&&(_.header=R.first)}},inputs:{id:"id",calloutType:"calloutType",closeable:"closeable"},outputs:{close:"close"},ngContentSelectors:Ht,decls:7,vars:7,consts:[["role","alert"],["type","button","class","close","aria-label","Close",3,"click",4,"ngIf"],[1,"callout-heading"],["header",""],["type","button","aria-label","Close",1,"close",3,"click"],["aria-hidden","true",1,"fas","fa-sm","fa-times"]],template:function(u,_){1&u&&(r.F$t(ot),r.TgZ(0,"div",0),r.YNc(1,ct,2,1,"button",1),r.TgZ(2,"div",2,3),r.Hsn(4),r.qZA(),r.TgZ(5,"div"),r.Hsn(6,1),r.qZA()()),2&u&&(r.Gre("callout callout-",_.calloutType,""),r.uIk("aria-label",_.calloutType),r.xp6(1),r.Q6J("ngIf",_.closeable),r.xp6(1),r.uIk("id",_.headingID),r.xp6(3),r.uIk("id",_.contentID))},dependencies:[v.O5],styles:['.callout[_ngcontent-%COMP%]{border-left-width:3px;border-left-style:solid;border-left-color:#eee;margin:15px 0;padding:15px}.callout-danger[_ngcontent-%COMP%]{background-color:#f2dede;border-left-color:#d03f00}.callout-success[_ngcontent-%COMP%]{background-color:#dff2d5;border-left-color:#83b655}.callout-warning[_ngcontent-%COMP%]{background-color:#fcf8e1;border-left-color:#f6c342}.callout-info[_ngcontent-%COMP%]{background-color:#d7edf9;border-left-color:#179bd7}.callout-heading[_ngcontent-%COMP%]{font-size:16px;margin-bottom:15px;font-family:inherit;font-weight:600;line-height:1.1;color:inherit;text-transform:capitalize}html[dir="rtl"][_nghost-%COMP%] .callout[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .callout[_ngcontent-%COMP%]{border-left-width:0;border-left-style:none;border-left-color:transparent;border-right-width:3px;border-right-style:solid;border-right-color:#eee}html[dir="rtl"][_nghost-%COMP%] .callout-danger[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .callout-danger[_ngcontent-%COMP%]{border-left-color:transparent;border-right-color:#d03f00}html[dir="rtl"][_nghost-%COMP%] .callout-success[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .callout-success[_ngcontent-%COMP%]{border-left-color:transparent;border-right-color:#83b655}html[dir="rtl"][_nghost-%COMP%] .callout-warning[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .callout-warning[_ngcontent-%COMP%]{border-left-color:transparent;border-right-color:#f6c342}html[dir="rtl"][_nghost-%COMP%] .callout-info[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .callout-info[_ngcontent-%COMP%]{border-left-color:transparent;border-right-color:#179bd7}']}),g})(),Xi=(()=>{class g{}return g.ɵfac=function(u){return new(u||g)},g.ɵmod=r.oAB({type:g}),g.ɵinj=r.cJS({imports:[v.ez]}),g})(),Vs=(()=>{class g{constructor(){}hasErrors(){return this.control&&!this.control.valid}hasChanged(){return this.control&&(this.control.dirty||this.control.touched)}getFieldErrors(){return this.control?Object.keys(this.control.errors).map((u=>(this.control.errors[u].id=`${this.id}_${u}`,this.control.errors[u].key=u,this.control.errors[u]))):[]}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-validation-container`")}}return g.ɵfac=function(u){return new(u||g)},g.ɵcmp=r.Xpm({type:g,selectors:[["cp-validation-container"]],inputs:{control:"control",id:"id"},decls:1,vars:1,consts:[["class","validation-container",4,"ngIf"],[1,"validation-container"],["class","validation validation-error ng-hide",4,"ngFor","ngForOf"],[1,"validation","validation-error","ng-hide"],[1,"fas","fa-exclamation-circle"],[1,"validation-message",3,"innerHtml"]],template:function(u,_){1&u&&r.YNc(0,or,2,1,"ul",0),2&u&&r.Q6J("ngIf",_.hasErrors()&&_.hasChanged())},dependencies:[v.sg,v.O5],styles:['.validation-container[_ngcontent-%COMP%]{background-color:#f8c9c4;border:1px solid #a94442;padding:5px;border-radius:2px;list-style:none;margin-bottom:0;margin-top:5px}.validation-error[_ngcontent-%COMP%]{position:relative;line-height:20px}.validation-error[_ngcontent-%COMP%] > .fas[_ngcontent-%COMP%]{color:#a94442;display:inline-block;position:absolute;top:4px}.validation-message[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle;margin-left:20px}html[dir="rtl"][_nghost-%COMP%] .validation-message[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .validation-message[_ngcontent-%COMP%]{margin-right:20px;margin-left:0}']}),g})(),ao=(()=>{class g{}return g.ɵfac=function(u){return new(u||g)},g.ɵmod=r.oAB({type:g}),g.ɵinj=r.cJS({imports:[v.ez]}),g})();var Yt=(()=>{return(g=Yt||(Yt={})).loading="loading",g.disabled="disabled",g.enabled="enabled",Yt;var g})();let fa=(()=>{class g{constructor(){this.click=new r.vpe,this.type="button",this.buttonClass="btn-primary",this.isDisabled=!1,this.showSpinner=!1}set buttonState(u){switch(u){case Yt.enabled:this.setToEnabled();break;case Yt.loading:this.setToLoading();break;case Yt.disabled:this.setToDisable()}}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-action-button`")}onClick(u){u.stopPropagation(),this.click.emit()}setToLoading(){this.isDisabled=!0,this.showSpinner=!0}setToDisable(){this.isDisabled=!0}setToEnabled(){this.isDisabled=!1,this.showSpinner=!1}}return g.ɵfac=function(u){return new(u||g)},g.ɵcmp=r.Xpm({type:g,selectors:[["cp-action-button"]],inputs:{id:"id",type:"type",buttonClass:"buttonClass",buttonState:"buttonState"},outputs:{click:"click"},ngContentSelectors:Wa,decls:3,vars:8,consts:[[1,"btn","action-button",3,"id","type","ngClass","disabled","click"],[1,"fas","fa-sync","fa-spin",3,"id","ngStyle"]],template:function(u,_){1&u&&(r.F$t(),r.TgZ(0,"button",0),r.NdJ("click",(function(Y){return _.onClick(Y)})),r._UZ(1,"i",1),r.Hsn(2),r.qZA()),2&u&&(r.MGl("id","",_.id,"-button"),r.s9C("type",_.type),r.Q6J("ngClass",_.buttonClass)("disabled",_.isDisabled),r.xp6(1),r.MGl("id","",_.id,"-spinner"),r.Q6J("ngStyle",r.VKq(6,Rr,_.showSpinner?"visible":"hidden")))},dependencies:[v.mk,v.PC],styles:['.action-button[_ngcontent-%COMP%]{padding:6px 26px 6px 12px}html[dir="rtl"][_nghost-%COMP%] .action-button[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .action-button[_ngcontent-%COMP%]{padding:6px 12px 6px 26px}']}),g})(),gl=(()=>{class g{}return g.ɵfac=function(u){return new(u||g)},g.ɵmod=r.oAB({type:g}),g.ɵinj=r.cJS({imports:[v.ez]}),g})();var pa=(()=>{return(g=pa||(pa={})).toggleOn="toggleSwitchOn",g.toggleOff="toggleSwitchOff",g.toggleUpdating="toggleSwitchUpdating",pa;var g})(),eo=(()=>{return(g=eo||(eo={})).left="left",g.right="right",eo;var g})();let jl=(()=>{class g{constructor(u){this.locale=u,this.onText="",this.offText="",this.isDisabled=!1,this.toggleStatus=new r.vpe,this._isToggleUpdating=!1,this._hasSpinner=!1}get isToggleOff(){return this._isToggleOffStatus}get hasSpinner(){return this._hasSpinner}get isToggleUpdating(){return this._isToggleUpdating}get labelValue(){return this.isDisabled?"disabled":this.isToggleOff?this.offText:this.onText}get leftLabelPosition(){return eo.left}get rightLabelPosition(){return eo.right}get isLTR(){return this.locale.isLtr}set toggleState(u){switch(this._toggleState=u,u){case pa.toggleOn:this._isToggleOffStatus=!1,this._isToggleUpdating=!1;break;case pa.toggleOff:this._isToggleOffStatus=!0,this._isToggleUpdating=!1;break;case pa.toggleUpdating:this._isToggleUpdating=!0,this._hasSpinner=!0}}checkToggle(u){this.isDisabled||this._isToggleUpdating||("click"===u.type?this.toggleStatus.emit(u):"keyup"===u.type&&((13===u.keyCode||32===u.keyCode)&&this.toggleStatus.emit(u),this.isLTR?37!==u.keyCode||this._isToggleOffStatus?39===u.keyCode&&this._isToggleOffStatus&&this.toggleStatus.emit(u):this.toggleStatus.emit(u):(37===u.keyCode&&this._isToggleOffStatus||39===u.keyCode&&!this._isToggleOffStatus)&&this.toggleStatus.emit(u)))}isLabelVisible(u){return!(!this.labelPosition||this._isToggleUpdating)&&(!(!this.labelPosition||u!==this.labelPosition)||void 0)}isSpinnerVisible(u){return!(!(this.hasSpinner&&this.labelPosition&&this.isToggleUpdating)||this.isDisabled||u!==this.labelPosition)}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-toggle-switch`");this.toggleID=`${this.id}_toggle`,this.onTextID=`${this.id}_on_text`,this.offTextID=`${this.id}_off_text`,this.leftSpinnerID=`${this.id}_left_spinner`,this.rightSpinnerID=`${this.id}_right_spinner`}}return g.ɵfac=function(u){return new(u||g)(r.Y36(Oe.g))},g.ɵcmp=r.Xpm({type:g,selectors:[["cp-toggle-switch"]],inputs:{id:"id",onText:"onText",offText:"offText",labelPosition:"labelPosition",isDisabled:"isDisabled",toggleState:"toggleState"},outputs:{toggleStatus:"toggleStatus"},decls:10,vars:19,consts:[["role","switch","tabindex","0",1,"toggle-switch-wrapper",3,"ngClass","click","keyup"],["class","toggle-switch-label-left",3,"for",4,"ngIf"],["class","fas fa-sync fa-spin spinner toggle-switch-updating-indicator toggle-switch-updating-indicator-left",4,"ngIf"],["attr.aria-label","toggle",1,"toggle-switch",3,"ngClass"],[1,"toggle-switch-animate",3,"ngClass"],[1,"switch-left"],[1,"knob"],[1,"switch-right"],["class","toggle-switch-label-right",3,"for",4,"ngIf"],["class","fas fa-sync fa-spin spinner toggle-switch-updating-indicator toggle-switch-updating-indicator-right",4,"ngIf"],[1,"toggle-switch-label-left",3,"for"],[1,"toggle-switch-text","toggle-switch-text-left"],[1,"fas","fa-sync","fa-spin","spinner","toggle-switch-updating-indicator","toggle-switch-updating-indicator-left"],[1,"toggle-switch-label-right",3,"for"],[1,"toggle-switch-text","toggle-switch-text-right"],[1,"fas","fa-sync","fa-spin","spinner","toggle-switch-updating-indicator","toggle-switch-updating-indicator-right"]],template:function(u,_){1&u&&(r.TgZ(0,"div",0),r.NdJ("click",(function(Y){return _.checkToggle(Y)}))("keyup",(function(Y){return _.checkToggle(Y)})),r.YNc(1,ar,3,4,"label",1),r.YNc(2,fs,1,1,"i",2),r.TgZ(3,"div",3)(4,"div",4),r._UZ(5,"span",5)(6,"span",6)(7,"span",7),r.qZA()(),r.YNc(8,ca,3,4,"label",8),r.YNc(9,Si,1,1,"i",9),r.qZA()),2&u&&(r.Q6J("ngClass",r.kEZ(10,Is,!_.isToggleOff,_.isToggleOff,_.isDisabled||_.isToggleUpdating)),r.uIk("id",_.toggleID)("value",_.labelValue)("aria-checked",!_.isToggleOff),r.xp6(1),r.Q6J("ngIf",_.isLabelVisible(_.leftLabelPosition)),r.xp6(1),r.Q6J("ngIf",_.isSpinnerVisible(_.leftLabelPosition)),r.xp6(1),r.Q6J("ngClass",r.VKq(14,dl,_.isDisabled||_.isToggleUpdating)),r.xp6(1),r.Q6J("ngClass",r.WLB(16,fi,!_.isToggleOff,_.isToggleOff)),r.xp6(4),r.Q6J("ngIf",_.isLabelVisible(_.rightLabelPosition)),r.xp6(1),r.Q6J("ngIf",_.isSpinnerVisible(_.rightLabelPosition)))},dependencies:[v.mk,v.O5],styles:['.toggle-switch-wrapper[_ngcontent-%COMP%]{height:28px;cursor:pointer;border-radius:5px;padding:4px 4px 4px 20px;display:inline-block;margin-left:-20px}.toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch[_ngcontent-%COMP%]{min-width:35px;vertical-align:middle;height:12px;display:inline-block;overflow:visible;border-radius:6px;box-shadow:inset 0 0 2px #00000080}.toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch[_ngcontent-%COMP%] .toggle-switch-animate[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block;transition:left .5s;-o-transition:left .5s;-moz-transition:left .5s;-webkit-transition:left .5s}.toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch[_ngcontent-%COMP%] .toggle-switch-animate[_ngcontent-%COMP%] .knob[_ngcontent-%COMP%]{width:20px;height:20px;margin-top:-5px;border-radius:50%;display:inline-block;position:relative;box-shadow:inset 0 0 2px #00000080}.toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch-label-left[_ngcontent-%COMP%], .toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch-updating-indicator-left[_ngcontent-%COMP%]{margin-right:4px}.toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch-label-right[_ngcontent-%COMP%], .toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch-updating-indicator-right[_ngcontent-%COMP%]{margin-left:4px}.toggle-switch-wrapper.switch-on[_ngcontent-%COMP%] .toggle-switch[_ngcontent-%COMP%]{background-color:#428bca}.toggle-switch-wrapper.switch-on[_ngcontent-%COMP%] .knob[_ngcontent-%COMP%]{background-color:#428bca;left:50%;z-index:99}.toggle-switch-wrapper.switch-off[_ngcontent-%COMP%] .toggle-switch[_ngcontent-%COMP%]{background-color:#ccc}.toggle-switch-wrapper.switch-off[_ngcontent-%COMP%] .knob[_ngcontent-%COMP%]{left:0%;background-color:#ccc}.toggle-switch-wrapper.disabled[_ngcontent-%COMP%]{cursor:not-allowed}.toggle-switch-wrapper.disabled[_ngcontent-%COMP%] .toggle-switch-text[_ngcontent-%COMP%]{opacity:.75;font-style:italic}.toggle-switch-wrapper.disabled[_ngcontent-%COMP%] .toggle-switch.disabled[_ngcontent-%COMP%]{cursor:not-allowed;background-color:#aaa}.toggle-switch-wrapper.disabled[_ngcontent-%COMP%] .toggle-switch.disabled[_ngcontent-%COMP%] .knob[_ngcontent-%COMP%]{background-color:#aaa}html[dir="rtl"][_nghost-%COMP%] .toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch-label-left[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch-label-left[_ngcontent-%COMP%]{margin-left:4px}html[dir="rtl"][_nghost-%COMP%] .toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch-updating-indicator-left[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch-updating-indicator-left[_ngcontent-%COMP%]{margin-left:4px}html[dir="rtl"][_nghost-%COMP%] .toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch-label-right[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch-label-right[_ngcontent-%COMP%]{margin-right:4px}html[dir="rtl"][_nghost-%COMP%] .toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch-updating-indicator-right[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch-updating-indicator-right[_ngcontent-%COMP%]{margin-right:4px}html[dir="rtl"][_nghost-%COMP%] .toggle-switch-wrapper.switch-on[_ngcontent-%COMP%] .knob[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .toggle-switch-wrapper.switch-on[_ngcontent-%COMP%] .knob[_ngcontent-%COMP%]{background-color:#428bca;left:-50%;z-index:99}']}),g})(),ml=(()=>{class g{}return g.ɵfac=function(u){return new(u||g)},g.ɵmod=r.oAB({type:g}),g.ɵinj=r.cJS({imports:[v.ez,ye.m]}),g})();var ki=(()=>{return(g=ki||(ki={})).new="new",g.closed="closed",g.open="open",ki;var g})();let Io=(()=>{class g{constructor(u){this.locale=u,this.close=new r.vpe,this.toggleMore=new r.vpe,this.animationClass=ki.new}get icon(){switch(this.alert.type){case Bn.error:return"type-icon fas fa-times-circle";case Bn.warning:return"type-icon fas fa-exclamation-triangle";case Bn.information:return"type-icon fas fa-info-circle";case Bn.success:return"type-icon fas fa-check-circle"}}get type(){switch(this.alert.type){case Bn.error:return"danger";case Bn.warning:return"warning";case Bn.information:return"info";case Bn.success:return"success"}}get hasLabel(){const u=this.label;return null!==u&&""!==u}get showCloseButton(){return this.alert.isClosable}get showMoreButton(){return this.alert.showMore&&this.toggleMore.observers.length>0}get message(){return this.alert.message}get willAutoClose(){return this.autoClosePeriod>0}get autoClosePeriod(){return this.alert.autoClosePeriod}get isClosed(){return this._closed}ngOnInit(){if(this._showMore=!1,this._closed=!1,this.moreButtonID=this._buildID("btnMore",this.type,this.alert.id),this.closeButtonID=this._buildID("btnClose",this.type,this.alert.id),this.textMessageID=this._buildID("txtMessage",this.type,this.alert.id),this.textListID=this._buildID("txtList",this.type,this.alert.id),!this.label)switch(this.alert.type){case Bn.success:this.label=this.locale.maketext("Success:");break;case Bn.error:this.label=this.locale.maketext("Error:");break;case Bn.information:this.label=this.locale.maketext("Information:");break;case Bn.warning:this.label=this.locale.maketext("Warning:")}this.moreLabel||(this.moreLabel=this.locale.maketext("More")),this.closeLabel||(this.closeLabel=this.locale.maketext("Close")),setTimeout((()=>{this.animationClass=ki.open}),.25)}ngAfterViewInit(){this.willAutoClose&&this.startTimer()}fireToggleMore(){this._showMore=!this._showMore,this.toggleMore.emit({alert:this.alert,showMore:this._showMore,component:this})}fireClose(){this._timeout&&this.clearTimer(),this.animationClass=ki.closed,setTimeout((()=>{this.close.emit({alert:this.alert,component:this}),this._closed=!0}),250)}fireTimeout(){this.fireClose(),this.clearTimer()}startTimer(){this._timeout=setTimeout((()=>this.fireTimeout()),this.autoClosePeriod)}clearTimer(){this._timeout&&(clearTimeout(this._timeout),this._timeout=null)}_buildID(...u){return u.join("_")}}return g.ɵfac=function(u){return new(u||g)(r.Y36(Oe.g))},g.ɵcmp=r.Xpm({type:g,selectors:[["cp-alert"]],inputs:{alert:"alert",label:"label",closeLabel:"closeLabel",moreLabel:"moreLabel"},outputs:{close:"close",toggleMore:"toggleMore"},decls:1,vars:1,consts:[["role","alert",3,"class",4,"ngIf"],["role","alert"],["type","button","class","close",3,"id","title","click",4,"ngIf"],["type","button","class","btn btn-more btn-link pull-right flip",3,"id","click",4,"ngIf"],[1,"alert-message"],["class","alert-title",4,"ngIf"],[1,"alert-body"],[3,"id",4,"ngIf"],["class","alert-list",4,"ngIf"],["type","button",1,"close",3,"id","title","click"],["type","button",1,"btn","btn-more","btn-link","pull-right","flip",3,"id","click"],[1,"alert-title"],[3,"id"],[1,"alert-list"],[4,"ngFor","ngForOf"]],template:function(u,_){1&u&&r.YNc(0,rt,9,13,"div",0),2&u&&r.Q6J("ngIf",!_.isClosed)},dependencies:[v.sg,v.O5],styles:['.alert-danger[_ngcontent-%COMP%]{background-color:#f2dede;border:1px solid #d03f00}html[dir="ltr"][_nghost-%COMP%] .alert-danger[_ngcontent-%COMP%], html[dir="ltr"] [_nghost-%COMP%] .alert-danger[_ngcontent-%COMP%]{box-shadow:inset 41px 0 #d03f00}html[dir="rtl"][_nghost-%COMP%] .alert-danger[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert-danger[_ngcontent-%COMP%]{box-shadow:inset -41px 0 #d03f00}.alert-success[_ngcontent-%COMP%]{background-color:#dff2d5;border:1px solid #83b655}html[dir="ltr"][_nghost-%COMP%] .alert-success[_ngcontent-%COMP%], html[dir="ltr"] [_nghost-%COMP%] .alert-success[_ngcontent-%COMP%]{box-shadow:inset 41px 0 #83b655}html[dir="rtl"][_nghost-%COMP%] .alert-success[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert-success[_ngcontent-%COMP%]{box-shadow:inset -41px 0 #83b655}.alert-warning[_ngcontent-%COMP%]{background-color:#fcf8e1;border:1px solid #f6c342}html[dir="ltr"][_nghost-%COMP%] .alert-warning[_ngcontent-%COMP%], html[dir="ltr"] [_nghost-%COMP%] .alert-warning[_ngcontent-%COMP%]{box-shadow:inset 41px 0 #f6c342}html[dir="rtl"][_nghost-%COMP%] .alert-warning[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert-warning[_ngcontent-%COMP%]{box-shadow:inset -41px 0 #f6c342}.alert-info[_ngcontent-%COMP%]{background-color:#d7edf9;border:1px solid #179bd7}html[dir="ltr"][_nghost-%COMP%] .alert-info[_ngcontent-%COMP%], html[dir="ltr"] [_nghost-%COMP%] .alert-info[_ngcontent-%COMP%]{box-shadow:inset 41px 0 #179bd7}html[dir="rtl"][_nghost-%COMP%] .alert-info[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert-info[_ngcontent-%COMP%]{box-shadow:inset -41px 0 #179bd7}.alert[_ngcontent-%COMP%]{position:relative;border-radius:2px;padding:10px 30px 10px 50px}html[dir="rtl"][_nghost-%COMP%] .alert[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert[_ngcontent-%COMP%]{padding:10px 50px 10px 30px}.alert-message[_ngcontent-%COMP%]{color:#333;overflow-wrap:break-word;word-wrap:break-word;word-break:break-word}.alert-message[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:underline}.alert[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{top:-2px;position:relative;right:-21px}html[dir="rtl"][_nghost-%COMP%] .alert[_ngcontent-%COMP%] .close[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{left:-21px;right:auto}.alert[_ngcontent-%COMP%] .type-icon[_ngcontent-%COMP%]{color:#f2dede;left:10px;position:absolute;-webkit-text-size-adjust:100%;text-size-adjust:100%;font-size:20px;line-height:20px;top:9px}html[dir="rtl"][_nghost-%COMP%] .alert[_ngcontent-%COMP%] .type-icon[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert[_ngcontent-%COMP%] .type-icon[_ngcontent-%COMP%]{left:auto;right:10px}.alert[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{opacity:.5}.alert-success[_ngcontent-%COMP%] .type-icon[_ngcontent-%COMP%]{color:#dff2d5}.alert-warning[_ngcontent-%COMP%] .type-icon[_ngcontent-%COMP%]{color:#fcf8e1}.alert-info[_ngcontent-%COMP%] .type-icon[_ngcontent-%COMP%]{color:#d7edf9}.alert[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin-bottom:0;padding:0 30px}.alert-warning[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{color:#8a6d3b}.alert-warning[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{color:#333}.alert-success[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{color:#3c763d}.alert-success[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{color:#333}.alert-info[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{color:#31708f}.alert-info[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{color:#333}.alert-danger[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{color:#a94442}.alert-danger[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{color:#333}.alert[_ngcontent-%COMP%] .btn-more[_ngcontent-%COMP%]{padding:0;margin:0;line-height:1em;text-transform:none;color:#255783}'],data:{animation:[(0,te.X$)("openClose",[(0,te.SB)(ki.new,(0,te.oB)({opacity:0})),(0,te.SB)(ki.open,(0,te.oB)({opacity:1})),(0,te.SB)(ki.closed,(0,te.oB)({opacity:0,transform:"translateX(25%)"})),(0,te.eR)(`${ki.open} => ${ki.closed}`,[(0,te.jt)("0.25s")]),(0,te.eR)(`${ki.new} => ${ki.open}`,[(0,te.jt)("0.25s")]),(0,te.eR)(`${ki.closed} => ${ki.open}`,[(0,te.jt)("0.25s")])])]}}),g})(),ni=(()=>{class g{}return g.ɵfac=function(u){return new(u||g)},g.ɵmod=r.oAB({type:g}),g.ɵinj=r.cJS({imports:[v.ez,qo,ye.m]}),g})(),vl=(()=>{class g{constructor(u){this.locale=u}get position(){return this.locale.isLtr?Ao:Ka}}return g.ɵfac=function(u){return new(u||g)(r.LFG(Oe.g))},g.ɵprov=r.Yz7({token:g,factory:g.ɵfac,providedIn:"root"}),g})(),Xo=(()=>{class g{constructor(u,_){this._alertService=u,this._positionService=_,this.alerts=this.alerts?this.alerts:[]}get hasAlerts(){return this.alerts.length>0}get positionClasses(){return this.inline?g.positionPrefix+mo.inline.toString():g.positionPrefix+this.position.toString()}get position(){return this._position.toString()}set position(u){this._position=((g,c=mo.topRight)=>{if(g){const u=(g=>{const c=Object.keys(mo),_=Object.values(mo).indexOf(g);return-1!==_?c[_]:(console.warn("Invalid alertList.position set. It must be one of: top-left, top-middle, top-right, bottom-left, bottom-middle, bottom-right, middle-left, middle-middle, middle-right"),null)})(g);if(u)return mo[u]}return c})(u)}alertClosed(u){this._alertService.removeById(u.id,this.group)}ngOnInit(){this.group||(this.group=ha.defaultGroup),this._position||(this._position=this._positionService.position),this._alertService.list(this.group).forEach((_=>this._addAlert(_))),this._groupEvents=this._alertService.alertEvents.pipe((0,Q.h)((_=>_.group===this.group))),this._eventSubscription=this._groupEvents.subscribe({next:this._onAlertEvent.bind(this),error:console.error})}ngOnDestroy(){this._eventSubscription.unsubscribe()}_findAlertIndexById(u){return this.alerts.findIndex((_=>_.id===u))}_addAlert(u){return this.alerts.push(u),this.alerts}_removeAlert(u){const _=this._findAlertIndexById(u.id);return _>-1&&(this.alerts.splice(_,1),!0)}_clearAlerts(){this.alerts.splice(0,this.alerts.length)}_onAlertEvent(u){switch(u.type){case go.add:this._addAlert(u.alert);break;case go.clear:this._clearAlerts();break;case go.remove:this._removeAlert(u.alert)}}}return g.positionPrefix="position-",g.ɵfac=function(u){return new(u||g)(r.Y36(ha),r.Y36(vl))},g.ɵcmp=r.Xpm({type:g,selectors:[["cp-alert-list"]],inputs:{alerts:"alerts",group:"group",inline:"inline",position:"position"},decls:7,vars:3,consts:[[1,"alert-list-container",3,"ngClass"],["container",""],[1,"alert-list"],["list",""],["class","alert-container",4,"ngFor","ngForOf"],["class","alert-list-backdrop",3,"ngClass",4,"ngIf"],[1,"alert-container"],[3,"alert","close"],[1,"alert-list-backdrop",3,"ngClass"]],template:function(u,_){1&u&&(r.TgZ(0,"div")(1,"div",0,1)(3,"div",2,3),r.YNc(5,gt,2,1,"div",4),r.qZA()(),r.YNc(6,rn,1,1,"div",5),r.qZA()),2&u&&(r.xp6(1),r.Q6J("ngClass",_.positionClasses),r.xp6(4),r.Q6J("ngForOf",_.alerts),r.xp6(1),r.Q6J("ngIf",_.hasAlerts))},dependencies:[v.mk,v.sg,v.O5,Io],styles:[".alert-list-container.position-inline[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:0;margin-bottom:5px}@media (min-width: 768px){.alert-list-container.position-inline[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-bottom:10px}}.alert-list-container.position-top-left[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;left:0}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-left[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-left[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-left[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-left[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-top-left.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-top-left[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-top-left[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-top-left.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.whostmgr[_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%]{top:70px}.cpanel[_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%]{top:30px}.webmail[_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%]{top:52px}@media (min-width: 768px){.whostmgr[_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%]{top:120px}.cpanel[_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%]{top:52px}}@media (max-width: 667px){.webmail[_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%]{top:30px}}.alert-list-container.position-top-left[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:2px;margin-bottom:0}@media (min-width: 768px){.alert-list-container.position-top-left[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:10px}}.alert-list-container.position-top-left.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-bottom:2px}@media (min-width: 768px){.alert-list-container.position-top-left.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-bottom:10px}}@media (min-width: 768px){.alert-list-container.position-top-left[_ngcontent-%COMP%]{padding-left:10px;padding-right:0}}.alert-list-container.position-top-middle[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;left:50%;transform:translate(-50%)}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-middle[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-middle[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-middle[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-middle[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-top-middle.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-top-middle[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-top-middle[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-top-middle.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.whostmgr[_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%]{top:70px}.cpanel[_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%]{top:30px}.webmail[_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%]{top:52px}@media (min-width: 768px){.whostmgr[_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%]{top:120px}.cpanel[_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%]{top:52px}}@media (max-width: 667px){.webmail[_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%]{top:30px}}.alert-list-container.position-top-middle[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:2px;margin-bottom:0}@media (min-width: 768px){.alert-list-container.position-top-middle[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:10px}}.alert-list-container.position-top-middle.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-bottom:2px}@media (min-width: 768px){.alert-list-container.position-top-middle.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-bottom:10px}}@media (min-width: 768px){.alert-list-container.position-top-middle[_ngcontent-%COMP%]{padding-left:0;padding-right:0}}.alert-list-container.position-top-right[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;right:0}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-right[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-right[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-right[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-right[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-top-right.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-top-right[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-top-right[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-top-right.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.whostmgr[_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%]{top:70px}.cpanel[_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%]{top:30px}.webmail[_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%]{top:52px}@media (min-width: 768px){.whostmgr[_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%]{top:120px}.cpanel[_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%]{top:52px}}@media (max-width: 667px){.webmail[_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%]{top:30px}}.alert-list-container.position-top-right[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:2px;margin-bottom:0}@media (min-width: 768px){.alert-list-container.position-top-right[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:10px}}.alert-list-container.position-top-right.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-bottom:2px}@media (min-width: 768px){.alert-list-container.position-top-right.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-bottom:10px}}@media (min-width: 768px){.alert-list-container.position-top-right[_ngcontent-%COMP%]{padding-left:0;padding-right:10px}}.alert-list-container.position-middle-left[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;top:50%;transform:translateY(-50%);left:0}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-left[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-left[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-left[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-left[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-middle-left.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-middle-left[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-middle-left[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-middle-left.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-middle-left[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:1px;margin-bottom:1px}@media (min-width: 768px){.alert-list-container.position-middle-left[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-bottom:5px;margin-top:5px}}@media (min-width: 768px){.alert-list-container.position-middle-left[_ngcontent-%COMP%]{padding-left:10px;padding-right:0}}.alert-list-backdrop.position-middle-middle[_ngcontent-%COMP%]{position:fixed;inset:0;z-index:899;overflow:hidden;outline:0;background-color:#000;opacity:.5}.alert-list-container.position-middle-middle[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;top:50%;transform:translateY(-50%);left:50%;transform:translate(-50%)}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-middle[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-middle[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-middle[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-middle[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-middle-middle.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-middle-middle[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-middle-middle[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-middle-middle.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-middle-middle[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:1px;margin-bottom:1px}@media (min-width: 768px){.alert-list-container.position-middle-middle[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-bottom:5px;margin-top:5px}}@media (min-width: 768px){.alert-list-container.position-middle-middle[_ngcontent-%COMP%]{padding-left:0;padding-right:0}}.alert-list-container.position-middle-right[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;top:50%;transform:translateY(-50%);right:0}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-right[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-right[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-right[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-right[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-middle-right.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-middle-right[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-middle-right[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-middle-right.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-middle-right[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:1px;margin-bottom:1px}@media (min-width: 768px){.alert-list-container.position-middle-right[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-bottom:5px;margin-top:5px}}@media (min-width: 768px){.alert-list-container.position-middle-right[_ngcontent-%COMP%]{padding-left:0;padding-right:10px}}.alert-list-container.position-bottom-left[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;bottom:0;left:0}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-left[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-left[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-left[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-left[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-bottom-left.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-bottom-left[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-bottom-left[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-bottom-left.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-bottom-left[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:0;margin-bottom:2px}@media (min-width: 768px){.alert-list-container.position-bottom-left[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-bottom:10px}}.alert-list-container.position-bottom-left.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-top:2px}@media (min-width: 768px){.alert-list-container.position-bottom-left.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-top:10px}}@media (min-width: 768px){.alert-list-container.position-bottom-left[_ngcontent-%COMP%]{padding-left:10px;padding-right:0}}.alert-list-container.position-bottom-middle[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;bottom:0;left:50%;transform:translate(-50%)}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-middle[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-middle[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-middle[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-middle[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-bottom-middle.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-bottom-middle[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-bottom-middle[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-bottom-middle.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-bottom-middle[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:0;margin-bottom:2px}@media (min-width: 768px){.alert-list-container.position-bottom-middle[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-bottom:10px}}.alert-list-container.position-bottom-middle.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-top:2px}@media (min-width: 768px){.alert-list-container.position-bottom-middle.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-top:10px}}@media (min-width: 768px){.alert-list-container.position-bottom-middle[_ngcontent-%COMP%]{padding-left:0;padding-right:0}}.alert-list-container.position-bottom-right[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;bottom:0;right:0}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-right[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-right[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-right[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-right[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-bottom-right[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-bottom-right[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-bottom-right.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-bottom-right[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:0;margin-bottom:2px}@media (min-width: 768px){.alert-list-container.position-bottom-right[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-bottom:10px}}.alert-list-container.position-bottom-right.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-top:2px}@media (min-width: 768px){.alert-list-container.position-bottom-right.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-top:10px}}@media (min-width: 768px){.alert-list-container.position-bottom-right[_ngcontent-%COMP%]{padding-left:0;padding-right:10px}}@media (max-width: 768px){.whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline){position:fixed;z-index:900;min-width:25%;padding-left:1px;padding-right:1px;inset:0 auto auto 0;transform:none;max-width:100%;min-width:100%;width:100%}.whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%]{width:100%}.whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar{overflow-y:scroll}.whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert[_ngcontent-%COMP%], .whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert[_ngcontent-%COMP%], .whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert[_ngcontent-%COMP%], .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert[_ngcontent-%COMP%], .webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert[_ngcontent-%COMP%]{margin-bottom:5px}}@media (max-width: 768px) and (max-width: 768px){.whostmgr.whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.nav-collapsed .whostmgr[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.nav-collapsed .whostmgr [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .whostmgr[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .whostmgr [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .webmail .whostmgr[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .webmail .whostmgr [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline){max-width:calc(100% - 218px)}}@media (max-width: 768px) and (max-width: 768px){.cpanel.whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.nav-collapsed .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.nav-collapsed .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .webmail .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .webmail .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline){max-width:calc(100% - 50px)}}@media (max-width: 768px) and (min-width: 768px){.whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%]{max-width:500px}}"]}),g})(),wc=(()=>{class g{}return g.ɵfac=function(u){return new(u||g)},g.ɵmod=r.oAB({type:g}),g.ɵinj=r.cJS({imports:[v.ez,ni]}),g})(),yl=(()=>{class g{constructor(u){this.locale=u,this.autofocus=!1,this.debounce=250,this.disabled=!1,this.label="Search",this.placeholder="Search",this.valueChange=new r.vpe,this._searchSubject=new G.x,this._unsubscribe=new G.x,delete this.label,delete this.placeholder}get value(){return this._value}set value(u){this._value=u,this._searchSubject.next(u)}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-search`");this.clearIconLabel=this.locale.maketext("Clear Input"),this.label||(this.label=this.locale.maketext("Search")),this.placeholder||(this.placeholder=this.locale.maketext("Search")),this._searchSubject.pipe((0,ee.R)(this._unsubscribe),(0,de.b)(this.debounce),function H(g,c=ae.y){return g=g??re,(0,pe.e)(((u,_)=>{let R,Y=!0;u.subscribe(new ve.Q(_,(Ce=>{const Pe=c(Ce);(Y||!g(R,Pe))&&(Y=!1,R=Pe,_.next(Ce))})))}))}()).subscribe((u=>{this.valueChange.emit(u)}))}ngAfterViewInit(){this.autofocus&&this.searchInput.nativeElement.focus()}ngOnDestroy(){this._unsubscribe.next(),this._unsubscribe.complete()}clearValue(){this.value=""}}return g.ɵfac=function(u){return new(u||g)(r.Y36(Oe.g))},g.ɵcmp=r.Xpm({type:g,selectors:[["cp-search"]],viewQuery:function(u,_){if(1&u&&r.Gf(Gn,5),2&u){let R;r.iGM(R=r.CRH())&&(_.searchInput=R.first)}},inputs:{autofocus:"autofocus",debounce:"debounce",disabled:"disabled",id:"id",label:"label",placeholder:"placeholder",list:"list",value:"value"},outputs:{valueChange:"valueChange"},decls:6,vars:11,consts:[["role","search",1,"input-group"],["data-test","input","type","search",1,"form-control",3,"ngModel","disabled","id","placeholder","title","ngModelChange","keyup.esc"],["searchInput",""],["data-test","addon",1,"input-group-addon",3,"id","click"],["aria-hidden","true","data-test","icon",3,"ngClass","id"],["class","sr-only",4,"ngIf"],[1,"sr-only"]],template:function(u,_){1&u&&(r.TgZ(0,"div",0)(1,"input",1,2),r.NdJ("ngModelChange",(function(Y){return _.value=Y}))("keyup.esc",(function(){return _.clearValue()})),r.qZA(),r.TgZ(3,"span",3),r.NdJ("click",(function(){return _.clearValue()})),r._UZ(4,"span",4),r.YNc(5,kn,2,1,"span",5),r.qZA()()),2&u&&(r.xp6(1),r.MGl("id","",_.id,"-search-input"),r.Q6J("ngModel",_.value)("disabled",_.disabled)("placeholder",_.placeholder)("title",_.label),r.uIk("aria-label",_.label)("list",_.list),r.xp6(2),r.MGl("id","",_.id,"-search-input-addon"),r.xp6(1),r.MGl("id","",_.id,"-search-input-icon"),r.Q6J("ngClass",(null==_.value?null:_.value.length)>0?"fas fa-times":"fas fa-search"),r.xp6(1),r.Q6J("ngIf",(null==_.value?null:_.value.length)>0))},dependencies:[v.mk,v.O5,ie.Fj,ie.JJ,ie.On],changeDetection:0}),g})(),zr=(()=>{class g{}return g.ɵfac=function(u){return new(u||g)},g.ɵmod=r.oAB({type:g}),g.ɵinj=r.cJS({imports:[v.ez,ie.u5,ye.m]}),g})()},4349:(He,ne,S)=>{"use strict";S.d(ne,{w9:()=>F,A0:()=>ce,Jr:()=>Qt});var r=S(1571),v=S(4006),G=S(2722),Q=S(4986),ee=S(4482),de=S(8421),ae=S(5403),ve=S(5963);var re=S(8675),ie=S(8505),ye=S(8372),Oe=S(9300),te=S(4004),Ze=S(6406),ke=S(4408);let Xe,Je=1;const tt={};function nt(V){return V in tt&&(delete tt[V],!0)}const Fe={setImmediate(V){const N=Je++;return tt[N]=!0,Xe||(Xe=Promise.resolve()),Xe.then((()=>nt(N)&&V())),N},clearImmediate(V){nt(V)}},{setImmediate:lt,clearImmediate:pt}=Fe,Ee={setImmediate(...V){const{delegate:N}=Ee;return(N?.setImmediate||lt)(...V)},clearImmediate(V){const{delegate:N}=Ee;return(N?.clearImmediate||pt)(V)},delegate:void 0};var K=S(640);const Ie=new class ge extends K.v{flush(N){this._active=!0,this._scheduled=void 0;const{actions:w}=this;let L,_e=-1;N=N||w.shift();const Ve=w.length;do{if(L=N.execute(N.state,N.delay))break}while(++_e<Ve&&(N=w.shift()));if(this._active=!1,L){for(;++_e<Ve&&(N=w.shift());)N.unsubscribe();throw L}}}(class le extends ke.o{constructor(N,w){super(N,w),this.scheduler=N,this.work=w}requestAsyncId(N,w,L=0){return null!==L&&L>0?super.requestAsyncId(N,w,L):(N.actions.push(this),N._scheduled||(N._scheduled=Ee.setImmediate(N.flush.bind(N,void 0))))}recycleAsyncId(N,w,L=0){if(null!=L&&L>0||null==L&&this.delay>0)return super.recycleAsyncId(N,w,L);0===N.actions.length&&(Ee.clearImmediate(w),N._scheduled=void 0)}});var Le=S(7579),mt=S(4968),Rt=S(6451),xn=S(6895);const zt=["content"],_n=["scroll"],xr=["padding"],bn=function(V){return{searchTerm:V}};function Kn(V,N){if(1&V&&(r.TgZ(0,"div",6),r.GkF(1,7),r.qZA()),2&V){const w=r.oxw();r.xp6(1),r.Q6J("ngTemplateOutlet",w.headerTemplate)("ngTemplateOutletContext",r.VKq(2,bn,w.filterValue))}}function Pn(V,N){if(1&V&&(r.TgZ(0,"div",8),r.GkF(1,7),r.qZA()),2&V){const w=r.oxw();r.xp6(1),r.Q6J("ngTemplateOutlet",w.footerTemplate)("ngTemplateOutletContext",r.VKq(2,bn,w.filterValue))}}const Wt=["*"],zn=["searchInput"];function Ir(V,N){if(1&V){const w=r.EpF();r.TgZ(0,"span",15),r.NdJ("click",(function(){r.CHM(w);const _e=r.oxw().$implicit,Ve=r.oxw(2);return r.KtG(Ve.unselect(_e))})),r._uU(1,"×"),r.qZA(),r._UZ(2,"span",16)}if(2&V){const w=r.oxw().$implicit,L=r.oxw(2);r.xp6(2),r.Q6J("ngItemLabel",w.label)("escape",L.escapeHTML)}}function Cr(V,N){}const er=function(V,N,w){return{item:V,clear:N,label:w}};function ui(V,N){if(1&V&&(r.TgZ(0,"div",12),r.YNc(1,Ir,3,2,"ng-template",null,13,r.W1O),r.YNc(3,Cr,0,0,"ng-template",14),r.qZA()),2&V){const w=N.$implicit,L=r.MAs(2),_e=r.oxw(2);r.ekj("ng-value-disabled",w.disabled),r.xp6(3),r.Q6J("ngTemplateOutlet",_e.labelTemplate||L)("ngTemplateOutletContext",r.kEZ(4,er,w.value,_e.clearItem,w.label))}}function wr(V,N){if(1&V&&(r.ynx(0),r.YNc(1,ui,4,8,"div",11),r.BQk()),2&V){const w=r.oxw();r.xp6(1),r.Q6J("ngForOf",w.selectedItems)("ngForTrackBy",w.trackByOption)}}function $n(V,N){}const Vn=function(V,N){return{items:V,clear:N}};function vr(V,N){if(1&V&&r.YNc(0,$n,0,0,"ng-template",14),2&V){const w=r.oxw();r.Q6J("ngTemplateOutlet",w.multiLabelTemplate)("ngTemplateOutletContext",r.WLB(2,Vn,w.selectedValues,w.clearItem))}}function ci(V,N){1&V&&r._UZ(0,"div",19)}function Kt(V,N){}function Wn(V,N){if(1&V&&(r.ynx(0),r.YNc(1,ci,1,0,"ng-template",null,17,r.W1O),r.YNc(3,Kt,0,0,"ng-template",18),r.BQk()),2&V){const w=r.MAs(2),L=r.oxw();r.xp6(3),r.Q6J("ngTemplateOutlet",L.loadingSpinnerTemplate||w)}}function $r(V,N){if(1&V&&(r.TgZ(0,"span",20)(1,"span",21),r._uU(2,"×"),r.qZA()()),2&V){const w=r.oxw();r.s9C("title",w.clearAllText)}}function fn(V,N){if(1&V&&r._UZ(0,"span",27),2&V){const w=r.oxw().$implicit,L=r.oxw(2);r.Q6J("ngItemLabel",w.label)("escape",L.escapeHTML)}}function Me(V,N){}const $e=function(V,N,w,L){return{item:V,item$:N,index:w,searchTerm:L}};function je(V,N){if(1&V){const w=r.EpF();r.TgZ(0,"div",25),r.NdJ("click",(function(){const Ve=r.CHM(w).$implicit,at=r.oxw(2);return r.KtG(at.toggleItem(Ve))}))("mouseover",(function(){const Ve=r.CHM(w).$implicit,at=r.oxw(2);return r.KtG(at.onItemHover(Ve))})),r.YNc(1,fn,1,2,"ng-template",null,26,r.W1O),r.YNc(3,Me,0,0,"ng-template",14),r.qZA()}if(2&V){const w=N.$implicit,L=r.MAs(2),_e=r.oxw(2);r.ekj("ng-option-disabled",w.disabled)("ng-option-selected",w.selected)("ng-optgroup",w.children)("ng-option",!w.children)("ng-option-child",!!w.parent)("ng-option-marked",w===_e.itemsList.markedItem),r.uIk("role",w.children?"group":"option")("aria-selected",w.selected)("id",null==w?null:w.htmlId),r.xp6(3),r.Q6J("ngTemplateOutlet",w.children?_e.optgroupTemplate||L:_e.optionTemplate||L)("ngTemplateOutletContext",r.l5B(17,$e,w.value,w,w.index,_e.searchTerm))}}function qe(V,N){if(1&V&&(r.TgZ(0,"span")(1,"span",30),r._uU(2),r.qZA(),r._uU(3),r.qZA()),2&V){const w=r.oxw(3);r.xp6(2),r.Oqu(w.addTagText),r.xp6(1),r.hij('"',w.searchTerm,'"')}}function De(V,N){}function J(V,N){if(1&V){const w=r.EpF();r.TgZ(0,"div",28),r.NdJ("mouseover",(function(){r.CHM(w);const _e=r.oxw(2);return r.KtG(_e.itemsList.unmarkItem())}))("click",(function(){r.CHM(w);const _e=r.oxw(2);return r.KtG(_e.selectTag())})),r.YNc(1,qe,4,2,"ng-template",null,29,r.W1O),r.YNc(3,De,0,0,"ng-template",14),r.qZA()}if(2&V){const w=r.MAs(2),L=r.oxw(2);r.ekj("ng-option-marked",!L.itemsList.markedItem),r.xp6(3),r.Q6J("ngTemplateOutlet",L.tagTemplate||w)("ngTemplateOutletContext",r.VKq(4,bn,L.searchTerm))}}function se(V,N){if(1&V&&(r.TgZ(0,"div",32),r._uU(1),r.qZA()),2&V){const w=r.oxw(3);r.xp6(1),r.Oqu(w.notFoundText)}}function xe(V,N){}function ze(V,N){if(1&V&&(r.ynx(0),r.YNc(1,se,2,1,"ng-template",null,31,r.W1O),r.YNc(3,xe,0,0,"ng-template",14),r.BQk()),2&V){const w=r.MAs(2),L=r.oxw(2);r.xp6(3),r.Q6J("ngTemplateOutlet",L.notFoundTemplate||w)("ngTemplateOutletContext",r.VKq(2,bn,L.searchTerm))}}function dt(V,N){if(1&V&&(r.TgZ(0,"div",32),r._uU(1),r.qZA()),2&V){const w=r.oxw(3);r.xp6(1),r.Oqu(w.typeToSearchText)}}function yt(V,N){}function qt(V,N){if(1&V&&(r.ynx(0),r.YNc(1,dt,2,1,"ng-template",null,33,r.W1O),r.YNc(3,yt,0,0,"ng-template",18),r.BQk()),2&V){const w=r.MAs(2),L=r.oxw(2);r.xp6(3),r.Q6J("ngTemplateOutlet",L.typeToSearchTemplate||w)}}function Ct(V,N){if(1&V&&(r.TgZ(0,"div",32),r._uU(1),r.qZA()),2&V){const w=r.oxw(3);r.xp6(1),r.Oqu(w.loadingText)}}function Mt(V,N){}function Xt(V,N){if(1&V&&(r.ynx(0),r.YNc(1,Ct,2,1,"ng-template",null,34,r.W1O),r.YNc(3,Mt,0,0,"ng-template",14),r.BQk()),2&V){const w=r.MAs(2),L=r.oxw(2);r.xp6(3),r.Q6J("ngTemplateOutlet",L.loadingTextTemplate||w)("ngTemplateOutletContext",r.VKq(2,bn,L.searchTerm))}}function vn(V,N){if(1&V){const w=r.EpF();r.TgZ(0,"ng-dropdown-panel",22),r.NdJ("update",(function(_e){r.CHM(w);const Ve=r.oxw();return r.KtG(Ve.viewPortItems=_e)}))("scroll",(function(_e){r.CHM(w);const Ve=r.oxw();return r.KtG(Ve.scroll.emit(_e))}))("scrollToEnd",(function(_e){r.CHM(w);const Ve=r.oxw();return r.KtG(Ve.scrollToEnd.emit(_e))}))("outsideClick",(function(){r.CHM(w);const _e=r.oxw();return r.KtG(_e.close())})),r.ynx(1),r.YNc(2,je,4,22,"div",23),r.YNc(3,J,4,6,"div",24),r.BQk(),r.YNc(4,ze,4,4,"ng-container",3),r.YNc(5,qt,4,1,"ng-container",3),r.YNc(6,Xt,4,4,"ng-container",3),r.qZA()}if(2&V){const w=r.oxw();r.ekj("ng-select-multiple",w.multiple),r.Q6J("virtualScroll",w.virtualScroll)("bufferAmount",w.bufferAmount)("appendTo",w.appendTo)("position",w.dropdownPosition)("headerTemplate",w.headerTemplate)("footerTemplate",w.footerTemplate)("filterValue",w.searchTerm)("items",w.itemsList.filteredItems)("markedItem",w.itemsList.markedItem)("ngClass",w.appendTo?w.classes:null)("id",w.dropdownId),r.xp6(2),r.Q6J("ngForOf",w.viewPortItems)("ngForTrackBy",w.trackByOption),r.xp6(1),r.Q6J("ngIf",w.showAddTag),r.xp6(1),r.Q6J("ngIf",w.showNoItemsFound()),r.xp6(1),r.Q6J("ngIf",w.showTypeToSearch()),r.xp6(1),r.Q6J("ngIf",w.loading&&0===w.itemsList.filteredItems.length)}}const Vt=/[&<>"']/g,Pt=RegExp(Vt.source),It={"&":"&","<":"<",">":">",'"':""","'":"'"};function Jt(V){return null!=V}function Dt(V){return"object"==typeof V&&Jt(V)}function cn(V){return V instanceof Function}let Ft=(()=>{class V{constructor(w){this.element=w,this.escape=!0}ngOnChanges(w){this.element.nativeElement.innerHTML=this.escape?function Ot(V){return V&&Pt.test(V)?V.replace(Vt,(N=>It[N])):V}(this.ngItemLabel):this.ngItemLabel}}return V.ɵfac=function(w){return new(w||V)(r.Y36(r.SBq))},V.ɵdir=r.lG2({type:V,selectors:[["","ngItemLabel",""]],inputs:{ngItemLabel:"ngItemLabel",escape:"escape"},features:[r.TTD]}),V})(),In=(()=>{class V{constructor(w){this.template=w}}return V.ɵfac=function(w){return new(w||V)(r.Y36(r.Rgc))},V.ɵdir=r.lG2({type:V,selectors:[["","ng-option-tmp",""]]}),V})(),Nt=(()=>{class V{constructor(w){this.template=w}}return V.ɵfac=function(w){return new(w||V)(r.Y36(r.Rgc))},V.ɵdir=r.lG2({type:V,selectors:[["","ng-optgroup-tmp",""]]}),V})(),dn=(()=>{class V{constructor(w){this.template=w}}return V.ɵfac=function(w){return new(w||V)(r.Y36(r.Rgc))},V.ɵdir=r.lG2({type:V,selectors:[["","ng-label-tmp",""]]}),V})(),on=(()=>{class V{constructor(w){this.template=w}}return V.ɵfac=function(w){return new(w||V)(r.Y36(r.Rgc))},V.ɵdir=r.lG2({type:V,selectors:[["","ng-multi-label-tmp",""]]}),V})(),qn=(()=>{class V{constructor(w){this.template=w}}return V.ɵfac=function(w){return new(w||V)(r.Y36(r.Rgc))},V.ɵdir=r.lG2({type:V,selectors:[["","ng-header-tmp",""]]}),V})(),yr=(()=>{class V{constructor(w){this.template=w}}return V.ɵfac=function(w){return new(w||V)(r.Y36(r.Rgc))},V.ɵdir=r.lG2({type:V,selectors:[["","ng-footer-tmp",""]]}),V})(),Yn=(()=>{class V{constructor(w){this.template=w}}return V.ɵfac=function(w){return new(w||V)(r.Y36(r.Rgc))},V.ɵdir=r.lG2({type:V,selectors:[["","ng-notfound-tmp",""]]}),V})(),gn=(()=>{class V{constructor(w){this.template=w}}return V.ɵfac=function(w){return new(w||V)(r.Y36(r.Rgc))},V.ɵdir=r.lG2({type:V,selectors:[["","ng-typetosearch-tmp",""]]}),V})(),Tr=(()=>{class V{constructor(w){this.template=w}}return V.ɵfac=function(w){return new(w||V)(r.Y36(r.Rgc))},V.ɵdir=r.lG2({type:V,selectors:[["","ng-loadingtext-tmp",""]]}),V})(),Qt=(()=>{class V{constructor(w){this.template=w}}return V.ɵfac=function(w){return new(w||V)(r.Y36(r.Rgc))},V.ɵdir=r.lG2({type:V,selectors:[["","ng-tag-tmp",""]]}),V})(),Ae=(()=>{class V{constructor(w){this.template=w}}return V.ɵfac=function(w){return new(w||V)(r.Y36(r.Rgc))},V.ɵdir=r.lG2({type:V,selectors:[["","ng-loadingspinner-tmp",""]]}),V})();function me(){return"axxxxxxxxxxx".replace(/[x]/g,(()=>(16*Math.random()|0).toString(16)))}const X={"Ⓐ":"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 U(V){return V.replace(/[^\u0000-\u007E]/g,(w=>X[w]||w))}class he{constructor(N,w){this._ngSelect=N,this._selectionModel=w,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 N=this.selectedItems.length-1;for(;N>=0;N--){const w=this.selectedItems[N];if(!w.disabled)return w}return null}setItems(N){this._items=N.map(((w,L)=>this.mapItem(w,L))),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(N){if(N.selected||this.maxItemsSelected)return;const w=this._ngSelect.multiple;w||this.clearSelected(),this._selectionModel.select(N,w,this._ngSelect.selectableGroupAsModel),this._ngSelect.hideSelected&&this._hideSelected(N)}unselect(N){!N.selected||(this._selectionModel.unselect(N,this._ngSelect.multiple),this._ngSelect.hideSelected&&Jt(N.index)&&this._ngSelect.multiple&&this._showSelected(N))}findItem(N){let w;return w=this._ngSelect.compareWith?L=>this._ngSelect.compareWith(L.value,N):this._ngSelect.bindValue?L=>!L.children&&this.resolveNested(L.value,this._ngSelect.bindValue)===N:L=>L.value===N||!L.children&&L.label&&L.label===this.resolveNested(N,this._ngSelect.bindLabel),this._items.find((L=>w(L)))}addItem(N){const w=this.mapItem(N,this._items.length);return this._items.push(w),this._filteredItems.push(w),w}clearSelected(N=!1){this._selectionModel.clear(N),this._items.forEach((w=>{w.selected=N&&w.selected&&w.disabled,w.marked=!1})),this._ngSelect.hideSelected&&this.resetFilteredItems()}findByLabel(N){return N=U(N).toLocaleLowerCase(),this.filteredItems.find((w=>U(w.label).toLocaleLowerCase().substr(0,N.length)===N))}filter(N){if(!N)return void this.resetFilteredItems();this._filteredItems=[],N=this._ngSelect.searchFn?N:U(N).toLocaleLowerCase();const w=this._ngSelect.searchFn||this._defaultSearchFn,L=this._ngSelect.hideSelected;for(const _e of Array.from(this._groups.keys())){const Ve=[];for(const at of this._groups.get(_e))L&&(at.parent&&at.parent.selected||at.selected)||w(N,this._ngSelect.searchFn?at.value:at)&&Ve.push(at);if(Ve.length>0){const[at]=Ve.slice(-1);if(at.parent){const en=this._items.find((Ut=>Ut===at.parent));this._filteredItems.push(en)}this._filteredItems.push(...Ve)}}}resetFilteredItems(){this._filteredItems.length!==this._items.length&&(this._filteredItems=this._ngSelect.hideSelected&&this.selectedItems.length>0?this._items.filter((N=>!N.selected)):this._items)}unmarkItem(){this._markedIndex=-1}markNextItem(){this._stepToItem(1)}markPreviousItem(){this._stepToItem(-1)}markItem(N){this._markedIndex=this._filteredItems.indexOf(N)}markSelectedOrDefault(N){if(0===this._filteredItems.length)return;const w=this._getLastMarkedIndex();this._markedIndex=w>-1?w:N?this.filteredItems.findIndex((L=>!L.disabled)):-1}resolveNested(N,w){if(!Dt(N))return N;if(-1===w.indexOf("."))return N[w];{const L=w.split(".");let _e=N;for(let Ve=0,at=L.length;Ve<at;++Ve){if(null==_e)return null;_e=_e[L[Ve]]}return _e}}mapItem(N,w){const L=Jt(N.$ngOptionLabel)?N.$ngOptionLabel:this.resolveNested(N,this._ngSelect.bindLabel),_e=Jt(N.$ngOptionValue)?N.$ngOptionValue:N;return{index:w,label:Jt(L)?L.toString():"",value:_e,disabled:N.disabled,htmlId:`${this._ngSelect.dropdownId}-${w}`}}mapSelectedItems(){const N=this._ngSelect.multiple;for(const w of this.selectedItems){const L=this._ngSelect.bindValue?this.resolveNested(w.value,this._ngSelect.bindValue):w.value,_e=Jt(L)?this.findItem(L):null;this._selectionModel.unselect(w,N),this._selectionModel.select(_e||w,N,this._ngSelect.selectableGroupAsModel)}this._ngSelect.hideSelected&&(this._filteredItems=this.filteredItems.filter((w=>-1===this.selectedItems.indexOf(w))))}_showSelected(N){if(this._filteredItems.push(N),N.parent){const w=N.parent;this._filteredItems.find((_e=>_e===w))||this._filteredItems.push(w)}else if(N.children)for(const w of N.children)w.selected=!1,this._filteredItems.push(w);this._filteredItems=[...this._filteredItems.sort(((w,L)=>w.index-L.index))]}_hideSelected(N){this._filteredItems=this._filteredItems.filter((w=>w!==N)),N.parent?N.parent.children.every((L=>L.selected))&&(this._filteredItems=this._filteredItems.filter((L=>L!==N.parent))):N.children&&(this._filteredItems=this.filteredItems.filter((w=>w.parent!==N)))}_defaultSearchFn(N,w){return U(w.label).toLocaleLowerCase().indexOf(N)>-1}_getNextItemIndex(N){return N>0?this._markedIndex>=this._filteredItems.length-1?0:this._markedIndex+1:this._markedIndex<=0?this._filteredItems.length-1:this._markedIndex-1}_stepToItem(N){0===this._filteredItems.length||this._filteredItems.every((w=>w.disabled))||(this._markedIndex=this._getNextItemIndex(N),this.markedItem.disabled&&this._stepToItem(N))}_getLastMarkedIndex(){if(this._ngSelect.hideSelected||this._markedIndex>-1&&void 0===this.markedItem)return-1;const N=this._filteredItems.indexOf(this.lastSelectedItem);return this.lastSelectedItem&&N<0?-1:Math.max(this.markedIndex,N)}_groupBy(N,w){const L=new Map;if(0===N.length)return L;if(Array.isArray(N[0].value[w])){for(const at of N){const en=(at.value[w]||[]).map(((Ut,nn)=>this.mapItem(Ut,nn)));L.set(at,en)}return L}const _e=cn(this._ngSelect.groupBy),Ve=at=>{const en=_e?w(at.value):at.value[w];return Jt(en)?en:void 0};for(const at of N){const en=Ve(at),Ut=L.get(en);Ut?Ut.push(at):L.set(en,[at])}return L}_flatten(N){const w=cn(this._ngSelect.groupBy),L=[];for(const _e of Array.from(N.keys())){let Ve=L.length;if(void 0===_e){const tr=N.get(void 0)||[];L.push(...tr.map((ir=>(ir.index=Ve++,ir))));continue}const at=Dt(_e),en={label:at?"":String(_e),children:void 0,parent:null,index:Ve++,disabled:!this._ngSelect.selectableGroup,htmlId:me()},Ut=w?this._ngSelect.bindLabel:this._ngSelect.groupBy,nn=this._ngSelect.groupValue||(()=>at?_e.value:{[Ut]:_e}),ur=N.get(_e).map((tr=>(tr.parent=en,tr.children=void 0,tr.index=Ve++,tr)));en.children=ur,en.value=nn(_e,ur.map((tr=>tr.value))),L.push(en),L.push(...ur)}return L}}var Ue=(()=>{return(V=Ue||(Ue={}))[V.Tab=9]="Tab",V[V.Enter=13]="Enter",V[V.Esc=27]="Esc",V[V.Space=32]="Space",V[V.ArrowUp=38]="ArrowUp",V[V.ArrowDown=40]="ArrowDown",V[V.Backspace=8]="Backspace",Ue;var V})();let st=(()=>{class V{constructor(){this._dimensions={itemHeight:0,panelHeight:0,itemsPerViewport:0}}get dimensions(){return this._dimensions}calculateItems(w,L,_e){const Ve=this._dimensions,at=Ve.itemHeight*L,Ut=Math.max(0,w)/at*L;let nn=Math.min(L,Math.ceil(Ut)+(Ve.itemsPerViewport+1));const tr=Math.max(0,nn-Ve.itemsPerViewport);let ir=Math.min(tr,Math.floor(Ut)),br=Ve.itemHeight*Math.ceil(ir)-Ve.itemHeight*Math.min(ir,_e);return br=isNaN(br)?0:br,ir=isNaN(ir)?-1:ir,nn=isNaN(nn)?-1:nn,ir-=_e,ir=Math.max(0,ir),nn+=_e,nn=Math.min(L,nn),{topPadding:br,scrollHeight:at,start:ir,end:nn}}setDimensions(w,L){const _e=Math.max(1,Math.floor(L/w));this._dimensions={itemHeight:w,panelHeight:L,itemsPerViewport:_e}}getScrollTo(w,L,_e){const{panelHeight:Ve}=this.dimensions,at=w+L,Ut=_e+Ve;return Ve>=at&&_e===w?null:at>Ut?_e+at-Ut:w<=_e?w:null}}return V.ɵfac=function(w){return new(w||V)},V.ɵprov=r.Yz7({token:V,factory:V.ɵfac}),V})();const jt=["top","right","bottom","left"],ut=typeof requestAnimationFrame<"u"?Ze.Z:Ie;let bt=(()=>{class V{constructor(w,L,_e,Ve,at){this._renderer=w,this._zone=L,this._panelService=_e,this._document=at,this.items=[],this.position="auto",this.virtualScroll=!1,this.filterValue=null,this.update=new r.vpe,this.scroll=new r.vpe,this.scrollToEnd=new r.vpe,this.outsideClick=new r.vpe,this._destroy$=new Le.x,this._scrollToEndFired=!1,this._updateScrollHeight=!1,this._lastScrollPosition=0,this._dropdown=Ve.nativeElement}get currentPosition(){return this._currentPosition}get itemsLength(){return this._itemsLength}set itemsLength(w){w!==this._itemsLength&&(this._itemsLength=w,this._onItemsLengthChanged())}get _startOffset(){if(this.markedItem){const{itemHeight:w,panelHeight:L}=this._panelService.dimensions,_e=this.markedItem.index*w;return L>_e?0:_e}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(w){if(w.items){const L=w.items;this._onItemsChange(L.currentValue,L.firstChange)}}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete(),this._destroy$.unsubscribe(),this.appendTo&&this._renderer.removeChild(this._dropdown.parentNode,this._dropdown)}scrollTo(w,L=!1){if(!w)return;const _e=this.items.indexOf(w);if(_e<0||_e>=this.itemsLength)return;let Ve;if(this.virtualScroll){const at=this._panelService.dimensions.itemHeight;Ve=this._panelService.getScrollTo(_e*at,at,this._lastScrollPosition)}else{const at=this._dropdown.querySelector(`#${w.htmlId}`);Ve=this._panelService.getScrollTo(at.offsetTop,at.clientHeight,L?at.offsetTop:this._lastScrollPosition)}Jt(Ve)&&(this._scrollablePanel.scrollTop=Ve)}scrollToTag(){const w=this._scrollablePanel;w.scrollTop=w.scrollHeight-w.clientHeight}adjustPosition(){this._updateYPosition()}_handleDropdownPosition(){this._currentPosition=this._calculateCurrentPosition(this._dropdown),jt.includes(this._currentPosition)?this._updateDropdownClass(this._currentPosition):this._updateDropdownClass("bottom"),this.appendTo&&this._updateYPosition(),this._dropdown.style.opacity="1"}_updateDropdownClass(w){jt.forEach((_e=>{const Ve=`ng-select-${_e}`;this._renderer.removeClass(this._dropdown,Ve),this._renderer.removeClass(this._select,Ve)}));const L=`ng-select-${w}`;this._renderer.addClass(this._dropdown,L),this._renderer.addClass(this._select,L)}_handleScroll(){this._zone.runOutsideAngular((()=>{(0,mt.R)(this.scrollElementRef.nativeElement,"scroll").pipe((0,G.R)(this._destroy$),function H(V,N=Q.P){return function pe(V){return(0,ee.e)(((N,w)=>{let L=!1,_e=null,Ve=null,at=!1;const en=()=>{if(Ve?.unsubscribe(),Ve=null,L){L=!1;const nn=_e;_e=null,w.next(nn)}at&&w.complete()},Ut=()=>{Ve=null,at&&w.complete()};N.subscribe(new ae.Q(w,(nn=>{L=!0,_e=nn,Ve||(0,de.Xf)(V(nn)).subscribe(Ve=new ae.Q(w,en,Ut))}),(()=>{at=!0,(!L||!Ve||Ve.closed)&&w.complete()})))}))}((()=>(0,ve.H)(V,N)))}(0,ut)).subscribe((w=>{const L=w.path||w.composedPath&&w.composedPath();this._onContentScrolled(L&&0!==L.length?L[0].scrollTop:w.target.scrollTop)}))}))}_handleOutsideClick(){!this._document||this._zone.runOutsideAngular((()=>{(0,Rt.T)((0,mt.R)(this._document,"touchstart",{capture:!0}),(0,mt.R)(this._document,"mousedown",{capture:!0})).pipe((0,G.R)(this._destroy$)).subscribe((w=>this._checkToClose(w)))}))}_checkToClose(w){if(this._select.contains(w.target)||this._dropdown.contains(w.target))return;const L=w.path||w.composedPath&&w.composedPath();w.target&&w.target.shadowRoot&&L&&L[0]&&this._select.contains(L[0])||this._zone.run((()=>this.outsideClick.emit()))}_onItemsChange(w,L){this.items=w||[],this._scrollToEndFired=!1,this.itemsLength=w.length,this.virtualScroll?this._updateItemsRange(L):(this._setVirtualHeight(),this._updateItems(L))}_updateItems(w){this.update.emit(this.items),!1!==w&&this._zone.runOutsideAngular((()=>{Promise.resolve().then((()=>{this._panelService.setDimensions(0,this._scrollablePanel.clientHeight),this._handleDropdownPosition(),this.scrollTo(this.markedItem,w)}))}))}_updateItemsRange(w){this._zone.runOutsideAngular((()=>{this._measureDimensions().then((()=>{w?(this._renderItemsRange(this._startOffset),this._handleDropdownPosition()):this._renderItemsRange()}))}))}_onContentScrolled(w){this.virtualScroll&&this._renderItemsRange(w),this._lastScrollPosition=w,this._fireScrollToEnd(w)}_updateVirtualHeight(w){this._updateScrollHeight&&(this._virtualPadding.style.height=`${w}px`,this._updateScrollHeight=!1)}_setVirtualHeight(){!this._virtualPadding||(this._virtualPadding.style.height="0px")}_onItemsLengthChanged(){this._updateScrollHeight=!0}_renderItemsRange(w=null){if(w&&this._lastScrollPosition===w)return;const L=this._panelService.calculateItems(w=w||this._scrollablePanel.scrollTop,this.itemsLength,this.bufferAmount);this._updateVirtualHeight(L.scrollHeight),this._contentPanel.style.transform=`translateY(${L.topPadding}px)`,this._zone.run((()=>{this.update.emit(this.items.slice(L.start,L.end)),this.scroll.emit({start:L.start,end:L.end})})),Jt(w)&&0===this._lastScrollPosition&&(this._scrollablePanel.scrollTop=w,this._lastScrollPosition=w)}_measureDimensions(){if(this._panelService.dimensions.itemHeight>0||0===this.itemsLength)return Promise.resolve(this._panelService.dimensions);const[w]=this.items;return this.update.emit([w]),Promise.resolve().then((()=>{const _e=this._dropdown.querySelector(`#${w.htmlId}`).clientHeight;return this._virtualPadding.style.height=_e*this.itemsLength+"px",this._panelService.setDimensions(_e,this._scrollablePanel.clientHeight),this._panelService.dimensions}))}_fireScrollToEnd(w){this._scrollToEndFired||0===w||w+this._dropdown.clientHeight>=(this.virtualScroll?this._virtualPadding:this._contentPanel).clientHeight-1&&(this._zone.run((()=>this.scrollToEnd.emit())),this._scrollToEndFired=!0)}_calculateCurrentPosition(w){if("auto"!==this.position)return this.position;const L=this._select.getBoundingClientRect(),_e=document.documentElement.scrollTop||document.body.scrollTop;return L.top+window.pageYOffset+L.height+w.getBoundingClientRect().height>_e+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 w=this._select.getBoundingClientRect(),L=this._parent.getBoundingClientRect();this._dropdown.style.left=w.left-L.left+"px",this._dropdown.style.width=w.width+"px",this._dropdown.style.minWidth=w.width+"px"}_updateYPosition(){const w=this._select.getBoundingClientRect(),L=this._parent.getBoundingClientRect(),_e=w.height;"top"===this._currentPosition?(this._dropdown.style.bottom=L.bottom-w.bottom+_e+"px",this._dropdown.style.top="auto"):"bottom"===this._currentPosition&&(this._dropdown.style.top=w.top-L.top+_e+"px",this._dropdown.style.bottom="auto")}_setupMousedownListener(){this._zone.runOutsideAngular((()=>{(0,mt.R)(this._dropdown,"mousedown").pipe((0,G.R)(this._destroy$)).subscribe((w=>{"INPUT"!==w.target.tagName&&w.preventDefault()}))}))}}return V.ɵfac=function(w){return new(w||V)(r.Y36(r.Qsj),r.Y36(r.R0b),r.Y36(st),r.Y36(r.SBq),r.Y36(xn.K0,8))},V.ɵcmp=r.Xpm({type:V,selectors:[["ng-dropdown-panel"]],viewQuery:function(w,L){if(1&w&&(r.Gf(zt,7,r.SBq),r.Gf(_n,7,r.SBq),r.Gf(xr,7,r.SBq)),2&w){let _e;r.iGM(_e=r.CRH())&&(L.contentElementRef=_e.first),r.iGM(_e=r.CRH())&&(L.scrollElementRef=_e.first),r.iGM(_e=r.CRH())&&(L.paddingElementRef=_e.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:[r.TTD],ngContentSelectors:Wt,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(w,L){1&w&&(r.F$t(),r.YNc(0,Kn,2,4,"div",0),r.TgZ(1,"div",1,2),r._UZ(3,"div",null,3),r.TgZ(5,"div",null,4),r.Hsn(7),r.qZA()(),r.YNc(8,Pn,2,4,"div",5)),2&w&&(r.Q6J("ngIf",L.headerTemplate),r.xp6(3),r.ekj("total-padding",L.virtualScroll),r.xp6(2),r.ekj("scrollable-content",L.virtualScroll&&L.items.length),r.xp6(3),r.Q6J("ngIf",L.footerTemplate))},dependencies:[xn.O5,xn.tP],encapsulation:2,changeDetection:0}),V})(),Ye=(()=>{class V{constructor(w){this.elementRef=w,this.stateChange$=new Le.x,this._disabled=!1}get disabled(){return this._disabled}set disabled(w){this._disabled=this._isDisabled(w)}get label(){return(this.elementRef.nativeElement.textContent||"").trim()}ngOnChanges(w){w.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(w){return null!=w&&"false"!=`${w}`}}return V.ɵfac=function(w){return new(w||V)(r.Y36(r.SBq))},V.ɵcmp=r.Xpm({type:V,selectors:[["ng-option"]],inputs:{value:"value",disabled:"disabled"},features:[r.TTD],ngContentSelectors:Wt,decls:1,vars:0,template:function(w,L){1&w&&(r.F$t(),r.Hsn(0))},encapsulation:2,changeDetection:0}),V})(),St=(()=>{class V{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 V.ɵfac=function(w){return new(w||V)},V.ɵprov=r.Yz7({token:V,factory:V.ɵfac,providedIn:"root"}),V})(),At=(()=>{class V{warn(w){console.warn(w)}}return V.ɵfac=function(w){return new(w||V)},V.ɵprov=r.Yz7({token:V,factory:V.ɵfac,providedIn:"root"}),V})();const $t=new r.OlP("ng-select-selection-model");let F=(()=>{class V{constructor(w,L,_e,Ve,at,en,Ut){this.classes=w,this.autoFocus=L,this.config=_e,this._cd=en,this._console=Ut,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=nn=>!0,this.multiple=!1,this.addTag=!1,this.searchable=!0,this.clearable=!0,this.isOpen=!1,this.blurEvent=new r.vpe,this.focusEvent=new r.vpe,this.changeEvent=new r.vpe,this.openEvent=new r.vpe,this.closeEvent=new r.vpe,this.searchEvent=new r.vpe,this.clearEvent=new r.vpe,this.addEvent=new r.vpe,this.removeEvent=new r.vpe,this.scroll=new r.vpe,this.scrollToEnd=new r.vpe,this.useDefaultClass=!0,this.viewPortItems=[],this.searchTerm=null,this.dropdownId=me(),this.escapeHTML=!0,this._items=[],this._defaultLabel="label",this._pressedKeys=[],this._isComposing=!1,this._destroy$=new Le.x,this._keyPress$=new Le.x,this._onChange=nn=>{},this._onTouched=()=>{},this.clearItem=nn=>{const ur=this.selectedItems.find((tr=>tr.value===nn));this.unselect(ur)},this.trackByOption=(nn,ur)=>this.trackByFn?this.trackByFn(ur.value):ur,this._mergeGlobalConfig(_e),this.itemsList=new he(this,Ve()),this.element=at.nativeElement}get items(){return this._items}set items(w){null===w&&(w=[]),this._itemsAreUsed=!0,this._items=w}get compareWith(){return this._compareWith}set compareWith(w){if(null!=w&&!cn(w))throw Error("`compareWith` must be a function.");this._compareWith=w}get clearSearchOnAdd(){return Jt(this._clearSearchOnAdd)?this._clearSearchOnAdd:Jt(this.config.clearSearchOnAdd)?this.config.clearSearchOnAdd:this.closeOnSelect}set clearSearchOnAdd(w){this._clearSearchOnAdd=w}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((w=>w.value))}get hasValue(){return this.selectedItems.length>0}get currentPanelPosition(){if(this.dropdownPanel)return this.dropdownPanel.currentPosition}ngOnInit(){this._handleKeyPresses(),this._setInputAttributes()}ngOnChanges(w){w.multiple&&this.itemsList.clearSelected(),w.items&&this._setItems(w.items.currentValue||[]),w.isOpen&&(this._manualOpen=Jt(w.isOpen.currentValue))}ngAfterViewInit(){this._itemsAreUsed||(this.escapeHTML=!1,this._setItemsFromNgOptions()),Jt(this.autoFocus)&&this.focus()}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete()}handleKeyDown(w){if(Ue[w.which]){if(!1===this.keyDownFn(w))return;this.handleKeyCode(w)}else w.key&&1===w.key.length&&this._keyPress$.next(w.key.toLocaleLowerCase())}handleKeyCode(w){switch(w.which){case Ue.ArrowDown:this._handleArrowDown(w);break;case Ue.ArrowUp:this._handleArrowUp(w);break;case Ue.Space:this._handleSpace(w);break;case Ue.Enter:this._handleEnter(w);break;case Ue.Tab:this._handleTab(w);break;case Ue.Esc:this.close(),w.preventDefault();break;case Ue.Backspace:this._handleBackspace()}}handleMousedown(w){const L=w.target;"INPUT"!==L.tagName&&w.preventDefault(),L.classList.contains("ng-clear-wrapper")?this.handleClearClick():L.classList.contains("ng-arrow-wrapper")?this.handleArrowClick():L.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(w){this.itemsList.clearSelected(),this._handleWriteValue(w),this._cd.markForCheck()}registerOnChange(w){this._onChange=w}registerOnTouched(w){this._onTouched=w}setDisabledState(w){this._disabled=w,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(w){!w||w.disabled||this.disabled||(this.multiple&&w.selected?this.unselect(w):this.select(w),this._editableSearchTerm&&this._setSearchTermFromItems(),this._onSelectionChanged())}select(w){w.selected||(this.itemsList.select(w),this.clearSearchOnAdd&&!this._editableSearchTerm&&this._clearSearch(),this._updateNgModel(),this.multiple&&this.addEvent.emit(w.value)),(this.closeOnSelect||this.itemsList.noItemsToSelect)&&this.close()}focus(){this.searchInput.nativeElement.focus()}blur(){this.searchInput.nativeElement.blur()}unselect(w){!w||(this.itemsList.unselect(w),this.focus(),this._updateNgModel(),this.removeEvent.emit(w))}selectTag(){let w;w=cn(this.addTag)?this.addTag(this.searchTerm):this._primitive?this.searchTerm:{[this.bindLabel]:this.searchTerm};const L=_e=>this._isTypeahead||!this.isOpen?this.itemsList.mapItem(_e,null):this.itemsList.addItem(_e);!function pn(V){return V instanceof Promise}(w)?w&&this.select(L(w)):w.then((_e=>this.select(L(_e)))).catch((()=>{}))}showClear(){return this.clearable&&(this.hasValue||this.searchTerm)&&!this.disabled}get showAddTag(){if(!this._validTerm)return!1;const w=this.searchTerm.toLowerCase().trim();return this.addTag&&!this.itemsList.filteredItems.some((L=>L.label.toLowerCase()===w))&&(!this.hideSelected&&this.isOpen||!this.selectedItems.some((L=>L.label.toLowerCase()===w)))&&!this.loading}showNoItemsFound(){const w=0===this.itemsList.filteredItems.length;return(w&&!this._isTypeahead&&!this.loading||w&&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(w){this._isComposing=!1,!this.searchWhileComposing&&this.filter(w)}filter(w){this._isComposing&&!this.searchWhileComposing||(this.searchTerm=w,this._isTypeahead&&(this._validTerm||0===this.minTermLength)&&this.typeahead.next(w),this._isTypeahead||(this.itemsList.filter(this.searchTerm),this.isOpen&&this.itemsList.markSelectedOrDefault(this.markFirst)),this.searchEvent.emit({term:w,items:this.itemsList.filteredItems.map((L=>L.value))}),this.open())}onInputFocus(w){this.focused||(this._editableSearchTerm&&this._setSearchTermFromItems(),this.element.classList.add("ng-select-focused"),this.focusEvent.emit(w),this.focused=!0)}onInputBlur(w){this.element.classList.remove("ng-select-focused"),this.blurEvent.emit(w),!this.isOpen&&!this.disabled&&this._onTouched(),this._editableSearchTerm&&this._setSearchTermFromItems(),this.focused=!1}onItemHover(w){w.disabled||this.itemsList.markItem(w)}detectChanges(){this._cd.destroyed||this._cd.detectChanges()}_setSearchTermFromItems(){const w=this.selectedItems&&this.selectedItems[0];this.searchTerm=w&&w.label||null}_setItems(w){const L=w[0];this.bindLabel=this.bindLabel||this._defaultLabel,this._primitive=Jt(L)?!Dt(L):this._primitive||this.bindLabel===this._defaultLabel,this.itemsList.setItems(w),w.length>0&&this.hasValue&&this.itemsList.mapSelectedItems(),this.isOpen&&Jt(this.searchTerm)&&!this._isTypeahead&&this.itemsList.filter(this.searchTerm),(this._isTypeahead||this.isOpen)&&this.itemsList.markSelectedOrDefault(this.markFirst)}_setItemsFromNgOptions(){const w=_e=>{this.items=_e.map((Ve=>({$ngOptionValue:Ve.value,$ngOptionLabel:Ve.elementRef.nativeElement.innerHTML,disabled:Ve.disabled}))),this.itemsList.setItems(this.items),this.hasValue&&this.itemsList.mapSelectedItems(),this.detectChanges()},L=()=>{const _e=(0,Rt.T)(this.ngOptions.changes,this._destroy$);(0,Rt.T)(...this.ngOptions.map((Ve=>Ve.stateChange$))).pipe((0,G.R)(_e)).subscribe((Ve=>{const at=this.itemsList.findItem(Ve.value);at.disabled=Ve.disabled,at.label=Ve.label||at.label,this._cd.detectChanges()}))};this.ngOptions.changes.pipe((0,re.O)(this.ngOptions),(0,G.R)(this._destroy$)).subscribe((_e=>{this.bindLabel=this._defaultLabel,w(_e),L()}))}_isValidWriteValue(w){if(!Jt(w)||this.multiple&&""===w||Array.isArray(w)&&0===w.length)return!1;const L=_e=>!(!Jt(this.compareWith)&&Dt(_e)&&this.bindValue&&(this._console.warn(`Setting object(${JSON.stringify(_e)}) as your model with bindValue is not allowed unless [compareWith] is used.`),1));return this.multiple?Array.isArray(w)?w.every((_e=>L(_e))):(this._console.warn("Multiple select ngModel should be array."),!1):L(w)}_handleWriteValue(w){if(!this._isValidWriteValue(w))return;const L=_e=>{let Ve=this.itemsList.findItem(_e);if(Ve)this.itemsList.select(Ve);else{const at=Dt(_e),en=!at&&!this.bindValue;at||en?this.itemsList.select(this.itemsList.mapItem(_e,null)):this.bindValue&&(Ve={[this.bindLabel]:null,[this.bindValue]:_e},this.itemsList.select(this.itemsList.mapItem(Ve,null)))}};this.multiple?w.forEach((_e=>L(_e))):L(w)}_handleKeyPresses(){this.searchable||this._keyPress$.pipe((0,G.R)(this._destroy$),(0,ie.b)((w=>this._pressedKeys.push(w))),(0,ye.b)(200),(0,Oe.h)((()=>this._pressedKeys.length>0)),(0,te.U)((()=>this._pressedKeys.join("")))).subscribe((w=>{const L=this.itemsList.findByLabel(w);L&&(this.isOpen?(this.itemsList.markItem(L),this._scrollToMarked(),this._cd.markForCheck()):this.select(L)),this._pressedKeys=[]}))}_setInputAttributes(){const w=this.searchInput.nativeElement,L={type:"text",autocorrect:"off",autocapitalize:"off",autocomplete:this.labelForId?"off":this.dropdownId,...this.inputAttrs};for(const _e of Object.keys(L))w.setAttribute(_e,L[_e])}_updateNgModel(){const w=[];for(const _e of this.selectedItems)if(this.bindValue){let Ve=null;Ve=_e.children?_e.value[(this.groupValue?this.bindValue:this.groupBy)||this.groupBy]:this.itemsList.resolveNested(_e.value,this.bindValue),w.push(Ve)}else w.push(_e.value);const L=this.selectedItems.map((_e=>_e.value));this.multiple?(this._onChange(w),this.changeEvent.emit(L)):(this._onChange(Jt(w[0])?w[0]:null),this.changeEvent.emit(L[0])),this._cd.markForCheck()}_clearSearch(){!this.searchTerm||(this._changeSearch(null),this.itemsList.resetFilteredItems())}_changeSearch(w){this.searchTerm=w,this._isTypeahead&&this.typeahead.next(w)}_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(w){!1===this.isOpen&&!this.addTag||(this.selectOnTab?this.itemsList.markedItem?(this.toggleItem(this.itemsList.markedItem),w.preventDefault()):this.showAddTag?(this.selectTag(),w.preventDefault()):this.close():this.close())}_handleEnter(w){if(this.isOpen||this._manualOpen)this.itemsList.markedItem?this.toggleItem(this.itemsList.markedItem):this.showAddTag&&this.selectTag();else{if(!this.openOnEnter)return;this.open()}w.preventDefault()}_handleSpace(w){this.isOpen||this._manualOpen||(this.open(),w.preventDefault())}_handleArrowDown(w){this._nextItemIsTag(1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markNextItem(),this._scrollToMarked()),this.open(),w.preventDefault()}_handleArrowUp(w){!this.isOpen||(this._nextItemIsTag(-1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markPreviousItem(),this._scrollToMarked()),w.preventDefault())}_nextItemIsTag(w){const L=this.itemsList.markedIndex+w;return this.addTag&&this.searchTerm&&this.itemsList.markedItem&&(L<0||L===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 w=this.searchTerm&&this.searchTerm.trim();return w&&w.length>=this.minTermLength}_mergeGlobalConfig(w){this.placeholder=this.placeholder||w.placeholder,this.notFoundText=this.notFoundText||w.notFoundText,this.typeToSearchText=this.typeToSearchText||w.typeToSearchText,this.addTagText=this.addTagText||w.addTagText,this.loadingText=this.loadingText||w.loadingText,this.clearAllText=this.clearAllText||w.clearAllText,this.virtualScroll=Jt(this.virtualScroll)?this.virtualScroll:!!Jt(w.disableVirtualScroll)&&!w.disableVirtualScroll,this.openOnEnter=Jt(this.openOnEnter)?this.openOnEnter:w.openOnEnter,this.appendTo=this.appendTo||w.appendTo,this.bindValue=this.bindValue||w.bindValue,this.bindLabel=this.bindLabel||w.bindLabel,this.appearance=this.appearance||w.appearance}}return V.ɵfac=function(w){return new(w||V)(r.$8M("class"),r.$8M("autofocus"),r.Y36(St),r.Y36($t),r.Y36(r.SBq),r.Y36(r.sBO),r.Y36(At))},V.ɵcmp=r.Xpm({type:V,selectors:[["ng-select"]],contentQueries:function(w,L,_e){if(1&w&&(r.Suo(_e,In,5,r.Rgc),r.Suo(_e,Nt,5,r.Rgc),r.Suo(_e,dn,5,r.Rgc),r.Suo(_e,on,5,r.Rgc),r.Suo(_e,qn,5,r.Rgc),r.Suo(_e,yr,5,r.Rgc),r.Suo(_e,Yn,5,r.Rgc),r.Suo(_e,gn,5,r.Rgc),r.Suo(_e,Tr,5,r.Rgc),r.Suo(_e,Qt,5,r.Rgc),r.Suo(_e,Ae,5,r.Rgc),r.Suo(_e,Ye,5)),2&w){let Ve;r.iGM(Ve=r.CRH())&&(L.optionTemplate=Ve.first),r.iGM(Ve=r.CRH())&&(L.optgroupTemplate=Ve.first),r.iGM(Ve=r.CRH())&&(L.labelTemplate=Ve.first),r.iGM(Ve=r.CRH())&&(L.multiLabelTemplate=Ve.first),r.iGM(Ve=r.CRH())&&(L.headerTemplate=Ve.first),r.iGM(Ve=r.CRH())&&(L.footerTemplate=Ve.first),r.iGM(Ve=r.CRH())&&(L.notFoundTemplate=Ve.first),r.iGM(Ve=r.CRH())&&(L.typeToSearchTemplate=Ve.first),r.iGM(Ve=r.CRH())&&(L.loadingTextTemplate=Ve.first),r.iGM(Ve=r.CRH())&&(L.tagTemplate=Ve.first),r.iGM(Ve=r.CRH())&&(L.loadingSpinnerTemplate=Ve.first),r.iGM(Ve=r.CRH())&&(L.ngOptions=Ve)}},viewQuery:function(w,L){if(1&w&&(r.Gf(bt,5),r.Gf(zn,7)),2&w){let _e;r.iGM(_e=r.CRH())&&(L.dropdownPanel=_e.first),r.iGM(_e=r.CRH())&&(L.searchInput=_e.first)}},hostVars:20,hostBindings:function(w,L){1&w&&r.NdJ("keydown",(function(Ve){return L.handleKeyDown(Ve)})),2&w&&r.ekj("ng-select-typeahead",L.typeahead)("ng-select-multiple",L.multiple)("ng-select-taggable",L.addTag)("ng-select-searchable",L.searchable)("ng-select-clearable",L.clearable)("ng-select-opened",L.isOpen)("ng-select",L.useDefaultClass)("ng-select-disabled",L.disabled)("ng-select-filtered",L.filtered)("ng-select-single",L.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:[r._Bn([{provide:v.JU,useExisting:(0,r.Gpc)((()=>V)),multi:!0},st]),r.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(w,L){if(1&w){const _e=r.EpF();r.TgZ(0,"div",0),r.NdJ("mousedown",(function(at){return L.handleMousedown(at)})),r.TgZ(1,"div",1)(2,"div",2),r._uU(3),r.qZA(),r.YNc(4,wr,2,2,"ng-container",3),r.YNc(5,vr,1,5,null,3),r.TgZ(6,"div",4)(7,"input",5,6),r.NdJ("input",(function(){r.CHM(_e);const at=r.MAs(8);return r.KtG(L.filter(at.value))}))("compositionstart",(function(){return L.onCompositionStart()}))("compositionend",(function(){r.CHM(_e);const at=r.MAs(8);return r.KtG(L.onCompositionEnd(at.value))}))("focus",(function(at){return L.onInputFocus(at)}))("blur",(function(at){return L.onInputBlur(at)}))("change",(function(at){return at.stopPropagation()})),r.qZA()()(),r.YNc(9,Wn,4,1,"ng-container",3),r.YNc(10,$r,3,1,"span",7),r.TgZ(11,"span",8),r._UZ(12,"span",9),r.qZA()(),r.YNc(13,vn,7,19,"ng-dropdown-panel",10)}2&w&&(r.ekj("ng-appearance-outline","outline"===L.appearance)("ng-has-value",L.hasValue),r.xp6(3),r.Oqu(L.placeholder),r.xp6(1),r.Q6J("ngIf",(!L.multiLabelTemplate||!L.multiple)&&L.selectedItems.length>0),r.xp6(1),r.Q6J("ngIf",L.multiple&&L.multiLabelTemplate&&L.selectedValues.length>0),r.xp6(1),r.uIk("aria-expanded",L.isOpen)("aria-owns",L.isOpen?L.dropdownId:null),r.xp6(1),r.Q6J("readOnly",!L.searchable||L.itemsList.maxItemsSelected)("disabled",L.disabled)("value",L.searchTerm?L.searchTerm:""),r.uIk("id",L.labelForId)("tabindex",L.tabIndex)("aria-activedescendant",L.isOpen?null==L.itemsList||null==L.itemsList.markedItem?null:L.itemsList.markedItem.htmlId:null)("aria-controls",L.isOpen?L.dropdownId:null),r.xp6(2),r.Q6J("ngIf",L.loading),r.xp6(1),r.Q6J("ngIf",L.showClear()),r.xp6(3),r.Q6J("ngIf",L.isOpen))},dependencies:[xn.mk,xn.sg,xn.O5,xn.tP,bt,Ft],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}),V})();function B(){return new $}class ${constructor(){this._selected=[]}get value(){return this._selected}select(N,w,L){if(N.selected=!0,(!N.children||!w&&L)&&this._selected.push(N),w)if(N.parent){const _e=N.parent.children.length,Ve=N.parent.children.filter((at=>at.selected)).length;N.parent.selected=_e===Ve}else N.children&&(this._setChildrenSelectedState(N.children,!0),this._removeChildren(N),this._selected=L&&this._activeChildren(N)?[...this._selected.filter((_e=>_e.parent!==N)),N]:[...this._selected,...N.children.filter((_e=>!_e.disabled))])}unselect(N,w){if(this._selected=this._selected.filter((L=>L!==N)),N.selected=!1,w)if(N.parent&&N.parent.selected){const L=N.parent.children;this._removeParent(N.parent),this._removeChildren(N.parent),this._selected.push(...L.filter((_e=>_e!==N&&!_e.disabled))),N.parent.selected=!1}else N.children&&(this._setChildrenSelectedState(N.children,!1),this._removeChildren(N))}clear(N){this._selected=N?this._selected.filter((w=>w.disabled)):[]}_setChildrenSelectedState(N,w){for(const L of N)L.disabled||(L.selected=w)}_removeChildren(N){this._selected=[...this._selected.filter((w=>w.parent!==N)),...N.children.filter((w=>w.parent===N&&w.disabled&&w.selected))]}_removeParent(N){this._selected=this._selected.filter((w=>w!==N))}_activeChildren(N){return N.children.every((w=>!w.disabled||w.selected))}}let ce=(()=>{class V{}return V.ɵfac=function(w){return new(w||V)},V.ɵmod=r.oAB({type:V}),V.ɵinj=r.cJS({providers:[{provide:$t,useValue:B}],imports:[xn.ez]}),V})()},835:(He,ne,S)=>{"use strict";S.d(ne,{Fq:()=>ve,lz:()=>de,pj:()=>pe});var r=S(1571),v=S(4006);const G={provide:v.JU,useExisting:(0,r.Gpc)((()=>Q)),multi:!0};let Q=(()=>{class H{constructor(){this.btnCheckboxTrue=!0,this.btnCheckboxFalse=!1,this.state=!1,this.isDisabled=!1,this.onChange=Function.prototype,this.onTouched=Function.prototype}onClick(){this.isDisabled||(this.toggle(!this.state),this.onChange(this.value))}ngOnInit(){this.toggle(this.trueValue===this.value)}get trueValue(){return!(typeof this.btnCheckboxTrue<"u")||this.btnCheckboxTrue}get falseValue(){return typeof this.btnCheckboxFalse<"u"&&this.btnCheckboxFalse}toggle(ie){this.state=ie,this.value=this.state?this.trueValue:this.falseValue}writeValue(ie){this.state=this.trueValue===ie,this.value=ie?this.trueValue:this.falseValue}setDisabledState(ie){this.isDisabled=ie}registerOnChange(ie){this.onChange=ie}registerOnTouched(ie){this.onTouched=ie}}return H.ɵfac=function(ie){return new(ie||H)},H.ɵdir=r.lG2({type:H,selectors:[["","btnCheckbox",""]],hostVars:3,hostBindings:function(ie,ye){1&ie&&r.NdJ("click",(function(){return ye.onClick()})),2&ie&&(r.uIk("aria-pressed",ye.state),r.ekj("active",ye.state))},inputs:{btnCheckboxTrue:"btnCheckboxTrue",btnCheckboxFalse:"btnCheckboxFalse"},features:[r._Bn([G])]}),H})();const ee={provide:v.JU,useExisting:(0,r.Gpc)((()=>de)),multi:!0};let de=(()=>{class H{constructor(ie,ye,Oe,te){this.el=ie,this.cdr=ye,this.renderer=Oe,this.group=te,this.onChange=Function.prototype,this.onTouched=Function.prototype,this.uncheckable=!1,this.role="radio",this._disabled=!1,this._hasFocus=!1}get value(){return this.group?this.group.value:this._value}set value(ie){this.group?this.group.value=ie:(this._value=ie,this._onChange(ie))}get disabled(){return this._disabled}set disabled(ie){this.setDisabledState(ie)}get controlOrGroupDisabled(){return!!(this.disabled||this.group&&this.group.disabled)||void 0}get hasDisabledClass(){return this.controlOrGroupDisabled&&!this.isActive}get isActive(){return this.btnRadio===this.value}get tabindex(){if(!this.controlOrGroupDisabled)return this.isActive||null==this.group?0:-1}get hasFocus(){return this._hasFocus}toggleIfAllowed(){!this.canToggle()||(this.value=this.uncheckable&&this.btnRadio===this.value?void 0:this.btnRadio)}onSpacePressed(ie){this.toggleIfAllowed(),ie.preventDefault()}focus(){this.el.nativeElement.focus()}onFocus(){this._hasFocus=!0}onBlur(){this._hasFocus=!1,this.onTouched()}canToggle(){return!this.controlOrGroupDisabled&&(this.uncheckable||this.btnRadio!==this.value)}ngOnChanges(ie){"uncheckable"in ie&&(this.uncheckable=!1!==this.uncheckable&&typeof this.uncheckable<"u")}_onChange(ie){this.group?this.group.value=ie:(this.onTouched(),this.onChange(ie))}writeValue(ie){this.value=ie,this.cdr.markForCheck()}registerOnChange(ie){this.onChange=ie}registerOnTouched(ie){this.onTouched=ie}setDisabledState(ie){this._disabled=ie,ie?this.renderer.setAttribute(this.el.nativeElement,"disabled","disabled"):this.renderer.removeAttribute(this.el.nativeElement,"disabled")}}return H.ɵfac=function(ie){return new(ie||H)(r.Y36(r.SBq),r.Y36(r.sBO),r.Y36(r.Qsj),r.Y36((0,r.Gpc)((()=>pe)),8))},H.ɵdir=r.lG2({type:H,selectors:[["","btnRadio",""]],hostVars:8,hostBindings:function(ie,ye){1&ie&&r.NdJ("click",(function(){return ye.toggleIfAllowed()}))("keydown.space",(function(te){return ye.onSpacePressed(te)}))("focus",(function(){return ye.onFocus()}))("blur",(function(){return ye.onBlur()})),2&ie&&(r.uIk("aria-disabled",ye.controlOrGroupDisabled)("aria-checked",ye.isActive)("role",ye.role)("tabindex",ye.tabindex),r.ekj("disabled",ye.hasDisabledClass)("active",ye.isActive))},inputs:{btnRadio:"btnRadio",uncheckable:"uncheckable",value:"value",disabled:"disabled"},features:[r._Bn([ee]),r.TTD]}),H})();const ae={provide:v.JU,useExisting:(0,r.Gpc)((()=>pe)),multi:!0};let pe=(()=>{class H{constructor(ie){this.cdr=ie,this.onChange=Function.prototype,this.onTouched=Function.prototype,this.role="radiogroup",this._disabled=!1}get value(){return this._value}set value(ie){this._value=ie,this.onChange(ie)}get disabled(){return this._disabled}get tabindex(){return this._disabled?null:0}writeValue(ie){this._value=ie,this.cdr.markForCheck()}registerOnChange(ie){this.onChange=ie}registerOnTouched(ie){this.onTouched=ie}setDisabledState(ie){this.radioButtons&&(this._disabled=ie,this.radioButtons.forEach((ye=>{ye.setDisabledState(ie)})),this.cdr.markForCheck())}onFocus(){if(this._disabled)return;const ie=this.getActiveOrFocusedRadio();if(ie)ie.focus();else if(this.radioButtons){const ye=this.radioButtons.find((Oe=>!Oe.disabled));ye&&ye.focus()}}onBlur(){this.onTouched&&this.onTouched()}selectNext(ie){this.selectInDirection("next"),ie.preventDefault()}selectPrevious(ie){this.selectInDirection("previous"),ie.preventDefault()}selectInDirection(ie){if(this._disabled)return;function ye(te,Ze){let Je=(te+("next"===ie?1:-1))%Ze.length;return Je<0&&(Je=Ze.length-1),Je}const Oe=this.getActiveOrFocusedRadio();if(Oe&&this.radioButtons){const te=this.radioButtons.toArray(),Ze=te.indexOf(Oe);for(let ke=ye(Ze,te);ke!==Ze;ke=ye(ke,te))if(te[ke].canToggle()){te[ke].toggleIfAllowed(),te[ke].focus();break}}}getActiveOrFocusedRadio(){if(this.radioButtons)return this.radioButtons.find((ie=>ie.isActive))||this.radioButtons.find((ie=>ie.hasFocus))}}return H.ɵfac=function(ie){return new(ie||H)(r.Y36(r.sBO))},H.ɵdir=r.lG2({type:H,selectors:[["","btnRadioGroup",""]],contentQueries:function(ie,ye,Oe){if(1&ie&&r.Suo(Oe,de,4),2&ie){let te;r.iGM(te=r.CRH())&&(ye.radioButtons=te)}},hostVars:2,hostBindings:function(ie,ye){1&ie&&r.NdJ("focus",(function(){return ye.onFocus()}))("blur",(function(){return ye.onBlur()}))("keydown.ArrowRight",(function(te){return ye.selectNext(te)}))("keydown.ArrowDown",(function(te){return ye.selectNext(te)}))("keydown.ArrowLeft",(function(te){return ye.selectPrevious(te)}))("keydown.ArrowUp",(function(te){return ye.selectPrevious(te)})),2&ie&&r.uIk("role",ye.role)("tabindex",ye.tabindex)},features:[r._Bn([ae])]}),H})(),ve=(()=>{class H{static forRoot(){return{ngModule:H,providers:[]}}}return H.ɵfac=function(ie){return new(ie||H)},H.ɵmod=r.oAB({type:H}),H.ɵinj=r.cJS({}),H})()},3044:(He,ne,S)=>{"use strict";S.d(ne,{TO:()=>Ye,Hz:()=>St,mr:()=>$t,Mq:()=>At});var r=S(1571),v=S(9300);class G{constructor(B,$){this.open=B,this.close=$||B}isManual(){return"manual"===this.open||"manual"===this.close}}const Q={hover:["mouseover","mouseout"],focus:["focusin","focusout"]};const H=typeof window<"u"&&window||{};let it;function lt(){if(typeof H.document>"u")return"bs4";const F=H.document.createElement("span");F.innerText="testing bs version",F.classList.add("d-none"),F.classList.add("pl-1"),H.document.head.appendChild(F);const B=F.getBoundingClientRect(),$=H.getComputedStyle(F).paddingLeft;return!B||B&&0!==B.top?(H.document.head.removeChild(F),"bs3"):$&&parseFloat($)?(H.document.head.removeChild(F),"bs4"):(H.document.head.removeChild(F),"bs5")}function Ee(){return typeof H>"u"||(typeof H.__theme>"u"?(it||(it=lt()),"bs3"===it):"bs3"===H.__theme)}function le(){return!Ee()&&(it||(it=lt()),"bs4"===it)}function ge(){return{isBs3:Ee(),isBs4:le(),isBs5:!Ee()&&!le()&&(it||(it=lt()),"bs5"===it)}}typeof console>"u"||console;var _n=S(6895),xr=S(7579),bn=S(6451),Kn=S(4968),Pn=S(9646),Wt=S(6406),zn=(()=>{return(F=zn||(zn={})).top="top",F.bottom="bottom",F.left="left",F.right="right",F.auto="auto",F.end="right",F.start="left",F["top left"]="top left",F["top right"]="top right",F["right top"]="right top",F["right bottom"]="right bottom",F["bottom right"]="bottom right",F["bottom left"]="bottom left",F["left bottom"]="left bottom",F["left top"]="left top",F["top start"]="top left",F["top end"]="top right",F["end top"]="right top",F["end bottom"]="right bottom",F["bottom end"]="bottom right",F["bottom start"]="bottom left",F["start bottom"]="start bottom",F["start top"]="left top",zn;var F})(),Ir=(()=>{return(F=Ir||(Ir={})).top="top",F.bottom="bottom",F.left="start",F.right="end",F.auto="auto",F.end="end",F.start="start",F["top left"]="top start",F["top right"]="top end",F["right top"]="end top",F["right bottom"]="end bottom",F["bottom right"]="bottom end",F["bottom left"]="bottom start",F["left bottom"]="start bottom",F["left top"]="start top",F["top start"]="top start",F["top end"]="top end",F["end top"]="end top",F["end bottom"]="end bottom",F["bottom end"]="bottom end",F["bottom start"]="bottom start",F["start bottom"]="start bottom",F["start top"]="start top",Ir;var F})();function Cr(F,B){if(1!==F.nodeType)return[];const ce=F.ownerDocument.defaultView?.getComputedStyle(F,null);return B?ce&&ce[B]:ce}function er(F){if(!F)return document.documentElement;let ce,$=F?.offsetParent;for(;null===$&&F.nextElementSibling&&ce!==F.nextElementSibling;)ce=F.nextElementSibling,$=ce.offsetParent;const V=$&&$.nodeName;return V&&"BODY"!==V&&"HTML"!==V?$&&-1!==["TH","TD","TABLE"].indexOf($.nodeName)&&"static"===Cr($,"position")?er($):$:ce?ce.ownerDocument.documentElement:document.documentElement}function wr(F){return null!==F.parentNode?wr(F.parentNode):F}function $n(F,B){if(!(F&&F.nodeType&&B&&B.nodeType))return document.documentElement;const $=F.compareDocumentPosition(B)&Node.DOCUMENT_POSITION_FOLLOWING,ce=$?F:B,V=$?B:F,N=document.createRange();N.setStart(ce,0),N.setEnd(V,0);const w=N.commonAncestorContainer;if(F!==w&&B!==w||ce.contains(V))return function ui(F){const{nodeName:B}=F;return"BODY"!==B&&("HTML"===B||er(F.firstElementChild)===F)}(w)?w:er(w);const L=wr(F);return L.host?$n(L.host,B):$n(F,wr(B).host)}function Vn(F){if(!F||!F.parentElement)return document.documentElement;let B=F.parentElement;for(;B?.parentElement&&"none"===Cr(B,"transform");)B=B.parentElement;return B||document.documentElement}function vr(F,B){const $="x"===B?"Left":"Top",ce="Left"===$?"Right":"Bottom";return parseFloat(F[`border${$}Width`])+parseFloat(F[`border${ce}Width`])}function ci(F,B,$,ce){return Math.max(B[`offset${F}`],B[`scroll${F}`],$[`client${F}`],$[`offset${F}`],$[`scroll${F}`],0)}function Kt(F){const B=F.body,$=F.documentElement;return{height:ci("Height",B,$),width:ci("Width",B,$)}}function Wn(F){return{...F,right:(F.left||0)+F.width,bottom:(F.top||0)+F.height}}function fn(F){return"number"==typeof F||"[object Number]"===Object.prototype.toString.call(F)}function Me(F){const B=F.getBoundingClientRect();if(!(B&&fn(B.top)&&fn(B.left)&&fn(B.bottom)&&fn(B.right)))return B;const $={left:B.left,top:B.top,width:B.right-B.left,height:B.bottom-B.top},ce="HTML"===F.nodeName?Kt(F.ownerDocument):void 0,V=ce?.width||F.clientWidth||fn(B.right)&&fn($.left)&&B.right-$.left||0,N=ce?.height||F.clientHeight||fn(B.bottom)&&fn($.top)&&B.bottom-$.top||0;let w=F.offsetWidth-V,L=F.offsetHeight-N;if(w||L){const _e=Cr(F);w-=vr(_e,"x"),L-=vr(_e,"y"),$.width-=w,$.height-=L}return Wn($)}function $e(F){return"HTML"===F.nodeName?F:F.parentNode||F.host}function je(F){if(!F)return document.body;switch(F.nodeName){case"HTML":case"BODY":return F.ownerDocument.body;case"#document":return F.body}const{overflow:B,overflowX:$,overflowY:ce}=Cr(F);return/(auto|scroll|overlay)/.test(String(B)+String(ce)+String($))?F:je($e(F))}function qe(F,B,$=!1){const ce="HTML"===B.nodeName,V=Me(F),N=Me(B),L=(je(F),Cr(B)),_e=parseFloat(L.borderTopWidth),Ve=parseFloat(L.borderLeftWidth);$&&ce&&(N.top=Math.max(N.top??0,0),N.left=Math.max(N.left??0,0));const at=Wn({top:(V.top??0)-(N.top??0)-_e,left:(V.left??0)-(N.left??0)-Ve,width:V.width,height:V.height});if(at.marginTop=0,at.marginLeft=0,ce){const en=parseFloat(L.marginTop),Ut=parseFloat(L.marginLeft);fn(at.top)&&(at.top-=_e-en),fn(at.bottom)&&(at.bottom-=_e-en),fn(at.left)&&(at.left-=Ve-Ut),fn(at.right)&&(at.right-=Ve-Ut),at.marginTop=en,at.marginLeft=Ut}return at}function De(F,B="top"){const $="top"===B?"scrollTop":"scrollLeft",ce=F.nodeName;if("BODY"===ce||"HTML"===ce){const V=F.ownerDocument.documentElement;return(F.ownerDocument.scrollingElement||V)[$]}return F[$]}function se(F){const B=F.nodeName;return"BODY"!==B&&"HTML"!==B&&("fixed"===Cr(F,"position")||se($e(F)))}function xe(F,B,$=0,ce,V=!1){let N={top:0,left:0};const w=V?Vn(F):$n(F,B);if("viewport"===ce)N=function J(F,B=!1){const $=F.ownerDocument.documentElement,ce=qe(F,$),V=Math.max($.clientWidth,window.innerWidth||0),N=Math.max($.clientHeight,window.innerHeight||0),w=B?0:De($),L=B?0:De($,"left");return Wn({top:w-Number(ce?.top)+Number(ce?.marginTop),left:L-Number(ce?.left)+Number(ce?.marginLeft),width:V,height:N})}(w,V);else{let L;"scrollParent"===ce?(L=je($e(B)),"BODY"===L.nodeName&&(L=F.ownerDocument.documentElement)):L="window"===ce?F.ownerDocument.documentElement:ce;const _e=qe(L,w,V);if(_e&&"HTML"===L.nodeName&&!se(w)){const{height:Ve,width:at}=Kt(F.ownerDocument);fn(N.top)&&fn(_e.top)&&fn(_e.marginTop)&&(N.top+=_e.top-_e.marginTop),fn(N.top)&&(N.bottom=Number(Ve)+Number(_e.top)),fn(N.left)&&fn(_e.left)&&fn(_e.marginLeft)&&(N.left+=_e.left-_e.marginLeft),fn(N.top)&&(N.right=Number(at)+Number(_e.left))}else _e&&(N=_e)}return fn(N.left)&&(N.left+=$),fn(N.top)&&(N.top+=$),fn(N.right)&&(N.right-=$),fn(N.bottom)&&(N.bottom-=$),N}function ze({width:F,height:B}){return F*B}function dt(F,B,$,ce,V=["top","bottom","right","left"],N="viewport",w=0){if(-1===F.indexOf("auto"))return F;const L=xe($,ce,w,N),_e={top:{width:L?.width??0,height:(B?.top??0)-(L?.top??0)},right:{width:(L?.right??0)-(B?.right??0),height:L?.height??0},bottom:{width:L?.width??0,height:(L?.bottom??0)-(B?.bottom??0)},left:{width:(B.left??0)-(L?.left??0),height:L?.height??0}},Ve=Object.keys(_e).map((nn=>({position:nn,..._e[nn],area:ze(_e[nn])}))).sort(((nn,ur)=>ur.area-nn.area));let at=Ve.filter((({width:nn,height:ur})=>nn>=$.clientWidth&&ur>=$.clientHeight));at=at.filter((({position:nn})=>V.some((ur=>ur===nn))));const en=at.length>0?at[0].position:Ve[0].position,Ut=F.split(" ")[1];return $.className=$.className.replace(/bs-tooltip-auto/g,`bs-tooltip-${ge().isBs5?Ir[en]:en}`),en+(Ut?`-${Ut}`:"")}const Mt=(F,B=0)=>F?parseFloat(F):B;function Xt(F){const $=F.ownerDocument.defaultView?.getComputedStyle(F),ce=Mt($?.marginTop)+Mt($?.marginBottom),V=Mt($?.marginLeft)+Mt($?.marginRight);return{width:Number(F.offsetWidth)+V,height:Number(F.offsetHeight)+ce}}function vn(F,B,$){return qe(B,$?Vn(F):$n(F,B),$)}function Vt(F,B,$){const ce=$.split(" ")[0],V=Xt(F),N={width:V.width,height:V.height},w=-1!==["right","left"].indexOf(ce),L=w?"top":"left",_e=w?"left":"top",Ve=w?"height":"width",at=w?"width":"height";return N[L]=(B[L]??0)+B[Ve]/2-V[Ve]/2,N[_e]=ce===_e?(B[_e]??0)-V[at]:B[function qt(F){const B={left:"right",right:"left",bottom:"top",top:"bottom"};return F.replace(/left|right|bottom|top/g,($=>B[$]))}(_e)]??0,N}function Pt(F,B){return!!F.modifiers[B]?.enabled}const It={top:["top","top start","top end"],bottom:["bottom","bottom start","bottom end"],start:["start","start top","start bottom"],end:["end","end top","end bottom"]};function Ot(F,B){return!!ge().isBs5&&It[B].includes(F)}function pn(F,B,$){!F||!B||Object.keys(B).forEach((ce=>{let V="";-1!==["width","height","top","right","bottom","left"].indexOf(ce)&&function $r(F){return""!==F&&!isNaN(parseFloat(F))&&isFinite(Number(F))}(B[ce])&&(V="px"),$?$.setStyle(F,ce,`${String(B[ce])}${V}`):F.style[ce]=String(B[ce])+V}))}function cn(F){let B=F.offsets.target;const $=F.instance.target.querySelector(".arrow");if(!$)return F;const ce=-1!==["left","right"].indexOf(F.placement.split(" ")[0]),V=ce?"height":"width",N=ce?"Top":"Left",w=N.toLowerCase(),L=ce?"left":"top",_e=ce?"bottom":"right",Ve=Xt($)[V],at=F.placement.split(" ")[1];(F.offsets.host[_e]??0)-Ve<(B[w]??0)&&(B[w]-=(B[w]??0)-((F.offsets.host[_e]??0)-Ve)),Number(F.offsets.host[w])+Number(Ve)>(B[_e]??0)&&(B[w]+=Number(F.offsets.host[w])+Number(Ve)-Number(B[_e])),B=Wn(B);const en=Cr(F.instance.target),Ut=parseFloat(en[`margin${N}`])||0,nn=parseFloat(en[`border${N}Width`])||0;let ur;if(at){const ir=parseFloat(en.borderRadius)||0,br=Number(Ut+nn+ir);ur=w===at?Number(F.offsets.host[w])+br:Number(F.offsets.host[w])+Number(F.offsets.host[V]-br)}else ur=Number(F.offsets.host[w])+Number(F.offsets.host[V]/2-Ve/2);let tr=ur-(B[w]??0)-Ut-nn;return tr=Math.max(Math.min(B[V]-(Ve+5),tr),0),F.offsets.arrow={[w]:Math.round(tr),[L]:""},F.instance.arrow=$,F}function Ft(F){if(F.offsets.target=Wn(F.offsets.target),!Pt(F.options,"flip"))return F.offsets.target={...F.offsets.target,...Vt(F.instance.target,F.offsets.host,F.placement)},F;const B=xe(F.instance.target,F.instance.host,0,"viewport",!1);let $=F.placement.split(" ")[0],ce=F.placement.split(" ")[1]||"";const L=dt("auto",F.offsets.host,F.instance.target,F.instance.host,F.options.allowedPositions),_e=[$,L];return _e.forEach(((Ve,at)=>{if($!==Ve||_e.length===at+1)return;$=F.placement.split(" ")[0];const en="left"===$&&Math.floor(F.offsets.target.right??0)>Math.floor(F.offsets.host.left??0)||"right"===$&&Math.floor(F.offsets.target.left??0)<Math.floor(F.offsets.host.right??0)||"top"===$&&Math.floor(F.offsets.target.bottom??0)>Math.floor(F.offsets.host.top??0)||"bottom"===$&&Math.floor(F.offsets.target.top??0)<Math.floor(F.offsets.host.bottom??0),Ut=Math.floor(F.offsets.target.left??0)<Math.floor(B.left??0),nn=Math.floor(F.offsets.target.right??0)>Math.floor(B.right??0),ur=Math.floor(F.offsets.target.top??0)<Math.floor(B.top??0),tr=Math.floor(F.offsets.target.bottom??0)>Math.floor(B.bottom??0),ir="left"===$&&Ut||"right"===$&&nn||"top"===$&&ur||"bottom"===$&&tr,br=-1!==["top","bottom"].indexOf($),kr=br&&"left"===ce&&Ut||br&&"right"===ce&&nn||!br&&"left"===ce&&ur||!br&&"right"===ce&&tr;(en||ir||kr)&&((en||ir)&&($=_e[at+1]),kr&&(ce=function Ct(F){return"right"===F?"left":"left"===F?"right":F}(ce)),F.placement=$+(ce?` ${ce}`:""),F.offsets.target={...F.offsets.target,...Vt(F.instance.target,F.offsets.host,F.placement)})})),F}function Nt(F){if(!Pt(F.options,"preventOverflow"))return F;const B="transform",$=F.instance.target.style,{top:ce,left:V,[B]:N}=$;$.top="",$.left="",$[B]="";const w=xe(F.instance.target,F.instance.host,0,F.options.modifiers.preventOverflow?.boundariesElement||"scrollParent",!1);$.top=ce,$.left=V,$[B]=N;const _e={primary(Ve){let at=F.offsets.target[Ve];return(F.offsets.target[Ve]??0)<(w[Ve]??0)&&(at=Math.max(F.offsets.target[Ve]??0,w[Ve]??0)),{[Ve]:at}},secondary(Ve){const at="right"===Ve,en=at?"left":"top";let nn=F.offsets.target[en];return(F.offsets.target[Ve]??0)>(w[Ve]??0)&&(nn=Math.min(F.offsets.target[en]??0,(w[Ve]??0)-F.offsets.target[at?"width":"height"])),{[en]:nn}}};return["left","right","top","bottom"].forEach((Ve=>{const at=-1!==["left","top","start"].indexOf(Ve)?_e.primary:_e.secondary;F.offsets.target={...F.offsets.target,...at(Ve)}})),F}function dn(F){const B=F.placement,$=B.split(" ")[0],ce=B.split(" ")[1];if(ce){const{host:V,target:N}=F.offsets,w=-1!==["bottom","top"].indexOf($),L=w?"left":"top",_e=w?"width":"height",Ve={start:{[L]:V[L]},end:{[L]:(V[L]??0)+V[_e]-N[_e]}};F.offsets.target={...N,[L]:L===ce?Ve.start[L]:Ve.end[L]}}return F}const qn=new class on{position(B,$){return this.offset(B,$)}offset(B,$){return vn($,B)}positionElements(B,$,ce,V,N){const w=[Ft,dn,Nt,cn],_e=function In(F,B,$,ce){if(!F||!B)return;const V=vn(F,B);!$.match(/^(auto)*\s*(left|right|top|bottom|start|end)*$/)&&!$.match(/^(left|right|top|bottom|start|end)*(?: (left|right|top|bottom|start|end))*$/)&&($="auto");const N=!!$.match(/auto/g);let w=$.match(/auto\s(left|right|top|bottom|start|end)/)?$.split(" ")[1]||"auto":$;const L=w.match(/^(left|right|top|bottom|start|end)* ?(?!\1)(left|right|top|bottom|start|end)?/);return L&&(w=L[1]+(L[2]?` ${L[2]}`:"")),-1!==["left right","right left","top bottom","bottom top"].indexOf(w)&&(w="auto"),w=dt(w,V,F,B,ce?ce.allowedPositions:void 0),{options:ce||{modifiers:{}},instance:{target:F,host:B,arrow:void 0},offsets:{target:Vt(F,V,w),host:V,arrow:void 0},positionFixed:!1,placement:w,placementAuto:N}}($,B,zn[ce],N);if(_e)return w.reduce(((Ve,at)=>at(Ve)),_e)}};function yr(F,B,$,ce,V,N){const w=qn.positionElements(F,B,$,ce,V);if(!w)return;const L=function yt(F){return{width:F.offsets.target.width,height:F.offsets.target.height,left:Math.floor(F.offsets.target.left??0),top:Math.round(F.offsets.target.top??0),bottom:Math.round(F.offsets.target.bottom??0),right:Math.floor(F.offsets.target.right??0)}}(w);pn(B,{"will-change":"transform",top:"0px",left:"0px",transform:`translate3d(${L.left}px, ${L.top}px, 0px)`},N),w.instance.arrow&&pn(w.instance.arrow,w.offsets.arrow,N),function Dt(F,B){const $=F.instance.target;let ce=$.className;const V=ge().isBs5?Ir[F.placement]:F.placement;F.placementAuto&&(ce=ce.replace(/bs-popover-auto/g,`bs-popover-${V}`),ce=ce.replace(/ms-2|me-2|mb-2|mt-2/g,""),ce=ce.replace(/bs-tooltip-auto/g,`bs-tooltip-${V}`),ce=ce.replace(/\sauto/g,` ${V}`),-1!==ce.indexOf("popover")&&(ce=ce+" "+function Jt(F){return ge().isBs5?Ot(F,"end")?"ms-2":Ot(F,"start")?"me-2":Ot(F,"top")?"mb-2":Ot(F,"bottom")?"mt-2":"":""}(V)),-1!==ce.indexOf("popover")&&-1===ce.indexOf("popover-auto")&&(ce+=" popover-auto"),-1!==ce.indexOf("tooltip")&&-1===ce.indexOf("tooltip-auto")&&(ce+=" tooltip-auto")),ce=ce.replace(/left|right|top|bottom|end|start/g,`${V.split(" ")[0]}`),B?B.setAttribute($,"class",ce):$.className=ce}(w,N)}let Yn=(()=>{class F{constructor($,ce,V){this.update$$=new xr.x,this.positionElements=new Map,this.isDisabled=!1,(0,_n.NF)(V)&&$.runOutsideAngular((()=>{this.triggerEvent$=(0,bn.T)((0,Kn.R)(window,"scroll",{passive:!0}),(0,Kn.R)(window,"resize",{passive:!0}),(0,Pn.of)(0,Wt.Z),this.update$$),this.triggerEvent$.subscribe((()=>{this.isDisabled||this.positionElements.forEach((N=>{yr(gn(N.target),gn(N.element),N.attachment,N.appendToBody,this.options,ce.createRenderer(null,null))}))}))}))}position($){this.addPositionElement($)}get event$(){return this.triggerEvent$}disable(){this.isDisabled=!0}enable(){this.isDisabled=!1}addPositionElement($){this.positionElements.set(gn($.element),$)}calcPosition(){this.update$$.next(null)}deletePositionElement($){this.positionElements.delete(gn($))}setOptions($){this.options=$}}return F.ɵfac=function($){return new($||F)(r.LFG(r.R0b),r.LFG(r.FYo),r.LFG(r.Lbi))},F.ɵprov=r.Yz7({token:F,factory:F.ɵfac,providedIn:"root"}),F})();function gn(F){return"string"==typeof F?document.querySelector(F):F instanceof r.SBq?F.nativeElement:F??null}class Qt{constructor(B,$,ce){this.nodes=B,this.viewRef=$,this.componentRef=ce}}class Ae{constructor(B,$,ce,V,N,w,L,_e,Ve){this._viewContainerRef=B,this._renderer=$,this._elementRef=ce,this._injector=V,this._componentFactoryResolver=N,this._ngZone=w,this._applicationRef=L,this._posService=_e,this._document=Ve,this.onBeforeShow=new r.vpe,this.onShown=new r.vpe,this.onBeforeHide=new r.vpe,this.onHidden=new r.vpe,this._providers=[],this._isHiding=!1,this.containerDefaultSelector="body",this._listenOpts={},this._globalListener=Function.prototype}get isShown(){return!this._isHiding&&!!this._componentRef}attach(B){return this._componentFactory=this._componentFactoryResolver.resolveComponentFactory(B),this}to(B){return this.container=B||this.container,this}position(B){return B?(this.attachment=B.attachment||this.attachment,this._elementRef=B.target||this._elementRef,this):this}provide(B){return this._providers.push(B),this}show(B={}){if(this._subscribePositioning(),this._innerComponent=void 0,!this._componentRef){this.onBeforeShow.emit(),this._contentRef=this._getContentRef(B.content,B.context,B.initialState);const $=r.zs3.create({providers:this._providers,parent:this._injector});if(!this._componentFactory)return;if(this._componentRef=this._componentFactory.create($,this._contentRef.nodes),this._applicationRef.attachView(this._componentRef.hostView),this.instance=this._componentRef.instance,Object.assign(this._componentRef.instance,B),this.container instanceof r.SBq&&this.container.nativeElement.appendChild(this._componentRef.location.nativeElement),"string"==typeof this.container&&typeof this._document<"u"){const ce=this._document.querySelector(this.container)||this._document.querySelector(this.containerDefaultSelector);if(!ce)return;ce.appendChild(this._componentRef.location.nativeElement)}!this.container&&this._elementRef&&this._elementRef.nativeElement.parentElement&&this._elementRef.nativeElement.parentElement.appendChild(this._componentRef.location.nativeElement),this._contentRef.componentRef&&(this._innerComponent=this._contentRef.componentRef.instance,this._contentRef.componentRef.changeDetectorRef.markForCheck(),this._contentRef.componentRef.changeDetectorRef.detectChanges()),this._componentRef.changeDetectorRef.markForCheck(),this._componentRef.changeDetectorRef.detectChanges(),this.onShown.emit(B.id?{id:B.id}:this._componentRef.instance)}return this._registerOutsideClick(),this._componentRef}hide(B){if(!this._componentRef)return this;this._posService.deletePositionElement(this._componentRef.location),this.onBeforeHide.emit(this._componentRef.instance);const $=this._componentRef.location.nativeElement;return $.parentNode?.removeChild($),this._contentRef?.componentRef?.destroy(),this._viewContainerRef&&this._contentRef?.viewRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._contentRef.viewRef)),this._contentRef?.viewRef?.destroy(),this._contentRef=void 0,this._componentRef=void 0,this._removeGlobalListener(),this.onHidden.emit(B?{id:B}:null),this}toggle(){this.isShown?this.hide():this.show()}dispose(){this.isShown&&this.hide(),this._unsubscribePositioning(),this._unregisterListenersFn&&this._unregisterListenersFn()}listen(B){this.triggers=B.triggers||this.triggers,this._listenOpts.outsideClick=B.outsideClick,this._listenOpts.outsideEsc=B.outsideEsc,B.target=B.target||this._elementRef?.nativeElement;const $=this._listenOpts.hide=()=>B.hide?B.hide():void this.hide(),ce=this._listenOpts.show=N=>{B.show?B.show(N):this.show(N),N()};return this._renderer&&(this._unregisterListenersFn=function ae(F,B){const $=function ee(F,B=Q){const $=(F||"").trim();if(0===$.length)return[];const ce=$.split(/\s+/).map((N=>N.split(":"))).map((N=>{const w=B[N[0]]||N;return new G(w[0],w[1])})),V=ce.filter((N=>N.isManual()));if(V.length>1)throw new Error("Triggers parse error: only one manual trigger is allowed");if(1===V.length&&ce.length>1)throw new Error("Triggers parse error: manual trigger can't be mixed with other triggers");return ce}(B.triggers),ce=B.target;if(1===$.length&&$[0].isManual())return Function.prototype;const V=[],N=[],w=()=>{N.forEach((L=>V.push(L()))),N.length=0};return $.forEach((L=>{const _e=L.open===L.close,Ve=_e?B.toggle:B.show;if(!_e&&L.close&&B.hide){const at=F.listen(ce,L.close,B.hide);N.push((()=>at))}Ve&&V.push(F.listen(ce,L.open,(()=>Ve(w))))})),()=>{V.forEach((L=>L()))}}(this._renderer,{target:B.target,triggers:B.triggers,show:ce,hide:$,toggle:N=>{this.isShown?$():ce(N)}})),this}_removeGlobalListener(){this._globalListener&&(this._globalListener(),this._globalListener=Function.prototype)}attachInline(B,$){return B&&$&&(this._inlineViewRef=B.createEmbeddedView($)),this}_registerOutsideClick(){if(this._componentRef&&this._componentRef.location){if(this._listenOpts.outsideClick){const B=this._componentRef.location.nativeElement;setTimeout((()=>{this._renderer&&this._elementRef&&(this._globalListener=function pe(F,B){return B.outsideClick?F.listen("document","click",($=>{B.target&&B.target.contains($.target)||B.targets&&B.targets.some((ce=>ce.contains($.target)))||B.hide&&B.hide()})):Function.prototype}(this._renderer,{targets:[B,this._elementRef.nativeElement],outsideClick:this._listenOpts.outsideClick,hide:()=>this._listenOpts.hide&&this._listenOpts.hide()}))}))}this._listenOpts.outsideEsc&&this._renderer&&this._elementRef&&(this._globalListener=function ve(F,B){return B.outsideEsc?F.listen("document","keyup.esc",($=>{B.target&&B.target.contains($.target)||B.targets&&B.targets.some((ce=>ce.contains($.target)))||B.hide&&B.hide()})):Function.prototype}(this._renderer,{targets:[this._componentRef.location.nativeElement,this._elementRef.nativeElement],outsideEsc:this._listenOpts.outsideEsc,hide:()=>this._listenOpts.hide&&this._listenOpts.hide()}))}}getInnerComponent(){return this._innerComponent}_subscribePositioning(){this._zoneSubscription||!this.attachment||(this.onShown.subscribe((()=>{this._posService.position({element:this._componentRef?.location,target:this._elementRef,attachment:this.attachment,appendToBody:"body"===this.container})})),this._zoneSubscription=this._ngZone.onStable.subscribe((()=>{!this._componentRef||this._posService.calcPosition()})))}_unsubscribePositioning(){!this._zoneSubscription||(this._zoneSubscription.unsubscribe(),this._zoneSubscription=void 0)}_getContentRef(B,$,ce){if(!B)return new Qt([]);if(B instanceof r.Rgc){if(this._viewContainerRef){const w=this._viewContainerRef.createEmbeddedView(B,$);return w.markForCheck(),new Qt([w.rootNodes],w)}const N=B.createEmbeddedView({});return this._applicationRef.attachView(N),new Qt([N.rootNodes],N)}if("function"==typeof B){const N=this._componentFactoryResolver.resolveComponentFactory(B),w=r.zs3.create({providers:this._providers,parent:this._injector}),L=N.create(w);return Object.assign(L.instance,ce),this._applicationRef.attachView(L.hostView),new Qt([[L.location.nativeElement]],L.hostView,L)}const V=this._renderer?[this._renderer.createText(`${B}`)]:[];return new Qt([V])}}let me=(()=>{class F{constructor($,ce,V,N,w,L){this._componentFactoryResolver=$,this._ngZone=ce,this._injector=V,this._posService=N,this._applicationRef=w,this._document=L}createLoader($,ce,V){return new Ae(ce,V,$,this._injector,this._componentFactoryResolver,this._ngZone,this._applicationRef,this._posService,this._document)}}return F.ɵfac=function($){return new($||F)(r.LFG(r._Vd),r.LFG(r.R0b),r.LFG(r.zs3),r.LFG(Yn),r.LFG(r.z2F),r.LFG(_n.K0))},F.ɵprov=r.Yz7({token:F,factory:F.ɵfac,providedIn:"root"}),F})();var X=S(7340);const U=function(F){return{dropdown:F}},he=["*"];let Ue=(()=>{class F{constructor(){this.autoClose=!0,this.insideClick=!1,this.isAnimated=!1,this.stopOnClickPropagation=!1}}return F.ɵfac=function($){return new($||F)},F.ɵprov=r.Yz7({token:F,factory:F.ɵfac,providedIn:"root"}),F})(),st=(()=>{class F{constructor(){this.direction="down",this.autoClose=!0,this.insideClick=!1,this.isAnimated=!1,this.stopOnClickPropagation=!1,this.isOpenChange=new r.vpe,this.isDisabledChange=new r.vpe,this.toggleClick=new r.vpe,this.counts=0,this.dropdownMenu=new Promise(($=>{this.resolveDropdownMenu=$}))}}return F.ɵfac=function($){return new($||F)},F.ɵprov=r.Yz7({token:F,factory:F.ɵfac,providedIn:"platform"}),F})();const ut=[(0,X.oB)({height:0,overflow:"hidden"}),(0,X.jt)("220ms cubic-bezier(0, 0, 0.2, 1)",(0,X.oB)({height:"*",overflow:"hidden"}))];let bt=(()=>{class F{constructor($,ce,V,N,w){this._state=$,this.cd=ce,this._renderer=V,this._element=N,this.isOpen=!1,this._factoryDropDownAnimation=w.build(ut),this._subscription=$.isOpenChange.subscribe((L=>{this.isOpen=L;const _e=this._element.nativeElement.querySelector(".dropdown-menu");this._renderer.addClass(this._element.nativeElement.querySelector("div"),"open"),_e&&!Ee()&&(this._renderer.addClass(_e,"show"),(_e.classList.contains("dropdown-menu-right")||_e.classList.contains("dropdown-menu-end"))&&(this._renderer.setStyle(_e,"left","auto"),this._renderer.setStyle(_e,"right","0")),"up"===this.direction&&(this._renderer.setStyle(_e,"top","auto"),this._renderer.setStyle(_e,"transform","translateY(-101%)"))),_e&&this._state.isAnimated&&this._factoryDropDownAnimation.create(_e).play(),this.cd.markForCheck(),this.cd.detectChanges()}))}get direction(){return this._state.direction}_contains($){return this._element.nativeElement.contains($)}ngOnDestroy(){this._subscription.unsubscribe()}}return F.ɵfac=function($){return new($||F)(r.Y36(st),r.Y36(r.sBO),r.Y36(r.Qsj),r.Y36(r.SBq),r.Y36(X._j))},F.ɵcmp=r.Xpm({type:F,selectors:[["bs-dropdown-container"]],hostAttrs:[2,"display","block","position","absolute","z-index","1040"],ngContentSelectors:he,decls:2,vars:9,consts:[[3,"ngClass"]],template:function($,ce){1&$&&(r.F$t(),r.TgZ(0,"div",0),r.Hsn(1),r.qZA()),2&$&&(r.ekj("dropup","up"===ce.direction)("show",ce.isOpen)("open",ce.isOpen),r.Q6J("ngClass",r.VKq(7,U,"down"===ce.direction)))},dependencies:[_n.mk],encapsulation:2,changeDetection:0}),F})(),Ye=(()=>{class F{constructor($,ce,V,N,w,L,_e){this._elementRef=$,this._renderer=ce,this._viewContainerRef=V,this._cis=N,this._state=w,this._config=L,this.dropup=!1,this._isInlineOpen=!1,this._isDisabled=!1,this._subscriptions=[],this._isInited=!1,this._state.autoClose=this._config.autoClose,this._state.insideClick=this._config.insideClick,this._state.isAnimated=this._config.isAnimated,this._state.stopOnClickPropagation=this._config.stopOnClickPropagation,this._factoryDropDownAnimation=_e.build(ut),this._dropdown=this._cis.createLoader(this._elementRef,this._viewContainerRef,this._renderer).provide({provide:st,useValue:this._state}),this.onShown=this._dropdown.onShown,this.onHidden=this._dropdown.onHidden,this.isOpenChange=this._state.isOpenChange}set autoClose($){this._state.autoClose=$}get autoClose(){return this._state.autoClose}set isAnimated($){this._state.isAnimated=$}get isAnimated(){return this._state.isAnimated}set insideClick($){this._state.insideClick=$}get insideClick(){return this._state.insideClick}set isDisabled($){this._isDisabled=$,this._state.isDisabledChange.emit($),$&&this.hide()}get isDisabled(){return this._isDisabled}get isOpen(){return this._showInline?this._isInlineOpen:this._dropdown.isShown}set isOpen($){$?this.show():this.hide()}get isBs4(){return!Ee()}get _showInline(){return!this.container}ngOnInit(){this._isInited||(this._isInited=!0,this._dropdown.listen({outsideClick:!1,triggers:this.triggers,show:()=>this.show()}),this._subscriptions.push(this._state.toggleClick.subscribe(($=>this.toggle($)))),this._subscriptions.push(this._state.isDisabledChange.pipe((0,v.h)(($=>$))).subscribe((()=>this.hide()))))}show(){if(!this.isOpen&&!this.isDisabled){if(this._showInline)return this._inlinedMenu||this._state.dropdownMenu.then(($=>{this._dropdown.attachInline($.viewContainer,$.templateRef),this._inlinedMenu=this._dropdown._inlineViewRef,this.addBs4Polyfills(),this._inlinedMenu&&this._renderer.addClass(this._inlinedMenu.rootNodes[0].parentNode,"open"),this.playAnimation()})).catch(),this.addBs4Polyfills(),this._isInlineOpen=!0,this.onShown.emit(!0),this._state.isOpenChange.emit(!0),void this.playAnimation();this._state.dropdownMenu.then(($=>{const ce=this.dropup||typeof this.dropup<"u"&&this.dropup;this._state.direction=ce?"up":"down";const V=this.placement||(ce?"top start":"bottom start");this._dropdown.attach(bt).to(this.container).position({attachment:V}).show({content:$.templateRef,placement:V}),this._state.isOpenChange.emit(!0)})).catch()}}hide(){!this.isOpen||(this._showInline?(this.removeShowClass(),this.removeDropupStyles(),this._isInlineOpen=!1,this.onHidden.emit(!0)):this._dropdown.hide(),this._state.isOpenChange.emit(!1))}toggle($){return this.isOpen||!$?this.hide():this.show()}_contains($){return this._elementRef.nativeElement.contains($.target)||this._dropdown.instance&&this._dropdown.instance._contains($.target)}navigationClick($){const ce=this._elementRef.nativeElement.querySelector(".dropdown-menu");if(!ce)return;const V=this._elementRef.nativeElement.ownerDocument.activeElement,N=ce.querySelectorAll(".dropdown-item");switch($.keyCode){case 38:this._state.counts>0&&N[--this._state.counts].focus();break;case 40:this._state.counts+1<N.length&&(V.classList!==N[this._state.counts].classList?N[this._state.counts].focus():N[++this._state.counts].focus())}$.preventDefault()}ngOnDestroy(){for(const $ of this._subscriptions)$.unsubscribe();this._dropdown.dispose()}addBs4Polyfills(){Ee()||(this.addShowClass(),this.checkRightAlignment(),this.addDropupStyles())}playAnimation(){this._state.isAnimated&&this._inlinedMenu&&setTimeout((()=>{this._inlinedMenu&&this._factoryDropDownAnimation.create(this._inlinedMenu.rootNodes[0]).play()}))}addShowClass(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&this._renderer.addClass(this._inlinedMenu.rootNodes[0],"show")}removeShowClass(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&this._renderer.removeClass(this._inlinedMenu.rootNodes[0],"show")}checkRightAlignment(){if(this._inlinedMenu&&this._inlinedMenu.rootNodes[0]){const $=this._inlinedMenu.rootNodes[0].classList.contains("dropdown-menu-right")||this._inlinedMenu.rootNodes[0].classList.contains("dropdown-menu-end");this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"left",$?"auto":"0"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"right",$?"0":"auto")}}addDropupStyles(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&(this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"top",this.dropup?"auto":"100%"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"transform",this.dropup?"translateY(-101%)":"translateY(0)"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"bottom","auto"))}removeDropupStyles(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&(this._renderer.removeStyle(this._inlinedMenu.rootNodes[0],"top"),this._renderer.removeStyle(this._inlinedMenu.rootNodes[0],"transform"),this._renderer.removeStyle(this._inlinedMenu.rootNodes[0],"bottom"))}}return F.ɵfac=function($){return new($||F)(r.Y36(r.SBq),r.Y36(r.Qsj),r.Y36(r.s_b),r.Y36(me),r.Y36(st),r.Y36(Ue),r.Y36(X._j))},F.ɵdir=r.lG2({type:F,selectors:[["","bsDropdown",""],["","dropdown",""]],hostVars:6,hostBindings:function($,ce){1&$&&r.NdJ("keydown.arrowDown",(function(N){return ce.navigationClick(N)}))("keydown.arrowUp",(function(N){return ce.navigationClick(N)})),2&$&&r.ekj("dropup",ce.dropup)("open",ce.isOpen)("show",ce.isOpen&&ce.isBs4)},inputs:{placement:"placement",triggers:"triggers",container:"container",dropup:"dropup",autoClose:"autoClose",isAnimated:"isAnimated",insideClick:"insideClick",isDisabled:"isDisabled",isOpen:"isOpen"},outputs:{isOpenChange:"isOpenChange",onShown:"onShown",onHidden:"onHidden"},exportAs:["bs-dropdown"],features:[r._Bn([st])]}),F})(),St=(()=>{class F{constructor($,ce,V){$.resolveDropdownMenu({templateRef:V,viewContainer:ce})}}return F.ɵfac=function($){return new($||F)(r.Y36(st),r.Y36(r.s_b),r.Y36(r.Rgc))},F.ɵdir=r.lG2({type:F,selectors:[["","bsDropdownMenu",""],["","dropdownMenu",""]],exportAs:["bs-dropdown-menu"]}),F})(),At=(()=>{class F{constructor($,ce,V,N,w){this._changeDetectorRef=$,this._dropdown=ce,this._element=V,this._renderer=N,this._state=w,this.isOpen=!1,this._subscriptions=[],this._subscriptions.push(this._state.isOpenChange.subscribe((L=>{this.isOpen=L,L?(this._documentClickListener=this._renderer.listen("document","click",(_e=>{this._state.autoClose&&2!==_e.button&&!this._element.nativeElement.contains(_e.target)&&(!this._state.insideClick||!this._dropdown._contains(_e))&&(this._state.toggleClick.emit(!1),this._changeDetectorRef.detectChanges())})),this._escKeyUpListener=this._renderer.listen(this._element.nativeElement,"keyup.esc",(()=>{this._state.autoClose&&(this._state.toggleClick.emit(!1),this._changeDetectorRef.detectChanges())}))):(this._documentClickListener&&this._documentClickListener(),this._escKeyUpListener&&this._escKeyUpListener())}))),this._subscriptions.push(this._state.isDisabledChange.subscribe((L=>this.isDisabled=L||void 0)))}onClick($){this._state.stopOnClickPropagation&&$.stopPropagation(),!this.isDisabled&&this._state.toggleClick.emit(!0)}ngOnDestroy(){this._documentClickListener&&this._documentClickListener(),this._escKeyUpListener&&this._escKeyUpListener();for(const $ of this._subscriptions)$.unsubscribe()}}return F.ɵfac=function($){return new($||F)(r.Y36(r.sBO),r.Y36(Ye),r.Y36(r.SBq),r.Y36(r.Qsj),r.Y36(st))},F.ɵdir=r.lG2({type:F,selectors:[["","bsDropdownToggle",""],["","dropdownToggle",""]],hostVars:3,hostBindings:function($,ce){1&$&&r.NdJ("click",(function(N){return ce.onClick(N)})),2&$&&r.uIk("aria-haspopup",!0)("disabled",ce.isDisabled)("aria-expanded",ce.isOpen)},exportAs:["bs-dropdown-toggle"]}),F})(),$t=(()=>{class F{static forRoot(){return{ngModule:F,providers:[me,Yn,st]}}}return F.ɵfac=function($){return new($||F)},F.ɵmod=r.oAB({type:F}),F.ɵinj=r.cJS({imports:[_n.ez]}),F})()},2521:(He,ne,S)=>{"use strict";S.d(ne,{Qt:()=>Fe,u3:()=>it});var r=S(1571),v=S(4006),G=S(6895);const Q=function(lt,pt){return{"pull-left":lt,"float-left":pt}},ee=function(lt,pt){return{"pull-right":lt,"float-right":pt}},de=function(lt,pt){return{disabled:lt,currentPage:pt}};function ae(lt,pt){if(1<){const Ee=r.EpF();r.TgZ(0,"li",11)(1,"a",12),r.NdJ("click",(function(K){r.CHM(Ee);const ge=r.oxw();return r.KtG(ge.selectPage(1,K))})),r.GkF(2,13),r.qZA()()}if(2<){const Ee=r.oxw(),le=r.MAs(13);r.ekj("disabled",Ee.noPrevious()||Ee.disabled),r.xp6(2),r.Q6J("ngTemplateOutlet",Ee.customFirstTemplate||le)("ngTemplateOutletContext",r.WLB(4,de,Ee.noPrevious()||Ee.disabled,Ee.page))}}function pe(lt,pt){if(1<){const Ee=r.EpF();r.TgZ(0,"li",14)(1,"a",12),r.NdJ("click",(function(K){r.CHM(Ee);const ge=r.oxw();return r.KtG(ge.selectPage(ge.page-1,K))})),r.GkF(2,13),r.qZA()()}if(2<){const Ee=r.oxw(),le=r.MAs(11);r.ekj("disabled",Ee.noPrevious()||Ee.disabled),r.xp6(2),r.Q6J("ngTemplateOutlet",Ee.customPreviousTemplate||le)("ngTemplateOutletContext",r.WLB(4,de,Ee.noPrevious()||Ee.disabled,Ee.page))}}const ve=function(lt,pt,Ee){return{disabled:lt,$implicit:pt,currentPage:Ee}};function H(lt,pt){if(1<){const Ee=r.EpF();r.TgZ(0,"li",15)(1,"a",12),r.NdJ("click",(function(K){const Ie=r.CHM(Ee).$implicit,we=r.oxw();return r.KtG(we.selectPage(Ie.number,K))})),r.GkF(2,13),r.qZA()()}if(2<){const Ee=pt.$implicit,le=r.oxw(),K=r.MAs(7);r.ekj("active",Ee.active)("disabled",le.disabled&&!Ee.active),r.xp6(2),r.Q6J("ngTemplateOutlet",le.customPageTemplate||K)("ngTemplateOutletContext",r.kEZ(6,ve,le.disabled,Ee,le.page))}}function re(lt,pt){if(1<){const Ee=r.EpF();r.TgZ(0,"li",16)(1,"a",12),r.NdJ("click",(function(K){r.CHM(Ee);const ge=r.oxw();return r.KtG(ge.selectPage(ge.page+1,K))})),r.GkF(2,13),r.qZA()()}if(2<){const Ee=r.oxw(),le=r.MAs(9);r.ekj("disabled",Ee.noNext()||Ee.disabled),r.xp6(2),r.Q6J("ngTemplateOutlet",Ee.customNextTemplate||le)("ngTemplateOutletContext",r.WLB(4,de,Ee.noNext()||Ee.disabled,Ee.page))}}function ie(lt,pt){if(1<){const Ee=r.EpF();r.TgZ(0,"li",17)(1,"a",12),r.NdJ("click",(function(K){r.CHM(Ee);const ge=r.oxw();return r.KtG(ge.selectPage(ge.totalPages,K))})),r.GkF(2,13),r.qZA()()}if(2<){const Ee=r.oxw(),le=r.MAs(15);r.ekj("disabled",Ee.noNext()||Ee.disabled),r.xp6(2),r.Q6J("ngTemplateOutlet",Ee.customLastTemplate||le)("ngTemplateOutletContext",r.WLB(4,de,Ee.noNext()||Ee.disabled,Ee.page))}}function ye(lt,pt){1<&&r._uU(0),2<&&r.Oqu(pt.$implicit.text)}function Oe(lt,pt){if(1<&&r._uU(0),2<){const Ee=r.oxw();r.Oqu(Ee.getText("next"))}}function te(lt,pt){if(1<&&r._uU(0),2<){const Ee=r.oxw();r.Oqu(Ee.getText("previous"))}}function Ze(lt,pt){if(1<&&r._uU(0),2<){const Ee=r.oxw();r.Oqu(Ee.getText("first"))}}function ke(lt,pt){if(1<&&r._uU(0),2<){const Ee=r.oxw();r.Oqu(Ee.getText("last"))}}let Je=(()=>{class lt{constructor(){this.main={itemsPerPage:10,boundaryLinks:!1,directionLinks:!0,firstText:"First",previousText:"Previous",nextText:"Next",lastText:"Last",pageBtnClass:"",rotate:!0},this.pager={itemsPerPage:15,previousText:"« Previous",nextText:"Next »",pageBtnClass:"",align:!0}}}return lt.ɵfac=function(Ee){return new(Ee||lt)},lt.ɵprov=r.Yz7({token:lt,factory:lt.ɵfac,providedIn:"root"}),lt})();const Xe={provide:v.JU,useExisting:(0,r.Gpc)((()=>tt)),multi:!0};let tt=(()=>{class lt{constructor(Ee,le,K){this.elementRef=Ee,this.changeDetection=K,this.align=!1,this.boundaryLinks=!1,this.directionLinks=!0,this.firstText="First",this.previousText="« Previous",this.nextText="Next »",this.lastText="Last",this.rotate=!0,this.pageBtnClass="",this.disabled=!1,this.numPages=new r.vpe,this.pageChanged=new r.vpe,this.onChange=Function.prototype,this.onTouched=Function.prototype,this.classMap="",this.inited=!1,this._itemsPerPage=15,this._totalItems=0,this._totalPages=0,this._page=1,this.elementRef=Ee,this.config||this.configureOptions(Object.assign({},le.main,le.pager))}get itemsPerPage(){return this._itemsPerPage}set itemsPerPage(Ee){this._itemsPerPage=Ee,this.totalPages=this.calculateTotalPages()}get totalItems(){return this._totalItems}set totalItems(Ee){this._totalItems=Ee,this.totalPages=this.calculateTotalPages()}get totalPages(){return this._totalPages}set totalPages(Ee){this._totalPages=Ee,this.numPages.emit(Ee),this.inited&&this.selectPage(this.page)}get page(){return this._page}set page(Ee){const le=this._page;this._page=Ee>this.totalPages?this.totalPages:Ee||1,this.changeDetection.markForCheck(),!(le===this._page||typeof le>"u")&&this.pageChanged.emit({page:this._page,itemsPerPage:this.itemsPerPage})}configureOptions(Ee){this.config=Object.assign({},Ee)}ngOnInit(){typeof window<"u"&&(this.classMap=this.elementRef.nativeElement.getAttribute("class")||""),typeof this.maxSize>"u"&&(this.maxSize=this.config?.maxSize||0),typeof this.rotate>"u"&&(this.rotate=!!this.config?.rotate),typeof this.boundaryLinks>"u"&&(this.boundaryLinks=!!this.config?.boundaryLinks),typeof this.directionLinks>"u"&&(this.directionLinks=!!this.config?.directionLinks),typeof this.pageBtnClass>"u"&&(this.pageBtnClass=this.config?.pageBtnClass||""),typeof this.itemsPerPage>"u"&&(this.itemsPerPage=this.config?.itemsPerPage||0),this.totalPages=this.calculateTotalPages(),this.pages=this.getPages(this.page,this.totalPages),this.inited=!0}writeValue(Ee){this.page=Ee,this.pages=this.getPages(this.page,this.totalPages)}getText(Ee){return this[`${Ee}Text`]||this.config[`${Ee}Text`]}noPrevious(){return 1===this.page}noNext(){return this.page===this.totalPages}registerOnChange(Ee){this.onChange=Ee}registerOnTouched(Ee){this.onTouched=Ee}selectPage(Ee,le){le&&le.preventDefault(),this.disabled||(le&&le.target&&le.target.blur(),this.writeValue(Ee),this.onChange(this.page))}makePage(Ee,le,K){return{text:le,number:Ee,active:K}}getPages(Ee,le){const K=[];let ge=1,Ie=le;const we=typeof this.maxSize<"u"&&this.maxSize<le;we&&this.maxSize&&(this.rotate?(ge=Math.max(Ee-Math.floor(this.maxSize/2),1),Ie=ge+this.maxSize-1,Ie>le&&(Ie=le,ge=Ie-this.maxSize+1)):(ge=(Math.ceil(Ee/this.maxSize)-1)*this.maxSize+1,Ie=Math.min(ge+this.maxSize-1,le)));for(let Le=ge;Le<=Ie;Le++){const mt=this.makePage(Le,Le.toString(),Le===Ee);K.push(mt)}if(we&&!this.rotate){if(ge>1){const Le=this.makePage(ge-1,"...",!1);K.unshift(Le)}if(Ie<le){const Le=this.makePage(Ie+1,"...",!1);K.push(Le)}}return K}calculateTotalPages(){const Ee=this.itemsPerPage<1?1:Math.ceil(this.totalItems/this.itemsPerPage);return Math.max(Ee||0,1)}}return lt.ɵfac=function(Ee){return new(Ee||lt)(r.Y36(r.SBq),r.Y36(Je),r.Y36(r.sBO))},lt.ɵcmp=r.Xpm({type:lt,selectors:[["pager"]],inputs:{align:"align",maxSize:"maxSize",boundaryLinks:"boundaryLinks",directionLinks:"directionLinks",firstText:"firstText",previousText:"previousText",nextText:"nextText",lastText:"lastText",rotate:"rotate",pageBtnClass:"pageBtnClass",disabled:"disabled",itemsPerPage:"itemsPerPage",totalItems:"totalItems"},outputs:{numPages:"numPages",pageChanged:"pageChanged"},features:[r._Bn([Xe])],decls:7,vars:24,consts:[[1,"pager"],[3,"ngClass"],["href","",3,"click"]],template:function(Ee,le){1&Ee&&(r.TgZ(0,"ul",0)(1,"li",1)(2,"a",2),r.NdJ("click",(function(ge){return le.selectPage(le.page-1,ge)})),r._uU(3),r.qZA()(),r.TgZ(4,"li",1)(5,"a",2),r.NdJ("click",(function(ge){return le.selectPage(le.page+1,ge)})),r._uU(6),r.qZA()()()),2&Ee&&(r.xp6(1),r.Tol(le.pageBtnClass),r.ekj("disabled",le.noPrevious())("previous",le.align),r.Q6J("ngClass",r.WLB(18,Q,le.align,le.align)),r.xp6(2),r.Oqu(le.getText("previous")),r.xp6(1),r.Tol(le.pageBtnClass),r.ekj("disabled",le.noNext())("next",le.align),r.Q6J("ngClass",r.WLB(21,ee,le.align,le.align)),r.xp6(2),r.Oqu(le.getText("next")))},dependencies:[G.mk],encapsulation:2}),lt})();const nt={provide:v.JU,useExisting:(0,r.Gpc)((()=>Fe)),multi:!0};let Fe=(()=>{class lt{constructor(Ee,le,K){this.elementRef=Ee,this.changeDetection=K,this.align=!0,this.boundaryLinks=!1,this.directionLinks=!0,this.rotate=!0,this.pageBtnClass="",this.disabled=!1,this.numPages=new r.vpe,this.pageChanged=new r.vpe,this.onChange=Function.prototype,this.onTouched=Function.prototype,this.classMap="",this.inited=!1,this._itemsPerPage=10,this._totalItems=0,this._totalPages=0,this._page=1,this.elementRef=Ee,this.config||this.configureOptions(le.main)}get itemsPerPage(){return this._itemsPerPage}set itemsPerPage(Ee){this._itemsPerPage=Ee,this.totalPages=this.calculateTotalPages()}get totalItems(){return this._totalItems}set totalItems(Ee){this._totalItems=Ee,this.totalPages=this.calculateTotalPages()}get totalPages(){return this._totalPages}set totalPages(Ee){this._totalPages=Ee,this.numPages.emit(Ee),this.inited&&this.selectPage(this.page)}get page(){return this._page}set page(Ee){const le=this._page;this._page=Ee>this.totalPages?this.totalPages:Ee||1,this.changeDetection.markForCheck(),!(le===this._page||typeof le>"u")&&this.pageChanged.emit({page:this._page,itemsPerPage:this.itemsPerPage})}configureOptions(Ee){this.config=Object.assign({},Ee)}ngOnInit(){typeof window<"u"&&(this.classMap=this.elementRef.nativeElement.getAttribute("class")||""),typeof this.maxSize>"u"&&(this.maxSize=this.config?.maxSize||0),typeof this.rotate>"u"&&(this.rotate=!!this.config?.rotate),typeof this.boundaryLinks>"u"&&(this.boundaryLinks=!!this.config?.boundaryLinks),typeof this.directionLinks>"u"&&(this.directionLinks=!!this.config?.directionLinks),typeof this.pageBtnClass>"u"&&(this.pageBtnClass=this.config?.pageBtnClass||""),typeof this.itemsPerPage>"u"&&(this.itemsPerPage=this.config?.itemsPerPage||0),this.totalPages=this.calculateTotalPages(),this.pages=this.getPages(this.page,this.totalPages),this.inited=!0}writeValue(Ee){this.page=Ee,this.pages=this.getPages(this.page,this.totalPages)}getText(Ee){return this[`${Ee}Text`]||this.config[`${Ee}Text`]}noPrevious(){return 1===this.page}noNext(){return this.page===this.totalPages}registerOnChange(Ee){this.onChange=Ee}registerOnTouched(Ee){this.onTouched=Ee}selectPage(Ee,le){le&&le.preventDefault(),this.disabled||(le&&le.target&&le.target.blur(),this.writeValue(Ee),this.onChange(this.page))}makePage(Ee,le,K){return{text:le,number:Ee,active:K}}getPages(Ee,le){const K=[];let ge=1,Ie=le;const we=typeof this.maxSize<"u"&&this.maxSize<le;we&&this.maxSize&&(this.rotate?(ge=Math.max(Ee-Math.floor(this.maxSize/2),1),Ie=ge+this.maxSize-1,Ie>le&&(Ie=le,ge=Ie-this.maxSize+1)):(ge=(Math.ceil(Ee/this.maxSize)-1)*this.maxSize+1,Ie=Math.min(ge+this.maxSize-1,le)));for(let Le=ge;Le<=Ie;Le++){const mt=this.makePage(Le,Le.toString(),Le===Ee);K.push(mt)}if(we&&!this.rotate){if(ge>1){const Le=this.makePage(ge-1,"...",!1);K.unshift(Le)}if(Ie<le){const Le=this.makePage(Ie+1,"...",!1);K.push(Le)}}return K}calculateTotalPages(){const Ee=this.itemsPerPage<1?1:Math.ceil(this.totalItems/this.itemsPerPage);return Math.max(Ee||0,1)}}return lt.ɵfac=function(Ee){return new(Ee||lt)(r.Y36(r.SBq),r.Y36(Je),r.Y36(r.sBO))},lt.ɵcmp=r.Xpm({type:lt,selectors:[["pagination"]],inputs:{align:"align",maxSize:"maxSize",boundaryLinks:"boundaryLinks",directionLinks:"directionLinks",firstText:"firstText",previousText:"previousText",nextText:"nextText",lastText:"lastText",rotate:"rotate",pageBtnClass:"pageBtnClass",disabled:"disabled",customPageTemplate:"customPageTemplate",customNextTemplate:"customNextTemplate",customPreviousTemplate:"customPreviousTemplate",customFirstTemplate:"customFirstTemplate",customLastTemplate:"customLastTemplate",itemsPerPage:"itemsPerPage",totalItems:"totalItems"},outputs:{numPages:"numPages",pageChanged:"pageChanged"},features:[r._Bn([nt])],decls:16,vars:6,consts:[[1,"pagination",3,"ngClass"],["class","pagination-first page-item",3,"disabled",4,"ngIf"],["class","pagination-prev page-item",3,"disabled",4,"ngIf"],["class","pagination-page page-item",3,"active","disabled",4,"ngFor","ngForOf"],["class","pagination-next page-item",3,"disabled",4,"ngIf"],["class","pagination-last page-item",3,"disabled",4,"ngIf"],["defaultPageTemplate",""],["defaultNextTemplate",""],["defaultPreviousTemplate",""],["defaultFirstTemplate",""],["defaultLastTemplate",""],[1,"pagination-first","page-item"],["href","",1,"page-link",3,"click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"pagination-prev","page-item"],[1,"pagination-page","page-item"],[1,"pagination-next","page-item"],[1,"pagination-last","page-item"]],template:function(Ee,le){1&Ee&&(r.TgZ(0,"ul",0),r.YNc(1,ae,3,7,"li",1),r.YNc(2,pe,3,7,"li",2),r.YNc(3,H,3,10,"li",3),r.YNc(4,re,3,7,"li",4),r.YNc(5,ie,3,7,"li",5),r.qZA(),r.YNc(6,ye,1,1,"ng-template",null,6,r.W1O),r.YNc(8,Oe,1,1,"ng-template",null,7,r.W1O),r.YNc(10,te,1,1,"ng-template",null,8,r.W1O),r.YNc(12,Ze,1,1,"ng-template",null,9,r.W1O),r.YNc(14,ke,1,1,"ng-template",null,10,r.W1O)),2&Ee&&(r.Q6J("ngClass",le.classMap),r.xp6(1),r.Q6J("ngIf",le.boundaryLinks),r.xp6(1),r.Q6J("ngIf",le.directionLinks),r.xp6(1),r.Q6J("ngForOf",le.pages),r.xp6(1),r.Q6J("ngIf",le.directionLinks),r.xp6(1),r.Q6J("ngIf",le.boundaryLinks))},dependencies:[G.mk,G.sg,G.O5,G.tP],encapsulation:2}),lt})(),it=(()=>{class lt{static forRoot(){return{ngModule:lt,providers:[]}}}return lt.ɵfac=function(Ee){return new(Ee||lt)},lt.ɵmod=r.oAB({type:lt}),lt.ɵinj=r.cJS({imports:[G.ez]}),lt})()},9241:(He,ne,S)=>{"use strict";S.d(ne,{AH:()=>ve,P4:()=>ie,wW:()=>H});var r=S(1571),v=S(6895);function G(ye,Oe){if(1&ye){const te=r.EpF();r.TgZ(0,"span",7),r.NdJ("click",(function(ke){r.CHM(te);const Je=r.oxw().$implicit,Xe=r.oxw();return ke.preventDefault(),r.KtG(Xe.removeTab(Je))})),r._uU(1," ❌"),r.qZA()}}const Q=function(ye){return["nav-item",ye]};function ee(ye,Oe){if(1&ye){const te=r.EpF();r.TgZ(0,"li",3),r.NdJ("keydown",(function(ke){const Xe=r.CHM(te).index,tt=r.oxw();return r.KtG(tt.keyNavActions(ke,Xe))})),r.TgZ(1,"a",4),r.NdJ("click",(function(){const Je=r.CHM(te).$implicit;return r.KtG(Je.active=!0)})),r.TgZ(2,"span",5),r._uU(3),r.qZA(),r.YNc(4,G,2,0,"span",6),r.qZA()()}if(2&ye){const te=Oe.$implicit;r.ekj("active",te.active)("disabled",te.disabled),r.Q6J("ngClass",r.VKq(15,Q,te.customClass||"")),r.xp6(1),r.ekj("active",te.active)("disabled",te.disabled),r.uIk("aria-controls",te.id?te.id:"")("aria-selected",!!te.active)("id",te.id?te.id+"-link":""),r.xp6(1),r.Q6J("ngTransclude",te.headingRef),r.xp6(1),r.Oqu(te.heading),r.xp6(1),r.Q6J("ngIf",te.removable)}}const de=["*"];let ae=(()=>{class ye{constructor(te){this.viewRef=te}set ngTransclude(te){this._ngTransclude=te,te&&this.viewRef.createEmbeddedView(te)}get ngTransclude(){return this._ngTransclude}}return ye.ɵfac=function(te){return new(te||ye)(r.Y36(r.s_b))},ye.ɵdir=r.lG2({type:ye,selectors:[["","ngTransclude",""]],inputs:{ngTransclude:"ngTransclude"}}),ye})(),pe=(()=>{class ye{constructor(){this.type="tabs",this.isKeysAllowed=!0,this.ariaLabel="Tabs"}}return ye.ɵfac=function(te){return new(te||ye)},ye.ɵprov=r.Yz7({token:ye,factory:ye.ɵfac,providedIn:"root"}),ye})(),ve=(()=>{class ye{constructor(te,Ze,ke){this.renderer=Ze,this.elementRef=ke,this.clazz=!0,this.tabs=[],this.classMap={},this.ariaLabel="Tabs",this.isDestroyed=!1,this._vertical=!1,this._justified=!1,this._type="tabs",this._isKeysAllowed=!0,Object.assign(this,te)}get vertical(){return this._vertical}set vertical(te){this._vertical=te,this.setClassMap()}get justified(){return this._justified}set justified(te){this._justified=te,this.setClassMap()}get type(){return this._type}set type(te){this._type=te,this.setClassMap()}get isKeysAllowed(){return this._isKeysAllowed}set isKeysAllowed(te){this._isKeysAllowed=te}ngOnDestroy(){this.isDestroyed=!0}addTab(te){this.tabs.push(te),te.active=1===this.tabs.length&&!te.active}removeTab(te,Ze={reselect:!0,emit:!0}){const ke=this.tabs.indexOf(te);if(-1!==ke&&!this.isDestroyed){if(Ze.reselect&&te.active&&this.hasAvailableTabs(ke)){const Je=this.getClosestTabIndex(ke);this.tabs[Je].active=!0}Ze.emit&&te.removed.emit(te),this.tabs.splice(ke,1),te.elementRef.nativeElement.parentNode&&this.renderer.removeChild(te.elementRef.nativeElement.parentNode,te.elementRef.nativeElement)}}keyNavActions(te,Ze){if(!this.isKeysAllowed)return;const ke=Array.from(this.elementRef.nativeElement.querySelectorAll(".nav-link"));if(13===te.keyCode||"Enter"===te.key||32===te.keyCode||"Space"===te.key)return te.preventDefault(),void ke[Ze%ke.length].click();if(39!==te.keyCode&&"RightArrow"!==te.key)if(37!==te.keyCode&&"LeftArrow"!==te.key)if(36!==te.keyCode&&"Home"!==te.key)if(35!==te.keyCode&&"End"!==te.key){if((46===te.keyCode||"Delete"===te.key)&&this.tabs[Ze].removable){if(this.removeTab(this.tabs[Ze]),ke[Ze+1])return void ke[(Ze+1)%ke.length].focus();ke[ke.length-1]&&ke[0].focus()}}else{te.preventDefault();let Je,Xe=1,tt=Ze;do{tt-Xe<0?(tt=ke.length-1,Je=ke[tt],Xe=0):Je=ke[tt-Xe],Xe++}while(Je.classList.contains("disabled"));Je.focus()}else{te.preventDefault();let Je,Xe=0;do{Je=ke[Xe%ke.length],Xe++}while(Je.classList.contains("disabled"));Je.focus()}else{let Je,Xe=1,tt=Ze;do{tt-Xe<0?(tt=ke.length-1,Je=ke[tt],Xe=0):Je=ke[tt-Xe],Xe++}while(Je.classList.contains("disabled"));Je.focus()}else{let Je,Xe=1;do{Je=ke[(Ze+Xe)%ke.length],Xe++}while(Je.classList.contains("disabled"));Je.focus()}}getClosestTabIndex(te){const Ze=this.tabs.length;if(!Ze)return-1;for(let ke=1;ke<=Ze;ke+=1){const Je=te-ke,Xe=te+ke;if(this.tabs[Je]&&!this.tabs[Je].disabled)return Je;if(this.tabs[Xe]&&!this.tabs[Xe].disabled)return Xe}return-1}hasAvailableTabs(te){const Ze=this.tabs.length;if(!Ze)return!1;for(let ke=0;ke<Ze;ke+=1)if(!this.tabs[ke].disabled&&ke!==te)return!0;return!1}setClassMap(){this.classMap={"nav-stacked":this.vertical,"flex-column":this.vertical,"nav-justified":this.justified,[`nav-${this.type}`]:!0}}}return ye.ɵfac=function(te){return new(te||ye)(r.Y36(pe),r.Y36(r.Qsj),r.Y36(r.SBq))},ye.ɵcmp=r.Xpm({type:ye,selectors:[["tabset"]],hostVars:2,hostBindings:function(te,Ze){2&te&&r.ekj("tab-container",Ze.clazz)},inputs:{vertical:"vertical",justified:"justified",type:"type"},ngContentSelectors:de,decls:4,vars:3,consts:[["role","tablist",1,"nav",3,"ngClass","click"],[3,"ngClass","active","disabled","keydown",4,"ngFor","ngForOf"],[1,"tab-content"],[3,"ngClass","keydown"],["href","javascript:void(0);","role","tab",1,"nav-link",3,"click"],[3,"ngTransclude"],["class","bs-remove-tab",3,"click",4,"ngIf"],[1,"bs-remove-tab",3,"click"]],template:function(te,Ze){1&te&&(r.F$t(),r.TgZ(0,"ul",0),r.NdJ("click",(function(Je){return Je.preventDefault()})),r.YNc(1,ee,5,17,"li",1),r.qZA(),r.TgZ(2,"div",2),r.Hsn(3),r.qZA()),2&te&&(r.Q6J("ngClass",Ze.classMap),r.uIk("aria-label",Ze.ariaLabel),r.xp6(1),r.Q6J("ngForOf",Ze.tabs))},dependencies:[v.mk,v.sg,v.O5,ae],styles:["[_nghost-%COMP%] .nav-tabs[_ngcontent-%COMP%] .nav-item.disabled[_ngcontent-%COMP%] a.disabled[_ngcontent-%COMP%]{cursor:default}"]}),ye})(),H=(()=>{class ye{constructor(te,Ze,ke){this.elementRef=Ze,this.renderer=ke,this.disabled=!1,this.removable=!1,this.selectTab=new r.vpe,this.deselect=new r.vpe,this.removed=new r.vpe,this.addClass=!0,this.role="tabpanel",this._active=!1,this._customClass="",this.tabset=te,this.tabset.addTab(this)}get customClass(){return this._customClass}set customClass(te){this.customClass&&this.customClass.split(" ").forEach((Ze=>{this.renderer.removeClass(this.elementRef.nativeElement,Ze)})),this._customClass=te?te.trim():"",this.customClass&&this.customClass.split(" ").forEach((Ze=>{this.renderer.addClass(this.elementRef.nativeElement,Ze)}))}get active(){return this._active}set active(te){if(this._active!==te){if(this.disabled&&te||!te)return void(this._active&&!te&&(this.deselect.emit(this),this._active=te));this._active=te,this.selectTab.emit(this),this.tabset.tabs.forEach((Ze=>{Ze!==this&&(Ze.active=!1)}))}}get ariaLabelledby(){return this.id?`${this.id}-link`:""}ngOnInit(){this.removable=!!this.removable}ngOnDestroy(){this.tabset.removeTab(this,{reselect:!1,emit:!1})}}return ye.ɵfac=function(te){return new(te||ye)(r.Y36(ve),r.Y36(r.SBq),r.Y36(r.Qsj))},ye.ɵdir=r.lG2({type:ye,selectors:[["tab"],["","tab",""]],hostVars:7,hostBindings:function(te,Ze){2&te&&(r.uIk("id",Ze.id)("role",Ze.role)("aria-labelledby",Ze.ariaLabelledby),r.ekj("active",Ze.active)("tab-pane",Ze.addClass))},inputs:{heading:"heading",id:"id",disabled:"disabled",removable:"removable",customClass:"customClass",active:"active"},outputs:{selectTab:"selectTab",deselect:"deselect",removed:"removed"},exportAs:["tab"]}),ye})(),ie=(()=>{class ye{static forRoot(){return{ngModule:ye,providers:[]}}}return ye.ɵfac=function(te){return new(te||ye)},ye.ɵmod=r.oAB({type:ye}),ye.ɵinj=r.cJS({imports:[v.ez]}),ye})()}}]);
Back to Directory
File Manager